]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Include feature_macros earlier in configure.ac
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 12 Feb 2017 13:43:41 +0000 (14:43 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 12 Feb 2017 13:43:41 +0000 (14:43 +0100)
As suggested by Anders Björklund in issue #148.

Potentially fixes build problem with Oracle Studio 12.

configure.ac

index a35fac08ebbed4993c6555c4e63b71009227e571..4095f4b9cc7170c092592b76e2f2b97f71a33e46 100644 (file)
@@ -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"