[PATCH] sim: fix broken skel configure.ac example

Mike Frysinger vapier@gentoo.org
Tue Jul 12 02:02:00 GMT 2011


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>

2011-07-11  Mike Frysinger  <vapier@gentoo.org>

	* aclocal.m4: Move sinclude comment after AC_INIT comment.
---
 sim/common/aclocal.m4 |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/sim/common/aclocal.m4 b/sim/common/aclocal.m4
index 3ed5efd..37aed32 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
 #
-- 
1.7.6



More information about the Gdb-patches mailing list