summaryrefslogtreecommitdiff
path: root/po
Commit message (Collapse)AuthorAgeFilesLines
* configury: don't check in generated files.Gary V. Vaughan2013-09-151-40/+5
| | | | | | | | | | * COPYING: Install explicitly to avoid confusion over M4 license. * INSTALL, build-aux/compile, build-aux/config.guess, build-aux/config.sub, build-aux/depcomp, build-aux/install-sh, build-aux/mdate-sh, build-aux/missing, build-aux/texinfo.tex: Remove. Signed-off-by: Gary V. Vaughan <gary@gnu.org>
* Update copyright year.Eric Blake2010-01-051-1/+1
| | | | | | | | 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)
* Drop .cvsignore and redundant .gitignore files.Eric Blake2009-06-152-44/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | * .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)
* Borrow bootstrap ideas from gnulib.Eric Blake2008-06-032-0/+2
| | | | | | | | | | | | * 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>
* Fix xgettext options.Eric Blake2008-05-191-2/+2
| | | | | | | * po/Makevars (XGETTEXT_OPTIONS): The " must be passed to xgettext. Signed-off-by: Eric Blake <ebb9@byu.net>
* Fix spelling of René Seindal's name in --version output.Eric Blake2008-05-191-0/+2
| | | | | | | | | * ltdl/m4/gnulib-cache.m4: Import propername module. * src/main.c (AUTHORS): Rewrite in terms of proper_name. * po/Makevars (XGETTEXT_OPTIONS): Detect new functions. * HACKING: Mention new prerequisite of gperf. Signed-off-by: Eric Blake <ebb9@byu.net>
* Ignore bootstrap leftovers.Eric Blake2007-11-052-0/+2
| | | | Signed-off-by: Eric Blake <ebb9@byu.net>
* Never let printf failures go undetected.cvs-readonlyEric Blake2007-10-222-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | * ltdl/m4/gnulib-cache.m4: Augment with 'gnulib-tool --import xprintf'. * m4/system_.h: Include xprintf.h. * m4/debug.c (m4_debug_message_prefix, m4_debug_message): Wrap all use of printf, xprintf. * m4/input.c [DEBUG_INPUT]: Likewise. * m4/module.c [DEBUG_MODULES]: Likewise. * m4/output.c (m4_shipout_text, m4_shipout_int) (m4_freeze_diversions): Likewise. * m4/path.c [DEBUG_INCL]: Likewise. * m4/symtab.c [DEBUG_SYM]: Likewise. * m4/syntax.c [DEBUG_SYNTAX]: Likewise. * modules/modtest.c (export_test): Likewise. * src/freeze.c (produce_resyntax_dump, produce_syntax_dump) (produce_module_dump, dump_symbol_CB, produce_frozen_state): Likewise. * src/main.c (usage): Likewise. * po/POTFILES.in: Adjust to new file. * po/Makevars (XGETTEXT_OPTIONS): Likewise. Signed-off-by: Eric Blake <ebb9@byu.net>
* Create .gitignore alongside .cvsignore.Eric Blake2007-10-061-0/+20
| | | | | | * bootstrap (version control): Update to reflect git usage. Signed-off-by: Eric Blake <ebb9@byu.net>
* As gnulib xstrtol is only used by main, and unconditionally pullsGary V. Vaughan2007-10-061-1/+1
| | | | | | | | | | 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-1/+1
| | | | | | | | | * 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-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* * po/POTFILES.in: Track recent translation additions from gnulibEric Blake2007-10-061-0/+1
| | | | updates.
* Upgrade to GPLv3, and document 1.4.10.Eric Blake2007-10-061-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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.
* * .cvsignore: Prepare for migration to git.Eric Blake2007-10-061-0/+1
| | | | | | * ltdl/m4/.cvsignore: Ignore more files. * po/.cvsignore: Likewise. * src/.cvsignore: Likewise.
* * m4/system_.h (includes): Pick up <unistd.h> before checking forEric Blake2007-10-061-1/+5
| | | | | | _POSIX_VERSION. (gettext_noop): Don't define here, let gettext.h do it instead. * po/POTFILES.in: Update entries to reflect gnulib imports.
* * m4/m4module.h (m4_debug_message): New prototype.Eric Blake2007-10-061-3/+1
| | | | | | | | | | | | | | | | | | | | | (M4_DEBUG_TRACE_MODULE): New debug bit. * m4/m4private.h (M4_DEBUG_MESSAGE, M4_DEBUG_MESSAGE1) (M4_DEBUG_MESSAGE2): Delete these macros. * m4/debug.c (m4_debug_message): New method. (m4_debug_decode): Add module tracing as flag `m'. * m4/input.c (m4_push_file, file_clean): Use new method. * m4/path.c (m4_path_search): Likewise. * po/Makevars (XGETTEXT_OPTIONS): Likewise. * m4/module.c (install_builtin_table, install_macro_table) (m4__module_open, module_close, module_remove): Promote several module debug messages outside of DEBUG_MODULES. (m4__module_init, module_remove) [DEBUG_MODULES]: Don't mix DEBUG_MODULES with normal trace output. * src/main.c (usage): Document new flag. * doc/m4.texinfo (Debug Levels): Likewise. * Makefile.am ($(TESTSUITE)): Add missing dependency. * tests/m4.in: Neutralize platform-dependent module filenames. * tests/options.at (--debug): Update expected output.
* * configure.ac (AM_INIT_AUTOMAKE): Bump automake requirement.Eric Blake2007-10-061-0/+19
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * AUTHORS: Add copyright. * ChangeLog: Likewise. * README: Likewise. Require automake 1.9b or later. * HACKING: New file. * README-alpha: Add copyright. * THANKS: Likewise. Update. * doc/STYLE: Add copyright, and tweak for changed directories. * modules/README: Add copyright, and tweak for libtool version. * examples/COPYING: New file. * examples/WWW/COPYING: Likewise. * examples/WWW/m4lib/COPYING: Likewise. * modules/shadow.m4: Add copyright. * modules/perl.m4: Likewise. * modules/modtest.m4: Likewise. * modules/stdlib.m4: Likewise. * modules/time.m4: Likewise. * modules/time2.m4: Likewise. * po/Makevars: Likewise. * tests/iso8859.m4: Likewise. * tests/m4.in: Likewise. * NEWS: Add (C) to copyright. * TODO: Likewise. * m4/system_.h: Likewise. * tests/atlocal.in: Likewise. * tests/builtins.at: Likewise. * tests/freeze.at: Likewise. * tests/generate.awk: Likewise. * tests/macros.at: Likewise. * tests/modules.at: L
* * po/POTFILES.in: Add more files that contain translatableEric Blake2007-10-062-3/+23
| | | | | | | | | | | | strings. * po/Makevars (XGETTEXT_OPTIONS): Add options to pass more information to translators. (USE_MSGCTXT): New var for gettext 0.15. * m4/input.c (file_clean, m4_push_file, m4__next_token): Start debug/trace messages in lower case. * m4/macro.c (expand_argument): Likewise. * m4/path.c (m4_path_search): Likewise. * src/main.c (main): Likewise.
* * po/ChangeLog: Merge into main ChangeLog, then delete file.Eric Blake2007-10-061-56/+0
| | | | * THANKS: Update.
* * Makevars (MSGID_BUGS_ADDRESS): Add.Eric Blake2007-10-063-2/+24
| | | | | * POTFILES.in (src/getopt.c, src/version-etc.c): These files live in src, not gnu.
* * .cvsignore: Update.Eric Blake2007-10-061-10/+12
| | | | | | | | | | | * doc/.cvsignore: Likewise. * m4/.cvsignore: Likewise. * modules/.cvsignore: Likewise. * po/.cvsignore: Likewise. * src/.cvsignore: Likewise. * ltdl/.cvsignore: New file. * ltdl/config/.cvsignore: Likewise. * ltdl/m4/.cvsignore: Likewise.
* * bootstrap (func_update_po): Update pofiles directly from theGary V. Vaughan2007-10-0611-8621/+0
| | | | | | | | 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>
* * src/main.c: Include gnulib files from the correct directory.Gary V. Vaughan2007-10-052-7/+10
| | | | * po/POTFILES.in: Ditto.
* Tweaking to enable compilation with latest CVS libtool andGary V. Vaughan2007-10-0510-330/+330
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* * configure.ac (AC_LIBTOOL_TAGS): Don't include shell code forGary V. Vaughan2007-10-0510-20/+20
| | | | | libtool tags we don't use in configure. This reduces the size of the script from over 1Mb to under 700Kb.
* * Makefile.am (ACLOCAL_AMFLAGS): Search in the new acm4 andGary V. Vaughan2007-10-0510-400/+1230
| | | | | | | | | | | | | | | | | | | | | | gnulib/acm4 directories for aclocal m4 macros. * gnulib/Makefile.am (EXTRA_DIST): Removed. (MAINTAINERCLEANFILES): Add Makefile.in. * configure.ac (m4_GNULIB_MODULES): Use it to declare which gnulib modules we use. * acm4/m4-gnulib.m4 (m4_GNULIB_MODULES): New macro. * gnulib/import: New file. Temporary script for updating gnulib imported files, until gnulib-tool is working. * gnulib/config/codeset.m4, gnulib/config/error.m4, gnulib/config/exitfail.m4, gnulib/config/extensions.m4, gnulib/config/getopt.m4, gnulib/config/gettext.m4, gnulib/config/glibc21.m4, gnulib/config/iconv.m4, gnulib/config/intdiv0.m4, gnulib/config/inttypes-pri.m4, gnulib/config/inttypes.m4, gnulib/config/inttypes_h.m4, gnulib/config/isc-posix.m4, gnulib/config/lcmessage.m4, gnulib/config/lib-ld.m4, gnulib/config/lib-link.m4, gnulib/config/lib-prefix.m4, gnulib/config/malloc.m4, gnulib/config/nls.m4, gnulib/config/obstack.m4, gnulib/config/onceo
* forgot this file in the last commitGary V. Vaughan2007-10-051-1/+2
|
* Replace the getopt code with CVS gnulib getopt. The source filesGary V. Vaughan2007-10-0511-741/+761
| | | | | | | | | | | | | | | | detect whether they are in a glibc environment and preprocess away all of the code if there is a system getopt, so we can compile them into the m4 executable unconditionally: * gnulib/m4/getopt.c, gnulib/m4/getopt1.c, gnulib/m4/getopt.h, gnulib/config/getopt.m4: Import getopt module from CVS gnulib. * configure.ac (gl_GETOPT): Use this instead of homebrew inline macros. * src/getopt.c, src/getopt1.c, src/gnu-getopt.h: Removed old version. * src/Makefile.am: Adjust. * src/main.c: Always include our shipped getopt.h. * po/POTFILES.in: Use new location of getopt.c.
* reduce noiseGary V. Vaughan2007-10-051-0/+8
|
* * gnulib/m4/regex.c, gnulib/m4/regex_.h, gnulib/config/regex.m4:Gary V. Vaughan2007-10-0511-75/+140
| | | | | | | | | | | | | | Import regex module from CVS gnulib. * gnulib/config/restrict.m4: Ditto for dependee module restrict. * config/m4-regex.m4 (m4_REGEX): Wrap gnulib/config/regex.m4, but do extra substitutions for Makefile. * configure.ac: Use it. * gnulib/m4/Makefile.am: Maybe install regex.h after linking it from regex_.h if necessary. * m4/system_.h: Include the correct version of regex.h. * m4/regex.c, m4/regex.h, config/regex.m4: Removed legacy version. * po/POTFILES.in: Use new location of regex.c.
* Import the xalloc module from CVS gnulib, along with itsGary V. Vaughan2007-10-0510-359/+294
| | | | | | | | | | | | | | | | | | | | | | | | | dependencies: exitfail, malloc and realloc. We had different semantics for our XFREE and a function xfree() not supplied by gnulib, so also a bit of work to keep everything running smoothly: * configure.ac (AC_REPLACE_FUNCS): Removed xmalloc and xstrdup. (gl_XALLOC): Use gnulib equivalents. * gnulib/config/exitfail.m4, gnulib/m4/exitfail.h, gnulib/m4/exitfail.c: Import exitfail module from CVS gnulib. * gnulib/config/malloc.m4, gnulib/m4/malloc.c: Ditto wrt malloc. * gnulib/config/realloc.m4, gnulib/m4/realloc.c: Ditto wrt realloc. * gnulib/config/xalloc.m4, gnulib/m4/xalloc.h, gnulib/m4/xmalloc.c, gnulib/m4/xstrdup.c: Ditto wrt xalloc. * gnulib/m4/Makefile.am: Add fragment from gnulib for newly imported modules. (pkgincdir): Removed. Use pkgincludedir instead. * m4/m4private.h (XFREE): xfree already checks for NULL. * m4/system_.h: Use xalloc module, and remove macros already supplied by xalloc.h. * m4/utility.c (xfree): xalloc does not yet implement xfree, so moved the old definition from m4/xmalloc.c to here for now.
* We can't mirror the gnulib directory structure here, since we needGary V. Vaughan2007-10-0511-212/+212
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to be able to eg. `#include <m4/obstack.h>' from our source files, which is much easier if the local obstack.h is created in a directory named m4. Rather than trying to symlink everything into the m4 directory, now we build a libtool convenience library from the sources we get from gnulib and link that with libm4.la: * gnulib/config/extensions.m4: Imported from CVS gnulib. * gnulib/config/unlocked-io.m4: Ditto. * gnulib/m4/unlocked-io.h: Ditto. * gnulib/m4/obstack.m4, gnulib/m4/onceonly_2_57.m4, gnulib/m4/stdbool.m4: All moved to gnulib/config directory. * gnulib/lib/obstack.c, gnulib/lib/obstack_.h, gnulib/lib/stdbool_.h: All moved to gnulib/m4 directory. * m4/strtol.c, m4/xmalloc.c, m4/xstrdup.c, m4/xstrzdup.c: Ditto. * m4/Makefile.am: Adjust. * gnulib/Makefile.am (EXTRA_DIST): Name just the additional gnulib macros we redistribute. * gnulib/m4/Makefile.am: New file. Build libgnu.la convenience library among others. (GNULIB_SRCS, GNULIB_MACROS): Removed. * Makefile.am (ACLOCAL_AMFLAGS): Adjust. * config/m4-obstack.m4: Adjust. * po/POTFILES.in: Adjust. * configure.ac: Reformatting. Call newly imported gnulib macros. * m4/builtin.c, m4/macro.c, m4/module.c, m4/utility.c: Removed bogus calls of `#include "m4.h"'. * Makefile.am: INCLUDES has been deprecated in favour of AM_CPPFLAGS. * m4/Makefile.am: Ditto. * modules/Makefile.am: Ditto. * src/Makefile.am: Ditto.
* Migrate the obstack support into the gnulib directories for easyGary V. Vaughan2007-10-0511-572/+572
| | | | | | | | | | | | | | | | | | synchronisation with upstream files in gnulib: * config/gnu-obstack.m4: Moved from here... * config/m4-obstack.m4: ...to here. * config/Makefile.am (SPECIFIC_MACROS): Adjust. * m4/obstack.c, m4/obstack_.h: Moved from here... * gnulib/obstack.c, gnulib/obstack.h: ...to here. * po/POTFILES.in: Adjust. * gnulib/Makefile.am (GNULIB_SRCS, GNULIB_MACROS): Adjust. * m4/Makefile.am: Add a whole new section to link the obstack sources from the gnulib tree if necessary. * gnulib/m4/onceonly_2_57.m4, gnulib/m4/obstack.m4: New macros from gnulib. * config/m4-obstack.m4: Rewrite as a wrapper for gnulib/m4/obstack.m4.
* GNU M4 currently builds with a number of files adapted fromGary V. Vaughan2007-10-0510-1041/+979
| | | | | | | | | | | | | | | | | | | | | | upstream sources. Recently the gnulib project on savannah.gnu.org has pulled together a great many of these externally maintained files. This delta is the beginnings of isolating those files maintained in gnulib to make it easy to synchronise M4 with the upstream files prior to releases. * Makefile.am (ACLOCAL_AMFLAGS): Mention gnulib/m4 macro directory. (SUBDIRS): Added new gnulib subdirectory. * configure.ac (AC_CONFIG_FILES): Add new gnulib tree Makefiles. * config/stdbool.m4: Moved from here... * gnulib/m4/stdbool.m4: ...to here. * m4/stdbool_.h: Moved from here... * gnulib/lib/stdbool_.h: ...to here. * gnulib/Makefile.am: New file. Make sure the gnulib tree is distributed. * m4/Makefile.am: Adjust gnulib/modules/stdbool:Makefile.am based code to work with new stdbool_.h location. (gnulib_srcdir): New.
* Refactoring modules to rationalise the API into an externalGary V. Vaughan2007-10-0510-150/+301
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | documented (eventually!) API for use by modules in the `m4_' namespace declared in m4/m4module.h, an internal API between the source files we ship (including our shipped modules) in the `m4__' namespace declared in m4/m4private.h and making the rest as cohesive as possible with liberal use of the `static' keyword. This change represents an audit to m4/module.c along these guidelines. * m4/m4module.h (m4_module_close_all, m4_module_find_by_builtin): Removed. No longer used. (m4_module_close): Removed prototypes. (m4_module_init, m4_module_open, m4_module_unload_all): Removed from the exported module api... * m4/m4private.h (m4__module_init, m4__module_open) (m4__module_exit): ...and renamed and added to the internal api. Changed all callers. (BUILTIN_SYMBOL, MACRO_SYMBOL, INIT_SYMBOL, FINISH_SYMBOL): Centralised definitions after renaming... * m4/module.c (M4_BUILTIN_SYMBOL, M4_MACRO_SYMBOL, M4_INIT_SYMBOL) (M4_FINISH_SYMBOL): ...and removing from here. (m4_module_dlerror, m4_module_remove, m4_module_close) (m4_caller_id): Not exported at all, so renamed to module_dlerror, module_remove, module_close and caller_id. (MODULE_SELF_NAME): New macro to make reporting self errors easier. (m4_module_load, module_close, module_remove): Use it. * m4/m4private.h (USER_MODULE_PATH_ENV): Macro to hold "M4MODPATH" name. * src/main.c (main): Use it.
* These changes were necessary to get m4 to build on my iBookGary V. Vaughan2007-10-0510-70/+80
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | running "powerpc-apple-darwin6.6" using Apples build of gcc "gcc (GCC) 3.1 20020420 (prerelease)": * src/main.c: Don't include dlfcn.h, ltdl.h handles correct inclusion of module loader headers. * modules/Makefile.am: Use AM_LDFLAGS, not LDFLAGS. * m4/Makefile.am: Ditto. (libm4_la_LIBADD): Added $(LTLIBINTL). * m4/utility.c (program_name): Removed declaration in favour of the one already in error.c! * m4/m4module.h (program_name): Define to program_invocation_name when using GNU C library. Use an explicit extern declaration. (interactive, sync_output, debug_level, hash_table_size) (no_gnu_extensions, prefix_all_builtins, max_debug_argument_length) (suppress_warnings, warning_status, nesting_limit, discard_comments) (lquote, rquote, bcomm, ecomm, m4_bad_argc, m4_skip_space) (m4_numeric_arg, m4_shipout_int, m4_shipout_string, m4_dump_args) (m4_debug, m4_debug_init, m4_debug_exit, m4_debug_decode) (m4_debug_flush_files, m4_debug_set_output, m4_debug_message_prefix) (m4_trace_prepre, m4_trace_pre, m4_trace_post, m4_sysval) (m4_expansion_level, m4_expand_ranges, m4_expand_input) (m4_call_macro, m4_process_macro, m4_syntax_table, m4_current_file) (m4_current_line, m4_current_diversion, m4_output_current_line): Don't rely on default, use an explicit extern. * m4/error.h (error, error_at_line, error_print_progname) (error_message_count, error_one_per_line): Ditto. * m4/ltdl.c: Update from CVS libtool. * m4/ltdl.h: Ditto. * commit: Update from CVS cvs-utils.
* * configure.ac: Automake 1.7.1, Autoconf 2.54, Gettext 0.11.5,Akim Demaille2007-10-053-0/+46
| | | | | | | | | | | | | 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.
* Regen.Akim Demaille2007-10-0510-79/+10
|
* Fix the headers.Akim Demaille2007-10-051-11/+11
|
* Regen.Akim Demaille2007-10-0510-112/+95
|
* * bootstrap (aclocal_apilibdir): New, to cope with Automake's newAkim Demaille2007-10-051-0/+4
| | | | | | | | | | | 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.
* Regen.Akim Demaille2007-10-0510-10/+10
|
* Regen.Akim Demaille2007-10-0510-256/+336
|
* * m4/input.c, modules/m4.c: Formatting changes.Akim Demaille2007-10-0510-1114/+1198
|
* * m4/utility.c (m4_bad_argc): Display user argument counts, i.e.,Akim Demaille2007-10-0510-440/+450
| | | | | | | | exclude the builtin name from the count. * modules/m4.c (ifelse): Do not use the regular argc mechanism, as calling ifelse with a single argument is valid. * doc/m4.texinfo (Ifelse): Add an example where ifelse is invoked with 1 and 2 args, mostly to strengthen the test suite.
* * tests/Makefile.am: Adjust for gnuprog2.Akim Demaille2007-10-0510-141/+121
| | | | | | | | | * tests/m4.in: There can be a leading path. * tests/modules.at (AT_CHECK_M4_MODTEST): No need for $4 and $5. * tests/testsuite.at: Adjust to the most recent Autotest. (AT_CHECK_M4_FILTER): Fix and rename as... (AT_TEST_M4): this. * tests/others.at: Use it.
* * config/gmp.m4: Consult the user before using GMP: useAkim Demaille2007-10-0510-160/+211
| | | | | | | --without-gmp. * configure.ac: Adjust. * modules/gmp.c: No protection needed as the module is not built if GMP is not used.
* * configure.in: Moved to...Gary V. Vaughan2007-10-0510-10/+10
| | | | | | | | | | | | | * configure.ac: ...here. Added a libtool like timestamped banner, and tidied up the libltdl cruft. * config/mkstamp: Script to extract a timestamp from ChangeLog. * modules/Makefile.am (INCLTDL): Removed. This is required only when libltdl is configured in a subdirectory. * src/Makefile.am: Ditto. (LIBADD_DL): No need to add this again, libtool already knows that libm4.la depends on it. * m4/Makefile.am: Automake sets variables from AC_SUBST. Use them.
* Adjust.Akim Demaille2007-10-0511-403/+635
|