aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sim/common/ChangeLog5
-rw-r--r--sim/common/aclocal.m42
2 files changed, 6 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index f4f8231..0ce602f 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,3 +1,8 @@
+2011-07-12 Mike Frysinger <vapier@gentoo.org>
+
+ * aclocal.m4 (SIM_AC_COMMON): Call AC_REQUIRE on AC_PROG_CC.
+ Delete direct call to AC_PROG_CC.
+
2011-07-05 Mike Frysinger <vapier@gentoo.org>
* sim-command.c: New file.
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.