Commit 0fb4b8fc authored by Christophe Fergeau's avatar Christophe Fergeau

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
parent 86596329
......@@ -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"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment