Akim Demaille
59ecd7666a
* acgeneral.m4 (AC_VAR_INDIR_IFELSE): Move as...
...
* m4sh.m4 (AS_LITERAL_IF): this.
(AS_IFELSE): Rename as...
(AS_IF): this.
2001-01-15 07:29:24 +00:00
Pavel Roskin
6da4d6b3db
Rebuilt without references to libtool files.
2001-01-12 14:57:23 +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
bd132b191d
* acfunctions.m4 (AC_FUNC_MEMCMP): Missing comma in AC_TRY_RUN
...
invocation.
2001-01-11 16:12:00 +00:00
Akim Demaille
5b827102b4
Mention Bash before Ksh.
2001-01-11 15:57:48 +00:00
Akim Demaille
e20443008d
* 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!
2001-01-11 15:17:13 +00:00
Akim Demaille
6a0c144a03
* autoconf.texi (Shellology): Fix an @end itemize, and a typo.
2001-01-11 14:26:45 +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
36535d5360
* aclang.m4 (AC_PROG_F77): Add pgf90 to the list of compilers to
...
look for, after the other Fortran 90 compilers.
2001-01-11 14:13:59 +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
Pavel Roskin
86ac9c829a
* autoreconf.sh: s/localddir/localdir/.
...
Reported by Motoyuki Kasahara.
2000-12-25 14:57:53 +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
6c00bbf9bd
Fix.
2000-12-22 10:26:46 +00:00
Akim Demaille
1b7908eda3
More patterns.
2000-12-22 10:18:21 +00:00
Akim Demaille
af3f563429
* 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.
2000-12-22 10:12:26 +00:00
Akim Demaille
9282441bdb
* 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.
2000-12-20 18:41:10 +00:00
Akim Demaille
edad08c3b2
* 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.
2000-12-20 17:31:22 +00:00
Akim Demaille
aeaf765c48
* tests/foreign.at (Autoconf & Libtool): Ignore Libtool version
...
1.3.[0-5].
* tests/compile.at (GNU Fortran 77): Use AS_EXIT.
2000-12-20 13:48:07 +00:00
Akim Demaille
be42075f17
* 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.
2000-12-20 09:15:59 +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
Pavel Roskin
d8264906a3
* doc/autoconf.texi (Installation Directory Variables): More info
...
on prefix and exec_prefix.
2000-12-19 16:47:50 +00:00
Pavel Roskin
7f07425781
Resynchronized.
2000-12-19 15:18:05 +00:00
Akim Demaille
9d8c8ee03c
* 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.
2000-12-19 11:02:36 +00:00
Akim Demaille
b6e82fb53c
* tests/compile.at (AC_PROG_CPP without warnings, GNU Fortran 77):
...
Use AC_TRY_COMMAND when running commands, to enrich the logs.
2000-12-19 10:17:06 +00:00
Akim Demaille
ccd5ae270c
* aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): New.
...
(_AC_COMPILER_EXEEXT_O): Extracted from...
(_AC_COMPILER_EXEEXT): here. Adjust.
2000-12-19 09:32:54 +00:00
Akim Demaille
cf40f5d19e
Remove duplicate test.
2000-12-19 09:25:21 +00:00
Akim Demaille
6804b0e12a
* 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.
2000-12-19 08:15:48 +00:00
Akim Demaille
7fd0f6597d
* 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.
2000-12-19 08:15:20 +00:00
Akim Demaille
0c970929c3
* tests/foreign.at: New file.
2000-12-19 08:14:19 +00:00
Akim Demaille
ce736ccd6e
* tests/atgeneral.m4 (AT_BANNER, AT_CLEANUP): Formatting changes.
2000-12-19 08:09:38 +00:00
Pavel Roskin
f87082b313
* Makefile.am: Add a comment explaining why suffix rules are not
...
used there.
2000-12-18 07:19:02 +00:00
Pavel Roskin
21ca8441bc
* 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.
2000-12-15 19:23:16 +00:00
Akim Demaille
d7e11d6a4a
Normalize ChangeLog.
2000-12-15 14:38:48 +00:00
Akim Demaille
ee8a116af5
Add config.guess.1 and config.sub.1.
2000-12-15 14:04:50 +00:00
Akim Demaille
f5f59b7932
Mention the meaning of CYGWIN.
2000-12-15 14:03:00 +00:00
Akim Demaille
a3b490cccf
* aclang.m4 (AC_PROG_CXXCPP, AC_PROG_CPP): Require AC_PROG_CXX/CC.
2000-12-15 11:50:18 +00:00
Akim Demaille
c39a5de569
* tests/compile.at (GNU Fortran 77): G77 is a yes'/
' var.
...
Reported by Ezra Peisach.
2000-12-15 10:55:10 +00:00
Akim Demaille
b56204f366
* tests/compile.at (GNU Fortran 77): s/g77/G77/.
...
Reported by Ezra Peisach.
2000-12-15 10:52:03 +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
2b6bd63255
* 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.
2000-12-15 07:49:13 +00:00
Akim Demaille
d1b71fdc7f
* 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).
2000-12-15 07:48:41 +00:00
Akim Demaille
dfe7f821d1
* 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.
2000-12-15 07:48:17 +00:00
Akim Demaille
112b68ac15
* tests/atgeneral.m4 (AT_INIT): Forget about `-n'.
...
Adjust so that `./testsuite -h 1 2' explains only tests 1 & 2.
2000-12-15 07:47:45 +00:00
Akim Demaille
81bd474542
* acgeneral.m4 (_AC_EVAL): New.
...
(AC_TRY_EVAL, AC_TRY_COMMAND): Use it.
2000-12-15 07:47:29 +00:00
Akim Demaille
9dc8609370
* 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.
2000-12-15 07:47:02 +00:00
Akim Demaille
feec4913d1
* m4sugar.m4 (m4_init): Catch `dnl'.
2000-12-15 07:46:47 +00:00
Pavel Roskin
5141d8613b
Regenerated.
2000-12-15 07:12:43 +00:00
Pavel Roskin
26ce6814c0
* m4sh.sh (AS_ERROR): Restore dnl at the end of the macro.
2000-12-15 07:09:41 +00:00
Pavel Roskin
86f937ed41
Synchronized with ftp://ftp.gnu.org/
2000-12-14 22:56:19 +00:00