]> git.ipfire.org Git - thirdparty/autoconf.git/log
thirdparty/autoconf.git
24 years ago* autoscan.pl (&wanted): Don't register `Makefile' when
Akim Demaille [Mon, 22 Jan 2001 19:01:40 +0000 (19:01 +0000)] 
* autoscan.pl (&wanted): Don't register `Makefile' when
`Makefile.in' is present.
Factor the simplification of $name.
(&scan_makefile, &scan_sh_file): Instead of counting the number of
occurrences where a program/makevar is wanted, register file:line.
Adjust the verbose output.
(&check_configure_ac): Report the location where the macro is required.

24 years ago* autoscan.pl: Instead of undefined globals, set them to empty
Akim Demaille [Mon, 22 Jan 2001 19:01:23 +0000 (19:01 +0000)] 
* autoscan.pl: Instead of undefined globals, set them to empty
values.
(%needed_macros): New.
(&check_configure_ac): New.  Call it.
(&output_libraries): Eve out from &output_programs.
(&print_unique): For the time being register in %needed_macros
only argument less macros.

24 years ago* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
Akim Demaille [Mon, 22 Jan 2001 14:29:24 +0000 (14:29 +0000)] 
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): First try no declaration,
then '#include <stdlib.h>', before trying the explicit declarations.

24 years ago* acgeneral.m4 (_AC_COMPILE_IFELSE): Wrap the test -s in
Akim Demaille [Mon, 22 Jan 2001 14:07:09 +0000 (14:07 +0000)] 
* acgeneral.m4 (_AC_COMPILE_IFELSE): Wrap the test -s in
AC_TRY_COMMAND to improve config.log.
(_AC_INIT_DEFAULTS): Don't define ac_exeext and ac_objext to
highlight failures.

24 years agoMore patterns.
Akim Demaille [Mon, 22 Jan 2001 11:18:11 +0000 (11:18 +0000)] 
More patterns.

24 years ago* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Work around a currently
Akim Demaille [Mon, 22 Jan 2001 11:14:37 +0000 (11:14 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Work around a currently
impossible to describe bug of SunOS 4.1.3 which causes a shell
crash when using `VAR=${VAR="$default"}'.
Reported and diagnosed by Kevin Ryde.

