Commit Graph

81 Commits

Author SHA1 Message Date
Akim Demaille
830cc1d4ba * configure.in: Bump to 2.49e. 2001-03-19 18:14:44 +00:00
Akim Demaille
caee0720ab Update. 2001-03-19 14:26:17 +00:00
Akim Demaille
260929dc38 * autoscan.pl, autoupdate.in: Use use' instead of require' to
require some version of Perl, so that the test is performed at
compile time, not run time.
Suggested by Nicolas Joly.
2001-03-13 18:15:58 +00:00
Akim Demaille
38fa78538d * tests/tools.at: Be sure to remove configure.ac~.
* autoupdate.in (File::Basename): Use package.
(%ac_macros, %au_macros): Save only base filenames.
2001-03-13 12:09:22 +00:00
Akim Demaille
9c1db6a872 Missing maindex, from Enrique Robledo Arnuncio. 2001-02-26 14:37:24 +00:00
Pavel Roskin
44ca6278ec Rebuild. 2001-02-26 07:00:40 +00:00
Pavel Roskin
1bb965372d * man/Makefile.am: autoupdate.1 now depends on autoupdate.in. 2001-02-26 06:56:04 +00:00
Akim Demaille
216c0fe12e * autoupdate.in: Less Bournisms, more Wallisms. 2001-02-25 10:42:49 +00:00
Akim Demaille
b678966a7f Some text so that people aren't surprised of seeing BUGS. 2001-02-21 10:20:47 +00:00
Akim Demaille
a70d38879b * autoscan.pl (check_configure_ac): Pretty missing macro warnings
output.
2001-02-20 09:24:40 +00:00
Akim Demaille
05cb1a8393 * autoheader.sh: Only set config_h for the first call to
AC_CONFIG_HEADERS.
2001-02-06 13:47:52 +00:00
Akim Demaille
3282fd3c7a * acgeneral.m4 (AC_LIBOBJ_DECL): Remove.
(AC_LIBSOURCES, AC_LIBSOURCE): New.
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Remove configure.ac
2001-02-03 13:20:00 +00:00
Akim Demaille
8af30c8986 * autoscan.pl: `Formatting++' changes: prototypes all the
functions, no longer use `&' to call functions as it disables
prototype checking, topological sort so that functions are defined
before being used, and put an Autoconf like nice comment to
describe the functions.
(output): Accept an CONFIGURE_SCAN parameters, and open CONF.
2001-01-29 09:24:13 +00:00
Akim Demaille
5159087e72 * configure.in: Bump to 2.49d. 2001-01-24 18:23:24 +00:00
Akim Demaille
f2f63c8cb6 * autoscan.pl (output): Detect/report a close failure. 2001-01-24 17:44:59 +00:00
Akim Demaille
4bc8d19d4e * acgeneral.m4: Don't leave macro names in comments.
* aclang.m4: Likewise.
* configure.in: Likewise.
* tests/semantics.at: Likewise.
* tests/tools.at: Likewise.
2001-01-18 09:30:10 +00:00
Akim Demaille
e2e36c55ce * Makefile.am (editpl, editsh): Merge into...
(edit).
* m4sh.m4 (AS_UNAME): Eved out from...
* acgeneral.m4 (_AC_INIT_DEFAULTS): here.
(_AC_INIT_PACKAGE): Define AC_PACKAGE_NAME.
(_AC_INIT_PARSE_ARGS): AC_SUBST the PACKAGE_ variables.
Propagate their use in the executables and the test suite.
* tests/atgeneral.m4 (PATH): Include only absolute paths.
(AT_INIT): Use AS_UNAME.
2001-01-16 10:25:57 +00:00
Akim Demaille
32007939e1 Use --no-info for config.guess and config.sub man pages. 2001-01-15 16:11:08 +00:00
Akim Demaille
55953c9b14 With expr's that return 0' on failures, the executable suffix is
`0'.  Test and fix.
Reported by Assar Westerlund.

* Makefile.am (maintainer-check): New target.
* tests/Makefile.am (maintainer-check, maintainer-check-posix)
(maintainer-check-c++, expr): Likewise.
* configure.in (EXPR): Look for it.
* tests/atgeneral.m4 (AT_CHECK): Propagate $2's default value.
* tests/compile.at (Extensions): New test.
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Distinguish files with or without a dot.
2001-01-12 09:39:26 +00:00
Akim Demaille
5058e82d54 * acgeneral.m4: Last changes for `configure.ac'.
(_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Take `configure.ac' into
account.
* autoreconf.sh: Likewise.
2001-01-12 09:19:59 +00:00
Akim Demaille
3e7682ecb7 * autoconf.sh (M4): Handle PC drive letters.
* autoupdate.sh: Likewise.
2001-01-11 14:18:48 +00:00
Akim Demaille
616dba6d84 * aclang.m4: Use m4_copy to duplicate macros.
(AC_LANG_PUSH): In order to have AC_LANG's simplifications
effective, be sure to let _AC_LANG be the old language before
calling AC_LANG.
2001-01-11 10:06:39 +00:00
Akim Demaille
cd7cd7bf31 * autoconf.sh: Promote configure.ac' over configure.in'.
* autoreconf.sh: Likewise.
* autoheader.sh: Ditto.
* autoupdate.sh: Similarly.
* doc/autoconf.texi: Adjust.
* tests/atspecific.m4: Be sure to remove configure.in.
Adjust the test suite to use `configure.ac'.
2000-12-23 10:11:57 +00:00
Akim Demaille
fcd3a4ac50 * aclang.m4: `dnl' the AC_LANG_PUSH and AC_LANG_POP.
(AC_PROG_CXXCPP, AC_PROG_CPP): Set the current language instead of
just asserting it, since these macros can be called directly.
Reported by Raja R. Harinath.
2000-12-20 09:13:54 +00:00
Akim Demaille
ee8a116af5 Add config.guess.1 and config.sub.1. 2000-12-15 14:04:50 +00:00
Akim Demaille
665dbe1ab2 * man/Makefile.am (.x.1): Fix to work properly with
builddir != srcdir.
2000-12-15 08:25:09 +00:00
Akim Demaille
302c614d05 * configure.in: Bump version to 2.49c. 2000-12-06 17:32:38 +00:00
Akim Demaille
56864394b3 * man/config.guess.x: New file.
* man/config.sub.x: New file.
2000-12-06 16:02:58 +00:00
Akim Demaille
83e4065f15 * autoconf.sh (task trace): s/m4/$M4/.
* autoheader.sh: When loading trace.sh, catch errors and exit with
a decent error message.
* tests/tools.at: Be sure to test autoconf --trace before
autoheader.
2000-12-06 10:53:58 +00:00
Akim Demaille
e43386442e * m4sugar.m4 (m4_dquote, m4_pattern_forbid, m4_pattern_allow)
(m4_cr_letters, m4_cr_LETTERS, m4_cr_Letters, m4_cr_digits)
(m4_cr_symbols1, m4_cr_symbols2, m4_re_string, m4_re_word)
(m4_init): New macros.
(m4_token_allow): Remove.
* acgeneral.m4: Don't push BODY into the diversion stack.
(AC_PLAIN_SCRIPT): Do it.
Call m4_init, define the Autoconf patterns.
(AC_INIT): Use AC_PLAIN_SCRIPT.
Remove the useless `dnl' (those where the current diversion is
KILL).
* autoconf.sh (m4_common): Fix quotation.
(finalize.awk): Load forbidden.rx and allowed.rx.
Split the line into tokens, and check their validity.
* tests/tools.at (Forbidden tokens): Adjust.
2000-12-06 08:58:13 +00:00
Akim Demaille
cc458dbc82 * acspecific.m4 (_AC_OBJEXT, _AC_EXEEXT): Ignore .d files produced
by CFLAGS=-MD.
2000-12-05 18:15:44 +00:00
Akim Demaille
774e64915e * doc/autoconf.texi (autoconf Invocation): Explain `-W error'
gives back traces.
2000-11-14 10:00:25 +00:00
Akim Demaille
6a1fe22942 * aclang.m4 (AC_LANG_PROGRAM(Fortran 77): Complain about $1 having
a value.
Reported by Paul Martinolich.
(_AC_LANG_COMPILER_GNU): Pass the test as the body of
AC_LANG_PROGRAM, not the prologue.
2000-11-08 17:46:24 +00:00
Akim Demaille
528a6b7122 The documentation is not clear about the obsoleteness of
`acconfig.h', `config.h.top', and `config.h.bot'.
Reported by Aharon Robbins.
* doc/autoconf.texi (Making configure Scripts)
(Automatic Remaking, Defining Symbols, Distributing): Forget about
these files.
(acconfig.h): Reword.
Display the old scheme presenting the dependencies between input
and output files.
(Changed File Names): Clarify.
2000-11-02 17:44:02 +00:00
Akim Demaille
f2a537cc26 * tests/atgeneral.m4 (AT_CHECK, AT_CLEANUP): Be more verbose when
`-v' is passed.
2000-11-02 12:23:42 +00:00
Akim Demaille
4b19491f44 Move the `defun' handling into M4sugar.
* m4sugar.m4 (_m4_divert(GROW), _m4_expansion_stack_dump)
_m4_defun_pro, _m4_defun_epi, m4_defun, $1, m4_defun_once)
m4_before, _m4_require, m4_require, m4_expand_once, m4_provide)
m4_provide_ifelse): New macros.
* acgeneral.m4 (_AC_EXPANSION_STACK_DUMP, _AC_DEFUN_PRO)
_AC_DEFUN_EPI): Removed.
(AC_DEFUN, AC_DEFUN_ONCE, _AC_REQUIRE, AC_REQUIRE)
AC_PROVIDE_IFELSE, AC_FATAL): Reimplement atop M4sugar.
2000-11-01 15:56:37 +00:00
Pavel Roskin
0dd3144b2e * autoconf.sh: Don't show obsolete options on "--help". Report
obsolete options to stderr. Adjust list of options. Correct
        processing of options. Process options with values separated by
        "=" first, so that abbreviations work. Don't accept "=" with
        short options.
        * autoheader.sh: Likewise.
        * autoreconf.sh: Likewise.
        * autoupdate.sh: Likewise.
        * ifnames.sh: There is no "--verbose" option.
        * doc/autoconf.texi: Option "-A" requires an argument.
        (autoreconf Invocation): Document "--install", "--symlink",
        "--m4dir" and the options passed to Automake.
2000-10-26 22:27:48 +00:00
Akim Demaille
1e3cdfe0a3 * acgeneral.m4: Adjust copyright notice.
* acspecific.m4: Likewise.
* acoldnames.m4: Likewise.
* acversion.m4.in: Likewise.
* autoconf.sh: Likewise.
* autoheader.sh: Likewise.
* autoreconf.sh: Likewise.
* autoscan.pl: Likewise.
* autoupdate.sh: Likewise.
* ifnames.sh: Likewise.
2000-10-16 18:25:55 +00:00
Akim Demaille
a195030508 * autoupdate.sh (sed): Look for GNU sed.
(usage): Ask for GNU sed.
2000-09-12 12:41:32 +00:00
Akim Demaille
d515c73727 * configure.in: Bump version to 2.49b.
* Makefile.am (bin_SCRIPTS): Depend upon configure.in.
2000-09-04 12:12:21 +00:00
Akim Demaille
886e24fc21 * configure.in: Bump version to 2.49a. 2000-08-11 09:26:56 +00:00
Akim Demaille
a950c6810a * autoreconf.sh (Installing Autoconf extensions files): Remove. 2000-08-09 09:56:30 +00:00
Akim Demaille
35e933c528 Add .cvsignore in each directory. 2000-08-09 08:47:01 +00:00
Akim Demaille
89ffc0a2f2 * autoheader.sh (_ac_warnings): Be robust to LC_COLLATE.
`IFS=,; echo ,' will give a comma.  Take this into account.
2000-08-01 13:59:51 +00:00
Akim Demaille
6e867eb5ee * acgeneral.m4 (_AC_INIT_PREPARE_ENVIRONMENT): Neutralize also
LC_COLLATE and LC_NUMERIC.
* autoconf.m4: Don't rely on character ranges with tr.
* doc/autoconf.texi (Special Shell Variables): Adjust.
2000-08-01 11:22:42 +00:00
Akim Demaille
a1dde0367f Create acfunctions.m4, in charge of the macros related to
functions.

