Pavel Roskin
07948d1678
* tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL.
2001-06-06 17:54:48 +00:00
Akim Demaille
cb1bba338d
* acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work
...
properly when $1 is not a literal.
Fixes PR Autoconf/187, reported by Bram Moolenaar.
2001-06-06 15:03:29 +00:00
Akim Demaille
afa5be9dbe
Invoking AC_COPYRIGHT before AC_INIT fails.
...
* Makefile.am (.m4.m4f): Pass --fatal-warnings to m4.
* acgeneral.m4 (_m4_divert(VERSION_FSF))
(_m4_divert(VERSION_USER)): New.
(AC_COPYRIGHT): $2 is the diversion to use.
(_AC_INIT_COPYRIGHT): Use the FSF diversion.
(AC_INIT): Remove dead comments as now it's commutative.
2001-06-06 08:49:33 +00:00
Akim Demaille
ec1c2ffd43
* acgeneral.m4 (_AC_INIT_PARSE_ARGS): prefix' and
exec_prefix'
...
can be empty.
`*dir' variables cannot be NONE.
Reported by Mark Kettenis.
2001-06-05 12:44:13 +00:00
Akim Demaille
e1e6286e7b
* acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET)
...
(AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP)
(AC_TR_SH): Move as...
* m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET)
(AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP)
(AS_TR_SH): these.
(_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE)
(_AS_TR_SH_PREPARE): New.
(AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE.
* tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified.
2001-06-04 16:07:23 +00:00
Akim Demaille
4ae3e75ba5
* aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of
...
Fortran compilers to check.
(_AC_PROG_F77_V): Add '-###' as a possible option to print
information on library and object files.
(AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers
to check.
2001-06-02 15:01:13 +00:00
Pavel Roskin
8dba4e28ab
* acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps
...
for signals other than 0 - exit with code 1.
* m4sh.m4 (AS_TMPDIR): Likewise.
* autoconf.in: Likewise. Also don't rely on exit == exit $?.
* autoheader.in: Likewise.
* autoreconf.in: Likewise.
* tests/torture.at (Signal handling): New test for the above.
2001-06-02 05:49:54 +00:00
Akim Demaille
2a144793ef
Typo.
2001-06-01 17:07:05 +00:00
Akim Demaille
2de417d017
* m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error
...
message.
2001-06-01 10:55:21 +00:00
Akim Demaille
92b6534b96
* acfunctions, acheaders, acidentifiers, acmakevars, acprograms:
...
Add copyright and comments.
* acheaders: Add stdint.h.
Suggested by Paul Eggert.
2001-05-31 15:44:27 +00:00
Akim Demaille
44ce5ed5a2
* atgeneral.m4 (AT_INIT): Use $SHELL.
...
* atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H.
2001-05-31 08:24:01 +00:00
Akim Demaille
7312c775f1
* acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include
...
stdlib.h.
From Paul Eggert and Lars Hecking.
2001-05-31 07:32:27 +00:00
Steven G. Johnson
0e08ae4fe7
Added Compaq fort to the list of F95 compilers
2001-05-30 12:45:04 +00:00
Pavel Roskin
48e1475edc
* aclang.m4 (AC_PROG_CPP): Use break' instead of
break 2' since
...
_AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop.
(AC_PROG_CXXCPP): Likewise.
2001-05-23 12:27:56 +00:00
Akim Demaille
f27d468f90
* autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in,
...
* autoupdate.in: Specify the Emacs mode.
* acversion.m4.in: Rename as...
* acversion.m4: this.
* tests/Makefile.am (CLEANFILES): More garbage.
2001-05-22 14:04:22 +00:00
Akim Demaille
10f740b057
* acgeneral.m4 (AC_SEARCH_LIBS): Unobfuscate.
2001-05-19 17:33:19 +00:00
Akim Demaille
f5d0e4f28b
* aclang.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): No longer use the
...
`maybe' strategy: first try cpp's exit status, then its stderr.
(AC_PROG_CPP, AC_PROG_CXXCPP): Adjust.
* tests/compile.at (AC_PROG_CPP via CC): Simplify mycc.
Remove unrelated code.
2001-05-11 15:54:43 +00:00
Akim Demaille
a077f8d61b
If AC_PROG_CC is invoked but not AC_PROG_CPP, then CPPFLAGS is not
...
AC_SUBST'ed.
Reported by Ralf Corsepius.
* aclang.m4 (_AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS): New.
(AC_PROG_CC, AC_PROG_CPP, AC_PROG_CXX, AC_PROG_CXXCPP)
(AC_PROG_F77): Use them.
2001-04-27 13:32:50 +00:00
Akim Demaille
7323d0af39
* aclang.m4 (_AC_PROG_PREPROC_WORKS): Rename and extend as...
...
(_AC_PROG_PREPROC_WORKS_IFELSE): this.
Adjust to admit
(AC_PROG_CPP, AC_PROG_CXXCPP): Use it.
Reported by Daniel Carroll.
2001-04-27 10:35:22 +00:00
Pavel Roskin
5eb4c7242c
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Use two backslashes
...
before double quotes in the copyright notice, since the native
OpenBSD shell removes single backslashes in here-documents with
unquoted delimiters.
2001-04-26 14:07:44 +00:00
Akim Demaille
ffac7c1b13
* acgeneral.m4 (_AC_RUN_IFELSE): Clean `core' files.
2001-04-25 15:32:09 +00:00
Akim Demaille
c33ae6e582
On HP-UX 10 ranlib --version' creates
./--version'.
...
Reported by Bob Proulx and Jim Meyering.
* acgeneral.m4 (AC_CHECK_PROG, AC_PATH_PROG): Do not invoke the
program with --version.
2001-04-24 08:19:17 +00:00
Jim Meyering
acb55c4349
(AC_FUNC_MEMCMP): Remove int main () {' and the trailing
}',
...
since AC_LANG_PROGRAM provides them.
2001-04-22 12:50:07 +00:00
Akim Demaille
16a999763e
* acgeneral.m4 (AC_OUTPUT): Close the descriptor before running
...
config.status so config.log is properly created on MS-DOS.
2001-04-20 17:03:16 +00:00
Tim Van Holder
faee7113d8
* acgeneral.m4: (_AC_INIT_SRCDIR) Handle backslashes (DOS paths) for $ac_confdir and $srcdir.
2001-04-18 16:49:11 +00:00
Akim Demaille
ca6e40c20d
Don't mess with FDs.
...
* acgeneral.m4 (_AC_INIT_DEFAULTS_FDS): Remove, replace with
inline setting up of AS_MESSAGE_FD.
(AS_MESSAGE_LOG_FD): Do not define, so that AS_MESSAGE does not
output in it before...
(_AC_INIT_CONFIG_LOG): here, which is run after the handling of
options.
2001-04-18 10:47:32 +00:00
Akim Demaille
f2f8f814dd
* acgeneral.m4 (_AC_LINK_IFELSE): Be sure to remove temporary
...
`conftest.$ac_objext', as some compilers may forget it.
2001-04-17 16:14:05 +00:00
Lars J. Aas
9bc8358b77
Reversal of
...
2001-04-15 Lars J. Aas <larsa@sim.no>
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Show options `--file'
and `--header' unconditionally.
2001-04-17 13:15:54 +00:00
Pavel Roskin
6d7689034b
* acgeneral.m4 (_AC_INIT_VERSION): Use AC_PACKAGE_NAME and
...
AC_PACKAGE_VERSION only if they are defined.
(_AC_OUTPUT_CONFIG_STATUS): Likewise.
2001-04-16 20:13:54 +00:00
Lars J. Aas
b0250ac156
Copyright 2001
2001-04-15 16:20:30 +00:00
Lars J. Aas
2f5e53c4ea
config.status --version
2001-04-15 15:57:50 +00:00
Lars J. Aas
122f1a44ef
Show config.status options --file' and
--header' unconditionally.
2001-04-15 14:16:15 +00:00
Akim Demaille
48ecaeea39
* autoconf.sh (Task script): Be sure that `forbidden.rx' and
...
`allowed.rx' exist when AWK loads then.
Reported by Rainer Orth.
2001-04-11 16:29:14 +00:00
Lars J. Aas
c454faa038
config.status logging to config.log
2001-04-10 11:33:50 +00:00
Lars J. Aas
06f9c77fc7
Create config.log after processing --help and --version.
2001-04-04 15:50:38 +00:00
Lars J. Aas
286c116e6d
Version information patches.
2001-04-04 12:52:29 +00:00
Akim Demaille
75a3a3d326
* m4sh.m4 (AS_BASENAME): New.
...
(AS_SHELL_SANITIZE): Set `$as_me'.
* acgeneral.m4: Don't set as_me; AS_SHELL_SANITIZE now does this.
* tests/atgeneral.m4: Likewise.
(AT_INIT): Use $PATH_SEPARATOR for walking the path.
* autoconf.sh: Be DOS-friendly when setting as_me and M4.
Add quotes to support spaces in $tmp.
Work around problem in DJGPP port of awk by using a temporary file.
* autoheader.sh: Be DOS-friendly when setting as_me.
* autoreconf.sh: Be DOS-friendly when setting as_me, dir and
template_dir.
2001-03-30 12:49:36 +00:00
Lars J. Aas
e620bb0400
* acgeneral.m4 (AC_INIT_VERSION): Improved version information string
...
for `configure --version'.
2001-03-27 16:48:27 +00:00
Akim Demaille
125764c93d
* tests/atgeneral.m4: s/Testing suite/Test suite/g.
...
From Jim.
(AT_INIT): Adjust the error message on invalid options.
* tests/foreign.at (Libtool): Skip Libtool 1.3 too.
2001-03-20 13:59:27 +00:00
Akim Demaille
830cc1d4ba
* configure.in: Bump to 2.49e.
2001-03-19 18:14:44 +00:00
Akim Demaille
608985663d
* tests/atgeneral.m4 (AT_INIT): Fix the at_diff test.
...
Reported by Nicolas Joly.
2001-03-19 14:31:00 +00:00
Akim Demaille
21d57428ee
* acgeneral.m4 (_AC_PREPROC_IFELSE): Redirect stdout out of the
...
_AC_EVAL_STDERR invocation to avoid `illegal io' on Ultrix.
Reported by Harlan Stenn, and fixed by Jim Meyering.
2001-03-19 13:32:34 +00:00
Akim Demaille
7a099a5bf9
* acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Don't hard code
...
`/bin/sh', use $SHELL.
From Paul Eggert.
2001-03-19 13:29:02 +00:00
Akim Demaille
848752c32f
* acfunctions.m4 (AC_FUNC_STRERROR_R): Update to
...
fileutils-4.0.42's.
2001-03-19 11:22:10 +00:00
Akim Demaille
a21d079e63
* tests/atgeneral.m4 (AT_INIT): Don't always create `empty', rather
...
do it only when diffing `/dev/null' is not supported.
And use `at-devnull' instead of `empty'.
2001-03-19 11:06:46 +00:00
Akim Demaille
cdafb1f7e8
* tests/aclocal.m4: Fix some typos. Also ignore $PATH_SEPARATOR.
...
* tests/atconfig.in: Set PATH_SEPARATOR to the proper
path separator. Set SHELL here...
* tests/atgeneral.m4: ... instead of here. Use $PATH_SEPARATOR
when setting AUTOTEST_PATH. Don't default tests to "all" before
deciding whether the help text is needed.
* tests/semantics.at: Use the correct path separator.
2001-03-13 12:43:14 +00:00
Akim Demaille
8490bcc359
* aclang.m4 (AC_PROG_F77_C_O): define F77_NO_MINUS_C_MINUS_O
...
when test fails, not when it succeeds(!).
2001-03-13 12:28:19 +00:00
Akim Demaille
b5af527e15
* acgeneral.m4 (AC_OUTPUT): In the AU_DEFUN definition, don't try
...
to issue an obsolete message, it can't work for macros being
defined both with AC_DEFUN and AU_DEFUN.
Hence do it in the AC_DEFUN definition.
2001-03-08 16:28:03 +00:00
Akim Demaille
f9c9bd2420
* tests/atgeneral.m4 (AT_INIT): Register at-setup-line and
...
at-check-line for removal.
Check for the presence of at-check-line only when $at_test was
really a test.
Reported by Pavel.
2001-03-05 15:58:31 +00:00
Pavel Roskin
42e1d2db7b
* tests/atgeneral.m4 (AT_INIT): s/am_me/as_me/. Quote AT_CHECK
...
in the error message.
2001-03-04 08:08:55 +00:00