24 years ago* acfunctions.m4 (AC_FUNC_GETGROUPS): Typo :(.
Akim Demaille [Mon, 22 Jan 2001 10:13:15 +0000 (10:13 +0000)] 
* acfunctions.m4 (AC_FUNC_GETGROUPS): Typo :(.

24 years ago* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Akim Demaille [Mon, 22 Jan 2001 09:10:55 +0000 (09:10 +0000)] 
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O):
Export ac_cv_exeext so ltconfig believes the value is cached and
skips its own faulty test.

24 years ago* actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
Akim Demaille [Mon, 22 Jan 2001 09:09:21 +0000 (09:09 +0000)] 
* actypes.m4 (AC_TYPE_GETGROUPS): Double quote the test program
body.

24 years ago* aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use
Akim Demaille [Mon, 22 Jan 2001 09:06:11 +0000 (09:06 +0000)] 
* aclang.m4 (AC_LANG_INT_SAVE, AC_LANG_INT_SAVE(C)): Use
conftest.val, not conftestval.
* acgeneral.m4 (_AC_COMPUTE_INT_RUN, _AC_COMPUTE_INT):
Likewise.

24 years agoCreate actypes.m4.
Akim Demaille [Mon, 22 Jan 2001 09:04:58 +0000 (09:04 +0000)] 
Create actypes.m4.
* acgeneral.m4 (AC_CHECK_SIZEOF, _AC_CHECK_TYPE_NEW)
(AC_CHECK_TYPES, _AC_CHECK_TYPE_OLD)
(_AC_CHECK_TYPE_REPLACEMENT_TYPE_P, _AC_CHECK_TYPE_MAYBE_TYPE_P)
(AC_CHECK_TYPE, AC_CHECK_MEMBER, AC_CHECK_MEMBERS): Move into...
* actypes.m4: here.
* acgeneral.m4 (AC_TYPE_GETGROUPS, AM_TYPE_PTRDIFF_T)
(AC_TYPE_UID_T, AC_TYPE_SIZE_T, AC_TYPE_PID_T, AC_TYPE_OFF_T)
(AC_TYPE_MODE_T, AC_INT_16_BITS, AC_LONG_64_BITS, AC_TYPE_SIGNAL)
(AC_STRUCT_TM, AC_STRUCT_TIMEZONE, AC_STRUCT_ST_BLKSIZE)
(AC_STRUCT_ST_BLOCKS, AC_STRUCT_ST_RDEV): Move into...
* actypes.m4: here.
Adjust the test suite.

24 years ago* tests/atgeneral.m4 (AT_INIT): Include a default case for non
Akim Demaille [Mon, 22 Jan 2001 09:03:38 +0000 (09:03 +0000)] 
* tests/atgeneral.m4 (AT_INIT): Include a default case for non
existing tests.
* tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_ENV)
(AT_CHECK_AUTOUPDATE, AT_CHECK_AU_MACRO): New.
Spread their use.
(AT_CHECK_MACRO): Pass `-W obsolete' to autoconf.
* tests/semantics.at (AC_HAVE_FUNCS): Obsolete, don't check.
* tests/mktest.sh: Create one test file per Autoconf source
file instead of separating syntax/update.

24 years ago* doc/autoconf.texi: Some about diff and cmp.
Akim Demaille [Mon, 22 Jan 2001 08:59:14 +0000 (08:59 +0000)] 
* doc/autoconf.texi: Some about diff and cmp.

24 years ago* sh.m4 (AS_ESCAPE): New.
Akim Demaille [Mon, 22 Jan 2001 08:59:02 +0000 (08:59 +0000)] 
* sh.m4 (AS_ESCAPE): New.
(_AS_QUOTE_IFELSE): Use it.
* tests/atgeneral.m4 (AT_INIT) <SHELL>: Define and use.
<--help> Don't display the options help when tests were selected.
Document -d.
<at_skip_list>: New.
<testsuite.log>: Give a banner, include ChangeLog snippets, list
the failed and skipped tests.
Remove useless $at_traceoff in sub shells, this improves the
readability of the traces by removing testsuite's implementation
details.
(AT_CHECK): Filter out the shell traces from the tested command's
stderr.
Use AS_ESCAPE.
Don't register experr and expout for clean up, as it's hairy and
easier to do from...
Support STDOUT = stdout, and STDERR = stderr.
Force the output of shell traces.
(AT_INIT): Here.

24 years ago* acgeneral.m4 (AC_INIT, AC_OUTPUT): Don't take care of completing
Akim Demaille [Mon, 22 Jan 2001 08:58:47 +0000 (08:58 +0000)] 
* acgeneral.m4 (AC_INIT, AC_OUTPUT): Don't take care of completing
the log.
(_AC_INIT_PREPARE): Do it in the trap 0.

24 years agoTim Van Holder <tim.van.holder@pandora.be>,
Akim Demaille [Mon, 22 Jan 2001 08:49:02 +0000 (08:49 +0000)] 
Tim Van Holder  <tim.van.holder@pandora.be>,
Jim Meyering <jim@meyering.net>
* acspecific.m4 (AC_AIX): Fix typo: s/@$/@%/.

24 years agoCatch only used patterns.
Akim Demaille [Fri, 19 Jan 2001 14:35:06 +0000 (14:35 +0000)] 
Catch only used patterns.
Reported by the whole Autoconf community.
* m4sh.m4 (AS_INIT): New.
* acgeneral.m4 (AC_PLAIN_SCRIPT): Use it.
Forbid only AC, AU, AH and AM.

24 years agoOptimizing AC_LANG was broken. Test and fix.
Akim Demaille [Fri, 19 Jan 2001 14:03:14 +0000 (14:03 +0000)] 
Optimizing AC_LANG was broken.  Test and fix.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)): Don't
use _AC_LANG_ABBREV so that you don't depend upon _AC_LANG.
(_AC_LANG_SET): New.
(AC_LANG, AC_LANG_PUSH, AC_LANG_POP): Use it.
* tests/compile.at: Test AC_LANG, AC_LANG_PUSH & AC_LANG_POP.

24 years ago* sugar.m4 (m4_require): Missing dnl.
Akim Demaille [Fri, 19 Jan 2001 11:27:40 +0000 (11:27 +0000)] 
* sugar.m4 (m4_require): Missing dnl.

24 years ago* acgeneral.m4 (AC_PLAIN_SCRIPT): AF_INET, AF_UNIX, AR_FLAGS,
Akim Demaille [Thu, 18 Jan 2001 15:30:35 +0000 (15:30 +0000)] 
* acgeneral.m4 (AC_PLAIN_SCRIPT): AF_INET, AF_UNIX, AR_FLAGS,
AS_FLAGS are OK.

24 years agoRebuilt to remove references to libtool.
Pavel Roskin [Thu, 18 Jan 2001 15:17:19 +0000 (15:17 +0000)] 
Rebuilt to remove references to libtool.

24 years ago* m4sh.m4 (AS_MKDIR_P): Properly support DOS-style paths.
Akim Demaille [Thu, 18 Jan 2001 13:30:46 +0000 (13:30 +0000)] 
* m4sh.m4 (AS_MKDIR_P): Properly support DOS-style paths.

24 years ago* tests/foreign.at (Autoconf & Libtool): `configure.in', not `.ac'
Akim Demaille [Thu, 18 Jan 2001 13:16:02 +0000 (13:16 +0000)] 
* tests/foreign.at (Autoconf & Libtool): `configure.in', not `.ac'
since Libtool does not yet support it.
Let the test suite be more verbose about at-path.
From Patrick Welche.

