summaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* m4.morph: use build-system: autotoolsbaserock/bootstrapRichard Maw2012-03-141-9/+1
|
* remove .gitignores and add the rest of the filesRichard Maw2012-01-11852-0/+356086
|
* Add the output of bootstrapRichard Maw2012-01-117430-3/+749705
|
* Don't bootstrap in morph, contents of bootstrap will be addedRichard Maw2012-01-111-1/+0
|
* Run autoreconf -i when configuringLars Wirzenius2011-11-171-1/+10
| | | | Since git does not include autoconf output.
* Add morphologyLars Wirzenius2011-11-171-0/+5
|
* Support bootstrap --gnulib-srcdir=DIR.Eric Blake2010-03-012-1/+16
| | | | | | | | | | | | | | I saw `bootstrap' doesn't accept --gnulib-srcdir as it is already done by other projects using gnulib. It doesn't add a new feature as it can be already done specifying GNULIB_SRCDIR, it just make the script more similar to scripts used by other projects doing a bootstrap from gnulib. * bootstrap: Add --gnulib-srcdir option, which overrides GNULIB_SRCDIR, for consistency with gnulib bootstrap. Signed-off-by: Eric Blake <eblake@redhat.com> (cherry picked from commit d7879f327c28e6a206aa93d009e27224cf6b4b16)
* Mention release of version 1.4.14.Eric Blake2010-03-017-30/+56
| | | | | | | | | | | | * gnulib: Update to latest. * README: Drop CVS mention. * HACKING: Tweak release instructions. * NEWS: Mention the release. * .prev-version: Record previous version. * cfg.mk (old_NEWS_hash): Auto-update. Signed-off-by: Eric Blake <eblake@redhat.com> (cherry picked from commit a90f35d7c17b51e8afea9f6d7e2daddeff135c9d)
* Improve parsing example.Eric Blake2010-02-243-6/+18
| | | | | | | | | | * doc/m4.texinfo (Input processing): Double-quote argument to translit, for robustness. * THANKS: Update. Reported by Chris Penev. Signed-off-by: Eric Blake <eblake@redhat.com> (cherry picked from commit b4f66285d8252196e1b4c6acf55eda3c1118e580)
* Document upcoming release.Eric Blake2010-02-243-3/+9
| | | | | | | | | | * gnulib: Update to latest. * doc/m4.texinfo (History): Mention 1.4.14. * Makefile.am (src/getopt.h): Drop dependence on now-obsolete link-warning.h. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit d0489f2a57e649b22f719ed8670ca3733c4febd4)
* Address remaining 'make syntax-check' findings.Eric Blake2010-01-0814-26/+58
| | | | | | | | | | | | | | | | | | | | | | | | * gnulib: Update to latest. * Makefile.am (tests/package.m4): Avoid @@ substitution. (src_m4_LDADD): Link with libiconv. * m4/m4private.h (STREQ): New macro. * m4/resyntax.c (m4_regexp_syntax_encode): Use it. * src/main.c (process_file): Likewise. (includes): Drop unused header. * m4/macro.c (m4_arg_equal): Adjust comment. * m4/syntax.c: Likewise. * m4/system_.h: Avoid useless preprocessor parenthesis. * ltdl/m4/stackovf.m4 (M4_SYS_STACKOVF): Likewise. * src/stackovf.c: Likewise. (setup_stackovf_trap): Mark diagnostics. * modules/mpeval.c (includes): Move quotearg.h inclusion... * modules/evalparse.c (includes): ...to where it is used. * cfg.mk (local-checks-to-skip): Exempt tests that cause spurious failures, but first fix what they were intended to detect. (_makefile_at_at_check_exceptions): Allow an exception. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 2f6096389e2047a01618419af3f4471735444520)
* Use correct license on auxiliary documentation.Eric Blake2010-01-0711-11/+49
| | | | | | | | | | | | | | | | | | Finish the work started by commit bef627e995. * gnulib: Update to latest. * AUTHORS: Use GFDL 1.3, not 1.2. * README-alpha: Likewise. * README: Likewise. * THANKS: Likewise. * doc/STYLE: Likewise. * modules/README: Likewise. * NEWS: Place under GFDL. * TODO: Likewise. * cfg.mk (old_NEWS_hash): Update. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 6ba66f1202d607726e72e17e1fc778cdafee1941)
* Address 'make sc_error_message_uppercase' failures.Eric Blake2010-01-0712-155/+177
| | | | | | | | | | | | | | | | | | | | | | | | | * m4/output.c (m4_freeze_diversions): Silence false positive. * src/main.c (main): Use 'warning', not 'Warning', in messages. * m4/utility.c (m4_verror_at_line): Likewise. * doc/m4.texinfo (Operation modes, Macro Arguments, Undefine) (Defn, Pushdef, Indir, Builtin, Ifdef, Ifelse, Dumpdef, Trace) (Debuglen, Debugfile, Dnl, Changeresyntax, Standard Modules) (Index macro, Regexp, Substr, Translit, Patsubst, Format, Incr) (Eval, Mkstemp, Syncoutput, Improved forloop) (Improved fatal_error): Adjust expected output. * tests/builtins.at (define, mkdtemp, mkstemp): Likewise. * tests/freeze.at (loading format 1, reloading unknown builtin): Likewise. * tests/macros.at (Arity and defn, 'Arity, defn, and freeze') (pushdef/popdef): Likewise. * tests/null.err: Likewise. * tests/options.at (deprecated options, POSIXLY_CORRECT) (--fatal-warnings, --regexp-syntax, --syncoutput): Likewise. * tests/others.at (nul character, stdin seekable): Likewise. * tests/modules.at (AT_CHECK_M4_MODTEST, modules: text): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Address 'make sc_cast_of_argument_to_free' failures.Eric Blake2010-01-077-9/+21
| | | | | | | | | | | | * m4/m4private.h (DELETE): Adjust comment and fix parentheses. * m4/m4.c (m4_delete): Use it to avoid warning. * m4/module.c (install_builtin_table, module_remove): Likewise. * m4/symtab.c (m4_symbol_value_delete, m4_symbol_value_copy): Likewise. * .x-sc_cast_of_argument_to_free: New file. * Makefile.am (syntax_check_exceptions): Distribute exceptions. Signed-off-by: Eric Blake <ebb9@byu.net>
* More whitespace cleanup.Eric Blake2010-01-0750-1495/+1543
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * HACKING: Nuke trailing whitespace. * examples/WWW/Makefile: Likewise. * examples/WWW/_footer.htm: Likewise. * examples/WWW/_header.htm: Likewise. * examples/WWW/m4lib/bugs.m4: Likewise. * examples/WWW/m4lib/html.m4: Likewise. * examples/WWW/m4lib/menu.m4: Likewise. * examples/WWW/m4lib/visions.m4: Likewise. * examples/esyscmd.m4: Likewise. * examples/fstab.m4: Avoid space-tab. * examples/patsubst.m4: Likewise. * NEWS: Prefer space over tab for alignment. * THANKS: Likewise. * TODO: Likewise. * bootstrap: Likewise. * configure.ac: Likewise. * ltdl/m4/stackovf.m4: 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. * modules/evalparse.c: Likewise. * modules/format.c: Likewise. * modules/gnu.c: Likewise. * modules/import.c: Likewise. * modules/load.c: Likewise. * modules/m4.c: Likewise. * modules/m4.h: Likewise. * modules/modtest.c: Likewise. * modules/mpeval.c: Likewise. * modules/perl.c: Likewise. * modules/shadow.c: Likewise. * modules/stdlib.c: Likewise. * modules/time.c: Likewise. * modules/traditional.c: Likewise. * src/freeze.c: Likewise. * src/main.c: Likewise. * src/stackovf.c: Likewise. * tests/stackovf.test: Likewise. * doc/STYLE: Mention the change. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit b30b61aa1be7659c155272135fa17a8d7528f80e)
* Document new indentation policy.Eric Blake2010-01-055-4/+48
| | | | | | | | | | * HACKING: Document indentation policy. * .x-sc_prohibit_tab_based_indentation: New file. * cfg.mk (sc_prohibit_tab_based_indentation): New rule. * Makefile.am (syntax_check_exceptions): Ship exception. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit a8cef71593e876b027733fdb0137ed1655cae584)
* Switch to indentation by space, not tab.Eric Blake2010-01-0549-4557/+4607
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Now that gnulib has converted and git has better support for ignoring whitespace differences across this commit, we might as well be consistent with other GNU projects. Done with: t=$'\t' git ls-files \ | grep -vE '(^|/)(.*akefile|ChangeLog|HACKING|.*-aux/.*)|\.(am|mk)$' \ | xargs grep -lE "^ *$t" \ | xargs perl -MText::Tabs -ni -le \ '$m=/^( *\t[ \t]*)(.*)/; print $m ? expand($1) . $2 : $_' followed by tweaks to pass 'make check' again. * .gitmodules: Convert leading tabs to spaces. * TODO: Likewise. * bootstrap: Likewise. * configure.ac: Likewise. * examples/WWW/m4lib/html.m4: Likewise. * examples/WWW/m4lib/layout.m4: Likewise. * examples/WWW/m4lib/menu.m4: Likewise. * ltdl/m4/debug.m4: Likewise. * ltdl/m4/gmp.m4: Likewise. * ltdl/m4/m4-obstack.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/utility.c: Likewise. * modules/evalparse.c: Likewise. * modules/format.c: Likewise. * modules/gnu.c: Likewise. * modules/load.c: Likewise. * modules/m4.c: Likewise. * modules/m4.h: Likewise. * modules/mpeval.c: Likewise. * modules/perl.c: Likewise. * modules/stdlib.c: Likewise. * modules/time.c: Likewise. * src/freeze.c: Likewise. * src/m4.h: Likewise. * src/main.c: Likewise. * src/stackovf.c: Likewise. * tests/builtins.at: Likewise. * tests/freeze.at: Likewise. * tests/generate.awk: Likewise. * tests/modules.at: Likewise. * tests/others.at: Likewise. * tests/stackovf.test: Likewise. * tests/testsuite.at: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 180b7d19bf95d2abb21bca587a0684eca69679ad)
* Update copyright year.Eric Blake2010-01-0578-85/+110
| | | | | | | | All files impacted, via 'make update-copyright'. Additionally: * .gitignore: Ignore backup files. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 5f42c4dabb6858601abce7b38ca78f4c3069f301)
* Prepare to bulk update copyright year.Eric Blake2010-01-0520-16/+49
| | | | | | | | | | | | | | | | | | | | | | | | | | * gnulib: Update. * ltdl/m4/gnulib-cache.m4: Import update-copyright module. * cfg.mk (update-copyright-env): Enforce longhand behavior. * .x-update-copyright: New file. * Makefile.am (syntax_check_exceptions): Distribute exception. * ltdl/m4/debug.m4: Add FSF copyright. * ltdl/m4/m4-error.m4: Fix FSF name in copyright. * 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/m4-rename.m4: Likewise. * ltdl/m4/m4-syscmd.m4: Likewise. * modules/modtest.m4: Likewise. * modules/perl.m4: Likewise. * modules/shadow.m4: Likewise. * modules/stdlib.m4: Likewise. * modules/time.m4: Likewise. * modules/time2.m4: Likewise. * tests/iso8859.m4: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 548145f74620c9deb456c9eec3f20e18968d4da7)
* Use gnulib maintainer-makefile module.Eric Blake2010-01-059-80/+36
| | | | | | | | | | | | | | | | | | | * ltdl/m4/gnulib-cache.m4: Import maintainer-makefile module. * cfg.mk (local-checks-to-skip): Drop changelog-check; add sc_cast_of_x_alloc_return_value. (gnu_ftp_host-alpha, gnu_ftp_host-beta, gnu_ftp_host-major) (gnu_rel_host): Delete; provided by maint.mk. (old_NEWS_hash): New macro. * .prev-version: New file. * .x-sc_require_config_h: Likewise. * .x-sc_require_config_h_first: Likewise. * Makefile.am (syntax_check_exceptions, EXTRA_DIST): Ship new files. * maint.mk: Remove from version control; use gnulib instead. * .gitignore: Update. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 260383467b3ae57f2cb3c6821718b99fdf278c4b)
* Update to latest gnulib.Eric Blake2010-01-055-6/+20
| | | | | | | | | | | | * gnulib: Update. * ltdl/m4/gnulib-cache.m4: Import xoset. * m4/output.c (includes): Ensure that gnulib oset usage will call xalloc_die on memory failure. * Makefile.am (src/getopt.h): Update snippet from gnulib. (LINK_WARNING_H, ARG_NONNULL_H): New macros. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 43b9828d5bfe5c9be902ad86053e59f3a5ab2dd4)
* Fix testsuite failure on newer glibc.Eric Blake2010-01-054-7/+26
| | | | | | | | | | * tests/testsuite.at (AT_CHECK_M4): Tolerate alternate getopt spellings. * tests/options.at (deprecated options, unknown option) (--debugmode): Adjust expected output accordingly. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake <ebb9@byu.net>
* Update to newer gnulib.Eric Blake2009-11-269-76/+57
| | | | | | | | | | | | | | | | | * gnulib: Update. * ltdl/m4/gnulib-cache.m4: Import inttypes, setenv, and unsetenv modules. * modules/m4.c (m4_make_temp): Adjust gen_tempname client. * bootstrap (src_modules): Pick up getopt-gnu and its dependencies. * configure.ac (gl_VERSION_ETC): Support ./configure --with-packager. (AC_CHECK_FUNCS_ONCE): Rely on gnulib for setenv, unsetenv. * ltdl/m4/m4-getopt.m4: Rewrite to match current gnulib. * Makefile.am (src/getopt.h): Likewise. * modules/stdlib.c (setenv, unsetenv): Rely on gnulib. Signed-off-by: Eric Blake <ebb9@byu.net>
* Pick up gnulib fixes for sub-process execution.Eric Blake2009-08-244-1/+27
| | | | | | | | | | * gnulib: Update. * tests/others.at (stdin and stdout closed): New test, to avoid regression introduced on 1.4 branch on 2008-07-17. * NEWS: Document the change. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit d3237b2af19c80fc80218fd33eb64266be510be8)
* A status of 127 does not always imply esyscmd failure.Eric Blake2009-08-244-4/+21
| | | | | | | | | | * modules/gnu.c (esyscmd): Silence gnulib message; regression introduced 2009-03-13. * doc/m4.texinfo (Sysval): Test this. * NEWS: Document the change. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 5fa9c079fbe226113280ac86401b432d9c0e7981)
* Use bitrotate for hashing.Eric Blake2009-06-264-3/+11
| | | | | | | | | * gnulib: Update to latest. * ltdl/m4/gnulib-cache.m4: Import bitrotate module. * m4/hash.c (m4_hash_string_hash): Use it. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 891a0fd44d0666fc0576071ec9866cb2b87490eb)
* Fix description of limits on diversions.Eric Blake2009-06-263-5/+15
| | | | | | | | | | * doc/m4.texinfo (Diversions): Fix grammar. Be less pessimistic about limitations. * THANKS: Update. Reported by Elias Benali. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit cd172d932ce467b2c592eb9a603962b280aa0570)
* Stress test for hash resizing.Eric Blake2009-06-172-0/+14
| | | | | | | * tests/builtins.at (define): Enhance test. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit ab371610080e917974422a15862bac38b4af0e86)
* Document why bootstrap might touch state of tree.Eric Blake2009-06-165-3/+23
| | | | | | | | | * bootstrap: Fix typos. Add comment. * HACKING: Add notes about this scenario. * gnulib: Update to latest version. * .gitignore: Track gnulib changes. Signed-off-by: Eric Blake <ebb9@byu.net>
* Drop .cvsignore and redundant .gitignore files.Eric Blake2009-06-1522-408/+166
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * .cvsignore: Delete. We are moving further away from CVS. * build-aux/.cvsignore: Likewise. * doc/.cvsignore: Likewise. * examples/.cvsignore: Likewise. * ltdl/.cvsignore: Likewise. * m4/.cvsignore: Likewise. * modules/.cvsignore: Likewise. * po/.cvsignore: Likewise. * src/.cvsignore: Likewise. * tests/.cvsignore: Likewise. * .gitignore: Consolidate from other files. * build-aux/.gitignore: Delete, now that it is consolidated. * doc/.gitignore: Likewise. * examples/.gitignore: Likewise. * ltdl/.gitignore: Likewise. * m4/.gitignore: Likewise. * modules/.gitignore: Likewise. * po/.gitignore: Likewise. * src/.gitignore: Likewise. * tests/.gitignore: Likewise. * bootstrap: Simplify accordingly. Sync gnulib tree prior to libtoolize, to avoid libtool overwriting config.guess. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 76b384f1d84225d0412d58999d2becc8936dd645)
* Avoid compiler warning.Eric Blake2009-06-152-1/+7
| | | | | | * m4/macro.c (process_macro): Use correct type for isdigit. Signed-off-by: Eric Blake <ebb9@byu.net>
* Avoid snprintf link failures.Eric Blake2009-06-132-1/+8
| | | | | | | * ltdl/m4/gnulib-cache.m4: Import snprintf-posix module. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake <ebb9@byu.net>
* Avoid pointer arithmetic on `void *'.Ralf Wildenhues2009-06-132-2/+9
| | | | | | | | * modules/m4.c (dump_symbol_CB): Cast obstack_base return value to `char *' before using it. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de> Signed-off-by: Eric Blake <ebb9@byu.net>
* Silence verbose testsuite runs.Eric Blake2009-05-117-12/+26
| | | | | | | | | | | | | * tests/testsuite.at (m4_version_prereq): Bump to recent autoconf.git version where stdout-nolog was added. * tests/builtins.at (esyscmd, syscmd): Use new stdout-nolog. * tests/freeze.at (AT_TEST_FREEZE): Likewise. * tests/others.at (stderr closed): Likewise. * HACKING: Mention new requirement. * bootstrap: Likewise. Reported by Ralf Wildenhues. Signed-off-by: Eric Blake <ebb9@byu.net>
* Be more explicit about default quoting characters.Eric Blake2009-04-223-1/+11
| | | | | | | | | * doc/m4.texinfo (Quoted strings): Call out characters by name. * THANKS: Update. Suggested by Mehul Sanghvi. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 1f6f9cd34d9b8b1bf369e4cb749145256d0f33d7)
* Use gnulib rename module.Eric Blake2009-04-172-1/+7
| | | | | | | | | * ltdl/m4/gnulib-cache.m4: Import rename module. At the moment, we don't tickle either of the platform bugs that it fixes, but it is better to be safe than sorry. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 7b5217b84113432ad9d589707e2360297787671d)
* Require newer automake features.Eric Blake2009-04-174-8/+14
| | | | | | | | | | * configure.ac (AM_INIT_AUTOMAKE): Add dist-xz, color-tests, parallel-tests, and silent-rules. * HACKING: Update minimum requirements. * gnulib: Update to latest version. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 93b09e692ac2f258717ed800276be4cf1848053c)
* Mention release of 1.4.13.Eric Blake2009-04-163-6/+15
| | | | | | | | | * NEWS: Update to match release on branch-1.4. * doc/m4.texinfo (History): Update release history. (copying): Finish conversion to GFDL 1.3, started 2008-11-04. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 19141fb1c466da0b97f5606a3c7ab53123262131)
* Exploit git submodule by adding appropriate symlinks.Eric Blake2009-03-2316-701/+46
| | | | | | | | | | | | | | | | | | | | | * bootstrap: No longer copy files from gnulib. * COPYING: Change to symlink pointing into gnulib. * INSTALL: Likewise. * build-aux/compile: Likewise. * build-aux/config.guess: Likewise. * build-aux/config.sub: Likewise. * build-aux/depcomp: Likewise. * build-aux/install-sh: Likewise. * build-aux/mdate-sh: Likewise. * build-aux/missing: Likewise. * build-aux/texinfo.tex: Likewise. * .cvsignore: Reflect these changes. * .gitignore: Likewise. * build-aux/.cvsignore: New file. * build-aux/.gitignore: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit ae0a52f330cb47dede83368613390facbac0e917)
* Make gnulib a git submodule.Eric Blake2009-03-236-54/+98
| | | | | | | | | | | * .gitmodules: New file. * gnulib: Record which version of gnulib has been tested. * bootstrap: Aid in submodule usage. * cfg.mk (gnulib_dir): Alter default location of gnulib. * HACKING: Mention how to use submodule. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 6942f58cb5bb624a28672658a4369b85bce77783)
* Use memcmp2 to simplify lexicographic comparisons.Eric Blake2009-03-213-5/+10
| | | | | | | | * m4/gnulib-cache.m4: Import memcmp2. * src/builtin.c (dumpdef_cmp): Use it. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit d7f708504fc66d0bcd35b60c1a5143c39197c8eb)
* Fix m4.1 build race, exposed by parallelism through GNUmakefile.Ralf Wildenhues2009-03-194-33/+54
| | | | | | | | | * Makefile.am (SUBDIRS): Add doc. (Documentation rules): Move ... * doc/Makefile.am: ... to this new file. * configure.ac (AC_CONFIG_FILES): Generate doc/Makefile. Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
* Try to tolerate spaces in directory names in testsuite.Eric Blake2009-03-132-0/+4
| | | | | | | * tests/null.m4: Provide shell quoting, in case __program__ contains spaces. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix awk script portability.Eric Blake2009-03-132-7/+12
| | | | | | | | * checks/get-them: In gsub, properly escape {. Reported by Gary V. Vaughan. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit c05bae4ccb7b39543b019d612a4bdb6b7c6f0b08)
* Make bootstrap easier on Solaris.Eric Blake2009-03-132-10/+22
| | | | | | | | | * bootstrap: Add GNULIB_SRCDIR. Useful when a wrapper script gnulib-tool exists earlier on the path to work around /bin/sh failure in parsing $GNULIB_SRCDIR/gnulib-tool. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 90a0154d6ef1effe64c199eb61a06430199aaa91)
* Allow configuration choice in syscmd shell.Eric Blake2009-03-138-19/+122
| | | | | | | | | | | | | | | | | * ltdl/m4/m4-syscmd.m4: New file. * configure.ac (M4_SYSCMD): Use it to provide --with-syscmd-shell. (AC_CHECK_HEADERS_ONCE): No longer need to worry about <sys/wait.h>. * modules/m4.c (syscmd): Use it to avoid hard-coding the shell location. * modules/gnu.c (esyscmd): Likewise. * doc/m4.texinfo (Syscmd, Esyscmd): Document this. * README: Document new configure option. * NEWS: Likewise. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 060b5319b3452a2464eea1defc5fae608a12b574)
* Use gnulib pipe module instead of popen(3).Eric Blake2009-03-133-60/+73
| | | | | | | | | | | * ltdl/m4/gnulib-cache.m4: Import pipe and wait-process modules. * modules/gnu.c (M4_SYSVAL_EXITBITS, M4_SYSVAL_TERMSIGBITS): Delete. (esyscmd): Rewrite with pipe module. Resolves a failure on AIX, reported by Gary V. Vaughan. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 9915ef54d55fae837209bc87d35c777715653bed)
* Use gnulib execute module instead of system(3).Eric Blake2009-03-136-45/+93
| | | | | | | | | | | | | | | * ltdl/m4/gnulib-cache.m4: Import execute module. * m4/utility.c (m4_info_name): New function. * m4/m4module.h (m4_info_name): New prototype. * modules/m4.c (syscmd): Rewrite with execute module. (M4_SYSVAL_EXITBITS, M4_SYSVAL_TERMSIGBITS, m4_sysval): Move computation... * modules/gnu.c (M4_SYSVAL_EXITBITS, M4_SYSVAL_TERMSIGBITS) (esyscmd): ...here. Resolves a failure on AIX, reported by Gary V. Vaughan. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 5d2f4a97b5e56a9bd0ce543c3f74ce3084808fe6)
* Improve web-manual maintainer rule.Eric Blake2009-03-053-2/+11
| | | | | | | | * maint.mk (web-manual): Factor package-specific detail... * cfg.mk (manual_title): ...to new variable. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 39a8eb3846b65914fecf7b4f981e1dd029de1f5c)
* Speed up translit when from argument is short.Eric Blake2009-02-234-11/+69
| | | | | | | | | * modules/m4.c (translit): Use memchr2 when possible. * tests/builtins.at (translit): Add tests. * NEWS: Document this. Signed-off-by: Eric Blake <ebb9@byu.net> (cherry picked from commit 29b625aa941718e43cc04dfc217f314518bbc6d1)