aboutsummaryrefslogtreecommitdiff
path: root/sim/common/aclocal.m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-12 20:19:49 +0000
committerMike Frysinger <vapier@gentoo.org>2011-07-12 20:19:49 +0000
commit24a6c33d74943d1e8b5da4baee623b76828fd7a7 (patch)
treebf53488014b97e4641734181657b6b48b489c7e3 /sim/common/aclocal.m4
parent8de863a55d7905566f2d426871641f1163c3bd61 (diff)
downloadgdb-24a6c33d74943d1e8b5da4baee623b76828fd7a7.zip
gdb-24a6c33d74943d1e8b5da4baee623b76828fd7a7.tar.gz
gdb-24a6c33d74943d1e8b5da4baee623b76828fd7a7.tar.bz2
sim: use AC_REQUIRE with AC_PROG_CC
The autoconf guys point out that our usage of AC_PROG_CC in the SIM_AC_COMMON does not jive with their intended use. http://www.gnu.org/software/autoconf/manual/autoconf.html#Expanded-Before-Required So utilize AC_REQUIRE to make the warnings go away and generate the correct code with different autoconf versions. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'sim/common/aclocal.m4')
-rw-r--r--sim/common/aclocal.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4
index cec0155..817a8a4 100644
--- a/sim/common/aclocal.m4
+++ b/sim/common/aclocal.m4
@@ -24,11 +24,11 @@ sinclude([../../config/zlib.m4])
AC_DEFUN([SIM_AC_COMMON],
[
+AC_REQUIRE([AC_PROG_CC])
# autoconf.info says this should be called right after AC_INIT.
AC_CONFIG_HEADER(ifelse([$1],,config.h,[$1]):config.in)
AC_CANONICAL_SYSTEM
AC_ARG_PROGRAM
-AC_PROG_CC
AC_PROG_INSTALL
# Put a plausible default for CC_FOR_BUILD in Makefile.