24 years ago* tests/atspecific.m4 (AT_CHECK_DEFINES): Discard
Akim Demaille [Thu, 18 Jan 2001 10:00:00 +0000 (10:00 +0000)] 
* tests/atspecific.m4 (AT_CHECK_DEFINES): Discard
STDLIB|INTTYPES|MEMORY|STRING|UNISTD.
* tests/semantics.at (AC_CHECK_SIZEOF): Don't check the presence
of default headers, as it's machine dependent.
Reported by Jim Meyering and Nicolas Joly.

24 years ago* acgeneral.m4: Don't leave macro names in comments.
Akim Demaille [Thu, 18 Jan 2001 09:30:10 +0000 (09:30 +0000)] 
* acgeneral.m4: Don't leave macro names in comments.
* aclang.m4: Likewise.
* configure.in: Likewise.
* tests/semantics.at: Likewise.
* tests/tools.at: Likewise.

24 years agoMedium term goal: AC_ macros can be tested with -W obsolete.
Akim Demaille [Thu, 18 Jan 2001 09:16:39 +0000 (09:16 +0000)] 
Medium term goal: AC_ macros can be tested with -W obsolete.
* acgeneral.m4 (AC_RUN_IFELSE): Accept IF-CROSS-COMPILING.
(AC_TRY_RUN): Use it.
* acfunctions.m4: Start ousting AC_TRY_RUN and AC_TRY_COMPILE.
* acspecific.m4 (AC_AIX, AC_MINIX, AC_ISC_POSIX): AC_BEFORE on
AC_COMPILE_IFELSE and AC_RUN_IFELSE.

24 years ago* acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
Akim Demaille [Thu, 18 Jan 2001 09:16:25 +0000 (09:16 +0000)] 
* acgeneral.m4 (AC_INCLUDES_DEFAULT): Force the newline to avoid
bad surprises.
Reported by Jim.

24 years agoRequire a perfect divert push/pop balance.
Akim Demaille [Thu, 18 Jan 2001 09:16:08 +0000 (09:16 +0000)] 
Require a perfect divert push/pop balance.
* m4sugar.m4 (m4_divert, m4_divert_push, m4_divert_pop): Keep
track of them in m4_divert_stack.
(m4_divert_pop): Accept the expected current diversion as
argument and m4_fatal if incorrect, or if there is nothing to pop.
(globally): Specify the known m4_divert_pop.
Preserve symbolic values when possible.
* acgeneral.m4: No longer push the first diversion.
Specify the known m4_divert_pop.
(AC_PLAIN_SCRIPT): When m4_divert_push a diversion, m4_wrap its
pop.
(AC_INIT): Run AC_PLAIN_SCRIPT first, not last.
* tests/m4sh.at (AS_DIRNAME & AS_DIRNAME_SED): Can't use m4_defun
without m4_init.
* m4sugar.m4: Likewise.

24 years ago* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Unlike the
Akim Demaille [Thu, 18 Jan 2001 09:15:52 +0000 (09:15 +0000)] 
* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Unlike the
builtin, fail on undefined symbols.
* tests/torture.at (Torturing config.status): Stop playing nasty
tricks with changequote.
(AC_DEFUBST): Move here from...
* tests/aclocal.m4: there.

24 years agoVarious cleanups and consistency checks.
Akim Demaille [Thu, 18 Jan 2001 09:15:31 +0000 (09:15 +0000)] 
Various cleanups and consistency checks.
* m4sugar.m4: Formatting changes.
* acgeneral.m4 (AC_DIVERT_PUSH, AC_DIVERT_POP, AC_REQUIRE)
(AC_DIAGNOSE, AC_FATAL, AC_MSG_WARN, AC_MSG_NOTICE, AC_MSG_ERROR):
Use m4_copy to define them, in order to keep a good $0.
(AC_INIT): AC_LANG_PUSH C, not AC_LANG, to initialize the stack.
* aclang.m4 (AC_LANG_PUSH): Dont't use m4_defn on undefined macros.
(AC_LANG_POP): Admit an argument specifying the language we quit
when popping.
Adjust Autoconf's AC_LANG_POPs.
* tests/tools.at (AWK portability): Don't depend on AC_INIT.
(autoconf --trace: user macros): Obviously I
meant TRACE1, not AC_TRACE1.

24 years ago* m4sugar.m4 (m4_undefine, m4_popdef): Don't tolerate undefined
Akim Demaille [Wed, 17 Jan 2001 15:26:42 +0000 (15:26 +0000)] 
* m4sugar.m4 (m4_undefine, m4_popdef): Don't tolerate undefined
arguments.
(_m4_expansion_stack): Rename as...
(m4_expansion_stack): this, and change its value: instead of using
the pushdef stack to stack each *line* of the stack, each
definition contains the whole stack.  I.e., to display the whole
stack, instead of popdefing and displaying each definition, just
display the current definition.
(m4_expansion_stack_push, m4_expansion_stack_pop): New.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Let $2 be the expected
exit status.
* tests/m4sugar.m4 (m4_require: circular dependencies): New test.

