Commit Graph

3097 Commits

Author SHA1 Message Date
Paul Eggert
df6c6cfc6d Version 2.61.
* configure.ac (AC_INIT): Bump to 2.61.
* NEWS: Likewise.
2006-11-17 19:04:48 +00:00
Paul Eggert
df2784c436 * tests/autotest.at (Macro with backslash in a test title):
Comment out for now, as this tests neither fails nor passes
reliably.  Problem reported by Ralf Wildenhues.
2006-11-17 09:17:38 +00:00
Paul Eggert
7f650f671a * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos
in previous change, which caused test failures.
2006-11-17 00:37:17 +00:00
Paul Eggert
ac3beb3155 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out
code for --enable, --disable, --with, and --without to...
(_AC_INIT_PARSE_ENABLE): ... a new macro.
* doc/autoconf.texi (Package Options):
* NEWS: Document that AC_ARG_ENABLE allows dots, too.
2006-11-17 00:16:27 +00:00
Paul Eggert
755c72db8f Import upstream changes. 2006-11-17 00:00:31 +00:00
Paul Eggert
0e4acb04cc * NEWS: Document the AC_ARG_WITH change.
2006-11-13  Bruno Haible  <bruno@clisp.org>

* lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without
options, transliterate also dots to underscores.
(_AC_ENABLE_IF): Transliterate also dots to underscores.
* doc/autoconf.texi (External Software): Document that AC_ARG_WITH's
first argument may also contain dots.
2006-11-13 20:40:06 +00:00
Paul Eggert
5bcf9bc19c * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for
benefit of platforms like Solaris+GCC where it is common to have a
non-working g++ installation.
2006-11-09 21:03:54 +00:00
Paul Eggert
570310e87e * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs
and non-portable sed scripts, and use $CONFIG_SHELL when invoking
./micro-suite.
2006-11-09 05:59:00 +00:00
Paul Eggert
b8454422fa * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set
ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'.
Imported from a similar patch to gnulib by Bruno Haible.

