summaryrefslogtreecommitdiff
path: root/build-aux/bootstrap
Commit message (Collapse)AuthorAgeFilesLines
...
* maint: time stamp -> timestampPaul Eggert2017-01-091-2/+2
| | | | Use the spelling "timestamp", as that is what POSIX uses.
* version-etc: new yearPaul Eggert2017-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* bootstrap: Fix get_version() for AIX 5.3Eric Blake2016-11-041-17/+19
| | | | | | | | * build-aux/bootstrap (get_version): Factor out sed script, since indented comments choke AIX 5.3 sed. Reported-by: Michael Felt <aixtools@gmail.com> Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: use American spellingPaul Eggert2016-01-231-2/+2
| | | | * build-aux/bootstrap: Honor American spelling.
* Port Universal Time settings to strict POSIXPaul Eggert2016-01-121-2/+2
| | | | | | | | | | | | * build-aux/announce-gen, build-aux/bootstrap: * build-aux/do-release-commit-and-tag, build-aux/git-version-gen: * build-aux/gitlog-to-changelog, build-aux/gnu-web-doc-update: * build-aux/gnupload, build-aux/mkinstalldirs: * build-aux/move-if-change, build-aux/prefix-gnulib-mk: * build-aux/update-copyright, build-aux/useless-if-before-free: * build-aux/vc-list-files, tests/test-strftime.c: Use TZ="UTC0", not TZ="UTC". Either works on GNU platforms, but POSIX says the behavior of TZ="UTC" is undefined.
* version-etc: new yearPaul Eggert2016-01-011-1/+1
| | | | | | | | | | * build-aux/gendocs.sh (version): * doc/gendocs_template: * doc/gendocs_template_min: * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright dates by hand in templates and the like. * all files: Run 'make update-copyright'.
* bootstrap: exit immediately upon gnulib-tool failurePádraig Brady2015-02-031-1/+2
| | | | | | | * build-aux/bootstrap: Exit immediately if gnulib-tool fails. This was noticed when gnulib-tool exited early due to failure to apply a patch in coreutils at http://hydra.nixos.org/eval/1172233, but various confusing errors were then given as the build proceeded.
* version-etc: new yearPaul Eggert2014-12-311-1/+1
| | | | | | * doc/gnulib.texi: * lib/version-etc.c (COPYRIGHT_YEAR): Update copyright date. * all files: Run 'make update-copyright'.
* bootstrap: Allow perl modules in $buildreqMartin Kletzander2014-12-081-1/+16
| | | | | | | | | | | | | | | | With this patch it is possible to put e.g. "perl::XML:XPath -" in $buildreq in bootstrap.conf which will cause a check for perl module XML::XPath using: perl -m"XML::XPath" -e 'exit 0' >/dev/null 2>&1 If this fails due to any other error than XML::XPath missing, it is left on the user to fix up his/her bootstrap.conf. One of the examples might be perl itself missing, which should be in $buildreq and precede any perl::Module specifications. Versioning of perl modules is not supported. Signed-off-by: Martin Kletzander <mkletzan@redhat.com>
* bootstrap: print more diagnostics for missing programsPádraig Brady2014-10-231-3/+13
| | | | | | | | * build-aux/bootstrap: only suppress stderr when checking for alternative program names. This supports programs issuing non standard error messages like: "Provide an AUTOMAKE_VERSION environment variable, please" Reported by Ingo Schwarze with OpenBSD
* bootstrap: only update the gnulib submodulePádraig Brady2014-10-231-4/+5
| | | | | | | * build-aux/bootstrap: Restrict the "submodule update" command to the gnulib path. Reported by Reuben Thomas
* maint: update copyrightEric Blake2014-01-011-1/+1
| | | | | | I ran 'make update-copyright'. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: warn about BSD toolchain snafuEric Blake2013-12-051-1/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | With my help on IRC, Roman Bogorodskiy identified a bug where the BSD autoconf wrapper script eats stdin[1], which in turn causes autopoint from gettext 0.18.3 to fail to find AM_GNU_GETTEXT_VERSION out of configure.ac[2], with this error: ./bootstrap: autopoint --force autopoint: *** Missing version: please specify in configure.ac through a line 'AM_GNU_GETTEXT_VERSION(x.yy.zz)' the gettext version the package is using [1] http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/184479 [2] http://git.sv.gnu.org/cgit/gettext.git/commit/gettext-tools/misc/autopoint.in?id=eea2dddde The workaround would be painful to automate (because gettext hardcodes the use of autom4te rather than honoring ${AUTOM4TE}, we'd have to create a temporary wrapper earlier in $PATH that forwards to the real autom4te-x.yz - basically, repeating the logic of what a wrapper script was supposed to do). Further, while the broken autom4te definitely hurts gettext 0.18.3, it tends to have no issues with gettext 0.18.2; and since the problem has been identified, it will not be long before fixed autom4te and/or improved gettext that is not so stubborn about using exactly 'autom4te' will be available. Therefore, for now we just warn about the situation. * build-aux/bootstrap: Alert users to a broken autom4te. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: remove the --version requirement from ancillary toolsPádraig Brady2013-08-291-8/+11
| | | | | | | | * build-aux/bootstrap (check_exists): A new refactored function to determine if a command exists. (find_tool): Use the new function which does not require the --version option to be supported. (check_versions): Use the new function.
* bootstrap: port to OpenBSD sedMike Miller2013-08-151-2/+2
| | | | | | | * build-aux/bootstrap (insert_if_absent): Port to OpenBSD sed which does not interpret `-' as a file argument to mean stdin. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: support checksum utils without a --status optionPádraig Brady2013-08-101-18/+17
| | | | | | | | | | | | | | | | * build-aux/bootstrap: Only look for sha1sum if updating po files. Add sha1 to the list of supported checksum utils since it's now supported through adjustments below. (update_po_files): Remove the use of --status in a way that will suppress all error messages, but since this is only used to minimize updates, it shouldn't cause an issue. Exit early if there is a problem updating the po file checksums. (find_tool): Remove the check for --version support as this is optional as per commit 86186b17. Don't even check for the presence of the command as if that is needed, it's supported through configuring prerequisites in bootstrap.conf. Prompt that when a tool isn't found, one can define an environment variable to add to the hardcoded search list.
* bootstrap: use correct source when copying build-aux filesWerner LEMBERG2013-07-181-6/+6
| | | | | | | | | | | | | | | | | | in my setup for ttfautohint (http://repo.or.cz/w/ttfautohint.git) I have the following assignment in `bootstrap.conf': build_aux=gnulib It seems that the patch below is necessary to make this really work (at least it works for me): if I understand the issue correctly, $build_aux is a *destination* variable, so it must not be used for the files listed in $gnulib_extra_files which uses the directory structure of the `gnulib' repository. * build-aux/bootstrap (gnulib_extra_files): This variable is relative to upstream gnulib layout, not downstream. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: honor --no-gitEric Blake2013-07-031-7/+14
| | | | | | | | | | | | | | | | | | | | | | | Based on a report by Chandrashekar Shastri, at https://bugzilla.redhat.com/show_bug.cgi?id=979360 The intent behind the original addition of --no-git in commit 824f8d16 was to allow builds on a machine that either has no git, or where git is prevented from using the network; yet where the user had other means of checking out the correct version of gnulib (such as using an NFS share). But in practice, we were still trying to use git, in spite of being told where gnulib-tool already lives. This fixes bootstrap to match the original intent, by avoiding all direct use of git or submodules (any indirect use of git, such as by autopoint, is beyond our control; but at least that use does not require network access). It is still up to the end user to ensure that GNULIB_SRCDIR points to the intended gnulib commit. * build-aux/bootstrap: Don't even try to use git when user is pointing to a static checkout. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: AC_INIT may have more than four parametersEric Blake2013-05-081-9/+10
| | | | | | | | | | | | | | | | | For packages that did AC_INIT([package], [version], [bug-report], [], [url]) the extraction script was grabbing url instead of package for the value of $package. Furthermore, while we guarantee LC_ALL=C, this code is liable to be copied and pasted to a script that doesn't use the C locale and thus where a range expression may misbehave. * build-aux/bootstrap (extract_package_name): Correctly extract non-empty tarname field. Avoid range in regex. Based on a report by Sami Kerola <kerolasa@iki.fi>. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: port to FreeBSDPaul Eggert2013-03-081-2/+6
| | | | | | * build-aux/bootstrap (bootstrap_sync): Port sh -c usage to shells that treat '--' differently. Reported by Mats Erik Andersson in <http://lists.gnu.org/archive/html/bug-gnulib/2013-03/msg00012.html>.
* bootstrap: remove the need for a sorted .gitignoreBernhard Voelker2013-01-261-22/+22
| | | | | | | | | | | | | | | | | | During bootstrap, files may be created which are already included in .gitignore, but the test to add such a file relied on the sort order. Now, it just adds such a new entry and thus only changes the file if the line count would change. * bootstrap (insert_if_absent): Instead of comparing the sorted new file with the original, the function compares the line count, and only in case of a difference, the given file is changed. Also ensure that the given ignore file does not already include duplicate entries, as otherwise, the entry count would be innacurate. (sort_patterns): Remove this now redundant function. (gitignore_entries): A new function to return significant entries from .gitignore. Improved-by: Pádraig Brady
* maint: update all copyright year number rangesEric Blake2013-01-011-1/+1
| | | | | | Run "make update-copyright". Compare to commit 1602f0a from last year. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: pass --force to autoreconf.Akim Demaille2012-12-281-7/+8
| | | | | | | | * build-aux/bootstrap (no_recursive): Remove, replaced by... (AUTORECONFFLAGS): this new variable. Add "--force" so that Automake's ylwrap and other such tools be updated at each bootstrap invocation. Use it.
* gnu-web-doc-update: check the requirements.Akim Demaille2012-07-191-1/+3
| | | | | | * build-aux/gnu-web-doc-update (find_tool): Import from bootstrap. ($CVS, $CVSU, $GIT, $RSYNC, $XARGS): New. * build-aux/bootstrap (find_tool): Comment change.
* bootstrap: let warn be like tests/init.sh's warn_Akim Demaille2012-07-101-15/+32
| | | | | | | | Reported by Jim Meyering. * build-aux/bootstrap (warn): Remove, replaced by... (warnf_, warn_): these. Adjust callers. Shorten messages that no longer fit in 80 columns.
* bootstrap: use a more consistent error reporting schemeAkim Demaille2012-07-061-47/+47
| | | | | * build-aux/bootstrap (warn, die): New. Use them.
* bootstrap: do not require now-removed build-aux/missingJim Meyering2012-07-031-4/+5
| | | | | | | | | Now that build-aux/missing is, er, missing, bootstrap would silently fail. * build-aux/bootstrap (gnulib_extra_files): Remove $build_aux/missing from the list, now that (since commit v0.0-7489-gd0f486f) the file is no longer part of gnulib. Diagnose the failure.
* Write "Mac OS X" instead of "MacOS X".Bruno Haible2012-06-221-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * README: Write "Mac OS X" instead of "MacOS X". * build-aux/bootstrap: Likewise. * build-aux/install-reloc: Likewise. * lib/acl-internal.h: Likewise. * lib/acl_entries.c: Likewise. * lib/argp-ba.c: Likewise. * lib/argp-pv.c: Likewise. * lib/config.charset: Likewise. * lib/copy-acl.c: Likewise. * lib/csharpexec.c: Likewise. * lib/euidaccess.c: Likewise. * lib/fbufmode.c: Likewise. * lib/fflush.c: Likewise. * lib/file-has-acl.c: Likewise. * lib/filemode.h: Likewise. * lib/fpurge.c: Likewise. * lib/freadable.c: Likewise. * lib/freadahead.c: Likewise. * lib/freading.c: Likewise. * lib/freadptr.c: Likewise. * lib/freadseek.c: Likewise. * lib/fseeko.c: Likewise. * lib/fseterr.c: Likewise. * lib/fsusage.c: Likewise. * lib/fwritable.c: Likewise. * lib/fwriting.c: Likewise. * lib/get-rusage-as.c: Likewise. * lib/get-rusage-data.c: Likewise. * lib/getdomainname.c: Likewise. * lib/idpriv-drop.c: Likewise. * lib/idpriv-droptemp.c: Likewise. * lib/localcharset.c: Likewise. * lib/locale.in.h: Likewise. * lib/localename.c: Likewise. * lib/mbsrtowcs-state.c: Likewise. * lib/nproc.c: Likewise. * lib/passfd.c: Likewise. * lib/posix_openpt.c: Likewise. * lib/printf-parse.c: Likewise. * lib/progreloc.c: Likewise. * lib/safe-read.h: Likewise. * lib/safe-write.h: Likewise. * lib/sched.in.h: Likewise. * lib/set-mode-acl.c: Likewise. * lib/signal.in.h: Likewise. * lib/stdint.in.h: Likewise. * lib/stdio-impl.h: Likewise. * lib/stdlib.in.h: Likewise. * lib/strtod.c: Likewise. * lib/sys_select.in.h: Likewise. * lib/tcgetsid.c: Likewise. * lib/unistd.in.h: Likewise. * lib/unlockpt.c: Likewise. * lib/vasnprintf.c: Likewise. * lib/vma-iter.c: Likewise. * lib/wcsrtombs-state.c: Likewise. * m4/acl.m4: Likewise. * m4/acosl.m4: Likewise. * m4/asinl.m4: Likewise. * m4/atanl.m4: Likewise. * m4/c-stack.m4: Likewise. * m4/cosl.m4: Likewise. * m4/expl.m4: Likewise. * m4/extensions.m4: Likewise. * m4/fdatasync.m4: Likewise. * m4/fmal.m4: Likewise. * m4/frexp.m4: Likewise. * m4/frexpf.m4: Likewise. * m4/frexpl.m4: Likewise. * m4/fsusage.m4: Likewise. * m4/getdomainname.m4: Likewise. * m4/getloadavg.m4: Likewise. * m4/getopt.m4: Likewise. * m4/gettext.m4: Likewise. * m4/gnulib-common.m4: Likewise. * m4/intdiv0.m4: Likewise. * m4/intlmacosx.m4: Likewise. * m4/largefile.m4: Likewise. * m4/ldexpl.m4: Likewise. * m4/link-follow.m4: Likewise. * m4/locale-ar.m4: Likewise. * m4/locale-fr.m4: Likewise. * m4/locale-ja.m4: Likewise. * m4/locale-tr.m4: Likewise. * m4/locale-zh.m4: Likewise. * m4/locale_h.m4: Likewise. * m4/lock.m4: Likewise. * m4/logl.m4: Likewise. * m4/mathfunc.m4: Likewise. * m4/minus-zero.m4: Likewise. * m4/mktime.m4: Likewise. * m4/mmap-anon.m4: Likewise. * m4/multiarch.m4: Likewise. * m4/nanosleep.m4: Likewise. * m4/nocrash.m4: Likewise. * m4/poll.m4: Likewise. * m4/printf-frexpl.m4: Likewise. * m4/printf.m4: Likewise. * m4/signbit.m4: Likewise. * m4/sinl.m4: Likewise. * m4/sqrtl.m4: Likewise. * m4/strerror_r.m4: Likewise. * m4/tanl.m4: Likewise. * m4/threadlib.m4: Likewise. * m4/ttyname_r.m4: Likewise. * m4/unlink.m4: Likewise. * m4/visibility.m4: Likewise. * m4/wcwidth.m4: Likewise. * tests/minus-zero.h: Likewise. * tests/test-alloca-opt.c: Likewise. * tests/test-copy-acl.sh: Likewise. * tests/test-copy-file.sh: Likewise. * tests/test-fdatasync.c: Likewise. * tests/test-file-has-acl.sh: Likewise. * tests/test-flock.c: Likewise. * tests/test-fsync.c: Likewise. * tests/test-localename.c: Likewise. * tests/test-malloca.c: Likewise. * tests/test-nonblocking-pipe.h: Likewise. * tests/test-nonblocking-socket.h: Likewise. * tests/test-openpty.c: Likewise. * tests/test-posix_openpt.c: Likewise. * tests/test-ptsname.c: Likewise. * tests/test-ptsname_r.c: Likewise. * tests/test-sameacls.c: Likewise. * tests/test-select.h: Likewise. * tests/test-set-mode-acl.sh: Likewise. * tests/test-snprintf-posix.h: Likewise. * tests/test-sprintf-posix.h: Likewise. * tests/test-strtod.c: Likewise. * tests/test-time.c: Likewise. * tests/test-vasnprintf-posix.c: Likewise. * tests/test-vasprintf-posix.c: Likewise. * doc/acl-resources.txt: Likewise. * doc/**/*.texi: Likewise. Reported by Max Horn <max@quendi.de>.
* bootstrap: suppress stderr chatterPaul Eggert2012-05-141-4/+2
| | | | | | * build-aux/bootstrap (insert_sorted_if_absent, main program): Omit unnecessary chatter to stderr. The main program chatter was there only inadvertantly.
* bootstrap: .gitignore files created by autopoint, libtoolPaul Eggert2012-05-141-35/+64
| | | | | | | | | | | | | I ran into this problem when bootstrapping the latest diffutils. After './bootstrap', 'git status' reported lots of untracked files m4/codeset.m4, m4/gettext.m4, etc. These files were created by autopoint and do not need to be version-controlled. * build-aux/bootstrap: Put into .gitignore the files that autopoint and libtool create, by keeping track of files that exist after but not before these programs are run. (version_controlled_file): Move up. 2nd arg is now full file name, not base name; this is more convenient. Put CVS at the end, as it's now somewhat deprecated.
* bootstrap: take advantage of POSIX shell featuresStefano Lattarini2012-05-131-21/+19
| | | | | | | | | | | | | | | | | | | | | | | The 'bootstrap' script offered by Gnulib script already uses POSIX shell features (like $((...)) arithmetic expansions) that are not supported by legacy Bourne shells like Solaris 10 /bin/sh. This means that bootstrap must already be run using a proper POSIX shell, which will thus provide more features, like ${var#pattern} parameter expansion or inversion of a command exit status with '!'. We can thus use these features to improve the clarity and the performances of the bootstrap script. Suggested by Eric Blake. * build-aux/bootstrap: Prefer xpg4 parameter expansions over use of sed/expr plus command substitutions, to save some forks. While we are at it, prefer the POSIX $(...) form of command substitution, rather than the legacy form `...` (since the former is visually clearer and interacts better with quoting), and prefer the idiom: "if ! CMD; then ACTION ..." over the idiom: "if CMD; then :; else ACTION ..." which was required by legacy Bourne shells not supporting '!'.
* bootstrap: support Automake-NG in $buildreqStefano Lattarini2012-04-261-1/+17
| | | | | | * bootstrap (check_versions): Handle automake and aclocal from Automake-NG specially. They can be specified as respectively the "automake-ng" and "aclocal-ng" requirements.
* bootstrap: only force latest Makefile.in.in for gettext moduleEric Blake2012-04-251-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Commit 45fb479c48453d was added on behalf of bison, which uses the 'gettext' module, and where bison wanted to pick up the enhancements to Makefile.in.in as provided by gnulib (such as an install-dvi target). This works because the 'gettext' module assumes that as soon as upstream gettext moves to 0.19, you will also want to update your development machine to the same version, so always having the latest Makefile.in.in is reasonable. But there are also projects like libvirt, that want to build out of the box on active enterprise environments such as RHEL 5, which is still at gettext 0.17. The 'gettext-h' module is designed for these projects, to pick up a useful "gettext.h" with _(), but to not force the latest and greatest gettext installation. However, the recent bootstrap change broke these projects, since the versioning between a project's configure.ac (0.17) and the gnulib version (0.18) cause make to fail in the po directory. The solution is to recognize both classes of projects - either you care about latest GNU Coding Standards (and therefore use the 'gettext' module and the latest gettext release) or stability (and therefore use the 'gettext-h' module and can get by with an older release; although at this point in time, anything older than 0.17 doesn't seem to be in common enterprise use). * build-aux/bootstrap (with_gettext): Only install latest Makefile.in.in for projects requesting bleeding edge gettext. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: accommodate older libtoolEric Blake2012-04-191-3/+9
| | | | | | | | | | | | RHEL 5 still ships with libtool 1.5.22, where libtoolize lacks the --install option but has that behavior by default. And gnulib's DEPENDENCIES file states that we still support that old of libtool as our minimum version. * build-aux/bootstrap (use_libtool): Cater to libtool 1.5.22. Reported by Daniel P. Berrange. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: don't let a user's CDPATH setting affect this scriptJim Meyering2012-04-191-1/+5
| | | | | | | | | | | | When CDPATH is set, cd will sometimes generate output. When "cd" is run in a subshell whose output matters, that surprising-to-some output can cause malfunction. Unsetting CDPATH turns off this shell "feature." * build-aux/bootstrap (CDPATH): Unset. Reported by Reuben Thomas in: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30435 and inspired by his patch here: http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/30440
* bootstrap: really use gnulib's po/Makefile.in.inJim Meyering2012-04-161-2/+2
| | | | | * build-aux/bootstrap: Correct the source file name in previous change. Reported by Akim Demaille.
* bootstrap: use gnulib's po/Makefile.in.in, not the one from gettextJim Meyering2012-04-161-1/+3
| | | | | * build-aux/bootstrap: Use gnulib's po/Makefile.in.in, not the one from gettext. Reported by Akim Demaille.
* Fix test failure in many locales on Solaris 11.Bruno Haible2012-02-191-1/+1
| | | | | | | | | | * tests/test-pipe-filter-gi1.c (main): Don't use range expression in 'tr' arguments. * tests/test-pipe-filter-ii1.c (main): Likewise. * build-aux/bootstrap (check_versions): Run 'tr' command with range expressions in the C locale. * m4/fnmatch.m4 (gl_FUNC_FNMATCH_POSIX): Likewise. * m4/host-os.m4 (gl_HOST_OS): Likewise.
* bootstrap: don't exit 0 upon gnulib-tool failureJim Meyering2012-02-111-2/+2
| | | | | * build-aux/bootstrap (gnulib_tool): If gnulib-tool fails, exit with its exit status, not 0.
* bootstrap: fail when bootstrap_post_import_hook failsJim Meyering2012-01-211-2/+3
| | | | | | Otherwise, it's far too easy to miss diagnostics emitted between gnulib-tool's output and that of running configure. * build-aux/bootstrap: Fail when bootstrap_post_import_hook fails.
* bootstrap: add bootstrap_post_import_hookJim Meyering2012-01-191-3/+5
| | | | | | | | | | | Bison does still need something like the gnulib_mk_hook whose invocation I had to remove along with slurp in commit 767ccd40. Technically, we could get along without it, but doing so would have required living with a warning and a mandatory post-bootstrap automake rerun. * build-aux/bootstrap (gnulib_mk_hook): Remove definition, too. (bootstrap_post_import_hook): New function. Invoke it after gnulib-tool --import and before autoreconf.
* bootstrap: add a FIXME comment to ensure we eventually remove the hackJim Meyering2012-01-161-2/+7
| | | | * build-aux/bootstrap (gnulib_tool_options): Add comment.
* bootstrap: cater to autoconf 2.59Eric Blake2012-01-161-2/+6
| | | | | | | | | | Autoconf didn't add --no-recursive until 2.59c, but gnulib supports as far back as 2.59 for platforms like RHEL 5. * build-aux/bootstrap (AUTORCONF): Work even when --no-recursive is not available. Signed-off-by: Eric Blake <eblake@redhat.com>
* bootstrap: properly check for libtoolEric Blake2012-01-161-2/+2
| | | | | | | | | | | Commit 767ccd40 changed things to invoke libtoolize before gnulib-tool, but only for projects that use LT_INIT, even though we had already probed for libtool via older spellings. * build-aux/bootstrap (libtoolize): Also run libtool when older usage is detected. Signed-off-by: Eric Blake <eblake@redhat.com>
* In commentary, do not use ` to quote.Paul Eggert2012-01-051-3/+3
|
* maint: update all copyright year number rangesJim Meyering2012-01-011-1/+1
| | | | Run "make update-copyright".
* bootstrap: fix it to honor $ACLOCAL_FLAGS once againAlfred M. Szmidt2011-12-211-3/+3
| | | | | | | | The 2011-12-17 change, commit 767ccd40, replaced a manual invocation of aclocal that used explicit $ACLOCAL_FLAGS with an invocation of autoreconf that did not. * build-aux/bootstrap: Use $ACLOCAL_FLAGS when invoking autoreconf. Reported by Mats Erik Andersson <gnu@gisladisker.se>.
* bootstrap: remove some now-unneeded codeJim Meyering2011-12-201-160/+38
| | | | | | | | | | | | | | | | | This script arose back when gnulib-tool was young. Since then, it has seen improvements that render much of this script unnecessary. In particular, it can now make symlinks to the files it uses. Also, I no longer see as much value in marking files as read-only via comments. If you relied on the symlink-creation feature of the preceding version of this script, you can get most of that functionality by adding the --symlink option to the definition of gnulib_tool_option_extras in your bootstrap.conf file. * build-aux/bootstrap (AUTOPOINT, AUTORECONF): Factor out definitions. Run autopoint and libtoolize *before* gnulib-tool. After it, run an abbreviated autoreconf, rather than a loop around all tools. (slirp, bt_mark_as_generated): Remove functions.
* bootstrap: correct the recent buildreq changeJim Meyering2011-12-171-4/+10
| | | | | | | | The 2011-12-07 commit, 39f5f1e4, omitted some '*'s, and thus had no effect. * build-aux/bootstrap (buildreq): Bracket each search term with "*...*", so that the shell "case" statement works as intended. Add comments.
* build: let bootstrap resort to wget for downloading .po filesBernhard Voelker2011-12-171-0/+8
| | | | | | * build-aux/bootstrap (download_po_files): Fallback to wget when downloading the .po files via rsync failed. This is necessary to bootstrap behind a strict firewall.