24 years ago* m4sugar.m4 (m4_normalize): New macro - superposition of
Pavel Roskin [Wed, 17 Jan 2001 15:23:31 +0000 (15:23 +0000)] 
* m4sugar.m4 (m4_normalize): New macro - superposition of
m4_flatten and m4_strip.
(m4_join): Use m4_normalize.
* acgeneral.m4 (AC_FOREACH): Use m4_normalize.
(AC_CONFIG_HEADERS): Normalize the first argument.
(AC_CONFIG_LINKS): Likewise.
(AC_CONFIG_SUBDIRS): Likewise.

24 years ago* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_sub_srcdir in case
Akim Demaille [Wed, 17 Jan 2001 08:54:52 +0000 (08:54 +0000)] 
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_sub_srcdir in case
it has IFS characters.

24 years agoRebuilt.
Pavel Roskin [Tue, 16 Jan 2001 21:13:11 +0000 (21:13 +0000)] 
Rebuilt.

24 years agoWork around the Ultrix limitations on ``multiple redirections''.
Akim Demaille [Tue, 16 Jan 2001 20:46:00 +0000 (20:46 +0000)] 
Work around the Ultrix limitations on ``multiple redirections''.
Reported by Harlan Stenn.
* acgeneral.m4 (_AC_EVAL_STDERR): New.
(_AC_PREPROC_IFELSE): Use it.

24 years ago* tests/atgeneral.m4 (AT_data_files): Fix the computation of PATH.
Akim Demaille [Tue, 16 Jan 2001 13:48:55 +0000 (13:48 +0000)] 
* tests/atgeneral.m4 (AT_data_files): Fix the computation of PATH.

24 years ago* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Eve out from AC_OUTPUT.
Akim Demaille [Tue, 16 Jan 2001 10:46:37 +0000 (10:46 +0000)] 
* acgeneral.m4 (_AC_INIT_LOG_COMPLETE): Eve out from AC_OUTPUT.
(_AC_INIT_DEFAULTS, AC_OUTPUT): Use it.

24 years ago* doc/autoconf.texi: Lots of additions and changes.
Akim Demaille [Tue, 16 Jan 2001 10:45:22 +0000 (10:45 +0000)] 
* doc/autoconf.texi: Lots of additions and changes.
(File Descriptors): New.
(Limitations of Make): New.

24 years ago* m4sh.m4 (AS_EXIT): Don't rely on exit == exit $?.
Akim Demaille [Tue, 16 Jan 2001 10:27:19 +0000 (10:27 +0000)] 
* m4sh.m4 (AS_EXIT): Don't rely on exit == exit $?.
Reported by Tim Van Holder.

24 years ago* Makefile.am (editpl, editsh): Merge into...
Akim Demaille [Tue, 16 Jan 2001 10:25:57 +0000 (10:25 +0000)] 
* 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.

24 years agoWhen default headers are used, check for their presence.
Akim Demaille [Tue, 16 Jan 2001 10:21:44 +0000 (10:21 +0000)] 
When default headers are used, check for their presence.
Suggested by Jim.
* acgeneral.m4 (_AC_INIT_DEFAULTS): Don't define
ac_includes_default, since...
(_AC_INCLUDES_DEFAULT_REQUIREMENTS): this new macro does.
(AC_INCLUDES_DEFAULT): Require the former when default includes
are used.
(AC_CHECK_MEMBERS, _AC_CHECK_TYPE_NEW): Don't require
AC_HEADERS_STDC, that's a job for stupendous AC_INCLUDES_DEFAULT.
* acfunctions.m4 (AC_FUNC_MALLOC): Check for stdlib.h.

24 years agoUse --no-info for config.guess and config.sub man pages.
Akim Demaille [Mon, 15 Jan 2001 16:11:08 +0000 (16:11 +0000)] 
Use --no-info for config.guess and config.sub man pages.

24 years ago* doc/autoconf.texi: Normalize sh samples.
Akim Demaille [Mon, 15 Jan 2001 07:40:11 +0000 (07:40 +0000)] 
* doc/autoconf.texi: Normalize sh samples.

24 years ago* tests/atgeneral.m4 (AT_INIT): Simplify the hairy display of the
Akim Demaille [Mon, 15 Jan 2001 07:38:35 +0000 (07:38 +0000)] 
* tests/atgeneral.m4 (AT_INIT): Simplify the hairy display of the
identity of the tests.