* acgeneral.m4 (AC_CHECK_FUNC, AC_CHECK_FUNCS, AC_REPLACE_FUNCS):
Move to...
* acfunctions.m4: here, new file.
* acspecific.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_ALLOCA, AC_FUNC_CHOWN,
AC_FUNC_CLOSEDIR_VOID, AC_FUNC_FNMATCH, AC_FUNC_GETGROUPS,
_AC_LIBOBJ_GETLOADAVG, AC_FUNC_GETLOADAVG, AC_FUNC_GETMNTENT,
AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK,
AC_FUNC_MALLOC, AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP,
AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP, _AC_FUNC_STAT,
AC_FUNC_STAT, AC_FUNC_LSTAT, AC_FUNC_STRERROR_R, AC_FUNC_STRFTIME,
AC_FUNC_VFORK, AC_FUNC_VPRINTF, AC_FUNC_WAIT3, AC_FUNC_UTIME_NULL,
AC_FUNC_STRCOLL, AC_FUNC_SETVBUF_REVERSED): Likewise.
* Makefile.am: Adjust.

Move also the old definitions into acfunctions.m4, and adjust the
test suite.

* acgeneral.m4 (AU_ALIAS): New macro.
* acoldnames (AC_FUNC_CHECK, AC_HAVE_FUNCS, AC_ALLOCA,
AC_GETLOADAVG, AC_MMAP, AC_SETVBUF_REVERSED, AC_STRCOLL,
AC_UTIME_NULL, AC_VFORK, AC_VPRINTF, AC_WAIT3, AM_FUNC_FNMATCH,
AM_FUNC_MKTIME, fp_FUNC_FNMATCH): Move to...
* acfunctions.m4: here, using AU_ALIAS.
* acgeneral.m4 (AC_FD_CC, AC_CANONICAL_SYSTEM): Use AU_ALIAS to
define them.
* acoldnames.m4: Use AU_ALIAS instead of AU_DEFUN.
* tests/Makefile.am (MACRO_FILES): Adjust.
2000-08-01 10:13:14 +00:00
Akim Demaille
b64f36dee1 * autoconf.sh (--warnings): Catch no-category', not nocategory'.
* autoheader.sh: Likewise.
* acgeneral.m4 (_AC_WARNING_IFELSE): Adjust.
2000-07-28 07:41:52 +00:00
Akim Demaille
b240f802f9 * autoreconf.sh: Accept --symbolic and -s. 2000-07-19 09:04:26 +00:00
Akim Demaille
9150c0ede6 Make it clear that the regular user does not need --macrodir.
In fact, rename this option as -A, --autoconf-dir.

* autoconf.sh: Complain when -m, --macrodir is used.
Accept -A, --autoconf-dir.
Use $autoconf_dir instead of $AC_MACRODIR.
Adjust --help.
* autoheader.sh: Likewise.
* autoscan.sh: Likewise.
* autoupdate.sh: Likewise.
Use $optarg.
* autoreconf.sh: Likewise.
* doc/autoconf.texi: Adjust.
* tests: Adjust the test suite.
2000-07-19 09:03:53 +00:00
Akim Demaille
09c743e583 Stop being ridiculous :*(
* acgeneral.m4 (AC_SHELL_DIRNAME):  When using m4 the argument
is named `$1' not `$dir'.
When using m4 you ought to quote properly.
When using m4, you should check that there are not too many shell
quotes (inside the macro itself, and where it is called).
When you do this, Autoconf, hm, works better.
2000-07-10 10:52:04 +00:00