[aisleriot] build: Show distro name on configure output
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] build: Show distro name on configure output
- Date: Wed, 18 Feb 2015 18:19:45 +0000 (UTC)
commit 15f7b2e0dc3eedcd3f051df8b5a7c77a3ad4b9c7
Author: Christian Persch <chpe gnome org>
Date: Wed Feb 18 19:17:11 2015 +0100
build: Show distro name on configure output
configure.ac | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 6101f19..8f3170f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,11 +183,13 @@ AM_CONDITIONAL([ENABLE_CARD_THEME_FORMAT_PYSOL],[test "$enable_card_theme_format
# Card theme paths
+AC_MSG_CHECKING([distribution])
if test -f /etc/os-release; then
DISTRO="$(source /etc/os-release && echo $ID)"
else
DISTRO="unknown"
fi
+AC_MSG_RESULT([$DISTRO])
if test "$enable_card_theme_format_kde" = "yes"; then
AC_MSG_CHECKING([for KDE card themes base path])
@@ -441,7 +443,7 @@ CC_CHECK_CFLAGS_APPEND([ \
-Wstrict-aliasing=2 -Winit-self -Wunsafe-loop-optimizations \
-Wdeclaration-after-statement -Wold-style-definition \
-Wno-missing-field-initializers -Wno-unused-parameter \
- -Wempty-body \
+ -Wempty-body -Wformat-signedness \
-fno-common -Wno-switch-enum])
AM_CFLAGS="$AM_CFLAGS $CFLAGS"
CFLAGS="$save_CFLAGS"
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]