24 years ago* tests/atgeneral.m4 (AT_INIT): When the suite failed, complain
Akim Demaille [Mon, 15 Jan 2001 07:35:36 +0000 (07:35 +0000)] 
* tests/atgeneral.m4 (AT_INIT): When the suite failed, complain
before creating the debug scripts.
Create a log file.
When ignoring a test, display a reassuring `ok' for stressed
users, and say `skipped' instead.
Simply run `testsuite' with the failed tests instead of running
the debug scripts, this avoids having zillions of banners `Testing
Blabla 2.13' (another means to avoid these banners is to have the
test suite succeed :-).

24 years ago* sh.m4 (AS_BOX, _AS_BOX_LITERAL, _AS_BOX_INDIR): New.
Akim Demaille [Mon, 15 Jan 2001 07:29:48 +0000 (07:29 +0000)] 
* sh.m4 (AS_BOX, _AS_BOX_LITERAL, _AS_BOX_INDIR): New.
* tests/atgeneral.m4: Use it.

24 years ago* acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
Akim Demaille [Mon, 15 Jan 2001 07:29:24 +0000 (07:29 +0000)] 
* acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
* m4sh.m4 (AS_LITERAL_IF): this.
(AS_IFELSE): Rename as...
(AS_IF): this.

24 years agoRebuilt without references to libtool files.
Pavel Roskin [Fri, 12 Jan 2001 14:57:23 +0000 (14:57 +0000)] 
Rebuilt without references to libtool files.

24 years agoWith `expr's that return `0' on failures, the executable suffix is
Akim Demaille [Fri, 12 Jan 2001 09:39:26 +0000 (09:39 +0000)] 
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.

24 years ago* acgeneral.m4: Last changes for `configure.ac'.
Akim Demaille [Fri, 12 Jan 2001 09:19:59 +0000 (09:19 +0000)] 
* acgeneral.m4: Last changes for `configure.ac'.
(_AC_INIT_HELP, _AC_OUTPUT_SUBDIRS): Take `configure.ac' into
account.
* autoreconf.sh: Likewise.

24 years ago* acfunctions.m4 (AC_FUNC_MEMCMP): Missing comma in AC_TRY_RUN
Akim Demaille [Thu, 11 Jan 2001 16:12:00 +0000 (16:12 +0000)] 
* acfunctions.m4 (AC_FUNC_MEMCMP): Missing comma in AC_TRY_RUN
invocation.

24 years agoMention Bash before Ksh.
Akim Demaille [Thu, 11 Jan 2001 15:57:48 +0000 (15:57 +0000)] 
Mention Bash before Ksh.

24 years ago* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): New.
Akim Demaille [Thu, 11 Jan 2001 15:17:13 +0000 (15:17 +0000)] 
* aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): New.
(AC_PROG_CC, AC_PROG_CXX): Use it.
(AC_PROG_CC_STDC): Be sure to remove tmp files.
* tests/compile.at (AC_TRY_LINK_FUNC): Don't use exit to test it,
since it produces a prototype which conflicts with the one
computed by _AC_PROG_CXX_EXIT_DECLARATION.
* tests/semantics.at (AC_CHECK_FUNCS, AC_HAVE_FUNCS): Likewise.
(AC_HAVE_FUNCS): Test AC_HAVE_FUNCS!

24 years ago* autoconf.texi (Shellology): Fix an @end itemize, and a typo.
Akim Demaille [Thu, 11 Jan 2001 14:26:45 +0000 (14:26 +0000)] 
* autoconf.texi (Shellology): Fix an @end itemize, and a typo.

24 years ago* autoconf.sh (M4): Handle PC drive letters.
Akim Demaille [Thu, 11 Jan 2001 14:18:48 +0000 (14:18 +0000)] 
* autoconf.sh (M4): Handle PC drive letters.
* autoupdate.sh: Likewise.

24 years ago* aclang.m4 (AC_PROG_F77): Add pgf90 to the list of compilers to
Akim Demaille [Thu, 11 Jan 2001 14:13:59 +0000 (14:13 +0000)] 
* aclang.m4 (AC_PROG_F77): Add pgf90 to the list of compilers to
look for, after the other Fortran 90 compilers.

24 years ago* aclang.m4: Use m4_copy to duplicate macros.
Akim Demaille [Thu, 11 Jan 2001 10:06:39 +0000 (10:06 +0000)] 
* 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.

24 years ago* autoreconf.sh: s/localddir/localdir/.
Pavel Roskin [Mon, 25 Dec 2000 14:57:53 +0000 (14:57 +0000)] 
* autoreconf.sh: s/localddir/localdir/.
Reported by Motoyuki Kasahara.

24 years ago* autoconf.sh: Promote `configure.ac' over `configure.in'.
Akim Demaille [Sat, 23 Dec 2000 10:11:57 +0000 (10:11 +0000)] 
* 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'.

24 years agoFix.
Akim Demaille [Fri, 22 Dec 2000 10:26:46 +0000 (10:26 +0000)] 
Fix.

