From: Joel Rosdahl Date: Sun, 12 Feb 2017 13:43:41 +0000 (+0100) Subject: Include feature_macros earlier in configure.ac X-Git-Tag: v3.3.4~6 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=068fcc06ad1ebb26d4044d6a1ca5a2c5fb8531ab;p=thirdparty%2Fccache.git Include feature_macros earlier in configure.ac As suggested by Anders Björklund in issue #148. Potentially fixes build problem with Oracle Studio 12. --- diff --git a/configure.ac b/configure.ac index a35fac08e..4095f4b9c 100644 --- a/configure.ac +++ b/configure.ac @@ -20,6 +20,8 @@ AC_SUBST(extra_libs) AC_SUBST(include_dev_mk) AC_SUBST(test_suites) +m4_include(m4/feature_macros.m4) + dnl Checks for programs. AC_PROG_CC_C99 if test "$ac_cv_prog_cc_c99" = no; then @@ -34,8 +36,6 @@ if test -z "$AR"; then AC_MSG_ERROR(cannot find ar) fi -m4_include(m4/feature_macros.m4) - # If GCC, turn on warnings. if test "x$GCC" = "xyes"; then CFLAGS="$CFLAGS -Wall -W"