[gnome-control-center] build: Call GNOME_DEBUG_CHECK before AC_PROG_CC



commit 0fb4b8fcd5bbf2a7f53027a30a847528066df328
Author: Christophe Fergeau <cfergeau redhat com>
Date:   Sat Oct 17 21:01:22 2015 +0200

    build: Call GNOME_DEBUG_CHECK before AC_PROG_CC
    
    This avoids these warnings:
    configure.ac:32: warning: AC_PROG_CC was called before AX_CHECK_ENABLE_DEBUG
    aclocal.m4:316: AX_CHECK_ENABLE_DEBUG is expanded from...
    aclocal.m4:390: GNOME_DEBUG_CHECK is expanded from...
    
    https://bugzilla.gnome.org/show_bug.cgi?id=756762

 configure.ac |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index 80b21fe..733db40 100644
--- a/configure.ac
+++ b/configure.ac
@@ -10,6 +10,9 @@ AM_INIT_AUTOMAKE([1.11 no-dist-gzip dist-xz tar-ustar check-news])
 AM_MAINTAINER_MODE([enable])
 m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])])
 
+GNOME_DEBUG_CHECK
+GNOME_COMPILE_WARNINGS([maximum])
+
 # Check for programs
 AC_PROG_CC
 AM_PROG_CC_C_O
@@ -29,9 +32,6 @@ AC_DEFINE_UNQUOTED(GETTEXT_PACKAGE, "$GETTEXT_PACKAGE", [Gettext package])
 
 AC_DEFINE(USER_DIR_MODE, 0700, [Permissions for creating the user's config, cache and data directories])
 
-GNOME_DEBUG_CHECK
-GNOME_COMPILE_WARNINGS([maximum])
-
 AC_PATH_XTRA
 x_libs="$X_PRE_LIBS $X_LIBS -lX11 $X_EXTRA_LIBS"
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]