24 years agoMore patterns.
Akim Demaille [Fri, 22 Dec 2000 10:18:21 +0000 (10:18 +0000)] 
More patterns.

24 years ago* acgeneral.m4 (_AC_EVAL, AC_TRY_EVAL, AC_TRY_COMMAND): Be a
Akim Demaille [Fri, 22 Dec 2000 10:12:26 +0000 (10:12 +0000)] 
* acgeneral.m4 (_AC_EVAL, AC_TRY_EVAL, AC_TRY_COMMAND): Be a
single statement, so that one can make pipes with AC_TRYs, just as
in 2.13.

24 years ago* aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
Akim Demaille [Wed, 20 Dec 2000 18:41:10 +0000 (18:41 +0000)] 
* aclang.m4 (_AC_COMPILER_OBJEXT, _AC_COMPILER_EXEEXT_O):
Make the order of arguments for ls count by splitting the ls
command into a sequence of ls commands.

24 years ago* aclang.m4 (_AC_LANG_COMPILER_GNU): Use a tabulation to indent
Akim Demaille [Wed, 20 Dec 2000 17:31:22 +0000 (17:31 +0000)] 
* aclang.m4 (_AC_LANG_COMPILER_GNU): Use a tabulation to indent
`choke me' so that the SGI Fortran compiler really chokes on it.
From Ezra Peisach.

24 years ago* tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
Akim Demaille [Wed, 20 Dec 2000 13:48:07 +0000 (13:48 +0000)] 
* tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
1.3.[0-5].
* tests/compile.at (GNU Fortran 77): Use AS_EXIT.

24 years ago* tests/atgeneral.m4 (AT_CLEANUP_FILE_IFELSE): Fix the regexp: the
Akim Demaille [Wed, 20 Dec 2000 09:15:59 +0000 (09:15 +0000)] 
* tests/atgeneral.m4 (AT_CLEANUP_FILE_IFELSE): Fix the regexp: the
pattern ` state* ' was added many times for `*' was improperly
escaped.
(AT_INIT): Remove the data files before running the tests.
Define AT_data_files and output it.
(AT_SETUP): Don't.
(_m4_divert(TEST)): Remove, now useless.

24 years ago* aclang.m4: `dnl' the AC_LANG_PUSH and AC_LANG_POP.
Akim Demaille [Wed, 20 Dec 2000 09:13:54 +0000 (09:13 +0000)] 
* 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.

24 years ago* doc/autoconf.texi (Installation Directory Variables): More info
Pavel Roskin [Tue, 19 Dec 2000 16:47:50 +0000 (16:47 +0000)] 
* doc/autoconf.texi (Installation Directory Variables): More info
on prefix and exec_prefix.

24 years agoResynchronized.
Pavel Roskin [Tue, 19 Dec 2000 15:18:05 +0000 (15:18 +0000)] 
Resynchronized.

24 years ago* aclang.m4 (_AC_COMPILER_OBJEXT): Don't rely on
Akim Demaille [Tue, 19 Dec 2000 11:02:36 +0000 (11:02 +0000)] 
* aclang.m4 (_AC_COMPILER_OBJEXT): Don't rely on
_AC_COMPILE_IFELSE which uses ac_objext in a `test -s'.
Reported by Lars J. Aas.

24 years ago* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
Akim Demaille [Tue, 19 Dec 2000 10:17:06 +0000 (10:17 +0000)] 
* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
Use AC_TRY_COMMAND when running commands, to enrich the logs.

24 years ago* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
Akim Demaille [Tue, 19 Dec 2000 09:32:54 +0000 (09:32 +0000)] 
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
(_AC_COMPILER_EXEEXT_O): Extracted from...
(_AC_COMPILER_EXEEXT): here.  Adjust.

24 years agoRemove duplicate test.
Akim Demaille [Tue, 19 Dec 2000 09:25:21 +0000 (09:25 +0000)] 
Remove duplicate test.

24 years ago* tests/atgeneral.m4 (AT_CHECK): Make exit status report more
Akim Demaille [Tue, 19 Dec 2000 08:15:48 +0000 (08:15 +0000)] 
* tests/atgeneral.m4 (AT_CHECK): Make exit status report more
visible.
* tests/atspecific.m4 (AT_CHECK_AUTOCONF): Support FLAGS, STDOUT
and STDERR.
(AT_CHECK_CONFIGURE): Support plenty, cleanup defs when needed.
Spread their use in the whole suite.
Simplify a few AT_CLEANUPs.

24 years ago* tests/atgeneral.m4 (AT_CHECK): Accept if-failed and
Akim Demaille [Tue, 19 Dec 2000 08:15:20 +0000 (08:15 +0000)] 
* tests/atgeneral.m4 (AT_CHECK): Accept if-failed and
if-not-failed.
* tests/atspecific.m4 (AT_CHECK_CONFIGURE): Use it in order to
dump config.log when configure failed.  Before, the log was
reported only on success.