2006-11-08  Paul Eggert  <eggert@cs.ucla.edu>
2006-11-08 21:44:32 +00:00
Paul Eggert
aebb1f2c2c * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS.
* doc/autoconf.texi (C Compiler): Document them.
* lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS):
New macros, taken from gnulib.
2006-11-08 08:26:43 +00:00
Paul Eggert
4bb5b9260b * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in
Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by
Matthew Woehlke.
2006-11-08 06:25:34 +00:00
Ralf Wildenhues
a015d2f327 * tests/torture.at (Configuring subdirectories): Do not skip
Automake 1.10 nor future Automake 11.1 (sic).
2006-10-28 09:41:07 +00:00
Paul Eggert
45cd8714aa Handle special characters in test case titles correctly.
* lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all
properly.
(AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere.
* tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST
argument.  Extend to check titles printed by ./micro-suite and
./micro-suite -l and the title in micro-suite.log.
(Backquote in a test title,
Single-quote in a test title,
Double-quote in a test title): Don't expect failure anymore.
(Backslash in a test title): Put a non-whitespace character after the
backslash so that Bourne shells might actually see it as an escape
sequence.
(Brackets in a test title,
Pound in a test title,
Comma in a test title,
Quoted Macro in a test title,
Macro in a test title,
Macro with single-quote in a test title): New tests.
(Macro with backquote in a test title,
Macro with double-quote in a test title,
Macro with backslash in a test title): New tests expected to fail.
* tests/torture.at (#define header templates): M4-quote this title in
AT_SETUP call so that no M4 code is commented inadvertently somewhere.
The visible effect was a stray [] in the testsuite output.
2006-10-27 23:05:33 +00:00
Ralf Wildenhues
84c6b66796 * doc/autoconf.texi (Limitations of Builtins): Do not invoke
`trap ... 0' inside a function, for AIX sh.
2006-10-27 23:01:06 +00:00
Paul Eggert
e6be421d52 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0,
since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build
5363) simply issues a warning when dividing by zero at compile
time.  Problem reported by Elias Pipping.
2006-10-26 19:30:32 +00:00
Eric Blake
0ae1775302 * THANKS: Update.
* doc/autoconf.texi (Evaluation Macros): Improve the example to
show effect on macros that expand with commas.
Reported by Joel E. Denny.
2006-10-26 16:32:11 +00:00
Eric Blake
e7c6c448e4 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies):
Also work with M4 1.4.8.
2006-10-26 14:41:44 +00:00
Paul Eggert
33d227cece * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by
Jim Meyering.
2006-10-25 20:21:05 +00:00
Paul Eggert
a6fb86d615 * tests/tools.at (autom4te --force): New test, verifies that
`--force' always rewrites the output file.
2006-10-25 18:31:02 +00:00
Paul Eggert
935387a0ef * doc/autoconf.texi (Limitations of Usual Tools): Document that rm
needs operands on NetBSD 2.0.2.  Problem reported by Bruno Haible.
2006-10-25 00:35:45 +00:00
Stepan Kasal
92cedb6df4 * tools/trace.at (autoconf --trace: user macros): Test `$%'. 2006-10-24 19:44:31 +00:00
Paul Eggert
7736fa2754 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE):
If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than
AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko
reported by Nelson H. F. Beebe for Coreutils 6.4.
2006-10-24 19:34:09 +00:00
Stepan Kasal
b0502ed4b8 . 2006-10-24 19:33:28 +00:00
Stepan Kasal
6f3e11dfb1 * bin/autom4te.in (handle_m4): Do not redirect stdin to
/dev/null since the heuristics for interactive behaviour was
fixed in CVS m4.
2006-10-24 18:25:30 +00:00
Stepan Kasal
627a3683fd Give credit. 2006-10-24 16:03:52 +00:00
Stepan Kasal
1a02d1057d * bin/autom4te.in: With --force, always refresh the output
file.
2006-10-24 15:57:57 +00:00
Stepan Kasal
bc2af5fe6a * bin/autoconf.as: Fix the verbose message at the end. 2006-10-24 13:13:29 +00:00
Paul Eggert
d64edccae6 * configure.ac (AC_INIT): Bump to 2.60c.
* NEWS: Likewise.
2006-10-23 07:18:28 +00:00
Paul Eggert
3389d38eb2 Version 2.60b. 2006-10-23 06:50:26 +00:00
Paul Eggert
12308e1b81 Import this change from Texinfo:
2006-10-15  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex: automake 1.10
2006-10-23 06:21:53 +00:00
Paul Eggert
c8b3323bee * NEWS: Remove AC_CACHE_CHECK_INT.
* doc/autoconf.texi (Caching Results): Likewise.
* lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from
AC_CACHE_CHECK_INT, since it's no longer public.
* lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed.
* tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT.
2006-10-23 06:12:40 +00:00
Ralf Wildenhues
4de32559bb * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos. 2006-10-20 16:25:30 +00:00
Eric Blake
a542d202ed * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro.
(m4_maketemp): Avoid warnings with M4 1.9a.
* lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color
m4_mkstemp.
* doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp.
* NEWS: Likewise.
2006-10-20 01:34:32 +00:00
Eric Blake
fd8dd2e994 * doc/autoconf.texi (Setting Output Variables): Fix typo. 2006-10-17 02:31:44 +00:00
Eric Blake
c94a138300 * bin/autoconf.as (version): Reword to match GNU Coding
Standards.
* bin/autoheader.in (version): Likewise.
* bin/autom4te.in (version): Likewise.
* bin/autoreconf.in (version): Likewise.
* bin/autoscan.in (version): Likewise.
* bin/autoupdate.in (version): Likewise.
* bin/ifnames.in (version): Likewise.
2006-10-16 20:58:44 +00:00
Paul Eggert
25cb6b0862 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before
looking for special shell characters.
* lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the
macro defined by AS_VAR_PUSHDEF before passing it as a
parameter.
* lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL):
* lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB):
* lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER):
* lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL):
(_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT):
Likewise.
* lib/autotest/general.m4 (AT_INIT): Quote parameters of
AS_VAR_* properly.
* tests/m4sh.at (AS_LITERAL_IF): New test.
2006-10-15 01:12:02 +00:00
Paul Eggert
6a414a9d3f (Imported from Automake.)
* build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m,
which incorrectly sets the mode of an existing destination
directory.  In some cases the unpatched install-sh could do the
equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD
system.  We hope this is rare in practice, but it's clearly worth
fixing.  Problem reported by Alex Unleashed in
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>.
Also, don't bother to check for -m bugs unless we're using -m;
suggested by Stepan Kasal.

2006-10-14  Paul Eggert  <eggert@cs.ucla.edu>

Import this change from Automake:

2006-08-23  Alexandre Duret-Lutz  <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability
is enabled by default with gnu and gnits strictness.
Report from Bruno Haible.

2006-03-10  Alexandre Duret-Lutz  <adl@gnu.org>
* lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in
gnu and gnits modes.

Import this change from Config:

2006-09-20  Ben Elliston  <bje@gnu.org>
* build-aux/config.sub (score, score-*): New.

Import this change from Gnulib:

2006-09-16  Karl Berry  <karl@gnu.org>
* doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec,
to avoid sectioning errors.

Import these changes from Texinfo:

2006-10-04  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright.
(\quoteexpand): rename to \rquoteexpand.
(\codequoteleft): new def, to look for @set codequotebacktick.
(\lquoteexpand, \quoteexpand): new defs.
(\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's.
(\code): must use new \...Char values, since now ` is active.

2006-08-26  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (\textdegree): New command.

2006-08-12  Karl Berry  <karl@gnu.org>
* build-aux/texinfo.tex (error \box0): smaller font.
2006-10-15 00:58:25 +00:00
Ralf Wildenhues
3c556e3a0b * doc/autoconf.texi (Autoheader Macros): Fix syntax error. 2006-10-14 09:54:32 +00:00
Stepan Kasal
9ae405343e * doc/autoconf.texi (Autoheader Macros): Warn that the text
added to the template can get mangled.
2006-10-13 18:26:38 +00:00
Ralf Wildenhues
85033df7df * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test,
include the default headers, and redefine obstack_chunk_alloc
and obstack_chunk_free.  Fixes false failure with glibc.
2006-10-13 05:19:20 +00:00
Paul Eggert
ccf4393e35 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p,
for backward compatibility with Libtool 1.5.22.  Problem reported
by Ralf Wildenhues.
2006-10-12 19:44:22 +00:00
Ralf Wildenhues
4366ba4748 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require
AC_PROG_CC.
Report by IOhannes m zmoelnig <zmoelnig@iem.at>.
2006-10-12 17:01:45 +00:00
Paul Eggert
13e36eb7cd * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for
the NonStop platform.
* doc/autoconf.texi (Posix Variants): Likewise.
* lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise.
2006-10-11 22:38:42 +00:00
Paul Eggert
1681d462cb * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro.
(AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p.
(_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p.
Use a better substitute, by inspecting the output of "ls"
rather than just using ":".
* lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X
rather than AS_EXECUTABLE_P, since we needn't worry about
non-regular files here.
2006-10-11 21:50:57 +00:00
Paul Eggert
520f7f02ed * NEWS: Autoconf-generated shell scripts no longer export BIN_SH,
due to configuration hassles with this.  See Tonya Underwood's report
<http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>.
* doc/autoconf.texi (Special Shell Variables): Likewise.

2006-10-11  Paul Eggert  <eggert@cs.ucla.edu>
    Stepan Kasal  <kasal@ucw.cz>

* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH.
(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.

2006-10-11  Stepan Kasal  <kasal@ucw.cz>

* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the
  initialization which is not inherited through the environment
(_AS_BOURNE_COMPATIBLE): ... to this new macro.
(_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE.
2006-10-11 19:35:57 +00:00
Paul Eggert
43a3be8e55 * doc/autoconf.texi (Limitations of Usual Tools): Describe
problems with mkdir -p -m.
2006-10-09 22:51:35 +00:00
Paul Eggert
b98231106c * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove
comment about ac_cpp_err; it was incorrect, and anyway
ac_cpp_err is being removed below.
* lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't
set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag
are both 'yes'.  In fact, don't bother setting ac_cpp_err at all;
nobody uses it.
(_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests
with werror_flag and conftest.err and so forth.  This is more
compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves,
and anyway the user shouldn't normally want to see this gorp logged.
Problem reported by Ralf Wildenhues.
* lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is
empty, not 'no', since the rest of the code uses 'test -z'.
2006-10-06 17:43:55 +00:00
Stepan Kasal
ee62b2bba5 Cancel the previous change for now. 2006-10-06 15:31:26 +00:00
Paul Eggert
4165f41939 Improve log entry. 2006-10-04 21:18:54 +00:00
Paul Eggert
71e8fdea43 * doc/autoconf.texi (Special Shell Variables): Autoconf-generated
shel scripts no longer export BIN_SH, due to configuration
hassles with this.
* lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH
or DUALCASE.
(_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix.
Use AS_EXECUTABLE_P rather than test -f.
(AS_SHELL_SANITIZE): Set DUALCASE.
(AS_EXECUTABLE_P): Just invoke as_executable_p.
(_AS_TEST_PREPARE): Default to test -f, rather than to nothing.
2006-10-04 21:16:06 +00:00