summaryrefslogtreecommitdiff
path: root/sim
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2011-07-12 20:20:32 +0000
committerMike Frysinger <vapier@gentoo.org>2011-07-12 20:20:32 +0000
commitb3c716393afae25cecbd588547b1d8efd6289433 (patch)
treef5f8701c55460d5ac42567a3329fea42b42ac798 /sim
parent06c711c6c945991bd95cdc8a4ce72b2c8ee80732 (diff)
downloadgdb-b3c716393afae25cecbd588547b1d8efd6289433.tar.gz
sim: fix broken skel configure.ac example
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>
Diffstat (limited to 'sim')
-rw-r--r--sim/common/ChangeLog4
-rw-r--r--sim/common/aclocal.m42
2 files changed, 5 insertions, 1 deletions
diff --git a/sim/common/ChangeLog b/sim/common/ChangeLog
index 0ce602f0f91..83f9951e255 100644
--- a/sim/common/ChangeLog
+++ b/sim/common/ChangeLog
@@ -1,5 +1,9 @@
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.
Delete direct call to AC_PROG_CC.
diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4
index 817a8a4fa1c..5a34c218e2d 100644
--- a/sim/common/aclocal.m4
+++ b/sim/common/aclocal.m4
@@ -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
#