24 years ago* tests/foreign.at: New file.
Akim Demaille [Tue, 19 Dec 2000 08:14:19 +0000 (08:14 +0000)] 
* tests/foreign.at: New file.

24 years ago* tests/atgeneral.m4 (AT_BANNER, AT_CLEANUP): Formatting changes.
Akim Demaille [Tue, 19 Dec 2000 08:09:38 +0000 (08:09 +0000)] 
* tests/atgeneral.m4 (AT_BANNER, AT_CLEANUP): Formatting changes.

24 years ago* Makefile.am: Add a comment explaining why suffix rules are not
Pavel Roskin [Mon, 18 Dec 2000 07:19:02 +0000 (07:19 +0000)] 
* Makefile.am: Add a comment explaining why suffix rules are not
used there.

24 years ago* autoconf.sh: If the "allowed" pattern is not defined set it
Pavel Roskin [Fri, 15 Dec 2000 19:23:16 +0000 (19:23 +0000)] 
* autoconf.sh: If the "allowed" pattern is not defined set it
to "^$".
* tests/tools.at (autoconf: forbidden tokens, basic): New test.
(autoconf: forbidden tokens): Renamed to ...
(autoconf: forbidden tokens, exceptions): ... this.

24 years agoNormalize ChangeLog.
Akim Demaille [Fri, 15 Dec 2000 14:38:48 +0000 (14:38 +0000)] 
Normalize ChangeLog.

24 years agoAdd config.guess.1 and config.sub.1.
Akim Demaille [Fri, 15 Dec 2000 14:04:50 +0000 (14:04 +0000)] 
Add config.guess.1 and config.sub.1.

24 years agoMention the meaning of CYGWIN.
Akim Demaille [Fri, 15 Dec 2000 14:03:00 +0000 (14:03 +0000)] 
Mention the meaning of CYGWIN.

24 years ago* aclang.m4 (AC_PROG_CXXCPP, AC_PROG_CPP): Require AC_PROG_CXX/CC.
Akim Demaille [Fri, 15 Dec 2000 11:50:18 +0000 (11:50 +0000)] 
* aclang.m4 (AC_PROG_CXXCPP, AC_PROG_CPP): Require AC_PROG_CXX/CC.

24 years ago* tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
Akim Demaille [Fri, 15 Dec 2000 10:55:10 +0000 (10:55 +0000)] 
* tests/compile.at (GNU Fortran 77): G77 is a `yes'/`' var.
Reported by Ezra Peisach.

24 years ago* tests/compile.at (GNU Fortran 77): s/g77/G77/.
Akim Demaille [Fri, 15 Dec 2000 10:52:03 +0000 (10:52 +0000)] 
* tests/compile.at (GNU Fortran 77): s/g77/G77/.
Reported by Ezra Peisach.

24 years ago* man/Makefile.am (.x.1): Fix to work properly with
Akim Demaille [Fri, 15 Dec 2000 08:25:09 +0000 (08:25 +0000)] 
* man/Makefile.am (.x.1): Fix to work properly with
builddir != srcdir.

24 years ago* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77))
Akim Demaille [Fri, 15 Dec 2000 07:49:13 +0000 (07:49 +0000)] 
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77))
(AC_PROG_CPP, AC_PROG_CXXCPP, AC_PROG_GCC_TRADITIONAL)
(_AC_PROG_CC_G, AC_PROG_CC_C_O, _AC_PROG_CXX_G, AC_PROG_CC_STDC):
Don't use `${CC-cc}' since now the AC_REQUIRE machinery guarantees
that $CC is defined.  And if not, it's a bug which must be
observable.
* acspecific.m4 (AC_SYS_LARGEFILE): Likewise.

24 years ago* acgeneral.m4 (_AC_PREPROC_IFELSE): Use ac_status as set by
Akim Demaille [Fri, 15 Dec 2000 07:48:41 +0000 (07:48 +0000)] 
* acgeneral.m4 (_AC_PREPROC_IFELSE): Use ac_status as set by
AC_TRY_EVAL.
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE, _AC_RUN_IFELSE): More alike,
using AS_IFELSE, and systematically AC_TRY_COMMAND when testing
something (for the logs).

24 years ago* aclang.m4 (_AC_PROG_PREPROC_WORKS): Use _AC_PREPROC_IFELSE.
Akim Demaille [Fri, 15 Dec 2000 07:48:17 +0000 (07:48 +0000)] 
* aclang.m4 (_AC_PROG_PREPROC_WORKS): Use _AC_PREPROC_IFELSE.
* acgeneral.m4 (_AC_TRY_CPP): Its last use was that above, so
inline it into...
(_AC_PREPROC_IFELSE): here.

