sim: use AC_REQUIRE with AC_PROG_CC
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Jul 2011 20:19:49 +0000 (20:19 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Jul 2011 20:19:49 +0000 (20:19 +0000)
commit24a6c33d74943d1e8b5da4baee623b76828fd7a7
treebf53488014b97e4641734181657b6b48b489c7e3
parent8de863a55d7905566f2d426871641f1163c3bd61
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>
sim/common/ChangeLog
sim/common/aclocal.m4