sim: fix broken skel configure.ac example
authorMike Frysinger <vapier@gentoo.org>
Tue, 12 Jul 2011 20:20:32 +0000 (20:20 +0000)
committerMike Frysinger <vapier@gentoo.org>
Tue, 12 Jul 2011 20:20:32 +0000 (20:20 +0000)
Shell code before AC_INIT will be silently culled, and since the common
aclocal.m4 includes inline shell code, the file cannot be included before
AC_INIT.  So update the example to show people including the file after
that rather than before to avoid random breakage.

Signed-off-by: Mike Frysinger <vapier@gentoo.org>
sim/common/ChangeLog
sim/common/aclocal.m4

index 0ce602f0f9163f15ff4560b7d96632fac3c51399..83f9951e25560e844954eb990131178fac842aee 100644 (file)
@@ -1,3 +1,7 @@
+2011-07-12  Mike Frysinger  <vapier@gentoo.org>
+
+       * aclocal.m4: Move sinclude comment after AC_INIT comment.
+
 2011-07-12  Mike Frysinger  <vapier@gentoo.org>
 
        * aclocal.m4 (SIM_AC_COMMON): Call AC_REQUIRE on AC_PROG_CC.
index 817a8a4fa1c0cc8e5080bf95754a71006180ec18..5a34c218e2d062c82729371072d6663833d35543 100644 (file)
@@ -8,9 +8,9 @@
 # The simulator's configure.in should look like:
 #
 # dnl Process this file with autoconf to produce a configure script.
-# sinclude(../common/aclocal.m4)
 # AC_PREREQ(2.5)dnl
 # AC_INIT(Makefile.in)
+# sinclude(../common/aclocal.m4)
 #
 # SIM_AC_COMMON
 #