Pavel Roskin
ff99097cef
* tests/Makefile.am: AC_PREFIX_PROGRAM and AC_F77_FUNC excluded
...
from testing because they require an argument.
* tests/atspecific.m4: Make sure that configure doesn't write
anything to stderr.
2000-09-20 13:12:13 +00:00
Pavel Roskin
3ad877f56d
* acspecific.m4 (_AC_HEADER_TIOCGWINSZ_IN_TERMIOS_H): Cache
...
variable wasn't always set inside AC_CACHE_CHECK.
(_AC_HEADER_TIOCGWINSZ_IN_SYS_IOCTL): Likewise.
2000-09-20 13:01:44 +00:00
Pavel Roskin
5eda671dae
* libm4.m4 (m4_ifvanl): Don't output a newline for empty
...
arguments
2000-09-20 10:45:10 +00:00
Akim Demaille
c550ac5ae5
* tests/atspecific.m4 (AT_TEST_MACRO): Rename as...
...
(AT_CHECK_MACRO): this. All dependencies adjusted.
2000-09-19 18:08:38 +00:00
Akim Demaille
eb875d8240
* tests/aclocal.m4.new (AC_ENV_SAVE): Skip POW_LIB, used by
...
AC_FUNC_STRTOD.
From Bernard Dautrevaux.
2000-09-19 15:36:39 +00:00
Akim Demaille
a5c2f0e5d9
* tests/atgeneral.m4 (AT_DATA): Use _ATEOF instead of EOF.
2000-09-19 15:36:09 +00:00
Akim Demaille
c27e377c86
* tests/semantics.m4 (AC_PROG_CPP with warnings): Minor
...
simplification.
2000-09-19 15:20:04 +00:00
Akim Demaille
66dcecdf2f
* autoconf.sh (optarg): More robust expr invocation.
...
* autoreconf.sh: Likewise.
* autoupdate.sh: Likewise.
* autoheader.sh: Likewise.
Reported by Bernard Dautrevaux.
2000-09-19 12:35:01 +00:00
Akim Demaille
82479fc371
* acgeneral.m4 (AU_ALIAS): Do not use `defn' since then autoupdate
...
would replace an old macro call with the new macro body instead of
the new macro call.
* tests/tools.m4 (autoupdate): Test an AU_ALIAS'd macro update.
2000-09-19 12:21:47 +00:00
Akim Demaille
a096ddee16
* tests/atspecific.m4 (_AT_CHECK_AC_MACRO): New macro.
...
(AT_TEST_MACRO): Use it.
* tests/semantics.m4 (AC_PROG_CPP with warnings, AC_PROG_CPP
without warnings): New tests.
2000-09-19 10:37:57 +00:00
Akim Demaille
3674f52d77
* acgeneral.m4 (_AC_OUTPUT_SUBDIRS): Check for configure.gnu
...
as well.
(_AC_INIT_HELP): Likewise.
(NEWS): Note checking for configure.gnu.
* doc/autoconf.texi: Document checking for configure.gnu when
recursing subdirectories.
2000-09-18 11:05:41 +00:00
Akim Demaille
4b6e36a5f7
* acfunctions.m4 (AC_FUNC_GETLOADAVG): Restore the initial value
...
of LIBS. Otherwise, everyone ends up linking with -lelf for some
configurations.
Reported by Mike Stone.
2000-09-18 10:53:01 +00:00
Akim Demaille
949f06e0e8
* aclang.m4 (AC_PROG_CPP): Use double quotes in the for loop
...
and eliminate ac_tmp_cpp.
(AC_PROG_CXXCPP): Use double quotes in the for loop and
eliminate ac_tmp_cxxcpp.
2000-09-14 07:55:32 +00:00
Akim Demaille
ced19e1e5f
* acgeneral.m4 (_AC_TRY_CPP): Don't filter out conftest.$ac_ext
...
from the output - it is only printed by Visual C that gives
correct exit status.
* aclang.m4 (AC_PROG_CPP): Don't try '${CC-cc} -nologo -E'
by the same reason.
2000-09-14 07:50:14 +00:00
Akim Demaille
c08bb24cf3
* aclocal.m4 (_AC_PROG_CPP_WORKS): Don't use AC_REQUIRE_CPP -
...
it's useless here. Rename to ...
(_AC_PROG_PREPROC_WORKS): ... this.
2000-09-12 16:05:29 +00:00
Akim Demaille
0c6d235eeb
* acspecific.m4 (AC_PROG_INSTALL): Exclude c:install on AmigaOS.
2000-09-12 15:03:13 +00:00
Akim Demaille
368c1810a2
The test suite fails on some hosts because for instance
...
AC_INIT
AC_CHECK_FUNC(exit)
will not look for a compiler, it will just use `cc'.
Macros that need a compiler should require one.
2000-09-12 13:59:55 +00:00
Akim Demaille
58e8d5c397
* acgeneral.m4 (_AC_TRY_CPP): New macro. It runs the preprocessor
...
and checks whether it produces errors or warnings. Don't put grep
output into a variable, use another grep instead.
(AC_TRY_CPP): Use _AC_TRY_CPP. Copy conftest.err to config.log
if the case of an error.
* aclang.m4 (AC_LANG(C), AC_LANG(C++), AC_LANG(Fortran 77)):
define AC_LANG_ABBREV to the short language name.
(_AC_PROG_CPP_WORKS): New macro. It checks whether the current
preprocessor can be used to check for existance of headers.
Most code taken from ...
(AC_PROG_CPP): ... here. Use _AC_PROG_CPP_WORKS. Use shell
"for" to find working CPP. Use AC_LANG_PUSH(C) and AC_LANG_POP -
it's a macro for C only.
(AC_PROG_CXXCPP): Rewritten using _AC_PROG_CPP_WORKS.
2000-09-12 13:02:29 +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
63ff092513
* acgeneral.m4 (AC_EGREP_CPP): Use additional quotes instead of
...
changequote.
2000-09-12 10:23:08 +00:00
Akim Demaille
25b095234a
* acgeneral.m4 (AC_ARG_ENABLE,AC_ARG_WIDTH): Add trailing
...
semicolon to final fi.
2000-09-12 10:07:33 +00:00
Akim Demaille
d84e38bbb0
* acgeneral.m4 (_AC_WARNING_ERROR_IFELSE)
...
(__AC_WARNING_ERROR_IFELSE): New macros for checking whether
warnings should be considered errors.
(_AC_DIAGNOSE): Use _AC_WARNING_ERROR_IFELSE.
2000-09-11 09:56:18 +00:00
Akim Demaille
63ff24b580
* autoconf.sh: Proprerly report names of unexpanded macros that
...
begin with an underscore
2000-09-11 07:16:34 +00:00
Akim Demaille
4148b84bca
* doc/autoconf.texi (Preset Output Variables): Correctly specify
...
what languages are affected by CPPFLAGS, LDFLAGS and LIBS.
Extended description of LDFLAGS and LIBS.
(Compilers and Preprocessors, C Compiler Characteristics):
Recommend Automake as the source of ansi2knr.
(Autoconf Language, Quotation and Nested Macros): English fixes.
(Quotation and Nested Macros): Unclear example replaced with
an explanation of when m4 expands quotes. Added explanation why
unquoted calls are dangerous.
2000-09-11 07:04:38 +00:00
Akim Demaille
62113b916e
* doc/autoconf.texi: Always use one space before the opening
...
parenthesis in @defmac
2000-09-08 15:38:21 +00:00
Akim Demaille
a32137777d
Typo.
2000-09-06 14:11:52 +00:00
Akim Demaille
d2cb51aef4
* acspecific.m4 (_AC_OBJEXT): No longer use AC_COMPILE_IFELSE,
...
which uses $ac_objext hence depends upon _AC_OBJEXT.
* aclang.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): Call
_AC_EXEEXT before _AC_OBJEXT since the former needs $ac_objext.
2000-09-06 13:05:58 +00:00
Akim Demaille
5aa6b910ce
* acspecific.m4 (_AC_EXEEXT): Set extension to void if linking
...
creates both an unsuffixed file and suffixed ones.
2000-09-06 13:03:08 +00:00
Akim Demaille
a81a0372c4
* autoconf.texi: English and typo fixes.
2000-09-06 09:06:21 +00:00
Akim Demaille
82bbd6fe4e
* autoconf.sh: Consider undefined macros as errors.
...
* tests/base.m4 (unexpanded macros): Expect error, not warning
2000-09-05 10:19:01 +00:00
Akim Demaille
bddb504cff
* aclang.m4 (_AC_PROG_F77_GNU): Run command from standard input so
...
that we can get some standard output.
2000-09-05 09:14:10 +00:00
Akim Demaille
287ac9cdb8
* autoscan.pl: Repair broken Getopt::Long use.
2000-09-04 14:50:50 +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
0b9ac437b3
Version 2.49a.
2000-08-11 12:55:36 +00:00
Akim Demaille
cf3aea2302
* aclang.m4 (AC_NO_EXECUTABLES): New macro.
2000-08-11 12:41:55 +00:00
Akim Demaille
81f36d316c
* tests/base.m4 (AC_SHELL_MKDIR_P): Remove `a' too.
2000-08-11 09:28:24 +00:00
Akim Demaille
886e24fc21
* configure.in: Bump version to 2.49a.
2000-08-11 09:26:56 +00:00
Akim Demaille
9fe002dcf5
* autoconf.sh: Change exit N' to
(exit N); exit' to provide
...
the correct exit status when an exit trap is taken.
2000-08-11 08:51:34 +00:00
Akim Demaille
c6936cf778
Typo in ChangeLog.
2000-08-11 08:34:52 +00:00
Akim Demaille
04d6db4b2a
* acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH,
...
AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Deactivate
their AU_ALIAS definition: Automake 1.4 does not quote the name of
these macros, hence when Autoconf reads Automake's definition the
name is expanded with unpredictable results.
2000-08-11 08:25:15 +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
100c8f42fb
Update TODO.
2000-08-09 07:41:52 +00:00
Akim Demaille
4df82da14e
* autoconf.sh (finalize.awk): Don't leave spaces before the user
...
function calls.
Reported by John David Anglin.
* doc/autoconf.texi (Limitations of Usual Tools): Start the AWK
section.
* tests/tools.m4 (AWK portability): New test.
2000-08-09 06:53:07 +00:00
Akim Demaille
7d811d6ff1
* Makefile.am: substitute @bindir@ in shell scripts, needed by
...
autoheader
2000-08-09 06:19:36 +00:00
Akim Demaille
55d7dff046
* acfunctions.m4 (_AC_LIBOBJ_ALLOCA, AC_REPLACE_FUNCS): Simplify
...
${foo} into $foo.
* aclang.m4 (AC_LANG(C), AC_LANG(C++)): Move some internal
comments into the header comment.
* acgeneral.m4 (AC_TRY_CPP): Likewise.
2000-08-07 12:33:17 +00:00
Akim Demaille
970d1bc9d0
* tests/tools.m4 (undefined macros): New test.
2000-08-07 12:07:43 +00:00
Akim Demaille
6b9ecd5669
* autoconf.sh (finalize.awk): New subtool, eved from the previous
...
literal AWK program that performed the `oline' and quadrigraphs
substitution.
Fix its `oline' computation which was dead wrong when there are
empty lines (i.e., always).
Enhance it in order to look for and report unexpanded macro.
Don't let it pretend there are bugs in Autoconf (c:, the test
suite makes this scenario pretty unlikely as opposed to an actual
user bug.
Catch `m4_' too.
Remove the shell snippet which used to do this.
2000-08-07 12:07:17 +00:00
Akim Demaille
787433a2e8
* acgeneral.m4 (AC_MSG_NOTICE): New macro, suggested by Pavel
...
Roskin.
(AC_MSG_ERROR): Use it.
2000-08-07 12:06:49 +00:00
Akim Demaille
01383c4818
* acspecific.m4 (AC_PROG_RANLIB): Use AC_CHECK_TOOL.
...
* doc/autoconf.texi (Limitations of Usual Tools): Typos.
2000-08-04 09:21:52 +00:00