autobuild hooks

Eric Blake <[email protected]>
Newsgroups gmane.comp.gnu.m4.patches
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I haven't yet used autobuild, but I know several projects, including
coreutils, find it useful.

http://josefsson.org/autobuild/

So I'm checking in this, to match this morning's new gnulib module.
You'll need to run either './bootstrap' or 'gnulib-tool --update'.

2007-04-12  Eric Blake  <[email protected]>

	Enable autobuild usage.
	* ltdl/m4/gnulib-cache.m4: Augment with 'gnulib-tool --import
	autobuild'.
	* configure.ac (AB_INIT): Output autobuild information.

- --
Don't work too hard, make some time for fun as well!

Eric Blake             [email protected]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Cygwin)
Comment: Public key at home.comcast.net/~ericblake/eblake.gpg
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGHiYq84KuGfSFAYARAlftAKCYi90y02zlkFzjsBh9u2wJrm+InwCbBDfU
gkSNDHZTMZQKOjNw+NcbVNM=
=KJD7
-----END PGP SIGNATURE-----

_______________________________________________
M4-patches mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/m4-patches
m4.patch257 (text/plain, 3.1 KB)
Index: configure.ac
===================================================================
RCS file: /sources/m4/m4/configure.ac,v
retrieving revision 1.64
diff -u -p -r1.64 configure.ac
--- configure.ac	28 Mar 2007 14:37:33 -0000	1.64
+++ configure.ac	12 Apr 2007 12:28:23 -0000
@@ -33,7 +33,6 @@ AC_CONFIG_HEADERS([gnu/config.h:gnu/conf
 AC_CONFIG_FILES([tests/m4], [chmod +x tests/m4])
 
 
-
 ## ---------------------------------------- ##
 ## Display a configure time version banner. ##
 ## ---------------------------------------- ##
@@ -48,7 +47,7 @@ case AC_PACKAGE_VERSION in
 esac
 AC_DEFINE_UNQUOTED([TIMESTAMP], ["$TIMESTAMP"],
     [Defined to a CVS timestamp for alpha releases of M4])
-
+AB_INIT()
 
 
 ## -------------------------- ##
Index: ltdl/m4/gnulib-cache.m4
===================================================================
RCS file: /sources/m4/m4/ltdl/m4/gnulib-cache.m4,v
retrieving revision 1.25
diff -u -p -r1.25 gnulib-cache.m4
--- ltdl/m4/gnulib-cache.m4	10 Apr 2007 03:45:23 -0000	1.25
+++ ltdl/m4/gnulib-cache.m4	12 Apr 2007 12:28:23 -0000
@@ -15,11 +15,11 @@
 
 
 # Specification in the form of a command-line invocation:
-#   gnulib-tool --import --dir=. --lib=libgnu --source-base=gnu --m4-base=ltdl/m4 --doc-base=doc --aux-dir=ltdl/config --libtool --macro-prefix=M4 assert avltree-oset binary-io clean-temp cloexec close-stream closeout config-h configmake dirname error exit fdl fflush filenamecat fopen-safer fprintf-posix free gendocs gettext gnupload mkstemp obstack progname regex regexprops-generic sprintf-posix stdbool stdlib-safer strnlen strtol tempname unlocked-io vasprintf-posix verror xalloc xalloc-die xstrndup xstrtol xvasprintf
+#   gnulib-tool --import --dir=. --lib=libgnu --source-base=gnu --m4-base=ltdl/m4 --doc-base=doc --aux-dir=ltdl/config --libtool --macro-prefix=M4 assert autobuild avltree-oset binary-io clean-temp cloexec close-stream closeout config-h configmake dirname error exit fdl fflush filenamecat fopen-safer fprintf-posix free gendocs gettext gnupload mkstemp obstack progname regex regexprops-generic sprintf-posix stdbool stdlib-safer strnlen strtol tempname unlocked-io vasprintf-posix verror xalloc xalloc-die xstrndup xstrtol xvasprintf
 
 # Specification in the form of a few gnulib-tool.m4 macro invocations:
 gl_LOCAL_DIR([])
-gl_MODULES([assert avltree-oset binary-io clean-temp cloexec close-stream closeout config-h configmake dirname error exit fdl fflush filenamecat fopen-safer fprintf-posix free gendocs gettext gnupload mkstemp obstack progname regex regexprops-generic sprintf-posix stdbool stdlib-safer strnlen strtol tempname unlocked-io vasprintf-posix verror xalloc xalloc-die xstrndup xstrtol xvasprintf])
+gl_MODULES([assert autobuild avltree-oset binary-io clean-temp cloexec close-stream closeout config-h configmake dirname error exit fdl fflush filenamecat fopen-safer fprintf-posix free gendocs gettext gnupload mkstemp obstack progname regex regexprops-generic sprintf-posix stdbool stdlib-safer strnlen strtol tempname unlocked-io vasprintf-posix verror xalloc xalloc-die xstrndup xstrtol xvasprintf])
 gl_AVOID([])
 gl_SOURCE_BASE([gnu])
 gl_M4_BASE([ltdl/m4])
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.