summaryrefslogtreecommitdiff
path: root/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
* Fix bootstrap comment.Eric Blake2008-06-231-3/+3
| | | | | | * bootstrap: DOWNLOAD_PO was previously removed. Signed-off-by: Eric Blake <ebb9@byu.net>
* Borrow bootstrap ideas from gnulib.Eric Blake2008-06-031-88/+52
| | | | | | | | | | | | * bootstrap (options, DOWNLOAD_PO): Remove --download-po; the advertized subset of languages didn't work. Use --skip-po instead, for consistency with gnulib bootstrap. (func_get_translations): Use rsync, not wget. (func_update_po): Use a reference directory, to avoid changing timestamps on unchanged .po files. * TODO: Update accordingly. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update prerequisite tools to match recent releases.Eric Blake2008-04-151-3/+3
| | | | | | | | | * configure.ac (AC_PREREQ): Rely on released autoconf. (LT_PREREQ): Rely on released libtool. * tests/testsuite.at (m4_version_prereq): Update dependence. * bootstrap: Mention prerequisites. Signed-off-by: Eric Blake <ebb9@byu.net>
* Use gnulib's git-merge-changelog driver when available.Eric Blake2008-02-111-2/+14
| | | | | | | * .gitattributes: Add merge attributes for ChangeLog. * bootstrap: Install driver, if not already present. Signed-off-by: Eric Blake <ebb9@byu.net>
* Depend on new libtool to use non-recursive build.Eric Blake2008-01-311-7/+20
| | | | | | | | | | | | | | | | | | | | | * configure.ac (LT_PREREQ): Bump to alpha release version. (LTDL_INIT): Choose nonrecursive mode. Perform sanity check that installed libtool has correct symbols. * Makefile.am (SUBDIRS): Drop ltdl, now that it is built from the top level. (AM_CPPFLAGS): Drop directories covered by libtool. (AM_LDFLAGS): Drop -no-undefined, covered by libtool. (include_HEADERS, noinst_LTLIBRARIES, EXTRA_LTLIBRARIES): New macros, used by libtool. (lib_LTLIBRARIES): Also used by libtool. (ltdl/libltdlc.la): Delete, now that libtool does this. * bootstrap: Mention new requirements. (LIBTOOLIZE): Provide default program, and run libtoolize prior to autoreconf. (autoreconf): Also neutralize libtoolize, since it is run early. * HACKING: Mention updated prerequisites. Signed-off-by: Eric Blake <ebb9@byu.net>
* Depend on newer autoconf, for testsuite -C dir.Eric Blake2008-01-281-4/+4
| | | | | | | | | | | * Makefile.am (CD_TESTDIR): Delete, no longer required. (check-local, installcheck-local, clean-local-tests): Use new -C option from autotest. * configure.ac (AC_PREREQ): Bump to 2.61a.347. * bootstrap: Mention new dependency. * HACKING: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Rely on newer automake.Eric Blake2008-01-221-6/+9
| | | | | | | | | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Require 1.10.1, and add lzma distribution. * bootstrap: Update automake requirement. (func_version): Fix --version output, broken since 2007-08-06. * HACKING: Likewise. Add lzma requirement. * Makefile.am (clean-local-src): Not needed any more with newest Automake. (clean-local): Adjust. * TODO: Remove completed item. Signed-off-by: Eric Blake <ebb9@byu.net>
* For consistency with other GNU projects, use build-aux directory.Eric Blake2007-11-051-2/+2
| | | | | | | | | | * configure.ac (AC_CONFIG_AUX_DIR): Change ltdl/config to build-aux. * bootstrap (config_aux_dir): Likewise. * Makefile.am (config_aux_dir): Likewise. * ltdl/m4/gnulib-cache.m4: Use --aux-dir option. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update some documentation about version control.Eric Blake2007-11-021-10/+8
| | | | | | | | | | | | | * NEWS: M4 is now stored in git. * HACKING: Likewise. * README: Likewise. * bootstrap: Likewise. * commit: Delete, now that CVS commits are no longer necessary. * ltdl/config/mailnotify: No longer necessary; git's patch generation and mail capability is more powerful. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 0f7701a19187152180a0b9907fab29d152fc534a)
* Create .gitignore alongside .cvsignore.Eric Blake2007-10-061-19/+29
| | | | | | * bootstrap (version control): Update to reflect git usage. Signed-off-by: Eric Blake <ebb9@byu.net>
* * bootstrap (ltdl/m4/.cvsignore): Add xstrtol module macros.Gary V. Vaughan2007-10-061-0/+1
| | | | * src/m4/.cvsignore: Add xstrtol module sources.
* Work around a bug in darwin's awk:Gary V. Vaughan2007-10-061-5/+5
| | | | | | | | | | * bootstrap (func_get_translations): Use $AWK instead of raw `awk' so that the user can use an alternative implementation if the first awk in PATH doesn't behave as expected. (func_get_translations): The first awk script mangles the last entry passed to it for at least the awk implementation shipped with Darwin 8.10.1. Capture $3 into a variable too to work- around that problem.
* As gnulib xstrtol is only used by main, and unconditionally pullsGary V. Vaughan2007-10-061-3/+2
| | | | | | | | | | in a copy of getopt, undo bootstrap change from 2007-08-11 below, and copy the xstrtol code into src/ so that main() can use it without pushing the extra code into libm4: * bootstrap (src_modules): Add getopt and xstrtol modules. * Makefile.am (src_m4_SOURCES): Add xstrtol sources. * po/POTFILES.in: Move gnu/xstrtol-error.c to src/xstrtol-error.c.
* Another upstream xstrtol change.Eric Blake2007-10-061-2/+2
| | | | | | | | | * po/POTFILES.in: Track changes in files containing messages. * bootstrap (src_modules): getopt is now pulled into libgnu.a, no need to grab it separately. * src/main.c (OPT_STR, LONG_OPT_STR, short_opt_str, OPT_STR_INIT): No longer needed. (size_opt): Adjust to latest xstrtol interface.
* Normalize all GPL license notices.Eric Blake2007-10-061-13/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * m4/COPYING.LIB: Delete - libm4 is not distributed under LGPLv2 at this time. * Makefile.am: Update license wording. * bootstrap: Likewise. * commit: Likewise. * configure.ac: Likewise. * ltdl/config/mailnotify: Likewise. * ltdl/config/mkstamp: Likewise. * ltdl/m4/debug.m4: Likewise. * ltdl/m4/gmp.m4: Likewise. * ltdl/m4/m4-error.m4: Likewise. * ltdl/m4/m4-getopt.m4: Likewise. * ltdl/m4/m4-gettext.m4: Likewise. * ltdl/m4/m4-obstack.m4: Likewise. * ltdl/m4/m4-regex.m4: Likewise. * ltdl/m4/stackovf.m4: Likewise. * m4/builtin.c: Likewise. * m4/debug.c: Likewise. * m4/hash.c: Likewise. * m4/hash.h: Likewise. * m4/input.c: Likewise. * m4/m4.c: Likewise. * m4/m4module.h: Likewise. * m4/m4private.h: Likewise. * m4/macro.c: Likewise. * m4/module.c: Likewise. * m4/output.c: Likewise. * m4/path.c: Likewise. * m4/resyntax.c: Likewise. * m4/symtab.c: Likewise. * m4/syntax.c: Likewise. * m4/system_.h: Likewise. * m4/utility.c: Likewise. * modules/evalp
* Fix 'make distcheck' issues.Eric Blake2007-10-061-1/+3
| | | | | | | * bootstrap: Add more files that might be more up-to-date in gnulib. * Makefile.am (EXTRA_DIST): No longer distribute removed diff. * config/m4/gnulib-cache.m4: Update to latest gnulib.
* Upgrade to GPLv3, and document 1.4.10.Eric Blake2007-10-061-2/+29
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootstrap: Adjust to GPLv3. (func_update): Port from branch. * ltdl/m4/gnulib-cache.m4: Augment with 'gnulib-tool --local-dir=local --import gpl-3.0'. * doc/m4.texinfo (History): Mention 1.4.11. (Copying This Package): New appendix. * NEWS: Document 1.4.10. * local/doc/gpl-3.0.texi.diff: New file. * Makefile.am: Update license. (doc_m4_TEXINFOS, EXTRA_DIST): Distribute additions. * commit: Update license. * configure.ac: Likewise. * ltdl/config/mailnotify: Likewise. * ltdl/config/mkstamp: Likewise. * ltdl/m4/debug.m4: Likewise. * ltdl/m4/gmp.m4: Likewise. * ltdl/m4/m4-error.m4: Likewise. * ltdl/m4/m4-getopt.m4: Likewise. * ltdl/m4/m4-gettext.m4: Likewise. * ltdl/m4/m4-obstack.m4: Likewise. * ltdl/m4/m4-regex.m4: Likewise. * ltdl/m4/stackovf.m4: Likewise. * m4/builtin.c: Likewise. * m4/debug.c: Likewise. * m4/hash.c: Likewise. * m4/hash.h: Likewise. * m4/input.c: Likewise. * m4/m4.c: Likewise. * m4/m4module.h: Likewise. * m4/m4private.
* The translation project has moved.Gary V. Vaughan2007-10-061-13/+12
| | | | | | * bootstrap (func_get_translations): Use the new translation project url. (TP_URL): Removed.
* * m4/output.c (m4_output_init): Update to latest gnulib.Eric Blake2007-10-061-2/+58
| | | | | | | * bootstrap (ltdl/m4/.cvsignore): No longer track generated .cvsignore in CVS. * NEWS: Reflect release of 1.4.9. * THANKS: Update.
* * bootstrap: Relax m4 requirement, thanks to...Eric Blake2007-10-061-10/+2
| | | | | * configure.ac (Gettext support): ...this workaround to the 1.4.4 bug. Undoes restriction added on 2006-11-09.
* * bootstrap: Validate that installed M4 is powerful enough.Eric Blake2007-10-061-7/+17
| | | | Reported by Gary V. Vaughan, analyzed by Stepan Kasal.
* * bootstrap: Update bootstrap requirement wording.Eric Blake2007-10-061-6/+8
| | | | Reported by Bruno Haible.
* * bootstrap (gnulib): No longer a need to patch after gnulib-toolEric Blake2007-10-061-8/+3
| | | | | | --update. * configure.ac (AM_GNU_GETTEXT_VERSION): Bump requirement to 0.16, since 0.15 is incompatible with our automake requirement.
* * bootstrap: Add --force option, based on idea from coreutils.Eric Blake2007-10-061-1/+13
| | | | | * README: Document that ./bootstrap and autoreconf are for developers, and not lightly done in tarballs.
* * bootstrap: Kill unrelated copy-n-paste code from argumentEric Blake2007-10-061-21/+4
| | | | | parsing. Let Makefile generate testsuite. * Makefile.am (EXTRA_DIST): Remove examples/WWW/man/Makefile.
* * bootstrap: Run autopoint before gnulib-tool, since autopointEric Blake2007-10-061-7/+20
| | | | 0.15 installs macros obsoleted by current gnulib.
* * bootstrap (func_get_translations): Only remove files when doingEric Blake2007-10-061-3/+6
| | | | | full update. (func_update_po): Avoid CDPATH problems.
* * bootstrap (func_get_translations): New function.Eric Blake2007-10-061-13/+59
| | | | | (func_update_po): Borrow ideas from tar to correctly pull in translations from newer location.
* * bootstrap: Recent gnulib no longer has jm_* macros to worryEric Blake2007-10-061-14/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | about. * ltdl/m4/gnulib-cache.m4: Augment with gnulib-tool --import verror. * m4/m4module.h (M4ERROR, M4WARN): Delete, replaced by... (m4_error, m4_warn): ... these new prototypes. (m4_current_file, m4_current_line): Move into context, rather than leaving as globals. (m4_insert_file, m4_insert_diversion, m4_freeze_diversions) (m4_undivert_all, m4_input_init): Now takes context. * m4/utility.c (m4_error, m4_warn): New functions. * m4/m4private.h: Assume errno exists. (struct m4): Move warning_status to a bit flag, and add exit_status. Adjust accessors accordingly. * src/main.c (print_program_name_CB): No longer needed. (main): Use new m4_get_fatal_warnings_opt. * m4/debug.c: Adjust all callers of M4WARN and M4ERROR, and abort instead of issuing "INTERNAL ERROR". Pass context when needed, and use new accessors. * m4/input.c: Likewise. * m4/macro.c: Likewise. * m4/output.c: Likewise. * m4/utility.c: Likewise. * mod
* * bootstrap: Correct typo in --download-po argument parsing.Gary V. Vaughan2007-10-061-2/+2
|
* * bootstrap: Enhanced to work more like our other scripts:Gary V. Vaughan2007-10-061-2/+186
| | | | | | Add a copyright statement; support --version and --help; accept a --download-po option with argument as a substitute for DOWNLOAD_PO in the environment.
* * Makefile.am (AM_CPPFLAGS): Add $(LTDLINCL), so the rightEric Blake2007-10-061-18/+9
| | | | | | | | ltdl.h is used. * bootstrap: Do not run libtoolize manually, this is done correctly by autoreconf. Invoke autoreconf with --no-recursive to avoid unnecessary rerunning of autotools for libltdl. * THANKS: Update.
* * THANKS: Update.Eric Blake2007-10-061-3/+3
| | | | | | | | | | | | Eric Blake <ebb9@byu.net> * configure.ac (gl_SOURCE_BASE, gl_M4_BASE, gl_MODULES): Move to... * ltdl/m4/gnulib-cache.m4: ...this new file, per new gnulib-tool usage pattern. * bootstrap: Update usage of gnulib-tool. * Makefile.am (doc/m4.1): Use EXEEXT on built binary. Cleanup whitespace.
* * bootstrap (func_update_po): Synch with CVS GNU tar. wget 1.9.xGary V. Vaughan2007-10-061-7/+2
| | | | | and 1.10.x support --cache=off, so $WGETFLAGS are not necessary. Reported by Eric Blake <ebb9@byu.net>
* * bootstrap (func_update_po): Test and set $WGETFLAGS to disableGary V. Vaughan2007-10-061-2/+9
| | | | | http caching as -C is no longer supported by wget 1.10.x. Reported by Eric Blake <ebb9@byu.net>
* * bootstrap (func_update_po): Update pofiles directly from theGary V. Vaughan2007-10-061-1/+41
| | | | | | | | translation project. * po/LINGUAS, po/cs.po, po/de.po, po/el.po, po/fr.po, po/it.po, po/ja.po, po/nl.po, po/pl.po, po/ru.po, po/sv.po: No need to store these files under source control anymore. Suggested by Eric Blake <ebb9@byu.net>
* * bootstrap: Allow user overriding of gnulib-tool location, andGary V. Vaughan2007-10-051-9/+78
| | | | | | | correctly determine module source directories whether gnulib-tool is given as a relative or absolute path, or is found by searching PATH. Reported by Eric Blake <ebb9@byu.net>
* * bootstrap (AUTORECONF): New variable to allow user overriding ofGary V. Vaughan2007-10-051-6/+7
| | | | autoreconf path.
* * Makefile.am (src_m4_SOURCES): Add version-etc-fsf.c.Gary V. Vaughan2007-10-051-2/+5
| | | | | * bootstrap (src_modules): Add version-etc-fsf. * src/main.c (version_etc_copyright): Removed.
* Gnulib has changed again. Reimport. Adjust. Rinse. Repeat.v1.9aGary V. Vaughan2007-10-051-8/+32
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Automake and Libtool now agree on subdir-objects and LTLIBOBJS, and libtoolize does a better job of ltdl importing now too, so take advantage of that while updating the tree: * acm4, config: Moved from here... * ltdl/m4, ltdl/config: ...to here. * doc/Makefile.am, m4/Makefile.am, modules/Makefile.am, src/Makefile.am, tests/Makefile.am: Removed... * Makefile.am: ...and migrated to here, with adjustments to compensate for relative path differences. * commit: Adjust relative paths. * configure.ac: Adjust relative paths. (AC_PREREQ): 2.59 isn't strictly new enough, we also need a patch. (LT_PREREQ): 2.0 isn't released yet, but will work when it is! In the meanwhile, CVS HEAD libtool is needed. (AM_INIT_AUTOMAKE): Added subdir-objects declaration. 1.9.5 isn't stricly new enough, we also need a patch. (AM_PROG_CC_C_O): Required for subdir-objects in Automake. (AC_WITH_LTDL): Replaced with LT_WITH_LTDL. (gl_MODULES): Don't list getopt and version-etc, as they don't belong in libm4. * bootstrap: After running gnulib-tool to import the listed modules, fetch getopt and version-etc into src manually. (ltdldir): Change to ltdl. * src/main.c: Adjust for changes in version-etc API. * ltdl/m4/m4-getopt.m4: New macro to mirror gnulib's getopt.m4, but works when the getopt module isn't to be included in the lib. * README: Add note about patching autoconf and automake to bootstrap CVS m4.
* * gnulib/*: Don't store any of the gnulib files in arch, as theyGary V. Vaughan2007-10-051-0/+11
| | | | | | | | | | | | | | | | | | | generate spurious changes. * Makefile.am (ACLOCAL_AMFLAGS): Remove gnulib/acm4 since the gnulib macros now share our macro directory. (SUBDIRS): Descend into `gnu' rather than `gnulib'. * bootstrap: Call gnulib-tool to import from the gnulib tree. (gl_AC_HEADER_INT_TYPES_H, gl_AC_HEADER_STDINT_H, gl_AC_TYPE_UINTMAX_T): Patch gnulib.m4 to define these in terms of the gettext macros from autopoint that overwrite the gnulib-tool imported versions. Import sources and Makefile.am into the `gnu' directory. Changed all callers. * configure.ac (gl_EARLY, gl_SOURCE_BASE, gl_M4_BASE, gl_MODULES, gl_INIT): Call these gnulib-tool macros instead of the hardcoded for imported modules. * acm4/m4-error.m4, acm4/m4-gettext.m4, acm4/m4-obstack.m4, acm4/m4-regex.m4: Use AC_BEFORE to enforce ordering rather than hardcoding the gnulib macros they wrap.
* Latest CVS libtool can preload modules in libraries, includingGary V. Vaughan2007-10-051-4/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | its own module loaders! Tweak m4 so that it doesn't try to treat libltdl's module loaders as m4 modules when freezing and on exit: * gnulib/acm4/*.m4: Don't store these files in arch since they generate spurious changes. * bootstrap: Simplify initial libtoolize call, since CVS libtoolize is smarter these days. * doc/Makefile.am (%.1): Make the helptoman call work with a VPATH build. * m4/module.h (m4__module_exit): Missing declaration. * m4/m4private.h (m4__module_next): New function declaration. * m4/module.c (m4__module_next): lt_dlhandle_{firs,nex}t encapsulation. Changed all callers. (m4__module_interface): New function to verify m4 loadable module interfaces. (m4__module_init): Register the interface validator. (m4__module_exit): Only close my own modules. * modules/m4.c (unistd.h): Provide missing declaration. (m4_set_sysval, m4_sysval_flush, m4_dump_symbols) (m4_expand_ranges): More missing declarations. * modules/modtest.c (export_test): Ditto. * src/Makefile.am (AM_CPPFLAGS): Add libltdl directory. * src/main.c (main): Bump copyright year. * tests/modules.at: Fix sed syntax error.
* Tweaking to enable compilation with latest CVS libtool andGary V. Vaughan2007-10-051-3/+38
| | | | | | | | | | | | | | | | | | | | | | | | libltdl. We can't just dump the library files directly into the m4 directory anymore now that libltdl is built from pieces itself: * bootstrap: Rewritten to use latest libtoolize sanely, and to set up libltdl subdirectory. * configure.ac (AC_CONFIG_AUX_DIR): Point to our own, not the gnulib subdirectory's config. (TIMESTAMP): Use $ac_aux_dir for VPATH builds. (m4_pattern_forbid): Remove the cruft to deal with renamed jm_ macros from gnulib. (AC_LIB_LTDL): Latest libltdl is a sub-project with its own configure.ac, so use AC_WITH_LTDL instead. * Makefile.am (SUBDIRS): Add libltdl. * acm4/m4-regex.m4 (jm_INCLUDED_REGEX): Updated. gnulib now uses gl_INCLUDED_REGEX. * m4/Makefile.am (AM_CPPFLAGS): Add INCLTDL. (libm4_la_SOURCES): Remove ltdl.c and ltdl.h. (libm4_la_LIBADD): Add LIBLTDL. * m4/ltdl.c, m4/ltdl.h: Removed. * m4/m4module.h: Include canonical ltdl.h. * po/*.po: Updated.
* * bootstrap: Separate options.Gary V. Vaughan2007-10-051-1/+1
| | | | | | | | | | | | | | | * configure.ac (AM_GNU_GETTEXT_VERSION): Bump to 0.12.1. * gnulib/m4/Makefile.am (stdbool.h): Use srcdir, gnulib_srcdir is not set. * modules/Makefile.am (gnu_la_LIBADD, load_la_LIBADD) (m4_la_LIBADD, mpeval_la_LIBADD, traditianal_la_LIBADD) (modtest_la_LIBADD, import_la_LIBADD, perl_la_LIBADD) (shadow_la_LIBADD, stdlib_la_LIBADD, time_la_LIBADD): Add $(LTLIBINTL) for gettext support on cygwin. * src/Makefile.am (m4_LDADD): Remove $(INTLLIBS), since we now have $(LTLIBINTL) from the preloaded module la files. * README: Remove the warning about using --disable-nls on Windows machines.
* * bootstrap: Revert 2003-09-04 patch now that CVS autoconf andGary V. Vaughan2007-10-051-2/+0
| | | | automake have been fixed.
* * bootstrap: CVS autoreconf leaves file droppings. RemoveGary V. Vaughan2007-10-051-0/+2
| | | | aclocal.m4t incase autoreconf doesn't.
* * configure.ac: Automake 1.7.1, Autoconf 2.54, Gettext 0.11.5,Akim Demaille2007-10-051-75/+2
| | | | | | | | | | | | | used as `external', and Libtool 1.4.3. (LINGUAS): Remove. (LTLIBOBJS): Don't play with it. * intl/: Remove. * Makefile.am (SUBDIRS): Remove intl. (ACLOCAL_AMFLAGS): Add -I config. (EXTRA_DIST): Add config/config.rpath. * po/LINGUAS: New. * po/Makevars: New. * modules/perl.c (M4INIT_HANDLER): Don't prototype xs_init.
* * bootstrap (aclocal_apiversion): The aclocal apiversion isGary V. Vaughan2007-10-051-1/+2
| | | | | | distinct from the automake release number (in that the apiversion apparently has no micro-version-component). (aclocal_apilibdir): Use it.
* * bootstrap (aclocal_apilibdir): New, to cope with Automake's newAkim Demaille2007-10-051-1/+6
| | | | | | | | | | | APIVERSION scheme. * tests/Makefile.am (package.m4): New. * tests/atlocal.in: Adjust to CVS Autotest. * config/gnu-obstack.m4 (M4_AC_FUNC_OBSTACK): Use AC_LIBOBJ. * configure.ac: LIBOBJ is a forbidden string. Simplify AM_INIT_AUTOMAKE invocation. * config/Makefile.am (ACLOCAL_MACROS): Add amversion.m4 and options.m4.
* * bootstrap: s/configure.in/configure.ac/Gary V. Vaughan2007-10-051-1/+1
|