summaryrefslogtreecommitdiff
path: root/configure.ac
Commit message (Collapse)AuthorAgeFilesLines
* Normalize all GPL license notices.Eric Blake2007-09-211-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | * GNUmakefile: Update license wording. * Makefile.am: Likewise. * Makefile.maint: Likewise. * bootstrap: Likewise. * commit: Likewise. * configure.ac: Likewise. * checks/Makefile.in: Likewise. * doc/Makefile.am: Likewise. * examples/Makefile.am: Likewise. * src/Makefile.am: Likewise. * src/builtin.c: Likewise. * src/debug.c: Likewise. * src/eval.c: Likewise. * src/format.c: Likewise. * src/freeze.c: Likewise. * src/input.c: Likewise. * src/m4.c: Likewise. * src/m4.h: Likewise. * src/macro.c: Likewise. * src/output.c: Likewise. * src/path.c: Likewise. * src/stackovf.c: Likewise. * src/symtab.c: Likewise.
* Start 1.4.10a.Eric Blake2007-09-211-1/+1
| | | | | | | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Start changes since 1.4.10. * doc/m4.texinfo (History): Mention 1.4.11. (Copying This Package, Copying This Manual): Add index entries. * local/lib/version-etc.c.diff: Delete, now that gnulib has been updated. * Makefile.am (EXTRA_DIST): Remove dead file.
* Release 1.4.10:v1.4.10release-1.4.10Eric Blake2007-09-211-1/+1
| | | | | | | * doc/Makefile.am (m4_TEXINFOS): Distribute gpl-3.0.texi. * Makefile.am (EXTRA_DIST): Distribute gnulib diffs. * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.9.
* Upgrade to GPL version 3 or later.Eric Blake2007-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bootstrap: Pick up GPLv3. * m4/gnulib-cache.m4: Augment with 'gnulib-tool --local-dir=. --import gpl-3.0'. * doc/m4.texinfo (Copying This Package): New appendix. * NEWS: Mention this change. * README: Mention why some files still claim to be version 2. * version-etc.c.diff: New file, to make sure --version claims correct GPL version. Temporary until gnulib makes move. * gpl-3.0.texi.diff: New file, to allow inclusion of GPLv3 as appendix, rather than section, of the manual. * GNUmakefile: Update to new license. * Makefile.am: Likewise. * Makefile.maint: Likewise. * commit: Likewise. * configure.ac: Likewise. * checks/Makefile.in: Likewise. * doc/Makefile.am: Likewise. * examples/Makefile.am: Likewise. * src/Makefile.am: Likewise. * src/builtin.c: Likewise. * src/debug.c: Likewise. * src/eval.c: Likewise. * src/freeze.c: Likewise. * src/input.c: Likewise. * src/m4.c: Likewise. * src/m4.h: Likewise. * src/macro.c: Likewise. * src/output.c:
* Start 1.4.9c.Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Start changes since 1.4.9b, and fix typo.
* Beta Release 1.4.9b:release-1.4.9bEric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.9.
* Also run gnulib unit tests during make check.Eric Blake2007-09-211-0/+1
| | | | | | | * m4/gnulib-cache.m4: Augment with 'gnulib-tool --tests-base=tests --with-tests'. * configure.ac (AC_CONFIG_FILES): Build gnulib testdir. * Makefile.am (SUBDIRS): Run gnulib tests before ours.
* Start 1.4.9a.Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Start changes since 1.4.9.
* Release 1.4.9:release-1.4.9Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.8b.
* Avoid Tandem/NSK's broken long long (without a symmetric unsignedEric Blake2007-09-211-0/+12
| | | | | | | | long long, it confuses gnulib). * configure.ac (AC_TYPE_LONG_LONG_INT): Declare long long broken if unsigned long long doesn't work. * THANKS: Update. Reported by Matthew Woehlke.
* * src/m4.h (DEFAULT_MACRO_SEQUENCE): Factor out from...Eric Blake2007-09-211-1/+1
| | | | | | | | | | | | * src/m4.c (usage): ...here,... * src/builtin.c (set_macro_sequence): ...and here. (define_user_macro): Fix typo. * doc/m4.texinfo (Preprocessor features, Arguments): Fix minor inaccuracies. (Shift): Document composite macro argn for portably getting at positional parameters beyond 9. * configure.ac (AC_INIT): Bump version number. * NEWS: Start changes of 1.4.8c.
* Beta Release 1.4.8b:release-1.4.8bEric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.8.
* * configure.ac (AC_CHECK_MEMBERS): Check for stack_t.ss_sp, andEric Blake2007-09-211-0/+6
| | | | | | | | | assume the fallback of ss_base for BSDI 4.0.1. * src/stackovf.c (setup_stackovf_trap) [HAVE_SIGALTSTACK && ! HAVE_STACK_T_SS_SP]: Use this check. Reported by Chris McGuire. * THANKS: Update. * NEWS: Document the improvement.
* Fix regression from 1.4.7 in large file handling on someEric Blake2007-09-211-1/+2
| | | | | | | platforms, introduced on 2006-10-13. * configure.ac (AC_LARGE_SYSFILE): Guarantee that large files will be handled. * NEWS: Document this fix.
* * configure.ac (AC_INIT): Bump version number.Eric Blake2007-09-211-1/+1
| | | | * NEWS: Start changes of 1.4.8a.
* Release 1.4.8:release-1.4.8Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.7.
* * m4/gnulib-cache.m4: Update with 'gnulib-tool --importEric Blake2007-09-211-1/+1
| | | | | | | | config-h'. * configure.ac (AC_CONFIG_HEADERS): Create config.h alongside gnulib headers, rather than in top directory. * src/Makefile.am (AUTOMAKE_OPTIONS): Add nostdinc, to reduce make output clutter.
* * configure.ac (m4_pattern_forbid): Narrow the range of forbiddenEric Blake2007-09-211-2/+1
| | | | macros, to work with recent gnulib-tool update.
* * src/m4.c (main): Defer debugfile until after --help.Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Start changes of 1.4.7a.
* Release 1.4.7:release-1.4.7Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.6.
* * src/input.c (peek_input): Fix regression in handling macroEric Blake2007-09-211-1/+1
| | | | | | | | | | | without arguments as last token in file; debian bug 385720. (next_token): Always consume an input character. Reported by Andreas Schultz. * configure.ac (AC_INIT): Bump version number. * NEWS: Document this fix. * doc/m4.texinfo (History): Mention next version. (Changeword): Add example that exposes this bug. * THANKS: Update.
* Release 1.4.6:release-1.4.6Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.5.
* Fix bugs related to stream handling.Eric Blake2007-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | * m4/gnulib-cache.m4: Augment with gnulib-tool --import unlocked-io stdio-safer stdlib-safer close-stream. * configure.ac (AC_CHECK_FUNCS_ONCE): Assume tmpfile; it can be provided by gnulib if needed. * src/output.c [! HAVE_TMPFILE]: Likewise. * src/m4.h (includes): Replace unistd, stdio, and stdlib with their safer counterparts. (retcode): New global variable. * src/input.c (pop_input): Check for read failure. * src/freeze.c (reload_frozen_state): Likewise. (produce_frozen_state): Check for write failure. * src/debug.c (debug_set_file): Likewise. * src/m4.c (usage, main): Likewise. (retcode): Make global. * src/builtin.c (m4_m4exit): Likewise. Ensure that the exit status is non-zero except when everything succeeds. * doc/m4.texinfo (M4exit): Document these changes. (Incompatibilities): Remove documentation of bug now fixed. * NEWS: Document these fixes.
* * configure.ac (AC_INIT): Bump version number.Eric Blake2007-09-211-1/+1
| | | | | * src/builtin.c (substitute): Bah. Fix buffer overrun. * NEWS: Document this fix.
* Release 1.4.5:release-1.4.5Eric Blake2007-09-211-1/+1
| | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.4.
* * configure.ac (FUNC_SYSTEM_BROKEN): New check for OS/2 bug.Eric Blake2007-09-211-0/+32
| | | | * src/builtin.c (m4_syscmd): Work around OS/2 bug.
* For compatibility with other m4 implementations, sysval returnsEric Blake2007-09-211-1/+1
| | | | | | | | | | | | | | | | | signal<<8 rather than 0 if syscmd is terminated by a signal. * configure.ac (AC_CHECK_HEADERS_ONCE): Check for sys/wait.h. * src/builtin.c (include): Include sys/wait.h when stdlib.h does not provide wait macros. (WTERMSIG, WIFSIGNALED, WIFEXITED): More fallback macros. (M4SYSVAL_EXITBITS, M4SYSVAL_TERMSIGBITS): New helper macros. (m4_esyscmd): Set sysval to -1 on failure. (m4_sysval): Print 127 on failure, and accomodate signals if they are detectable. * NEWS: Document this change. * doc/m4.texinfo (Platform macros, Esyscmd, Sysval): Fix typos in last commit. * checks/check-them: Likewise. * src/debug.c (debug_set_file): Work around mingw fstat bug.
* * src/m4.h (UNIX, W32_NATIVE): Improve platform detection macros.Eric Blake2007-09-211-12/+0
| | | | | | | | | | | | | | | | | | | | | | | * src/freeze.c (produce_frozen_state): Use new spelling of platform macro. * src/builtin.c (predefined_tab): Add __windows__ on non-unix platforms. (m4_syscmd, m4_esyscmd): The empty command is successful. * doc/m4.texinfo (Shell commands): Rename from UNIX commands. Document platform-dependence of system(). (Syscmd): Add example. (Esyscmd): Make example more robust, and actually demonstrate rescanning. (Sysval): Expand test to cover esyscmd code path, and to check that empty command is successful. Add conditional check for signal behavior. (Other Incompatibilities): Move platform macros from here... (Platform macros): ...to this new node. Add windows macro. Check that exactly one platform macro is provided. * checks/check-them: Improve trap cleanup. Tolerate dirname and .exe in error messages. Allow for skipping checks. * configure.ac (HAVE_EFGCVT): Kill dead configure check. * NEWS: Document platform mac
* * configure.ac (AC_CANONICAL_HOST, AC_CANONICAL_BUILD): AllowEric Blake2007-09-211-6/+10
| | | | | cross-compilation. (AC_CACHE_CHECK): Cache search for ecvt.
* * configure.ac (AC_PREREQ): Autoconf 2.60 is now released.Eric Blake2007-09-211-3/+3
| | | | | (AC_CHECK_HEADERS_ONCE): Use this new feature. (AC_CHECK_FUNCS_ONCE): Likewise.
* Avoid mkstemp bugs on various platforms.Eric Blake2007-09-211-1/+1
| | | | | | | | * m4/gnulib-cache.c: Augment with gnulib-tool --import mkstemp. * src/output.c [! HAVE_MKSTEMP]: Delete. * configure.ac (AC_CHECK_FUNCS): Don't check for mkstemp. * src/m4.h (mkstemp) [! HAVE_MKSTEMP]: Prototype, if needed. * NEWS: Document this.
* Avoid obsolete sigstack when POSIX sigaltstack is available:Eric Blake2007-09-211-21/+32
| | | | | | | | | | | | | | | | | | | | | | | * src/m4.c: Blindly assume signal.h, since stackovf.c and gnulib do likewise. * configure.ac (AC_CHECK_HEADERS): Likewise. (AC_CHECK_TYPES): New check for siginfo_t, since siginfo.h is obsolete and most hosts now have it in signal.h. (AC_CHECK_MEMBERS): New check for sigaction.sa_sigaction. (AC_CACHE_CHECK): Cache decision to use stackovf. (AC_EGREP_HEADER): Switch to AC_CHECK_TYPES. * src/stackovf.c (DEBUG_STACKOVF): Remove unused define. (SA_RESETHAND, SA_SIGINFO): Provide fallback definitions, to simplify later code. (PARAM_STACKOVF, PARAM_NOSTACKOVF): Move further away from NULL, in case of dereferencing a member of a NULL pointer. (sigsegv_handler) [HAVE_STRUCT_SIGACTION_SA_SIGACTION]: Define a POSIX handler. (setup_stackovf_trap): Use NULL instead of 0 for pointers, use EXIT_FAILURE in error, indent preprocessor directives. [HAVE_SIGALTSTACK && HAVE_SIGINFO_T]: Depend on siginfo_t, not siginfo.h. [HAVE_SIGACT
* * configure.ac (AC_INIT): Bump version number.Eric Blake2007-09-211-1/+1
| | | | * NEWS: Describe changes in 1.4.4c.
* Release 1.4.4b:release-1.4.4bEric Blake2007-09-211-1/+1
| | | | | | * configure.ac (AC_INIT): Bump version number. * NEWS: Describe changes since 1.4.4. * Makefile.maint (cvs-news): Accomodate copyright line wrapping.
* * configure.ac (M4_EARLY, M4_INIT): Use gnulib.Eric Blake2007-09-211-8/+3
| | | | | | | | | | | | (AC_PROG_RANLIB, AC_AIX, AC_MINIX, AC_CHECK_HEADERS), (AC_FUNC_ALLOCA, AC_REPLACE_FUNCS): Avoid checks now done by gnulib. * Makefile.am (ACLOCAL_AMFLAGS): New entry, for gnulib. * m4/gnulib-cache.m4: New file, from gnulib. * bootstrap: Invoke gnulib-tool --update. * src/m4.c (main): Cast away const. * NEWS: Document that regex is updated. * THANKS: Update.
* * configure.ac (changeword): Work even when changeword is not aEric Blake2007-09-211-7/+1
| | | | | | | macro. (AC_PROG_AWK, AC_PROG_INSTALL, AC_PROG_MAKE_SET, AC_HEADER_STDC): Delete; now done by automake. (AC_ISC_POSIX, AC_C_CONST): Delete; now obsolete.
* * lib/regex.c (bcmp_translate): Canonicalize type name.Eric Blake2007-09-211-0/+4
| | | | | | | * doc/Makefile.am (MAINTAINERCLEANFILES): Fix typo. * configure.ac (changeword): Disable changeword for the creation of configure, in case of bootstrapping with an m4 configured with --enable-changeword.
* * doc/m4.texinfo (Maketemp): Work even when running 'make check'Eric Blake2007-09-211-4/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | in read-only dir. Use automake. * Makefile.am: New file. * doc/Makefile.am: Ditto. * examples/Makefile.am: Ditto. * lib/Makefile.am: Ditto. * src/Makefile.am: Ditto. * acinclude.m4: New file, renamed from aclocal.m4. * configure.ac (AM_INIT_AUTOMAKE): Invoke new macro. (AC_ARG_PROGRAM): Now redundant. (STACKOVF): Turn into automake conditional. (AC_CONFIG_COMMANDS): stamp-h is a command, not a file. * checks/Makefile.in: Converting this dir to automake was not trivial; for now, just add missing targets demanded by top-level. * INSTALL: Remove files that are now generated from CVS. * Makefile.in: Ditto. * aclocal.m4: Ditto. * install-sh: Ditto. * mkinstalldirs: Ditto. * doc/Makefile.in: Ditto. * doc/texinfo.tex: Ditto. * examples/Makefile.in: Ditto. * lib/Makefile.in: Ditto. * src/Makefile.in: Ditto.
* * configure.ac: Update to autoconf 2.59. Forbid ^M4_. FixEric Blake2007-09-211-22/+25
| | | | | | | | | | | | quoting. * aclocal.m4 (fp_PROG_CC_STDC): Delete; now covered by autoconf. (fp_C_PROTOTYPES): Delete, GNU Coding Standards state we can now assume C89. (M4_WITH_DMALLOC): Rename from fp_WITH_DMALLOC. Fix quoting. * src/m4.h (_): PROTOTYPES is no longer provided, assume C89. * src/Makefile.in: Delete remains of ansi2knr. * src/ansi2knr.1: Delete. * src/ansi2knr.c: Delete.
* * configure.ac (AC_INIT): Bump to 1.4.4a.Gary V. Vaughan2007-09-211-1/+1
|
* Release 1.4.4:release-1.4.4Gary V. Vaughan2007-09-211-1/+1
| | | | | | * configure.ac (AC_INIT): Bump to 1.4.4. * NEWS: Describe 1.4.4's changes. * INSTALL, install-sh, doc/texinfo.tex: Updated from upstream.
* The FSF are moving offices today. Changed their contact addressGary V. Vaughan2007-09-211-2/+2
| | | | | in all files from `59 Temple Place, Suite 330, MA 02111-1307' to `51 Franklin Street, Fifth Floor, MA 02110-1301'.
* * configure.ac (AC_INIT): Bump to 1.4.3a.Gary V. Vaughan2007-09-211-1/+1
|
* * configure.in (VERSION): Bump to 1.4.3.release-1.4.3Gary V. Vaughan2007-09-211-1/+1
| | | | | | | | * News: Describe 1.4.3's changes. * Makefile.maint: New file with release rules, from CVS libtool. * Makefile.in (DISTFILES): Add Makefile.maint. * INSTALL, install-sh, doc/texinfo.tex: Updated to latest canonical versions.
* * configure.ac (AC_DEFINE): Fix overquoting of descriptionGary V. Vaughan2007-09-211-4/+4
| | | | argument.
* Modernise the configury a little to prevent spurious errors fromGary V. Vaughan2007-09-211-0/+124
Autoconf-2.59's autoreconf: * config.h.in: Renamed to... * config-h.in: ...this to better support DOS 8.3 file systems. * acconfig.h: Removed. * configure.in: Renamed to... * configure.ac: ...this, and AC_DEFINE used to declare config.h entry comments. Slight reorganisation and reformatting. * aclocal.m4: Use third argument to AC_DEFINE to declare config.h entry comments. (AC_INIT): Use a modern 3 argument call. * Makefile.in, checks/Makefile.in, doc/Makefile.in, examples/Makefile.in, lib/Makefile.in, src/Makefile.in: s/PRODUCT/PACKAGE/g. * Makefile.in (DISTFILES): Removed acconfig.h, configure.in, config.h.in. Added configure.ac, config-h.in. (stamp-h.in): Removed acconfig.h from dependencies. (configure): Depends on configure.ac, not configure.in. * doc/Makefile.in (stamp-vti): Ditto. * src/freeze.c (produce_frozen_state), src/m4.c (main): Adjust for difference between PRODUCT="m4" and PACKAGE="GNU M4". * configure: Regenerated.