24 years ago* tests/atgeneral.m4 (AT_INIT): Forget about `-n'.
Akim Demaille [Fri, 15 Dec 2000 07:47:45 +0000 (07:47 +0000)] 
* tests/atgeneral.m4 (AT_INIT): Forget about `-n'.
Adjust so that `./testsuite -h 1 2' explains only tests 1 & 2.

24 years ago* acgeneral.m4 (_AC_EVAL): New.
Akim Demaille [Fri, 15 Dec 2000 07:47:29 +0000 (07:47 +0000)] 
* acgeneral.m4 (_AC_EVAL): New.
(AC_TRY_EVAL, AC_TRY_COMMAND): Use it.

24 years ago* acgeneral.m4 (_AC_PREPROC_IFELSE, AC_PREPROC_IFELSE): New.
Akim Demaille [Fri, 15 Dec 2000 07:47:02 +0000 (07:47 +0000)] 
* acgeneral.m4 (_AC_PREPROC_IFELSE, AC_PREPROC_IFELSE): New.
(AC_TRY_CPP): Use AC_PREPROC_IFELSE.
(AC_CHECK_MEMBER, AC_CHECK_DECL, _AC_CHECK_TYPE_NEW): Quote
properly.
* acheaders.m4 (AC_CHECK_HEADER): Quote properly, use
AC_PREPROC_IFELSE.
* acspecific.m4 (_AC_PATH_X_DIRECT): Use AC_PREPROC_IFELSE.

24 years ago* m4sugar.m4 (m4_init): Catch `dnl'.
Akim Demaille [Fri, 15 Dec 2000 07:46:47 +0000 (07:46 +0000)] 
* m4sugar.m4 (m4_init): Catch `dnl'.

24 years agoRegenerated.
Pavel Roskin [Fri, 15 Dec 2000 07:12:43 +0000 (07:12 +0000)] 
Regenerated.

24 years ago* m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.
Pavel Roskin [Fri, 15 Dec 2000 07:09:41 +0000 (07:09 +0000)] 
* m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.

24 years agoSynchronized with ftp://ftp.gnu.org/
Pavel Roskin [Thu, 14 Dec 2000 22:56:19 +0000 (22:56 +0000)] 
Synchronized with ftp://ftp.gnu.org/

24 years ago* tests/semantics.at (AC_CHECK_TYPES): There are two tests with
Pavel Roskin [Thu, 14 Dec 2000 15:36:47 +0000 (15:36 +0000)] 
* tests/semantics.at (AC_CHECK_TYPES): There are two tests with
this name. Rename the second one to "AC_CHECK_TYPES: backward
compatibility"
(AC_TRY_LINK_FUNC): Removed. It's now in tests/compile.at.
(C keywords): Likewise.
(AC_PROG_CPP with warnings): Likewise.
(AC_PROG_CPP without warnings): Likewise.

24 years agoPut back AC_CYGWIN etc. under the responsibility of the
Akim Demaille [Thu, 14 Dec 2000 09:39:33 +0000 (09:39 +0000)] 
Put back AC_CYGWIN etc. under the responsibility of the
configure.in maintainer, but discourage its use.
* acspecific.m4 (_AC_CYGWIN, _AC_MINGW32, _AC_EMXOS2): Rename as...
(AC_CYGWIN, AC_MINGW32, AC_EMXOS2): these.
AU defined on top of AC_CANONICAL_HOST and $host_os.
* tests/mktests.sh (update_exclude_list): Add AC_CYGWIN,
AC_MINGW32, and AC_EMXOS2.

24 years ago* m4sugar.m4 (m4_file_append): Add a newline after _m4eof,
Pavel Roskin [Wed, 13 Dec 2000 14:53:51 +0000 (14:53 +0000)] 
* m4sugar.m4 (m4_file_append): Add a newline after _m4eof,
otherwise _m4eof is appended to the output on FreeBSD 4.0.
* tests/atgeneral.m4 (AT_INIT): Avoid using unbalanced "y"
in sed, use "s" instead.
* tests/mktests.sh: Don't use ? in sed - it's a GNU extension.
Use separate patterns for A[CU]_DEFUN and AC_DEFUN_ONCE.

24 years agoEXEEXT and OBJEXT don't need to know $CYGWIN etc.
Akim Demaille [Wed, 13 Dec 2000 12:36:54 +0000 (12:36 +0000)] 
EXEEXT and OBJEXT don't need to know $CYGWIN etc.
* acspecific.m4 (AC_EXEEXT, AC_OBJEXT, _AC_EXEEXT, _AC_OBJEXT):
Move as...
* aclang.m4 (AC_EXEEXT, AC_OBJEXT, _AC_COMPILER_EXEEXT)
(_AC_COMPILER_OBJEXT): these.
(_AC_COMPILER_EXEEXT): Use _AC_LINK_IFELSE.
Don't depend upon $CYGWIN and the like.
(_AC_COMPILER_OBJEXT): Model after _AC_COMPILER_EXEEXT.
Skip more extensions.
Use _AC_COMPILE_IFELSE.