12006-11-17 Paul Eggert <eggert@cs.ucla.edu> 2 3 Version 2.61. 4 5 * configure.ac (AC_INIT): Bump to 2.61. 6 * NEWS: Likewise. 7 8 * tests/autotest.at (Macro with backslash in a test title): 9 Comment out for now, as this tests neither fails nor passes 10 reliably. Problem reported by Ralf Wildenhues. 11 122006-11-16 Paul Eggert <eggert@cs.ucla.edu> 13 14 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ENABLE): Fix some typos 15 in previous change, which caused test failures. 16 172006-11-16 Stepan Kasal <kasal@ucw.cz> 18 19 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Factor out 20 code for --enable, --disable, --with, and --without to... 21 (_AC_INIT_PARSE_ENABLE): ... a new macro. 22 * doc/autoconf.texi (Package Options): 23 * NEWS: Document that AC_ARG_ENABLE allows dots, too. 24 252006-11-16 Paul Eggert <eggert@cs.ucla.edu> 26 27 Import these changes from config via gnulib: 28 29 2006-11-15 Ben Elliston <bje@gnu.org> 30 31 From Josselin Mouette <joss@debian.org>: 32 * build-aux/config.guess (SX-8:SUPER-UX:*:*): New. 33 34 2006-11-08 Ben Elliston <bje@gnu.org> 35 36 * build-aux/config.guess (authenticamd:Interix*:[3456]*): Another AMD64. 37 38 2006-11-07 Steve Woodford <scw@NetBSD.org> 39 Ben Elliston <bje@gnu.org> 40 41 * build-aux/config.guess (*:NetBSD:*:*): Handle sh5el arch. 42 * build-aux/config.sub (sh5el): New basic_machine. 43 44 45 Import this change from coreutils: 46 47 2006-02-13 Jim Meyering <jim@meyering.net> 48 49 * GNUmakefile (all): Emit diagnostics to stderr, not stdout. 50 51 52 Import this change from gnustandards via gnulib: 53 54 2006-11-15 Karl Berry <karl@gnu.org> 55 56 * standards.texi: core -> memory, throughout. 57 (CPU Portability): show correct example of calling write 58 on a char value; thanks to Paul Eggert for the code. 59 Both of these suggestions from Eugene Y. Vasserman. 60 61 62 Import these changes from texinfo via gnulib: 63 64 2006-11-08 Karl Berry <karl@gnu.org> 65 66 * build-aux/texinfo.tex (\dopdfimage): look for png, jpg/jpeg/JPG, and 67 as well as pdf images, since they are supported in pdftex with 68 no further ado. 69 70 2006-11-05 Karl Berry <karl@gnu.org> 71 72 * doc/texinfo.tex (Image Syntax): don't mention GIF any more. 73 742006-11-13 Paul Eggert <eggert@cs.ucla.edu> 75 76 * NEWS: Document the AC_ARG_WITH change. 77 782006-11-13 Bruno Haible <bruno@clisp.org> 79 80 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): For --with, --without 81 options, transliterate also dots to underscores. 82 (_AC_ENABLE_IF): Transliterate also dots to underscores. 83 * doc/autoconf.texi (External Software): Document that AC_ARG_WITH's 84 first argument may also contain dots. 85 862006-11-09 Paul Eggert <eggert@cs.ucla.edu> 87 88 * tests/mktests.sh (ac_exclude_list): Exclude AC_PROG_CXX_C_O, for 89 benefit of platforms like Solaris+GCC where it is common to have a 90 non-working g++ installation. 91 922006-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 93 and Joel E. Denny <jdenny@ces.clemson.edu> 94 and Paul Eggert <eggert@cs.ucla.edu> 95 96 * tests/autotest.at (AT_CHECK_AT_TITLE): Fix shell quoting bugs 97 and non-portable sed scripts, and use $CONFIG_SHELL when invoking 98 ./micro-suite. 99 1002006-11-08 Paul Eggert <eggert@cs.ucla.edu> 101 102 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Set 103 ac_cv_type_long_long_int to 'yes' instead of 'cross-compiling'. 104 Imported from a similar patch to gnulib by Bruno Haible. 105 1062006-11-08 Paul Eggert <eggert@cs.ucla.edu> 107 108 * NEWS: New macros AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS. 109 * doc/autoconf.texi (C Compiler): Document them. 110 * lib/autoconf/c.m4 (AC_C_FLEXIBLE_ARRAY_MEMBER, AC_C_VARARRAYS): 111 New macros, taken from gnulib. 112 1132006-11-07 Paul Eggert <eggert@cs.ucla.edu> 114 115 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Detect bug in 116 Tandem NonStop Kernel (OSS) cc -O circa 2004, reported by 117 Matthew Woehlke. 118 1192006-10-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 120 121 * tests/torture.at (Configuring subdirectories): Do not skip 122 Automake 1.10 nor future Automake 11.1 (sic). 123 1242006-10-26 Joel E. Denny <jdenny@ces.clemson.edu> 125 and Stepan Kasal <kasal@ucw.cz> 126 127 Handle special characters in test case titles correctly. 128 * lib/autotest/general.m4 (AT_INIT): M4-quote and AS_ESCAPE AT_help_all 129 properly. 130 (AT_SETUP): M4-quote and AS_ESCAPE the title properly everywhere. 131 * tests/autotest.at (AT_CHECK_AT_TITLE): Add EXPANDED-TITLE-TO-TEST 132 argument. Extend to check titles printed by ./micro-suite and 133 ./micro-suite -l and the title in micro-suite.log. 134 (Backquote in a test title, 135 Single-quote in a test title, 136 Double-quote in a test title): Don't expect failure anymore. 137 (Backslash in a test title): Put a non-whitespace character after the 138 backslash so that Bourne shells might actually see it as an escape 139 sequence. 140 (Brackets in a test title, 141 Pound in a test title, 142 Comma in a test title, 143 Quoted Macro in a test title, 144 Macro in a test title, 145 Macro with single-quote in a test title): New tests. 146 (Macro with backquote in a test title, 147 Macro with double-quote in a test title, 148 Macro with backslash in a test title): New tests expected to fail. 149 * tests/torture.at (#define header templates): M4-quote this title in 150 AT_SETUP call so that no M4 code is commented inadvertently somewhere. 151 The visible effect was a stray [] in the testsuite output. 152 1532006-10-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 154 155 * doc/autoconf.texi (Limitations of Builtins): Do not invoke 156 `trap ... 0' inside a function, for AIX sh. 157 1582006-10-26 Paul Eggert <eggert@cs.ucla.edu> 159 160 * tests/base.at (AC_COMPUTE_INT): Test **0** rather than 1 / 0, 161 since powerpc-apple-darwin8-gcc-4.0.1 (Apple Computer, Inc. build 162 5363) simply issues a warning when dividing by zero at compile 163 time. Problem reported by Elias Pipping. 164 1652006-10-26 Eric Blake <ebb9@byu.net> 166 167 * THANKS: Update. 168 * doc/autoconf.texi (Evaluation Macros): Improve the example to 169 show effect on macros that expand with commas. 170 Reported by Joel E. Denny. 171 172 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies): 173 Also work with M4 1.4.8. 174 1752006-10-25 Paul Eggert <eggert@cs.ucla.edu> 176 177 * doc/autoconf.texi (Slashes): Document Tru64 4.0 bug reported by 178 Jim Meyering. 179 1802006-10-25 Stepan Kasal <kasal@ucw.cz> 181 182 * tests/tools.at (autom4te --force): New test, verifies that 183 `--force' always rewrites the output file. 184 1852006-10-24 Paul Eggert <eggert@cs.ucla.edu> 186 187 * doc/autoconf.texi (Limitations of Usual Tools): Document that rm 188 needs operands on NetBSD 2.0.2. Problem reported by Bruno Haible. 189 1902006-10-24 Stepan Kasal <kasal@ucw.cz> 191 192 * tools/trace.at (autoconf --trace: user macros): Test `$%'. 193 1942006-10-24 Paul Eggert <eggert@cs.ucla.edu> 195 196 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): 197 If FUNCTION-BODY is nonempty, use AC_LINK_IFELSE rather than 198 AC_COMPILE_IFELSE, to work around problem with OSF/1 4.0F fseeko 199 reported by Nelson H. F. Beebe for Coreutils 6.4. 200 201 * tests/tools.at (autoconf --trace: user macros): Remove test 202 for tracing multiline macros, since m4 1.4.7a uses a different 203 way to number lines. Problem reported by Ralf Wildenhues. 204 2052006-10-24 Stepan Kasal <kasal@ucw.cz> 206 207 * bin/autom4te.in (handle_m4): Do not redirect stdin to 208 /dev/null since the heuristics for interactive behaviour was 209 fixed in CVS m4. 210 211 * bin/autom4te.in: With --force, always refresh the output 212 file. Problem reported by Greg Schafer <gschafer@zip.com.au>. 213 214 * bin/autoconf.as: Fix the verbose message at the end. 215 2162006-10-23 Paul Eggert <eggert@cs.ucla.edu> 217 218 * configure.ac (AC_INIT): Bump to 2.60c. 219 * NEWS: Likewise. 220 2212006-10-22 Paul Eggert <eggert@cs.ucla.edu> 222 223 * NEWS: Version 2.60b. 224 225 Import this change from Texinfo: 226 2006-10-15 Karl Berry <karl@gnu.org> 227 * build-aux/texinfo.tex: automake 1.10 228 229 * NEWS: Remove AC_CACHE_CHECK_INT. 230 * doc/autoconf.texi (Caching Results): Likewise. 231 * lib/autoconf/general.m4 (_AC_CACHE_CHECK_INT): Renamed from 232 AC_CACHE_CHECK_INT, since it's no longer public. 233 * lib/autoconf/types.m4: All uses of AC_CACHE_CHECK_INT changed. 234 * tests/base.at (AC_COMPUTE_INT): Test this, not AC_CACHE_CHECK_INT. 235 2362006-10-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 237 238 * doc/autoconf.texi (Limitations of Usual Tools): Fix two typos. 239 2402006-10-19 Eric Blake <ebb9@byu.net> 241 242 * lib/m4sugar/m4sugar.m4 (m4_mkstemp): New macro. 243 (m4_maketemp): Avoid warnings with M4 1.9a. 244 * lib/emacs/autoconf-mode.el (autoconf-font-lock-keywords): Color 245 m4_mkstemp. 246 * doc/autoconf.texi (Redefined M4 Macros): Document m4_mkstemp. 247 * NEWS: Likewise. 248 2492006-10-16 Eric Blake <ebb9@byu.net> 250 251 * doc/autoconf.texi (Setting Output Variables): Fix typo. 252 253 * bin/autoconf.as (version): Reword to match GNU Coding 254 Standards. 255 * bin/autoheader.in (version): Likewise. 256 * bin/autom4te.in (version): Likewise. 257 * bin/autoreconf.in (version): Likewise. 258 * bin/autoscan.in (version): Likewise. 259 * bin/autoupdate.in (version): Likewise. 260 * bin/ifnames.in (version): Likewise. 261 2622006-10-14 Stepan Kasal <kasal@ucw.cz> 263 264 * lib/m4sugar/m4sh.m4 (AS_LITERAL_IF): Expand $1 before 265 looking for special shell characters. 266 * lib/autoconf/functions.m4 (AC_CHECK_FUNC): Do not expand the 267 macro defined by AS_VAR_PUSHDEF before passing it as a 268 parameter. 269 * lib/autoconf/general.m4 (AC_CHECK_FILE, AC_CHECK_DECL): 270 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB): 271 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW, AC_CHECK_MEMBER): 272 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): 273 (_AC_CHECK_HEADER_NEW, _AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_DIRENT): 274 Likewise. 275 * lib/autotest/general.m4 (AT_INIT): Quote parameters of 276 AS_VAR_* properly. 277 * tests/m4sh.at (AS_LITERAL_IF): New test. 278 2792006-10-14 Paul Eggert <eggert@cs.ucla.edu> 280 281 (Imported from Automake.) 282 * build-aux/install-sh (posix_mkdir): Reject FreeBSD 6.1 mkdir -p -m, 283 which incorrectly sets the mode of an existing destination 284 directory. In some cases the unpatched install-sh could do the 285 equivalent of "chmod 777 /" or "chmod 0 /" on a buggy FreeBSD 286 system. We hope this is rare in practice, but it's clearly worth 287 fixing. Problem reported by Alex Unleashed in 288 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00012.html>. 289 Also, don't bother to check for -m bugs unless we're using -m; 290 suggested by Stepan Kasal. 291 2922006-10-14 Paul Eggert <eggert@cs.ucla.edu> 293 294 Import this change from Automake: 295 296 2006-08-23 Alexandre Duret-Lutz <adl@gnu.org> 297 * lib/Autom4te/ChannelDefs.pm (usage): Mention that -Wportability 298 is enabled by default with gnu and gnits strictness. 299 Report from Bruno Haible. 300 301 2006-03-10 Alexandre Duret-Lutz <adl@gnu.org> 302 * lib/Autom4te/ChannelDefs.pm: Make -Wportability the default in 303 gnu and gnits modes. 304 305 Import this change from Config: 306 307 2006-09-20 Ben Elliston <bje@gnu.org> 308 * build-aux/config.sub (score, score-*): New. 309 310 Import this change from Gnulib: 311 312 2006-09-16 Karl Berry <karl@gnu.org> 313 * doc/fdl.texi (ADDENDUM): switch to @heading from @appendixsubsec, 314 to avoid sectioning errors. 315 316 Import these changes from Texinfo: 317 318 2006-10-04 Karl Berry <karl@gnu.org> 319 * build-aux/texinfo.tex (\singlequotechar): rename to \codequoteright. 320 (\quoteexpand): rename to \rquoteexpand. 321 (\codequoteleft): new def, to look for @set codequotebacktick. 322 (\lquoteexpand, \quoteexpand): new defs. 323 (\lquoteChar, \rquoteChar, \dashChar, \underChar: new \chardef's. 324 (\code): must use new \...Char values, since now ` is active. 325 326 2006-08-26 Karl Berry <karl@gnu.org> 327 * build-aux/texinfo.tex (\textdegree): New command. 328 329 2006-08-12 Karl Berry <karl@gnu.org> 330 * build-aux/texinfo.tex (error \box0): smaller font. 331 3322006-10-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 333 334 * doc/autoconf.texi (Autoheader Macros): Fix syntax error. 335 3362006-10-13 Stepan Kasal <kasal@ucw.cz> 337 338 * doc/autoconf.texi (Autoheader Macros): Warn that the text 339 added to the template can get mangled. 340 3412006-10-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 342 343 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): In the test, 344 include the default headers, and redefine obstack_chunk_alloc 345 and obstack_chunk_free. Fixes false failure with glibc. 346 3472006-10-12 Paul Eggert <eggert@cs.ucla.edu> 348 349 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Set as_executable_p, 350 for backward compatibility with Libtool 1.5.22. Problem reported 351 by Ralf Wildenhues. 352 3532006-10-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 354 355 * lib/autoconf/c.m4 (AC_PROG_GCC_TRADITIONAL): Require 356 AC_PROG_CC. 357 Report by IOhannes m zmoelnig <zmoelnig@iem.at>. 358 3592006-10-11 Paul Eggert <eggert@cs.ucla.edu> 360 361 * NEWS: AC_USE_SYSTEM_EXTENSIONS now defines _TANDEM_SOURCE for 362 the NonStop platform. 363 * doc/autoconf.texi (Posix Variants): Likewise. 364 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Likewise. 365 366 * lib/m4sugar/m4sh.m4 (AS_TEST_X): New macro. 367 (AS_EXECUTABLE_P): Use as_test_x rather than as_executable_p. 368 (_AS_TEST_PREPARE): Set as_test_x rather than as_executable_p. 369 Use a better substitute, by inspecting the output of "ls" 370 rather than just using ":". 371 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Use AS_TEST_X 372 rather than AS_EXECUTABLE_P, since we needn't worry about 373 non-regular files here. 374 375 * NEWS: Autoconf-generated shell scripts no longer export BIN_SH, 376 due to configuration hassles with this. See Tonya Underwood's report 377 <http://lists.gnu.org/archive/html/bug-autoconf/2006-10/msg00003.html>. 378 * doc/autoconf.texi (Special Shell Variables): Likewise. 379 3802006-10-11 Paul Eggert <eggert@cs.ucla.edu> 381 Stepan Kasal <kasal@ucw.cz> 382 383 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Don't set BIN_SH. 384 (_AS_DETECT_BETTER_SHELL): Don't look in /usr/bin/posix. 385 3862006-10-11 Stepan Kasal <kasal@ucw.cz> 387 388 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Move the 389 initialization which is not inherited through the environment 390 (_AS_BOURNE_COMPATIBLE): ... to this new macro. 391 (_AS_RUN): Call _AS_BOURNE_COMPATIBLE, not AS_BOURNE_COMPATIBLE. 392 3932006-10-09 Paul Eggert <eggert@cs.ucla.edu> 394 395 * doc/autoconf.texi (Limitations of Usual Tools): Describe 396 problems with mkdir -p -m. 397 3982006-10-06 Paul Eggert <eggert@cs.ucla.edu> 399 400 * lib/autoconf/c.m4 (_AC_PROG_PREPROC_WORKS_IFELSE): Remove 401 comment about ac_cpp_err; it was incorrect, and anyway 402 ac_cpp_err is being removed below. 403 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE): Don't 404 set ac_cpp_err to 'yesyes' if preproc_warn_flag and werror_flag 405 are both 'yes'. In fact, don't bother setting ac_cpp_err at all; 406 nobody uses it. 407 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't log our funky tests 408 with werror_flag and conftest.err and so forth. This is more 409 compatible with how _AC_PROG_PREPROC_WORKS_IFELSE behaves, 410 and anyway the user shouldn't normally want to see this gorp logged. 411 Problem reported by Ralf Wildenhues. 412 * lib/autoconf/lang.m4 (AC_LANG_WERROR): werror_flag's default is 413 empty, not 'no', since the rest of the code uses 'test -z'. 414 4152006-10-04 Paul Eggert <eggert@cs.ucla.edu> 416 417 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): 418 Use a single call to AC_DO_TOKENS rather than multiple, for 419 efficiency. 420 (_AC_LINK_IFELSE): Test that resulting file is executable. 421 Problem reported by mwoehlke in 422 <http://lists.gnu.org/archive/html/bug-coreutils/2006-10/msg00048.html>. 423 424 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Use "test -x /" rather 425 than creating a file to use with test -x; this is much faster. 426 4272006-10-02 Bruno Haible <bruno@clisp.org> 428 429 * lib/autom4te.in (Automake-preselections): Add 430 AM_GNU_GETTEXT_INTL_SUBDIR, for automake 1.10. 431 4322006-09-27 Stepan Kasal <kasal@ucw.cz> 433 434 * doc/autoconf.texi (Writing testsuite.at): Fix a typo: for 435 standard error, `experr' should be used, not `expout'. 436 4372006-09-26 Paul Eggert <eggert@cs.ucla.edu> 438 439 * lib/autoconf/functions.m4 (AC_FUNC_FSEEKO): Don't compile the 440 fseeko testing program twice; just use the earlier result. 441 * lib/autoconf/specific.m4 (_AC_SYS_LARGEFILE_MACRO_VALUE): 442 Set cache var to 'unknown' (not 'no') if leaving the macro unset 443 still doesn't let the program compile. 444 (AC_SYS_LARGEFILE): Test for _LARGE_FILES only if earlier tests 445 failed. 446 447 * lib/autoconf/functions.m4: Fix problems reported by Ralf Wildenhues. 448 (AC_FUNC_ERROR_AT_LINE): Don't bother to check for error.h. Just 449 include it, without including anything else. 450 (AC_FUNC_FSEEKO): Avoid gcc -Wall warnings about constant 451 expressions. 452 (AC_FUNC_STRNLEN): Require AC_USE_SYSTEM_EXTENSIONS. 453 4542006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 455 456 * lib/autoconf/functions.m4 (AC_FUNC_ERROR_AT_LINE): Check for 457 `error.h', and include it, for a `error_at_line' prototype. 458 Use a nonempty format string in the link test. 459 * lib/autoconf/functions.m4 (AC_FUNC_WAIT3): Include <sys/wait.h>, 460 for a declaration of wait3. 461 4622006-09-26 Paul Eggert <eggert@cs.ucla.edu> 463 464 * NEWS: AC_CHECK_DECL now also works with aggregate objects. 465 * doc/autoconf.texi (Generic Declarations): Clarify that AC_CHECK_DECL 466 can apply to constants too, and that it checks for macro defns. 467 * lib/autoconf/general.m4 (AC_CHECK_DECL): Assume C89 or better, 468 and simply cast the identifier to void. This handles structure 469 values. Problem reported by Ralf Wildenhues. 470 * tests/semantics.at (AC_CHECK_DECLS): Also check enums. 471 4722006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 473 474 * tests/semantics.at (AC_CHECK_DECLS): Also check macros, 475 structure, and function symbols. 476 4772006-09-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 478 479 * tests/semantics.at (AC_CHECK_MEMBERS): Also test with a struct 480 member. 481 4822006-09-25 Paul Eggert <eggert@cs.ucla.edu> 483 484 * NEWS: Recommend M4 1.4.7 instead of 1.4.6. 485 * README: Likewise. 486 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise. 487 4882006-09-25 Paul Eggert <eggert@cs.ucla.edu> 489 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 490 491 * lib/autoconf/functions.m4 (AC_FUNC_OBSTACK): Avoid `gcc -Wall' 492 warnings (uninitialized value). 493 (AC_FUNC_UTIME_NULL): Likewise, test for and include <utime.h> if 494 present. 495 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): Likewise, add 496 parentheses. 497 (AC_STRUCT_TM): Likewise, avoid unused variables. 498 4992006-09-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 500 501 * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment. 502 (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious. 503 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS. 504 * lib/autoconf/fortran.m4 (AC_PROG_F77, AC_PROG_FC): Likewise. 505 Report by Olly Betts. 506 5072006-09-19 Eric Blake <ebb9@byu.net> 508 509 * m4/m4.m4: Change copyright. 510 * configure: Regenerate. 511 * Makefile.in: Likewise. 512 * bin/Makefile.in: Likewise. 513 * doc/Makefile.in: Likewise. 514 * lib/Makefile.in: Likewise. 515 * lib/Autom4te/Makefile.in: Likewise. 516 * lib/autoconf/Makefile.in: Likewise. 517 * lib/autoscan/Makefile.in: Likewise. 518 * lib/autotest/Makefile.in: Likewise. 519 * lib/emacs/Makefile.in: Likewise. 520 * lib/m4sugar/Makefile.in: Likewise. 521 * man/Makefile.in: Likewise. 522 * tests/Makefile.in: Likewise. 523 524 * m4/m4.m4 (AC_PROG_GNU_M4): Check for m4 --debugfile support. 525 * bin/Makefile.am (edit): Substitute M4_DEBUGFILE. 526 * bin/autom4te.in (handle_m4): Favor --debugfile over misnamed 527 --error-output, to avoid warnings with M4 2.0. 528 5292006-09-19 Stepan Kasal <kasal@ucw.cz> 530 531 * lib/autoconf/libs.m4 (AH_CHECK_LIB): Fix quoting, to be 532 consistent with _AH_CHECK_FUNCS and _AH_CHECK_HEADERS. 533 * lib/autoconf/headers.m4 (AH_CHECK_HEADERS_DIRENT): Likewise. 534 5352006-09-15 Stepan Kasal <kasal@ucw.cz> 536 537 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Eliminate the 538 expansion of AC_CHECK_FUNCS. 539 5402006-09-14 Stepan Kasal <kasal@ucw.cz> 541 542 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Remove a 543 mistaken comment: the path has to be relative; do not use 544 the path at runtime. 545 5462006-09-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 547 548 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote the 549 argument to `--prefix' for sub-configure scripts. 550 Pass `--silent' to sub-configure scripts. 551 * tests/torture.at (Configuring subdirectories): Add tests 552 for both changes. 553 * doc/autoconf.texi (Setting Output Variables): Fix example to 554 not show `--silent' being passed to a `configure' re-run. 555 5562006-09-12 Paul Eggert <eggert@cs.ucla.edu> 557 558 * doc/autoconf.texi (Input): Clarify role of AC_CONFIG_MACRO_DIR. 559 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Do not check 560 for the existence of the directory at configure-time. That's 561 too late, anyway. Problem reported by Stefan Seefeld. 562 563 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Avoid bug in UnixWare 564 7.1.4 /usr/bin/posix/sh described by Tim Rice in 565 <http://lists.gnu.org/archive/html/bug-autoconf/2006-09/msg00017.html>. 566 5672006-09-11 Stepan Kasal <kasal@ucw.cz> 568 569 * tests/local.at (AT_CHECK_M4): Fix this so that the testsuite 570 works with GNU M4 1.4.3 again; make the normalized form 571 match the current m4 message; fix the description. 572 * test/tools.at (autom4te cache): Adapt to the change. 573 5742006-09-08 Paul Eggert <eggert@cs.ucla.edu> 575 576 * lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Add year_2050_test 577 to catch glibc bug 2821 578 <http://sourceware.org/bugzilla/show_bug.cgi?id=2821>. 579 580 Merge from gnulib as follows: Use AC_CHECK_HEADERS_ONCE instead of 581 AC_CHECK_HEADERS, and likewise for AC_CHECK_FUNCS_ONCE and 582 AC_CHECK_FUNCS. Don't check for stdlib.h, since we now 583 assume C89. 584 5852006-09-08 Stepan Kasal <kasal@ucw.cz> 586 587 * lib/autom4te.in (Autoconf-without-aclocal-m4): Move the 588 preselections ... 589 (Autoconf): ... here. 590 (Autoscan-preselections): Delete. 591 5922006-09-07 Stepan Kasal <kasal@ucw.cz> 593 594 * lib/autom4te.in (Automake-preselections): Preselect 595 AM_ENABLE_MULTILIB. 596 5972006-09-05 Paul Eggert <eggert@cs.ucla.edu> 598 599 * doc/autoconf.texi (Preset Output Variables): srcdir and 600 top_srcdir are not necessarily relative. Problem reported 601 by Dries Kimpe. 602 6032006-09-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 604 605 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Prefer xlf90/xlf95 over 606 f90/f95 because the latter drivers of AIX Fortran 9.1 do not 607 accept files with extension `.f'. For consistency, also prefer 608 xlf over f77. 609 * doc/autoconf.texi (Fortran Compiler): Remove mention of bug 610 from last patch. 611 6122006-09-05 Romain Lenglet <rlenglet@users.forge.objectweb.org> 613 614 * lib/autoconf/erlang.m4 (AC_ERLANG_CHECK_LIB): Added substitution 615 of ERLANG_LIB_VER_* variables. 616 * doc/autoconf.texi (Erlang Libraries): Document ERLANG_LIB_VER_* 617 variables. 618 6192006-09-03 Paul Eggert <eggert@cs.ucla.edu> 620 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 621 622 * doc/autoconf.texi (Limitations of Builtins): Document 'unset' 623 bugs of Bash 2.01 and 2.05a. 624 (Fortran Compiler): Document that AC_PROG_CC should be called 625 before AC_PROG_FC, due to a bug in Autoconf. 626 6272006-09-01 Paul Eggert <eggert@cs.ucla.edu> 628 629 * NEWS: New macro AC_CACHE_CHECK_INT. It replaces the 630 old AC_COMPUTE_INT, which now behaves like _AC_COMPUTE_INT 631 except the first two arguments are reversed. 632 * doc/autoconf.texi (Caching Results): New macro AC_CACHE_CHECK_INT. 633 (Generic Compiler Characteristics): AC_COMPUTE_INT no longer 634 caches nor outputs a diagnostic. Suggested by Bruno Haible. 635 * lib/autoconf/general.m4 (AC_CACHE_CHECK_INT): New macro, 636 equivalent to the old AC_COMPUTE_INT. 637 (AC_COMPUTE_INT): No longer caches or reports. New signature. 638 All uses changed to AC_CACHE_CHECK_INT. 639 * tests/base.at (AC_CACHE_CHECK_INT): New test. 640 * tests/mktests.sh (ac_exclude_list): Add AC_CACHE_CHECK_INT. 641 6422006-08-31 Paul Eggert <eggert@cs.ucla.edu> 643 644 * NEWS: AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_FUNC_GETLOADVG, 645 and AC_REPLACE_FNMATCH are now obsolescent in Autoconf. New 646 programs should use their Gnulib counterparts. 647 * doc/autoconf.texi (Particular Functions): Likewise. 648 (Macro Names, testsuite Invocation): Replace uses of these 649 obsolete macros with uses of non-obsolete macros. 650 6512006-08-29 Eric Blake <ebb9@byu.net> 652 653 * configure.ac (AC_INIT): Bump to 2.60b. 654 * NEWS: Update. 655 6562006-08-28 Eric Blake <ebb9@byu.net> 657 658 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Fix logic that was 659 mistakenly swapped on 2006-08-15. 660 6612006-08-25 Paul Eggert <eggert@cs.ucla.edu> 662 663 * NEWS: Version 2.60a. 664 6652006-08-25 Stepan Kasal <kasal@ucw.cz> 666 667 * lib/autoconf/general.m4 (_AC_LINK_IFELSE): Remove the IPA/IPO 668 file created by the PGI compiler. 669 6702006-08-25 Noah Misch <noah@cs.caltech.edu> 671 672 * lib/Autom4te/General.pm (END): Use `File::Path::rmtree' to 673 simplify the code. 674 6752006-08-25 Paul Eggert <eggert@cs.ucla.edu> 676 677 Fix Lex library problem reported to us by Julio Garvia. 678 * doc/autoconf.texi (Particular Programs): YYTEXT_POINTER is 679 for the default, which the user can override. 680 * lib/autoconf/programs.m4 (AC_PROG_LEX): Let _AC_PROG_LEX_YYTEXT_DECL 681 deal with LEXLIB. 682 (_AC_PROG_LEX_YYTEXT_DECL): Handle caching correctly; the old code 683 didn't work if some values were cached but not others. Test for 684 broken lex libraries like native ia64-hp-hpux11.22; see 685 <http://sources.redhat.com/ml/binutils/2003-12/msg00337.html>, and 686 work around the problem by preferring an empty LEXLIB to -lfl or 687 -ll. Let the user set LEXLIB='' to indicate no library needed. 688 689 * NEWS: Recommend M4 1.4.6 instead of 1.4.5. 690 * README: Likewise. 691 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise. 692 6932006-08-24 Paul Eggert <eggert@cs.ucla.edu> 694 695 Rework to use more-modern build style. 696 Many files are renamed; all uses of their names were changed. 697 * .x-sc_trailing_blank: Renamed from .x-sc_trailing_space. 698 * .x-sc_useless_cpp_parens: New file. 699 * build-aux/config.guess: Renamed from config/config.guess. Update. 700 * build-aux/config.sub: Renamed from config/config.sub. Update. 701 * build-aux/elisp-comp: Renamed from config/elisp-comp. 702 * build-aux/install-sh: Renamed from config/install-sh. Update. 703 * build-aux/mdate-sh: Renamed from config/mdate-sh. 704 * build-aux/missing: Renamed from config/missing. 705 * build-aux/texinfo.tex: Renamed from config/texinfo.tex. Update. 706 * build-aux/vc-list-files: Renamed from config/vc-list-files. 707 * config/Makefile.am: Removed. 708 * config/mkinstalldirs: Removed. 709 * config/move-if-change: Removed. 710 * m4/m4.m4: Renamed from config/m4.m4. Add (C) to copyright notice. 711 * Makefile.am (SUBDIRS): Remove config. 712 (ACLOCAL_AMFLAGS): Include from m4, not config. 713 (EXTRA_DIST): Add config/announce-gen, config/prev-version.txt. 714 (WGET, WGETFLAGS): New macros, since Makefile.maint no longer does this. 715 (autom4te-update): Rewrite with a loop. Get from gnulib, not automake. 716 Fail if there's an error. 717 * Makefile.cfg (move_if_change): Remove. 718 (wget_files): Remove. 719 (cvs_executable_files): New macro. 720 (cvs_files): Use it. Remove mkinstalldirs. Add fdl.texi. 721 (executable-update): Use $(cvs_executable_files). 722 (local-checks-to-skip): Remove. 723 * Makefile.maint: Merge from coreutils, plus add our own changes 724 (gzip_rsyncable): New macro. 725 (GZIP_ENV): Use it. 726 (CVS_LIST): Use build-aux/vc-list-files. 727 (VERSION_REGEXP): New macro. 728 (local-checks-available): Add patch-check, $(syntax-check-rules), 729 check-AUTHORS. 730 (syntax-check-rules): Compute dynamically. 731 (sc_cast_of_x_alloc_return_value): Work even if no source files. 732 (sc_cast_of_alloca_return_value): Likewise. 733 (sc_prohibit_atoi_atof): Simplify regexp. 734 (sc_no_if_have_config_h, sc_require_config_h): 735 (sc_prohibit_assert_without_use, 736 (sc_obsolete_symbols): Check for O_NDELAY. 737 (sc_texi_notab): Remove. 738 (sc-changelog): Don't make an exception for '----' lines. 739 (.re-list): Remove, so we don't have a junk file behind. 740 (sc_system_h_headers): Remove the need for .re-list. 741 (sc_the_the): New rule. 742 (sc_tight_scope): Simplify. 743 (sc_trailing_blank): Renamed from sc_trailing_space. 744 (longopt_re): New macro. 745 (sc_two_space_separator_in_usage): New rule. 746 (sc_unmarked_diagnostics): Look at all files under CVS. 747 (sc_useless_cpp_parens, patch-check, check-AUTHORS): New rules. 748 (news-date-check, changelog-check): Version is OK. 749 (po-check): Look for lib files even if not in CVS. 750 (copyright-check): Use $() not ``. 751 (maintainer-distcheck): Do not depend on changelog-check. 752 (my-distcheck): Depend on $(release_archive_dir)/$(prev-tgz). 753 Also check for -Wpointer-arith. 754 (WGET, WGETFLAGS, tgz-md5, tgz-sha1, bz2-md5, bz2-sha1): 755 (xdelta-md5, xdelta-sha1, tgz-size, bz2-size, xd-size, rel-check): 756 Remove. 757 (announcement): Add --gpg-key-id arg. 758 (cvs-sv): Remove. 759 (move_if_change): Just use mv. 760 (local_updates: Remove wget-update, po-update. 761 (po_repo, do-po-update, po-update, wget_files, get-targets): Remove. 762 (config.guess-url_prefix, config.sub-url_prefix): Remove. 763 (ansi2knr.c-url_prefix, texinfo.tex-url_prefix): 764 (standards.texi-url_prefix, make-stds.texi-url_prefix, target, url): 765 ($(get-targets)): Remove. 766 (cvs_files): Remove missing, mkinstalldirs, ansi2knr.c. 767 (gnulib_repo): Renamed from automake_repo. Get from gnulib now. 768 (cvs-update): Get from gnulib. 769 (emut_upload_commands): gnupload is in build-aux now. 770 (alpha beta major): Add changelog-check. Check version. 771 * configure.ac (AC_CONFIG_AUX_DIR): Renamed from config to build-aux. 772 (AC_CONFIG_FILES): Remove. 773 * bin/autoconf.as: Add spaces to avoid distcheck warning. 774 * config/announce-gen: Sync from coreutils. 775 * doc/make-stds.texi: Sync from gnulib. 776 * doc/standards.texi: Likewise. 777 * man/Makefile.am: Adjust for config -> build-aux renaming. 778 * tests/Makefile.am: Prefer $(FOO) to @FOO@. 779 * tests/local.at: Adjust from config -> build-aux renaming. 780 * tests/tools.at: Likewise. 781 * tests/torture.at: Likewise. 782 783 * NEWS: The C99 check now tests for vararg macros and 64-bit 784 preprocessor ints. 785 * doc/autoconf.texi (C Compiler): Document // comments, va_copy. 786 * lib/autoconf/c.m4 (_AC_PROG_CC_C99): Test varargs macros and 787 64-bit preprocessor ints. Check for static initialization of 788 long long. Remove unnecessary casts. 789 7902006-08-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 791 792 * doc/autoconf.texi (Particular Programs): Mention that 793 @INSTALL@ and @MKDIR_P@ may vary for different output files. 794 Reported by Alexandre Duret-Lutz. 795 7962006-08-24 Paul Eggert <eggert@cs.ucla.edu> 797 798 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Also ignore 799 -lgcc?* and -lSystem, for Darwin/MacOS X. Problem reported by 800 Bill Northcott in 801 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00083.html>. 802 8032006-08-22 Paul Eggert <eggert@cs.ucla.edu> 804 805 * lib/autoconf/c.m4 (AC_C_CONST): Don't used shadowed vars, to 806 pacify insanely picky compilers. Problem reported by Eric Blake. 807 808 * doc/autoconf.texi (Posix Variants): INTERACTIVE Unix is no 809 longer supported by Sun. 810 8112006-08-15 Paul Eggert <eggert@cs.ucla.edu> 812 813 * NEWS: Autoconf now uses constructs like "#ifdef HAVE_STDLIB_H" 814 rather than "#if HAVE_STDLIB_H", so that it now works with "gcc 815 -Wundef -Werror". Problem reported by David Fang in 816 <http://lists.gnu.org/archive/html/autoconf/2006-08/msg00045.html>. 817 * doc/autoconf.texi (Header Templates, Default Includes): 818 (Particular Functions, Generic Functions, Header Portability): 819 (Particular Headers, Generic Headers, Generic Declarations, Guidelines): 820 (Obsolete Macros, AC_FOO_IFELSE vs AC_TRY_FOO): 821 (Present But Cannot Be Compiled, Preprocessor Symbol Index): 822 Prefer #ifdef to #if. 823 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prefer #ifdef to #if. 824 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, _AC_FUNC_MALLOC_IF): 825 (AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF): 826 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETVBUF_REVERSED, _AC_FUNC_VFORK): 827 Likewise. 828 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): 829 (AC_HEADER_RESOLV, AC_HEADER_STAT): Likewise. 830 * lib/autoconf/specific.m4 (AC_DECL_SYS_SYGLIST): 831 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise. 832 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Don't assume that 833 S_ISDIR etc. are valid for use in #if; POSIX doesn't guarantee 834 this. 835 8362006-08-14 Paul Eggert <eggert@cs.ucla.edu> 837 838 * doc/autoconf.texi (Limitations of Usual Tools): Document sed 839 problems with arg script text that doesn't end in newline, and 840 with '-e a...'. Problems reported by Ralf Wildenhues. 841 8422006-08-12 Alexandre Julliard <julliard@winehq.org> (tiny change) 843 844 * lib/autoconf/libs.m4 (AC_PATH_X_DIRECT): Replace another 845 check for libXt by a check for libX11. 846 8472006-08-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 848 849 * doc/autoconf.texi (config.status Invocation): Adjust according 850 to last change. 851 8522006-08-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 853 854 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): `config.status 855 --help' should mention that `--version' outputs configuration 856 settings. Report by Bruno Haible. 857 8582006-08-06 Paul Eggert <eggert@cs.ucla.edu> 859 860 Fix test suite failures reported by Pierre in 861 <http://lists.gnu.org/archive/html/bug-autoconf/2006-08/msg00005.html>. 862 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't claim 863 the compiler created a file "b.out" when it didn't create anything 864 at all. 865 * lib/autoconf/specific.m4 (AC_SYS_INTERPRETER): 866 Discard stderr too, when invoking the test script. 867 8682006-08-05 Alexandre Julliard <julliard@winehq.org> (tiny change) 869 870 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Fixed a typo 871 in the restoring of the werror flag. 872 8732006-07-24 Paul Eggert <eggert@cs.ucla.edu> 874 875 * doc/autoconf.texi (Volatile Objects): Be even a little 876 less skeptical about "volatile", after discussion with 877 Bruno Haible on bug-gnulib. 878 (Limitations of Usual Tools): Warn about sed stripping 879 leading white space from text. From Bruno Haible. 880 8812006-07-20 Paul Eggert <eggert@cs.ucla.edu> 882 883 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Don't use -R if the 884 compiler complains about it, even if things works after the 885 complaint. Problem reported by Peter O'Gorman. 886 887 * doc/autoconf.texi (Preset Output Variables): Document CFLAGS, 888 CPPFLAGS, and LDFLAGS better. Problem reported by Bruno Haible. 889 Similarly for CXXFLAGS, OBJCFLAGS, ERLCFLAGS. 890 8912006-07-17 Paul Eggert <eggert@cs.ucla.edu> 892 893 * lib/autoconf/libs.m4 (AC_PATH_XTRA): Do the check for space 894 after -R regardless of host. Patrick Welche reports that this 895 fixes things on NetBSD 3.99. 896 897 * NEWS: Recommend M4 1.4.5. 898 * README: Likewise. 899 * doc/autoconf.texi (Introduction, Why GNU M4): Likewise. 900 * tests/tools.at (autom4te cache): Update wording of diagnostic 901 to match M4 1.4.5. 902 9032006-07-07 Paul Eggert <eggert@cs.ucla.edu> 904 905 * doc/autoconf.texi (C Compiler): Add a ref to Volatile Objects 906 under AC_C_VOLATILE. 907 (Volatile Objects): Be a little less skeptical about what 908 "volatile" means. Derived from thoughts by Ben Pfaff in 909 <http://lists.gnu.org/archive/html/bug-gnulib/2006-07/msg00092.html>. 910 9112006-07-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 912 913 * doc/autoconf.texi: Fix some typos. 914 9152006-07-07 Paul Eggert <eggert@cs.ucla.edu> 916 917 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE 918 more globally, since the 2006-06-30 patch didn't suffice. Problem 919 reported by Keith Marshall. Also, don't bother with builddir2, 920 since it shouldn't be needed any more. 921 9222006-07-07 Paolo Bonzini <bonzini@gnu.org> 923 924 * doc/autoconf.texi (Generic compiler characteristics): 925 Document AC_COMPUTE_INT. Fix wrong statements on Default 926 Includes for AC_CHECK_SIZEOF and AC_CHECK_ALIGNOF. 927 928 * lib/autoconf/general.m4 (AC_COMPUTE_INT): New. 929 (_AC_COMPUTE_INT): Add obsoletion warnings. 930 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF, AC_CHECK_ALIGNOF): Use 931 AC_COMPUTE_INT. 932 933 * NEWS: Document change. 934 9352006-07-05 Paul Eggert <eggert@cs.ucla.edu> 936 937 * doc/autoconf.texi (Volatile Objects): New section. 938 939 * NEWS: Document previous change. 940 9412006-07-02 Paul Eggert <eggert@cs.ucla.edu> 942 943 * lib/autoconf/types.m4 (AC_TYPE_LONG_LONG_INT): 944 Require that long long int be at least 64 bits wide. C99 requires 945 this and enough programs depend on it so we should check for it. 946 Bruno Haible reports in 947 <http://lists.gnu.org/archive/html/bug-gnulib/2006-06/msg00286.html> 948 that long long int is 32 bits wide with some nonstandard compilers. 949 (AC_TYPE_UNSIGNED_LONG_LONG_INT): Likewise. 950 9512006-06-30 Paul Eggert <eggert@cs.ucla.edu> 952 953 * tests/torture.at (Configuring subdirectories): Set CONFIG_SITE 954 to a nonexistent file, so that we don't have to worry about 955 a local site configuration that doesn't use /usr/local. 956 Problem reported by Keith Marshall in 957 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00133.html>. 958 9592006-06-28 Paul Eggert <eggert@cs.ucla.edu> 960 961 * doc/autoconf.texi: Be more consistent about using @acronym with 962 "HP" and "HP-UX". Remove mention of OSF; the old version wasn't 963 quite right (it talked about "OSF/Tru64", even though the 964 operating systems were called OSF/1, Digital UNIX, and Tru64 UNIX, 965 and it even mentioned "OSF 4"!) and at this point there's little 966 reason to talk about OSF any more, since it died in 1994. 967 (Specific Compiler Characteristics): Simplify example of 968 negative-size array. 969 (File Descriptors): Reorder to make the text flow better. 970 Remove joke about "appreciate the various levels"; I didn't get it. 971 Add remark about HP-UX sh -x bug with stderr noted by Bob Proulx in 972 <http://lists.gnu.org/archive/html/bug-coreutils/2006-06/msg00225.html>. 973 (File Descriptors, Limitations of Usual Tools): 974 Tone down the advice against renaming or removing open files. 975 (Limitations of Usual Tools): Add a new section, on 'rm'. 976 9772006-06-26 Stepan Kasal <kasal@ucw.cz> 978 979 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Use -lX11, not 980 -lXt in LIBS, idea from Karsten Hopp; this was due since 981 this change: 982 983 2005-09-18 Paul Eggert <eggert@cs.ucla.edu> 984 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h 985 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc 986 (which belong to Xt, not X itself). See Debian bug 327655. 987 9882006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 989 990 * configure.ac (AC_INIT): Bump to 2.60a. 991 * NEWS: Update. 992 9932006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 994 995 Version 2.60. 996 997 * configure.ac, NEWS: Update. 998 9992006-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1000 1001 * config/texinfo.tex: Sync from upstream. 1002 1003 * bin/autom4te.in (handle_traces): Transform the `@S|@' 1004 quadrigraph correctly in traces. 1005 1006 * NEWS, lib/Autom4te/C4che.pm, lib/autoconf/functions.m4: 1007 Fix typos. 1008 1009 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Expand tests for 1010 datarootdir-related errors only if AC_DATAROOTDIR_CHECKED is 1011 not defined. 1012 * doc/autoconf.texi (Changed Directory Variables): New node, 1013 to document the whole `datarootdir' business a bit better. 1014 * NEWS: Update. 1015 * tests/torture.at (datarootdir workaround): Extend test. 1016 Prompted by report by Alexandre Julliard. 1017 10182006-06-22 Paul Eggert <eggert@cs.ucla.edu> 1019 1020 * lib/autoconf/c.m4 (_AC_PROG_CC_C89): Check for C89 incompatibility 1021 when using default mode of IBM C 6 for AIX. Problem and two-line 1022 fix reported by Larry Jones. 1023 10242006-06-22 Alexandre Julliard <julliard@winehq.org> 1025 1026 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Avoid warning 1027 about literal '${datarootdir}' if a definition is found in the 1028 output file. 1029 10302006-06-20 Paul Eggert <eggert@cs.ucla.edu> 1031 1032 * NEWS: Use "M4" rather than "m4" when appropriate. 1033 Problem reported by Eric Blake. 1034 * doc/autoconf.texi: Likewise. 1035 Use @acronym around BSD, GCC, and GNU when appropriate. 1036 (Why GNU M4): Renamed from "Why GNU m4". 1037 (Redefined M4 Macros): Mention that Posix 1038 m4wrap takes only 1 argument, but GNU M4 1.4.x takes more. 1039 (Buffer Overruns): Mention size_t and ptrdiff_t as alternatives 1040 to int. 1041 10422006-06-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1043 1044 * bin/autom4te.in (handle_output): Do not forbid the empty 1045 pattern. 1046 * tests/tools.at (autoconf: the empty token): New test. 1047 10482006-06-20 Stepan Kasal <kasal@ucw.cz> 1049 1050 * lib/m4sugar/m4sugar.m4 (m4_init): Merge the two m4_wrap 1051 calls, so that we do not care whether they are LIFO or FIFO; 1052 in the m4_wrap, do not check which diversion is the topmost 1053 one, just check that the stack is balanced at the end. 1054 * lib/m4sugar/m4sh.m4 (AS_INIT): We are going to change the 1055 base diversion forever--pop the previous diversion before 1056 opening the new one; consequently, remove the m4_wrap call. 1057 * lib/autotest/general.m4 (AT_INIT): Likewise. 1058 * tests/m4sugar.at: Do not use 1059 m4_wrap([m4_diversion_pop([..])]), for educational purposes. 1060 10612006-06-19 Paul Eggert <eggert@cs.ucla.edu> 1062 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1063 1064 * NEWS: Document that m4wrap/m4_wrap might not be LIFO. 1065 * doc/autoconf.texi (Redefined M4 Macros): Likewise. 1066 Rework example of m4wrap token-pasting trouble so that it doesn't 1067 care whether it's LIFO or FIFO. 1068 Fix some "contrary to"s that are awkward in English. 1069 10702006-06-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1071 1072 * lib/autoconf/types.m4 (_AC_TYPE_INT): Set `$ac_cv_c_int$1_t' 1073 to `yes' instead of `int$1_t' if the type is found, for more 1074 consistent configure output (where $1 is the number of bits). 1075 (_AC_TYPE_UINT): Likewise for `uint$1_t'. 1076 Suggested by Bruno Haible. 1077 1078 * lib/autoconf/types.m4 (_AC_TYPE_UNSIGNED_INT): Solaris 2.5.1 1079 needs _UINT8_T and _UINT64_T defines as well, to avoid clashes 1080 with system headers. Report by Bruno Haible. 1081 10822006-06-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1083 1084 * config/config.guess, config/config.sub: Sync from upstream. 1085 1086 * bin/Makefile.am (autoconf.in): Use `--melt' for autom4te, 1087 in order to avoid picking up an older installed frozen m4sh.m4f. 1088 Besides an outdated shell startup, this could have been created 1089 by an earlier M4 version with incompatible frozen file format. 1090 10912006-06-16 Paul Eggert <eggert@cs.ucla.edu> 1092 1093 * README: Recommend m4 1.4.4 instead of 1.4.3.. 1094 * doc/autoconf.texi: Likewise. 1095 (Special Chars in Names): Say that $(.FOO) is portable, as 1096 suggested by Stepan Kasal. 1097 (Installation Directory Variables, Build Directories): 1098 (Automatic Remaking, Subdirectories, Fortran Compiler): 1099 (Making testsuite Scripts, Defining Directories): 1100 Quote variable usages better. 1101 (Making testsuite Scripts): Add clean-local rule to makefile 1102 snippet, by Eric Blake. 1103 (Installation Directory Variables): Fix table item font. 1104 Reword slightly to clarify. Generalize advice about 1105 not using special characters to include all file-related 1106 vars, not just VPATH. 1107 (Special Chars in Variables): Warn about special characters in 1108 $(srcdir) too. 1109 (Assignments): Clarify default-value example as suggested by 1110 Ralf Wildenhues in 1111 <http://lists.gnu.org/archive/html/autoconf-patches/2006-06/msg00072.html>. 1112 (Special Shell Variables): Note leading ./ or ../, as suggested 1113 by Eric Blake. 1114 (Limitations of Builtins): Under cd, warn about CDPATH. 1115 (The Make Macro MAKEFLAGS): Untabify. Problem reported by 1116 Ralf Wildenhues. 1117 11182006-06-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1119 1120 * doc/autoconf.texi (Configuration Actions): Remove duplicate 1121 `@var', for texi2html. 1122 (Systemology): Some more word wrapping, for DVI output. 1123 (autom4te Invocation): The short option for `--melt' is `-M', 1124 not `-m'. 1125 11262006-06-15 Paul Eggert <eggert@cs.ucla.edu> 1127 1128 * doc/autoconf.texi: More formatting and English tweaks, 1129 many suggested by Ralf Wildenhues. 1130 Reword to avoid "@code{...}'s" and the like, since it's ugly 1131 with Emacs info mode. discontents -> woes. 1132 Put a few "will"s back. time stamp -> timestamp. 1133 side-effect -> side effect. 1134 11352006-06-14 Paul Eggert <eggert@cs.ucla.edu> 1136 1137 * doc/autoconf.texi (Initializing configure, Shell Substitutions): 1138 Warn about $@ not persisting. Problem reported by Julien Danjou in 1139 <http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=372179>. 1140 (Special Chars in Names): Renamed from Leading _ in Macro Names. 1141 Mention other special chars, too. 1142 11432006-06-14 Eric Blake <ebb9@byu.net> 1144 1145 * doc/autoconf.texi (The Make Macro MAKEFLAGS): New node. 1146 11472006-06-13 Paul Eggert <eggert@cs.ucla.edu> 1148 1149 * doc/autoconf.texi: Some systematic minor improvements, as 1150 follows. Use "makefile" when talking about makefiles 1151 generally (which might be named "makefile" or "Makefile" or even 1152 "foo.mk"), "Makefile" when talking about a specific makefile 1153 called "Makefile". This unclutters the text from weird quotes 1154 (e.g., "`Makefile's" in info mode). Similarly, use "@var{foo} 1155 values" rather than "@var{foo}s" and similar constructs containing 1156 "}s". Use "Make rules" rather than "Makefile rules". Minor 1157 English-language improvements. Change the prefix "sub-" to "sub" 1158 and "re-" to "re". 1159 Put blank lines around examples more consistently. 1160 Avoid "rather" and "very" as intensifiers. 1161 Avoid "will" as an auxiliary. 1162 (Limitations of Make): Split this node into.... 1163 (Portable Make, $< in Ordinary Make Rules, Failure in Make Rules): 1164 (Leading _ in Macro Names, Backslash-Newline-Newline): 1165 (Backslash-Newline Comments, Long Lines in Makefiles): 1166 (Macros and Submakes, The Make Macro SHELL, Comments in Make Rules): 1167 (obj/ and Make, make -k Status, VPATH and Make): 1168 (VPATH and Double-colon, $< in Explicit Rules): 1169 (Automatic Rule Rewriting, OSF/Tru64 Directory Magic): 1170 (Make Target Lookup, Single Suffix Rules, Timestamps and Make): 1171 New nodes, resulting from splitup of Limitations of Make. 1172 All cross-references changed. Raise the top node from 1173 a section to a chapter, and all subnodes accordingly. 1174 Redo the introductory wording to match the new organization. 1175 (Installation Directory Variables): Use an example that is 1176 closer to what Autoconf actually does. Mention that VPATH's 1177 value should not contain metacharacters or white space. 1178 (Fortran Compiler): Fix a VPATH bug in an example. 1179 (Leading _ in Macro Names): Mention that this problem is no longer 1180 of practical concern. 1181 (VPATH and Make): Reword the advice to make it clearer 1182 that Autoconf and Automake support VPATH in non-GNU make, but 1183 many packages have bugs in this area. 1184 ($< in Explicit Rules): Refer to Build Directories rather 1185 than using a (non-VPATH-safe) example. 1186 (Automatic Rule Rewriting): Mention the sort of disaster that 1187 can ensue with Solaris-style rule rewriting with VPATH. 1188 11892006-06-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1190 1191 * doc/install.texi (Compilers and Options): Weaken the 1192 suggestion to use GNU make for VPATH builds. 1193 1194 * lib/autom4te.in (Automake-preselections): Add AM_PROG_CXX_C_O, 1195 AM_PROG_F77_C_O, AM_PROG_FC_C_O, AC_FC_SRCEXT, AC_FC_FREEFORM. 1196 1197 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Fix M4 quotation 1198 in regular expression. 1199 12002006-06-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1201 1202 * doc/autoconf.texi (Installation Directory Variables): 1203 Drop extra @samp from `@table @samp' item. 1204 (Limitations of Usual Tools): Comment fix. 1205 Do not nest @samp just to point to other table items. 1206 (Writing testsuite.at) <AT_CHECK>: The second argument to 1207 `@dvar' is already @samp'ed. 1208 (Making testsuite Scripts) <AC_CONFIG_TESTDIR>: Likewise, 1209 do not use @var in the second argument. 1210 12112006-06-07 Paul Eggert <eggert@cs.ucla.edu> 1212 1213 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Look for 1214 $as_shell.exe too. Problem reported by Andreas Buening in 1215 <http://lists.gnu.org/archive/html/autoconf/2006-06/msg00038.html>. 1216 12172006-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1218 1219 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA): Work around 1220 `unused variable' compiler warning, for `-Wall -Werror'. 1221 Reported by Jaap Haitsma in 1222 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00012.html>. 1223 12242006-06-06 Paul Eggert <eggert@cs.ucla.edu> 1225 1226 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove core file, in 1227 case the compiler dumps core. Problem reported for 1228 OpenServer 5.0.7 by Tim Rice in 1229 <http://lists.gnu.org/archive/html/bug-autoconf/2006-06/msg00019.html>. 1230 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_LINK_IFELSE): 1231 Likewise. 1232 12332006-06-06 Tim Rice <tim@multitalents.net>. 1234 1235 * lib/freeze.mk: Quiet check-forbidden-patterns so the string 1236 "ERROR" only shows up in "make check" output if there is an 1237 error. 1238 12392006-06-06 Eric Blake <ebb9@byu.net> 1240 1241 * tests/tools.at (automatically allowed tokens): Fix typo. 1242 12432006-06-05 Paul Eggert <eggert@cs.ucla.edu> 1244 1245 * NEWS: Don't blame non-GNU VPATH compatibility issues on Automake. 1246 1247 * doc/autoconf.texi (Integer Overflow): Mention that INT_MIN % -1 1248 typically overflows on x86 CPUs, even though the C standard 1249 requires otherwise. 1250 12512006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1252 1253 * configure.ac (AC_INIT): Bump to 2.59e. 1254 * NEWS: Update. 1255 12562006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1257 1258 Version 2.59d. 1259 1260 * config/texinfo.tex: Sync from upstream. 1261 1262 * bin/autoreconf.in: Trace `LT_CONFIG_LTDL_DIR'; if it has been 1263 seen, invoke libtoolize with `--ltdl' argument. 1264 * lib/autom4te.in (Autoreconf-preselections): Adjust. 1265 * NEWS: Update. 1266 Suggested by Eric Blake. 1267 12682006-06-05 Paul Eggert <eggert@cs.ucla.edu> 1269 1270 * NEWS: Whoops! AC_FUNC_STRNLEN isn't obsolescent. Problem 1271 reported by Ralf Wildenhues. 1272 * doc/autoconf.texi (AC_FUNC_STRNLEN): Likewise. 1273 12742006-06-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1275 1276 * THANKS: Update. 1277 12782006-06-05 Paul Eggert <eggert@cs.ucla.edu> 1279 1280 * doc/autoconf.texi: Modernize some of the references to Solaris. 1281 12822006-06-05 Stepan Kasal <kasal@ucw.cz> 1283 1284 * lib/m4sugar/m4sugar.m4 (m4_require): Modify the error 1285 message issued by AC_REQUIRE. 1286 * tests/m4sugar.at: Check m4_require's error message. 1287 * tests/base.at: Check AC_REQUIRE's error message. 1288 * tests/local.at (AT_CHECK_M4): New macro, almost identical 1289 to... 1290 (AT_CHECK_AUTOM4TE): ... which is now a thin wrapper around 1291 AT_CHECK_M4. 1292 (AT_CHECK_AUTOCONF): Use AT_CHECK_M4; no longer support 1293 `expout' as the last parameter. 1294 * tests/tools.at: Adapt to the above change. 1295 12962006-06-04 Stepan Kasal <kasal@ucw.cz> 1297 1298 * doc/autoconf.texi (Limitations of Usual Tools): Correct 1299 information about race-free implementations of mkdir. 1300 13012006-06-04 Eric Blake <ebb9@byu.net> 1302 1303 * bin/autoreconf.in (help): Document M4 environment variable. 1304 * bin/autoconf.as (Usage): Likewise. 1305 * bin/autom4te.in (help): Likewise. 1306 * doc/autoconf.texi (autom4te Invocation): Likewise. 1307 13082006-06-04 Paul Eggert <eggert@cs.ucla.edu> 1309 1310 * NEWS: GNU make now recommended for VPATH builds. 1311 Mention that some macros are now documented to be obsolescent. 1312 * doc/autoconf.texi: 1313 Prefer "current" to "modern" to describe 1314 currently-used (albeit perhaps old-fashioned) hosts. 1315 Mention which ancient features no longer need to be worried about. 1316 setgid -> set-group-ID 1317 setuid -> set-user-ID (these are the Posix terms) 1318 Fix some misuses of "only". 1319 (AC_C_BACKSLASH_A, AC_C_CONST, AC_C_PROTOTYPES): 1320 (AC_C_STRINGIZE, AC_C_VOLATILE, AC_FUNC_CLOSEDIR_VOID): 1321 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT, AC_FUNC_MEMCMP): 1322 (AC_FUNC_SELECT_ARGTYPES, AC_FUNC_SETPGRP): 1323 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_STAT, AC_FUNC_STRFTIME): 1324 (AC_FUNC_STRNLEN, AC_FUNC_UTIME_NULL, AC_FUNC_VPRINTF): 1325 (AC_HEADER_DIRENT, AC_HEADER_STAT, AC_HEADER_STDC): 1326 (AC_HEADER_SYS_WAIT, AC_HEADER_TIME, AC_ISC_POSIX): 1327 (AC_PROG_GCC_TRADITIONAL, AC_STRUCT_TM): 1328 Mention that these macros are obsolescent. 1329 (Installation Directory Variables): shall -> should 1330 (File Descriptors): Mention that 0, 1, 2 might get reopened. 1331 Mention that it's now safe to use 3 and 4. 1332 (Limitations of Usual Tools): cp -r is now specified by Posix. 1333 Omit longwinded and obsolescent discussion of cp -f. 1334 Modernize discussion of expr, ls. 1335 (Limitations of Make): Modernize discussion of VPATH builds. 1336 Mention $? as a workaround in some cases. 1337 * doc/install.texi (Basic Installation): 1338 Mention "./configure; make; make install" first. Be more 1339 specific about why this file is generic. Remove unnecessary 1340 parens. Remove misleading "only". Remove obsolete advice 1341 about csh. Don't say "configure" takes awhile; say it 1342 might take a while. Suggest CFLAGS=-g rather than CFLAGS=-O2, 1343 and CC=c99 rather than CC=c89, as these are blessed by current 1344 Posix. Recommend GNU make if doing a VPATH build. 1345 13462006-06-03 Paul Eggert <eggert@cs.ucla.edu> 1347 1348 * doc/autoconf.texi: Use a consistent style "$ @kbd{...}" for 1349 examples involving shell prompts. 1350 13512006-06-02 Stepan Kasal <kasal@ucw.cz> 1352 and Paul Eggert <eggert@cs.ucla.edu> 1353 1354 * doc/autoconf.texi (Here-Documents): Add details about the 1355 pre-ksh93g bug. Reword slightly to make it clearer. Consistently 1356 use "here-documents" instead of "here documents". 1357 13582006-06-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1359 1360 * config/texinfo.tex, doc/standards.texi: Sync from upstream. 1361 13622006-06-01 Paul Eggert <eggert@cs.ucla.edu> 1363 1364 * doc/autoconf.texi (File System Conventions): Warn about ":" 1365 anywhere in directory names. 1366 13672006-05-31 Paul Eggert <eggert@cs.ucla.edu> 1368 1369 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be even more conservative 1370 about quoting the case statement, just in case. 1371 * doc/autoconf.texi (Here-Documents): Mention that the ksh bug 1372 was fixed in ksh93g; reported by Ralf Wildenhues. 1373 13742006-05-31 Stepan Kasal <kasal@ucw.cz> 1375 1376 * doc/autoconf.texi (System Services): Do not document 1377 overriding EXEEXT via ac_cv_exeext=ext. 1378 (Particular Programs) <AC_PROG_MKDIR_P>: 1379 Document that ${MKDIR_P} understands --. 1380 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Improve the 1381 comment. 1382 13832006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1384 1385 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Guard against test 1386 argument with leading hyphen. Problem reported by Paul Eggert. 1387 13882006-05-30 Paul Eggert <eggert@cs.ucla.edu> 1389 1390 * lib/autoconf/general.m4 (_AC_DO_ECHO): Be more conservative 1391 about quoting ac_try: quote all of it, if any of it seems suspicious. 1392 This means we don't have to worry about ${ or sed any more. 1393 Also, double-quote the case statement, to work around misuses via 1394 underquoting as reported by Ralf Wildenhues in 1395 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00169.html>. 1396 (_AC_EVAL_STDERR): Revert, since evidently some packages rely on this 1397 undocumented and dangerous macro. 1398 Problem reported by Ralf Wildenhues in 1399 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00168.html>. 1400 14012006-05-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1402 1403 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): Check whether 1404 `dirname -- /' returns `/', for SunOS dirname scripts that escaped. 1405 Report by Sam Sirlin <sam@kalessin.jpl.nasa.gov>. 1406 14072006-05-30 Paul Eggert <eggert@cs.ucla.edu> 1408 1409 * lib/autoconf/general.m4: Revert AC_TRY_EVAL and AC_TRY_COMMAND, 1410 since evidently some packages rely on the old, broken behavior. 1411 Problem reported by Ralf Wildenhues in 1412 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00160.html>. 1413 (AC_TRY_EVAL, AC_TRY_COMMAND, _AC_EVAL): Go back to the 1414 pre-2006-05-26 definitions, but leave in the comments that 1415 these macros are dangerous and should not be used. 1416 (_AC_DO_ECHO): Renamed from _AC_EVAL_ECHO. All callers changed. 1417 (_AC_DO): Renamed from _AC_EVAL. All callers changed. 1418 (_AC_DO_STDERR): Renamed from _AC_EVAL_STDERR. All callers changed. 1419 (_AC_DO_VAR): Renamed from AC_TRY_EVAL. 1420 (_AC_DO_TOKENS): Renamed from AC_TRY_COMMAND. 1421 14222006-05-29 Paul Eggert <eggert@cs.ucla.edu> 1423 1424 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): Rewrite to avoid 1425 the use of 'tr', since this is our only use of 'tr'. 1426 14272006-05-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1428 and Paul Eggert <eggert@cs.ucla.edu> 1429 1430 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): 1431 Don't assume 'grep' works on long lines, since AIX grep doesn't. 1432 14332005-05-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1434 1435 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Do not use `grep' on 1436 the output file in the `${datarootdir}' test. 1437 14382005-05-28 Stepan Kasal <kasal@ucw.cz> 1439 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1440 1441 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If we have not seen 1442 mention of `datarootdir' in the input file(s), but literal 1443 `${datarootdir}' in the output file, and we haven't warned yet, 1444 then warn as well: the user may have (erroneously) used 1445 `AC_SUBST([mydatadir], [$datadir/my])' instead of the correct 1446 `AC_SUBST([mydatadir], ['${datadir}/my'])'. 1447 * tests/torture.at (datarootdir workaround): Extend this test. 1448 * NEWS: Update. 1449 14502006-05-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1451 and Paul Eggert <eggert@cs.ucla.edu> 1452 1453 * doc/autoconf.texi (autoheader Invocation): The first argument to 1454 `AC_DEFINE_UNQUOTED' need not be a literal. Mention the 1455 alternatives and clear up the language a bit. 1456 14572006-05-27 Paul Eggert <eggert@cs.ucla.edu> 1458 1459 * NEWS: Reword notice for AC_TRY_COMMAND, AC_TRY_EVAL, 1460 ac_config_guess, ac_config_sub, ac_configure. 1461 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): 1462 Fix typo that prevented an unnecessary space from being removed. 1463 Problems reported by Ralf Wildenhues in: 1464 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00143.html 1465 14662006-05-26 Paul Eggert <eggert@cs.ucla.edu> 1467 1468 * doc/autoconf.texi (Particular Programs, Limitations of Usual Tools): 1469 Use better wording to talk about AC_PROG_MKDIR_P's thread-safety. 1470 Don't use the term "thread-safe" to talk about mkdir race 1471 conditions, since the problem is more a process than a thread 1472 issue. Problem reported by Stepan Kasal in: 1473 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00088.html 1474 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Use code that mimics 1475 the test for 'install' more closely. Look at MKDIR_P first. 1476 Look in the PATH, and at /opt/sfw/bin. 1477 Look for a 'gmkdir' program as well (Solaris 10 /opt/sfw/bin/gmkdir). 1478 Don't bother to try mkdir -p, since we already check mkdir --version; 1479 just look at the version number. (There's no easy way to check 1480 for race-free implementations.) 1481 * tests/tools.at (autoconf: subdirectories): Adjust to above 1482 changes, since MKDIR_P now might end in "/mkdir -p". 1483 1484 * doc/autoconf.texi (autoheader Invocation): Mention that the 1485 first arg of AC_DEFINE_UNQUOTED must be a literal. 1486 Problem reported by Ben Pfaff in 1487 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00090.html>. 1488 1489 * NEWS: Mention that AC_TRY_COMMAND and AC_TRY_EVAL may be removed. 1490 * doc/autoconf.texi (Special Chars in Variables): New section. 1491 (Preset Output Variables): Warn about special chars in CPPFLAGS. 1492 (Installation Directory Variables): Quote $(datadir) better. 1493 (Limitations of Builtins): Describe some of eval's trickiness. 1494 1495 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Simplify quoting. 1496 * lib/autoconf/fortram.m4 (_AC_PROG_FC_V_OUTPUT): Likewise. 1497 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put leading space 1498 in front of every arg, not just trailing args. Quote apostrophes. 1499 (_AC_EVAL_ECHO): New macro. 1500 (_AC_EVAL, AC_EVAL_STDERR): Use it. Quote arg of eval. 1501 (AC_TRY_EVAL, AC_TRY_COMMAND): Mention that these macros might get 1502 removed. 1503 (_AC_LINK_IFELSE): Use proper rule for shell continuation lines, 1504 exposed by quoting of eval argument. Put the command on line line 1505 so it logs better. 1506 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use eval more safely. 1507 (_AC_PATH_X, AC_PATH_X): Quote more safely. 1508 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use eval more safely. 1509 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Don't use eval. 1510 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Minor style change. 1511 Handle special chars in prefix, ac_srcdir, ac_aux_dir. 1512 Use eval more safely. 1513 (_AC_OUTPUT_CONFIG_STATUS): Adjust to above changes. 1514 * lib/m4sugar/m4sh.m4 (AS_VAR_GET): Note that this API needs 1515 to be replaced. 1516 * tests/base.at (AC_TRY_COMMAND): Use proper rule for shell continuation 1517 lines, exposed by quoting of eval argument. 1518 15192006-05-26 Stepan Kasal <kasal@ucw.cz> 1520 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1521 1522 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Drop the 1523 initialization of `ac_cv_exeext', do not override it if it was 1524 already set, unless it was set to `no', for compatibility with 1525 Autoconf-2.13, and comment this. 1526 Do not export `ac_cv_exeext', Libtool hasn't needed this for years. 1527 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise, do not export it. 1528 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_CROSS): Typos. 1529 * doc/autoconf.texi (Compilers and Preprocessors) <EXEEXT>: 1530 Document that this test may be overridden by setting 1531 `ac_cv_exeext'. 1532 15332006-05-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1534 1535 Revert these two patches: 1536 1537 2006-04-06 Eric Blake <ebb9@byu.net> 1538 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache 1539 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced 1540 2006-04-01. 1541 1542 2006-04-01 Stepan Kasal <kasal@ucw.cz> 1543 Clean up _AC_COMPILER_EXEEXT* macros. 1544 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to 1545 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set 1546 ac_file to the name of the default output file and call 1547 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the 1548 initial `rm' of the candidate files... 1549 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use 1550 the same list in subsequent `rm' calls, and for the temporary 1551 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end, 1552 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use... 1553 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro. 1554 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or 1555 no longer needed) by libtool. Make it a cache check. 1556 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously 1557 copied here by mistake. 1558 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not 1559 _AC_COMPILER_EXEEXT. 1560 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call 1561 _AC_COMPILER_OBJEXT directly. 1562 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise. 1563 15642006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1565 1566 * doc/autoconf.texi (Limitations of Usual Tools) < sed (`t')>: 1567 Fix description of how the buggy `sed' works. 1568 15692006-05-25 Noah Misch <noah@cs.caltech.edu> 1570 1571 Sync from Automake: 1572 1573 * lib/Autom4te/XFile.pm (lock): Allow EOPNOTSUPP, besides 1574 ENOLCK. Only mention `make -j' when applicable. Only raise 1575 fatal errors when `make -j' is involved. Improve error message. 1576 15772006-05-25 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1578 1579 * doc/autoconf.texi (Here-Documents): We now know more about 1580 the variable expansion in here documents bug. 1581 Thanks to Tim Rice and Stepan Kasal. 1582 1583 * doc/autoconf.texi (Making testsuite Scripts): Add an example 1584 how to use TESTSUITEFLAGS. Suggested by Eric Blake. 1585 15862006-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1587 1588 * tests/autotest.at (Multiline command from M4 expansion): 1589 No failure to be expected if the shell quotes newlines in 1590 commands in the `set -x' output. Report by Tim Rice. 1591 * THANKS: Update. 1592 15932006-05-23 Paul Eggert <eggert@cs.ucla.edu> 1594 1595 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Don't use shell 1596 expansion in the here-documents used by config.status, as that 1597 runs afoul of the Korn shell version M-12/28/93d bug described in 1598 the Autoconf manual, and this in turn causes a Coreutils 5.95 build to 1599 fail as described by Tim Rice and diagnosed by Ralf Wildenhues in 1600 <http://lists.gnu.org/archive/html/bug-autoconf/2006-05/msg00082.html>. 1601 16022006-05-23 Jim Meyering <jim@meyering.net> 1603 1604 * lib/autoconf/functions.m4 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): 1605 Fix typo introduced with 2006-04-02 change. It reversed the sense 1606 of the test. 1607 16082006-05-23 Paul Eggert <eggert@cs.ucla.edu> 1609 1610 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Simplify ac_dA and 1611 ac_dB slightly, to save bytes in the script. 1612 Max out at 50 lines, rather than 96; this is more likely 1613 (though not guaranteed) to avoid obscure 'sed' failures. 1614 16152006-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1616 1617 * lib/autotest/general.m4 (AT_INIT): UnixWare `tr' may interpret 1618 `tr -d -' as bad option argument. Work around this by deleting 1619 an unrelated character. 1620 Report by Tim Rice <tim@multitalents.net>. 1621 16222006-05-22 Paul Eggert <eggert@cs.ucla.edu>, 1623 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>, 1624 Stepan Kasal <kasal@ucw.cz> 1625 1626 * doc/autoconf.texi (Particular Programs): Do not promise that 1627 we always prefer the GNU version of the program, and that we 1628 search according to PATH; both rules can have exceptions. 1629 Update description of AC_PROG_GREP, AC_PROG_EGREP, AC_PROG_FGREP, 1630 AC_PROG_SED. Move descriptions of limitations 1631 to the Limitations of Usual Tools section. 1632 (Limitations of Usual Tools) <sed>: Mention script length 1633 limitations with Solaris /usr/ucb/sed. 1634 <grep>: Fix wording for empty alternative. Mention that -c and 1635 -l should not be combined, and that -E and -F should not be 1636 combined. 1637 16382006-05-21 Paul Eggert <eggert@cs.ucla.edu> 1639 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1640 1641 * lib/autoconf/programs.m4 (AC_PROG_SED): Catch script length 1642 limits in Solaris 8 /usr/ucb/sed by testing a long script. 1643 16442006-05-22 Stepan Kasal <kasal@ucw.cz> 1645 1646 * doc/autoconf.texi (Defining Symbols): Literal parameter of 1647 AC_DEFINE is now passed to m4_pattern_allow. 1648 * NEWS: Mention that; likewise for AC_SUBST. 1649 * lib/autoconf/general.m4 (AC_DEFINE_TRACE_LITERAL): Pass 1650 the parameter to m4_pattern_allow. 1651 * tests/tools.at: Add a check for that. 1652 16532006-05-22 Stepan Kasal <kasal@ucw.cz> 1654 1655 * lib/autoconf/status.m4: Fix typos. 1656 16572006-05-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1658 1659 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove 1660 only the files that this macro generates. 1661 16622006-05-21 Paul Eggert <eggert@cs.ucla.edu> 1663 1664 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: For 1665 the HP-UX sed limitation of 99 commands, labels do not count. 1666 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): Mention that 1667 in the comment. 1668 (_AC_OUTPUT_HEADER): Revert the change from 2006-05-19. 1669 16702006-05-21 Paul Eggert <eggert@cs.ucla.edu> 1671 1672 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): 1673 Import the following fix from coreutils: 1674 1675 2006-01-13 Jim Meyering <jim@meyering.net> 1676 1677 Invoke AC_CHECK_FUNCS(getmntent) unconditionally so that tests of 1678 $ac_cv_func_getmntent (e.g., in gl_LIST_MOUNTED_FILE_SYSTEMS) need 1679 not double-quote uses of that variable, to accommodate the rare 1680 case in which getmntent is available in none of the libraries 1681 checked. This happens at least on FreeBSD 5.0. 1682 16832006-05-20 Paul Eggert <eggert@cs.ucla.edu> 1684 1685 * lib/autoconf/general.m4 (AC_CONFIG_AUX_DIRS): Bring back 1686 ac_config_guess, ac_config_sub, and ac_configure, since evidently 1687 some other programs unwisely rely on these undocumented vars. 1688 But put in warning comments about them. 1689 Problem reported by Ralf Wildenhues in 1690 <http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00068.html>. 1691 * NEWS: Document that these variables are intended to go away. 1692 16932006-05-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1694 1695 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): Require AC_PROG_CXX, 1696 and set the language to C++ (analogous to the equivalent Fortran 1697 tests). 1698 1699 * lib/autoconf/c.m4 (AC_PROG_CXX_C_O): New macro. 1700 * doc/autoconf.texi (C++ Compiler): Document it. 1701 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Adjust comment. 1702 * NEWS: Update. 1703 17042006-05-19 Paul Eggert <eggert@cs.ucla.edu> 1705 1706 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Fix off-by-one bug 1707 that caused config.status to generate 100-command sed scripts; the 1708 portable limit is 99. 1709 17102006-05-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1711 1712 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): Name temporary 1713 variable `ac_d' instead of `d' to avoid infringing namespace. 1714 Report by Ralf Menzel. 1715 17162006-05-18 Paul Eggert <eggert@cs.ucla.edu> 1717 1718 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): Don't prepend 1719 $ac_top_build_prefix to $MKDIR_P if it's just 'mkdir -p'. 1720 * tests/tools.at (autoconf: subdirectories): New test, taken from 1721 the corresponding problem report by Ralf Wildenhues in: 1722 http://lists.gnu.org/archive/html/autoconf-patches/2006-05/msg00053.html 1723 1724 * lib/autoconf/functions.m4 (AC_REPLACE_FNMATCH, AC_FUNC_FNMATCH_GNU): 1725 Quote some uses of shell variables if they might suffer unexpected 1726 globbing. This doesn't fix all instances of quoting problems that 1727 I found, just the easy ones that look safe. 1728 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR, _AC_INIT_HELP): 1729 (AC_CONFIG_AUX_DIR, AC_CONFIG_AUX_DIR_DEFAULT, AC_CONFIG_AUX_DIRS): 1730 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, AC_CANONICAL_TARGET): 1731 (AC_CACHE_LOAD, AC_CACHE_SAVE): Likewise. 1732 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT): Likewise. 1733 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise. 1734 * lib/autoconf/status.m4 (_AC_OUTPUT_LINK, _AC_OUTPUT_SUBDIRS): 1735 Likewise. 1736 * lib/autotest/general.m4 (_AC_INIT_PARSE_ARGS): Likewise. 1737 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Likewise. 1738 17392006-05-18 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1740 1741 * bin/autoreconf.in ($help): Reword according to the manual. 1742 Suggested by Olly Betts. 1743 17442006-05-17 Olly Betts <olly@survex.com> (tiny change) 1745 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1746 1747 * bin/autoreconf.in: Pass the directory argument to 1748 `require_configure_ac'. Fix comment. 1749 * tests/torture.at (Configuring subdirectories): Expose this. 1750 Reported by Olly Betts. 1751 17522006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1753 1754 * lib/Automake/Configure_ac.pm, lib/Automake/Channels.pm, 1755 lib/Automake/FileUtils.pm, lib/Automake/Struct.pm: Sync from 1756 Automake as follows: 1757 1758 * lib/Autom4te/Configure_ac.pm (find_configure_ac): Use 1759 `$configure_in' instead of `configure.in', to preserve 1760 directory component. 1761 17622006-05-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1763 1764 * config/config.guess, config/config.sub, config/texinfo.tex, 1765 doc/make-stds.texi, doc/standards.texi: Sync from upstream. 1766 17672006-05-14 Paul Eggert <eggert@cs.ucla.edu> 1768 1769 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Fix overly-picky 1770 test for C99 conformance; (bool) 0.5 is an integer constant 1771 expression, but (bool) -0.5 is not. Problem reported by Fedor 1772 Sergeev in <http://forum.sun.com/jive/thread.jspa?threadID=96202>. 1773 17742006-05-13 Paul Eggert <eggert@cs.ucla.edu> 1775 1776 * doc/autoconf.texi (Particular Programs): AC_PROG_MKDIR_P now 1777 sets MKDIR_P, not mkdir_p, to avoid collisions with Automake. 1778 Warn about obsolete install-sh files. Remove stray sentence 1779 fragment and fix cross reference. 1780 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Don't insist on 1781 install -d; this undoes the 2006-05-10 change. 1782 (MKDIR_P): Mark with AN_MAKEVAR. 1783 (AC_PROG_MKDIR_P): Fall back on $ac_install_sh, not $INSTALL, so 1784 that we don't require $INSTALL to be thread-safe. Move comments 1785 out of generated code. Require AC_CONFIG_AUX_DIR_DEFAULT instead 1786 of AC_PROG_INSTALL. Output a message saying that we're checking 1787 mkdir -p. Set MKDIR_P rather than mkdir_p. Do special magic for 1788 MKDIR_P instead of AC_SUBST. 1789 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE, _AC_OUTPUT_CONFIG_STATUS): 1790 Special magic for MKDIR_P, too. 1791 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Remove comment that defeated 1792 a dnl. 1793 * tests/local.at (AT_CHECK_ENV): mkdir_p -> MKDIR_P. 1794 17952006-05-11 Paul Eggert <eggert@cs.ucla.edu> 1796 1797 Sync from Automake, as follows: 1798 1799 2006-05-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1800 * config/install-sh: Initialize IFS, so field splitting isn't 1801 turned off later. 1802 * config/mkinstalldirs: Likewise. 1803 * config/missing: Remove superfluous quotes. Replace all uses of 1804 `[' by `test', for consistency, and for.. 1805 * config/missing (sed_minuso, sed_output): New variables. 1806 (autom4te, help2man, makeinfo): Use them. Unifies detection of 1807 `-o FILE', `--output FILE', `--output=FILE', stricter regex. 1808 Fixes `missing' to detect `--output' for help2man. Fixes 1809 PR automake/483. Report by Dennis J. Linse. 1810 (autom4te): Document in `missing --help'. 1811 18122006-05-10 Paul Eggert <eggert@cs.ucla.edu> 1813 1814 * NEWS: New macro AC_PROG_MKDIR_P. AS_MKDIR_P is now more robust. 1815 * config/install-sh: Don't use 'path' to talk about file names, 1816 as per GNU coding standards. Close a race condition reported by Ralf 1817 Wildenhues and Stepan Kasal. There is still a race condition 1818 on hosts that predate Posix 1003.1-1992, but we can't help this. 1819 Don't mishandle weird characters like space on pre-Posix hosts. 1820 Invoke mkdir at most once per dir arg on pre-Posix hosts. 1821 * doc/autoconf.texi (Programming in M4sh): Cross-reference to 1822 AC_PROG_MKDIR_P from AS_MKDIR_P. 1823 (Limitations of Usual Tools): Cross-reference to AC_PROG_MKDIR_P 1824 from mkdir. Mention that Autoconf 2.60 install-sh is safe but 1825 earlier editions are not (including Automake 1.8.3). 1826 Do not suggest mkinstalldirs for thread-safety. 1827 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Insist on an 'install' 1828 that understands -d, so that AC_PROG_MKDIR_P can fall back on $INSTALL. 1829 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Make it more robust in the 1830 presence of special characters and race conditions. 1831 * tests/local.at (AT_CHECK_ENV): Add mkdir_p to the list of variables 1832 in Autoconf's name space. 1833 18342006-05-10 Bruno Haible <bruno@clisp.org> 1835 and Paul Eggert <eggert@cs.ucla.edu> 1836 1837 * lib/autoconf/programs.m4 (AC_PROG_MKDIR_P): New macro, taken 1838 from Automake with minor changes. 1839 * doc/autoconf.texi (Particular Programs): Document AC_PROG_MKDIR_P. 1840 18412006-05-10 Paul Eggert <eggert@cs.ucla.edu> 1842 1843 * config/install-sh: Update to Automake CVS version, as follows: 1844 2006-04-25 Stepan Kasal <kasal@ucw.cz> 1845 * lib/install-sh: Simplify the expr implementation of dirname. 1846 2006-04-24 Paul Eggert <eggert@cs.ucla.edu> 1847 * lib/install-sh: Handle --, and diagnose unknown options. 1848 18492006-05-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1850 1851 * tests/Makefile.am (AUTOTEST): Use `$(MY_AUTOM4TE)' instead of 1852 `./autom4te' to create `./testsuite', since the `all' target 1853 will ensure its presence, but `installcheck' should not create 1854 the uninstalled wrappers. 1855 1856 * tests/torture.at (Unusual Automake input files): Skip if we 1857 detect automake < 1.8. 1858 18592006-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1860 1861 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If ac_cv_prog_cc_stdc 1862 is set to `no', then that overrides and sets ac_cv_prog_cc_c89 1863 and ac_cv_prog_cc_c99 to `no', for backward compatibility. 1864 * NEWS: Update. 1865 18662006-05-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1867 1868 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Take care not to 1869 munge (multiple) white space and other oddities. 1870 * tests/torture.at (AT_CHECK_AC_ARG_VAR): Make sure to M4-escape 1871 single quotes in variable assignment. 1872 (AC_ARG_VAR, configure invocation): Adjust tests to expose this 1873 and similar failures by adding multiple spaces, tabs, and other 1874 special characters. 1875 Report and different test suggested by Francesco Romani 1876 <fromani@gmail.com> and Andrew Church <achurch@achurch.org>. 1877 1878 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): When we escape 1879 single quotes, we only need to search for single quotes; this 1880 both simplifies the search pattern, and makes us less 1881 susceptible to `echo' variations for arguments not containing 1882 single quotes. 1883 (_AC_ARG_VAR_VALIDATE): Likewise. 1884 18852006-05-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1886 1887 * doc/autoconf.texi (Special Shell Variables) <IFS>: Document 1888 `$*' and IFS concatenation issue with traditional shells and 1889 bash-2.04. Report by Seanster@Seanster.com. 1890 18912006-05-03 Bruno Haible <bruno@clisp.org> 1892 1893 * doc/autoconf.texi (Limitations of Usual Tools): Identify more 1894 precisely which Mac OS X versions have the od problem. 1895 18962006-05-02 Paul Eggert <eggert@cs.ucla.edu> 1897 1898 * doc/autoconf.texi: Use @option systematically. 1899 19002006-05-02 Paul Eggert <eggert@cs.ucla.edu> 1901 and Bruno Haible <bruno@clisp.org> 1902 1903 * doc/autoconf.texi (Limitations of Usual Tools): Add a paragraph 1904 about 'od'. 1905 (Integer Overflow): Mention the special case of integer division 1906 overflow. 1907 19082006-05-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1909 1910 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Cater for 1911 traditional shells like the Solaris one that do not use the 1912 first IFS character for assembling `$*'. 1913 Prompted by a related report from autoconf_bug@nro.ca. 1914 19152006-05-01 Paul Eggert <eggert@cs.ucla.edu> 1916 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1917 1918 * doc/autoconf.texi (Limitations of Builtins, Limitations of Make): 1919 Mention more problems with the -e option. 1920 19212006-04-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1922 1923 * NEWS: Typo. 1924 * doc/autoconf.texi (Systemology): Mention the Heirloom Project. 1925 1926 * doc/autoconf.texi (Introduction, Pointers): Use `@/' liberally 1927 in URLs to improve DVI formatted output (requires texinfo 4.6). 1928 (System Services, Systemology, Shellology): Likewise. 1929 (Limitations of Usual Tools): Rewrite Mac OS X example for nicer 1930 output. 1931 1932 * doc/autoconf.texi (Fortran Compiler): Do not use `@ovar' in 1933 continuous text. 1934 (Runtime): Fix macro argument names to match description: 1935 `action-if-found' -> `action-if-true' and similarly. 1936 (Obsolete Macros): Likewise. 1937 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE): Likewise. 1938 (AC_COMPILE_IFELSE, AC_TRY_COMPILE, _AC_LINK_IFELSE) 1939 (AC_LINK_IFELSE, AC_TRY_LINK, AC_COMPILE_CHECK): Likewise. 1940 19412006-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1942 1943 * doc/autoconf.texi (Limitations of Make): Clean up markup. 1944 1945 * ChangeLog: Typo. 1946 * doc/autoconf.texi (Portable Shell): Allow wrapped URLs, for 1947 DVI output. 1948 19492006-04-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 1950 1951 * doc/autoconf.texi (Limitations of Builtins): Document FreeBSD 1952 /bin/sh set unsorted output. 1953 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Adjust. 1954 * tests/local.at: Likewise. 1955 19562006-04-26 Paul Eggert <eggert@cs.ucla.edu> 1957 1958 * doc/autoconf.texi (Portable C and C++, Varieties of Unportability): 1959 (Integer Overflow, Null Pointers, Buffer Overruns): 1960 (Floating Point Portability, Exiting Portably): New sections. 1961 (Writing Test Programs): Fix some langauge. Recommend exiting 1962 with status 1, not merely nonzero. Clarify exit declaration. 1963 (Run Time): Move C exit status stuff to new Exiting Portably section. 1964 (Systemology): Mention Posix and levenez. Update v7 reference. 1965 (Portable Shell): Mention the Posix shell. 1966 19672006-04-25 Stepan Kasal <kasal@ucw.cz> 1968 1969 * bin/autoconf.as (me): Replace by as_me. 1970 19712006-04-25 Paul Eggert <eggert@cs.ucla.edu> 1972 1973 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Don't use AS_ERROR, 1974 since as_me isn't set yet. 1975 19762006-04-23 Paul Eggert <eggert@cs.ucla.edu> 1977 1978 Prepare for deprecation of AS_BASENAME and AS_DIRNAME, and fix 1979 a few minor bugs in this area. 1980 1981 * doc/autoconf.texi (Programming in M4sh): Comment out the 1982 documentation of AS_BASENAME, for now. 1983 (Shell Substitutions): Do not use AS_DIRNAME in an example. 1984 (Limitations of Builtins) <basename>: Do not refer to 1985 AS_BASENAME. 1986 * bin/autoconf.as (me): Don't use AS_BASENAME. 1987 (dir): Remove the unused variable. 1988 * lib/m4sugar/m4sh.m4 (_AS_DETECT_REQUIRED): Renamed from 1989 AS_DETECT_REQUIRED. All uses changed. 1990 (_AS_DETECT_SUGGESTED): Renamed from AS_DETECT_SUGGESTED. 1991 All uses changed. 1992 (_AS_DETECT_BETTER_SHELL): Put ;; at the end of a case. 1993 (AS_BASENAME): Use "basename --" to protect against leading "-". 1994 (_AS_BASENAME_EXPR): Renamed from AS_BASENAME_EXPR. All uses changed. 1995 (_AS_BASENAME_SED): Renamed from AS_BASENAME_SED. All uses changed. 1996 (_AS_BASENAME_PREPARE): Reject implementations that cannot handle "--". 1997 (_AS_DIRNAME_PREPARE): Likewise. 1998 (_AS_DIRNAME_EXPR): Renamed from AS_DIRNAME_EXPR. All uses changed. 1999 (_AS_DIRNAME_SED): Renamed from AS_DIRNAME_SED. All uses changed. 2000 (AS_DIRNAME): Use "dirname --". 2001 20022006-04-23 Paul Eggert <eggert@cs.ucla.edu> 2003 2004 * doc/autoconf.texi (Runtime): Renamed from "Run Time". All uses 2005 of "run time" and "run-time" changed to "runtime", for consistency. 2006 * lib/autoconf/fortran.m4: Likewise (in comment). 2007 * lib/autoconf/functions.m4: Likewise. 2008 * lib/autoconf/general.m4: Likewise. 2009 * lib/autoconf/headers.m4: Likewise. 2010 2011 * doc/autoconf.texi (Run Time): Document the exit status situation 2012 with more accuracy and detail. 2013 20142006-04-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2015 2016 * doc/autoconf.texi (Introduction): The GNU Autoconf Macro 2017 Archive is not officially `GNU' any more. Update URL. 2018 (Defining Directories): Likewise 2019 * lib/autoconf/c.m4 (AC_C_RESTRICT): Update URL. 2020 20212006-04-19 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2022 2023 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Remove the leading 2024 newline from the `trap' code to finish `config.log'; the NetBSD 2025 /bin/sh resets the exit status after an empty command, as 2026 documented in doc/autoconf.texi. 2027 Reported by Dalibor Topic <robilad@kaffe.org>. 2028 20292006-04-19 Paul Eggert <eggert@cs.ucla.edu> 2030 2031 * doc/autoconf.texi (C Compiler): Clarify AC_C_TYPEOF. 2032 Suggested by Bruno Haible. 2033 20342006-04-18 Paul Eggert <eggert@cs.ucla.edu> 2035 2036 * configure.ac (ac_cv_sh_n_works): Don't try to test for it, since 2037 some shells (e.g., Solaris 8 /bin/sh) implement it verrrry slowly. 2038 Instead, just list the shells that we know work. 2039 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Remove 2nd arg. All uses 2040 changed. Be more cautious about the _cv_ variable. 2041 * tests/tools.at (Syntax of the shell scripts): Check the 2042 _cv_ variable once, at first, to avoid an internal autoconf error 2043 when sh -n does not work. 2044 20452006-04-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2046 2047 * lib/Autom4te/FileUtils.pm: Sync from Automake. 2048 20492006-04-16 Paul Eggert <eggert@cs.ucla.edu> 2050 2051 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Don't 2052 use ">&-" since we're only 99.999% sure that this is portable, 2053 and since the MinGW bug is fixed in a different way. 2054 * lib/autotest/general.m4 (AT_INIT): Likewise. 2055 20562006-04-16 Stepan Kasal <kasal@ucw.cz> 2057 2058 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle --recheck 2059 before opening config.log, to avoid hitting a bug on MinGW. 2060 20612006-04-14 Paul Eggert <eggert@cs.ucla.edu> 2062 2063 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Close 2064 AS_MESSAGE_LOG_FD before reopening it onto the log file. 2065 This works around a MinGW bug reported by Eric Paire. 2066 Make sure that all writes to the log file append to it, 2067 rather than possibly losing data. 2068 * lib/autotest/general.m4 (AT_INIT): Likewise. 2069 20702006-04-14 Stepan Kasal <kasal@ucw.cz> 2071 2072 * lib/Autom4te/FileUtils.pm (find_file): Fix a typo in the 2073 description. 2074 20752006-04-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2076 2077 * NEWS: Update. 2078 2079 * configure.ac (AC_INIT): Bump to 2.59d. 2080 20812006-04-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2082 2083 Version 2.59c. 2084 2085 * Makefile.maint (news-date-check): Do not require a leading `*' 2086 before the release date in NEWS. 2087 20882006-04-12 Stepan Kasal <kasal@ucw.cz> 2089 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2090 2091 * lib/autoconf/status.m4 (_AC_OUTPUT_FILE): If the templates for 2092 the instantiated file do not contain the string 'datarootdir' 2093 but contain @datadir@, @docdir@, @infodir@, @localedir@, or 2094 @mandir@, replace the reference '${datarootdir}' by the value. 2095 * tests/torture.at (datarootdir workaround): New test. 2096 * NEWS: Advertise this temporary fixup. 2097 Based on a patch by Bruno Haible, reported and analyzed by 2098 Paul Eggert and Noah Misch. 2099 21002006-04-12 Eric Blake <ebb9@byu.net> 2101 2102 * tests/autotest.at (Debugging a failed test): Fix comment. 2103 21042006-04-12 Stepan Kasal <kasal@ucw.cz> 2105 2106 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Simplify the summary of 2107 all the changes since 2006-04-07. 2108 21092006-04-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2110 2111 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): If `ln -s file1 file2' 2112 succeeded, but `ln -s file dir' failed, take care to remove the 2113 leftover target before the next test, to prevent its spurious 2114 failure; also make sure `ln file dir' works before selecting it. 2115 Thanks to Keith Marshall for pointing this out. 2116 * THANKS: Update. 2117 2118 * lib/autotest/general.m4 (AT_INIT): Store quoted variable 2119 assignments in `at_debug_args', so that we put them correctly 2120 in the `run' script. 2121 * tests/autotest.at (Debugging a failed test): Unmark XFAIL. 2122 Reported by Eric Blake. 2123 21242006-04-11 Eric Blake <ebb9@byu.net> 2125 2126 * tests/autotest.at (AT_CHECK_AT): Add new argument, to allow 2127 top-level tests after micro-suite has been run. Used in... 2128 (Debugging a successful test, Debugging script and environment), 2129 (Debugging a failed test): ...these new tests. The first of these 2130 is fixed by... 2131 * lib/autotest/general.m4 (_AT_CREATE_DEBUGGING_SCRIPT): New 2132 macro, split out from... 2133 (AT_INIT): ...here, so that using -d also generates a run script. 2134 Document that -d inhibits top-level logging. 2135 * doc/autoconf.texi (testsuite Invocation): Document that -d only 2136 inhibits top-level logging; debug scripts are created. 2137 2138 * lib/autotest/general.m4 (_AT_CHECK): Avoid syntax error on empty 2139 check. 2140 * tests/autotest.at (Empty test, Empty check): New test to check it. 2141 2142 * lib/autoconf/c.m4 (AC_C_CONST, AC_C_VOLATILE): Avoid warnings 2143 from gcc. 2144 21452006-04-10 Stepan Kasal <kasal@ucw.cz> 2146 2147 * tests/mktests.sh: Use "trap '' 0", not "trap 0". Do not touch 2148 the files if a problem appears. Make the empty *.at files 2149 read-only, too. Proposed by Ralf Wildenhues. 2150 21512006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2152 2153 * config/Makefile.am: Add comment to force updated Makefile.in. 2154 2155 * lib/freeze.mk: Fix typo in comment. Unlike the last, white 2156 space only patch to this file, this patch causes the Makefile.in 2157 files that include freeze.mk to be updated, and thus have a 2158 newer time stamp again, which in turn makes a pristine CVS 2159 checkout have correct time stamps. 2160 2161 * Makefile.maint (cvs-sv): New macro, to be used.. 2162 (config.guess-url_prefix, config.sub-url_prefix) 2163 (texinfo.tex-url_prefix, standards.texi-url_prefix): ..here; 2164 point to CVS text checkout of Gnulib files. 2165 (copyright-check): Bump current year. 2166 (announcement): Do not hard-wire `./announce-gen'. 2167 (cvs-update): Propagate failures of `cvs' and `move-if-change' 2168 correctly. 2169 * Makefile.cfg (executable-update): Use `chmod a+x' instead of 2170 `chmod +x'. 2171 (wget_files): Update config.guess, config.sub, texinfo.tex by 2172 `wget-update', now that their URLs work again. 2173 21742006-04-10 Paul Eggert <eggert@cs.ucla.edu> 2175 2176 * doc/autoconf.texi (Particular Types): Don't use AC_CHECK_TYPE. 2177 Problem noted by Paul D. Smith. 2178 21792006-04-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2180 2181 * doc/autoconf.texi: Remove unused words from word list. 2182 * .x-sc_prohibit_atoi_atof, .x-sc_space_tab, .x-sc_sun_os_names, 2183 .x-sc_trailing_space: New files. 2184 2185 * doc/standards.texi: Sync from gnulib. 2186 2187 * NEWS, doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): Mark 2188 `LIBOBJDIR' as experimental. 2189 2190 * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): MSYS `ln -s' fails 2191 with a target directory; it's internally implemented as `cp' 2192 anyway, but since Autoconf advertises the possibility to use 2193 a target directory when LN_S is `ln -s', we need to find out. 2194 Reported by Rolf Ebert <rolf.ebert.gcc@gmx.de> against MSYS, 2195 analyzed by Keith Marshall <keith.marshall@total.com>. 2196 2197 * THANKS: Update. 2198 21992006-04-10 Paul Eggert <eggert@cs.ucla.edu> 2200 2201 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Just output 2202 confdefs.h as-is. In general, if it has backslash-newline or the 2203 like, then it doesn't work either to sort or to remove empty 2204 lines. 2205 22062006-04-09 Stepan Kasal <kasal@ucw.cz> 2207 2208 * tests/Makefile.am (AUTOCONF_FILES): Fix typo in the comment. 2209 22102006-04-09 Alexandre Duret-Lutz <adl@gnu.org> 2211 2212 * lib/autom4te.in (Automake-preselections): Preselect 2213 _AM_SUBST_NOTMAKE. 2214 22152006-04-08 Paul Eggert <eggert@cs.ucla.edu> 2216 2217 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Use '\'' for an 2218 apostrophe within a single-quoted string, as this is the usual 2219 tradition and is easier to read than '"'"'. Don't rely on the 2220 shell treating "$/" like '$/'. Use a more-consistent indenting 2221 style for the trap. 2222 22232006-04-09 Eric Blake <ebb9@byu.net> 2224 2225 * tests/autotest.at (Backquote command substitution), 2226 (Multiline backquote command substitution): Remove mistaken 2227 AT_NO_CMDSUBST from the 2006-03-14 patch, which was meant to be 2228 applied... 2229 (Parenthetical command substitution, Multiline parenthetical 2230 command substitution): here. 2231 22322006-04-08 Paul Eggert <eggert@cs.ucla.edu> 2233 2234 Import macros from gnulib (often changing their name). 2235 2236 * NEWS: AC_C_TYPE_LONG_DOUBLE is now obsolete. 2237 New macros AC_CHECK_DECLS_ONCE, AC_CHECK_FUNCS_ONCE, 2238 AC_CHECK_HEADERS_ONCE, AC_FUNC_STRTOLD, AC_HEADER_ASSERT, 2239 AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE, 2240 AC_TYPE_LONG_DOUBLE, AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_INT8_T, 2241 AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T, 2242 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_LONG_INT, 2243 AC_TYPE_UINT8_T, AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, 2244 AC_TYPE_UINT64_T, AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, 2245 AC_TYPE_UNSIGNED_LONG_LONG_INT, AC_USE_SYSTEM_EXTENSIONS. 2246 The manual mentions Gnulib more prominently. 2247 * doc/autoconf.texi (Gnulib): New node. 2248 (Pointers): Add Gnulib URL. 2249 (Particular Functions): Alphabetize. Add AC_FUNC_STRTOLD. 2250 (Generic Functions): Add AC_CHECK_FUNCS_ONCE. Refer to new 2251 Gnulib section. 2252 (Particular Headers): Add AC_HEADER_ASSERT. For stdbool.h, 2253 suggest a #define rather than a typedef for _Bool, and mention 2254 Gnulib rather than trying to substitute stdbool code. 2255 (Generic Headers): Add AC_CHECK_HEADERS_ONCE. 2256 (Generic Declarations): Add AC_CHECK_DECLS_ONCE. 2257 (Particular Structures): Add AC_STRUCT_DIRENT_D_INO, 2258 AC_STRUCT_DIRENT_D_TYPE. 2259 (Particular Types): Mention stdint.h and inttypes.h as standard 2260 headers too. 2261 Add AC_TYPE_INT8_T, AC_TYPE_INT16_T, AC_TYPE_INT32_T, AC_TYPE_INT64_T, 2262 AC_TYPE_INTMAX_T, AC_TYPE_INTPTR_T, AC_TYPE_LONG_DOUBLE, 2263 AC_TYPE_LONG_DOUBLE_WIDER, AC_TYPE_LONG_LONG_INT, AC_TYPE_UINT8_T, 2264 AC_TYPE_UINT16_T, AC_TYPE_UINT32_T, AC_TYPE_UINT64_T, 2265 AC_TYPE_UINTMAX_T, AC_TYPE_UINTPTR_T, AC_TYPE_UNSIGNED_LONG_LONG_INT. 2266 (C Compiler): Move AC_C_LONG_DOUBLE to ... 2267 (Obsolete Macros): here. Under AC_LONG_DOUBLE, mention 2268 AC_TYPE_LONG_DOUBLE or AC_TYPE_LONG_DOUBLE_WIDER instead. 2269 (Posix Variants): Add AC_USE_SYSTEM_EXTENSIONS. 2270 (Coding Style). Don't mention m4_expand_once. 2271 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Implement via 2272 AC_TYPE_LONG_DOUBLE_WIDER. Now obsolete. 2273 * lib/autoconf/functions.m4 (_AH_CHECK_FUNCS): New macro. 2274 (AC_CHECK_FUNCS): Use it. 2275 (AC_CHECK_FUNCS_ONCE, AC_FUNC_STRTOLD): New macros. 2276 (AC_FUNC_WAIT3): "the Open Group standards" -> "POSIX". 2277 * lib/autoconf/general.m4 (AC_CHECK_DECLS_ONCE): New macro. 2278 * lib/autoconf/headers.m4 (AC_CHECK_HEADERS_ONCE): New macro. 2279 (AC_HEADER_ASSERT): New macro. 2280 (AC_HEADER_STDBOOL): Don't assume "#error" works. 2281 Catch a bug in IBM AIX xlc compiler version 6.0.0.0. 2282 Catch a bug in an HP-UX C compiler. 2283 * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): New macro. 2284 * lib/autoconf/types.m4 (AC_TYPE_INTMAX_T. AC_TYPE_UINTMAX_T): 2285 (AC_TYPE_INTPTR_T, AC_TYPE_UINTPTR_T. AC_TYPE_LONG_DOUBLE): 2286 (AC_TYPE_LONG_DOUBLE_WIDER, AC_C_LONG_DOUBLE, AC_TYPE_LONG_LONG_INT): 2287 (AC_TYPE_UNSIGNED_LONG_LONG_INT, _AC_TYPE_INT, _AC_TYPE_UNSIGNED_INT): 2288 (_AC_STRUCT_DIRENT, AC_STRUCT_DIRENT_D_INO, AC_STRUCT_DIRENT_D_TYPE): 2289 New macros. 2290 2291 * tests/mktests.sh (ac_exclude_list, au_exclude_list): Do not 2292 use /^foo|bar$/, it does not mean /^(foo|bar)$/. 2293 22942006-04-08 Stepan Kasal <kasal@ucw.cz> 2295 2296 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Fix the wording 2297 of the warning introduced by the 2001-08-28 change. 2298 22992006-04-08 Stepan Kasal <kasal@ucw.cz>, 2300 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2301 2302 * lib/autoconf/general.m4 (AC_CACHE_SAVE): All `ac_cv_env_foo' 2303 variables shall be overriden by the cache. 2304 * tests/torture.at (AC_ARG_VAR): Test also with a first value 2305 that contains braces. 2306 23072006-04-07 Stepan Kasal <kasal@ucw.cz> 2308 2309 Revert the patch from 2006-04-01 and only improve 2310 _AS_DETECT_BETTER_SHELL: 2311 2312 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not optimize; do not 2313 skip nonexistent directories. 2314 (_AS_DETECT_BETTER_SHELL): The optimization is moved here--try 2315 only shell candidates which exist. 2316 (AS_UNAME): No need to give three parameters to _AS_PATH_WALK. 2317 * lib/autotest/general.m4 (AT_INIT): No need to give three 2318 parameters to _AS_PATH_WALK. 2319 23202006-04-07 Stepan Kasal <kasal@ucw.cz>, 2321 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2322 2323 * bin/autoupdate.in (handle_autoconf_patches): Change the way we 2324 distinguish m4sugar macros. 2325 * tests/tools.at (autoupdating with aclocal and m4_include): 2326 New test. Bug reported by Gary V. Vaughan <gary@gnu.org>, 2327 test case by Noah Misch <noah@cs.caltech.edu>. 2328 23292006-04-07 Stepan Kasal <kasal@ucw.cz> 2330 2331 Revert my change from 2006-03-17, in other words: 2332 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Insert BIN_SH=xpg4 2333 and DUALCASE=1. 2334 (AS_SHELL_SANITIZE): Remove DUALCASE=1. 2335 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Say that 2336 it is set. 2337 23382006-04-07 Eric Blake <ebb9@byu.net> 2339 2340 * doc/autoconf.texi (Programming in M4sh): Document that 2341 AS_MKDIR_P exits the script on failure. 2342 * lib/autotest/general.m4: Remove redundant AS_ERROR. 2343 23442006-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2345 2346 * config/elisp-comp, config/install-sh, config/mdate-sh, 2347 config/missing, config/mkinstalldirs: Sync from Automake. 2348 2349 * lib/Autom4te/FileUtils.pm, lib/Autom4te/Struct.pm: Sync 2350 from Automake. 2351 2352 * doc/make-stds.texi: Sync from gnulib. 2353 23542006-04-06 Eric Blake <ebb9@byu.net> 2355 2356 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_O): Inside cache 2357 check, s/ac_exeext/ac_cv_exeext/. Fixes regression introduced 2358 2006-04-01. 2359 23602006-04-06 Stepan Kasal <kasal@ucw.cz>, 2361 Eric Blake <ebb9@byu.net>, 2362 Paul Eggert <eggert@cs.ucla.edu>, 2363 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2364 2365 * lib/autoconf/general.m4 (_AC_CACHE_DUMP): Fix the detection of 2366 whether `set' quotes correctly: redirect stderr of the tested 2367 `set', and use a subshell, for Ultrix; use `sed' instead of 2368 `grep' for zsh `set' which may write binary output; match only 2369 at the beginning of a line, to avoid false positives. 2370 In order to avoid false positives by unrelated variables with 2371 multiline content, put the dump algorithm in a subshell and 2372 unset all variables containing newlines (except some which are 2373 special to the shell). Warn about cache variables that are 2374 unset. 2375 23762006-04-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2377 2378 * config/config.guess, config/config.sub, config/texinfo.tex: 2379 Sync from upstream. 2380 2381 * tests/mktests.sh: Reword comments. 2382 2383 * tests/mktests.sh: Only skip internal macros starting with 2384 `_AC_' or `__AC_'. Noted by Stepan Kasal. 2385 Update exclusion lists for the test suite to this end: 2386 (AC_ARG_VAR): Do test this now. 2387 (AC_SEARCH_LIBS, AC_REPLACE_FUNCS): Need an argument. 2388 (AC_LINKER_OPTION): Remove (renamed to _AC_LINKER_OPTION). 2389 (AC_LIST_MEMBER_OF): Likewise (renamed to _AC_LIST_MEMBER_IF). 2390 (AC_LINK_FILES): Obsoleted since (and thus AU_DEFUN'ed). 2391 2392 * doc/autoconf.texi (Shell Substitutions): Mention the MSYS 2393 shell issue with double-quoted command substitutions of native 2394 commands. 2395 Reported to MSYS by Mark Cave-Ayland, to Autoconf by Keith 2396 Marshall. 2397 2398 * Makefile.maint (sc_cast_of_argument_to_free): Do not fail when 2399 no file matches the glob, discard the warning, set `nullglob'. 2400 (syntax-check): Likewise. 2401 (sc_cast_of_x_alloc_return_value): Likewise. 2402 (sc_cast_of_alloca_return_value, sc_error_exit_success) 2403 (sc_prohibit_jm_in_m4, .re-list, sc_unmarked_diagnostics) 2404 (m4-check): Likewise. 2405 (sc_system_h_headers): Do not print rule on execution. 2406 (sc_tight_scope): Do not fail for non-existing `src' directory. 2407 (sc_changelog): Skip the Copyright footer. 2408 * lib/autoconf/lang.m4: Remove trailing space. 2409 2410 * lib/autoconf/status.m4: More replacements to 2411 <tab><space> where this makes sense. 2412 24132006-04-06 Stepan Kasal <kasal@ucw.cz> 2414 2415 * tests/Makefile.am (maintainer-check-posix): 2416 s/POSIXLY_CORRECTLY/POSIXLY_CORRECT/ 2417 2418 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Append TAGS to 2419 ac_config_<foo>s again, sometimes normalized, sometimes not. 2420 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): 2421 (AC_CONFIG_COMMANDS): Do not do so here. 2422 (_AC_CONFIG_REGISTER_DEST): Double quote the tags in macros _AC_LIST_TAGS 2423 and_AC_LIST_TAG_COMMANDS; fixes another regression introduced by the 2424 2005-07-25 rewrite. Noticed by Noah Misch. 2425 2426 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): Do not define 2427 _AC_PRESERVE_HELP_ORDER, ... 2428 (AC_ARG_ENABLE, AC_ARG_WITH): ... use AC_PROVIDE_IFELSE insetad. 2429 2430 * lib/autoconf/general.m4 (AC_ARG_VAR): Do not use m4_divert_once 2431 inside m4_expand_once; it is redundant. 2432 2433 * lib/autoconf/general.m4 (_AC_INIT_HELP): Remove the broken support 2434 for --help from Cygnus `configure.' 2435 24362006-04-06 Paul Eggert <eggert@cs.ucla.edu> 2437 2438 * doc/autoconf.texi (C Compiler): Warn about #error. Follows up 2439 on a patch proposed by Ralf Wildenhues. 2440 24412006-04-05 Paul Eggert <eggert@cs.ucla.edu> 2442 2443 * lib/autoconf/status.m4: Replace <space>''<tab> with 2444 <tab><space> where this makes sense. 2445 24462006-04-05 Howard Chu <hyc@highlandsun.com> (trivial change) 2447 Noah Misch <noah@cs.caltech.edu> 2448 2449 * lib/autoconf/general.m4 (AC_PRESERVE_HELP_ORDER): New macro. 2450 (AC_ARG_ENABLE, AC_ARG_WITH): Adjust. 2451 * doc/autoconf.texi (Help Formatting): New node. 2452 * NEWS: Announce AC_PRESERVE_HELP_ORDER. 2453 24542006-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2455 2456 * TODO, config/Makefile.am, lib/freeze.mk, lib/autoconf/c.m4, 2457 lib/autoconf/specific.m4, lib/autoconf/status.m4, 2458 lib/autoconf/types.m4, lib/autotest/general.m4, 2459 tests/mktests.sh, tests/torture.at: White space cleanup: 2460 remove some SPACE before TAB, or add quoting ('' or @&t@). 2461 2462 * NEWS, TODO, bin/autoreconf.in: `filesystem' -> `file system'. 2463 2464 * doc/autoconf.texi (Shell Substitutions): Document `^' vs. `|'. 2465 24662006-04-05 Eric Blake <ebb9@byu.net> 2467 2468 * lib/autotest/general.m4 (AT_INIT): Prep AT_*_all, so that an 2469 empty test suite works. 2470 * tests/autotest.at (Empty test suite): Remove xfail. 2471 24722006-04-05 Noah Misch <noah@cs.caltech.edu> 2473 2474 * lib/autoconf/status.m4 (_AC_CONFIG_FOOS): Do not append normalized 2475 TAGS to ac_config_<foo>s. 2476 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_LINKS): Do so here. 2477 (AC_CONFIG_COMMANDS): Append NAME to ac_config_commands without 2478 normalizing it, consistent it with previous releases. 2479 * tests/torture.at (Macro calls in AC_CONFIG_COMMANDS tags): New test. 2480 24812006-04-05 Paul Eggert <eggert@cs.ucla.edu> 2482 2483 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR, AS_DIRNAME_EXPR): 2484 Use simplified args that Eric Blake originally suggested. 2485 24862006-04-04 Paul Eggert <eggert@cs.ucla.edu> 2487 2488 * tests/mktests.sh: Don't use 'cat'; just read the files directly. 2489 Prefer 'sort -u' to 'sort | uniq'. Filter data before sorting it. 2490 Use 'comm' rather than N instances of grep; this also fixes a bug 2491 whereby substrings were incorrectly matched, causing us to not 2492 generate tests for AC_F77_NAME_MANGLING and AC_FUNC_LSTAT. 2493 (exclude_list): Exclude empty macros. 2494 (ac_exclude_list): Exclude AC_INCLUDES_DEFAULT. 2495 2496 Use awk rather than grep -E or egrep, to avoid 2497 portability problems with regular expressions containing newlines. 2498 (exclude_list, ac_exclude_list, au_exclude_list, ac_exclude_script): 2499 Switch from grep to awk syntax. 2500 (ac_exclude_script): Renamed from ac_exclude_egrep. 2501 (au_exclude_script): Renamed from au_exclude_egrep. 2502 25032006-04-04 Noah Misch <noah@cs.caltech.edu> 2504 2505 * lib/autoconf/general.m4 (_AC_INIT_HELP): Only `configure.in' evidences 2506 a subdirectory subject to Cygnus `configure'. 2507 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Likewise. 2508 2509 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Omit the bug 2510 report request when we have no AC_PACKAGE_BUGREPORT. 2511 25122006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2513 2514 * THANKS: Update. 2515 2516 * tests/mktests.sh: Update copyright year in the header of the 2517 generated files. 2518 2519 * lib/autoconf/c.m4 (AC_C_INLINE): Do not skip cleanup code. 2520 (AC_C_RESTRICT): Likewise. Furthermore, add a function with a 2521 typedef'ed restricted pointer, to catch a compiler bug on 2522 HP-UX 11.x, and fix warnings so it passes with -Werror. 2523 (_AC_PROG_CC_C99): Likewise. 2524 Reported by Albert Chin <china@thewrittenword.com>. 2525 * tests/mktests.sh: Do not skip AC_C_INLINE, AC_C_RESTRICT. 2526 25272006-04-03 Noah Misch <noah@cs.caltech.edu> 2528 2529 * bin/autoscan.in (subdirs): New global. 2530 (scan_file): Prune directories with configure{,.{ac,in,gnu}}. 2531 (output): Emit AC_CONFIG_SUBDIRS as needed. 2532 * tests/autoscan.at (autoscan): Remove XFAIL. 2533 25342006-04-03 Noah Misch <noah@cs.caltech.edu> 2535 2536 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use AC_MSG_NOTICE. 2537 25382006-04-03 Eric Blake <ebb9@byu.net> 2539 2540 * THANKS: Add myself. 2541 25422006-04-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2543 2544 * lib/autotest/general.m4 (AT_INIT): Add `at_testdir' to pointer 2545 to log, point to testsuite output tree. 2546 25472006-04-02 Paul Eggert <eggert@cs.ucla.edu> 2548 2549 * NEWS: AC_PROG_CC and AC_PROG_CXX no longer declare 'exit'. 2550 * doc/autoconf.texi (Function Portability): Mention that C++ 2551 has trouble with 'exit'. 2552 (Guidelines): Test programs shouldn't use 'exit'. 2553 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): 2554 Remove; all uses removed. 2555 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): 2556 Return from 'main' instead of calling 'exit'. 2557 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_CLOSEDIR_VOID): 2558 (_AC_FUNC_FNMATCH_IF, AC_FUNC_GETGROUPS): 2559 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK, _AC_FUNC_MALLOC_IF): 2560 (AC_FUNC_MEMCMP, AC_FUNC_MKTIME, AC_FUNC_MMAP, _AC_FUNC_REALLOC_IF): 2561 (AC_FUNC_SETPGRP, _AC_FUNC_STAT, AC_FUNC_STRTOD, AC_FUNC_STRERROR_R): 2562 (AC_FUNC_STRNLEN, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL): 2563 (_AC_FUNC_FORK, _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise. 2564 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Likewise. 2565 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise. 2566 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise. 2567 * tests/compile.at: Likewise. 2568 25692006-04-02 Pavel Roskin <proski@gnu.org> 2570 2571 * doc/autoconf.texi (AC_PATH_X): Update per 2005-08-26 change. 2572 25732006-04-01 Stepan Kasal <kasal@ucw.cz> 2574 2575 Clean up _AC_COMPILER_EXEEXT* macros. 2576 2577 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Don't try to 2578 detect exeext, it will be done by _AC_COMPILER_EXEEXT_O; just set 2579 ac_file to the name of the default output file and call 2580 _AC_COMPILER_EXEEXT_WORKS. Move the definition of ac_files and the 2581 initial `rm' of the candidate files... 2582 (_AC_COMPILER_EXEEXT): ... here and simplify them. Moreover, use 2583 the same list in subsequent `rm' calls, and for the temporary 2584 redefinition of ac_clean_files; call _AC_COMPILER_OBJEXT at the end, 2585 and don't call the other _AC_COMPILER_EXEEXT_* macros directly, use... 2586 (_AC_COMPILER_EXEEXT_TESTS): ... this new macro. 2587 (_AC_COMPILER_EXEEXT_O): Don't export ac_cv_exeext, it's not needed (or 2588 no longer needed) by libtool. Make it a cache check. 2589 (_AC_COMPILER_EXEEXT_CROSS): Remove the comment, it was obviously 2590 copied here by mistake. 2591 (AC_NO_EXECUTABLES): Redefine _AC_COMPILER_EXEEXT_TESTS, not 2592 _AC_COMPILER_EXEEXT. 2593 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Do not call 2594 _AC_COMPILER_OBJEXT directly. 2595 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise. 2596 25972006-04-01 Stepan Kasal <kasal@ucw.cz> 2598 2599 * lib/m4sugar/m4sh.m4 (_AS_DIRNAME_PREPARE): New macro. 2600 (AS_DIRNAME): Use it. 2601 (_AS_PREPARE): Add _AS_DIRNAME_PREPARE. 2602 2603 * tests/*.at: Remove the generated ones. 2604 26052006-04-01 Stepan Kasal <kasal@ucw.cz> 2606 2607 * lib/autotest/general.m4 (AT_INIT): Don't optimize the first PATH walk. 2608 26092006-04-01 Eric Blake <ebb9@byu.net> 2610 2611 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Optimize nonexistent 2612 directories, unless optional third argument supplied. 2613 (AS_UNAME): Don't optimize PATH walk. 2614 2615 * lib/Autom4te/Struct.pm, lib/autoconf/c.m4: s/non-existent/nonexistent/ 2616 26172006-04-01 Eric Blake <ebb9@byu.net> 2618 and Stepan Kasal <kasal@ucw.cz> 2619 2620 * lib/m4sugar/m4sh.m4: Sort sections as implied by the comments, 2621 and fix some typos. 2622 26232006-04-01 Noah Misch <noah@cs.caltech.edu> 2624 2625 * lib/autoconf/general.m4 (_AC_INIT_VERSION): Emit script name and 2626 Autoconf version number despite a zero- or one-argument AC_INIT. 2627 2628 * bin/autoreconf.in (parse_args): Multiple -v send --verbose to 2629 subordinate tools. 2630 * lib/Autom4te/General.pm (getopt): Make -v and -d incremental. 2631 * doc/autoconf.texi (autoreconf Invocation): Document it. 2632 2633 * doc/autoconf.texi: Use `Cygwin', `MinGW', and `license' consistently. 2634 Append LocalWords so ispell-buffer passes cleanly. Spelling fixes. 2635 26362006-04-01 Eric Blake <ebb9@byu.net> 2637 2638 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Allow use in shell lists. 2639 * lib/autotest/general.m4: Be tolerant of existing directory when 2640 rm failed to remove it. 2641 26422006-04-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2643 2644 * bin/autoupdate.in: Redefine m4_location so that warnings print 2645 the correct lines of the input file by subtracting.. 2646 (_au__first_line): ..this new definition. 2647 2648 * lib/autoconf/general.m4 (AC_COMPILE_CHECK): Prefer 2649 AC_MSG_CHECKING over obsolete AC_CHECKING in autoupdated code. 2650 Remove stray newline in output. 2651 (AC_FOREACH): AU_DEFUN this as literal for autoupdate, and also 2652 AC_DEFUN this for autoconf, including the obsoletion diagnose. 2653 Fixes autoupdating of code where the replacement output contains 2654 m4sugar macros. 2655 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise. 2656 * tests/mktests.sh (ac_exclude_list): Add AC_FOREACH. 2657 (au_exclude_list): Add AC_LANG_SAVE. 2658 * tests/tools.at: Several new tests for all of this. 2659 * doc/autoconf.texi (Obsoleting Macros): Give a hint about the 2660 hairy details. 2661 The AC_LANG_SAVE issue was reported against Libtool by 2662 Dalibor Topic <robilad@kaffe.org>, and against Autoconf 2.57 by 2663 Kristian Kvilekval <kris@cs.ucsb.edu>. 2664 26652006-04-01 Stepan Kasal <kasal@ucw.cz> 2666 2667 * bin/autoupdate.in: Handle m4 builtins and m4sugar macros together-- 2668 switch all of them on and of when necessary. Fixes the bug when 2669 m4sugar macros (e.g., m4_define) were expanded after the first 2670 automatic update (e.g., after AC_PREREQ or AC_INIT). 2671 26722006-03-31 Paul Eggert <eggert@cs.ucla.edu> 2673 2674 * doc/autoconf.texi (Programming in M4sh): Sharpen the descriptions 2675 of AS_BASENAME and AS_DIRNAME. Reported by Stepan Kasal. 2676 2677 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): Handle ///, ////, etc. 2678 correctly. Problem reported by Eric Blake. 2679 (_AS_EXPR_PREPARE): Detect Tru64 expr bug. Problem reported by 2680 Ralf Wildenhues. 2681 26822006-03-30 Paul Eggert <eggert@cs.ucla.edu> 2683 2684 * doc/autoconf.texi (Programming in M4sh, Limitations of Usual Tools): 2685 Tighten up the basename/dirname wording. 2686 26872006-03-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2688 2689 * Makefile.maint (sc_texi_notab): New check: do not use TABs 2690 in texinfo files outside of verbatim environments. 2691 (syntax-check-rules): Update. 2692 * doc/autoconf.texi (Configuration Headers): Conform to it. 2693 26942006-03-30 Chris Pickett <cpicke@cs.mcgill.ca> (tiny change) 2695 2696 * doc/autoconf.texi (autoreconf Invocation): Mention that -I for 2697 aclocal cannot be given on the command line. 2698 26992006-03-29 Paul Eggert <eggert@cs.ucla.edu> 2700 2701 * doc/autoconf.texi (Programming in M4sh): Mention AS_BASENAME. 2702 Give an example for AS_DIRNAME instead of referring to Posix.. 2703 (File System Conventions): Put discussion of // versus / here, and 2704 modernize it a bit. 2705 (Limitations of Usual Tools): Add basename. Remove verbiage 2706 after dirname, since it got moved to the above sections. 2707 All this was inspired by a patch proposed earlier by Eric Blake. 2708 27092006-03-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2710 2711 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Quote 2712 `$0' to protect against spaces. 2713 * lib/autotest/general.m4 (AT_INIT): Likewise. 2714 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise, for 2715 `$0', $as_me. 2716 27172006-03-26 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2718 2719 * bin/autoscan.in: The value of find_configure_ac should be 2720 checked for existence, so we don't barf over a nonexisting 2721 configure.ac. Reported by Laurence Darby <ldarby@tuffmail.com>. 2722 27232006-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2724 2725 * bin/autoupdate.in: Fix some typos. 2726 27272006-03-21 Stepan Kasal <kasal@ucw.cz> 2728 2729 * doc/autoconf.texi (Installation Directory Variables): Fix typo. 2730 2731 * lib/autoscan/autoscan.list: Refreshed. 2732 27332006-03-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2734 2735 * tests/local.at (AT_CHECK_ENV): Ignore AC_SUBSTed Objective C 2736 and Erlang related variables. 2737 2738 * lib/autoconf/c.m4 (AC_LANG(Objective C), AC_LANG_OBJC) 2739 (_AC_LANG_ABBREV(Objective C), _AC_LANG_PREFIX(Objective C)) 2740 (AC_LANG_SOURCE(Objective C), AC_LANG_PROGRAM(Objective C)) 2741 (AC_LANG_CALL(Objective C), AC_LANG_FUNC_LINK_TRY(Objective C)) 2742 (AC_LANG_BOOL_COMPILE_TRY(Objective C)) 2743 (AC_LANG_INT_SAVE(Objective C), AC_LANG_PREPROC(Objective C)) 2744 (AC_PROG_OBJCPP, AC_LANG_COMPILER(Objective C), AC_PROG_OBJC) 2745 (_AC_PROG_OBJC_G): New macros. 2746 (_AC_ARG_VAR_CPPFLAGS): Adjusted. 2747 * doc/autoconf.texi (Objective C Compiler): New node. 2748 (Preset Output Variables): Document OBJCFLAGS. 2749 (Language Choice): Document `Objective C' language. 2750 (Fortran Compiler): Fix typo. 2751 * NEWS: Updated. 2752 Inspired by a patch from David M. Lloyd <dmlloyd@tds.net>. 2753 27542006-03-20 Stepan Kasal <kasal@ucw.cz> 2755 2756 * doc/autoconf.texi (Default Includes): Fix typo 2757 s/AC_HEADERS_STDC/AC_HEADER_STDC/ 2758 (Limitations of Usual Tools): s/unwriteable/unwritable/ 2759 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT): 2760 Fix typos in the comments. 2761 27622006-03-17 Stepan Kasal <kasal@ucw.cz> 2763 2764 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): 2765 Factor out the warning to... 2766 (_AC_TOOL_WARN): ... this new macro; use `cross_compiling'. 2767 * tests/local.at (AT_CHECK_MACRO_CROSS): Avoid this warning. 2768 * tests/semantics.at (AC_C_BIGENDIAN): Likewise. 2769 2770 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Do not special 2771 case `ac_delim' when writing the sed script. 2772 2773 * lib/m4sugar/m4sh.m4 (AS_BOURNE_COMPATIBLE): Removed BIN_SH=xpg4, 2774 moved DUALCASE=1 ... 2775 (AS_SHELL_SANITIZE): ... here. 2776 * doc/autoconf.texi (Special Shell Variables) <BIN_SH>: Do not say 2777 that it is set. 2778 2779 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Quote the parameter of 2780 AC_SUBST. 2781 (_AC_PATH_PROG): Store the result to VARIABLE. 2782 (AC_PATH_PROG): No need to set VARIABLE again. 2783 2784 * tests/local.at (AT_CHECK_MACRO_CROSS): New macro, creates two tests: 2785 the first one is usual AT_CHECK_MACRO test, the second one checks 2786 that the same works when cross-compiling. 2787 * tests/semantics.at (AC_CHECK_ALIGNOF, AC_CHECK_ALIGNOF struct): 2788 (AC_CHECK_SIZEOF, AC_CHECK_SIZEOF struct): Use it. 2789 27902006-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2791 2792 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Prepend 2793 the directory `/usr/bin/posix' in the shell search, to prefer 2794 the Posix shell not only in subsequent spawns as with `$BIN_SH' 2795 on Tru64. 2796 2797 * doc/autoconf.texi (contents): To fix texi2html output, hide 2798 `@setcontentsaftertitlepage' for HTML. 2799 (Writing Autoconf Macros): Likewise, insert space after `@c'. 2800 (Leviticus, Numbers, Deuteronomy): Likewise, change `@,c' to 2801 `@,{c}'. 2802 28032006-03-16 Stepan Kasal <kasal@ucw.cz> 2804 2805 * lib/m4sugar/m4sh.m4 (_AS_PREPARE): Move the IFS setup and CDPATH 2806 sanitizing... 2807 (AS_SHELL_SANITIZE): ...here; mention _AS_PATH_WALK needs IFS set. 2808 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Add an explanation 2809 why IFS is restored so late; thank you, Ralf, for reminding us. 2810 28112006-03-15 Stepan Kasal <kasal@ucw.cz> 2812 2813 * doc/autoconf.texi (Pretty Help Strings): No need to use cached 2814 variables in the examples. 2815 28162006-03-14 Romain Lenglet <rlenglet@users.forge.objectweb.org> 2817 2818 * doc/autoconf.texi (several sections): Cleaned up documentation for 2819 macros in erlang.m4. 2820 28212006-03-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2822 2823 * tests/autotest.at (AT_NO_CMDSUBST): New macro to determine 2824 failure condition for `$(cmd)' style command substitutions. 2825 (Parenthetical command substition, Multiline parenthetical 2826 command substition): Use it. 2827 2828 * doc/autoconf.texi (Special Shell Variables): Missing word. 2829 Reported by Keith Marshall <keith.marshall@total.com>. 2830 2831 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Do not forget to reset 2832 IFS even in case of empty `$PATH'. 2833 28342006-03-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2835 2836 * lib/autotest/general.m4 (AT_INIT) <at_optarg>: Optimize 2837 `expr' away if there is nothing to do. 2838 < --keywords >: Simplify and robustify argument handling. 2839 Revert erroneous comment from 2005-08-23. Extend to allow 2840 keyword negation with `!'. 2841 Update help message. Remove broken code to prevent running 2842 tests multiple times. 2843 * doc/autoconf.texi (testsuite Invocation) < --keywords >: 2844 Update and fix the documentation accordingly. 2845 * tests/autotest.at (Keywords): Renamed to.. 2846 (Keywords and ranges): .. this. Extended to make sure negated 2847 keywords, keywords taken from AT_SETUP arguments, and numeric 2848 test ranges work, and that matching is case-insensitive. 2849 28502006-03-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2851 2852 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW): Use a typedef to 2853 allow to pass unnamed structs even in C++. 2854 (AC_CHECK_SIZEOF): Likewise. 2855 Also fix quoting error in `AC_MSG_FAILURE' arguments. 2856 * tests/semantics.at (AC_CHECK_ALIGNOF struct, AC_CHECK_SIZEOF 2857 struct): New tests for unnamed structs, each both native and 2858 cross-compiling. 2859 2860 * lib/autoconf/c.m4 (AC_C_TYPEOF): Use typedef to avoid defining 2861 a structure inside a cast, for C++ conformance. 2862 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Likewise. 2863 Also fix quoting error in `AC_MSG_FAILURE' arguments. 2864 2865 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): If we cannot enable C99 2866 nor C89 mode, set `$ac_cv_prog_cc_stdc' to `no' instead of 2867 trying to execute the command `no'. 2868 2869 * lib/autoconf/lang.m4 (AC_LANG_CONFTEST): AC_DEFUN this, not 2870 m4_define, so that the requirements of `AC_INCLUDES_DEFAULT' are 2871 expanded outside. 2872 2873 * doc/autoconf.texi (autoconf Invocation): Fix typos in trace 2874 example. Do not emphasize `$%', it is hardly new and special. 2875 Reported by Edouard Bechetoille <ebecheto@ens-lyon.fr>. 2876 2877 * doc/autoconf.texi (Limitations of Usual Tools): Document 2878 OpenBSD and traditional `grep' failure to handle multiple 2879 patterns separated by newlines. 2880 28812006-03-10 Romain Lenglet <rlenglet@users.forge.objectweb.org> 2882 2883 * doc/autoconf.texi (several sections): Add documentation for macros 2884 in erlang.m4. 2885 28862006-03-10 Eric Blake <ebb9@byu.net> 2887 2888 * doc/autoconf.texi (Obsolete Macros): Fix wording of 2889 AC_TRY_LINK_FUNC. 2890 28912006-03-10 Paul Eggert <eggert@cs.ucla.edu> 2892 2893 * doc/autoconf.texi: Use @acronym more consistently for acronyms 2894 like BSD, GPL, LGPL. Fix minor English typos. 2895 (AC_STDC_HEADERS, AC_PROG_GCC_TRADITIONAL): 2896 Mention that these macros are becoming obsolete. 2897 (AC_STDC_HEADERS, AC_PROG_CC, AC_C_CONST, AC_C_VOLATILE): 2898 Use more modern terminology for which standard is what. 2899 (AC_PROG_CC): Mention gcc first, and remove obsolete references to egcs 2900 and to ansi2knr. 2901 (AC_PROG_CXX): Likewise. 2902 (AC_C_PROTOTYPES, Test Functions, AC_LIBOBJ vs LIBOBJS): 2903 Remove obsolete discussion about how to port to K&R. 2904 (Guidelines for Test Programs): Suggest AC_HEADER_STDBOOL rather than 2905 the obsolescent AC_HEADER_STDC. 2906 (AC_FOO_IFELSE vs AC_TRY_FOO): Don't use #error; test programs 2907 can't rely on it. 2908 29092006-03-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2910 2911 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): 2912 Remove stdin redirection from /dev/null to allow pipe to work. 2913 29142006-03-08 Paul Eggert <eggert@cs.ucla.edu> 2915 2916 * tests/c.at (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): 2917 Require that /lib/cpp include stdio.h correctly. Solaris 10's 2918 doesn't. Problem reported by D'Arcy A MacIsaac and diagnosed by 2919 Ralf Wildenhues. 2920 29212006-03-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2922 2923 * lib/autoconf/status.m4 (_AC_SED_CMD_LIMIT): The limit for 2924 HP-UX sed is 99 commands, not 100. 2925 (_AC_OUTPUT_FILES_PREPARE): Do not count the `}' of an 2926 _AC_SUBST_FILES fragment. Separate `{' and `r' commands by 2927 newline for portability. 2928 * tests/torture.at (Torturing config.status): Also test 100 2929 AC_SUBST_FILE invocations. Fix test to actually verify the 2930 AC_CONFIG_FILES output. 2931 * doc/autoconf.texi (Limitations of Usual Tools): Document HP-UX 2932 command, label, and read-file `r' limits. Unify HP-UX spelling. 2933 2934 * tests/Makefile.am (edit, $(wrappers)): Do not use `$<' in 2935 non-suffix rule. 2936 ($(TESTSUITE_GENERATED_AT)): Use `$(srcdir)` for the benefit of 2937 non-GNU make. 2938 (autoconfdir, $(AUTOCONF_FILES)): Likewise. 2939 * tests/mktests.sh: Small shell portability fixes. 2940 29412006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2942 2943 * doc/autoconf.texi (Caching Results): Fix the examples to use a 2944 recommended quoting style and discard unwanted output. 2945 29462006-03-05 Paul Eggert <eggert@cs.ucla.edu> 2947 2948 * lib/autotest/general.m4 (_AT_NORMALIZE_TEST_GROUP_NUMBER): New macro. 2949 (AT_INIT): Use it, to remove arbitrary limit of 999,999 test 2950 cases, and to work around Tru64 expr bug. 2951 29522006-03-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2953 2954 * doc/autoconf.texi (Limitations of Usual Tools): Mention Tru64 2955 expr bug that turns the result of a regex match into a number if 2956 possible. 2957 29582006-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2959 2960 * lib/autoconf/types.m4 (AC_CHECK_ALIGNOF): Work around 2961 HPUX compiler bug, similarly to AC_CHECK_SIZEOF, as documented 2962 in section `Specific Compiler Characteristics'. 2963 29642006-03-04 Eric Blake <ebb9@byu.net> 2965 2966 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): Avoid unused 2967 variable warning. 2968 29692006-03-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2970 2971 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Force correct 2972 order of variable initialization, so even the Solaris 2.6 shell 2973 can create a config header correctly. Fixes lots of test suite 2974 failures. 2975 29762006-02-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2977 2978 * doc/autoconf.texi (Text processing Macros): New node to 2979 document the m4sugar macros m4_re_escape, m4_tolower, 2980 m4_toupper, m4_split, m4_normalize, m4_append, m4_append_uniq. 2981 29822006-02-22 Paul Eggert <eggert@cs.ucla.edu> 2983 2984 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Fix typo: 2985 XrmInitialize (0) -> XrmInitialize (). 2986 Reported by Toshio Kuratomi. 2987 29882006-02-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 2989 2990 * lib/m4sugar/m4sh.m4 (AS_IF): Extend to allow more than one 2991 test, as in `if tests; then cmd1; elif ...; else ...; fi'. 2992 * doc/autoconf.texi (Programming in M4sh): Adjusted. 2993 * tests/m4sh.at (AS_IF and AS_CASE): Test this. Also make sure 2994 both macros are defun'ed so that required macros are evaluated 2995 outside. 2996 2997 * doc/autoconf.texi (Prerequisite Macros): State more precisely 2998 where a required macro will be expanded. 2999 (Coding Style): Another reason not to use `m4_define'. 3000 30012006-02-21 Eric Blake <ebb9@byu.net> 3002 3003 * lib/autoconf/general.m4 (_AC_LIBOBJ): Minor optimization. 3004 30052006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3006 3007 * doc/autoconf.texi (Looping constructs): New node, to 3008 document m4_for, m4_foreach, m4_foreach_w, and mention 3009 obsolete AC_FOREACH. 3010 (Obsolete Macros): Document AC_FOREACH. 3011 * lib/m4sugar/m4sugar.m4 (_m4_for): Fix declaration comment. 3012 (m4_for): Fix to never loop (almost) endlessly, work correctly 3013 with arithmetic expressions in arguments, a step of zero or 3014 non-integer multiple of the interval, and avoid integer 3015 overflow. 3016 * tests/m4sugar.at: New test for m4_for, m4_foreach, and 3017 m4_foreach_w. 3018 30192006-02-20 Romain Lenglet <rlenglet@users.forge.objectweb.org> 3020 3021 Add basic support for Erlang, both for configuring Erlang/OTP 3022 tools, and Erlang as a conf test language. 3023 * lib/autoconf/erlang.m4: New file. 3024 * lib/autoconf/autoconf.m4: Add erlang.m4. 3025 * lib/autoconf/Makefile.am (dist_autoconflib_DATA): Likewise. 3026 * lib/freeze.mk (autoconf_m4f_dependencies): Likewise. 3027 * NEWS: Add short description of new macros. 3028 * THANKS: Add Romain Lenglet. 3029 30302006-02-20 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3031 3032 * doc/autoconf.texi (Shellology) <pdksh>: Document that pdksh as 3033 native /bin/sh may not set KSH_VERSION (seen on OpenBSD). 3034 30352006-02-15 Eric Blake <ebb9@byu.net> 3036 3037 * lib/autoconf/general.m4 (AC_CHECK_DECL): Avoid unused variable 3038 warning. 3039 30402006-02-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3041 3042 * lib/m4sugar/m4sh.m4 (AS_CASE): New macro. 3043 (_AS_CASE): Private helper macro. 3044 * tests/m4sh.at: Basic tests for AS_IF and AS_CASE. 3045 * doc/autoconf.texi (Programming in M4sh): Document AS_CASE. 3046 Fix syntax of AS_IF description 3047 (Prerequisite Macros): Mention AS_IF and AS_CASE as workarounds 3048 for the AC_REQUIRE mess. 3049 * NEWS: Mention AS_CASE, AS_BOURNE_COMPATIBLE, and 3050 AS_SHELL_SANITIZE. 3051 30522006-02-14 Paul Eggert <eggert@cs.ucla.edu> 3053 3054 * doc/autoconf.texi: Minor style cleanup. 3055 Be consistent about spaces after commas. 3056 Insert [] where empty args look a bit funny. 3057 Fix some "i.e." and "e.g." usages. 3058 Try to avoid "X/Y" usages. 3059 Don't be pedantic about "ISO C99"; just say C99. 3060 Prefer GNU style for spaces in front of parens. 3061 (Function Portability): Comment about C89 versus C99 3062 signed integer division. 3063 (Particular Headers): Use current gnulib style for dirent 3064 includes. 3065 30662006-02-14 Stepan Kasal <kasal@ucw.cz> 3067 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3068 3069 * bin/autoupdate.in (handle_autoconf_macros): Fix updating of 3070 macros without parameters. 3071 * lib/autoconf/autoupdate.m4 (AU_ALIAS): Likewise. 3072 * doc/autoconf.texi (Obsoleting Macros): Document AU_ALIAS. 3073 * tests/tools.at (autoupdating AU_ALIAS): New test for AU_ALIAS 3074 `$#' bug. 3075 (autoupdate): Updated to match AU_ALIAS fix. 3076 30772006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3078 and Paul Eggert <eggert@cs.ucla.edu> 3079 3080 * doc/autoconf.texi (Programming in M4sh): Document 3081 AS_BOURNE_COMPATIBLE and AS_SHELL_SANITIZE. 3082 30832006-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3084 3085 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Renamed to.. 3086 (AS_BOURNE_COMPATIBLE): ..this. 3087 (_AS_RUN, AS_SHELL_SANITIZE): Adjusted all callers. 3088 30892006-02-12 Paul Eggert <eggert@cs.ucla.edu> 3090 3091 * doc/install.texi (Defining Variables): Tighten up the 3092 CONFIG_SHELL wording. 3093 30942006-02-12 Paul Eggert <eggert@cs.ucla.edu> 3095 and Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3096 3097 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Look at the output 3098 of (set -o) rather than testing whether (set -o posix) succeeds, 3099 to work around a bug in the AIX 5.3 shell. Problem originally 3100 reportd by Howard Chu for libtool. 3101 31022006-02-10 J.T. Conklin <jtc@acorntoolworks.com> 3103 3104 * doc/autoconf.texi (Running the Compiler, Running the Linker): 3105 Changes the macro arguments in summaries to match the 3106 descriptions. 3107 31082006-02-04 Stepan Kasal <kasal@ucw.cz> 3109 3110 * doc/install.texi (Defining Variables): Classify the `CONFIG_SHELL' 3111 hint as ``a workaround for a bug.'' 3112 31132006-01-31 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3114 3115 * bin/autoreconf.in: New option `--no-recursive'. 3116 Improve wording for subpackages a bit. 3117 * doc/autoconf.texi (autoreconf Invocation): Updated. 3118 * NEWS: Updated. 3119 3120 * doc/install.texi (Defining Variables): Put `CONFIG_SHELL' 3121 in environment of `configure', not the command line. 3122 Reported by Howard Chu <hyc@highlandsun.com>. 3123 31242006-01-25 Paul Eggert <eggert@cs.ucla.edu> 3125 3126 * doc/autoconf.texi (Limitations of Builtins): Document the 3127 problem with "trap -". 3128 31292006-01-23 Steven G. Johnson <stevenj@fftw.org> 3130 3131 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN): 3132 (_AC_FC_MAIN, __AC_FC_NAME_MANGLING): Use _AC_LANG in check 3133 messages to differentiate Fortran and Fortran 77 tests. 3134 (AC_FC_SRCEXT, AC_FC_FREEFORM): Use AC_LANG_PUSH/POP instead of 3135 AC_LANG_ASSERT, to allow use in mixed-language projects. 3136 31372006-01-23 Paul Eggert <eggert@cs.ucla.edu> 3138 3139 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Prefer "defined 3140 FOO" to "defined (FOO)". 3141 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Likewise. 3142 * lib/autoconf/headers.m4 (AC_HEADER_STAT): Likewise. 3143 * lib/autoconf/specific.m4 (AC_XENIX_DIR): Likewise. 3144 * tests/tools.at (ifnames): Likewise. 3145 31462006-01-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3147 3148 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Do not pass `-q' to mktemp. 3149 * lib/Autom4te/General.pm (mktmpdir): Likewise. 3150 (END): Improve error message a bit. 3151 Reported by Bruce Korb <bkorb@gnu.org>. 3152 31532006-01-12 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3154 3155 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore 3156 `-LIST:' and `-LNO:', for PathScale 2.3 compilers. 3157 31582006-01-11 Stepan Kasal <kasal@ucw.cz> 3159 3160 * doc/autoconf.texi (Header Portability): On Solaris 8, sys/ptem.h 3161 requires sys/stream.h. Reported by Oliver Kiddle. 3162 31632006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3164 Stepan Kasal <kasal@ucw.cz> 3165 3166 * lib/autotest/general.m4 (AT_INIT): When ensuring writability 3167 before the removals of test dirs, use `find' to avoid modification 3168 of symlinked directories. 3169 31702006-01-11 Steven G. Johnson <stevenj@alum.mit.edu> 3171 3172 * lib/autoconf/fortran.m4 (AC_F77_DUMMY_MAIN, AC_FC_DUMMY_MAIN): 3173 Don't ignore the macro arguments. 3174 31752006-01-11 David Thompson <dthompsn@vizsolutions.com> 3176 3177 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Add `exit' 3178 declaration that works for MSVC. 3179 31802006-01-11 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3181 3182 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT): 3183 Add `*.map' and `.inf' for Green Hills compiler. 3184 Reported by Stefan Seefeld <stefan@codesourcery.com>. 3185 3186 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Handle quadrigraphs 3187 correctly: pad with spaces after FIRST_PREFIX if necessary, 3188 and compute string lenghts with `m4_qlen' instead of `m4_len'. 3189 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Comments updated. 3190 * tests/m4sh.at (AS_HELP_STRING): Test extended. 3191 * NEWS: Updated. 3192 Reported by numerous people, numerous times. 3193 31942006-01-05 Paul Eggert <eggert@cs.ucla.edu> 3195 3196 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in 3197 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: 3198 * lib/autoconf/general.m4, lib/autoconf/status.m4: 3199 * lib/autotest/general.m4, tests/local.at: 3200 Update copyright year to 2006. 3201 3202 * Makefile.maint (sc_root_tests): Use the recommended style s/a/b/ for 3203 sed substitutions. 3204 * doc/autoconf.texi (Installation Directory Variables): Use s|a|b| 3205 for file names, again. Reported by Noah Misch. 3206 (Coding Style): Explain that s|a|b| is preferred for file names. 3207 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): Prefer s/a/b/. 3208 (AC_OUTPUT_MAKE_DEFS): Likewise. 3209 * lib/autotest/general.m4 (AT_INIT): Likewise. 3210 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Likewise. 3211 * tests/local.at (AT_CHECK_AUTOM4TE): Likewise. 3212 3213 Fix Posix-conformance bugs re use of { command in sed scripts, 3214 and improve the sed-related documentation a bit. 3215 * doc/autoconf.texi (Installation Directory Variables): Use 3216 our own style advice re 's,a,b,' versus 's|a|b|'. Use "Sed" 3217 rather than "sed" when talking about Sed in general. 3218 (Particular Programs): Likewise. 3219 (Coding Style): y is like s with respect to / and ,. 3220 (Limitations of Usual Tools): Document the weird restrictions 3221 that Posix has about { }. Use better quoting. 3222 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE, _AC_OUTPUT_HEADER): 3223 Rewrite to conform to Posix rules about { } in sed scripts. 3224 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_SED, AS_BASENAME_SED): Likewise. 3225 * tests/foreign.at (Libtool): Likewise. 3226 * tests/semantics.at (AC_CHECK_PROG & AC_CHECK_PROGS): 3227 Use our own style advice re 's,a,b,' versus 's|a|b|'. 3228 32292006-01-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3230 3231 * lib/autoconf/status.m4: Fix typo. 3232 3233 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore 3234 singly- or doubly-quoted arguments to `-cmdline', `-ignore', 3235 `-def', for the benefit of Portland `pgf90 -Mipa'. 3236 Reported by Christopher Hulbert <cchgroupmail@gmail.com>. 3237 32382006-01-04 Paul Eggert <eggert@cs.ucla.edu> 3239 3240 * doc/autoconf.texi: Update copyright (and other) dates to 2006. 3241 * doc/autoconf.texi (Shellology): Mac OS X 10.2 changed the default 3242 shell from zsh to bash. 3243 32442005-12-31 Stepan Kasal <kasal@ucw.cz> 3245 3246 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Use $PATH_SEPARATOR; 3247 ":" caused problems on OS/2-EMX. Suggested by Andrew Belov. 3248 32492005-12-29 Paul Eggert <eggert@cs.ucla.edu> 3250 3251 * doc/autoconf.texi (Shell Substitutions): Warn about unbalanced 3252 parentheses in $(...). Problem reported by Eric Blake. 3253 32542005-12-12 Paul Eggert <eggert@cs.ucla.edu> 3255 3256 * doc/autoconf.texi (Limitations of Usual Tools): 3257 Mention which characters can be escaped with \ in portable regular 3258 expressions used in grep, sed, expr. Mention the leading ^ problem 3259 with expr. Clean up some confusing wording. Mention which 3260 grep options are portable. 3261 32622005-12-09 Stepan Kasal <kasal@ucw.cz> 3263 3264 * tests/local.at (AT_CHECK_AUTOM4TE): Fix typo in the comment. 3265 32662005-12-02 Paul Eggert <eggert@cs.ucla.edu> 3267 3268 * doc/autoconf.texi (Limitations of Builtins): Fix typos in previous 3269 patch, noted by Ralf Wildenhues. 3270 32712005-12-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3272 3273 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Try `set -o 3274 posix' unconditionally, for pdksh in `native sh' emulation. 3275 32762005-12-01 Paul Eggert <eggert@cs.ucla.edu> 3277 3278 * doc/autoconf.texi (Shellology): Document eval $? problem 3279 with ash. 3280 (Limitations of Builtins): Likewise. 3281 32822005-11-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3283 3284 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Pass 3285 CONFIG_SHELL in the environment of the configure rerun. 3286 * doc/autoconf.texi (Here-Documents, config.status Invocation): 3287 Suggest passing CONFIG_SHELL absolute, and in the environment 3288 rather than as option. 3289 32902005-11-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3291 3292 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): 3293 Fix quoting of output line (triggered for many AC_SUBST_FILEs). 3294 Fix macro quoting. Fix output for n * 98 substituted variables. 3295 32962005-11-08 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3297 3298 * lib/autoconf/status.m4 (_AC_OUTPUT_MAIN_LOOP): Initialize 3299 `tmp' to avoid file removal race. 3300 33012005-11-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3302 3303 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize 3304 ac_clean_files and LIBOBJS. 3305 33062005-11-06 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3307 3308 * lib/autoconf/programs.m4 (AC_CHECK_PROG, AC_PATH_PROG): 3309 Factor functionality to.. 3310 (_AC_CHECK_PROG, _AC_PATH_PROG): these new macros, but only 3311 `AC_SUBST($1)' in the public version. 3312 (AC_CHECK_TOOL, AC_PATH_TOOL, AC_PATH_TARGET_TOOL) 3313 (AC_CHECK_TARGET_TOOL): Use internal versions for ac_ct_* and 3314 ac_pt_* variables. 3315 33162005-11-01 Stepan Kasal <kasal@ucw.cz> 3317 3318 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Remove the comment about 8+3 3319 filesystems. 3320 33212005-11-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3322 3323 * NEWS: Move AH_HEADER mention to right place. 3324 33252005-10-27 Stepan Kasal <kasal@ucw.cz> 3326 3327 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): "conftst2" -> "conftest2" 3328 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise. 3329 33302005-10-25 Stepan Kasal <kasal@ucw.cz> 3331 3332 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): rm -f conftst2.*, not only 3333 conftst2.$ac_objext. 3334 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise. 3335 33362005-10-24 Stepan Kasal <kasal@ucw.cz> 3337 3338 * lib/autoconf/c.m4 (AC_PROG_CC_C_O): Use conftst2.o instead of 3339 conftest.o, to see whether the compiler really obeys; rm the object 3340 file before and after the test and register it with ac_clean_files. 3341 * lib/autoconf/fortran.m4 (_AC_PROG_FC_C_O): Likewise. 3342 33432005-10-21 Stepan Kasal <kasal@ucw.cz> 3344 3345 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES_PREPARE): When determining, 3346 the delimiter CEOF$ac_eof: fix quoting of CEOF[0-9]* and modify the 3347 code so that the most common case requires less forks. 3348 33492005-10-20 Stepan Kasal <kasal@ucw.cz> 3350 3351 * doc/autoconf.texi (Shell Substitutions}: Document that ${10} is 3352 not portable; thanks to Paul Eggert and Alexandre. 3353 3354 * NEWS: Fix an old typo. 3355 33562005-10-20 Jim Meyering <jim@meyering.net> 3357 3358 * doc/autoconf.texi: Typo: s/feature/features/ in ``the features of 3359 the latter'', in two places. 3360 33612005-10-19 Paul Eggert <eggert@cs.ucla.edu> 3362 3363 * doc/autoconf.texi (Generating Sources): AC_LANG_PROGRAMS -> 3364 AC_LANG_PROGRAM, fixing a typo. Don't give details about 3365 the inner workings of AC_LANG_FUNC_LINK_TRY. 3366 * lib/autoconf/c.m4 (AC_LANG_CALL(C)): Reformat to match 3367 AC_LANG_FUNC_LINK_TRY. This involves returning the value returned 3368 by the function rather than ignoring it. 3369 (AC_LANG_FUNC_LINK_TRY(C)): Call the function rather than simply 3370 comparing its address. Intel's interprocedural optimization was 3371 outsmarting the old heuristic. Problem reported by 3372 Mikulas Patocka. 3373 33742005-10-19 Stepan Kasal <kasal@ucw.cz> 3375 3376 * lib/autoconf/general.m4 (AC_SUBST): Remove an obsolete comment. 3377 33782005-10-05 Paul Eggert <eggert@cs.ucla.edu> 3379 3380 * lib/m4sugar/m4sugar.m4 (_m4_map): New macro. 3381 (m4_map, m4_map_sep): Use it. Handle the empty list correctly. 3382 33832005-10-04 Stepan Kasal <kasal@ucw.cz> 3384 3385 * lib/autotest/general.m4 (AT_INIT): Really make the subtree writable 3386 before removing it (chmod -R u+rwx); there are three instances of this. 3387 33882005-10-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3389 Stepan Kasal <kasal@ucw.cz> 3390 3391 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Balance parentheses. 3392 * lib/autotest/general.m4 (AT_INIT): If the test dir already exists, 3393 make its content writable before removing it. Remove an errorneous 3394 comment from the end, where the logs of the failed tests are copied 3395 to the main log file. 3396 33972005-09-27 Stepan Kasal <kasal@ucw.cz> 3398 3399 * tests/semantics.at (AC_C_BIGENDIAN): Pass --force to autoheader, 3400 in case the computer is too quick. Double quote the configure.ac 3401 snippets. 3402 3403 * tests/local.at (AT_CHECK_AUTOCONF): Always pass --force to prevent 3404 problems if the testsuite were running too fast. 3405 34062005-09-18 Paul Eggert <eggert@cs.ucla.edu> 3407 3408 * lib/autoconf/libs.m4 (_AC_PATH_X_DIRECT): Look for X11/Xlib.h 3409 and XrmInitialize rather than X11/Intrinsic.h and XtMalloc 3410 (which belong to Xt, not X itself). See Debian bug 327655. 3411 * NEWS: Mention this. 3412 34132005-09-07 Stepan Kasal <kasal@ucw.cz> 3414 3415 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Remove an incorrect comment. 3416 34172005-09-06 Paul Eggert <eggert@cs.ucla.edu> 3418 3419 * config/move-if-change: Don't output "$2 is unchanged"; 3420 suggested by Ben Elliston. Handle weird characters correctly. 3421 34222005-09-06 Stepan Kasal <kasal@ucw.cz> 3423 3424 * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE 3425 calls, so that the final expansion of this macro is shorter. 3426 Create the conftest.$ac_ext outside the `for' loop, to speed the run. 3427 Do not use `break' in the argument to AC_LINK_IFELSE, it would skip 3428 the cleanup there. Use AS_VAR_* macros, to be more general. 3429 * tests/semantics.at (AC_SEARCH_LIBS): Check for the cleanup. 3430 3431 * lib/autoconf/general.m4: Use AS_IF where appropriate. 3432 3433 * lib/m4sugar/m4sh.m4 (AS_IF): Use m4_default. 3434 34352005-09-01 Stepan Kasal <kasal@ucw.cz> 3436 3437 * doc/autoconf.texi (Configuration Headers): Add an index entry 3438 for AH_HEADER. 3439 34402005-08-26 Pavel Roskin <proski@gnu.org> 3441 3442 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Use shell variable 3443 XMKMF to locate xmkmf. Make XMKMF precious. Export CC when 3444 running xmkmf. 3445 34462005-08-26 Paul Eggert <eggert@cs.ucla.edu> 3447 3448 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): 3449 The previous patch didn't work, so try a better one. 3450 34512005-08-26 Stepan Kasal <kasal@ucw.cz> 3452 3453 * doc/autoconf.texi (Programming in M4sh) <AS_TR_CPP>: Fix m4 quoting 3454 in the example. Reported by Bruno Haible. 3455 <AS_TR_SH>: Likewise. Also modify the example to be more convincing: 3456 "if $undefined_var;" succeeds with my shell. 3457 3458 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD, AC_CANONICAL_HOST, 3459 AC_CANONICAL_TARGET): Define by AC_DEFUN, no need to use AC_DEFUN_ONCE; 3460 but change the m4_divert_text to m4_divert_once. 3461 34622005-08-25 Paul Eggert <eggert@cs.ucla.edu> 3463 3464 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): 3465 Work around bug in Solaris /usr/xpg4/bin/awk. 3466 The bug is present in at least Solaris 8 through 10. 3467 34682005-08-24 Stepan Kasal <kasal@ucw.cz> 3469 3470 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Simplify; rejecting 3471 some evil values and relying on the fact that $* concatenates the 3472 parameters by the first character from IFS. 3473 34742005-08-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>, 3475 Stepan Kasal <kasal@ucw.cz> 3476 3477 * lib/autoconf/status.m4 (_AC_CONFIG_REGISTER_DEST): When the 3478 first header appears, define AH_HEADER. 3479 * doc/autoconf.texi (Configuration Headers): Document AH_HEADER. 3480 Update limitations about when to call AC_CONFIG_HEADERS. 3481 (Configuration Commands): Document that AC_CONFIG_COMMANDS_PRE 3482 parameter can call AC_SUBST, AC_DEFINE, or AC_CONFIG_FOOS; explain 3483 that AC_CONFIG_COMMANDS_PRE and AC_CONFIG_COMMANDS_POST are not 3484 ``Configuration Actions''; fix their index entries. 3485 3486 * lib/autotest/general.m4 (AT_INIT): Process multiple keywords 3487 options correctly. Process N-M as M-N if M is smaller than N. 3488 Process ranges correctly so that N-N will run only N. 3489 Sort and uniquify the tests that will be run. If there is more 3490 than one test, reinsert the banners for the tests. 3491 * tests/autotest.at (Keywords): Unmark XFAIL. 3492 34932005-08-23 Stepan Kasal <kasal@ucw.cz> 3494 3495 * lib/autoconf/general.m4 (_AC_DEFINE_Q): Strip the parameter list 3496 before passing the macro name to AH_TEMPLATE. 3497 3498 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): config.status 3499 now opens log after option processing; in particular, --version 3500 and --help do not touch config.log. 3501 3502 * Makefile.maint: Revert the change from 2005-08-12. 3503 35042005-08-22 Stepan Kasal <kasal@ucw.cz> 3505 3506 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_WITH): Factor out 3507 common code to... 3508 (_AC_ENABLE_IF, _AC_ENABLE_IF_ACTION): ... these new macros. 3509 35102005-08-21 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3511 3512 * doc/autoconf.texi (Using Autotest, testsuite Scripts) 3513 (Autotest Logs, Writing testsuite.at, testsuite Invocation): 3514 Language cleanup. 3515 3516 * doc/autoconf.texi (Defining Symbols, Changed Results): 3517 Prepend to LIBS, not append, in examples. 3518 35192005-08-16 Stepan Kasal <kasal@ucw.cz> 3520 3521 When building in place, set srcdir="."; suggested by Tim Van Holder. 3522 3523 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Do this; to recognize 3524 build in place, we need ac_pwd, and thus have to AC_REQUIRE ... 3525 (_AC_INIT_DIRCHECK): ... this macro and AC_DEFUN both of them. 3526 * lib/autoconf/status.m4 (_AC_SRCDIRS): Fix a comment: srcdir="." 3527 does not mean "no --srcdir option". 3528 35292005-08-15 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3530 3531 * tests/autoscan.at (autoscan): New file. 3532 * tests/suite.at: Use it. 3533 * tests/Makefile.am (TESTSUITE_HAND_AT): Add it. 3534 Reported against Libtool by Gideon Go <gideon.go@gmail.com>. 3535 3536 * tests/autotest.at (Keywords): Test keywords combinations. 3537 35382005-08-12 Stepan Kasal <kasal@ucw.cz> 3539 3540 * Makefile.maint (GZIP_ENV): When checking the help text of gzip, 3541 add "2>&1"; gzip 1.2.4 prints help on stderr. 3542 35432005-07-27 Stepan Kasal <kasal@ucw.cz> 3544 3545 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): The symbol at_reason 3546 was pushdef'ed twice while popped only once. Push it only once. 3547 (_AT_CHECK): Cosmetic changes to the "case $at_status" command. 3548 35492005-07-26 Stepan Kasal <kasal@ucw.cz> 3550 3551 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): The message is now 3552 prefixed by mere "===", not "configure: === ". 3553 35542005-07-25 Paul Eggert <eggert@cs.ucla.edu> 3555 3556 * Makefile.maint: Update from Bison. 3557 3558 * lib/m4sugar/m4sugar.m4 (m4_strip): Comment fix---change tab to 3559 "<tab>" in comment, so that the point is understandable. 3560 35612005-07-25 Stepan Kasal <kasal@ucw.cz> 3562 3563 Rewrite substantial part of lib/autoconf/status.m4. 3564 The main change is that CONFIG_FILES, CONFIG_HEADERS, CONFIG_LINKS, 3565 and CONFIG_COMMANDS are not processed in four separate loops. 3566 Instead, there is one main loop. This alows that the common code 3567 is expanded only once, thus config.status (and configure) is smaller. 3568 3569 The registration mechnism in AC_CONFIG_FILES and cousins also changed; 3570 the AC_LIST_FILES and cousins macros are no longer used. 3571 3572 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, 3573 _AC_OUTPUT_LINKS, _AC_OUTPUT_COMMANDS): Renamed to ... 3574 (_AC_OUTPUT_FILE, _AC_OUTPUT_HEADER, _AC_OUTPUT_LINK, 3575 _AC_OUTPUT_COMMAND): ..., respectively. These macros no longer 3576 contain the initialization, nor the for loop, nor the associated 3577 commands; all these go to ... 3578 (_AC_OUTPUT_MAIN_LOOP): ... this new macro, called from 3579 _AC_OUTPUT_CONFIG_STATUS. 3580 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST, _AC_CONFIG_SPLIT_FILE_IN): 3581 Nuked; the code was merged into _AC_OUTPUT_MAIN_LOOP. 3582 (_AC_OUTPUT_FILE): The creation of the sed script ... 3583 (AC_OUTPUT): ... and the setup of ac_vpsub goes to ... 3584 (_AC_OUTPUT_FILES_PREPARE): ... a new macro, also called from 3585 _AC_OUTPUT_MAIN_LOOP. 3586 (_AC_CONFIG_FILES, _AC_CONFIG_HEADERS, _AC_CONFIG_LINKS, 3587 _AC_CONFIG_COMMANDS): Use ... 3588 (_AC_CONFIG_FOOS): ... this new macro, which uses these ... 3589 (_AC_CONFIG_REGISTER, _AC_CONFIG_REGISTER_DEST): ... new macros. 3590 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER, _AC_CONFIG_LINK, 3591 _AC_CONFIG_COMMAND, _AC_CONFIG_DEPENDENCIES): No longer needed. 3592 (_AC_CONFIG_DEPENDENCY): Update, it uses these ... 3593 (_AC_CONFIG_DEPENDENCY_DEFAULT, _AC_FILE_DEPENDENCY_TRACE_COLON): 3594 ... new macros. 3595 (_AC_CONFIG_UNIQUE): Update. 3596 (AC_LIST_FILES, AC_LIST_HEADERS, AC_LIST_LINKS, AC_LIST_COMMANDS): 3597 Replaced by this ... 3598 (_AC_LIST_TAGS): ... new common macro. 3599 (AC_LIST_FILE_COMMANDS, AC_LIST_HEADER_COMMANDS, AC_LIST_LINK_COMMANDS, 3600 AC_LIST_COMMAND_COMMANDS): Replaced by this ... 3601 (_AC_LIST_TAG_COMMANDS): ... new common macro. 3602 (_AC_CONFIG_COMMANDS_INIT): Moved top to the `registration' section; 3603 this didn't belong to the `config commands' section. 3604 (_AC_OUTPUT_COMMANDS_INIT): Don't initialize, m4_ifdef is our friend. 3605 (AC_CONFIG_COMMANDS_PRE, AC_OUTPUT_COMMANDS_PRE, 3606 AC_CONFIG_COMMANDS_POST): Moved to a new section, these didn't belong 3607 to the `config commands' section either. 3608 (AC_CONFIG_SUBDIRS): Don't touch diversion DEFAULTS. 3609 (_AC_LIST_SUBDIRS): Don't initialize, m4_ifdef is our friend. 3610 3611 ... and many changes to the comments nearby. 3612 3613 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): At the end of the day, 3614 set ac_subdirs_all='_AC_LIST_SUBDIRS'. 3615 * tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS): 3616 AC_CONFIG_COMMANDS(command:input,...) is no longer allowed. 3617 (#define header templates): The comment at the top of the generated 3618 header now includes the name(s) of the source file(s). 3619 3620 Several unrelated small changes: 3621 3622 * lib/autoconf/general.m4 (AC_CACHE_VAL): Be didactic, quote the first 3623 parameter to AC_DIAGNOSE. 3624 * lib/autoconf/status.m4 (AC_CONFIG_SUBDIRS): Likewise. 3625 (_AC_LINK_FILES_CNT): Don't AU_DEFUN this; it causes confusing messages 3626 with autoupdate; use m4_define_default inside AU_DEFUNed AC_LINK_FILES. 3627 (AC_OUTPUT): In the compatibility code, use m4_ifvaln, to be consistent 3628 with AU::AC_OUTPUT. 3629 (AU::AC_OUTPUT): Don't double-quote $2 and $3, the compatibility code 3630 in AC_OUTPUT doesn't double-quote it either. 3631 * tests/tools.at (autoupdate): AU::AC_OUTPUT no longer double-quotes the 3632 parameters. 3633 36342005-07-10 Stepan Kasal <kasal@ucw.cz> 3635 3636 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Document which 3637 versions of Portland Group compiler produce single- and double-quoted 3638 -cmdline argument. Reported by Steven G. Johnson <stevenj@fftw.org> 3639 and Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>. 3640 36412005-07-07 Paul Eggert <eggert@cs.ucla.edu> 3642 3643 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too. 3644 This is a corrected version of yesterday's patch. 3645 36462005-07-07 Stepan Kasal <kasal@ucw.cz> 3647 3648 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Report the full 3649 path, too; insert a "===" to emphasize the line. 3650 3651 * lib/autoconf/general.m4 (AC_CANONICAL_BUILD): Rename 3652 ac_cv_build_alias to ac_build_alias. 3653 (AC_CANONICAL_HOST, AC_CANONICAL_TARGET): Simplify. 3654 3655 On 2005-02-24, an unintentional AC_SUBST([CC]) was introduced; this 3656 change eliminates it. Problem reported by Alexandre Duret-Lutz. 3657 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Move the AC_SUBST ... 3658 (AC_ARG_VAR): ... here. 3659 (_AC_INIT_PREPARE): Call AC_SUBST for build_alias, host_alias and 3660 target_alias. 3661 3662 Keep a list of all precious variables and process them with one simple 3663 for loop, instead of expanding all commands, or, OTOH, complicated 3664 processing of output of "set". 3665 * lib/autoconf/general.m4 (_AC_ARG_VAR_PRECIOUS): Acumulate the 3666 variable names in new macro... 3667 (_AC_PRECIOUS_VARS): ... which will be assigned to ac_precious_vars. 3668 (_AC_ARG_VAR_STORE): New macro which writes to diversion PARSE_ARGS 3669 a loop to assign all ac_env_* and ac_cv_env_* variables. 3670 (_AC_ARG_VAR_VALIDATE): Use shell variable ac_precious_vars, divert 3671 to INIT_PREPARE. 3672 (_AC_INIT_DEFAULTS): At the end, if _AC_PRECIOUS_VARS is set, assign 3673 its value to shell variable ac_precious_vars and call 3674 _AC_ARG_VAR_STORE and _AC_ARG_VAR_VALIDATE. 3675 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't call 3676 _AC_ARG_VAR_VALIDATE. 3677 3678 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Move AC_LANG_PUSH(C) 3679 and the AC_SUBSTs ... 3680 (AC_INIT): ... here. 3681 3682 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Changed the title of 3683 the ac_subst_files section in config.log. 3684 3685 * tests/local.at (AT_CONFIG_CMP): Revert Paul's previous change. 3686 36872005-07-06 Paul Eggert <eggert@cs.ucla.edu> 3688 3689 * NEWS: New macro AC_C_TYPEOF. 3690 * doc/autoconf.texi (C Compiler): Document AC_C_TYPEOF. 3691 * lib/autoconf/c.m4 (AC_C_TYPEOF): New macro. 3692 * tests/c.at (C keywords): Test AC_C_TYPEOF. 3693 3694 Fix problems reported by Nicolas Joly. 3695 * tests/base.at (Input/Output): Ignore 'loading site script' chatter. 3696 * tests/local.at (AT_CONFIG_CMP): Ignore lines like "LIBS=''" too. 3697 They are generated by the Tru64 v5.1B shell. 3698 36992005-07-05 Stepan Kasal <kasal@ucw.cz> 3700 3701 Fix my changes from 2005-07-01; reported by Noah Misch. 3702 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES): Fix the 3703 description, the macro now accepts only a single tag. 3704 (_AC_CONFIG_UNIQUE): Likewise; s/AC_File/[$1]/ 3705 3706 Fix cases when the varsions of Autoconf and Autotest don't match. 3707 Reported by Noah Misch. 3708 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Set also 3709 at_top_builddir, for compatibility with older autotest. 3710 * lib/autotest/general.m4 (AT_INIT): If at_top_build_prefix 3711 is not set, use at_top_builddir, for compatibility with older 3712 versions of autoconf. 3713 37142005-07-04 Paul Eggert <eggert@cs.ucla.edu> 3715 3716 * bin/autom4te.in ($m4): Catch usages like --nesting-limit=2048. 3717 Problem reported by Patrick Welche. 3718 37192005-07-03 Paul Eggert <eggert@cs.ucla.edu> 3720 3721 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Use &, not |, in 3722 sed substitution command, so that we allow | in program prefixes 3723 and program suffixes. (& is a problem anyway; we're not fixing 3724 that here.) 3725 * lib/autoconf/status.m4 (AC_CONFIG_FILES): Likewise, for 3726 configure_input, top_builddir, srcdir, etc. 3727 * lib/autotest/general.m4 (AT_INIT): Likewise, for 3728 PATH_SEPARATOR in AUTOTEST_PATH. 3729 37302005-07-02 Alexandre Duret-Lutz <adl@gnu.org> 3731 3732 * lib/autoconf/general.m4 (AC_SITE_LOAD): Rewrite the 3733 for loop over config.site files using `set', to allow 3734 directory names containing IFS characters. 3735 37362005-07-01 Paul Eggert <eggert@cs.ucla.edu> 3737 3738 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Remove the tests for 3739 directories with weird names. Apparently some people like living 3740 on the edge. However, improve the test that "pwd" actually does 3741 report a name for the working directory. 3742 * NEWS: Remove the claim that we test for funny chars in dir names. 3743 37442005-07-01 Stepan Kasal <kasal@ucw.cz> 3745 3746 * lib/autoconf/general.m4 (AC_FOREACH): Make obsolete; it's 3747 replaced ... 3748 * lib/m4sugar/m4sugar.m4 (m4_foreach_w): ... by this new macro. 3749 * lib/autoconf/status.m4 (_AC_CONFIG_DEPENDENCIES, _AC_CONFIG_UNIQUE): 3750 Now accept a single tag, not whitespace separated list. 3751 (AC_CONFIG_SUBDIRS): Call _AC_CONFIG_UNIQUE in a m4_foreach_w loop. 3752 37532005-06-30 Stepan Kasal <kasal@ucw.cz> 3754 3755 * doc/autoconf.texi (Configuration Headers): Change the explanation 3756 about #include <config.h>. 3757 (Generic Functions): Mention the Gnulib project. 3758 (Limitations of Usual Tools) <sed>: Another minor rephrasing. 3759 3760 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Use a here 3761 document to output the default config_* lists to config.status. 3762 Don't recognize option --file, if the functionality is not there. 3763 Likewise for --header; moreover, recognize --he and --h as shortcuts 3764 for --help in that case. 3765 3766 * lib/autoconf/status.m4: Fix the order of the "sections", so that it 3767 matches the order of execution. No code changed. 3768 37692005-06-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3770 3771 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Fix also for 3772 single-quoted -cmdline argument in Portland Group compiler. 3773 Reported against LAM by Ole Holm Nielsen <Ole.H.Nielsen@fysik.dtu.dk>. 3774 37752005-06-30 Alexandre Duret-Lutz <adl@gnu.org> 3776 3777 * lib/autom4te.in (Automake-preselections): Preselect AC_SUBST_TRACE. 3778 37792005-06-29 Stepan Kasal <kasal@ucw.cz> 3780 3781 * doc/autoconf.texi (File Descriptors): ksh doesn't pass open file 3782 descriptors to child processes; reported by Norman Gray. 3783 37842005-06-29 Stepan Kasal <kasal@ucw.cz> 3785 3786 * lib/autoconf/general.m4 (AC_ARG_VAR): Move next to _AC_ARG_PRECIOUS. 3787 3788 * lib/autoconf/general.m4 (AC_SUBST_TRACE): New macro, to be traced 3789 instead of AC_SUBST; proposed by Alexandre Duret-Lutz. 3790 (AC_SUBST): Call it. 3791 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Call AC_SUBST_TRACE for 3792 the directory specific variables; but don't call it for configure_input. 3793 37942005-06-28 Derek Price <derek@ximbiot.com> 3795 3796 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Reword recent 3797 addition. 3798 37992005-06-23 Paul Eggert <eggert@cs.ucla.edu> 3800 3801 * NEWS: Don't worry about spaces in bindir etc. Only srcdir and working 3802 directory have inherent problems with special characters like spaces, 3803 due to limitations in Make syntax. Problem reported by Alexandre 3804 Duret-Lutz. 3805 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Implement the above. 3806 Also, fix Tru64 porting problem with shell patterns, 3807 reported by Ralf Wildenhues. 3808 38092005-06-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3810 3811 * doc/autoconf.texi (Subdirectories): Fix markup typos. 3812 38132005-06-23 Paul Eggert <eggert@cs.ucla.edu> 3814 3815 * tests/local.at (AT_CHECK_ENV): Simplify regexp slightly. 3816 3817 Fix some more shell quoting problems. Prompted by a bug report 3818 from Justace Clutter. 3819 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): Put name of invalid 3820 variable into diagnostic. Make the diagnostic an error, not a warning, 3821 because we really don't support spaces and suchlike in dir names. 3822 (_AC_INIT_SRCDIR): Allow special characters in $ac_unique_file. 3823 Don't worry about backslashes in srcdir; it can't happen now. 3824 (_AC_INIT_PARSE_ARGS): Allow weird characters in ac_optarg. 3825 Simplify ac_optarg handling. 3826 (_AC_ARG_VAR_VALIDATE): Remove unnecessary and inconsistent quotes. 3827 38282005-06-22 Stepan Kasal <kasal@ucw.cz> 3829 3830 Fix AT_CONFIG_CMP for Solaris hosts; idea from Ralf Menzel. 3831 * configure.ac: Call AC_PROG_EGREP and AC_PROG_SED. 3832 * tests/atlocal.in: Propagate $EGREP and $SED. 3833 * tests/local.at (AT_CHECK_ENV): Use $EGREP, not $GREP -E. 3834 (AT_CONFIG_CMP): Use sed instead of grep plumbing. 3835 3836 * doc/autoconf.texi (Limitations of Usual Tools) <grep>: Mention 3837 that '\|' is not allowed in BREs; recommend using newline separated 3838 list of patterns instead of multiple -e options. 3839 3840 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Remove an old comment. 3841 3842 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Use AC_SUBST/2. 3843 38442005-06-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3845 3846 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): Fix typo. 3847 38482005-06-21 Stepan Kasal <kasal@ucw.cz> 3849 3850 * doc/autoconf.texi (Limitations of Usual Tools) <sed>: Document that 3851 b, t, r, w commands require single space, while : cannot have any. 3852 (Special Shell Variables): Fix sed code this in the example. 3853 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Likewise; and fix a typo. 3854 * lib/autotest/general.m4 (AT_ARG_OPTION): Fix typo in the description. 3855 3856 * lib/m4sugar/m4sugar.m4 (m4_split): If the parameter is empty, 3857 expand to the empty list. Don't use two pairs of m4_changequote, 3858 it's not necessary. 3859 38602005-06-20 Derek Price <derek@ximbiot.com> 3861 3862 * lib/m4/programs.m4 (AC_PROG_YACC): Declare YACC & YFLAGS precious. 3863 38642005-06-17 Paul Eggert <eggert@cs.ucla.edu> 3865 3866 * lib/m4sugar/m4sh.m4 (as_awk_strverscmp): Port to Solaris /bin/awk. 3867 * doc/autoconf.texi: 3868 Don't mention Solaris versions so much, if a 3869 problem is common to all extant versions of Solaris. Say "SunOS 3870 4" instead of "SunOS" for SunOS 4. 3871 (awk): Mention more of the limitations of traditional Awk. 3872 (cat): Don't talk about cat -v. 3873 38742005-06-16 Paul Eggert <eggert@cs.ucla.edu> 3875 3876 * lib/m4sugar/m4sh.m4 (_AS_VERSION_COMPARE_PREPARE): New macro. 3877 (AS_VERSION_COMPARE): New macro. The API is taken from CVS, 3878 but the implementation is entirely different and is designed 3879 to be compatible with glibc strverscmp. 3880 * tests/m4sh.at (AS_VERSION_COMPARE): New test. 3881 3882 * doc/autoconf.texi (Limitations of Usual Tools): Mention expr bug 3883 on Mac OS X 10.4 reported by Peter O'Gorman in: 3884 http://lists.gnu.org/archive/html/autoconf-patches/2005-06/msg00041.html 3885 * lib/autoconf/general.m4 (_AC_CANONICAL_SPLIT): 3886 Use shell builtins rather than 'expr', to work around expr bug. 3887 38882005-06-10 Paul Eggert <eggert@cs.ucla.edu> 3889 3890 * doc/autoconf.texi: "filesystem" -> "file system". 3891 "behaviour" -> "behavior". 3892 Warn about \(...\)* in Solaris sed (written by Ralf Menzel). 3893 * lib/autoconf/general.m4: Omit blank after ":" sed command, 3894 as per POSIX. 3895 * lib/m4sugar/m4sh.m4: Likewise. 3896 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Work around problem 3897 with Solaris sed. Fix by Ralf Menzel and Stepan Kasal. 3898 3899 * man/Makefile.am (MOSTLYCLEANFILES): Add $(srcdir)/*.t. 3900 (.x.1): Ignore the time stamp in the .TH line when deciding whether 3901 to update the man page. That way, we don't have to check in new 3902 man pages every month. 3903 3904 * lib/m4sugar/m4sh.m4 (AS_VAR_TEST_SET): Work even if $1 contains 3905 quotes and backslashes. Patch from Derek Price. 3906 39072005-06-10 Derek Price <derek@ximbiot.com> 3908 3909 * doc/autoconf.texi (Programming in M4sh): Document AS_TR_CPP & 3910 AS_TR_SH. 3911 39122005-06-08 Paul Eggert <eggert@cs.ucla.edu> 3913 3914 * lib/autotest/general.m4 (AT_INIT): Don't accept Solaris 9's diff 3915 -u, since it outputs chatter if the input files are the same. 3916 Problem reported by Ralf Menzel. 3917 39182005-06-08 Derek Price <derek@ximbiot.com> 3919 3920 * lib/m4sugar/m4sugar.m4: Undefine include & sinclude rather than 3921 renaming them since they are about to be redefined anyhow. 3922 39232005-06-08 Derek Price <derek@ximbiot.com> 3924 3925 * doc/autoconf.texi (Redefined M4 Macros): Add index entries for most 3926 redefined M4 macros to this node. Document m4_include & m4_sinclude. 3927 Move m4_undefine to alphabetical order. 3928 39292005-06-07 Paul Eggert <eggert@cs.ucla.edu> 3930 3931 * README: Recommend GNU M4 1.4.3 or later. 3932 * doc/autoconf.texi (Introduction): Likewise. 3933 Reword to avoid some formatting glitches. 3934 Use "#!/bin/sh", not "#! /bin/sh"; the space isn't needed these days. 3935 Clarify explanation of HP compiler bug. 3936 Redo example output tp match current CVS snapshot. 3937 Use @example.org in email addresses when the examples 3938 might get inadvertently cut-and-pasted into user code. 3939 Remove example of autom4te usage that doesn't seem to work now. 3940 Use modern AC_INIT (except when the example is meant to be 3941 shown with Autoconf 2.13). 3942 Update ksh info for Solaris 9 and later. 3943 KB -> kB. 3944 Modernize description of Automake versions a bit. 3945 Don't claim a future version of Autoconf is near. 3946 * doc/install.texi: Reword to avoid some formatting glitches. 3947 39482005-06-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 3949 3950 * doc/autoconf.texi: Add [] to examples, so that the manual 3951 follows its own advice about quoting better. 3952 Reword to avoid some formatting glitches. 3953 * doc/installt.exi: Reword to avoid some formatting glitches. 3954 3955 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention 3956 Tru64 ksh pattern matching bug. Reported against Libtool by 3957 Albert Chin <libtool@mlists.thewrittenword.com> and 3958 Nicolas Joly <njoly@pasteur.fr>. 3959 39602005-06-06 Stepan Kasal <kasal@ucw.cz> 3961 3962 m4_cdr of one-member list was [[]] (one-member list containing an 3963 empty string) instead of [] (an empty list. Callers were skewed to 3964 match this misbehaviour. As a consequence of this: 3965 - m4_foreach([x], [], [foo]) expanded to `foo', while 3966 - the expansion of m4_foreach([x], [[]], [foo]) was empty. 3967 This bug has been fixed: 3968 3969 * lib/m4sugar/m4sugar.m4 (m4_cdr): If only one argument is given, 3970 expand to an empty string; print error msg if called without 3971 an argument list. 3972 (m4_foreach, m4_map, m4_map_sep): Don't expect the previous 3973 misbehaviour; handle [] and [[]] correctly. 3974 39752005-06-06 Stepan Kasal <kasal@ucw.cz> 3976 3977 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Nuke ac_max_here_lines. 3978 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Simplify the sed 3979 scripts created and the loop applying them, use _AC_SED_CMD_LIMIT. 3980 39812005-06-06 Ralf Menzel <menzel@ls6.cs.uni-dortmund.de> (trivial change) 3982 3983 * doc/autoconf.texi (Limitations of Usual Tools): Solaris' awk cannot 3984 swallow records with more than 99 fields. 3985 * lib/autotest/general.m4 (AT_INIT): Use the awk builtin `split' to 3986 parse the long line. 3987 39882005-06-04 Stepan Kasal <kasal@ucw.cz> 3989 3990 * doc/autoconf.texi (Limitations of Usual Tools): AIX awk cannot 3991 swallow literals longer than 399. Reported by Ralf Wildenhues. 3992 * lib/autotest/general.m4 (AT_INIT): Pass $at_groups though stdin, 3993 to workaround this limitation. 3994 39952005-06-03 Steven G. Johnson <stevenj@alum.mit.edu> 3996 3997 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Find g95 in addition 3998 to gfortran, and make these the first two compiler names 3999 checked (following the general autoconf preference for gcc). 4000 40012005-06-03 Stepan Kasal <kasal@ucw.cz> 4002 4003 * tests/Makefile.am (check_SCRIPTS): Set to $(wrappers). 4004 (DISTCLEANFILES): Remove $(check_SCRIPTS). 4005 (testsuite): Make sure autotest.m4f is up-to-date before using it. 4006 40072005-06-02 Paul Eggert <eggert@cs.ucla.edu> 4008 4009 * lib/autotest/general.m4 (AT_INIT): Don't create a regular 4010 expression of unbounded size when processing the --list 4011 option. This runs afoul of a limit of 399 bytes per regular 4012 expression on AIX. Problem reported by Ralf Wildenhues. 4013 40142005-06-01 Paul Eggert <eggert@cs.ucla.edu> 4015 4016 * NEWS: Note yesterday's changes to AC_SUBST and AC_SUBST_FILE. 4017 * doc/autoconf.texi (Particular Headers): Reword example 4018 for multiline stdbool replacement. 4019 (Setting Output Variables): Reword text a bit. Don't 4020 give all the details about |#_!!_#|. 4021 Reword description of line replacement. 4022 40232005-05-31 Dan Manthey <dan_manthey@partech.com> 4024 4025 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Output variables may 4026 now contain newlines, and substituted files must be referenced on 4027 a line alone; the sed scripts to substitute them are now very 4028 different. 4029 (_AC_SED_CMD_LIMIT): Added; single place to store limit on how many 4030 commands can be put in a sed script portably. 4031 * doc/autoconf.texi (Setting Output Variables): Document above 4032 changes. (Particular Header Checks) <AC_HEADER_STDBOOL>: Give exaple 4033 use of multiline substitution. 4034 * tests/torture.at: No longer expect substitution of newline to fail. 4035 40362005-05-27 Paul Eggert <eggert@cs.ucla.edu> 4037 4038 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Fix diagnostics. 4039 From Ralf Menzel (trivial change). 4040 40412005-05-25 Paul Eggert <eggert@cs.ucla.edu> 4042 4043 * tests/local.at: Don't attempt to check for negated character 4044 classes in shell scripts. The test was too brittle. 4045 40462005-05-25 Stepan Kasal <kasal@ucw.cz> 4047 4048 * bin/autoconf.as: Don't use "shift 2"; it's not portable enough. 4049 * doc/autoconf.texi (Limitations of Builtins): Document this 4050 limitation. 4051 40522005-05-24 Stepan Kasal <kasal@ucw.cz> 4053 4054 * lib/m4sugar/m4sh.m4 (_AS_ECHO_LOG): New macro to factor out 4055 common code; used in many places in the tree. 4056 (AS_ESCAPE): Make the pattern a bit simpler; use \& insetad of \1. 4057 (_AS_ECHO_UNQUOTED): Move the macro lower; no code change. 4058 4059 * lib/m4sugar/m4sugar.m4 (m4_ifset): Use m4_ifval. 4060 4061 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Merge the two error 4062 messages when ac_unique_file is not found. 4063 (AC_CONFIG_MACRO_DIR): Simplify the `if' at the end. 4064 (AC_MSG_CHECKING, AC_MSG_RESULT): Put braces around the two echo 4065 commands, for consistency with AC_MSG_ERROR and such. 4066 4067 * bin/autoconf.as: Make more use of "shift 2" in option processing. 4068 4069 * bin/Makefile.am: Merge the two rules for creating scripts. 4070 40712005-05-23 Stepan Kasal <kasal@ucw.cz> 4072 4073 * lib/autoconf/general.m4 (AC_MSG_RESULT_UNQUOTED): Make 4074 obsolete; it was never documented. 4075 (AC_CACHE_CHECK): Use AC_MSG_RESULT instead. 4076 40772005-05-20 Stepan Kasal <kasal@ucw.cz> 4078 4079 * NEWS: @top_builddir@ is now a dirname, ac_top_builddir will follow. 4080 * lib/autoconf/status.m4 (_AC_SRCDIRS): Rename ... 4081 (ac_top_builddir): ... this ... 4082 (ac_top_build_prefix): ... to this; the old name is also kept, for 4083 backward compatibility. 4084 (ac_top_builddir_sub): New variable, without the trailing slash, 4085 always nonempty. 4086 (_AC_OUTPUT_FILES): s/@top_builddir@/$ac_top_builddir_sub/ 4087 * doc/autoconf.texi (Configuration Actions): Rename 4088 ac_top_builddir to ac_top_build_prefix. 4089 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Rename 4090 at_top_builddir to at_top_build_prefix. 4091 * lib/autotest/general.m4 (AT_INIT): Likewise. 4092 40932005-05-20 Stepan Kasal <kasal@ucw.cz> 4094 4095 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Simplify the init 4096 of confdefs.h . 4097 40982005-05-17 Stepan Kasal <kasal@ucw.cz> 4099 4100 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Don't m4_quote the second 4101 argument to m4_foreach. I guess it was necessary in the past, 4102 but I think it's a no-op now. 4103 41042005-05-17 Stepan Kasal <kasal@ucw.cz> 4105 4106 * lib/autoconf/general.m4 (_AC_INIT_HELP): Merge two consecutive 4107 ``cat <<_ACEOF'' commands to one. 4108 (_AC_CANONICAL_SPLIT): Use expr, not ``echo|sed.'' 4109 * lib/autoconf/status.m4: On various places, use expr instead of 4110 ``echo|sed.'' 4111 (_AC_CONFIG_SPLIT, _AC_CONFIG_SPLIT_SOURCE_DEST): 4112 (_AC_CONFIG_SPLIT_FILE_IN): New macros, to factor out common code. 4113 * lib/autotest/general.m4 (AT_INIT): Use expr to get the numbers from 4114 a range. 4115 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Use awk to search for 4116 the wrong patterns between ``case'' and ``esac.'' The previous 4117 code had false positives. 4118 41192005-05-14 Alexandre Duret-Lutz <adl@gnu.org> 4120 4121 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Prepend ${LIBOBJDIR}, 4122 as on 2005-05-02. 4123 * doc/autoconf.texi (Particular Functions) <AC_FUNC_ALLOCA>: 4124 Mention LIBOBJDIR. 4125 41262005-05-13 Paul Eggert <eggert@cs.ucla.edu> 4127 4128 * AUTHORS, BUGS, COPYING, ChangeLog, ChangeLog.0, ChangeLog.1, 4129 ChangeLog.2, GNUmakefile, Makefile.am, Makefile.cfg, 4130 Makefile.maint, NEWS, README, README-alpha, TODO, configure.ac, 4131 bin/Makefile.am, bin/autoconf.as, bin/autoheader.in, 4132 bin/autom4te.in, bin/autoreconf.in, bin/autoscan.in, 4133 bin/autoupdate.in, bin/ifnames.in, config/Makefile.am, 4134 config/config.guess, config/config.sub, config/elisp-comp, 4135 config/m4.m4, config/mdate-sh, config/missing, config/texinfo.tex, 4136 doc/Makefile.am, doc/fdl.texi, lib/Makefile.am, lib/autom4te.in, 4137 lib/freeze.mk, lib/Autom4te/C4che.pm, lib/Autom4te/ChannelDefs.pm, 4138 lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm, 4139 lib/Autom4te/FileUtils.pm, lib/Autom4te/General.pm, 4140 lib/Autom4te/Request.pm, lib/Autom4te/Struct.pm, 4141 lib/Autom4te/XFile.pm, lib/autoconf/Makefile.am, 4142 lib/autoconf/autoconf.m4, lib/autoconf/autoheader.m4, 4143 lib/autoconf/autoscan.m4, lib/autoconf/autotest.m4, 4144 lib/autoconf/autoupdate.m4, lib/autoconf/c.m4, 4145 lib/autoconf/fortran.m4, lib/autoconf/functions.m4, 4146 lib/autoconf/general.m4, lib/autoconf/headers.m4, 4147 lib/autoconf/lang.m4, lib/autoconf/libs.m4, 4148 lib/autoconf/oldnames.m4, lib/autoconf/programs.m4, 4149 lib/autoconf/specific.m4, lib/autoconf/status.m4, 4150 lib/autoconf/types.m4, lib/autoscan/Makefile.am, 4151 lib/autoscan/autoscan.list, lib/autoscan/autoscan.pre, 4152 lib/autotest/Makefile.am, lib/autotest/autotest.m4, 4153 lib/autotest/general.m4, lib/emacs/Makefile.am, 4154 lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el, 4155 lib/m4sugar/Makefile.am, lib/m4sugar/m4sh.m4, 4156 lib/m4sugar/m4sugar.m4, man/Makefile.am, tests/Makefile.am, 4157 tests/atlocal.in, tests/autotest.at, tests/base.at, tests/c.at, 4158 tests/compile.at, tests/foreign.at, tests/fortran.at, 4159 tests/local.at, tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh, 4160 tests/semantics.at, tests/suite.at, tests/tools.at, 4161 tests/torture.at, tests/wrapper.as: 4162 Update FSF postal mail address. 4163 41642005-05-13 Stepan Kasal <kasal@ucw.cz> 4165 4166 * lib/autoconf/general.m4 (AC_CONFIG_LIBOBJ_DIR): Remove the broken 4167 check. 4168 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Halt with error if we don't get 4169 enough arguments, similarly as in m4_bpatsubsts. 4170 41712005-05-12 Stepan Kasal <kasal@ucw.cz> 4172 4173 * lib/autoconf/status.m4 (_AC_SRCDIRS): Simplify the computation 4174 of absolute paths. 4175 41762005-05-11 Stepan Kasal <kasal@ucw.cz> 4177 4178 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Make the check 4179 for absolute directory names in one loop. 4180 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Handle 4181 abbreviations of --version and --debug. 4182 41832005-05-10 Paul Eggert <eggert@cs.ucla.edu> 4184 4185 * doc/autoconf.texi (Autoconf Language): Be more precise about 4186 quoting rules. Problems noted by Stepan Kasal. 4187 Also, throughout this document, be more careful about white space. 4188 "blank", "white space", and "space" all have different meanings 4189 and we should be careful to say what we mean. 4190 41912005-05-05 Paul Eggert <eggert@cs.ucla.edu> 4192 4193 Fix C++ related problems reported by Werner Lemberg. 4194 * doc/autoconf.texi (C++ Compiler): Mention .cpp extension. 4195 * lib/autoconf/c.m4 (AC_LANG(C++)): Set ac_ext to .cpp, not .cc. 4196 * lib/autoconf/types.m4 (AC_TYPE_SIGNAL): Simplify test, to 4197 avoid problems with C++ and throw. 4198 * tests/compile.at: .cpp, not .cc. 4199 4200 * tests/semantics.at: Prepend LIBOBJDIR, as per 2005-05-02 change. 4201 42022005-05-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4203 4204 * doc/autoconf.texi (Generic Functions): Typos. 4205 42062005-05-02 Gary V. Vaughan <gary@gnu.org> 4207 4208 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Prepend each 4209 object named in LIBOBJS and LTLIBOBJS with the ${LIBOBJDIR}, as 4210 set by latest automake. 4211 42122005-05-01 Paul Eggert <eggert@cs.ucla.edu> 4213 4214 * doc/autoconf.texi (Limitations of Usual Tools): "expr '' \| ''" 4215 outputs 0 on GNU/Linux these days. 4216 42172005-04-29 Paul Eggert <eggert@cs.ucla.edu> 4218 4219 * doc/autoconf.texi (Autoconf Language): Add more description 4220 about quoting heuristics. 4221 (Limitations of Builtins): Describe "set -" problems. 4222 42232005-04-29 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4224 4225 * lib/autotest/general.m4 (AT_KEYWORDS): Separate by space, 4226 not newline. 4227 4228 * doc/autoconf.texi (External Software): Replace AC_DEFINE_UNQUOTED 4229 by AC_DEFINE; it was a mistake. 4230 From bug reported against libtool by Dalibor Topic <robilad@kaffe.org>. 4231 42322005-04-25 Stepan Kasal <kasal@ucw.cz> 4233 4234 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): A tiny optimization. 4235 42362005-04-22 Stepan Kasal <kasal@ucw.cz> 4237 4238 * doc/autoconf.texi (External Software): Quadrigraphs are not 4239 processed correctly in AS_HELP_STRING; avoid this in the examples. 4240 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): Add a FIXME about quadrigraphs. 4241 * lib/m4sugar/m4sugar.m4 (m4_text_wrap): Likewise; and rephrase the 4242 comment and reduce m4_default([foo], []) to [foo]. 4243 (m4_strip): Update the explanation. 4244 42452005-04-19 Paul Eggert <eggert@cs.ucla.edu> 4246 4247 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_RUN_IFELSE): 4248 Remove core.conftest.* too; it's generated by Tru64 5.1. 4249 Problem reported by Jennis Pruett. 4250 * lib/autoconf/functions.m4 4251 (AC_FUNC_SETVBUF_REVERSED, AC_FUNC_UTIME_NULL): 4252 Don't bother to remove core files; AC_RUN_IFELSE should do that 4253 for you. 4254 42552005-04-19 Stepan Kasal <kasal@ucw.cz> 4256 4257 * lib/m4sugar/m4sugar.m4 (m4_bpatsubsts): Add the b- to comment, too. 4258 42592005-04-19 Alexandre Duret-Lutz <adl@gnu.org> 4260 4261 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Handle --docdir. 4262 Report from Horst Wente. 4263 42642005-04-15 Stepan Kasal <kasal@ucw.cz> 4265 4266 * lib/autoconf/general.m4 (_AC_ARG_VAR_VALIDATE): Fixed a typo in 4267 the comment. 4268 42692005-04-14 Gregorio Guidi <greg_g@gentoo.org> 4270 4271 * doc/autoconf.texi (External Software, Package Options): Add 4272 examples showing how to implement --with-* and --enable-* options. 4273 42742005-04-13 Paul Eggert <eggert@cs.ucla.edu> 4275 4276 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Look for configure.ac 4277 as well as configure.in. Problem reported by Gregorio Guidi. 4278 42792005-04-10 Paul Eggert <eggert@cs.ucla.edu> 4280 4281 * doc/autoconf.texi (Particular Functions): Use gnulib's current 4282 pattern for alloca snippet. 4283 42842005-04-04 Stepan Kasal <kasal@ucw.cz> 4285 4286 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): Fix a typo. 4287 42882005-04-01 Stepan Kasal <kasal@ucw.cz> 4289 4290 * doc/autoconf.texi (Generic Programs): Fix a typo. 4291 42922005-04-01 Paul Eggert <eggert@cs.ucla.edu> 4293 4294 * lib/autotest/general.m4 (AT_INIT): Don't assume that "date +%s" 4295 fails if %s isn't supported. Problem reported by Ralf Wildenhues. 4296 42972005-03-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4298 4299 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): 4300 Merge `-z option' as well for the benefit of Solaris link flags. Pass 4301 whole-archive (-zallextract, -zdefaultextract) options in the hope of 4302 unique libraries, for the Sun Fortran 95 8.0 compiler. Bug reported 4303 against Libtool by Yury Puhalsky <pooh@cryptopro.ru>. 4304 43052005-03-22 Paul Eggert <eggert@cs.ucla.edu> 4306 4307 * NEWS: The configure command now warns you if you attempt to use 4308 a directory whose name contains a special character like space, 4309 newline, or "\". 4310 * doc/autoconf.texi (Installation Directory Variables): Allow 4311 "," in file names. Do not use \@; it's not a portable regexp. 4312 * bin/Makefile.am (edit): Likewise. 4313 * lib/Makefile.am (edit): Likewise. 4314 * tests/Makefile.am (edit): Likewise. 4315 * tests/semantics.at: Likewise. 4316 * tests/torture.at: Likewise. 4317 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): Likewise. 4318 * lib/autoconf/status.m4 (_AC_SRCDIRS): Likewise. 4319 * doc/autoconf.texi (File System Conventions): Warn about 4320 unportable file names. 4321 * lib/autoconf/general.m4 (_AC_INIT_DIRCHECK): New macro. 4322 (AC_INIT): Use it. 4323 (_AC_INIT_SRCDIR): Use ac_pwd rather than invoking pwd. 4324 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Propagate 4325 ac_pwd, and quote srcdir. 4326 * lib/autotest/general.m4 (AT_INIT): Quote file name args. 4327 4328 * doc/autoconf.texi: Fix some systematic formatting problems. 4329 ".)" needs a following @: if not at the end of a sentence, and 4330 similarly for "!)". "etc." should be preceded by a comma. 4331 "n-th" -> "@var{n}th". pdksh is still buggy, so update its date. 4332 43332005-03-22 Bruno Haible <bruno@clisp.org> 4334 4335 * doc/autoconf.texi (Input): Mention that AC_CONFIG_AUX_DIR's 4336 argument is often called 'build-aux'. 4337 43382005-03-07 Stepan Kasal <kasal@ucw.cz> 4339 4340 * doc/autoconf.texi (Quotation Rule Of Thumb): Mention that the 4341 macro AC_TRY_LINK is obsolete. 4342 (Installation Directory Variables): Change `AC_OUTPUT_FILES' to 4343 `AC_CONFIG_FILES'. 4344 43452005-02-24 Stepan Kasal <kasal@ucw.cz> 4346 4347 * lib/autoconf/c.m4 (AC_PROG_CC): Be more careful to skip 4348 `/usr/ucb/cc'; use `cl.exe' to distinguish the MS compiler 4349 from a Common Lisp's `cl'. 4350 (AC_PROG_CXX): Behave according to the documentation: don't 4351 search for $ac_tool_prefix$CCC and $CCC, just set CXX=$CCC; 4352 make the variable CCC precious; use `cl.exe', not `cl'. 4353 43542005-02-23 Paul Eggert <eggert@cs.ucla.edu> 4355 Alexandre Duret-Lutz <adl@gnu.org> 4356 4357 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin from 4358 /dev/null, as "configure" shouldn't read stdin, and this insulates 4359 us from problems (e.g., when testing for "cl"). Also, do this 4360 redirection before invoking "hostname" or "uname", and keep the 4361 original input stream available via... 4362 (AS_ORIGINAL_STDIN_FD): ... this new macro. 4363 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE): Don't 4364 bother with "</dev/null" since it's now done at the top of 4365 'configure'. 4366 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Likewise. 4367 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise. 4368 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise. 4369 * doc/autoconf.texi (File Descriptor Macros): New section. 4370 (Printing Messages): Mention it. 4371 * tests/base.at (Input/Output): New test. 4372 43732005-02-23 Paul Eggert <eggert@cs.ucla.edu> 4374 4375 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): Don't set ECHO_C to 4376 newline if neither \c nor -n work, as that would output two 4377 newlines. Prefer -n to \c. Reported by Stepan Kasal. 4378 43792005-02-12 Stepan Kasal <kasal@ucw.cz> 4380 4381 * lib/m4sugar/m4sh.m4 (AS_IF): Define by m4_defun, not m4_define. 4382 This causes that any required macros inside will get before the if. 4383 * doc/autoconf.texi (autom4te.cache): A typo. 4384 43852005-02-12 Paul Eggert <eggert@cs.ucla.edu> 4386 4387 Undo previous change, except keep the change to 4388 lib/autoconf/programs.m4 that replaced grep with shell 4389 pattern-matching. This is because net-snmp configure reads stdin. 4390 Reported by Noah Misch. 4391 43922005-02-11 Paul Eggert <eggert@cs.ucla.edu> 4393 4394 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Redirect stdin 4395 from /dev/null, as "configure" shouldn't read stdin, and this 4396 insulates us from problems (e.g., when testing for "cl"). 4397 Suggested by Alexandre Duret-Lutz. Also, do this redirection 4398 before invoking "hostname" or "uname". 4399 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, 4400 _AC_LINK_IFELSE): Undo previous change, as it's no longer needed. 4401 * lib/autoconf/c.m4 (AC_PROG_CC, AC_PROG_CXX): Don't bother with 4402 "</dev/null" since it's now done at the top of 'configure'. 4403 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Likewise. 4404 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FLAVOR_GNU): Likewise. 4405 Also, replace grep with shell pattern-matching, to save a process. 4406 44072005-02-10 Paul Eggert <eggert@cs.ucla.edu> 4408 4409 * lib/autoconf/general.m4 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, 4410 _AC_LINK_IFELSE): Redirect stdin to /dev/null, in an attempt to 4411 avoid thinking that Allegro Common Lisp's "cl" command is a C++ 4412 compiler. 4413 44142005-02-09 Paul Eggert <eggert@cs.ucla.edu> 4415 4416 * doc/autoconf.texi (Limitations of Usual Tools): Document that 4417 grep -q isn't portable. Improve grep -s explanation. 4418 Problem reported by Dan Manthey. 4419 44202005-02-08 Paul Eggert <eggert@cs.ucla.edu> 4421 4422 * doc/autoconf.texi (Special Shell Variables): Clarify 4423 PATH_SEPARATOR wording; fix typo in IFS. Reported by Gary V. Vaughan. 4424 44252005-02-07 Paul Eggert <eggert@cs.ucla.edu> 4426 4427 * doc/autoconf.texi: Use @acronym for DJGPP. 4428 Fix some @code's that should have been @env's, and vice versa. 4429 Sort environment variable names. 4430 Mention that shells no longer inherit IFS. 4431 Don't recommend PATH_SEPARATOR=';' so strongly. 4432 Mention that $RANDOM might expand to the empty string. 4433 "symlink" and "soft link" -> "symbolic link". 4434 Improve mktemp description (reported by Bruno Haible). 4435 44362005-02-05 Paul Eggert <eggert@cs.ucla.edu> 4437 4438 * tests/foreign.at (Libtool): Don't overquote AT_SETUP arg. 4439 * tests/m4sh.at (AS_DIRNAME, AS_BASENAME, AS_MKDIR_P, AS_HELP_STRING): 4440 Likewise. 4441 * tests/semantics.at (AC_C_BIGENDIAN, AC_PATH_PROG & AC_PATH_PROGS): 4442 Likewise. 4443 44442005-02-04 Paul Eggert <eggert@cs.ucla.edu> 4445 4446 * NEWS: Mention AT_COPYRIGHT. 4447 4448 * tests/local.at (AT_CMP): Use diff directly on input files rather 4449 than copying them. 4450 4451 * lib/autoconf/programs.m4 (AC_PROG_SED): Don't look in 4452 /usr/xpg4/bin since that sed dumps core (at least on Solaris 8). 4453 44542005-02-04 Noah Misch <noah@cs.caltech.edu> 4455 and Paul Eggert <eggert@cs.ucla.edu> 4456 4457 * tests/autotest.at (Empty test suite): New test. 4458 * tests/torture.at (Substitute and define special characters) 4459 (Substitute a 2000-byte string, Define to a 2000-byte string) 4460 (Substitute a newline, Define a newline): New tests. 4461 44622005-02-04 Noah Misch <noah@cs.caltech.edu> 4463 4464 * lib/m4sugar/m4sugar.m4 (m4_re_string, m4_re_word): Revert 2002-03-04. 4465 * tests/local.at (AT_CHECK_M4SUGAR): Add `m4sugar' to keywords. 4466 (AT_CHECK_ENV): Ignore LTLIBOBJS, FC variables, EGREP, FGREP, and SED. 4467 * tests/m4sugar.at (AT_CHECK_M4SUGAR_TEXT, AT_CHECK_M4RE): New macros. 4468 (Standard regular expressions): New test. 4469 (m4_warn, m4_require: circular dependencies, m4_text_wrap): Strip 4470 excess test name quoting. 4471 * tests/semantics.at (AC_CHECK_HEADERS_OLD, AC_CHECK_HEADERS_NEW): Pass 4472 CPPFLAGS to `configure' instead of setting it in `configure'. 4473 4474 * lib/m4sugar/m4sh.m4 (AS_UNAME): Try only /usr/bin/hostinfo, not 4475 any `hostinfo' in $PATH, since hostinfo.exe is a popular file name 4476 on some platforms. 4477 4478 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), AC_FC_SRCEXT): 4479 s/FC_SRCEXT/ac_fc_srcext/; s/FCFLAGS_SRCEXT/ac_fcflags_srcext/. 4480 4481 * tests/local.at (AT_CMP): New macro. 4482 (AT_DATA_AUTOCONF): Do not call AC_PROG_GREP. 4483 (AC_SAVE_STATE): Move environment grep... 4484 (AT_CHECK_ENV): to here. Filter out `'$''. Use AT_CMP. 4485 (AT_CONFIG_CMP): New macro. 4486 (AT_CHECK_MACRO): Run `configure' twice with cache and compare results. 4487 * tests/c.at (Extensions): Do not exit early. 4488 * tests/atlocal.in: Inherit $GREP. 4489 4490 * lib/autoconf/c.m4 (_AC_C_STD_TRY): New macro. 4491 (_AC_PROG_CC_C89, _AC_PROG_CC_C99): Use it. 4492 4493 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Update for 2005. 4494 (AC_COPYRIGHT): Factor header comment portion out and move into... 4495 * lib/m4sugar/m4sh.m4 (AS_COPYRIGHT): This. 4496 * lib/autotest/general.at (AT_COPYRIGHT): New macro. 4497 (AT_INIT): Add Autotest copyright notice. Display copyright notices in 4498 --version output. 4499 * tests/local.at: Add Autoconf test suite copyright notice. 4500 * doc/autoconf.texi (Writing testsuite.at): Document AT_COPYRIGHT. 4501 45022005-02-04 Bruno Haible <bruno@clisp.org> 4503 and Paul Eggert <eggert@cs.ucla.edu> 4504 4505 * doc/autoconf.texi (Limitations of Usual Tools): New mkstemp entry. 4506 45072005-02-03 Paul Eggert <eggert@cs.ucla.edu> 4508 4509 * lib/m4sugar/m4sugar.m4 (m4_re_escape): Escape ?, ^, \, $ too; 4510 this fixes a bug tickled by the AT_CAPTURE_FILE change noted below. 4511 4512 Try not to generated lines of unlimited length, as POSIX places a 4513 2047-byte limit on line length of portable text files. 4514 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILE): 4515 Use newline as a separator, not space. 4516 * lib/autotest/general.m4 (AT_TESTED, AT_KEYWORDS): Likewise. 4517 (AT_CAPTURE_FILE): Use space-backslash-newline as a separator, not 4518 space. 4519 45202005-02-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4521 4522 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Move func_* to 4523 as_func_*. Add test to check whether positional parameters 4524 are restored after function return. 4525 45262005-02-02 Paul Eggert <eggert@cs.ucla.edu> 4527 4528 * doc/autoconf.texi (Special Shell Variables): Mention _, 4529 BIN_SH, DUALCASE. Say that variables other than "status" are safe 4530 if they contain a lower-case letter. The DUALCASE problem was 4531 reported by Ralf Wildenhues. 4532 4533 * bin/autoconf.as: Don't exit with status 0 after write failure 4534 with --help or --version. 4535 * lib/autoconf/general.m4 (_AC_INIT_HELP, _AC_INIT_VERSION): Likewise. 4536 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Likewise. 4537 45382005-02-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4539 4540 * doc/autoconf.texi (Limitations of Usual Tools): 4541 Unicos 9 sed limitations. 4542 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Try cf77 before fort77 4543 to get the option-enhanced interface on older Crays. Try ftn for 4544 Fortran 95 (newer Crays). 4545 45462005-02-01 Paul Eggert <eggert@cs.ucla.edu> 4547 4548 * man/Makefile.am (.x.1): Go back to the simple solution, but take 4549 care to echo the commands, so the user knows what's going on. 4550 Modified from a suggestion by Stepan Kasal. 4551 4552 * doc/autoconf.texi (autoreconf Invocation): Mention autopoint, 4553 with a cross reference. Derived from a suggestion by Bruce Korb. 4554 45552005-01-31 Paul Eggert <eggert@cs.ucla.edu> 4556 4557 * doc/autoconf.texi (config.status Invocation): Warn about 4558 discrepancy between CONFIG_SHELL and shell used to invoke 'configure'. 4559 * doc/install.texi (Defining Variables): Likewise. 4560 Based on a proposed patch by Ralf Wildenhues. 4561 4562 * man/Makefile.am (.x.1): Make sure the required generated files 4563 are up to date. Problem and original solution proposed by Stepan Kasal. 4564 $(dist_man_MANS:.1=-bin-prereq), $(dist_man_MANS:.1=-tests-prereq), 4565 implicit-man-prerequisites): New rules, used by the above. 4566 4567 * doc/make-stds.texi, doc/standards.texi: Sync from gnulib. 4568 * config/config.guess, config/config.sub, config/install-sh: Likewise. 4569 * config/missing, config/texinfo.tex: Likewise. 4570 45712005-01-29 Stepan Kasal <kasal@ucw.cz> 4572 4573 Simplify the implementation of m4_require (a.k.a. AC_REQUIRE). 4574 Update the long comment explaining it. 4575 4576 m4_require no longer writes an ``is required by'' line to the 4577 execution stack. It contains only one bit of non-redundant 4578 information: that the macro was required, not called. And even 4579 this bit is useless in most situations: have you ever met a macro 4580 which both calls and requires the same macro? 4581 4582 * lib/m4sugar/m4sugar.m4 (_m4_defun_pro): Don't push a diversion... 4583 (_m4_defun_pro_outer): ... only via this macro, for the outermost 4584 macro. 4585 (_m4_defun_epi, _m4_defun_epi_outer): Complementarily. 4586 (m4_expansion_stack_pop): Remove the misplaced comment. 4587 (m4_require): Don't put the ``is required by'' line to the 4588 execution stack; slightly improve the out-of-a-defun error message. 4589 (_m4_divert_grow): New macro, counter for the temporary diversions. 4590 (_m4_require_call): Use it. 4591 * tests/m4sugar.at (m4_require): Expect output without the 4592 ``is required by'' messages. 4593 45942005-01-28 Paul Eggert <eggert@cs.ucla.edu> 4595 4596 * doc/autoconf.texi (Limitations of Usual Tools): Recommend X 4597 rather than x for expr. 4598 4599 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): Avoid subshells when 4600 this is safe. 4601 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): Likewise. 4602 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise. 4603 * lib/autotest/general.m4 (AT_INIT): Likewise. 4604 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Likewise. 4605 * tests/mktests.sh: Likewise. 4606 46072005-01-27 Akim Demaille <akim@epita.fr> 4608 4609 Have autoheader honor --force. 4610 4611 * doc/make-stds.texi, doc/standards.texi: Update from masters. 4612 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm 4613 * lib/Autom4te/FileUtils.pm, lib/Autom4te/XFile.pm: Update 4614 from masters, so that FileUtils.pm's update_file provide --force 4615 support. 4616 * bin/autoheader.in: Pass $force to update_file so that 4617 config.h.in is always recreated when --force. 4618 46192005-01-24 Stepan Kasal <kasal@ucw.cz> 4620 4621 * doc/autoconf.texi (Introduction): Update Peter Simons' address. 4622 46232005-01-21 Paul Eggert <eggert@cs.ucla.edu> 4624 4625 * doc/autoconf.texi (Limitations of Builtins): Clarify that 4626 "if test ! -d foo; ..." is portable. Suggested by Stepan Kasal. 4627 46282005-01-20 Paul Eggert <eggert@cs.ucla.edu> 4629 4630 * doc/autoconf.texi (Shell Substitutions): Fix typo in case statement. 4631 Warn about newline stripping in `` and $(). Update Solaris 4632 version to 9. 4633 (Limitations of Builtins): Use expr "X...", not expr "x...", as 4634 X insulates us from future changes to Posix. 4635 (Limitations of Usual Tools): For AS_DIRNAME, warn about newline 4636 stripping. 4637 46382005-01-19 Stepan Kasal <kasal@ucw.cz> 4639 4640 * doc/autoconf.texi (Defining Symbols): Delete the false comment that 4641 you cannot use AC_DEFINE to define macros containing `[' or `]'. 4642 46432005-01-13 Paul Eggert <eggert@cs.ucla.edu> 4644 4645 * doc/autoconf.texi (Limitations of Usual Tools): Document bug 4646 in Solaris 8 join. Problem reported by Tomohiro Suzuki on 4647 bug-tar mailing list. 4648 46492005-01-05 Stepan Kasal <kasal@ucw.cz> 4650 4651 * lib/m4sugar/m4sugar.m4 (m4_copy): Fix the explanation. 4652 46532005-01-05 Paul Eggert <eggert@cs.ucla.edu> 4654 4655 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C)): Declare longval and 4656 ulongval to be static, to avoid unwanted GCC warning. Problem 4657 reported by Michael Jennings via Daniel Reed; see 4658 <https://bugzilla.redhat.com/beta/show_bug.cgi?id=143852>. 4659 46602005-01-05 Alexandre Duret-Lutz <adl@gnu.org> 4661 4662 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Define datarootdir, 4663 docdir, htmldir, dvidir, pdfdir, psdir, and localdir. Update 4664 datadir, infodir, and mandir. Adjust argument parsing code. 4665 (_AC_INIT_HELP): Update help text. 4666 * doc/autoconf.texi (Installation Directory Variables): Document 4667 new variables. 4668 46692005-01-04 Noah Misch <noah@cs.caltech.edu> 4670 4671 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): If the Make program does 4672 not seem to work, assume it does set $(MAKE). 4673 * doc/autoconf.texi (AC_PROG_MAKE_SET): Update. 4674 46752005-01-03 Stepan Kasal <kasal@ucw.cz> 4676 4677 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Add a comment about nesting. 4678 46792005-01-03 Stepan Kasal <kasal@ucw.cz> 4680 4681 A cleanup of the diversion support in m4sugar. 4682 4683 * lib/m4sugar/m4sugar.m4 (_m4_divert): A typo in description. 4684 (_m4_divert_n_stack): New macro; the expansion is 4685 <newline>m4_divert_stack, if m4_divert_stack is defined, and void 4686 otherwise. 4687 (m4_divert, m4_divert_push, m4_divert_pop, m4_init): Use it. 4688 (m4_divert_push, m4_divert_pop, _m4_defun_epi): Don't expand the word 4689 stored in _m4_divert_diversion or _m4_divert_dump. 4690 (m4_divert_pop): When the parameter is given, compare the symbolic 4691 name with the last diversion pushed on the stack. Previously, the 4692 current diversion was compared with the numeric value of the 4693 diversion given as the parameter. 4694 (m4_require): If the macro hasn't been expanded yet, call ... 4695 (_m4_require_call): this new macro. 4696 46972005-01-03 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4698 4699 * lib/autoconf/general.m4 (_AC_INIT_PREPARE, _AC_ARG_VAR_VALIDATE): 4700 Workarounds for documented `case' limitations. 4701 47022005-01-03 Paul Eggert <eggert@cs.ucla.edu> 4703 4704 * doc/autoconf.texi (Limitations of Usual Tools): Warn about 4705 sed 'command1;command2'. Problem reported by Ralf Wildenhues. 4706 47072005-01-02 Paul Eggert <eggert@cs.ucla.edu> 4708 4709 * bin/autoconf.as, bin/autoheader.in, bin/autom4te.in, 4710 bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, 4711 bin/ifnames.in, tests/mktests.sh: Update copyright date to 2005. 4712 4713 Patch from Roger Leigh (with some minor changes) as follows: 4714 * NEWS: New macros AC_PROG_CC_C89, AC_PROG_CC_C99. 4715 Resurrect AC_PROG_CC_STDC. 4716 * doc/autoconf.texi (C Compiler): Add AC_PROG_CC_STDC, 4717 AC_PROG_CC_C89, AC_PROG_CC_C99. 4718 (Obsolete Macros): Remove AC_PROG_CC_STDC; it's no longer obsolete. 4719 * lib/autoconf/c.m4 (_AC_PROG_CC_C89, _AC_PROG_CC_C99, AC_PROG_CC_C89, 4720 AC_PROG_CC_C99): New macros. 4721 (AC_PROG_CC_STDC): Use them. 4722 (_AC_PROG_CC_STDC): Remove. 4723 (AC_C_PROTOTYPES): Use ac_cv_prog_cc_c89, not ac_cv_prog_cc_stdc. 4724 * THANKS: Add Roger Leigh. 4725 47262004-12-30 Noah Misch <noah@cs.caltech.edu> 4727 4728 * bin/autoreconf.in (autoreconf_current_directory): AM_INIT_AUTOMAKE 4729 signals that the package uses Automake; a `Makefile.am' is typical but 4730 not essential. Reported by Magnus Therning. 4731 * tests/torture.at (autoreconf.): New banner. 4732 (autoreconf and non-AC configure): Rename to `Non-Autoconf 4733 AC_CONFIG_SUBDIRS'. 4734 (autoreconf an empty directory): Rename to `Empty directory'. 4735 (Unusual Automake input files): New test. 4736 47372004-12-30 Noah Misch <noah@cs.caltech.edu> 4738 4739 * lib/autotest/general.m4 (AT_CAPTURE_FILE): New macro. 4740 (AT_SETUP): Clear AT_capture_files. 4741 (_AT_CHECK): On failure, log each of AT_capture_files. Fix comment. 4742 (AT_KEYWORDS): Fix comment typo. 4743 * tests/autotest.at (AT_CHECK_AT): Use AT_CAPTURE_FILE. 4744 * tests/local.at (AT_CHECK_CONFIGURE): Use AT_CAPTURE_FILE. 4745 * doc/autoconf.texi (Writing testsuite.at): Document AT_CAPTURE_FILE. 4746 47472004-12-29 Albert Chin-A-Young <china@thewrittenword.com> 4748 4749 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): 4750 If the variable to set is already set, set ac_cv_path_$1 4751 to the preset value so caller can assume ac_cv_path_$1 4752 is available. (trivial change) 4753 47542004-12-27 Noah Misch <noah@cs.caltech.edu> 4755 4756 * BUGS (Minor Problems): Warn about makefile limitations. 4757 * Makefile.am: Find and update `INSTALL' in $(srcdir). 4758 * man/Makefile.am: Find and update manual pages in $(srcdir). 4759 47602004-12-24 Eric Blake <ebb9@byu.net> 4761 4762 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Test candidate 4763 shells in subshell, to avoid noise from ash. (trivial change) 4764 47652004-12-22 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> 4766 4767 * doc/autoconf.texi (Limitations of Builtins) <case>: Mention 4768 problems with SunOS ksh and backslash escaping, Bourne shells and 4769 closing brackets (both within character classes). Bug reported 4770 against Libtool by Alexander Kurz <alexander.kurz@qsc.de>. 4771 <read>: New entry. Mention non-availability of -r. 4772 47732004-12-21 Akim Demaille <akim@epita.fr> 4774 4775 * lib/autotest/general.m4 (AT_LINE): Don't add srcdir here, to 4776 avoid cluttering displayed messages. Rather, prepend srcdir where 4777 AT_LINE is used for log files. 4778 47792004-12-21 Stepan Kasal <kasal@ucw.cz> 4780 4781 * lib/autoconf/status.m4: Quote ``$tmp'' in many places. 4782 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Fix the comment, as traps are 4783 no longer part of the macro, quote the occurrence of ``$tmp''. 4784 * doc/autoconf.texi (Forbidden Patterns): Typo. 4785 47862004-12-21 Akim Demaille <akim@epita.fr> 4787 4788 * lib/autotest/general.m4 (AT_INIT): Make sure the "ok" etc. are 4789 separated from the test title by forcing a white space. 4790 47912004-12-21 Akim Demaille <akim@epita.fr> 4792 4793 Enable Emacs navigation within testsuite.log files. 4794 4795 * lib/autotest/general.m4 (AT_CLEANUP): Add an hint for Emacs to 4796 use the compilation mode. 4797 (AT_LINE): Point to the srcdir. 4798 47992004-12-19 Noah Misch <noah@cs.caltech.edu> 4800 4801 * tests/Makefile.am (installcheck-local): Use $(bindir). 4802 (check-local, installcheck-local): Pass TESTSUITEFLAGS. 4803 * doc/autoconf.texi (Making testsuite Scripts): Recommend the same 4804 Makefile.am scheme Autoconf now uses. 4805 48062004-12-18 Noah Misch <noah@cs.caltech.edu> 4807 4808 * lib/m4sugar/m4sugar.m4 (m4_qlen, m4_qdelta): New macros. 4809 * lib/autotest/general.m4 (AT_SETUP): Use m4_qdelta. 4810 48112004-12-18 Noah Misch <noah@cs.caltech.edu> 4812 4813 * lib/autotest/general.m4 (_AT_DECIDE_TRACEABLE): New macro. 4814 (_AT_CHECK): Use it. 4815 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): Remove. 4816 (AS_ESCAPE): Fix comment. 4817 * tests/autotest.at: Adjust section banner comments. 4818 (AT_CHECK_AT): Accept STATUS and STDERR. 4819 (AT_CHECK_AT_TEST): Likewise. 4820 (Invalid brace-enclosed parameter expansion) 4821 (Multiline command from M4 expansion) 4822 (Double-M4-quoted command): New tests. 4823 48242004-12-17 Paul Eggert <eggert@cs.ucla.edu> 4825 4826 * doc/autoconf.texi: Update GNU FDL version from 1.1 to 1.2. 4827 48282004-12-17 Akim Demaille <akim@epita.fr> 4829 4830 * lib/autoconf/general.m4 (AC_SUBST, AC_SUBST_FILES): Pass $1 to 4831 m4_pattern_allow. 4832 Suggested by Alexandre Duret-Lutz. 4833 * doc/autoconf.texi (Setting Output Variables): Catch up. 4834 48352004-12-17 Stepan Kasal <kasal@ucw.cz> 4836 4837 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix comment. 4838 48392004-12-17 Stepan Kasal <kasal@ucw.cz> 4840 4841 * lib/autoconf/general.m4 (_AC_LIBOBJ): We can use AC_SUBST/2, 4842 remove the comment which said we cannot. 4843 48442004-12-17 Stepan Kasal <kasal@ucw.cz> 4845 4846 Add a specialized check for resolv.h. Thanks to Gerrit P. Haase, 4847 Reini Urban and Paul Eggert for reporting the dependencies. 4848 4849 * lib/autoconf/headers.m4 (AC_HEADER_RESOLV): New macro. 4850 * doc/autoconf.texi (AC_HEADER_RESOLV): Document it. 4851 (AC_HEADER_STAT): @cvindex{STAT_MACROS_BROKEN}, not @acindex. 4852 48532004-12-17 Stepan Kasal <kasal@ucw.cz> 4854 4855 * bin/autoscan.in: Open autoscan.log only after ``parse_args''; 4856 so that eg. ``autoscan --help'' doesn't truncate it. 4857 48582004-12-15 Nicolas Joly <njoly@pasteur.fr> 4859 4860 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Remove 4861 generated conftest files. 4862 48632004-12-13 Noah Misch <noah@cs.caltech.edu> 4864 4865 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Do not enable shell 4866 tracing on commands with possibly-escaped newlines. 4867 * doc/autoconf.texi (Writing testsuite.at): Delete documentation of the 4868 discontinued behavior and its implications. 4869 * tests/autotest.at (BS-newline in command, ^BS-newline in command) 4870 (BSx641-newline in command, BS-BS-newline in command) 4871 (BSx640-newline in command, Newline-CODE-BS-newline in command) 4872 (Single-quote-BS-newline in command) 4873 (Single-quote-newline-BS-newline in command): New tests. 4874 48752004-12-13 Stepan Kasal <kasal@ucw.cz> 4876 4877 * lib/m4sugar/m4sh.m4 (AS_EXECUTABLE_P): Use test -f && test -x 4878 on platforms where it works. 4879 (_AS_TEST_PREPARE): Test for ``test -x''. 4880 (_AS_BROKEN_TEST_PREPARE): Nuke. 4881 48822004-12-13 Stepan Kasal <kasal@ucw.cz> 4883 4884 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Move the trap commands ... 4885 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): ... here; 4886 give only 4-letter prefix to AS_TMPDIR, comment fixed. 4887 * lib/autoconf/programs.m4 (_AC_PATH_PROG_FEATURE_CHECK): Don't 4888 create the temporary directory. 4889 (_AC_FEATURE_CHECK_LENGTH): Work in current directory. 4890 48912004-12-12 Kelley Cook <kcook@gcc.gnu.org> 4892 4893 * bin/autoheader.in: Exit if no AC_CONFIG_HEADERS was found. 4894 (trivial change) 4895 48962004-12-12 Alexandre Duret-Lutz <adl@gnu.org> 4897 4898 * doc/autoconf.texi (Limitations of Usual Tools) <expr (:)>: Typo. 4899 49002004-12-11 Noah Misch <noah@cs.caltech.edu> 4901 4902 * lib/autotest/general.m4 (_AT_CHECK) [--trace]: Rework a shell pattern 4903 to avoid using a negated character class. Reported by Nicolas Joly. 4904 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Check for similar constructs. 4905 49062004-12-10 Paul Eggert <eggert@cs.ucla.edu> 4907 4908 * man/Makefile.am (autoconf.1, autoheader.1, autom4te.1, autoreconf.1, 4909 autoscan.1, autoupdate.1, ifnames.1, config.guess.1, config.sub.1): 4910 Don't depend on .x file explicitly, since "make" does that for us. 4911 Suggested by Stepan Kasal. 4912 4913 * bin/Makefile.am (MOSTLYCLEANFILES): Renamed from CLEANFILES. 4914 Add *.tmp. 4915 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate, 4916 ifnames): Factor common code. And they said it couldn't be done! 4917 49182004-12-09 Paul Eggert <eggert@cs.ucla.edu> 4919 4920 * bin/.cvsignore: Add autoconf.in. 4921 * tests/.cvsignore: Add wrapper.in. 4922 * lib/autotest/general.m4: Escape '$' in case pattern. 4923 49242004-12-09 Noah Misch <noah@cs.caltech.edu> 4925 4926 * man/Makefile.am (autoconf.1): Regenerate when `autoconf.as' changes. 4927 4928 * lib/autotest/general.m4 [--trace] (AT_INIT): Do not `set -v'. 4929 4930 * tests/autotest.at: New file. 4931 * tests/suite.at: Include it. 4932 * tests/Makefile.am: Distribute it. 4933 4934 * lib/autotest/general.m4 [--trace] (_AT_CHECK): Do not enable 4935 shell tracing on a command that could contain multiple lines. 4936 * doc/autoconf.text: Document that fact and its implications. 4937 * lib/m4sugar/m4sh.m4 (AS_ESCAPE_FOR_EXPAND): New macro. 4938 * tests/autotest.at (Multiline backquote command substitution, 4939 Multiline parameter expansion, Literal multiline command, 4940 Multiline parenthetical command substitution): Remove XFAIL. 4941 49422004-12-09 Paul Eggert <eggert@cs.ucla.edu> 4943 4944 * doc/autoconf.texi (Libraries): Clarify problems with AC_CHECK_LIB 4945 and suggest AC_SEARCH_LIBS. Suggested by Noah Misch and Stepan Kasal. 4946 49472004-12-08 Noah Misch <noah@cs.caltech.edu> 4948 4949 * configure.ac (test suite): Cease to generate wrapper scripts. 4950 * configure: Regenerate. 4951 * lib/freeze.mk (MY_AUTOM4TE): Wrap the uninstalled autom4te directly. 4952 (m4f_dependencies): Adjust accordingly. 4953 * tests/Makefile.am (Wrappers): Generate wrapper scripts. 4954 (wrapper.in): Generate it in the build directory. 4955 (MAINTAINERCLEANFILES): Delete wrapper.in. 4956 (CLEANFILES): Add wrapper.in. 4957 * tests/wrapper.as: Move AS_INIT to very top, preserving copyright in 4958 the output. Replace each $as_me with a @wrap_program@. 4959 * tests/wrapper.in: Delete it; we always build it. 4960 4961 * bin/Makefile.am (autoconf.in): Generate it in the build directory. 4962 (EXTRA_DIST): Remove autoconf.in. 4963 (CLEANFILES): Add autoconf.in. 4964 (autoconf): Find autoconf.in in the build directory. 4965 * bin/autoconf.in: Delete it; we always build it. 4966 49672004-12-08 Noah Misch <noah@cs.caltech.edu> 4968 4969 * lib/autotest/general.m4 (AT_INIT): Replace a `tr' with a `sed'. Join 4970 PATH members so as to not prepend an empty element. Move a comment. 4971 * Makefile.am (SUBDIRS): Build in `tests' last. 4972 * tests/Makefile.am (installcheck-local): Add check-local dependencies. 4973 49742004-12-08 Paul Eggert <eggert@cs.ucla.edu> 4975 4976 * lib/mdate-sh: Don't use "set - x`$ls_command /`", as zsh mishandles 4977 the spaces inside $ls_command. Problem reported by Loulou Pouchet in 4978 <http://lists.gnu.org/archive/html/autoconf/2004-12/msg00074.html>. 4979 Don't use "set - x"; plain "set x" is enough, and simplifies debugging. 4980 49812004-12-07 Stepan Kasal <kasal@ucw.cz> 4982 4983 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Fix typo in previous 4984 patch: extra "-l"s. 4985 49862004-12-06 Paul Eggert <eggert@cs.ucla.edu> 4987 4988 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Check libc before 4989 looking elsewhere for getmntent. Problem reported by Mark D. Baushke. 4990 * doc/autoconf.texi (Particular Functions): Mention new behavior. 4991 49922004-12-03 Stepan Kasal <kasal@ucw.cz> 4993 4994 * lib/autoconf/general.m4 (AC_DEFINE, AC_DEFINE_UNQUOTED): Factor 4995 out the common code to ... 4996 (_AC_DEFINE_Q): ... a new macro; simplify the condition about the 4997 value of the #define--default to 1, iff the macro was called 4998 with exactly one parameter. 4999 50002004-12-02 Paul Eggert <eggert@cs.ucla.edu> 5001 5002 * lib/autoconf/functions.m4 (AC_FUNC_MEMCMP): Use 5003 "char c = '\200';" rather than "char c = 0x80;" as the 5004 latter doesn't conform to the strict C standard due to 5005 overflow on signed char hosts. 5006 5007 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Prefer -qlanglvl=extc89 5008 to -qlanglvl=ansi. We don't want to disable extensions. 5009 50102004-11-29 Paul Eggert <eggert@cs.ucla.edu> 5011 5012 * doc/autoconf.texi (Particular Programs): @code{$PATH} -> @env{PATH}. 5013 (Using Autotest, testsuite Scripts, Writing testsuite.at): 5014 Reword slightly to avoid some English-language problems noted 5015 by Ralf Wildenhues in: 5016 http://lists.gnu.org/archive/html/autoconf-patches/2004-11/msg00027.html 5017 50182004-11-29 Stepan Kasal <kasal@ucw.cz> 5019 5020 * NEWS: Add ^L above each release. 5021 50222004-11-28 Paul Eggert <eggert@cs.ucla.edu> 5023 5024 Fix documentation problems reported by Russ Boylan in 5025 <http://lists.gnu.org/archive/html/bug-autoconf/2004-11/msg00056.html>, 5026 along with some nearby cruft. 5027 * doc/autoconf.texi (Libtool): Libtool can be used without 5028 Automake (not without Autoconf). 5029 (Introduction): Mention lists.gnu.org. 5030 * BUGS: Don't mention bugs.gnu.org. 5031 Remove mention of ancient libtool compatibility problem. 5032 * NEWS: Mention that bugs.gnu.org is kaput. 5033 * README: Likewise. Mention where mailing list archives can be found. 5034 50352004-11-28 Stepan Kasal <kasal@ucw.cz> 5036 5037 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): A typo in the comment. 5038 50392004-11-26 Paul Eggert <eggert@cs.ucla.edu> 5040 5041 * doc/autoconf.texi (Pretty Help Strings): Go back to 5042 single-quoting assignments to cache variables. 5043 50442004-11-23 Stepan Kasal <kasal@ucw.cz> 5045 5046 * doc/autoconf.texi (Pretty Help Strings): Fix quoting issues 5047 with the examples; fix the bug in MY_ARG_WITH example reported 5048 by Alexandre Duret-Lutz. 5049 * lib/autoconf/general.m4 (AC_ARG_ENABLE, AC_ARG_ENABLE): Enable 5050 expansion of $1 in the comment emitted to configure. 5051 50522004-11-23 Paul Eggert <eggert@cs.ucla.edu> 5053 5054 * doc/autoconf.texi (Pretty Help Strings): Fix typo 5055 in my editing of the previous patch. Problem reported 5056 by Alexandre Duret-Lutz. 5057 50582004-11-22 Stepan Kasal <kasal@ucw.cz> 5059 5060 * doc/autoconf.texi (Autoconf Language): Explain that 5061 ``descriptions'' may not be double quotes. 5062 (Quotation Rule Of Thumb): Likewise. 5063 (Pretty Help Strings): Likewise; remove the wrong comment; 5064 simplify the examples and improve their quoting. 5065 50662004-11-13 Stepan Kasal <kasal@ucw.cz> 5067 5068 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't check 5069 the $1_found variable, don't test whether the file is executable; 5070 Both things are checked ... 5071 (_AC_PATH_PROG_FEATURE_CHECK): ... here; AS_EXECUTABLE_P replaces 5072 the former ``test -f''. 5073 * lib/m4sugar/m4sh.m4 (_AS_TEST_PREPARE): Fix a typo. 5074 50752004-11-10 Paul Eggert <eggert@cs.ucla.edu> 5076 5077 * doc/autoconf.texi (Limitations of Usual Tools): Avoid cp -r; 5078 use cp -R instead. 5079 50802004-11-10 Derek R. Price <derek@ximbiot.com> 5081 5082 * doc/autoconf.texi (Limitations of Usual Tools): Note `cp -r' 5083 limitations. Reorder paragraphs for clarity. 5084 50852004-10-11 Paul Eggert <eggert@cs.ucla.edu> 5086 5087 * doc/autoconf.texi: Standardize spelling of "Posix" (as opposed 5088 to "POSIX" or "@acronym{POSIX}"), and similarly for "DOS 5089 variants", "Unix", and some related minor wording fixups. 5090 5091 (Shellology, Special Shell Variables): Document that the Zsh 5092 problem with NULLCMD was fixed in zsh 3.1.6-dev-18. Thanks 5093 to Alexandre Duret-Lutz for this info. 5094 50952004-10-10 Alexandre Duret-Lutz <adl@gnu.org> 5096 5097 * doc/autoconf.texi (One-Shot Macros): New node. 5098 50992004-09-28 Paul Eggert <eggert@cs.ucla.edu> 5100 5101 * doc/autoconf.texi (Function Portability): Fix misdescription 5102 of putenv. Problem reported by Michael Wardle. 5103 51042004-09-22 Paul Eggert <eggert@cs.ucla.edu> 5105 5106 * doc/autoconf.texi (auindex): New macro. 5107 (AU_DEFUN): Use it to fix the bug when the index contained AC_AU_DEFUN. 5108 Problem reported by Stepan Kasal. 5109 51102004-09-05 Paul Eggert <eggert@cs.ucla.edu> 5111 5112 Fix problems reported by Andreas Buening in: 5113 http://lists.gnu.org/archive/html/autoconf-patches/2004-04/msg00004.html 5114 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Set SHELL=/bin/sh 5115 in test makefile. 5116 * lib/autotest/general.m4 (AT_INIT): Don't assume /dev/null is 5117 readable; it's not true in OS/2-emx. 5118 51192004-09-04 Paul Eggert <eggert@cs.ucla.edu> 5120 5121 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): If xmkmf returns 5122 "/usr/include", clear ac_x_includes instead of leaving it as "no" 5123 (trivial change). Problem and patch reported by Andrew Church in: 5124 http://lists.gnu.org/archive/html/bug-autoconf/2004-04/msg00016.html 5125 51262004-09-03 Paul Eggert <eggert@cs.ucla.edu> 5127 5128 * doc/autoconf.texi: Give AC_DEFINE and AC_DEFINE_UNQUOTED 5129 three args in examples. Problem reported by Frederik Fouvry in: 5130 http://lists.gnu.org/archive/html/bug-autoconf/2004-09/msg00017.html 5131 Also, fix some minor spacing and punctuation bugs. 5132 51332004-09-02 Akim Demaille <akim@epita.fr> 5134 5135 * doc/autoconf.texi (Limitations of Builtins): Swap "cd" and 5136 "case" to restore ordering. 5137 Reported by Stepan Kasal. 5138 51392004-08-26 Akim Demaille <akim@epita.fr> 5140 5141 * doc/autoconf.texi: Minor typos and stylos. 5142 51432004-08-20 Paul Eggert <eggert@cs.ucla.edu> 5144 5145 * configure.ac (AC_INIT): Bump to 2.59c. 5146 51472004-08-20 Paul Eggert <eggert@cs.ucla.edu> 5148 5149 Version 2.59b. 5150 5151 * README: Add advice about m4 1.4.2. 5152 5153 * Makefile.cfg (wget_files): Remove config.guess, config.sub, 5154 texinfo.tex for now (done by hand now). 5155 * Makefile.maint (wget_files, cvs_files): 5156 Remove ansi2knr.c; nobody uses it. 5157 (ansi2knr.c-url_prefix): Remove. 5158 (cvs-update): Fix test for failure. I don't know why it ever 5159 worked... 5160 5161 * doc/autoconf.texi: Update URLs, some of which went stale. 5162 Use @uref rather than @href. 5163 5164 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Have configure 5165 handle "--" as per POSIX. Suggested by Paul Pogonyshev. 5166 5167 * config/config.guess, config/config.sub, config/elisp-comp, 5168 config/install-sh, config/mkinstalldirs, config/texinfo.tex, 5169 doc/fdl.texi, doc/standards.texi: Sync with master copy. 5170 5171 * NEWS, TODO, configure.ac, bin/autoscan.in, 5172 bin/autoupdate.in, bin/ifnames.in, doc/autoconf.texi, 5173 doc/install.texi, lib/Autom4te/Configure_ac.pm, 5174 lib/Autom4te/FileUtils.pm, lib/autoconf/general.m4, 5175 lib/autoconf/programs.m4, lib/autoconf/status.m4, 5176 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, 5177 lib/m4sugar/m4sugar.m4, tests/local.at, tests/m4sh.at, 5178 tests/tools.at, tests/torture.at: 5179 Use "file name" rather than "filename" or "path", 5180 to be consistent with the terminology of the GNU coding standards. 5181 51822004-08-19 Paul Eggert <eggert@cs.ucla.edu> 5183 5184 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C), 5185 AC_C_LONG_DOUBLE): Undo 2004-06-04 change, as it didn't work with 5186 HP-UX 11.23 cc/aCC or Tru64 4.0 cc. Problem reported by Noah Misch in 5187 <http://lists.gnu.org/archive/html/autoconf/2004-07/msg00004.html>. 5188 5189 More fixes to support spaces in the name of the build directory. 5190 This isn't a complete fix but it's an improvement. 5191 5192 * bin/autoconf.as (autom4te_options): New var. 5193 Use it instead of appending to AUTOM4TE, so that we can allow 5194 spaces in the build directory's absolute name. 5195 * bin/autoheader.in ($autoconf): Allow spaces in file names. 5196 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP, _AT_CHECK, 5197 AT_CHECK_NOESCAPE): Likewise. 5198 * tests/wrapper.as (testdir, AUTOM4TE_CFG, autom4te_perllibdir, 5199 main program): Likewise. 5200 52012004-08-18 Paul Eggert <eggert@cs.ucla.edu> 5202 5203 * lib/autoconf/general.m4 (_AC_INIT_HELP): Quote $ac_popdir uses. 5204 From Ralf Corsepius in: 5205 http://lists.gnu.org/archive/html/autoconf-patches/2004-08/msg00014.html 5206 52072004-08-12 Paul Eggert <eggert@cs.ucla.edu> 5208 5209 * doc/autoconf.texi (Function Portability): Document isinf and 5210 and isnan. From a suggestion by Kevin Ryde. 5211 5212 * lib/Autom4te/General.pm (END): Return correct exit status even 5213 if unlink succeeds and sets $?. Needed with Solaris 8's perl 5.00503. 5214 52152004-08-09 Paul Eggert <eggert@cs.ucla.edu> 5216 5217 * tests/torture.at (Deep Package): Use configure.in, not configure.ac, 5218 for compatibility with Automake 1.4. Reported by J C Fitzgerald in 5219 <http://lists.gnu.org/archive/html/bug-autoconf/2003-08/msg00051.html>. 5220 52212004-08-04 Alexandre Duret-Lutz <adl@gnu.org> 5222 5223 * lib/autoconf/general.m4 (AC_REQUIRE_AUX_FILE): New empty macro. 5224 (AC_CANONICAL_BUILD): Call it to require config.sub and config.guess. 5225 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Likewise for install-sh. 5226 * doc/autoconf.texi (Input): Document AC_REQUIRE_AUX_FILE. 5227 * lib/autom4te.in (Automake-preselections): Preselect 5228 AC_REQUIRE_AUX_FILE. Automake 1.10 will trace it. 5229 52302004-08-02 Alexandre Duret-Lutz <adl@gnu.org> 5231 5232 * lib/autom4te.in (Automake-preselections): Preselect 5233 AC_CANONICAL_BUILD and AC_CANONICAL_TARGET. Automake 1.9.1 will 5234 trace them. 5235 52362004-07-29 Paul Eggert <eggert@cs.ucla.edu> 5237 5238 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Set BIN_SH, for 5239 Tru64. 5240 * doc/autoconf.texi (Shellology): Mention BIN_SH. 5241 Document problem with "`""`" in pdksh POSIX mode. 5242 52432004-07-27 Paul Eggert <eggert@cs.ucla.edu> 5244 5245 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): Use "set -o posix" 5246 with pdksh, too. Problem reported by Patrick Welche via 5247 Gary V. Vaughan. 5248 * doc/autoconf.texi (Shellology): Note that set -o posix is 5249 useful for pkdsh, too. 5250 52512004-06-24 Paul Eggert <eggert@cs.ucla.edu> 5252 5253 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Require 5254 _AS_UNSET_PREPARE, so that we can use $as_unset directly. 5255 Don't fail if ENV or BASH_ENV is readonly. 5256 (AS_SHELL_SANITIZE): Don't fail if ENV, MAIL, MAILPATH, LC_ALL, 5257 etc. are read only. Problem reported by Ludovic Courtes. 5258 52592004-06-23 Noah Misch <noah@cs.caltech.edu> 5260 5261 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): If the shell is 5262 zsh, disable GLOB_SUBST to avoid backslash handling problems. 5263 (trivial change) 5264 52652004-06-04 Paul Eggert <eggert@cs.ucla.edu> 5266 5267 * doc/autoconf.texi (File System Conventions): Warn about 5268 names like "aux". Problem reported by Eric Blake. 5269 5270 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY (C)): Use division 5271 by zero instead of array size, so that we can use any arithmetic 5272 constant expression (instead of requiring an integer constant 5273 expression). This allows us to test expressions like DBL_MAX < 5274 LDBL_MAX, which didn't conform to the C standard using the old 5275 method. 5276 (AC_C_LONG_DOUBLE): Put back in the tests for LDBL_MAX and LDBL_EPSILON, 5277 now that we can do floating-point tests at compile time. 5278 52792004-06-02 Paul Eggert <eggert@cs.ucla.edu> 5280 5281 * lib/autoconf/c.m4 (AC_C_LONG_DOUBLE): Don't check LDBL_MAX 5282 and LDBL_EPSILON, as the resulting expression isn't an 5283 integer constant expression and violates the C standard. 5284 Problem reported by Nelson H. F. Beebe. Also, check 5285 for "L" suffix, and check that long double doesn't have 5286 worse range or precision than double, that mixed-mode 5287 arithmetic doesn't generate a diagnostic, that double 5288 constants fit in long double. 5289 52902004-06-03 Kevin Ryde <user42@zip.com.au> 5291 5292 * doc/autoconf.texi (Function Portability): Add notes on free(NULL), 5293 malloc(0) and realloc(NULL,size). 5294 5295 * doc/autoconf.texi (Shell Substitutions): Spelling error reported by 5296 Bob Proulx. 5297 52982004-05-31 Paul Eggert <eggert@cs.ucla.edu> 5299 5300 * lib/autoconf/headers.m4 (HAVE_STDBOOL_H): Detect _Bool bug 5301 in HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. Problem reported 5302 by Jim Meyering. 5303 53042004-05-26 Paul Eggert <eggert@cs.ucla.edu> 5305 5306 * doc/autoconf.texi (Limitations of Builtins): Mention that ! COMMAND 5307 can be rewritten using if-then-else. Suggested by Bruno Haible. 5308 53092004-05-25 Paul Eggert <eggert@cs.ucla.edu> 5310 5311 * doc/autoconf.texi (testsuite Scripts): Fix typo. 5312 Problem reported by Stepan Kasal. 5313 53142004-05-24 Paul Eggert <eggert@cs.ucla.edu> 5315 5316 * tests/Makefile.am (autoconfdir): Fix to match comment (trivial 5317 change). Patch reported by Ralf Wildenhues in 5318 <http://mail.gnu.org/archive/html/bug-autoconf/2004-05/msg00092.html>. 5319 5320 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): Don't assume that a 5321 function F exists if the compiler and linker let you compile an 5322 expression like (F != 0). Recent versions of GCC optimize away 5323 the reference to F in that case, since every function address must 5324 be nonzero, so the link succeeds even if F does not exist. 5325 Problem reported by Manu in 5326 <http://mail.gnu.org/archive/html/bug-gnu-utils/2004-05/msg00060.html>. 5327 5328 * doc/autoconf.texi (Systemology): Standardize on the spelling of 5329 "Unix". Many uses changed. 5330 (Limitations of Builtins): Explain better why the ! command isn't 5331 portable. 5332 53332004-05-22 Alexandre Duret-Lutz <adl@gnu.org> 5334 5335 * lib/autom4te.in (Automake-preselections): Preselect 5336 LT_SUPPORTED_TAG in lieu of AC_LIBTOOL_TAGS. 5337 53382004-05-19 Kevin Ryde <user42@zip.com.au> 5339 5340 * doc/autoconf.texi (Function Portability): Add strerror_r, cross 5341 referencing AC_FUNC_STRERROR_R. 5342 5343 * doc/autoconf.texi (Particular Functions): In AC_FUNC_CLOSEDIR_VOID, 5344 note pessimistic assumption when cross compiling. 5345 53462004-05-16 Paul Eggert <eggert@cs.ucla.edu> 5347 5348 * doc/autoconf.texi (Limitations of Make): Note that BSD make 5349 (until 2004) invoked subcommands with sh -e, contra POSIX. 5350 Reported by Kevin Ryde. 5351 53522004-05-10 Eric Sunshine <sunshine@sunshineco.com> 5353 5354 * programs.m4 (_AC_PROG_GREP): Fixed bug where PATH argument handed to 5355 _AC_PATH_PROG_FEATURE_CHECK contained leading whitespace (i.e. 5356 " $PATH:/usr/xpg4/bin"). This resulted in bogus tests, such as 5357 `test -f " /usr/bin/grep"', which _always_ failed. 5358 (AC_PROG_SED): Ditto bogus PATH fix. 5359 * autoconf.texi (AC_PROG_GREP): Properly document that this macro 5360 requires that grep correctly supports _multiple_ `-e' options, rather 5361 than stating only that grep should accept `-e'. 5362 53632004-05-03 Paul Eggert <eggert@cs.ucla.edu> 5364 5365 Port to C99, which requires that 'exit' be declared. 5366 5367 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Use AC_INCLUDES_DEFAULT 5368 to ensure that stdlib.h is included. 5369 * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA, AC_FUNC_SETPGRP, 5370 AC_FUNC_STRTOD, AC_FUNC_SETVBUF_REVERSED, AC_FUNC_FORK, _AC_FUNC_FORK, 5371 _AC_FUNC_VFORK, AC_FUNC_WAIT3): Likewise. 5372 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise. 5373 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS): Likewise. 5374 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Include <stdlib.h> 5375 when using 'exit' in a test; C99 requires that 'exit' be declared. 5376 53772004-05-02 Paul Eggert <eggert@cs.ucla.edu> 5378 5379 * doc/autoconf.texi (Particular Programs): AC_PROG_GREP 5380 now prefers 'grep' implementations that accept -e. 5381 (Limitations of Usual Tools): Describe problems of traditional 5382 egrep and fgrep with long input lines, and of traditional grep 5383 with -e. 5384 * lib/autoconf/programs.m4 (AC_PROG_GREP): Check for -e, too. 5385 (_AC_PROG_GREP): Assume 3rd arg is properly quoted for the shell. 5386 All callers changed. Append /usr/xpg4/bin to the PATH, for 5387 Solaris. 5388 (_AC_FEATURE_CHECK_LENGTH): Discard stderr, so we don't bother 5389 the user with complaints about multiple -e options. 5390 * tests/local.at (AC_STATE_SAVE): Use $GREP, not grep. 5391 Define it with AC_PROG_GREP. 5392 * configure.ac (AC_PROG_GREP): Add. 5393 * lib/freeze.mk (GREP): New macro. 5394 53952004-05-02 Eric Sunshine <sunshine@sunshineco.com> 5396 5397 * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Consult $SHELL as 5398 a possible candidate only after all others fail, rather than 5399 consulting it first. This improves backward compatibility by 5400 better reflecting the way shell selection occurred in previous 5401 versions of Autoconf, and should help to avoid triggering latent 5402 problems in other packages, such as the one in Automake where zsh 5403 is not handled robustly: 5404 http://mail.gnu.org/archive/html/automake/2004-04/msg00095.html 5405 Although it is not Autoconf's responsibility to work around 5406 problems in Automake, it nevertheless makes sense to avoid 5407 introducing unnecessary incompatibilites. 5408 54092004-04-22 Albert Chin-A-Young <china@thewrittenword.com>, 5410 Gary V. Vaughan <gary@gnu.org> 5411 5412 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Don't guess 5413 how deeply nested we are when a suitable tool is found, set the 5414 ac_path_TOOL_found flag. 5415 (_AC_PATH_PROG_FEATURE_CHECK): Encapsulate knowledge of how deeply 5416 nested we are in this macro. Break out of all 3 nested loops if 5417 ac_path_TOOL_found is set. 5418 54192004-04-21 Gary V. Vaughan <gary@gnu.org> 5420 5421 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Break out 5422 of the _AS_PATH_WALK loop too if GNU flavor is found. 5423 54242004-04-21 Alexandre Duret-Lutz <adl@gnu.org> 5425 5426 * doc/autoconf.texi (Limitations of Make): Update documentation 5427 for `$<'. New entry `Long lines', based on a report from Simon 5428 Josefsson. Augment the documentation for SHELL = @SHELL@ with a 5429 paragraph about DJGPP, based on a mail from Richard Dawe. 5430 54312004-04-20 Paul Eggert <eggert@twinsun.com> 5432 5433 * tests/c.at (C keywords): Don't assume that GCC supports 5434 "restrict" and "inline", as sufficiently-old GCC versions do not 5435 (also, GCC configured to be in pedantic C89 mode does not). 5436 Problem reported by Sumit Pandya in: 5437 http://mail.gnu.org/archive/html/autoconf/2004-04/msg00092.html 5438 5439 * lib/autoconf/c.m4 (_AC_PROG_CC_G, _AC_PROG_CXX_G): Don't 5440 consider -g to work if it generates warnings when plain compiles 5441 don't. Problem reported by Braden McDaniel in: 5442 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00014.html 5443 5444 * doc/autoconf.texi (Slashes): New section, to document a problem 5445 reported by Jim Meyering in: 5446 http://mail.gnu.org/archive/html/bug-coreutils/2004-02/msg00060.html 5447 5448 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Remove potential 5449 linker output files before linking, to work around IRIX 6 linker bug. 5450 Problem reported by Rainer Orth in: 5451 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00007.html 5452 54532004-04-20 Gary V. Vaughan <gary@gnu.org> 5454 5455 * lib/autoconf/programs.m4 (_AC_FEATURE_CHECK_LENGTH): Make the 5456 best tool so far counter rely on the tool path variable name to 5457 avoid checks for one tool being affected by the results of running 5458 the length check on a previous tool. 5459 5460 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Take an additional 5461 match expression argument, as different greps have different 5462 regular expression flavours. 5463 (AC_PROG_FGREP): Pass 'FGREP'. fgrep treats all match chars as 5464 literals. 5465 (AC_PROG_EGREP): Pass 'EGREP$'. 5466 (AC_PROG_GREP): Pass 'GREP$'. 5467 54682004-04-20 Albert Chin-A-Young <china@thewrittenword.com> 5469 5470 * lib/autoconf/programs.m4 (AC_PROG_GREP): Cache variable 5471 is `ac_cv_path_GREP', not `oc_cv_path_GREP'. 5472 54732004-03-29 Paul Eggert <eggert@twinsun.com> 5474 5475 * doc/autoconf.texi (Particular Headers, Particular Types, Generic 5476 Types, Specific Compiler Characteristics, System Services, 5477 Obsolete Macros): Use 'long int', 'short int', 'unsigned int' 5478 etc. consistently instead of 'long', 'short', 'unsigned' etc. 5479 * lib/autoconf/c.m4 (AC_LANG_INT_SAVE(C), AC_C_BIGENDIAN): Likewise. 5480 * lib/autoconf/functions.m4 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES): 5481 Likewise. 5482 * lib/autoconf/headers.m4 (AC_HEADER_SYS_WAIT): Likewise. 5483 * lib/autoconf/types.m4 (AC_TYPE_GETGROUPS, AC_TYPE_SIZE_T, 5484 AC_TYPE_OFF_T): Likewise. 5485 * tests/semantics.at (AC_CHECK_TYPES: backward compatibility): 5486 Likewise. 5487 5488 * tests/foreign.at (Libtool): Create an empty aclocal.m4, to 5489 pacify libtool 1.5.2. Fix quoting problems in sed command. 5490 54912004-03-28 Paul Eggert <eggert@twinsun.com> 5492 5493 * doc/autoconf.texi (Particular Structures): AC_STRUCT_TIMEZONE 5494 now defines HAVE_DECL_TZNAME if it is declared, when 5495 HAVE_STRUCT_TM_TM_ZONE is not defined. 5496 * lib/autoconf/types.m4 (AC_STRUCT_TIMEZONE): Implement this. 5497 Do not assume atoi. Rely on HAVE_DECL_TZNAME when testing 5498 for HAVE_TZNAME. 5499 55002004-03-28 Steven G. Johnson <stevenj@fftw.org> 5501 5502 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Corrected 5503 superfluous backslashing of quotes (") in sed expressions; 5504 thanks to Paul Eggert. 5505 55062004-03-26 Steven G. Johnson <stevenj@alum.mit.edu> 5507 5508 * lib/autoconf/fortran.m4 (_AC_PROG_FC): new name of Intel 5509 Fortran compiler is ifort, also added pghpf; thanks to Nelson 5510 H. F. Beebe for the bug report. 5511 55122004-03-26 Steven G. Johnson <stevenj@fftw.org> 5513 5514 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): fix for 5515 quoted -cmdline argument in Portland Group compiler (bug 5516 reported by Jeffrey J. Barteet). 5517 55182004-03-25 Kevin Ryde <user42@zip.com.au> 5519 5520 * doc/autoconf.texi (Specifying Names): Move cross_compiling ovindex to 5521 (Run Time): ... here, where it's now mentioned. 5522 55232004-03-19 Alexandre Duret-Lutz <adl@gnu.org> 5524 5525 * doc/autoconf.texi (autom4te Invocation): Language Autoconf 5526 inherits from language Autoconf-without-aclocal-m4. 5527 (Customizing autom4te): Adjust example; the cache must now be 5528 disabled for language Autoconf-without-aclocal-m4. 5529 55302004-03-16 Paolo Bonzini <bonzini@gnu.org> 5531 Nathanael Nerode <neroden@twcny.rr.com> 5532 5533 * lib/autoconf/programs.m4 (AC_PATH_TOOL, AC_CHECK_TOOL, 5534 AC_CHECK_TOOLS): Warn if a cross-tool is found without 5535 a prefix. 5536 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL, 5537 AC_CHECK_TARGET_TOOLS): New macros. 5538 * doc/autoconf.texi (Generic Programs): Document 5539 (AC_PATH_TARGET_TOOL, AC_CHECK_TARGET_TOOL, 5540 AC_CHECK_TARGET_TOOLS, and warn for future changes 5541 in the behavior of AC_PATH_TOOL, AC_CHECK_TOOL and 5542 AC_CHECK_TOOLS. 5543 (Specifying Names): Document the reason for these future 5544 behavioral changes. 5545 * tests/mktests.sh: Do not generate tests for the 5546 new macros. 5547 * NEWS: Document these changes. 5548 5549 * doc/autoconf.texi: Avoid macros with unbraced arguments, 5550 they make TeX hang up. 5551 55522004-03-15 Paul Eggert <eggert@bogus.example.com> 5553 5554 * NEWS: New macro AC_CHECK_ALIGNOF. 5555 * doc/autoconf.texi (Generic Compiler Characteristics): Document it. 5556 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use long int rather than 5557 int; avoid "a `$1'" since this isn't grammatical if $1 begins with a 5558 vowel. 5559 (AC_CHECK_ALIGNOF): New macro. 5560 * tests/mktests.sh (ac_exclude_list): Exclude AC_CHECK_ALIGNOF. 5561 * tests/semantics.at (AC_CHECK_ALIGNOF): Add tests similar to 5562 those for sizeof. 5563 55642004-03-03 Paul Eggert <eggert@twinsun.com> 5565 5566 * bin/Makefile.am (edit): Don't use $< in a context where 5567 POSIX doesn't require support for it. Use $@.in instead. 5568 Problem reported by Anthony N. Frasso in 5569 <http://mail.gnu.org/archive/html/autoconf/2004-03/msg00008.html>. 5570 * bin/autoscan.in, bin/autoupdate.in: Add @configure_input@ comment. 5571 55722004-02-23 Gary V. Vaughan <gary@gnu.org> 5573 5574 * bin/autoreconf.in (autoreconf_current_directory): Recognize LT_INIT 5575 from the next generation of Libtool. 5576 * lib/autom4te.in (Autoreconf-preselections): Ditto. 5577 55782004-02-20 Alexandre Duret-Lutz <adl@gnu.org> 5579 5580 * doc/autoconf.texi (Limitations of Usual Tools) <mkdir>: `mkdir -p' 5581 is not always thread-safe. Report from Nathanael Nerode. 5582 55832004-02-18 Paul Eggert <eggert@twinsun.com> 5584 5585 Fix a dependencies problem, stemming from a Autoconf 2.59 build 5586 problem on QNX reported by Stephen Rasku in 5587 <http://mail.gnu.org/archive/html/bug-autoconf/2004-02/msg00066.html>. 5588 5589 * bin/Makefile.am ($(srcdir)/autoconf.in): Depend on 5590 $(m4sh_m4f_dependencies); this removes a FIXME. 5591 * tests/Makefile.am ($(srcdir)/wrapper.in): Likewise. 5592 (MAINTAINERCLEANFILES): Split into pieces, 5593 one per related section. Add $(srcdir)/wrapper.in. 5594 55952004-02-09 Paul Eggert <eggert@twinsun.com> 5596 5597 * doc/autoconf.texi (Setting Output Variables): Emphasize that 5598 AC_SUBST provides no portable way to escape literal newlines. 5599 5600 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Ignore all 5601 flags of the form -lcrt*.o, not just -lcrt[01].o and -lcrtbegin.o. 5602 Darwin uses -lcrt2.o and there's little point to cataloging all 5603 the system variants. Partial fix reported by Andreas Waechter in: 5604 http://mail.gnu.org/archive/html/autoconf-patches/2004-02/msg00006.html 5605 for bug reported by Nelson H. F. Beebe in: 5606 http://mail.gnu.org/archive/html/bug-autoconf/2003-12/msg00090.html 5607 56082004-02-04 Paolo Bonzini <bonzini@gnu.org> 5609 5610 * doc/autoconf.texi (AU_DEFUN): Fix English, 5611 suggested by Paul Eggert. 5612 * lib/autoconf/autoupdate.m4: Correct reference to 5613 acobsolete.m4, suggested by Alexandre Duret-Lutz. 5614 56152004-02-02 Paolo Bonzini <bonzini@gnu.org> 5616 5617 * bin/autoupdate.in: Define __file__ so that warnings 5618 refer to the correct file. 5619 * doc/autoconf.texi (AU_DEFUN): Describe more correctly 5620 the behavior of the third argument. 5621 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Describe more 5622 correctly the behavior of the third argument. Document 5623 what the three macros that AU_DEFUN defines do. Fix 5624 warning message when the third argument includes $0 5625 (reported by Alexandre Duret-Lutz). 5626 56272004-01-30 Paolo Bonzini <bonzini@gnu.org> 5628 Eric Sunshine <sunshine@sunshineco.com> 5629 Paul Eggert <eggert@twinsun.com> 5630 5631 * lib/m4sugar/m4sh.m4 (M4SH-SANITIZE): New diversion. 5632 (AS_INIT): Output shell initialization there. Removed optional 5633 parameter. Expand _AS_SHELL_FN_SPY. 5634 (AS_INIT_WITH_SHELL_FN): Removed. 5635 (_AS_SHELL_FN_SPY): New macro. 5636 (AS_DETECT_REQUIRED, AS_DETECT_SUGGESTED): New 5637 macros. 5638 (AS_SHELL_SANITIZE): Remove loop to find better shell 5639 and documentation for the parameter. 5640 (_AS_DETECT_BETTER_SHELL): Move it here. 5641 (_AS_SHELL_FN_WORK): Remove shell invocation, reformat. 5642 (_AS_RUN): Move it here, support testing with eval. 5643 (AS_REQUIRE_SHELL_FN): Require shell functions when 5644 it is used. 5645 (_AS_LINENO_WORKS): Put around braces, we do not 5646 trigger the bash bug anymore. 5647 * lib/autotest/general.m4: Document M4SH-SANITIZE, do not 5648 use AS_INIT_WITH_SHELL_FN. 5649 * bin/autoconf.in, tests/wrapper.in: Regenerated. 5650 56512004-01-30 Paolo Bonzini <bonzini@gnu.org> 5652 5653 * bin/autoupdate.in: Trace AU_DEFINE instead of AU_DEFUN. 5654 * doc/autoconf.texi: Don't say that the third parameter 5655 is broken. 5656 * lib/autoconf/autoupdate.m4 (AU_DEFINE): New dummy macro. 5657 (AU_DEFUN): Honor the third parameter, create autoupdate 5658 macros with AU_DEFINE. 5659 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, 5660 AC_DIR_HEADER): Use AU_DEFUN's third parameter. 5661 * lib/autoconf/lang.m4 (AC_LANG_SAVE): Likewise. 5662 * lib/autoconf/programs.m4 (AC_RSH): Likewise. 5663 * lib/autoconf/specific.m4 (AC_HAVE_POUNDBANG, 5664 AC_ARG_ARRAY, AC_CYGWIN, AC_EMXOS2, AC_MINGW32, 5665 AC_XENIX_DIR): Likewise. 5666 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS, 5667 AC_STRUCT_ST_BLKSIZE, AC_STRUCT_ST_RDEV): Likewise. 5668 * lib/autoconf/status.m4: Remove FIXME. 5669 * tests/local.at (AT_CHECK_AU_MACRO): Ignore stderr, check 5670 that the macro is not present anymore in the updated 5671 configure.ac. 5672 * tests/tools.at (autoupdate AC_LINK_FILES): Ignore stderr 5673 of autoupdate. 5674 56752004-01-28 Paul Eggert <eggert@twinsun.com> 5676 5677 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Add 2004 to 5678 copyright years. 5679 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Add 1992 thorugh 5680 2003 (except 1997) to the list of copyright years. This undoes 5681 the 2003-05-22 change, which removed the older years from the list. 5682 * lib/autoconf/status.m4 (AC_OUTPUT): Update copyright date to 2004. 5683 56842004-01-27 Gary V. Vaughan <gary@gnu.org> 5685 Albert Chin-A-Young <china@thewrittenword.com> 5686 5687 * lib/autoconf/programs.m4 (AC_PROG_GREP): New macro to test for a 5688 grep or ggrep program in PATH that accepts as long lines as 5689 possible. 5690 * lib/autoconf/programs.m4 (_AC_PROG_GREP): Factor out the core of 5691 AC_PROG_GREP. 5692 (AC_PROG_EGREP, AC_PROG_FGREP): Use it to find best available 5693 egrep and fgrep respectively if $GREP -E/-F don't work. 5694 (_AC_PATH_PROG_FEATURE_CHECK): Factor out the common core of 5695 _AC_PROG_GREP, and AC_PROG_SED. 5696 (_AC_FEATURE_CHECK_LENGTH): New helper macro for finding the 5697 longest input length accepted by a command. 5698 (AC_PROG_SED): Use it. 5699 * doc/autoconf.texi (Particular Programs): Document the changes. 5700 * NEWS: Updated. 5701 57022004-01-27 Paul Eggert <eggert@twinsun.com> 5703 5704 * bin/autoconf.as ($version): Update copyright from 2003 to 2004. 5705 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in, 5706 bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in: Likewise. 5707 * lib/autoconf/general.m4 (_AC_INIT_COPYRIGHT): Likewise. 5708 5709 * Makefile.in, aclocal.m4, configure, bin/Makefile.in, 5710 bin/autoconf.in, config/Makefile.in, config/config.guess, 5711 config/config.sub, config/install-sh, config/mdate-sh, 5712 config/mkinstalldirs, config/texinfo.tex, doc/Makefile.in, 5713 lib/Makefile.in, lib/Autom4te/Makefile.in, 5714 lib/autoconf/Makefile.in, lib/autoscan/Makefile.in, 5715 lib/autotest/Makefile.in, lib/emacs/Makefile.in, 5716 lib/m4sugar/Makefile.in, man/Makefile.in, man/autoconf.1, 5717 man/autoheader.1, man/autom4te.1, man/autoreconf.1, 5718 man/autoscan.1, man/autoupdate.1, man/config.guess.1, 5719 man/config.sub.1, man/ifnames.1, tests/Makefile.in, 5720 tests/acc.at, tests/acfortran.at, tests/acfunctions.at, 5721 tests/acgeneral.at, tests/acheaders.at, tests/aclang.at, 5722 tests/aclibs.at, tests/acspecific.at, tests/acstatus.at, 5723 tests/actypes.at: Regenerate and/or sync with original 5724 sources. 5725 57262004-01-26 Paul Eggert <eggert@twinsun.com> 5727 5728 * doc/autoconf.texi (Default Includes): Include <stdint.h> even if 5729 HAVE_INTTYPES_H is defined. This is needed on Tru64 5.1b with 5730 Compac C V6.5-207 (dtk), which defines uintmax_t in <stdint.h> but 5731 not <inttypes.h>. Problem reported by Tim Mooney in 5732 <http://mail.gnu.org/archive/html/bug-coreutils/2004-01/msg00147.html>. 5733 * lib/autoconf/headers.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): 5734 Likewise. 5735 5736 * lib/autoconf/programs.m4 (AC_PROG_SED): Use diff, not sed; 5737 otherwise "make check" fails because it forbids cmp (I guess 5738 because cmp treats files as binary on DOS-like systems). 5739 5740 * tests/mktests.sh: Update copyright date to 2004, since some tests 5741 have changed in 2004. 5742 57432004-01-23 Gary V. Vaughan <gary@gnu.org> 5744 5745 * lib/autoconf/programs.m4 (AC_PROG_SED): New macro to test for a 5746 non-truncating sed or gsed program in PATH. 5747 * tests/acprograms.at: Add it. 5748 * doc/autoconf.texi (Particular Programs): Document it. 5749 * NEWS: Updated. 5750 57512004-01-15 Paul Eggert <eggert@twinsun.com> 5752 5753 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Try -std, not -std1, since 5754 -std1 disables some useful extensions on Tru64. Problem reported 5755 by N. Lichtmaier in 5756 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00100.html>. 5757 57582004-01-14 Paul Eggert <eggert@twinsun.com> 5759 5760 * doc/autoconf.texi (Programming in M4sh): Document that 5761 AS_MKDIR_P succeeds if the destination is a symbolic link 5762 to an existing directory. 5763 (Limitations of Usual Tools): Note that mkdir -p might not 5764 succeed on symlinks to directories. 5765 57662004-01-13 Paul Hilfinger <hilfinger@CS.Berkeley.EDU> 5767 5768 * lib/autoconf/autoupdate.m4 (AU_DEFUN): Grammar fix in comment. 5769 * bin/autoheader.in: Grammar fix in message. 5770 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): 5771 Test for dir before calling mkdir -p. (trivial changes) 5772 57732004-01-13 Eric Blake <ebb9@byu.net> 5774 5775 * doc/autoconf.texi (Obsolete Macros): In AC_TRY_COMPILE and 5776 AC_TRY_LINK, s/AC_LANG_SOURCE/AC_LANG_PROGRAM/. (trivial change) 5777 57782004-01-10 Jim Meyering <jim@meyering.net> 5779 5780 * doc/autoconf.texi (Running the Preprocessor): Correct grammar. 5781 57822004-01-09 Paul Eggert <eggert@twinsun.com> 5783 5784 * lib/autoconf/general.m4: Fix bug: AC_CHECK_SIZEOF evokes a warning 5785 with `autoconf -Wall,error'. Bug reported by Eric Blake in: 5786 http://mail.gnu.org/archive/html/autoconf-patches/2004-01/msg00000.html 5787 (_AC_COMPUTE_INT_COMPILE): Invoke _AC_COMPILE_IFELSE, not 5788 AC_COMPILE_IFELSE, since we now assume our caller invokes 5789 AC_LANG_COMPILER_REQUIRE, for symmetry with _AC_COMPUTE_INT_RUN. 5790 (_AC_COMPUTE_INT_RUN): Likewise, for _AC_RUN_IFELSE instead 5791 of AC_RUN_IFELSE; this avoids the warning mentioned above. 5792 (_AC_COMPUTE_INT): Invoke AC_LANG_COMPILER_REQUIRE. 5793 57942004-01-07 Paul Eggert <eggert@twinsun.com> 5795 5796 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): Avoid \$ inside 5797 `"'...'"`, as it's confusing (and I suspect it may not work on 5798 some platforms). The code was incorrect anyway, as it assumed 5799 that \$ evaluated to itself in that context. Reported by 5800 Alexandre Duret-Lutz. 5801 58022004-01-07 Alexandre Duret-Lutz <adl@gnu.org> 5803 5804 * lib/autom4te.in (Automake-preselections): Preselect AC_LIBTOOL_TAGS 5805 and _LT_AC_TAGCONFIG. 5806 58072004-01-06 Paul Eggert <eggert@twinsun.com> 5808 5809 * doc/autoconf.texi (One Macro Call): Fix an incorrect 5810 example, and add more examples. Reported by Eric Sunshine. 5811 58122004-01-05 Paul Eggert <eggert@twinsun.com> 5813 5814 * doc/autoconf.texi (Limitations of Usual Tools): 5815 Remove warning against "rm -fr" introduced yesterday; it 5816 was a false alarm. 5817 5818 * bin/Makefile.am (autoconf, autoheader, autom4te, autoreconf, 5819 autoscan, autoupdate, ifnames): Don't use chmod -w. 5820 * lib/Makefile.am (autom4te.cfg): Likewise. 5821 * doc/autoconf.texi (Limitations of Usual Tools): Warn against 5822 "chmod -w". 5823 58242004-01-04 Paul Eggert <eggert@twinsun.com> 5825 Paolo Bonzini <bonzini@gnu.org> 5826 5827 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Speed up sed scripts 5828 by doing lineno substitution only on lines containing "$LINENO". 5829 58302004-01-04 Paul Eggert <eggert@twinsun.com> 5831 5832 * lib/autoconf/general.m4 (AC_ARG_PROGRAM): 5833 Use "rm -f" to remove conftest.sed, not plain "rm". 5834 Bug reported by David Relson in 5835 <http://mail.gnu.org/archive/html/autoconf/2004-01/msg00011.html>. 5836 5837 * Makefile.am (autom4te-update): 5838 Replace "rm -rf" and "rm -fr" with "rm -f -r", as POSIX requires. 5839 * Makefile.maint (my-distcheck, do-po-update): Likewise. 5840 * doc/autoconf.texi (Guidelines): Likewise. 5841 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Likewise. 5842 * lib/autoconf/libs.m4 (_AC_PATH_X_XMKMF): Likewise. 5843 * lib/autoconf/specific.m4 (AC_SYS_LONG_FILE_NAMES): Likewise. 5844 * lib/autotest/general.m4 (AT_INIT): Likewise. 5845 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): Likewise. 5846 * tests/Makefile.am (clean-local): Likewise. 5847 * tests/tortue.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS, 5848 srcdir): Likewise. 5849 * doc/autoconf.texi (Limitations of Usual Tools): 5850 Warn against "rm -fr". 5851 58522004-01-03 Paul Eggert <eggert@twinsun.com> 5853 5854 * doc/autoconf.texi (Limitations of Usual Tools): Mention that cc 5855 -c -o might not work. From a suggestion by Kevin Ryde. 5856 (C Compiler, Generating Sources, Limitations 5857 of Usual Tools, Limitations of Make, Making testsuite Scripts): 5858 Don't put '-o' after non-options, as POSIX doesn't allow this. 5859 Mention that cc's name might be gcc or c89 or whatever. 5860 58612004-01-04 Kevin Ryde <user42@zip.com.au> 5862 5863 * doc/autoconf.texi: Add various further index entries. 5864 58652003-12-29 Paul Eggert <eggert@twinsun.com> 5866 5867 * bin/autoreconf.in (autoreconf_current_directory): 5868 Fix typo: mkdir without umask arg. 5869 58702003-12-27 Alexandre Duret-Lutz <adl@gnu.org> 5871 5872 * doc/autoconf.texi (Limitations of Make) <Automatic rule rewriting>: 5873 Documents OSF1/Tru64 make behavior. Replace `VPATH = ../src' by 5874 `VPATH = ../pkg/src' in examples to make the OSF1/Tru64 make 5875 explanation clearer. 5876 58772003-12-24 Andreas Schwab <schwab@suse.de> 5878 5879 * doc/autoconf.texi (Default Includes): Fix misspelling of 5880 AC_INCLUDES_DEFAULT. 5881 58822003-12-03 Paolo Bonzini <bonzini@gnu.org> 5883 5884 * configure.ac: Test if sh -n works. 5885 * configure: Regenerate. 5886 * tests/atlocal.in: Store the result here. 5887 * tests/local.at (AT_CHECK_SHELL_SYNTAX): Extracted from 5888 tools.at, looking in atlocal's ac_cv_sh_n_works instead 5889 of explicitly testing. 5890 (AT_CHECK_PERL_SYNTAX): Moved from tools.at. 5891 (AT_CHECK_AUTOCONF): Test for the configure script syntax. 5892 * tests/tools.at (Syntax of the shell scripts): Simplify 5893 using AT_CHECK_SHELL_SYNTAX. 5894 (Syntax of the Perl scripts): Remove definition of 5895 AT_CHECK_PERL_SYNTAX. 5896 58972003-12-03 Paolo Bonzini <bonzini@gnu.org> 5898 5899 * lib/m4sugar/m4sh.m4 (_AS_SHELL_FN_WORK): Redirect 5900 stderr to /dev/null. 5901 * bin/autoconf.in: Regenerate. 5902 * bin/wrapper.in: Regenerate. 5903 59042003-11-26 Paolo Bonzini <bonzini@gnu.org> 5905 5906 * lib/m4sugar/m4sh.m4 (_AS_BOURNE_COMPATIBLE): 5907 Extracted from AS_SHELL_SANITIZE. 5908 (_AS_SHELL_FN_WORK, AS_INIT_WITH_SHELL_FN): New 5909 macros. 5910 (AS_SHELL_SANITIZE): Move reinvocation code from 5911 _AS_LINENO_WORKS, use it to find out if shell 5912 functions work. 5913 (_AS_LINENO_WORKS): Don't find another shell if $LINENO 5914 does not work. 5915 (AS_INIT): Pass parameter down to AS_SHELL_SANITIZE. 5916 (AS_REQUIRE_SHELL_FN): Test that AS_INIT_WITH_SHELL_FN 5917 was called. 5918 * lib/autotest/general.m4: Use AS_INIT_WITH_SHELL_FN. 5919 * bin/autoconf.in: Regenerate. 5920 * tests/wrapper.in: Regenerate. 5921 * tests/tools.at: Test the syntax of tests/autoconf 5922 and tests/testsuite. 5923 59242003-11-24 Akim Demaille <akim@epita.fr> 5925 5926 * config/announce-gen (&print_locations, &print_signatures) 5927 (&sizes): New. 5928 Use them. 5929 No longer rely on Gnus to inline the list of signatures: compute 5930 them on the fly. 5931 59322003-11-24 Akim Demaille <akim@epita.fr> 5933 5934 * doc/autoconf.texi (Particular Programs): AC_PROG_LEX can 5935 override some files. 5936 (Input): AC_CONFIG_AUX_DIR(aux) is a bad idea on DOS. 5937 From Debian Autoconf 2.58. 5938 59392003-11-24 Akim Demaille <akim@epita.fr> 5940 5941 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): Quote $ac_popdir 5942 uses. 5943 From Debian Autoconf 2.58. 5944 59452003-11-24 Paolo Bonzini <bonzini@gnu.org> 5946 5947 * TODO: Remove already done things. Update the part about finding 5948 tools for the target. 5949 59502003-11-24 Paolo Bonzini <bonzini@gnu.org> 5951 5952 * lib/autoconf/headers.m4 (AC_USG, AC_MEMORY_H, AC_DIR_HEADER): 5953 Make wording more consistent. 5954 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32): 5955 Explain the transition better. 5956 * lib/autoconf/types.m4 (AC_INT_16_BITS, AC_LONG_64_BITS): Explain 5957 the transition better. 5958 59592003-11-24 Paolo Bonzini <bonzini@gnu.org> 5960 5961 * doc/autoconf.texi (Obsoleting Macros): Don't document the third 5962 parameter of AU_DEFUN. 5963 * lib/autoconf/autoupdate.m4 (AU_DEFINE): Remove. 5964 (AU_DEFUN): Remove the third parameter, it was not used. 5965 Use AC_DEFUN directly, not AU_DEFINE. 5966 * lib/autoconf/status.m4 (AC_LINK_FILES): Move the message into 5967 the expanded body, consistently with other macros such as AC_USG. 5968 59692003-11-17 Paul Eggert <eggert@twinsun.com> 5970 5971 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Put at least 14 bytes 5972 into the initial confdefs.h, to work around a bug in NextStep 3.3 5973 patch 3 reported by Eric Sunshine. 5974 59752003-11-15 Kevin Ryde <user42@zip.com.au> 5976 5977 * doc/autoconf.texi (Using System Type): Revise, showing $host rather 5978 than $target since the latter is not usual, add guidelines on when to 5979 use or not use the system type. 5980 59812003-11-12 Derek Price <derek@ximbiot.com> 5982 5983 * doc/autoconf.texi (Limitations of Usual Tools): Fix what looks like a 5984 typo misrepaired by an auto-spellcheck. 5985 59862003-11-12 Akim Demaille <akim@epita.fr> 5987 5988 * bin/autoreconf.in (&parse_args): Don't call automake with 5989 --force-missing unless it actually supports it. 5990 From Debian #219336. 5991 59922003-11-12 Akim Demaille <akim@epita.fr> 5993 5994 * configure.ac: Bump to 2.59a. 5995 Require 2.59. 5996 59972003-11-06 Akim Demaille <akim@epita.fr> 5998 5999 Version 2.59. 6000 60012003-11-05 Alexandre Duret-Lutz <adl@gnu.org> 6002 6003 * lib/autoconf/status.m4 (_AC_SRCPATHS): Fix use of AS_SET_CATFILE 6004 so that ac_abs_builddir, ac_abs_top_builddir, ac_abs_srcdir, 6005 and ac_abs_top_srcdir are absolute paths. 6006 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): Remove misleading comment. 6007 60082003-11-05 Akim Demaille <akim@epita.fr> 6009 6010 * configure.ac: Bump to 2.58a. 6011 60122003-11-05 Kevin Ryde <user42@zip.com.au> 6013 6014 * doc/autoconf.texi (Using Autotest): Avoid @strong{Note: ...}, since 6015 it provokes a warning from makeinfo about looking like a cross 6016 reference in info output. 6017 6018 * doc/autoconf.texi (Function Portability): Add notes on signal 6019 handler return type, as per AC_TYPE_SIGNAL. 6020 60212003-11-04 Akim Demaille <akim@epita.fr> 6022 6023 Version 2.58. 6024 * doc/standards.texi: Update from master. 6025 6026 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FREEFORM. 6027 60282003-11-04 Akim Demaille <akim@epita.fr> 6029 6030 AC_CONFIG_FILE([d1/foo:d2/foo]) triggers error messages when 6031 computing the absolute path to d1 in the source hierarchy: it may 6032 not exist at all. So don't cd into it. 6033 From Alexandre Duret-Lutz. 6034 http://mail.gnu.org/archive/html/bug-autoconf/2003-10/msg00205.html 6035 6036 * lib/m4sugar/m4sh.m4 (AS_SET_CATFILE): New. 6037 From Paul Eggert, but named after Perl's IO::Spec->catfile. 6038 * doc/autoconf.texi (Programming in M4sh): Document. 6039 * lib/autoconf/status.m4 (_AC_SRCPATHS): Use it. 6040 60412003-11-03 Pavel Roskin <proski@gnu.org> 6042 6043 * doc/autoconf.texi (Generic Structure Checks): Describe 6044 action-if-found and action-if-not-found in AC_CHECK_MEMBERS. 6045 60462003-10-31 Akim Demaille <akim@epita.fr> 6047 6048 * tests/fortran.at (GNU Fortran 77): Don't run FC macros. 6049 (GNU Fortran): New. 6050 * doc/autoconf.texi (Language Choice): Document. 6051 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Assert 6052 the current language is Fortran. 6053 60542003-10-31 Akim Demaille <akim@epita.fr> 6055 6056 * bin/autom4te.in (&freeze): Use a less likely warning separator 6057 than `\n\n', so that `\n\n\n' is valid in warnings. 6058 Reported by Steve Huston. 6059 60602003-10-28 Akim Demaille <akim@epita.fr> 6061 6062 * Makefile.cfg (local_updates, executable-update): Tweak to be 6063 robust to parallel makes. 6064 Suggested by Alexandre Duret-Lutz. 6065 60662003-10-27 Akim Demaille <akim@epita.fr> 6067 6068 * Makefile.cfg (executable-update): New. 6069 (local_updates): Call it. 6070 60712003-10-27 Akim Demaille <akim@epita.fr> 6072 6073 * lib/autoconf/general.m4 (_AC_RUN_IFELSE, _AC_INIT_PREPARE): 6074 Don't remove core.* as it may remove valid user files. 6075 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED) 6076 (AC_FUNC_UTIME_NULL): Likewise. 6077 60782003-10-23 Akim Demaille <akim@epita.fr> 6079 6080 Version 2.57g. 6081 * config/config.guess, config/config.sub: Upgrade from masters. 6082 60832003-10-23 Akim Demaille <akim@epita.fr> 6084 6085 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT): Functions using 6086 AC_COMPILE_IFELSE that use break skip the clean up. So do it by 6087 hand... 6088 60892003-10-23 Akim Demaille <akim@epita.fr> 6090 6091 * lib/autoconf/general.m4 (_AC_LINK_IFELSE, _AC_COMPILE_IFELSE): 6092 Don't forget to remove conftest.err. 6093 60942003-10-23 Akim Demaille <akim@epita.fr> 6095 6096 * lib/autoconf/general.m4 (_AC_LIBOBJ): Don't insert twice the 6097 same object file in $LIBOBJS. 6098 Reported by Alexandre Duret-Lutz & Derek Robert Price. 6099 * doc/autoconf.texi (Generic Functions): Adjust. 6100 61012003-10-20 Paul Eggert <eggert@twinsun.com> 6102 6103 * lib/m4sugar/m4sh.m4 (_AS_TR_SH_PREPARE, _AS_TR_CPP_PREPARE): 6104 Use 'eval', so that the resulting configure scripts work even if 6105 the current directory has a weird file name like 'y%s+%pp%;s%@%_%g'. 6106 61072003-10-20 Daniel Jacobowitz <drow@mvista.com> 6108 6109 * lib/autoconf/lang.m4 (AC_LANG_WERROR): New macro. 6110 * lib/autoconf/general.m4 (_AC_COMPILE_IFELSE, _AC_PREPROC_IFELSE) 6111 (_AC_LINK_IFELSE): Check the werror flag. 6112 * doc/autoconf.texi (Generic Compiler Characteristics): Document 6113 AC_LANG_WERROR. 6114 * NEWS: Mention it. 6115 61162003-10-20 Daniel Jacobowitz <drow@mvista.com> 6117 6118 * lib/autoconf/lang.m4 (AC_NO_EXECUTABLES): Override 6119 _AC_COMPILER_EXEEXT to attempt a link. If linking fails, 6120 override AC_LINK_IFELSE. 6121 61222003-10-15 Paul Eggert <eggert@twinsun.com> 6123 6124 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug in 6125 pdksh 5.2.14. Bug reported by Ralf Corsepius. 6126 * doc/autoconf.texi (Shellology): Mention the Korn shell and pdksh. 6127 Mention /usr/dt/bin/dtksh on Solaris. 6128 (Shell Substitutions): Warn about $((...)). 6129 (Parentheses): New section. 6130 61312003-10-15 Kevin Ryde <user42@zip.com.au> 6132 6133 * doc/autoconf.texi (Function Portability): Add @prindex for exit. 6134 Add putenv and unsetenv. Add sysconf _SC_PAGE_SIZE. 6135 61362003-10-13 Nathanael Nerode <neroden@gcc.gnu.org> 6137 6138 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Trivial fix for vfork 6139 cross test. 6140 61412003-10-11 Steven G. Johnson <stevenj@alum.mit.edu> 6142 6143 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Use the new official 6144 name for the GNU Fortran 95+ compiler, 'gfortran', not 'g95'. 6145 61462003-10-10 Andreas Schwab <schwab@suse.de> 6147 6148 * bin/autoheader.in: Avoid empty first line in --version and 6149 --help output. 6150 * bin/ifnames.in: Likewise. 6151 61522003-10-09 Paul Eggert <eggert@twinsun.com> 6153 6154 * lib/Autom4te/XFile.pm: Don't assume -j is solo. 6155 Issue a more-informative diagnostic. 6156 Problems reported by Eric Sunshine. 6157 61582003-10-08 Steven G. Johnson <stevenj@alum.mit.edu> 6159 6160 * lib/autoconf/fortran.m4 (_AC_PROG_FC_V_OUTPUT): Omit quoted 6161 -mGLOB_options_string stuff for Intel ifc, which can cause 6162 _AC_FC_LIBRARY_LDFLAGS to fail. Use (faster) case for 6163 pattern-matching instead of grep. 6164 61652003-10-08 Steven G. Johnson <stevenj@alum.mit.edu> 6166 6167 * doc/autoconf.texi: Document new FC Fortran macros. 6168 61692003-10-08 Gary V. Vaughan <gary@gnu.org> 6170 6171 * lib/autoconf/general.m4 (AC_CONFIG_MACRO_DIR): Stub out a macro 6172 that future autopoint/aclocal/automake/autoreconf will be able 6173 to trace to find where to install local m4 macros. 6174 * doc/autoconf.texi (Input): Document it. 6175 * NEWS: Updated. 6176 61772003-10-06 Gary V. Vaughan <gary@gnu.org> 6178 6179 * lib/autoconf/fortran.m4 (_AC_FC_LIBRARY_LDFLAGS): Add 6180 -lcrtbegin.o to list of ignored flags and fix underquoting of 6181 -lcrt[01].o. 6182 61832003-10-04 Steven G. Johnson <stevenj@ab-initio.mit.edu> 6184 6185 * lib/autoconf/fortran.m4 (_AC_PROG_FC_G): Use language-specific 6186 cache variable instead of $G77 to decide whether to include -O2, 6187 since $G77 is specific to Fortran 77. 6188 61892003-10-03 Steven G. Johnson <stevenj@alum.mit.edu> 6190 6191 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Support Absoft "-f 6192 free" flag. Re-order flags tested into rough order of popularity. 6193 61942003-10-03 Steven G. Johnson <stevenj@alum.mit.edu> 6195 6196 * lib/autoconf/fortran.m4 (AC_PROG_FC): Reverse the order of the 6197 arguments so that it can be used with syntax identical to 6198 AC_PROG_F77, and so that we can more easily decide to 6199 remove/deprecate the DIALECT optional argument in the future if it 6200 proves troublesome. 6201 (AC_FC_FREEFORM): Exit 77 upon failure to fix test suite for 6202 non-freeform-supporting compilers. Document freeform flags. 6203 62042003-10-03 Akim Demaille <akim@epita.fr> 6205 6206 * configure.ac: Look for emacs, not macs. 6207 Reported by Eric Sunshine. 6208 62092003-10-03 Akim Demaille <akim@epita.fr> 6210 6211 * lib/autom4te.in (Autoreconf-preselections): Trace AC_CONFIG_AUX_DIR. 6212 * bin/autoreconf.in (autoreconf_current_directory): Create the 6213 AUX_DIR if needed, for sake of automake --add-missing etc. 6214 Suggested by Alexandre Duret-Lutz. 6215 62162003-10-03 Akim Demaille <akim@epita.fr> 6217 6218 * configure.ac: Quotation and formatting changes. 6219 (EMACS): Don't set it if it is not recent enough to support 6220 autoconf-mode.el. 6221 From Eric Sunshine. 6222 62232003-10-02 Akim Demaille <akim@epita.fr> 6224 6225 * bin/ifnames.in (&scan_file): Skip C++ comments. 6226 From Jeremy Yallop. 6227 62282003-10-01 Pavel Roskin <proski@gnu.org> 6229 6230 * doc/autoconf.texi (Particular Structure Checks): 6231 Fix misspelling of HAVE_STRUCT_STAT_ST_BLOCKS. 6232 62332003-10-01 Akim Demaille <akim@epita.fr> 6234 6235 Version 2.57f. 6236 62372003-09-30 Paul Eggert <eggert@twinsun.com> 6238 6239 * lib/Autom4te/XFile.pm: Use Errno. 6240 (lock): Ignore ENOLCK errors. Problem reported Andreas Schwab in 6241 <http://mail.gnu.org/archive/html/bug-autoconf/2003-09/msg00141.html>. 6242 62432003-09-30 Akim Demaille <akim@epita.fr> 6244 6245 * config/announce-gen (&print_news_deltas): Extracted from... 6246 (&print_changelog_deltas): here. 6247 (&news_file): Rename as... 6248 (@news_file): this. 6249 62502003-09-30 Nicolas Joly <njoly@pasteur.fr> 6251 6252 * lib/autoconf/fortran.m4 (_AC_PROG_FC): Remove files which might 6253 have been created when invoking the compiler. 6254 * tests/fortran.at (GNU Fortran 77): Quote $G77. 6255 62562003-09-29 Akim Demaille <akim@epita.fr> 6257 6258 Version 2.57e. 6259 6260 * config/mkinstalldirs: Upgrade. 6261 62622003-09-28 Paul Eggert <eggert@twinsun.com> 6263 6264 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set DUALCASE=1, for MKS sh. 6265 Problem reported by Lars J. Aas in 6266 <http://mail.gnu.org/archive/html/autoconf/2003-07/msg00042.html>. 6267 (_AS_MKDIR_P_PREPARE): Change "rm -fr ./-p" to the more-conservative 6268 "test -d ./-p && rmdir ./-p". Suggested by Andreas Schwab in: 6269 http://mail.gnu.org/archive/html/autoconf-patches/2003-09/msg00039.html 6270 62712003-09-26 Akim Demaille <akim@epita.fr> 6272 6273 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Make sure the 6274 directory for AC_CONFIG_COMMANDS' first argument exists. 6275 This makes valid the invocation of _AC_SRCPATH that follows. 6276 Reported by Eric Sunshine. 6277 * doc/autoconf.texi (Configuration Commands): Adjust. 6278 62792003-09-26 Akim Demaille <akim@epita.fr> 6280 6281 * bin/autoscan.in (Autom4te::FileUtils): Use it for find_file. 6282 Reported by Ralf Corsepius. 6283 62842003-09-26 Akim Demaille <akim@epita.fr> 6285 6286 * lib/autoconf/general.m4 (AC_HELP_STRING): Don't overquote the 6287 arguments. 6288 Actually, use AU_ALIAS. 6289 From Bruno Haible. 6290 62912003-09-26 Paul Eggert <eggert@twinsun.com> 6292 6293 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): If mkdir -p . fails, 6294 rm -fr ./-p to remove junk left behind on NextStep and OpenStep. 6295 Problem reported by Eric Sunshine in: 6296 http://mail.gnu.org/archive/html/autoconf-patches/2002-12/msg00014.html 6297 62982003-09-26 Akim Demaille <akim@epita.fr> 6299 6300 The test suite are sometimes assigning timings incorrectly. 6301 Reported by Henk Krus. 6302 Diagnosed by Nicolas Joly. 6303 6304 * lib/autotest/general.m4 (AT_CLEANUP): Rename AT_help as 6305 AT_help_all. 6306 Instead of making AT_help a sequence of assignments to grow 6307 $at_help_all, just make AT_help_all be the growing contents of 6308 $at_help_all, and make a single assignment in... 6309 (AT_INIT): here. 6310 (at_times_skip): Flip the meaning and rename as... 6311 (at_times_p): this. 6312 (AT_INIT): When summarizing the test that ran, remove 6313 $at_times_file after use, and check it is present before trying to 6314 use it. 6315 63162003-09-25 Akim Demaille <akim@epita.fr> 6317 6318 Version 2.57d. 6319 6320 * bin/Makefile.am (edit): Handle '@configure_input@'. 6321 (autoconf, autoheader, autom4te, autoreconf, autoscan, autoupdate) 6322 (ifnames): chmod -w. 6323 * tests/wrapper.as (AUTOCONF, AUTOM4TE, ): Point to tests/ 6324 executables, not bin/ executables! Otherwise all the magic needed 6325 to find non installed files is turned off. This caused a failure 6326 of test 40 and 41 that ran aclocal 1.8 which in turn ran autom4te 6327 as found in its environment (sent by tests/autoreconf): pointing 6328 to bin/autom4te that could not find its files. 6329 * tests/mktests.sh: Force the replacement of generated files, for 6330 the sake of "mv" program that are interactive when overwriting a 6331 -w file. 6332 * config/install-sh: Upgrade from CVS Automake. 6333 63342003-09-23 Paul Eggert <eggert@twinsun.com> 6335 6336 * doc/autoconf.texi (Limitations of Builtins): Document test -h 6337 versus test -L issues. 6338 63392003-09-23 Daniel Jacobowitz <drow@mvista.com> and 6340 Paul Eggert <eggert@twinsun.com> 6341 6342 Trivial change to support GCC's configuration procedure. 6343 * lib/autoconf/c.m4 (AC_PROG_CPP_WERROR): New macro. 6344 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Don't warn 6345 about inconsistency if the preprocessor is set to give errors for 6346 any warning. 6347 * doc/autoconf.texi (C Compiler Characteristics): Document this. 6348 63492003-09-13 Alexandre Duret-Lutz <adl@gnu.org> 6350 6351 * Makefile.am (autom4te-update, autom4te_files): Fetch Struct.pm 6352 and XFile.pm from Automake. 6353 * lib/Autom4te/XFile.pm: Update from Automake. 6354 63552003-09-12 Akim Demaille <akim@epita.fr> 6356 6357 Version 2.57c. 6358 63592003-09-12 Akim Demaille <akim@epita.fr> 6360 6361 * config/config.guess, config/config.sub, config/missing, 6362 * lib/Autom4te/Channels.pm, lib/Autom4te/Configure_ac.pm: Update 6363 from masters. 6364 63652003-09-12 Akim Demaille <akim@epita.fr> 6366 6367 * doc/autoconf.texi (Header Portability): Promote linux/types.h, 6368 not asm/types.h. 6369 63702003-09-11 Akim Demaille <akim@epita.fr> 6371 6372 * doc/autoconf.texi (Header Portability): linux/random.h. 6373 From Peter Hendrickson. 6374 63752003-09-10 Akim Demaille <akim@epita.fr> 6376 6377 * tests/mktests.sh (au_exclude_egrep): Make it harder to be 6378 willing to edit the output files. 6379 63802003-09-10 Akim Demaille <akim@epita.fr> 6381 6382 * tests/fortran.at (GNU Fortran 77): Also exercise AC_FC_SRCEXT 6383 and AC_FC_FREEFORM. 6384 * tests/mktests.sh: Skip AC_FC_SRCEXT. 6385 * lib/autoconf/fortran.m4 (AC_FC_SRCEXT, AC_FC_FREEFORM): Likewise. 6386 63872003-09-09 Akim Demaille <akim@epita.fr> 6388 6389 * lib/Autom4te/FileUtils.pm (&update_file): s/cannot not/cannot/g. 6390 Reported by Gary Vaughan. 6391 * bin/autom4te.in (handle_m4): Likewise. 6392 63932003-09-09 Akim Demaille <akim@epita.fr> 6394 6395 * lib/Autom4te/FileUtils.pm (&update_file): Be sure not to leave 6396 trailing files. 6397 63982003-09-07 Paul Eggert <eggert@twinsun.com> 6399 6400 * lib/autoconf/specific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): 6401 Improve the accuracy of the wording about obsolescence. 6402 From a suggestion by Ian Lance Taylor in 6403 <http://mail.gnu.org/archive/html/autoconf/2003-09/msg00044.html>. 6404 64052003-09-05 Paul Eggert <eggert@twinsun.com> 6406 6407 * lib/autoconf/fortran.m4 (AC_FC_FREEFORM): Try -ffree-form too, 6408 for the benefit of g77 3.2. Fix suggested by Steven G. Johnson. 6409 64102003-09-04 Akim Demaille <akim@epita.fr> 6411 6412 * tests/mktests.sh (ac_exclude_list): Fix the filtering of 6413 AC_FUNC_WAIT3. 6414 64152003-09-04 Akim Demaille <akim@epita.fr> 6416 6417 * bin/autom4te.in: Use &fatal where more appropriate than &error. 6418 (freeze): When exiting, use $exit_code. 6419 * lib/autoconf/fortran.m4: Comment changes. 6420 64212003-09-04 Akim Demaille <akim@epita.fr> 6422 6423 * tests/mktests.sh (ac_exclude_list): Add AC_FC_FUNC. 6424 64252003-09-02 Steven G. Johnson <stevenj@alum.mit.edu> 6426 6427 Add support for newer Fortran dialects. The F77 interface is 6428 unchanged, and continues to support Fortran 77. New FC macros 6429 correspond to all the old F77 macros, with output variables FC, 6430 FCFLAGS, and FCLIBS. AC_PROG_FC defaults to picking the newest 6431 available dialect, but older dialects can be specified. There are 6432 new macros AC_FC_SRCEXT to set the source extension, and 6433 AC_FC_FREEFORM to accept free-form source files. 6434 6435 * lib/autoconf/c.m4 (_AC_LANG_PREFIX(C), _AC_LANG_PREFIX(C++)): 6436 New macros. 6437 (AC_LANG_PROGRAM(C)): Invoke _AC_LANG_PROGRAM_C_FC_HOOKS if defined. 6438 * lib/autoconf/fortran.m4 (AC_LANG(Fortran), _AC_FORTRAN_ASSERT, 6439 _AC_LANG_ABBREV(Fortran), _AC_LANG_PREFIX(Fortran 77), 6440 _AC_LANG_PREFIX(Fortran), _AC_FC, AC_LANG_SOURCE(Fortran), 6441 AC_LANG_PROGRAM(Fortran), AC_LANG_CALL(Fortran), 6442 AC_LANG_PREPROC(Fortran), AC_LANG_COMPILER(Fortran), 6443 _AC_FC_DIALECT_YEAR, _AC_F95_FC, _AC_F90_FC, _AC_F77_FC, 6444 _AC_PROG_FC, AC_PROG_FC, _AC_PROG_FC_G, _AC_PROG_FC_C_O, 6445 AC_PROG_FC_C_O, _AC_PROG_FC_V_OUTPUT, _AC_PROG_FC_V, 6446 _AC_FC_LIBRARY_LDFLAGS, AC_FC_LIBRARY_LDFLAGS, _AC_FC_DUMMY_MAIN, 6447 AC_FC_DUMMY_MAIN, _AC_FC_MAIN, AC_FC_MAIN, __AC_FC_NAME_MANGLING, 6448 _AC_FC_WRAPPERS, AC_FC_WRAPPERS, _AC_FC_FUNC, AC_FC_FUNC, 6449 AC_FC_SRCEXT, AC_FC_FREEFORM): 6450 New macros. 6451 (AC_PROG_F77, AC_PROG_F77_C_O, AC_F77_LIBRARY_LDFLAGS, 6452 AC_F77_DUMMY_MAIN, AC_F77_MAIN, _AC_F77_NAME_MANGLING, 6453 AC_F77_NAME_MANGLING, AC_F77_WRAPPERS, AC_F77_FUNC): 6454 Rewrite in terms of the above. 6455 (_AC_PROG_F77_G, _AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V): Remove. 6456 * lib/autoconf/lang.m4 (_AC_LANG_PREFIX): New macro. 6457 * tests/acfortran.at: Test AC_FC_FREEFORM, AC_FC_FUNC, 6458 AC_FC_MAIN, AC_FC_SRCEXT, AC_FC_WRAPPERS, AC_PROG_FC_C_O. 6459 64602003-09-02 Paul Eggert <eggert@twinsun.com> 6461 6462 * doc/autoconf.texi (Limitations of Usual Tools, Limitations of Make): 6463 Document problems with timestamp resolution that 'make', 'cp -p', and 6464 'touch -r' have. 6465 64662003-08-27 Akim Demaille <akim@epita.fr> 6467 6468 * tests/m4sugar.at (cross_warning): Make sure to enable the 6469 output, so that we can track spurious m4sugar output. 6470 * tests/local.at: Require 2.57. 6471 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't m4_default the arguments that 6472 are defaulted by AT_CHECK anyway. 6473 Use AT_CHECK_AUTOM4TE. 6474 * lib/m4sugar/m4sugar.m4: There should be no output at all: add a 6475 missing dnl. 6476 64772003-08-27 Akim Demaille <akim@epita.fr> 6478 6479 * bin/autoheader.in: Issue the "Using auxiliary..." message only 6480 when -Wobsolete is set. 6481 Set it on by default. 6482 Suggested by Klee Dienes. 6483 64842003-08-27 Akim Demaille <akim@epita.fr> 6485 6486 * doc/autoconf.texi (AC_FUNC_FSEEKO, AC_SYS_LARGEFILE): More 6487 documentation. 6488 From Guido Draheim. 6489 64902003-08-26 Akim Demaille <akim@epita.fr> 6491 6492 * doc/autoconf.texi (Output): Make clear that one can run code 6493 after AC_OUTPUT. 6494 64952003-08-25 Akim Demaille <akim@epita.fr> 6496 6497 * config/announce-gen, GNUmakefile, Makefile.maint: Update from 6498 CVS Bison. 6499 65002003-08-25 Alexandre Duret-Lutz <adl@gnu.org> 6501 6502 * bin/autoreconf.in (parse_args): Do not pass --no-force to 6503 Automake versions prior to 1.8. 6504 65052003-08-25 Akim Demaille <akim@epita.fr> 6506 6507 * doc/autoconf.texi (Header Portability): netinet/if_ether.h. 6508 From Ville Karaila. 6509 65102003-08-24 Akim Demaille <akim@epita.fr> 6511 6512 * configure.ac: Bump to 2.57c. 6513 65142003-08-22 Akim Demaille <akim@epita.fr> 6515 6516 Version 2.57b. 6517 6518 * Makefile.cfg (local-checks-to-skip): New. 6519 * Makefile.maint (local-check): Rename as... 6520 (local-checks-available): this. 6521 (local-check): New. 6522 6523 * Makefile.am (EXTRA_DIST): Add Makefile.cfg. 6524 * configure.ac: Require Automake 1.7.6. 6525 65262003-08-22 Akim Demaille <akim@epita.fr> 6527 6528 Output stack traces in warnings. 6529 6530 * lib/m4sugar/m4sugar.m4 (_m4_warn): New. 6531 Replace the former... 6532 (m4_warn): Pass the call stack to _m4_warn. 6533 * bin/autom4te.in: Adjust to output the call stack. 6534 * tests/m4sugar.at (m4@&t@_warn): Adjust. 6535 65362003-08-22 Akim Demaille <akim@epita.fr> 6537 6538 * lib/Autom4te/Request.pm, lib/Autom4te/C4che.pm: New. 6539 * bin/autom4te.in: Adjust. 6540 65412003-08-21 Akim Demaille <akim@epita.fr> 6542 6543 * lib/Autom4te/General.pm (&file_name_is_absolute): Remove. 6544 (&verbose): Remove. 6545 (&getopt): Adjust the note and verb channels, depending upon 6546 --verbose. 6547 * bin/autoheader.in, bin/autom4te.in, bin/autoscan.in, 6548 * bin/autoupdate.in: Adjust. 6549 Use &verb, not &verbose. 6550 65512003-08-21 Akim Demaille <akim@epita.fr> 6552 6553 * bin/autoheader.in (&parse_args): Use &parse_warnings and 6554 &parse_WARNINGS. 6555 ($help): Use Autom4te::ChannelDefs::usage. 6556 * bin/autoscan.in: Use Autom4te::ChannelDefs. 6557 * lib/Autom4te/General.pm: Don't export error: you don't own it. 6558 65592003-08-21 Akim Demaille <akim@epita.fr> 6560 6561 First stab at preserving warnings between calls to autom4te, 6562 including when the cache is used. 6563 6564 There are still several issues: (i) there are too many runs of m4 6565 (one for include, one for warnings, and some more), (ii) warnings 6566 spreading on several lines are not handled gracefully, (iii) the 6567 code meant to have the call stack display for errors does not work 6568 (its handling should move from m4 to autom4te). 6569 6570 * bin/autom4te.in Autom4te::Channels, Autom4te::ChannelDefs): 6571 Use them. 6572 (@preselect): Add m4_warn. 6573 ($exit_status): Remove, use $exit_code. 6574 ($help): Use Autom4te::ChannelDefs::usage. 6575 (&handle_m4): No longer define the m4_warnings. 6576 At each run, extract and report the warnings. 6577 Always cache the result, including if the exit status is on 6578 failure, since if nothing changes, we should result in the same 6579 failure, hence we can use the cache. 6580 * lib/m4sugar/m4sugar.m4 (m4_warning_ifelse, _m4_warning_ifelse) 6581 (_m4_warning_error_ifelse, __m4_warning_error_ifelse, _m4_warn): 6582 Remove. 6583 (m4_warn): Redefine as a do-nothing: it is its invocation that 6584 matters, as warnings are now reported via traces. 6585 * lib/autoconf/general.m4 (AC_DIAGNOSE): Don't make it a copy of 6586 the contents of m4_warn: make it _call_ m4_warn, so that tracing 6587 the latter reveals calls to the former. 6588 6589 Adjust the tests. 6590 6591 * tests/m4sugar.at (m4@&t@_warn): Use existing warning categories. 6592 65932003-08-21 Akim Demaille <akim@epita.fr> 6594 6595 * bin/autoreconf.pm (Autom4te::Channels, Autom4te::ChannelDefs): 6596 Use them. 6597 65982003-08-21 Akim Demaille <akim@epita.fr> 6599 6600 * lib/Autom4te/FileUtils.pm (&find_file): Walk the @include in 6601 forward order. 6602 * lib/Autom4te/ChannelDefs.pm: Doc typos. 6603 (&parse_warnings): Accept a list of warning requests. 6604 (&usage): Return a string, not a side effect. 6605 (cross): New warning category. 6606 66072003-08-21 Akim Demaille <akim@epita.fr> 6608 6609 * lib/Autom4te/Configure_ac.pm (&find_configure_ac) 6610 (&require_configure_ac): Accept an optional directory argument. 6611 ($configure_ac): Remove. 6612 * lib/Autom4te/General.pm (&find_configure_ac, &canonfile) 6613 (&catfile): Remove. 6614 * bin/autoheader.in, bin/autoreconf.in, bin/autoupdate.in, 6615 * bin/autoscan.in: Adjust. 6616 66172003-08-20 Akim Demaille <akim@epita.fr> 6618 6619 * bin/autoheader.in: Remove duplicate 'use Autom4te::FileUtils'. 6620 Reported by Alexandre Duret-Lutz. 6621 66222003-08-20 Akim Demaille <akim@epita.fr> 6623 6624 * bin/autoupdate.in, bin/autoheader.in, bin/autoreconf.in, 6625 * bin/autom4te: Adjust. 6626 In particular, be Autoconf tools are really silent when properly 6627 working, bind the verbosity of the 'note' channel to $verbose. 6628 * lib/Autom4te/General.pm (&find_file, &mtime, &update_file) 6629 (&xsystem, &contents): Remove, since they are exported by... 6630 * lib/Autom4te/FileUtils.pm: this. 6631 More perldoc. 6632 * lib/Autom4te/General.pm (&up_to_date_p): Move to... 6633 * lib/Autom4te/FileUtils.pm: here. 6634 66352003-08-20 Akim Demaille <akim@epita.fr> 6636 6637 * lib/Autom4te/Channels.pm, lib/Autom4te/ChannelDefs.pm 6638 * lib/Autom4te/Configure_ac.pm, lib/Autom4te/FileUtils.pm: New, 6639 from CVS Automake. 6640 66412003-08-20 Akim Demaille <akim@epita.fr> 6642 6643 * Makefile.am (automake_cvsweb, automake_cvsargs, autom4te_files) 6644 (autom4te-update): New. 6645 * Makefile.cfg (update): Bind autom4te-update. 6646 66472003-08-19 Derek Price <derek@ximbiot.com> 6648 6649 * lib/autotest/general.m4: Comment various HELP_* diversions. 6650 (PARSE_ARGS_BEGIN): New section for option parsing related 6651 initialization. 6652 (AT_ARG_OPTION,AT_ARG_OPTION_ARG,_AT_ARG_OPTION): New macros to define 6653 package specific options and associated help. 6654 66552003-08-19 Akim Demaille <akim@epita.fr> 6656 6657 * config/announce-gen, Makefile.cfg: New. 6658 * Makefile.am: Adjust. 6659 * GNUmakefile, Makefile.maint: Update from CVS Coreutils. 6660 66612003-08-19 Alexandre Duret-Lutz <adl@gnu.org> 6662 6663 * lib/autom4te.in (Automake-preselections): Preselect 6664 AC_CONFIG_LIBOBJ_DIR, AC_CONFIG_LINKS, m4_include, 6665 and m4_sinclude. 6666 66672003-08-19 Alexandre Duret-Lutz <adl@gnu.org> 6668 6669 * lib/autom4te.in (Autoconf): Move all args except aclocal.m4? into ... 6670 (Autoconf-without-aclocal-m4): ... this new language. 6671 * doc/autoconf.texi (autom4te Invocation): Mention 6672 Autoconf-without-aclocal-m4. 6673 66742003-08-18 Derek Price <derek@ximbiot.com> 6675 6676 * doc/autoconf.texi (Writing testsuite.at): Document RUN-IF-FAIL & 6677 RUN-IF-PASS optional arguments. 6678 66792003-08-18 Derek Price <derek@ximbiot.com> 6680 6681 * doc/autoconf.texi (Programming in M4sh): Add doc for AS_IF. 6682 66832003-08-16 Derek Price <derek@ximbiot.com> 6684 6685 * doc/autoconf.texi (Writing testsuite.at): Document defaults for 6686 STDOUT & STDERR arguments. 6687 66882003-08-14 Derek Price <derek@ximbiot.com> 6689 6690 * lib/autotestgeneral.m4 (AT_INIT): Reformat test summary line to print 6691 DESCRIPTION rather than FILE and LINE. Shorten result to fit in new, 6692 shorter column three. Add DESCRIPTION to log file content. 6693 66942003-08-13 Derek Price <derek@ximbiot.com> 6695 6696 * lib/autotest/general.m4 (AT_INIT): Correct typo in final status 6697 output. 6698 66992003-08-12 Derek Price <derek@ximbiot.com> 6700 6701 * lib/autotest/general.m4 (AT_CHECK): Use new _AT_CHECK API. 6702 (AT_CHECK_NOESCAPE): Move core functionality to... 6703 (_AT_CHECK): ...this new macro. 6704 67052003-08-07 Derek Price <derek@ximbiot.com> 6706 6707 * lib/autotest/general.m4 (AT_CHECK): Move core functionality... 6708 (AT_CHECK_NOESCAPE): ...to this new macro. 6709 67102003-07-31 Paul Eggert <eggert@twinsun.com> 6711 6712 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): Work around a bug 6713 in Bash 2.01. Problem reported by Brian Gough in 6714 <http://mail.gnu.org/archive/html/bug-autoconf/2003-07/msg00106.html>. 6715 67162003-07-25 John W. Eaton <jwe@bevo.che.wisc.edu> 6717 6718 * lib/autoconf/fortran.m4 (AC_F77_LIBRARY_LDFLAGS): Also ignore 6719 -lcrt1.o, for OS X. (trivial change) 6720 67212003-07-07 Paul Eggert <eggert@twinsun.com> 6722 6723 * lib/autoconf/c.m4 (AC_C_INLINE): Wrap the '#define inline ...' 6724 inside '#ifndef __cplusplus'. Problem reported by 6725 Bob Friesenhahn. 6726 67272003-07-06 Bill Clarke <llib@computer.org> 6728 6729 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): Cast pointer to 6730 'long', not 'int', for benefit of Sun's recent C++ compilers 6731 (trivial change). See: 6732 http://mail.gnu.org/archive/html/autoconf-patches/2003-07/msg00007.html 6733 (This really should be 'intptr_t', not 'long', but that would 6734 take more work.) 6735 67362003-06-25 Akim Demaille <akim@epita.fr> 6737 6738 * lib/Makefile.am (autom4te.cfg): Make it read only. 6739 Depend on Makefile since it contains substitutions. 6740 From Paolo Bonzini. 6741 * lib/autom4te.in (args): Add local.at? for Autotest args. 6742 This change was made on autom4te.cfg which is generated. 6743 Reported by Raja R. Harinath. 6744 67452003-06-25 Akim Demaille <akim@epita.fr> 6746 6747 * doc/autoconf.texi (Header Portability): sys/mount.h. 6748 From Gareth McCaughan. 6749 67502003-06-23 Akim Demaille <akim@epita.fr> 6751 6752 * lib/autotest/general.m4 (AT_INIT): Report a single config.log, 6753 not all of them. This fixes 1. the fact that when testing 6754 Autoconf there are many many config.log, 2. the incorrect use of 6755 top_srcdir to find config.log. 6756 Don't mix the detailed output of failed test with the summary of 6757 failures. Rather, append detailed log afterwards. 6758 67592003-06-23 Akim Demaille <akim@epita.fr> 6760 6761 * tests/local.at (AT_CHECK_CONFIGURE): Adjust to the verbose being 6762 always run: output config.log on $at_group_log. 6763 67642003-06-23 Akim Demaille <akim@epita.fr> 6765 6766 * tests/torture.at (#define header templates): Don't use quotes in 6767 C++ comments as it puzzles Emacs' sh font-lock-mode. 6768 67692003-06-23 Akim Demaille <akim@epita.fr> 6770 6771 * tests/mktests.sh (au_exclude_egrep): Fix output copyright notice. 6772 * lib/autom4te.cfg (args): Add local.at? for Autotest args. 6773 * tests/atspecific.m4: Rename as... 6774 * tests/local.at: This. 6775 * tests/suite.at: Move the globals into... 6776 * tests/local.at: here. 6777 * tests/Makefile.am: Adjust. 6778 * doc/autoconf.texi (testsuite Scripts): Adjust. 6779 67802003-06-21 Kevin Ryde <user42@zip.com.au> 6781 6782 * lib/autoconf/c.m4 (_AC_PROG_CC_STDC): Extend test program to get an 6783 error from OSF 4.0 Compaq cc in its default almost-ANSI mode, thereby 6784 ensuring we add -std1 for full-ANSI. 6785 6786 * doc/autoconf.texi (hdrindex): New macro. 6787 Add index entries for portability of various standard header files. 6788 67892003-06-20 Akim Demaille <akim@epita.fr> 6790 6791 * configure.ac: Bump to 2.57b. 6792 67932003-06-20 Akim Demaille <akim@epita.fr> 6794 6795 Version 2.57a. 6796 67972003-06-20 Akim Demaille <akim@epita.fr> 6798 6799 * bin/autom4te.in: Don't rely on $HOME being defined. 6800 Reported by Marc Espie as PR/233. 6801 68022003-06-20 Akim Demaille <akim@epita.fr> 6803 6804 * lib/autotest/general.m4: Use at_times_file only if used. 6805 From Nicolas Joly. 6806 68072003-06-20 Akim Demaille <akim@epita.fr> 6808 6809 * config/config.guess, config/config.sub, config/elisp-comp, 6810 * config/install-sh, config/mkinstalldirs, doc/standards.texi: 6811 Update from masters. 6812 68132003-06-11 Paolo Bonzini <bonzini@gnu.org> 6814 6815 * doc/autoconf.texi (Writing testsuite.at): Document AT_XFAIL_IF 6816 * lib/autotest/general.m4 (AT_XFAIL_IF): New macro. 6817 (TEST_SCRIPT): New diversion. 6818 (AT_SETUP): Divert output to TEST_SCRIPT and move some code... 6819 (AT_CLEANUP): ...to here. Undivert TEST_SCRIPT. 6820 (AT_INIT): Support for expected failures. 6821 68222003-06-02 Akim Demaille <akim@epita.fr> 6823 6824 * bin/autom4te.in, bin/autoscan.in, bin/autoheader.in: White space 6825 changes. 6826 * lib/Autom4te/General.pm (&backname): Remove, no longer used by 6827 Autoconf nor Automake. 6828 (&contents): New, from Automake. 6829 PODify. 6830 68312003-05-28 Paul Eggert <eggert@twinsun.com> 6832 6833 * NEWS, doc/autoconf.texi (Particular Functions), 6834 lib/autoconf/functions.m4 (AC_FUNC_MKTIME): Check that mktime 6835 is the inverse of localtime. 6836 68372003-05-25 Alexandre Duret-Lutz <adl@gnu.org> 6838 6839 * lib/Autom4te/General.pm (END): Print diagnostics to STDERR. 6840 (handle_exec_errors): New function. Work around $! being 6841 altered by WEXITSTATUS. 6842 (xqx, xsystem): Use handle_exec_errors. 6843 68442003-05-23 Alexandre Duret-Lutz <adl@gnu.org> 6845 6846 * lib/Autom4te/General.pm (END): Rewrite exit code processing. 6847 Do not call `_exit()', simply modify `$?'. 6848 (xsystem): Reset $! before running system, and check it afterward. 6849 * tests/tools.at (autoupdating AC_PREREQ): Expect exit status 6850 63 for version mismatches. 6851 68522003-05-23 Akim Demaille <akim@epita.fr> 6853 6854 * lib/autoconf/status.m4: Prefer "TAB-SP" to "SP-TAB", because of 6855 Emacs' dangerous whitespace.el behavior (smashing "useless" spaces in 6856 the middle of a line). 6857 * lib/m4sugar/m4sugar.m4: Likewise. 6858 Remove useless spaces in comments. 6859 68602003-05-23 Akim Demaille <akim@epita.fr> 6861 6862 * lib/m4sugar/m4sugar.m4 (m4_version_prereq): Failure causes an 6863 exit 63, so that we (or Automake's "missing") can tell the 6864 difference with a plain failure. 6865 * doc/autoconf.texi (Notices): Adjust. 6866 68672003-05-23 Akim Demaille <akim@epita.fr> 6868 6869 * Makefile.am, bin/Makefile.am, config/Makefile.am, 6870 * doc/Makefile.am, lib/autoconf/Makefile.am, tests/Makefile.am: 6871 White spaces cleanup. 6872 68732003-05-22 Jim Meyering <jim@meyering.net> 6874 Paul Eggert <eggert@twinsun.com> 6875 6876 * lib/autoconf/c.m4 (_AC_PROG_CXX_EXIT_DECLARATION): 6877 Remove `#include <stdlib.h>' from the list; we should never 6878 make confdefs.h include <stdlib.h> or <cstdlib>, because the 6879 resulting namespace pollution would cause other tests to fail. 6880 Configure scripts run with some older versions of g++ and HP's 6881 aCC would fail due to such an #include. Problems reported by 6882 Matthew Mueller in <http://bugs.debian.org/120704> and by 6883 Keith Bostic in 6884 <http://mail.gnu.org/archive/html/autoconf/2003-05/msg00063.html>. 6885 In the test, use the test declaration before including <stdlib.h>, 6886 as that's closer to how it'll be used. 6887 68882003-05-23 Akim Demaille <akim@epita.fr> 6889 6890 * doc/autoconf.texi (Header Portability): ucred.h. 6891 From Ian Redfern. 6892 68932003-05-22 Paolo Bonzini <bonzini@gnu.org> 6894 6895 Overhaul Autotest's logging: generate separate log files 6896 in testsuite.dir/NNN/testsuite.log, and append them to 6897 testsuite.log instead of re-running the test verbosely. 6898 6899 * lib/autotest/general.m4 (AT_INIT): Use a single redirected 6900 file descriptor, write 0 to at_status_file instead of setting 6901 at_status=0, initialize some new variables (at_status_file, 6902 at_group_log, at_suite_log, at_tee_pipe). Remove the cruft 6903 to rerun the tests, instead append the at_group_log to the 6904 at_suite_log when a test fails. 6905 (AT_SETUP): pipe the test case's output into at_tee_pipe, 6906 with the AS_MESSAGE_LOG_FD redirected to stdout. 6907 (AT_CLEANUP): save the output status in $at_status_file 6908 and restore it, redirect the AS_MESSAGE_LOG_FD back to 6909 its original place. 6910 (AT_CHECK): since tests are run with a redirected stdout, 6911 and used to be re-run in verbose mode, turn some $at_verbose 6912 into echo, and don't redirect the output of testing stdout 6913 and stderr. 6914 6915 * lib/autotest/autoconf.texi (testsuite Scripts): Update 6916 the name of the debugging directory and information about 6917 its contents. 6918 69192003-05-22 Paolo Bonzini <bonzini@gnu.org> 6920 6921 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): Actually use the 2nd 6922 parameter. 6923 69242003-05-22 Akim Demaille <akim@epita.fr> 6925 6926 * lib/autoconf/autotest.m4, lib/autoconf/autoupdate.m4 6927 * lib/autoconf/fortran.m4 lib/autoconf/general.m4 6928 * lib/autoconf/headers.m4 lib/autoconf/oldnames.m4 6929 * lib/autoconf/status.m4: Fix and adjust copyright notices. 6930 69312003-05-22 Akim Demaille <akim@epita.fr> 6932 6933 * aclocal.m4, bin/autoconf.as, lib/autoconf/autoconf.m4, 6934 * lib/autoconf/autoheader.m4, lib/autoconf/autoupdate.m4, 6935 * lib/autoconf/c.m4, lib/autoconf/fortran.m4, 6936 * lib/autoconf/general.m4, lib/autoconf/headers.m4, 6937 * lib/autoconf/lang.m4, lib/autoconf/libs.m4, 6938 * lib/autoconf/programs.m4, lib/autoconf/specific.m4, 6939 * lib/autoconf/status.m4, lib/autoconf/types.m4, 6940 * lib/autotest/general.m4, lib/m4sugar/m4sugar.m4, 6941 * tests/atspecific.m4, tests/base.at, tests/compile.at, 6942 * tests/foreign.at, tests/m4sh.at, tests/semantics.at, 6943 * tests/tools.at, tests/torture.at: 6944 Whitespace clean up. 6945 Suggested by Jim Meyering. 6946 69472003-05-22 Akim Demaille <akim@epita.fr> 6948 6949 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Restore smashed 6950 ' \t' as '\t ' so that Emacs' whitespace.el keep it. 6951 Reported by Jim Meyering. 6952 69532003-05-22 Akim Demaille <akim@epita.fr> 6954 6955 * doc/autoconf.texi: Replace AC_HELP_STRING AS_HELP_STRING. 6956 Add AC_HELP_STRING to the obsolete macros section. 6957 Typos. 6958 Use '@.' for sentences that ended in a capital letter. 6959 From Art Haas. 6960 69612003-05-22 Akim Demaille <akim@epita.fr> 6962 6963 * config/config.guess, config/config.sub, config/elisp-comp, 6964 * config/install-sh, config/mdate-sh, config/mkinstalldirs, 6965 * config/texinfo.tex, doc/standards.texi: Update from masters. 6966 69672003-05-21 Paolo Bonzini <bonzini@gnu.org> 6968 6969 * lib/m4sugar/m4sh.m4 (AS_VAR_SET): Escape the RHS before passing 6970 it to eval. 6971 69722003-05-21 Akim Demaille <akim@epita.fr> 6973 6974 * bin/autoupdate.in ($m4): Fix quotation. 6975 Reported by Martin Mokrejs. 6976 69772003-05-19 Paul Eggert <eggert@twinsun.com> 6978 6979 * ChangeLog, ChangeLog.2, THANKS, lib/m4sugar/m4sugar.m4: 6980 Remove non-ASCII characters. 6981 69822003-05-18 Paolo Bonzini <bonzini@gnu.org> 6983 6984 * tests/semantics.at (AC_SEARCH_LIBS): New test. 6985 * tests/semantics.at (AC_CHECK_HEADERS_OLD, 6986 AC_CHECK_HEADERS_NEW): New tests. 6987 69882003-05-17 Akim Demaille <akim@epita.fr> 6989 6990 * lib/autoconf/functions.m4: Use the default includes so that 6991 memcmp be declared before being tested. 6992 Reported by Sander Niemeijer. 6993 (AC_FUNC_ERROR_AT_LINE, AC_FUNC_GETGROUPS, AC_FUNC_STRNLEN): Likewise. 6994 * doc/autoconf.texi (Default Includes): Document 6995 AC_INCLUDES_DEFAULT. 6996 69972003-05-17 Akim Demaille <akim@epita.fr> 6998 6999 * lib/autoconf/specific.m4: Include signal.h and unistd.h. 7000 * doc/autoconf.texi (Obsolete Macros): Adjust. 7001 Reported by Werner LEMBERG and Debian Bug 190886. 7002 70032003-05-16 Akim Demaille <akim@epita.fr> 7004 7005 * lib/m4sugar/m4sh.m4 (_AS_UNSET_PREPARE): s/FOO/as_foo/ to avoid 7006 user name space clashes. 7007 Reported by Bruno Haible. 7008 70092003-05-16 Akim Demaille <akim@epita.fr> 7010 7011 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in, 7012 * bin/autoscan.in, bin/autoupdate.in, bin/ifnames.in (BEGIN): Make 7013 them uniform, and more robust to Perl special characters. 7014 Reported by Martin Mokrejs. 7015 70162003-05-14 Akim Demaille <akim@epita.fr> 7017 7018 * tests/foreign.at (Libtool): Skip all Libtools pre 1.4. 7019 70202003-05-14 Akim Demaille <akim@epita.fr> 7021 7022 * doc/autoconf.texi (Header Portability): X11/extensions/scrnsaver.h, 7023 linux/irda.h. 7024 70252003-05-12 Akim Demaille <akim@epita.fr> 7026 7027 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Improve the 7028 message. 7029 From Matthias Andree. 7030 70312003-05-07 Alexandre Duret-Lutz <adl@gnu.org> 7032 7033 * lib/Autom4te/XFile.pm (lock, truncate): Do not pass @_ to flock 7034 and truncate. 7035 70362003-05-06 Akim Demaille <akim@epita.fr> 7037 7038 Don't try to be smart with aclocal 1.8+ because (i) aclocal no 7039 longer updates aclocal.m4 if useless, (ii) if a file m4_included 7040 by aclocal.m4 is changed it might require the importing of another 7041 m4 extension file, i.e., aclocal must be run. 7042 7043 * bin/autoreconf.in (&run_aclocal, $aclocal_supports_force): New. 7044 (&parse_args): Use --force with aclocal if required and supported. 7045 (&autoreconf_current_directory): Use &run_aclocal. 7046 70472003-05-06 Akim Demaille <akim@epita.fr> 7048 7049 Lock autom4te's cache. 7050 7051 * lib/Autom4te/XFile.pm ($me, &name, &lock, &truncate, &seek): New. 7052 * bin/autom4te.in (&Request::save, &Request::load): Use an IO::File 7053 argument instead of a file name, so that the request file remains 7054 open during the whole autom4te run. 7055 ($icache_file): New. 7056 (&freeze): Lock the $icache_file. 7057 70582003-04-29 Derek Price <derek@ximbiot.com> 7059 7060 * lib/autotest/general.m4 (AT_KEYWORDS): Don't use a comma as the 7061 seperator with m4_append_uniq(). It doesn't work. 7062 (AT_CLEANUP): Add `;' to end of at_help_all. 7063 (AT_INIT): Allow --keywords to be specified more than once. When 7064 grepping $at_help_all for keywords, use the field and keyword 7065 seperators to ensure a complete keyword match. Alter at_prev handling 7066 to support the new --keywords behavior. 7067 70682003-04-27 Karl Berry <karl@freefriends.org> 7069 7070 * doc/autoconf.texi: Make the dir entries in the autoconf manual 7071 align better with others. I also made some of the individual 7072 entries on one line, for brevity and to make it easier for me to 7073 sort my dir-example file in the Texinfo distribution :). 7074 70752003-04-12 Jim Meyering <jim@meyering.net> 7076 7077 * NEWS: Mention the new macro. 7078 * lib/autoconf/c.m4 (AC_C_RESTRICT): New macro. 7079 * doc/autoconf.texi (C Compiler): Describe AC_C_RESTRICT. 7080 * tests/c.at: Test AC_C_RESTRICT. 7081 * tests/mktests.sh (ac_exclude_list): Add exclusion for AC_C_RESTRICT. 7082 70832003-04-08 Akim Demaille <akim@epita.fr> 7084 7085 * bin/ifnames.in: Skip C++ comments. 7086 From Jeremy Yallop. 7087 70882003-04-08 Akim Demaille <akim@epita.fr> 7089 7090 * GNUmakefile (SHELL): Don't assume sh is in /bin/. 7091 From Ilya Zakharevich. 7092 70932003-04-08 Akim Demaille <akim@epita.fr> 7094 7095 * doc/autoconf.texi (Particular Headers): Some about sys/socket.h, 7096 net/if.h, stdlib.h. 7097 70982003-04-01 Derek Price <derek@ximbiot.com> 7099 7100 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Correct syntax error 7101 from Akim's checkin of 2003-03-29. 7102 71032003-04-01 Derek Price <derek@ximbiot.com> 7104 7105 * tests/torture.at (Configuring subdirectories): Add missing 7106 close-quote for Akim's change from 2003-03-28. 7107 71082003-04-01 Akim Demaille <akim@epita.fr> 7109 7110 * doc/autoconf.texi (ac, at, ms): Rename these indexes as... 7111 (AC, AT, MS): these. 7112 (shortindexflag, @acindex, @ahindex, @asindex, @atindex, @msindex): 7113 New. 7114 Use them. 7115 * doc/Makefile.am (CLEANFILES): Adjust. 7116 (TEXI2DVI): Make it --batch. 7117 71182003-03-31 Derek Price <derek@ximbiot.com> 7119 7120 * lib/autotest/general.m4: Revert the checkin from 2003-03-27 7121 which removed the main loop. 7122 Thanks to Akim Demaille. 7123 71242003-03-29 Akim Demaille <akim@epita.fr> 7125 7126 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Skip OS/2's install, 7127 that starts a GUI. 7128 From Ilya Zakharevich. 7129 71302003-03-29 Akim Demaille <akim@epita.fr> 7131 7132 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): The 7133 documentation to read is Autoconf's. 7134 Suggested by Paul Eggert. 7135 71362003-03-28 Akim Demaille <akim@epita.fr> 7137 7138 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): Suggest 7139 reading the section "Present But Cannot Be Compiled" when the 7140 header causes problems. 7141 71422003-03-28 Akim Demaille <akim@epita.fr> 7143 7144 * tests/torture.at (Configuring subdirectories): Require aclocal 7145 1.4, otherwise the test fails, as it does support configure.ac. 7146 This fixes the "test 40 failed" bug reports. 7147 71482003-03-28 Akim Demaille <akim@epita.fr> 7149 7150 * doc/autoconf.texi (C Compiler): `#line' portability. 7151 From Paul Eggert and Nelson H. F. Beebe. 7152 71532003-03-27 Derek Price <derek@ximbiot.com> 7154 7155 * lib/autotest/general.m4: Eliminate main loop and reorganize test 7156 layout in order to allow scripting around test groups. 7157 71582003-03-27 Derek Price <derek@ximbiot.com> 7159 7160 * lib/autotest/general.m4 (PARSE_ARGS,PARSE_ARGS_END,HELP,HELP_MODES, 7161 HELP_TUNING,HELP_OTHER,HELP_END,PREPARE_TESTS,TESTS_END): Define and 7162 use new diversions in preparation for accepting new arguments and 7163 allowing scripting around tests. 7164 (OPTIONS,TAIL): Remove these diversions to make way for the ones above. 7165 71662003-03-26 Derek Price <derek@ximbiot.com> 7167 7168 * lib/autoconf/general.m4 (AC_ARG_VAR): Use AS_HELP_STRING instead of 7169 obsolete AC_HELP_STRING. 7170 (AC_HELP_STRING): AU_DEFUN to... 7171 * lib/m4sugar/m4sh.m4 (AS_HELP_STRING): ...here. 7172 * tests/m4sh.at (AS_HELP_STRING): New test. 7173 7174 * tests/acgeneral.at: Regenerated. 7175 71762003-03-26 Derek Price <derek@ximbiot.com> 7177 7178 * lib/autotest/general.m4: s/DEFAULT/DEFAULTS/ since it makes more 7179 sense. Verbosify the diversion definitions comment. 7180 71812003-03-26 Derek Price <derek@ximbiot.com> 7182 7183 * lib/autotest/general.m4 (AT_INIT): Remove redundant call to 7184 AS_PREPARE. 7185 71862003-03-21 Eric Siegerman <eric_97@pobox.com> 7187 7188 * doc/autoconf.texi (Present But Cannot Be Compiled): 7189 Grammar fixes and minor rewording. (trivial change) 7190 71912003-03-06 Paul Eggert <eggert@twinsun.com> 7192 7193 Work around a problem noted by Nelson H. F. Beebe with coreutils 7194 4.5.9: Sun c89 (Sun WorkShop 6 update 2 C 5.3 Patch 111679-08 7195 2002/05/09) rejects '#line 32768 "configure"' because the line 7196 number overflows. 7197 * lib/autoconf/c.m4 (AC_LANG_SOURCE(C)): Do not generate 7198 #line directives. 7199 * lib/autoconf/lang.m4 (AC_LANG_SOURCE): Fix comment to match this. 7200 * doc/autoconf.texi (Generating Sources): Document this. 7201 72022003-03-01 Richard Dawe <rich@phekda.freeserve.co.uk> 7203 7204 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Normalize 7205 file name for the m4 program, when it has an "exe" file extension. 7206 DJGPP's error messages include the error code in brackets - 7207 remove the error code during normalization. 7208 72092003-02-28 Akim Demaille <akim@epita.fr> 7210 7211 * doc/autoconf.texi (Present But Cannot Be Compiled): New. 7212 72132003-02-28 Alexandre Duret-Lutz <adl@gnu.org> 7214 7215 * doc/autoconf.texi (Limitations of Make): Remove the section 7216 about `$<' in inference rules, it was a bogus interpretation of 7217 an old Automake change. Discuss NetBSD, FreeBSD, OpenBSD, and 7218 Tru64 make in the "target lookup" section. 7219 (Automake): Automake 1.5+ no longer requires special tools to be 7220 present on the developer's host. 7221 72222003-02-26 Richard Dawe <rich@phekda.freeserve.co.uk> 7223 7224 * bin/autoheader.in (BEGIN): For DJGPP SHELL may not be set 7225 to a shell that can handle redirection or quoting correctly. 7226 Override SHELL with the shell detected by configure. 7227 Use of $^O suggested by Tim van Holder. 7228 * bin/autom4te.in (BEGIN): Likewise. 7229 * bin/autoreconf.in (BEGIN): Likewise. 7230 * bin/autoscan.in (BEGIN): Likewise. 7231 * bin/autoupdate.in (BEGIN): Likewise. 7232 * bin/ifnames.in (BEGIN): Likewise. 7233 7234 * bin/ifnames.in: Add final newline to help and version messages. 7235 7236 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Translate colons, 7237 to cope with DOS-style absolute paths, when constructing 7238 ${ac_make}. 7239 7240 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS, _AC_OUTPUT_FILES): 7241 When constructing paths with IFS=:, quote the path. If we're 7242 constructing a DOS-style absolute path, we don't want to split it 7243 on the colon. 7244 7245 * tests/atspecific.m4 (AT_CHECK_CONFIGURE): Fix typo 7246 in description. 7247 72482003-02-25 Pavel Roskin <proski@gnu.org> 7249 7250 * bin/autoheader.in: Add missing newline when printing 7251 suggestion how change AC_DEFINE call. 7252 72532003-02-24 Paul Eggert <eggert@twinsun.com> 7254 7255 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix typo in 7256 2002-09-01 patch by replacing "test -n" with "test -z". 7257 This fixes a bug found by Jeff Painter and reported by Tom Epperly in 7258 <http://mail.gnu.org/archive/html/autoconf/2003-02/msg00139.html>. 7259 7260 * doc/autoconf.texi (Shell Substitutions): test -n -> test -z, 7261 to fix a mismatch between example and discussion. 7262 72632003-02-24 Kevin Ryde <user42@zip.com.au> 7264 7265 * doc/autoconf.texi (Limitations of Builtins): Add notes on printf 7266 format starting with "-". 7267 72682003-02-20 Alexandre Duret-Lutz <adl@gnu.org> 7269 7270 * doc/autoconf.texi (Limitations of Make): `foo=bar make -e' 7271 is not portable inside Makefile. 7272 72732003-02-20 Akim Demaille <akim@epita.fr> 7274 7275 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL): When 7276 compiler says yeah, but preproc says nope, compiler is right. 7277 Conversely, prompt the reader to send a bug report to the 7278 maintainers of the package, not of Autoconf. 7279 72802003-02-20 Klee Dienes <kdienes@apple.com> 7281 7282 * bin/autoreconf.in (autoreconf_current_directory): Properly 7283 handle an empty aclocal.m4. 7284 72852003-02-20 Akim Demaille <akim@epita.fr> 7286 7287 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Quote 7288 $ac_prefix_program. 7289 From Larry Jones. 7290 72912002-12-23 Paul Eggert <eggert@twinsun.com> 7292 7293 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Define $1 to an 7294 innocuous variant befor including <limits.h> or <assert.h>. This 7295 works around a bug reported by Albert Chin: HP-UX 11i 7296 (and earlier versions) have a <limits.h> that declares 7297 gettimeofday and many other functions. 7298 72992002-12-03 Paul Eggert <eggert@twinsun.com> 7300 7301 Version 2.57. 7302 7303 * NEWS, configure.ac: Update version. 7304 7305 * doc/fdl.texi: Upgrade to FDL version 1.2. 7306 7307 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Use the function f 7308 nontrivially in main's body, so that f's external declaration is 7309 not optimized away in AIX. This should fix the bug reported by 7310 Martin Frydl in 7311 <http://mail.gnu.org/pipermail/autoconf/2002-November/014508.html>. 7312 7313 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C), 7314 _AC_PROG_PREPROC_WORKS_IFELSE): Use <limits.h> if __STDC__ is 7315 defined, to support freestanding compilers. This should fix the 7316 bug reported by Momchil Velkov in 7317 <http://mail.gnu.org/pipermail/autoconf/2002-November/014490.html>. 7318 7319 * doc/autoconf.texi (Obsolete Macros): Fix typos (insert empty 7320 arg, AC_DEFINE -> AC_DEFINE_UNQUOTED) in documentation for 7321 obsolete AC_CHECK_TYPE. The missing empty arg was reported 7322 by Simon Josefsson in 7323 <http://mail.gnu.org/pipermail/autoconf-patches/2002-December/008830.html>. 7324 7325 * Makefile.maint (www-gnu): New macro. 7326 (standards.texi-url_prefix, make-stds.texi-url_prefix): Use it, as 7327 the location has moved. 7328 73292002-12-02 Martin Frydl <martin@systinet.com> 7330 7331 * bin/autom4te.in (at_flatten): rewritten to avoid M4 problem when 7332 \(.*\) match is too long and there is something more to be checked. 7333 <http://mail.gnu.org/pipermail/autoconf/2002-November/014524.html> 7334 73352002-11-15 Akim Demaille <akim@epita.fr> 7336 7337 Version 2.56. 7338 7339 * config/install-sh: chmod +x. 7340 From Paul Eggert. 7341 * config/move-if-change: Indenting changes. 7342 * Makefile.am (AUTOMAKE_OPTIONS): Move to... 7343 * configure.ac (AM_INIT_AUTOMAKE): here. 7344 Require 1.7.1. 7345 73462002-11-14 Akim Demaille <akim@epita.fr> 7347 7348 Version 2.55. 7349 7350 * config/config.guess, config/config.sub, config/install-sh: 7351 Update from masters. 7352 73532002-11-14 Akim Demaille <akim@epita.fr> 7354 7355 * Makefile.maint: Sync with Bison, i.e.: 7356 (po-check): Scan .l and .y files instead of the 7357 .c and the .h files that they generate. This fixes the bug 7358 reported by Tim Van Holder in: 7359 <http://mail.gnu.org/pipermail/bison-patches/2002-November/001352.html> 7360 Look for N_ as well as for _. Try to avoid matching #define for 7361 N_ and _. 7362 From Paul Eggert. 7363 73642002-11-14 Akim Demaille <akim@epita.fr> 7365 7366 * doc/autoconf.texi (C Compiler): Compiling several files at once. 7367 From Paul Eggert and Albert Chin-A-Young. 7368 73692002-11-14 Akim Demaille <akim@epita.fr> 7370 7371 * doc/autoconf.texi (C Compiler): Solitary backslashes. 7372 From Paul Eggert and Albert Chin-A-Young. 7373 73742002-11-14 Kevin Ryde <user42@zip.com.au> 7375 7376 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY(C)): Initialize f=$1 rather 7377 than assigning in main, to avoid HP cc +O3 optimizing it away. 7378 73792002-11-12 Peter Eisentraut <peter_e@gmx.net> 7380 7381 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Add -q 7382 option. Process --recheck after parsing all options. Pass -q 7383 option to configure on --recheck. 7384 (AC_OUTPUT): Pass -q from configure to config.status. 7385 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Strip -q from 7386 arguments to record. 7387 * doc/autoconf.texi (config.status Invocation): Document 7388 config.status -q option. 7389 73902002-11-07 Alexandre Duret-Lutz <adl@gnu.org> 7391 7392 * bin/autoscan.in (scan_file): Scan Makefile.am too. Ignore 7393 Makefile.in if Makefile.am exists. 7394 (output): Strip `.am' from Makefiles. Don't 7395 output AC_CONFIG_FILES if no Makefiles were found. 7396 73972002-11-07 Akim Demaille <akim@epita.fr> 7398 7399 * Makefile.am (cvs_files): Add elisp-comp, mdate-sh. 7400 (local_updates): New. 7401 * Makefile.maint: Update, from CVS Bison. 7402 (local_updates): New. 7403 74042002-11-06 Akim Demaille <akim@epita.fr> 7405 7406 * lib/autoconf/c.m4 (AC_LANG_FUNC_LINK_TRY): Wrap the `f' 7407 declaration in extern "C" too. 7408 Reported by Roberto Bagnara. 7409 74102002-11-06 Akim Demaille <akim@epita.fr> 7411 7412 * tests/torture.at (Configuring subdirectories): Don't use grep 7413 -w. 7414 * doc/autoconf.texi (Limitations of Usual Tools): Grep -w. 7415 Reported by Ezra Peisach. 7416 74172002-11-05 Akim Demaille <akim@epita.fr> 7418 7419 * lib/autoconf/autoheader.m4 (_AH_TEMPLATE_OLD, _AH_VERBATIM_OLD): 7420 Remove. 7421 We _have_ to stop using the old compatibility scheme that tried to 7422 avoid useless backslashes because Libtool 1.4.3 contains a 7423 AC_DEFINE([error_t], [int], 7424 [Define to a type to use for \`error_t' if it is not 7425 otherwise available.]) 7426 We _have_ to quote the single quote and backslashes with \. The 7427 old compatibility scheme saw that ` was backslashed, and therefore 7428 did not quote the single quote. Hence before this patch, Autoconf 7429 was not compatible with Libtool. 7430 74312002-11-04 Paul Eggert <eggert@twinsun.com> 7432 7433 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Set the following variables, 7434 too: LC_ADDRESS, LC_IDENTIFICATION, LC_MEASUREMENT, LC_MONETARY, 7435 LC_NAME, LC_PAPER, LC_TELEPHONE. 7436 * doc/autoconf.texi (Special Shell Variables): Mention those vars. 7437 74382002-11-04 Akim Demaille <akim@epita.fr> 7439 7440 Version 2.54c. 7441 7442 * Makefile.maint (update, cvs-update, po-update, do-po-update): 7443 New. 7444 * config/texinfo.tex: Update. 7445 74462002-11-03 Akim Demaille <akim@epita.fr> 7447 7448 * bin/autoreconf.in (&autoreconf_current_directory): New, extracted 7449 from... 7450 (&autoreconf): here. 7451 ($help, $make, &parse_args, &autoreconf_current_directory): 7452 Support -m/--make. 7453 * doc/autoconf.texi (autoreconf Invocation): Adjust. 7454 74552002-10-31 Bruno Haible <bruno@clisp.org> 7456 7457 * lib/autoconf/functions.m4 (_AC_FUNC_MALLOC_IF): Change message. 7458 Change name of cache variable to ac_cv_func_malloc_0_nonnull. 7459 (AC_FUNC_MALLOC): Change description of HAVE_MALLOC macro. 7460 (_AC_FUNC_REALLOC_IF): Change message. Change name of cache variable 7461 to ac_cv_func_realloc_0_nonnull. 7462 (AC_FUNC_REALLOC): Change description of HAVE_REALLOC macro. 7463 74642002-10-31 Akim Demaille <akim@epita.fr> 7465 7466 The test suite was no longer checking for trailing envvars and files. 7467 7468 * tests/atspecific.m4 (AC_STATE_SAVE): Don't use quadrigraphs here. 7469 (AT_CHECK_ENV): Make sure the `state-ls.before file exists. 7470 74712002-10-31 Akim Demaille <akim@epita.fr> 7472 7473 * lib/autoconf/programs.m4 (AC_PROG_MAKE_SET): Use and display 7474 `$(MAKE)' instead of '${MAKE}' to emphasize that we refer to the 7475 Make variable, not a shell variable. 7476 Suggested by Bruno Haible. 7477 74782002-10-31 Akim Demaille <akim@epita.fr> 7479 7480 * bin/autom4te.in (load_configuration): Reject #args out of any 7481 language. 7482 74832002-10-31 Akim Demaille <akim@epita.fr> 7484 7485 * lib/autoconf/general.m4 (_AC_MSG_LOG_CONFTEST): New. 7486 (_AC_PREPROC_IFELSE, _AC_COMPILE_IFELSE, _AC_LINK_IFELSE) 7487 (_AC_RUN_IFELSE): Use it. 7488 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT): 7489 (_AC_COMPILER_EXEEXT_DEFAULT): Likewise. 7490 * lib/autoconf/c.m4 (AC_LANG_SOURCE): Don't include confdefs.h, 7491 inline it. 7492 74932002-10-30 Akim Demaille <akim@epita.fr> 7494 7495 * bin/autom4te.in (&parse_args, $help): Support --no-cache. 7496 * doc/autoconf.texi (autom4te Invocation): Adjust. 7497 Suggested by Tim van Holder. 7498 74992002-10-29 Paul Eggert <eggert@twinsun.com> 7500 7501 * doc/autoconf.texi (Particular Functions): AC_FUNC_MALLOC and 7502 AC_FUNC_REALLOC check for compatibility with glibc, not POSIX. 7503 Problem reported by Bruno Haible. 7504 75052002-10-29 Akim Demaille <akim@epita.fr> 7506 7507 * doc/autoconf.texi (Header Templates): Put also in words what the 7508 pictures says to assist free style readers. 7509 (Customizing autom4te): s/--cache=/--cache /. 7510 75112002-10-29 Akim Demaille <akim@epita.fr> 7512 7513 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Include stdlib.h and 7514 sys/wait.h. 7515 sparc_address_test returns void. 7516 Use it with an argument, as prototyped. 7517 From Bruno Haible. 7518 75192002-10-29 Akim Demaille <akim@epita.fr> 7520 7521 * doc/autoconf.texi (Subdirectories): Cygnus dirs have 7522 configure.in, not configure.ac. 7523 Reported by Bruno Haible. 7524 75252002-10-29 Akim Demaille <akim@epita.fr> 7526 7527 * tests/torture.at (Deep Package): New test. 7528 (Configuring subdirectories): Don't use a testSubDir as Autotest 7529 now does it itself. 7530 75312002-10-29 Akim Demaille <akim@epita.fr> 7532 7533 * bin/autoreconf.in (&parse_args, $help): Support --warnings. 7534 * doc/autoconf.texi (Invoking autom4te): Rename as... 7535 (autom4te Invocation): this, for consistency with the other nodes. 7536 75372002-10-29 Akim Demaille <akim@epita.fr> 7538 7539 * lib/autom4te.in (Autoconf): s/automate/autom4te/. 7540 Reported by Ralf Corsepius. 7541 75422002-10-29 Akim Demaille <akim@epita.fr> 7543 7544 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted 7545 characters is a back as an `obsolete' warning now. 7546 Reported by Ralf Corsepius. 7547 75482002-10-28 Akim Demaille <akim@epita.fr> 7549 7550 * configure.ac: Bump to 2.54c. 7551 75522002-10-28 Akim Demaille <akim@epita.fr> 7553 7554 Version 2.54b. 7555 7556 * tests/foreign.at (Libtool): Adjust to broken libtoolize. 7557 75582002-10-28 Akim Demaille <akim@epita.fr> 7559 7560 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): Be robust to different 7561 m4 executable names, and different GNU M4 version. 7562 Reported by Ezra Peisach and Paul Jarc. 7563 75642002-10-27 Akim Demaille <akim@epita.fr> 7565 7566 * lib/autoconf/functions.m4 (_AC_FUNC_VFORK): Really use 7567 AC_RUN_IFELSE. 7568 75692002-10-27 Akim Demaille <akim@epita.fr> 7570 7571 * doc/autoconf.texi: More AC_MSG_FAILURE promotion. 7572 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): 7573 Die when a simple Fortran program cannot be compiled. 7574 * lib/autoconf/lang.m4 (AC_LANG_CALL, AC_LANG_FUNC_LINK_TRY): 7575 Issue a warning if no function is given. 7576 75772002-10-27 Akim Demaille <akim@epita.fr> 7578 7579 * doc/autoconf.texi (Run Time): Document AC_RUN_IFELSE. 7580 Move the documentation of AC_TRY_RUN to... 7581 (Obsolete Macros): here. 7582 Adjust all the old samples still using AC_TRY_RUN to AC_RUN_IFELSE. 7583 (autoconf Invocation): Remove the duplicates with `invoking 7584 autom4te'. 7585 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_RUN. 7586 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise. 7587 75882002-10-27 Akim Demaille <akim@epita.fr> 7589 7590 * doc/autoconf.texi (Generating Sources): Document AC_LANG_CALL 7591 and AC_LANG_FUNC_LINK_TRY. 7592 (Examining Libraries): Rename as... 7593 (Running the Linker): this. 7594 Document AC_LINK_IFELSE. 7595 Move the documentation of AC_TRY_LINK and AC_TRY_LINK_FUNC to... 7596 (Obsolete Macros): here. 7597 * lib/autoconf/fortran.m4 (_AC_F77_NAME_MANGLING): Don't use 7598 AC_TRY_LINK_FUNC nor AC_TRY_LINK. 7599 * lib/autoconf/libs.m4 (AC_CHECK_LIB, AC_PATH_XTRA): Likewise. 7600 * lib/autoconf/headers.m4 (AC_USG): Likewise. 7601 76022002-10-27 Akim Demaille <akim@epita.fr> 7603 7604 * lib/autoconf/headers.m4 (AC_HEADER_STDC): Don't use AC_TRY_CPP. 7605 7606 More `check config.log' messages. 7607 7608 * lib/autoconf/general.m4 (AC_MSG_FAILURE): New. 7609 * doc/autoconf.texi (Printing Messages): Document it. 7610 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Use it when 7611 appropriate. 7612 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT) 7613 (_AC_COMPILER_EXEEXT_WORKS, _AC_COMPILER_EXEEXT_O) 7614 (_AC_COMPILER_OBJEXT): Likewise. 7615 * lib/autoconf/general.m4 (AC_RUN_IFELSE): Likewise. 7616 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS): 7617 Likewise. 7618 * lib/autoconf/c.m4 (AC_PROG_CPP, AC_PROG_CC, AC_PROG_CXXCPP): 7619 Likewise. 7620 7621 Deprecate macros with unusual interfaces. 7622 7623 * lib/autoconf/general.m4 (AC_TRY_CPP, AC_TRY_LINK) 7624 (AC_TRY_COMPILE, AC_TRY_RUN): AU_DEFUN'ed. 7625 7626 Document the new ones, and proper style. 7627 7628 * doc/autoconf.texi (Generating Sources): New. 7629 Document AC_LANG_CONFTEST, AC_LANG_SOURCE, AC_LANG_PROGRAM. 7630 (Examining Declarations): Rename as... 7631 (Running the Preprocessor): this. 7632 Document AC_PREPROC_IFELSE. 7633 (Examining Syntax): Rename as... 7634 (Running the Compiler): this. 7635 (AC_FOO_IFELSE vs AC_TRY_FOO): New section. 7636 (Obsolete Macros): Move the definition of AC_TRY_CPP and 7637 AC_TRY_COMPILE here. 7638 76392002-10-27 Akim Demaille <akim@epita.fr> 7640 7641 Move sections around. 7642 7643 * doc/autoconf.texi (Customizing autom4te): Remove a lost 7644 sentence. 7645 Reported by Burno Haible. 7646 (Language Choice): Now the first section of... 7647 (Writing Tests): this section. 7648 Make the introduction less C-centric. 7649 (Guidelines, Test Functions): Move to... 7650 (Writing Test Programs): this new section. 7651 (Test Programs): Merge into... 7652 (Run Time): this. 7653 76542002-10-27 Akim Demaille <akim@epita.fr> 7655 7656 * lib/freeze.mk ($(AUTOM4TE_CFG)): Add a missing dependency on 7657 autom4te.in that resulted in the need for two `make' runs. 7658 76592002-10-27 Akim Demaille <akim@epita.fr> 7660 7661 * configure.ac: Bump to 2.54b. 7662 76632002-10-25 Akim Demaille <akim@epita.fr> 7664 7665 Version 2.54a. 7666 7667 * Makefile.maint: Update from the Coreutils. 7668 (AMTAR): Remove, obsolete. 7669 (automake_repo): Update to redhat.com. 7670 (cvs_file): New. 7671 Adjust to the fact that ansi2knr is now hosted by Automake. 7672 * Makefile.am (cvs_files): Add install-sh and mkinstalldirs. 7673 * config/config.guess, config/mkinstalldirs, config/texinfo.tex: 7674 Update from masters. 7675 * lib/autoscan/Makefile.am (EXTRA_DIST, nodist_autoscanlib_DATA): 7676 autoscan.pre is not to be installed, and autoscan.list is not to 7677 be shipped. 7678 (CLEANFILES): Add autoscan.list. 7679 (autoscan.list): Disable the cache. 7680 * bin/Makefile.am: Include freeze.mk. 7681 76822002-10-25 Akim Demaille <akim@epita.fr> 7683 7684 * bin/autom4te.in (&load_configuration): Take the file as 7685 argument. 7686 (&parse_args): Handle -C, --cache. 7687 ($help): Adjust. 7688 (MAIN): Load ~/.autom4te.cfg and ./.autom4te.cfg. 7689 * lib/autom4te.in (Autoconf): Pass --cache=autom4te.cache. 7690 * doc/autoconf.texi (Invoking autom4te): Document --cache. 7691 Now a subsection of... 7692 (Using autom4te): This new section. 7693 (Customizing autom4te): New. 7694 (autom4te.cache): Adjust. 7695 76962002-10-25 Akim Demaille <akim@epita.fr> 7697 7698 * doc/autoconf.texi (Generic Headers): More information on how to 7699 use AC_CHECK_HEADERS. 7700 77012002-10-25 Akim Demaille <akim@epita.fr> 7702 7703 * bin/autoconf.as, bin/autoconf.in, bin/autoupdate.in ($help): 7704 Space changes. 7705 77062002-10-25 Akim Demaille <akim@epita.fr> 7707 7708 * bin/autoscan.in (output): Output AC_PREREQ. 7709 (%needed_macros): Add AC_PREREQ so that configure.ac without one 7710 be reported. 7711 77122002-10-23 Akim Demaille <akim@epita.fr> 7713 7714 * doc/autoconf.texi (Particular Headers): In AC_HEADER_STDBOOL, 7715 document _Bool. 7716 77172002-10-23 Akim Demaille <akim@epita.fr> 7718 7719 * bin/autom4te.in (handle_traces): Handle @&t@ in traces. 7720 Reported by Peter Eisentraut. 7721 77222002-10-23 Akim Demaille <akim@epita.fr> 7723 7724 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): Also look for the 7725 type _Bool. 7726 Fix a typo. 7727 * doc/autoconf.texi (Particular Headers): Adjust according to Paul 7728 Eggert's recommandations. 7729 77302002-10-22 Akim Demaille <akim@epita.fr> 7731 7732 * lib/autoconf/headers.m4 (AC_HEADER_STDBOOL): New, based on CVS 7733 Bison, by Paul Eggert. 7734 * doc/autoconf.texi (Particular Headers): Document it. 7735 77362002-10-22 Aaron M. Ucko <amu@alum.mit.edu> 7737 7738 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Avoid duplicates in 7739 `$ac_configure_args'. 7740 77412002-10-22 Akim Demaille <akim@epita.fr> 7742 7743 * doc/autoconf.texi: Use AC_CONFIG_HEADERS in examples. 7744 (AC_ST_BLKSIZE, AC_ST_RDEV): Directly point to AC_CHECK_MEMBERS. 7745 From Art Haas. 7746 77472002-10-22 Akim Demaille <akim@epita.fr> 7748 7749 Restore the 2002-10-11 Akim Demaille <akim@epita.fr> patch: 7750 7751 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL) 7752 (AC_CHECK_HEADER, _AC_CHECK_HEADER_NEW,_AC_CHECK_HEADER_OLD): Restore. 7753 (_AC_CHECK_HEADER_NEW): Rename as... 7754 (AC_CHECK_HEADER): this. 7755 77562002-10-22 Akim Demaille <akim@epita.fr> 7757 7758 * doc/autoconf.texi (Limitations of Usual Tools): Remove incorrect 7759 words about HP-UX cmp: it was actually a user-written cmp. 7760 77612002-10-22 Akim Demaille <akim@epita.fr> 7762 7763 * tests/foreign.at (Libtool): Don't check autoconf's stderr: there 7764 are a few warnings. 7765 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD): 7766 Quote for Perl '' strings, not "". 7767 * bin/autoheader.in: Invoke autoconf to get '' strings, not "" 7768 strings. 7769 77702002-10-22 Akim Demaille <akim@epita.fr> 7771 7772 * lib/m4sugar/m4sh.m4 (_AS_QUOTE): The warning about quoted 7773 characters is a syntax warning now. 7774 (_AS_QUOTE): Accept $2 as list of characters to quote. 7775 * lib/autoconf/autoheader.m4 (AH_VERBATIM, _AH_VERBATIM_OLD): 7776 Quote for Perl, not sh. 7777 * bin/autoheader.in: When $debug, report the file which is 7778 `do'ne. 7779 * tests/tools.at (autom4te, autoheader): Exercise @bar, not merely 7780 `@', to tickle Perl's lists. 7781 Reported by Carlos Velasco. 7782 77832002-10-18 Akim Demaille <akim@epita.fr> 7784 7785 * bin/autom4te.in (handle_m4): Pass --fatal-warning to m4, so that 7786 missing included files _are_ errors. 7787 Thanks to Alexandre Duret-Lutz. 7788 * tests/tools.at (autom4te cache): Adjust. 7789 * tests/atspecific.m4 (AT_CHECK_AUTOM4TE): New. 7790 (AT_CHECK_M4SUGAR): Use it. 7791 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies): 7792 Adjust. 7793 * tests/tools.at (autom4te): Now it does exit 1. 7794 77952002-10-17 Akim Demaille <akim@epita.fr> 7796 7797 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Don't use cmp. 7798 Fixes the `AC_ARG_VAR' test failures. 7799 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Don't use cmp. 7800 * lib/freeze.mk (check-forbidden-patterns): New. 7801 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am 7802 * lib/m4sugar/Makefile.am (check-local): Use it to catch `cmp'. 7803 * doc/autoconf.texi (Limitations of Usual Tools): HP-UX' cmp and 7804 /dev/null. 7805 Reported months ago by H. Merijn Brand. 7806 78072002-10-17 Akim Demaille <akim@epita.fr> 7808 7809 * tests/tools.at (autoheader): Put randoms `@' to stress Perl. 7810 78112002-10-16 Paul Eggert <eggert@twinsun.com> 7812 7813 * Makefile.maint (wget_files): Remove ansi2knr.c. 7814 (ansi2knr.c-url_prefix): Remove. 7815 78162002-10-16 Akim Demaille <akim@epita.fr> 7817 7818 Because of caching, some files that no longer exist and are no 7819 longer required can still cause errors. 7820 Reported by Alexandre Duret-Lutz. 7821 7822 * bin/autom4te.in (&parse_args): Do not prepend `--reload-state' 7823 to frozen files in @ARGV, as @ARGV must remain being a list of 7824 files. Rather, at M4 call sites, use this... 7825 (&files_to_options): New function. 7826 (&freeze): Use &error. 7827 (&up_to_date): If a file that was included according to the cache 7828 is no longer there, then the output is out dated. 7829 (&main): Don't even check whether a file is up to date is anyway 7830 --force is given. 7831 * tests/tools.at (autom4te cache): New. 7832 78332002-10-16 Akim Demaille <akim@epita.fr> 7834 7835 * bin/autoconf.as: Kill dead options. 7836 * bin/autoupdate.in (&parse_args): Kill old options. 7837 * bin/autoreconf.in (&parse_args): Remove dead options. 7838 Factor some code. 7839 (&autoreconf): Report the directories we enter *and leave*, so 7840 that error messages can be easily located, and use GNU Make 7841 format, so that Emacs' compile mode understands us. 7842 * lib/Autom4te/General.pm (&update_file): Use `verbose' to report 7843 if some file was changed instead of `print'. 7844 * bin/autoheader.in: Suggest AC_DEFINE with 3 args when needed. 7845 (&parse_args): Remove the dead options. 7846 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Adjust to the new 7847 autoheader's quiet mode. 7848 (AT_CHECK_AUTOUPDATE): Likewise. 7849 * tests/tools.at (autoupdate): Adjust. 7850 * tests/semantics.at (AC_C_BIGENDIAN): Likewise. 7851 78522002-10-11 Akim Demaille <akim@epita.fr> 7853 7854 No longer use CPP to check for the existing of headers: use CC to 7855 check for compilability. 7856 7857 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_MONGREL) 7858 (AC_CHECK_HEADER, _AC_CHECK_HEADER_OLD): Remove. 7859 (_AC_CHECK_HEADER_NEW): Rename as... 7860 (AC_CHECK_HEADER): this. 7861 7862 * lib/autotest/general.m4 (AT_INIT): Include the failed test 7863 numbers in the Subject suggestion. 7864 78652002-10-11 Akim Demaille <akim@epita.fr> 7866 7867 * lib/autoconf/specific.m4 (AC_DECL_SYS_SIGLIST): Obsolete. 7868 Suggest using AC_CHECK_DECLS instead. 7869 78702002-10-11 Akim Demaille <akim@epita.fr> 7871 7872 * tests/torture.at (AC_ARG_VAR): Have configure report the value 7873 of `precious'. 7874 78752002-10-11 Akim Demaille <akim@epita.fr> 7876 7877 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): Use $$ in the 7878 file name to enable parallel executions. 7879 From Sam Varshavchik. 7880 78812002-10-08 Akim Demaille <akim@epita.fr> 7882 7883 * bin/autoreconf.in (&autoreconf): Run autopoint before the first 7884 aclocal invocation, as Gettext macros might not be visible to 7885 aclocal. 7886 Instead of blindly running autopoint, scan configure.ac (not the 7887 traces) for AM_GNU_GETTEXT_VERSION uses, as autopoint does. 7888 Reported by Paul D. Smith. 7889 78902002-10-08 Paul Eggert <eggert@twinsun.com> 7891 7892 Work around problems found when POSIXLY_CORRECT=1 is set. 7893 None of this seems to have anything to do with POSIX, really, 7894 but it's how Perl getopt works. 7895 * bin/autom4te.in (parse_args): Configure GetOpt with 7896 "permute", too. 7897 * doc/autoconf.texi (Invoking autom4te): 7898 --warning -> --warnings. 7899 * lib/autom4te.in: --warning -> --warnings. 7900 79012002-09-28 Akim Demaille <akim@epita.fr> 7902 7903 * doc/autoconf.texi (autom4te.cache): New section. 7904 79052002-09-28 Akim Demaille <akim@epita.fr> 7906 7907 * lib/autom4te.in (Autoscan-preselections, Autoreconf-preselections) 7908 (Automake-preselections): Update. 7909 * bin/autoreconf.in, bin/autoheader.in: Comment changes. 7910 79112002-09-28 Akim Demaille <akim@epita.fr> 7912 7913 * lib/autoscan/autoscan.pre: Move all the remaining rules to... 7914 * lib/autoconf/c.m4, lib/autoconf/functions.m4, 7915 * lib/autoconf/headers.m4, lib/autoconf/libs.m4, 7916 * lib/autoconf/specific.m4, lib/autoconf/types.m4: here. 7917 79182002-09-28 Akim Demaille <akim@epita.fr> 7919 7920 * tests/torture.at (Configuring subdirectories): Be robust to 7921 users who use config.site to require for a cache: in this case, 7922 the two last configure runs, using two different sets of 7923 arguments, trigger a legitimate error. 7924 79252002-09-28 Akim Demaille <akim@epita.fr> 7926 7927 * tests/m4sh.at (Functions Support, Functions and return Support): 7928 New. 7929 79302002-09-28 Akim Demaille <akim@epita.fr> 7931 7932 * bin/Makefile.am (ETAGS_SH, ETAGS_PERL): Update: ifnames and 7933 autoheader are Perl programs. 7934 (autoconf, autoheader, autoreconf, autoupdate, ifnames, autoscan) 7935 (autom4te): Specify that the sources are in the $srcdir. 7936 * doc/autoconf.texi (Installation Directory Variables): Adjust. 7937 79382002-09-28 Akim Demaille <akim@epita.fr> 7939 7940 * lib/autoscan/autoscan.pre (st_blksize, st_blocks, st_rdev) 7941 (tm_zone): Move their rules to... 7942 * lib/autoconf/types.m4: here, using AN_ macros. 7943 * lib/autoscan/autoscan.pre (AWK, BISON, INSTALL, LEX, LN, MAKE) 7944 (RANLIB, YACC, awk, bison, byacc, flex, gawk, install, lex, ln) 7945 (make, mawk, nawk, ranlib, yacc): Similarly, move to... 7946 * lib/autoconf/programs.m4: here. 7947 * lib/freeze.mk (ETAGS_FOR_M4, ETAGS_FOR_M4SUGAR) 7948 (ETAGS_FOR_AUTOCONF): New. 7949 Use it. 7950 79512002-09-28 Akim Demaille <akim@epita.fr> 7952 7953 * lib/autoconf/autoscan.m4: New file. 7954 * lib/autoconf/autoconf.m4: Include it. 7955 * lib/autoconf/functions.m4: Use AN_FUNCTION for all the functions 7956 that were listed in the original autoscan.list. 7957 * lib/autoconf/headers.m4: Similarly with headers. 7958 * lib/freeze.mk (autoconf_m4f_dependencies): Add autoscan.m4. 7959 (.m4.m4f): Don't pass --prepend-include, since that's done by 7960 tests/autom4te itself. 7961 * lib/autoscan/Makefile.am: Include freeze.mk. 7962 (autoscan.list): New target --this file is no longer a source. 7963 (autoscan.pre): New file. 7964 79652002-09-28 Akim Demaille <akim@epita.fr> 7966 7967 * bin/autoscan.in (@kinds): Make them singular. 7968 Adjust all uses. 7969 (&init_tables): When --debug, report the list of rules to ease 7970 tracking changes in autoscan.list. 7971 * lib/autoscan/autoscan.list (function): Strip comments, sort. 7972 79732002-09-28 Akim Demaille <akim@epita.fr> 7974 7975 * lib/autoscan/functions, lib/autoscan/headers, 7976 * lib/autoscan/identifiers, lib/autoscan/makevars, 7977 * lib/autoscan/programs: Merge into... 7978 * lib/autoscan/autoscan.list: this. 7979 * bin/autoscan.in (&init_tables): Adjust. 7980 79812002-09-28 Akim Demaille <akim@epita.fr> 7982 7983 * lib/autoscan/functions, lib/autoscan/headers, 7984 * lib/autoscan/identifiers, lib/autoscan/makevars, 7985 * lib/autoscan/programs: Make the `kind' explicit, i.e., each 7986 `functions' line is now prefixed with `function:'. 7987 * bin/autoscan.in (&init_tables): Adjust. 7988 79892002-09-28 Akim Demaille <akim@epita.fr> 7990 7991 From now on, autoscan files must always map a macro name to a 7992 word: there is no `default' macro for autoscan. 7993 7994 * bin/autoscan.in (&init_tables): Reject entries with no macro at 7995 all. 7996 * lib/autoscan/functions, lib/autoscan/headers: Make the macro 7997 explicit. 7998 79992002-09-28 Akim Demaille <akim@epita.fr> 8000 8001 * bin/autoscan.in (%c_keywords): Remove. 8002 (&used): Keep only track of the words we might be interested in. 8003 (&output_kind): It is no longer needed to look for non active 8004 checks. 8005 80062002-09-27 Akim Demaille <akim@epita.fr> 8007 8008 * lib/autoconf/functions.m4 (AC_FUNC_MBRTOWC): New, stolen from 8009 jm_FUNC_MBRTOWC, by Paul Eggert, from the Coreutils 4.5.1. 8010 * lib/autoscan/functions: Adjust. 8011 * doc/autoconf.texi (Particular Functions): Adjust. 8012 80132002-09-27 Akim Demaille <akim@epita.fr> 8014 8015 * doc/autoconf.texi (Limitations of Usual Tools): Some about mv 8016 from /tmp. 8017 Thanks to Bill Moseley and Paul Eggert. 8018 * lib/m4sugar/m4sh.m4 (AS_TMPDIR): $2 is the directory into which 8019 the tmpdir must be created. 8020 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Have the tmp 8021 dir be in the build tree, instead of $TMPDIR. 8022 80232002-09-27 Akim Demaille <akim@epita.fr> 8024 8025 * bin/autoscan.in: Improve the comments. 8026 (&parse_args): Drop obsolete undocumented options. 8027 (&output_kind): Output warnings. 8028 * lib/autoscan/functions: (dcgettext): Now trigger AM_GNU_GETTEXT. 8029 (getwd): Trigger a warning. 8030 80312002-09-26 Akim Demaille <akim@epita.fr> 8032 8033 * bin/autoreconf.in: Clarify that -s is meaningless without -i. 8034 Reported by Ralf Corsepius. 8035 * doc/autoconf.texi (autoreconf Invocation): Likewise. 8036 80372002-09-26 Akim Demaille <akim@epita.fr> 8038 8039 Single suffix rules and seperated dependencies are not portable. 8040 8041 * doc/autoconf.texi (Installation Directory Variables): Update. 8042 (Limitations of Make): Some about `Single Suffix Rules and 8043 Separated Dependencies'. 8044 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate) 8045 (ifnames, autoscan, autom4te): Un-factor into several rules. 8046 80472002-09-25 Paul Eggert <eggert@twinsun.com> 8048 8049 * BUGS (Interoperability bugs): New section. Mention libtool 8050 1.4.2, configure.ac, and AC_CONFIG_AUX_DIR interoperability bug. 8051 80522002-09-24 Paul Eggert <eggert@twinsun.com> 8053 8054 Fix a portability bug reported by Alexandre Duret-Lutz: Solaris 8 8055 make handles suffix-rules differently from GNU make. 8056 8057 * bin/Makefile.am (SUFFIXES, .in): Remove. 8058 (autoconf autoheader autoreconf autoupdate ifnames autoscan autom4te): 8059 Move the body of the old .in rule here. 8060 80612002-09-16 Akim Demaille <akim@epita.fr> 8062 8063 i960 compilers create `b.out' files by default. 8064 Reported by Ralf Corsepius. 8065 8066 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT): Remove b.out files. 8067 (_AC_COMPILER_EXEEXT_DEFAULT): Adjust to b.out. 8068 80692002-09-13 Paul Eggert <eggert@twinsun.com> 8070 8071 * doc/autoconf.texi (Particular Headers): Remove obsolete 8072 reference to `struct timezone' in the description of 8073 AC_HEADER_TIME. 8074 80752002-09-13 Akim Demaille <akim@epita.fr> 8076 8077 Version 2.54. 8078 8079 * config/config.sub, config/config.guess: Update. 8080 * Makefile.maint: Update from bits of the Coreutils 4.5.1. 8081 * Makefile.am: Adjust. 8082 80832002-09-13 Akim Demaille <akim@epita.fr> 8084 8085 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Suggest 8086 reading config.log when the compiler is rejected. 8087 Suggested by Guido Draheim. 8088 80892002-09-13 Akim Demaille <akim@epita.fr> 8090 8091 * bin/autoreconf.in: Don't use Cwd::chdir, since in its internals 8092 (chdir_init) might hang when stat'ing mounted directories. 8093 Reported by Vance Shipley. 8094 80952002-09-12 Akim Demaille <akim@epita.fr> 8096 8097 * bin/autoscan.in (&parse_args): Pass a reference to the lists, not 8098 the lists. 8099 81002002-09-12 Akim Demaille <akim@epita.fr> 8101 8102 * doc/autoconf.texi (Defining Symbols): Present two different 8103 prototypes for AC_DEFINE and AC_DEFINE_UNQUOTED to emphasize the 8104 difference between 1 argument calls, and 2-3 argument calls. 8105 81062002-09-12 Peter Eisentraut <peter_e@gmx.net> 8107 8108 * doc/autoconf.texi: Review grammar and punctuation. 8109 81102002-09-11 Paul Eggert <eggert@twinsun.com> 8111 8112 * doc/autoconf.texi: Fix minor formatting, spelling, and 8113 grammatical typos. 8114 (Defining Symbols): Explain that AC_DEFINE(var) defaults to 1, but 8115 AC_DEFINE(var,,description) does not; and the AC_DEFINE(var) case 8116 is obsolescent. 8117 81182002-09-11 Akim Demaille <akim@epita.fr> 8119 8120 * doc/autoconf.texi (Questions): Rename as... 8121 (FAQ): this. 8122 (Defining Directories): New. 8123 81242002-09-09 Akim Demaille <akim@epita.fr> 8125 8126 * doc/autoconf.texi (Making testsuite Scripts): Update. 8127 Suggested by Nishio Futoshi. 8128 81292002-09-09 Koji Arai <JCA02266@nifty.ne.jp> 8130 8131 * doc/autoconf.texi (Making testsuite Scripts): Use `@@' where a 8132 plain `@' is wanted. 8133 81342002-09-09 Akim Demaille <akim@epita.fr> 8135 8136 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Keep the 8137 `duplicates', since the algorithm was too naive and could keep 8138 `--prefix=1 --prefix=2 --prefix=1' as `--prefix=1 --prefix=2', and 8139 keep `--prefix foo --prefix bar' as `--prefix foo bar'. 8140 Reported by Ralf Corsepius. 8141 * tests/torture.at (Configuring subdirectories): Exercise these 8142 cases. 8143 81442002-09-09 Akim Demaille <akim@epita.fr> 8145 8146 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Use $srcdir when 8147 looking for a replacement file. 8148 * lib/autoconf/general.m4 (AC_CHECK_DECLS): Check that the 8149 directory is relative. 8150 * doc/autoconf.texi (Generic Functions): Clarify the replacement 8151 directory definition. 8152 Reported by Andreas Schwab and Jim Meyering. 8153 81542002-09-06 Akim Demaille <akim@epita.fr> 8155 8156 * doc/autoconf.texi (Setting Output Variables): Clarify what 8157 precious variables are. 8158 Suggested by Pontus Skoeld. 8159 81602002-09-05 Akim Demaille <akim@epita.fr> 8161 8162 * bin/Makefile.am (autoconf, autoheader, autoreconf, autoupdate) 8163 (ifnames, autoscan, autom4te): Since we don't only depend on 8164 configure.ac variables (such as VERSION etc.), but also on prefix 8165 and so forth, depend on Makefile, not configure.ac. 8166 Reported by Alexandre Duret-Lutz. 8167 * doc/autoconf.texi (Installation Directory Variables): Adjust. 8168 81692002-09-05 Kevin Ryde <user42@zip.com.au> 8170 8171 * doc/autoconf.texi (Limitations of Make): HP-UX trailing backslashes 8172 doesn't seem to be confined to ia64, just say "some versions". 8173 81742002-09-04 Akim Demaille <akim@epita.fr> 8175 8176 * Makefile.am, doc/Makefile.am: Remove pdf targets, handled by 8177 Automake 1.6c. 8178 * Makefile.am (maintainer-clean-local): Remove. 8179 (MAINTAINERCLEANFILES): Remove COPYING. 8180 81812002-09-03 Paul Eggert <eggert@twinsun.com> 8182 8183 * doc/autoconf.texi (Configuration Commands): Remove obsolete 8184 example for AC_CONFIG_COMMANDS_PRE. Problem reported by Marcus 8185 Brinkmann. 8186 81872002-09-03 Akim Demaille <akim@epita.fr> 8188 8189 * configure.ac: Bump to 2.53d. 8190 * Makefile.am (AUTOMAKE_OPTIONS): Require 1.6c, i.e., CVS Automake 8191 as of today, on Automake's team suggestion. 8192 81932002-09-03 Akim Demaille <akim@epita.fr> 8194 8195 Version 2.53c. 8196 81972002-09-02 Akim Demaille <akim@epita.fr> 8198 8199 * bin/autom4te.in (parse_args): Don't honor AUTOM4TE_PATH and 8200 SITE_MACRO_DIR. 8201 * configure.ac: Disable SITE_MACRO_DIR. 8202 82032002-09-02 Jim Meyering <meyering@lucent.com> 8204 8205 * doc/autoconf.texi (AC_SYS_POSIX_TERMIOS): Reflect renaming: s/am/ac/, 8206 i.e., change am_cv_sys_posix_termios to ac_cv_sys_posix_termios. 8207 Also, tweak grammar: s/make sure to/be sure to/. 8208 82092002-09-02 Paul Eggert <eggert@twinsun.com> 8210 8211 * doc/autoconf.texi (Limitations of Builtins): Explain why logical 8212 directory names are generally preferable to physical names. 8213 82142002-09-02 Akim Demaille <akim@epita.fr> 8215 8216 * lib/Autom4te/General.pm (&update_file): s/die/error/. 8217 Reported by Raja R. Harinath. 8218 * bin/autoheader.in, bin/autoreconf.in, bin/autoscan.in, 8219 * bin/autoupdate.in: Use error instead of die. 8220 82212002-09-01 Paul Eggert <eggert@twinsun.com> 8222 8223 * tests/mktests.sh (ac_exclude_egrep, au_exclude_egrep): Use 8224 ordinary shell concatenation rather than echo+tr+sed command that 8225 runs afoul of a long-line-related sed bug in Solaris 8. 8226 8227 * bin/autoheader.in (parse_args): --warning -> --warnings. 8228 8229 * bin/autoconf.as: Work even if "ls" outputs "FOO not found" to 8230 stdout, as traditional "ls" does. 8231 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT, 8232 _AC_COMPILER_EXEEXT_O): Likewise. 8233 * doc/autoconf.texi (Limitations of Usual Tools): Add "ls". 8234 8235 * bin/autoconf.as: Add --prepend-include option. This patch was 8236 applied to bin/autoconf.in in the 2002-07-17 patch by Mark D. Roth, 8237 but bin/autoconf.in is generated automatically from bin/autoconf.as. 8238 8239 * bin/autoconf.in, configure: Regenerate. 8240 8241 * doc/autoconf.texi (Special Shell Variables): Mention 8242 ENV, MAIL, MAILPATH, PS1, PS2, PS4. Index PWD. 8243 8244 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Unset ENV, MAIL, 8245 MAILPATH and set PS1, PS2, PS4 to default values, to work 8246 around bug in pre-3.0 UWIN ksh reported by Bruce Lilly. 8247 For LC_ALL etc, first try to set to "C" as POSIX requires and as 8248 the Autoconf documentation specifies; fall back to "unset" only if 8249 this fails. Use a shell for-loop for this rather than an m4 loop, 8250 to shorten the output script. 8251 82522002-08-30 Paul Eggert <eggert@twinsun.com> 8253 8254 * doc/autoconf.texi (Special Shell Variables): Mention POSIX 8255 1003.1-2001's requirements for CDPATH. Give a simpler workaround 8256 for the CDPATH problem. Document PWD. 8257 (Limitations of Builtins): Document the problem that "cd $foo" and 8258 "ls $foo" may refer to different directories in shells conforming 8259 to POSIX 1003.1-2001. Use PS1 rather than CDPATH for "unset" 8260 example, since the old example is now out of date. 8261 8262 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Reject FOO if "cd 8263 FOO" and "ls FOO" talk about different directories; this catches 8264 problems when POSIX 1003.1-2001 "cd" fails due to symlink 8265 spaghetti. 8266 8267 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use AS_UNSET instead 8268 of rolling our own unset. 8269 (_AS_PREPARE): $as_unset CDPATH instead of AS_UNSETting it, since 8270 in practice we needn't worry about CDPATH if unset doesn't work. 8271 8272 * Makefile.in, aclocal.m4, bin/Makefile.in, 8273 config/Makefile.in, doc/Makefile.in, lib/Makefile.in, 8274 lib/Autom4te/Makefile.in, lib/autoconf/Makefile.in, 8275 lib/autoscan/Makefile.in, lib/autotest/Makefile.in, 8276 lib/emacs/Makefile.in, lib/m4sugar/Makefile.in, man/Makefile.in, 8277 tests/Makefile.in: Regenerate with Automake 1.6.3. 8278 8279 * config/config.guess, config/config.sub, config/mkinstalldirs: 8280 Update. 8281 8282 * configure: Regenerate with self. 8283 82842002-08-30 Kevin Ryde <user42@zip.com.au> 8285 8286 * doc/autoconf.texi (Limitations of Usual Tools): Notes on "cc" 8287 default output. 8288 82892002-08-29 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> 8290 8291 * bin/autom4te.in (Request::load): Correctly test for "do" read 8292 failure. 8293 82942002-08-29 Akim Demaille <akim@epita.fr> 8295 8296 * lib/Autom4te/General.pm (&xqx): New. 8297 (&xsystem): Use WIFEXITED and WEXITSTATUS instead of decoding $? by 8298 hand, which is not portable. 8299 (&error): New. 8300 * bin/autom4te.in: Use them. 8301 Use &error instead of die. 8302 * tests/m4sugar.at (m4_warn, m4_require: circular dependencies): 8303 Adjust. 8304 83052002-08-17 Paul Eggert <eggert@twinsun.com> 8306 8307 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove fc from the 8308 default list of compilers to try, since it was long ago superseded 8309 by the ksh fc builtin. Suggested by Steven G. Johnson. 8310 83112002-07-31 Alexandre Duret-Lutz <duret_g@epita.fr> 8312 8313 * doc/autoconf.texi (Invoking autom4te): End the option table, 8314 fixing a bug introduced by the previous patch. 8315 (Limitations of Make): Add a 'target lookup' subentry in the 8316 'VPATH' entry. Rewrite all `make' occurences as `@command{make}'. 8317 83182002-07-29 Mark D. Roth <roth@feep.net> 8319 8320 * bin/autom4te.in: Remove --include-envvar and --site-macro-subdir 8321 options and use $AUTOM4TE_PATH. 8322 * doc/autoconf.texi: Remove documentation of autom4te 8323 --include-envvar and --site-macro-subdir options and document 8324 use of $AUTOM4TE_PATH. 8325 * lib/autom4te.in: Remove --include-envvar and --site-macro-subdir 8326 arguments from each language section. 8327 83282002-07-29 Paul Eggert <eggert@twinsun.com> 8329 8330 * doc/install.texi: Include copyright symbol in copyright notice. 8331 8332 * Makefile.am (MAKEINFO): Remove; it's a user-specified macro. 8333 Replace with: 8334 (AM_MAKEINFOFLAGS): New macro. 8335 * doc/Makefile.am (MAKEINFO, AM_MAKEINFOFLAGS): Likewise. 8336 * Makefile.am (INSTALL): Use the new macros. 8337 Use -o rather than --output, since "missing" does not grok --output. 8338 83392002-07-25 Alexandre Duret-Lutz <duret_g@epita.fr> 8340 8341 * doc/autoconf.texi (Limitations of Make): Escaped newlines in 8342 comments do not always work. Never trust the exit status of 8343 `make -k'. 8344 83452002-07-24 Kevin Ryde <user42@zip.com.au> 8346 8347 * doc/autoconf.texi (Limitations of Make, Making testsuite Scripts): 8348 Untabify, since tabs are not enjoyed by texi2dvi and makeinfo. 8349 83502002-07-23 Paul Eggert <eggert@twinsun.com> 8351 8352 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): 8353 Use PATH="/nonexistent;.", not PATH=".;.", as FreeBSD ksh2002 8354 apparently treats PATH="nonexistent" as if it contained ".". 8355 Bug reported by Stefan `Sec' Zehl. 8356 83572002-07-22 Alexandre Duret-Lutz <duret_g@epita.fr> 8358 8359 * doc/autoconf.texi (Limitations of Make): Mention the special 8360 handling of the obj/ directory by BSD make. 8361 83622002-07-20 Kevin Ryde <user42@zip.com.au> 8363 8364 * doc/autoconf.texi (Limitations of Make): Add HP-UX IA-64 trailing 8365 backslashes. 8366 83672002-07-19 Akim Demaille <akim@epita.fr> 8368 8369 * doc/autoconf.texi (Function Portability): `exit'. 8370 (Programming in M4sh): Ethymology of M4sh. 8371 83722002-07-19 Akim Demaille <akim@epita.fr> 8373 8374 * doc/autoconf.texi (AC_LIBOBJ vs LIBOBJS): More about $U. 8375 83762002-07-18 Akim Demaille <akim@epita.fr> 8377 8378 Version 2.53b. 8379 83802002-07-18 Akim Demaille <akim@epita.fr> 8381 8382 * config/config.guess, config/config.sub: Update. 8383 83842002-07-18 Akim Demaille <akim@epita.fr> 8385 8386 Handle LIBOBJS and LTLIBOBJS once for all, including Libtool's and 8387 Automake's parts. 8388 8389 * lib/autoconf/general.m4 (_AC_LIBOBJS_NORMALIZE): New. 8390 * lib/autoconf/status.m4 (AC_OUTPUT_COMMANDS_PRE): Call it. 8391 * tests/semantics.at (AC_REPLACE_FUNCS): Adjust. 8392 83932002-07-18 Akim Demaille <akim@epita.fr>, 8394 Alexandre Duret-Lutz <duret_g@epita.fr> 8395 8396 * lib/autoconf/status.m4 (_AC_OUTPUT_HEADERS): Install 8397 _AC_AM_CONFIG_HEADER_HOOK for Automake 1.7. 8398 83992002-07-17 Russ Allbery <rra@stanford.edu> 8400 8401 * doc/autoconf.texi (Initializing configure): Clarify the 8402 description of the tarname default. 8403 84042002-07-17 Andreas Buening <andreas.buening@nexgo.de> 8405 8406 * lib/autoconf/functions.m4 (AC_FUNC_FORK): Don't set 8407 ac_cv_func_fork_works before running _AC_FUNC_FORK, do it if the 8408 latter was not run. 8409 84102002-07-17 Akim Demaille <akim@epita.fr> 8411 8412 * lib/Autom4te/General.pm (find_file): Browse the directories in 8413 the order they are given. 8414 84152002-07-17 Akim Demaille <akim@epita.fr> 8416 8417 * tests/wrapsh.as, tests/wrappl.as: Merge into... 8418 * tests/wrapper.as: this. 8419 * tests/Makefile.am, configure.ac: Adjust. 8420 84212002-07-17 Mark D. Roth <roth@feep.net> 8422 8423 * configure.ac: Add --enable-site-macro-dir option. 8424 * bin/Makefile.am: Expand @SITE_MACRO_DIR@. 8425 * bin/autom4te.in: Add --prepend-include, --include-envvar, and 8426 --site-macro-subdir options. 8427 * bin/autoconf.in: Add --prepend-include option. 8428 * bin/autoheader.in: Add --prepend-include option. 8429 * bin/autoreconf.in: Add --prepend-include option. 8430 * bin/autoscan.in: Add --prepend-include option. 8431 * bin/autoupdate.in: Add --prepend-include option. 8432 * doc/autoconf.texi: Document use of $AC_MACRO_PATH and site 8433 macro directory, remove note that include path directories are 8434 used in reverse order, and document --prepend-include option. 8435 * lib/autom4te.in: Use --prepend-include instead of --include. 8436 * tests/wrapsh.in: Use --prepend-include instead of --include. 8437 84382002-07-17 Akim Demaille <akim@epita.fr> 8439 8440 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): `_' is allowed in 8441 tarnames. 8442 * doc/autoconf.texi (Initializing configure): Adjust. 8443 84442002-07-17 Akim Demaille <akim@epita.fr> 8445 8446 * lib/autoconf/functions.m4 (AC_FUNC_REALLOC, _AC_FUNC_REALLOC) 8447 (_AC_FUNC_MALLOC): New. 8448 (AC_FUNC_MALLOC): Use the latter. 8449 Define HAVE_MALLOC to 0 if broken. 8450 * doc/autoconf.texi (Particular Functions): Adjust. 8451 84522002-07-16 Akim Demaille <akim@epita.fr> 8453 8454 * lib/autoconf/c.m4 (AC_C_BACKSLASH_A): New. 8455 * doc/autoconf.texi (C Compiler): Adjust. 8456 84572002-07-09 Akim Demaille <akim@epita.fr> 8458 8459 * doc/autoconf.texi: Properly set the ``header'' part. 8460 84612002-07-09 Akim Demaille <akim@epita.fr> 8462 8463 * doc/autoconf.texi (Systemology): Some about Darwin. 8464 84652002-07-09 Alexandre Duret-Lutz <duret_g@epita.fr> 8466 8467 * lib/autoconf/specific.m4 (AC_CYGWIN, AC_EMXOS2, AC_MINGW32): 8468 Don't use AC_REQUIRE in AU_DEFUN. 8469 84702002-07-09 Art Haas <ahaas@neosoft.com> 8471 8472 * doc/autoconf.texi: Use @enddots{} or @dots{} where appropriate. 8473 84742002-07-02 Alexandre Duret-Lutz <duret_g@epita.fr> 8475 8476 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in, 8477 bin/autoupdate.in, bin/ifnames.in, lib/Autom4te/General.pm, 8478 lib/Autom4te/Struct.pm, lib/Autom4te/XFile.pm: Add local variables 8479 so that Emacs setups GNU style for perl-mode and cperl-mode. 8480 84812002-06-27 Paul Eggert <eggert@twinsun.com> 8482 8483 * config/install-sh: Quote $src. Prefer || to test's -o option, 8484 as per "Limitations of Builtins". 8485 * tests/atspecific.m4 (AT_CHECK_ENV): Likewise, for && vs test -a. 8486 * tests/semantics.at (AC_C_BIGENDIAN): Likewise. 8487 8488 * tests/mktests.sh: Use grep instead of fgrep, as per 8489 "Limitations of Builtins". 8490 84912002-06-15 Paul Eggert <eggert@twinsun.com> 8492 8493 * tests/wrapsh.as (AUTOCONF, AUTOHEADER, AUTOM4TE, AUTOM4TE_CFG, 8494 autom4te_perllibdir): Set to top build dir or src dir as appropriate, 8495 so that we consistently test the just-built programs. 8496 * tests/wrappl.as: Likewise. 8497 84982002-06-12 Paul Eggert <eggert@twinsun.com> 8499 8500 * bin/autoconf.as (AUTOM4TE): Default to a fully qualified path 8501 name, so that symlinks to 'autoconf' work properly. Bug reported 8502 by Bruno Haible. 8503 * bin/autoheader.in (AUTOM4TE): Likewise. 8504 * bin/autoreconf.in (autoconf, autoheader): Likewise. 8505 * bin/autoscan.in (autom4te): Likewise. 8506 * bin/autoupdate.in (autom4te): Likewise. 8507 8508 * lib/autoconf/functions.m4 (_AC_LIBOBJ_FNMATCH): Also check for 8509 btowc, to fix a portability bug with diffutils-2.8.2/lib/fnmatch.c 8510 on Solaris 2.5.1. 8511 85122002-06-11 Andreas Schwab <schwab@suse.de> 8513 8514 * doc/autoconf.texi: Add more dir entries. 8515 85162002-06-10 Alexandre Duret-Lutz <duret_g@epita.fr> 8517 8518 * bin/autom4te.in ($cache): Don't define using `$me', the name 8519 of the cache should not depend on the name under which autom4te 8520 was installed. 8521 85222002-06-07 Akim Demaille <akim@epita.fr> 8523 8524 * tests/tools.at (autoconf: forbidden tokens, basic) 8525 (autoconf: forbidden tokens, exceptions): Adjust to the change of 8526 words in autom4te.in. 8527 85282002-06-07 Peter Eisentraut <peter_e@gmx.net> 8529 8530 * lib/autoconf/c.m4 (AC_LANG_PROGRAM(C)): Use 8531 _AC_LANG_PROGRAM_C_F77_HOOKS. 8532 85332002-06-07 Akim Demaille <akim@epita.fr> 8534 8535 * lib/autoconf/functions.m4 (AC_REPLACE_FUNC_FNMATCH): Typo, 8536 rename as... 8537 (AC_REPLACE_FNMATCH): this. 8538 * tests/mktests.sh (exclude_list): Exclude AC_REPLACE_FNMATCH, 8539 AC_FUNC_FNMATCH_GNU. 8540 85412002-06-07 Akim Demaille <akim@epita.fr> 8542 8543 * doc/autoconf.texi (Systemology): Point to Tru64 docs, and the 8544 Rosetta Stone for Unix. 8545 85462002-06-07 Akim Demaille <akim@epita.fr> 8547 8548 * bin/autom4te.in (warn_forbidden): When rejecting a token, 8549 suggest m4_pattern_allow. 8550 Suggested by Adam J. Richter. 8551 85522002-06-07 Akim Demaille <akim@epita.fr> 8553 8554 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Initialize 8555 ac_config_libobj_dir. 8556 (AC_CONFIG_LIBOBJ_DIR): New. 8557 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Split into... 8558 (_AC_FUNC_FNMATCH_IF, _AC_LIBOBJ_FNMATCH): these. 8559 Use ac_config_libobj_dir to find the replacement files. 8560 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU): Split into... 8561 (AC_FUNC_FNMATCH, AC_FUNC_FNMATCH_GNU, AC_REPLACE_FNMATCH) 8562 (AC_REPLACE_FNMATCH_GNU): these. 8563 (AC_FUNC_GETLOADAVG): Use ac_config_libobj_dir. 8564 * doc/autoconf.texi (Particular Functions, Generic Functions): Adjust. 8565 * tests/mktests.sh (ac_exclude_list): Don't check 8566 AC_FUNC_GETLOADAVG as it requires getloadavg.c which is not shipped. 8567 85682002-06-06 Paul Eggert <eggert@twinsun.com> 8569 8570 * lib/autoconf/status.m4 (_AC_OUTPUT_LINKS): Fall back on cp 8571 if ln doesn't work. 8572 * NEWS: Likewise. 8573 * doc/autoconf.texi (Configuration Links): Likewise. 8574 (Limitations of Usual Tools): Prefer $(LN_S) to ln -s || ln. 8575 85762002-06-05 Paul Eggert <eggert@twinsun.com> 8577 8578 * config/config.guess, config/config.sub, config/texinfo.tex: 8579 Update from masters. 8580 85812002-05-29 Paul Eggert <eggert@twinsun.com> 8582 8583 * bin/autom4te.in ($m4): Do not assume that egrep and fgrep exist. 8584 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Likewise. 8585 * lib/autoconf/general.m4 (_AC_RUN_LOG_STDERR, AC_EGREP_CPP): 8586 Likewise. 8587 * lib/autoconf/Makefile.am (check-local): Likewise. 8588 * lib/autoconf/status.m4 (AC_CONFIG_HEADER): Likewise. 8589 * lib/autoconf/types.m4 (commentary only): Likewise. 8590 * lib/autotest/general.m4 (AT_INIT, AT_CHECK): Likewise. 8591 * lib/autotest/Makefile.am (check-local): Likewise. 8592 * lib/m4sugar/Makefile.am (check-local): Likewise. 8593 * tests/atspecific.m4 (AT_CONFIGURE_AC, AT_CHECK_DEFINES): Likewise. 8594 * tests/mktests.sh (egrep): New var; use it instead of plain egrep. 8595 8596 * lib/autoconf/programs.m4 (AC_PROG_EGREP, AC_PROG_FGREP): New macros. 8597 * doc/autoconf.texi (Particular Programs): Document them. 8598 (Limitations of Usual Tools): Warn that egrep and fgrep may not exist. 8599 * NEWS: Likewise. 8600 86012002-05-27 Paul Eggert <eggert@twinsun.com> 8602 8603 * lib/autoconf/types.m4 (AC_TYPE_MBSTATE_T): New macro. 8604 * NEWS, doc/autoconf.texi (Particular Types): Document it. 8605 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): Require it 8606 instead of AC_MBSTATE_T, which never existed. 8607 86082002-05-23 Akim Demaille <akim@epita.fr> 8609 8610 * doc/autoconf.texi (Hosts and Cross-Compilation): Specify the 8611 version of Autoconf that is discussed. 8612 86132002-05-22 Paul Eggert <eggert@twinsun.com> 8614 8615 * lib/autoconf/fortran.m4 (AC_PROG_F77): Remove cf77 and cft77 8616 from the default list of compilers to try. Suggested by 8617 Kate Hedstrom. 8618 * NEWS: Document the above. 8619 * doc/autoconf.texi (Fortran 77 Compiler): Don't suggest cf77. 8620 86212002-05-17 Paul Eggert <eggert@twinsun.com> 8622 8623 * lib/autoconf/types.m4 (AC_CHECK_MEMBER): Work correctly even if 8624 the member is itself an aggregate. Bug reported by Sergey Poznyakoff. 8625 This improves on an earlier suggestion by H. Peter Anvin. 8626 86272002-05-16 Paul Eggert <eggert@twinsun.com> 8628 8629 AC_FUNC_FNMATCH now tests only for POSIX compatibility. 8630 AC_FUNC_FNMATCH_GNU also tests for GNU extensions. 8631 Both macros now accept an optional source-dir arg. 8632 New macro AC_GNU_SOURCE to define _GNU_SOURCE. 8633 8634 * NEWS: Document this. 8635 * doc/autoconf.texi (Particular Functions, UNIX Variants): Likewise. 8636 8637 * lib/autoconf/functions.m4 (_AC_FUNC_FNMATCH): New macro. 8638 (AC_FUNC_FNMATCH): Use it. Test only for POSIX conformance, 8639 not for GNU extensions; this undoes part of the 2000-11-03 change, 8640 reverting to 2.13-compatible behavior. 8641 Add new optional argument DIR. 8642 (AC_FUNC_FNMATCH_GNU): New macro. 8643 8644 * lib/autoconf/specific.m4 (AC_GNU_SOURCE): New macro. 8645 86462002-05-08 Paul Eggert <eggert@twinsun.com> 8647 8648 * lib/autoconf/headers.m4 (AC_HEADER_TIOCGWINSZ): 8649 Don't require AC_SYS_POSIX_TERMIOS. The test is unnecessary, 8650 and it causes a 'test' syntax error if it fails. 8651 Bug reported by Stephen Gildea. 8652 8653 * lib/autoconf/functions.m4 (AC_FUNC_SETVBUF_REVERSED): 8654 If prototypes are supported, use them to check this at compile-time, 8655 instead of trying to check it at run-time. If we must do a run-time 8656 check, assume that setvbuf is standard when cross-compiling, as 8657 nonstandard setvbuf occurs only on ancient and unlikely hosts. 8658 Bug reported by Paul D. Smith. 8659 8660 * lib/autoconf/functions.m4 (AC_FUNC_GETLOADAVG): Add optional 8661 argument specifying location of getloadavg.c. This removes a 8662 FIXME. This idea was taken from Jim Meyering's implementation in 8663 textutils. 8664 * doc/autoconf.texi (Particular Functions): Document this. 8665 Also, mention HAVE_NLIST_H rather than NLIST_STRUCT, since 8666 that's what the code does; this fixes a bug reported by 8667 Paul D. Smith. 8668 86692002-05-03 Akim Demaille <akim@epita.fr> 8670 8671 * bin/autoreconf.in (autoreconf): Rewrite to use Gettext's 8672 autopoint instead of gettextize. 8673 ($uses_alocal): Rename as... 8674 ($uses_aclocal): this. 8675 * doc/autoconf.texi (autoreconf Invocation): Adjust. 8676 Suggested by Bruno Haible. 8677 86782002-05-03 Akim Demaille <akim@epita.fr> 8679 8680 * lib/m4sugar/m4sugar.m4 (m4_map_sep): New. 8681 86822002-04-29 Paul Eggert <eggert@twinsun.com> 8683 8684 * bin/autoreconf.in (autoreconf): Don't age aclocal.m4's input 8685 files to be 1 second older; just set them to be the same time. 8686 Also, sleep 1 second after the first aclocal, to work around 8687 problems with sub-second time stamps on the input files. 8688 86892002-04-29 Thien-Thi Nguyen <ttn@gnu.org> 8690 8691 * doc/autoconf.texi: Mention "set -e -x" lossage 8692 under node "Limitations of Builtins". 8693 86942002-04-29 Akim Demaille <akim@epita.fr> 8695 8696 * doc/install.texi: Better wording for setting variables when 8697 running configure. 8698 From Christian Cornelssen. 8699 87002002-04-29 Akim Demaille <akim@epita.fr> 8701 8702 * tests/m4sh.at (LINENO): If testsuite itself is rewritten because 8703 of lack of $LINENO support, then the test will compare the $LINENO 8704 in testsuite vs. the lineno in the test file. This is wrong, of 8705 course. 8706 Be sure to protect it. 8707 Reported by Patrick Welche. 8708 87092002-04-25 Akim Demaille <akim@epita.fr> 8710 8711 * doc/autoconf.texi (Obsolete Macros): Typo. 8712 Reported by Vladimir Volovich. 8713 87142002-04-25 Akim Demaille <akim@epita.fr> 8715 8716 * bin/autoreconf.in (autoreconf): Don't let aclocal.m4 be older 8717 than some of the input files, hence, on the second run of aclocal, 8718 if some of its input are younger, make them older. 8719 Suggested by Paul Eggert. 8720 87212002-04-25 Akim Demaille <akim@epita.fr> 8722 8723 * doc/autoconf.texi (Limitations of Usual Tools): sed and `!'. 8724 Thanks to Paul Eggert. 8725 87262002-04-25 Akim Demaille <akim@epita.fr> 8727 8728 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Let ac_subst_files 8729 and ac_subst_vars be sh variables containing the list of 8730 AC_SUBST_FILES'ed and AC_SUBST'ed identifiers. Output them in the 8731 DEFAULT diversion. 8732 (_AC_INIT_PREPARE): Use them to log them. 8733 (_AC_SUBST, _AC_SUBST_SED_PROGRAM): Remove. 8734 (AC_SUBST, AC_SUBST_FILE): Instead of buliding the 8735 _AC_SUBST_SED_PROGRAM, store the list of output files/variables in 8736 _AC_SUBST_FILES and _AC_SUBST_VARS. 8737 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Adjust. 8738 87392002-04-24 Akim Demaille <akim@epita.fr> 8740 8741 * bin/autoreconf.in (autoreconf): Run automake after autoconf and 8742 autoheader, so that automake does not complain about a missing 8743 config.h.in that was to be created. 8744 87452002-04-23 Akim Demaille <akim@epita.fr> 8746 8747 * bin/autoheader.in (parse_args): --warning takes an argument. 8748 Fixes PR/220. 8749 87502002-04-22 Peter Eisentraut <peter_e@gmx.net> 8751 8752 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Remove gmon.out 8753 and bb.out when cleaning up. 8754 87552002-04-22 Akim Demaille <akim@epita.fr> 8756 8757 Version 2.53a. 8758 87592002-04-22 Akim Demaille <akim@epita.fr> 8760 8761 * tests/m4sh.at (LINENO): Fix the Zsh skip pattern. 8762 87632002-04-22 Akim Demaille <akim@epita.fr> 8764 8765 * doc/autoconf.texi (Pretty Help Strings): Remove a spurious 8766 comma. 8767 Reported by Gregory Giannoni. 8768 87692002-04-22 Akim Demaille <akim@epita.fr> 8770 8771 * tests/m4sh.at (LINENO): Skip the test if LINENO cannot be unset. 8772 Fixes false failures on Darwin. 8773 87742002-04-21 Paul Eggert <eggert@twinsun.com> 8775 8776 * TODO, bin/autoupdate.in, doc/autoconf.texi, 8777 lib/autoconf/general.m4, lib/autoconf/libs.m4, 8778 lib/autoconf/status.m4, lib/m4sugar/m4sugar.m4, tests/m4sh.at, 8779 tests/tools.at: Minor spelling and grammar fixes. 8780 87812002-04-20 Paul Eggert <eggert@twinsun.com> 8782 8783 * doc/autoconf.texi (Shell Substitutions): Fix typos in yesterday's 8784 ZSH_VERSION fixes. Bug reported by Raja R Harinath. 8785 * lib/autotest/general.m4 (AT_INIT): Likewise. 8786 * tests/atgeneral.m4 (AT_INIT): Likewise. 8787 87882002-04-19 Paul Eggert <eggert@twinsun.com> 8789 8790 * NEWS, TODO, bin/autom4te.in, bin/autoreconf.in, bin/autoupdate.in, 8791 doc/autoconf.texi, lib/freeze.mk, lib/Autom4te/Struct.pm, 8792 lib/autoconf/autoheader.m4, lib/autoconf/c.m4, 8793 lib/autoconf/functions.m4, lib/autoconf/general.m4, 8794 lib/autoconf/lang.m4, lib/autoconf/libs.m4, lib/autoscan/identifiers, 8795 lib/autotest/general.m4, lib/m4sugar/m4sh.m4, tests/atgeneral.m4, 8796 tests/atspecific.m4, tests/semantics.at, tests/torture.at: 8797 Minor spelling and grammar fixes. 8798 8799 * doc/autoconf.texi: Follow the outline suggested in the GNU 8800 Sample Texts sections of the Texinfo 4.2 manual. Most 8801 importantly, this makes sure that the copyright notices appear in 8802 all output formats. You probably need Texinfo 4.2 to generate 8803 the manual now. 8804 8805 Fix some bugs when using "$@" when there might be zero positional 8806 arguments in cases where this matters. 8807 8808 * bin/autoconf.as: Rewrite so that the problem does not come up. 8809 * lib/autoconf/programs.m4 (AC_CHECK_PROG): Likewise. 8810 * lib/autoconf/status.m4 (AC_OUTPUT): Likewise. 8811 * lib/autotest/general.m4 (AT_INIT): Likewise. 8812 8813 * bin/autoheader.in: Use 'case' statement to work around problem. 8814 * bin/auto4mte.in: Likewise. 8815 * bin/autoreconf.in: Likewise. 8816 * bin/autoscan.in: Likewise. 8817 * bin/autoupdate.in: Likewise. 8818 * bin/ifnames.in: Likewise. 8819 8820 * doc/autoconf.texi (Shell Substitutions): Document the problem. 8821 8822 * lib/autotest/general.m4 (AT_INIT): 8823 Use Zsh alias to work around problem. 8824 * tests/atgeneral.m4 (AT_INIT): Likewise. 8825 8826 * tests/c.at: We can't have zero arguments, so remove workaround 8827 that is not portable to Zsh. 8828 88292002-04-19 Alexandre Duret-Lutz <duret_g@epita.fr> 8830 8831 * bin/autoupdate.in (handle_autoconf_macros): Honor AU_DEFUNs 8832 from aclocal.m4 too. 8833 88342002-04-12 Akim Demaille <akim@epita.fr> 8835 8836 * tests/wrappl.as: New, M4sh precursor of wrappl.in. 8837 88382002-04-10 Akim Demaille <akim@epita.fr> 8839 8840 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Install the Zsh 8841 workaround for ${1+"$@"}. 8842 * doc/autoconf.texi (Shell Substitutions): Explain it. 8843 From Oliver Kiddle and Peter Stephenson. 8844 8845 Have M4sh perform minimal shell sanitizing. 8846 8847 * lib/m4sugar/m4sh.at (AS_SHELL_SANITIZE): Split the `_AS_PREPARE_*' 8848 part into... 8849 (_AS_PREPARE): this new macro. 8850 (AS_PREPARE): New. 8851 (AS_INIT): Invoke AS_SHELL_SANITIZE. 8852 * tests/m4sh.at (AT_DATA_LINENO): Use _AS_PREPARE. 8853 8854 Adjust Autoconf and Autotest. 8855 8856 * lib/autoconf/general.m4 (_AC_INIT_DEFAULTS): Don't invoke 8857 AS_SHELL_SANITIZE, AS_INIT did it, but invoke AS_PREPARE. 8858 * lib/autotest/general.m4 (AT_INIT): Likewise. 8859 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): 8860 Invoke _AS_PREPARE (not AS_PREPARE) in addition to 8861 AS_SHELL_SANITIZE. 8862 8863 Use this M4sh to generate Autoconf's shell scripts. 8864 8865 * tests/wrapsh.as: New, precursor of wrapsh.in. 8866 * tests/Makefile.am: Include lib/freeze.mk to get the dependencies 8867 on Autotest and M4sh. 8868 ($(TESTSUITE)): Use $(autotest_m4f_dependencies). 8869 (wrapsh.in): New target. 8870 * bin/autoconf.as: New, precursor of autoconf.in. 8871 (autoconf.in): New target. 8872 88732002-04-09 Alexandre Duret-Lutz <duret_g@epita.fr> 8874 8875 * doc/autoconf.texi (Limitations of Make): Mention the issue 8876 with indented comments in rules. 8877 88782002-04-09 Andreas Schwab <schwab@suse.de> 8879 8880 * lib/autoconf/status.m4 (_AC_SRCPATHS): Handle empty 8881 ac_top_builddir when setting ac_abs_top_builddir. 8882 88832002-04-06 Kevin Ryde <user42@zip.com.au> 8884 8885 * doc/autoconf.texi (Systemology): Add link to Unix V7 online docs. 8886 (Portable Shell): Cross reference to Systemology. 8887 88882002-04-05 Akim Demaille <akim@epita.fr> 8889 8890 * bin/autoreconf.in (autoreconf): Be sure to accumulate the 8891 directories when descending in a SUBDIRS. 8892 Reported by Ezra Peisach. 8893 88942002-04-04 Andreas Schwab <schwab@suse.de> 8895 8896 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Only simplify if path 8897 contains no literal separators. 8898 88992002-04-03 Akim Demaille <akim@epita.fr> 8900 8901 * lib/autoconf/status.m4 (_AC_CONFIG_FILE, _AC_CONFIG_HEADER) 8902 (_AC_CONFIG_COMMAND, _AC_CONFIG_LINK): New. 8903 Use dnl, not the KILL diversion. 8904 Extracted from... 8905 (AC_CONFIG_FILES, AC_CONFIG_HEADERS, AC_CONFIG_COMMANDS) 8906 (AC_CONFIG_LINKS): here. 8907 Adjust. 8908 Don't use the KILL diversion, as it kills spurious output, which 8909 results in failures being hidden. 8910 Use m4_defn where appropriate. 8911 (AC_CONFIG_IF_MEMBER): Kill the real bug: a spurious parenthesis 8912 after the second argument. 8913 Use m4_defn. 8914 * lib/autom4te.in (Autoconf, Autotest, M4sh): Don't pass --warning 8915 syntax, as it is provided by M4sugar. 8916 * tests/torture.at (Multiple AC_CONFIG_FILES): New. 8917 89182002-04-03 Andreas Schwab <schwab@suse.de> 8919 8920 * lib/m4sugar/m4sugar.m4 (m4_bmatch): Make sure m4_bregexp is not 8921 expanded if $# <= 2. 8922 8923 * bin/autoreconf.in (autoreconf): Run automake after rerunning 8924 aclocal. 8925 89262002-04-03 Akim Demaille <akim@epita.fr> 8927 8928 * lib/autoconf/lang.m4 (_AC_COMPILER_OBJEXT_REJECT) 8929 (_AC_COMPILER_EXEEXT_REJECT): New. 8930 Also recognize *.bb and *.bbg as compilation byproducts. 8931 (_AC_COMPILER_EXEEXT_DEFAULT, _AC_COMPILER_EXEEXT_O) 8932 (_AC_COMPILER_OBJEXT): Use them. 8933 Fixes Debian #138666. 8934 89352002-04-02 Peter Eisentraut <peter_e@gmx.net> 8936 8937 Integrate AC_PROG_CC_STDC into AC_PROG_CC. 8938 8939 * lib/autoconf/c.m4 (AC_PROG_CC_STDC): Rename to _AC_PROG_CC_STDC. 8940 AU_DEFUN old name. Use _AC_COMPILE_IFELSE. 8941 (AC_PROG_CC): Call _AC_PROG_CC_STDC. 8942 (AC_C_INLINE): Do not require AC_PROG_CC_STDC. 8943 (AC_C_CONST): Same. 8944 (AC_C_INLINE): Same. 8945 (AC_C_PROTOTYPES): Same. Require AC_PROG_CC instead. 8946 * doc/autoconf.texi, NEWS: Document. 8947 * tests/mktests.sh (au_exclude_list): Add AC_PROG_CC_STDC and 8948 AC_C_CROSS. 8949 89502002-04-02 Akim Demaille <akim@epita.fr> 8951 8952 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Invoke 8953 _AS_MKDIR_P_PREPARE. 8954 89552002-03-28 Kevin Ryde <user42@zip.com.au> 8956 8957 * lib/autoconf/c.m4 (AC_C_INLINE): Test with a typedef return value, 8958 to avoid versions of HP C which don't allow that. 8959 89602002-03-27 Paul Eggert <eggert@twinsun.com> 8961 8962 * lib/m4sugar/m4sh.m4 (_AS_BASENAME_PREPARE): New macro. 8963 (AS_SHELL_SANITIZE): Invoke it. 8964 (AS_BASENAME): AS_REQUIRE it, and use $as_basename. 8965 89662002-03-26 Akim Demaille <akim@epita.fr> 8967 8968 * doc/autoconf.texi (Portable Shell): Add pointers to FAQs. 8969 89702002-03-26 Akim Demaille <akim@epita.fr> 8971 8972 * doc/autoconf.texi (Introduction): The GNATS base moved. 8973 89742002-03-25 Paul Eggert <eggert@twinsun.com> 8975 8976 * tests/m4sh.at: Don't rely on "PATH=test:$PATH test-1" working 8977 as POSIX requires, as it doesn't work with Zsh. 8978 * doc/autoconf.texi (Assignments): Document the problem. 8979 89802002-03-25 Alexandre Duret-Lutz <duret_g@epita.fr> 8981 8982 * doc/autoconf.texi (Limitations of Make): Mention more issue 8983 about VPATH, overriding of macros in sub-makes, and handling of 8984 SHELL. 8985 89862002-03-21 Paul Eggert <eggert@twinsun.com> 8987 8988 * doc/autoconf.texi (Here-Documents): Mention Solaris 8 dtksh 8989 problem with here-document buffer boundaries. 8990 8991 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Unset ENV and BASH_ENV 8992 when reinvoking the shell, to work around problems with installers 8993 who put strange things like "cd" commands in their environments. 8994 89952002-03-19 Akim Demaille <akim@epita.fr> 8996 8997 * tests/semantics.at (AC_C_BIGENDIAN): s/unknow/unknown/. 8998 From Aaron Ucko. 8999 90002002-03-19 Akim Demaille <akim@epita.fr> 9001 9002 * bin/autoscan.in (scan_file): Specify the location in `&used' 9003 invocations. 9004 From Nicolas Joly. 9005 90062002-03-19 Akim Demaille <akim@epita.fr> 9007 9008 * doc/autoconf.texi: Adjust @code/@command, @xref/@ref usage. 9009 From Nishio Futoshi. 9010 90112002-03-19 Akim Demaille <akim@epita.fr> 9012 9013 * lib/m4sugar/m4sugar.m4 (m4_define_default, m4_fst, m4_map): New. 9014 90152002-03-18 Paul Eggert <eggert@twinsun.com> 9016 9017 * doc/autoconf.texi (Programming in M4sh): Add AS_MKDIR_P. 9018 (Limitations of Usual Tools): Add mkdir section. 9019 9020 * lib/m4sugar/m4sh.m4 (_AS_MKDIR_P_PREPARE): New macro. 9021 (AS_MKDIR_P): Require it. Use mkdir -p if available, falling 9022 back on AS_DIRNAME to compute prefixes otherwise; this is 9023 roughly what mkinstalldirs does. That way, we need not have 9024 our own filename disassembler. The old disassembler did not 9025 work with Solaris 8 dtksh, which is ksh Version M-12/28/93d. 9026 9027 * lib/autotest/general.m4 (AT_INIT, AT_CLEANUP): 9028 Create at_test_all by a series of assignments, 9029 not by a single assignment of a long string. The latter causes ksh 9030 version 11/16/88g to silently misbehave on OpenServer 5.0.6a, 9031 presumably because of a buffer overrun. 9032 90332002-03-14 Paul Eggert <eggert@twinsun.com> 9034 9035 * lib/autotest/general.m4 (at_times_skip): 9036 Renamed from at_times. Now a boolean. 9037 ksh93 Version M-12/28/93d doesn't like 'x=times; $x'; it 9038 says 'times: not found'. 9039 90402002-03-14 Akim Demaille <akim@epita.fr> 9041 9042 * bin/autoreconf.in (&study_gettextize): New. 9043 (&autoreconf): Handle newest gettextize. 9044 Rerun aclocal if needed. 9045 Suggested by Andreas Schwab. 9046 90472002-03-13 Akim Demaille <akim@epita.fr> 9048 9049 * doc/autoconf.texi (Special Shell Variables): More about IFS. 9050 90512002-03-13 Akim Demaille <akim@epita.fr> 9052 9053 * doc/autoconf.texi (Header Portability): New. 9054 Add information about stdint.h and inttypes.h from Paul Eggert. 9055 90562002-03-13 Akim Demaille <akim@epita.fr> 9057 9058 * doc/autoconf.texi (Limitations of Usual Tools): Some about `cp 9059 -p'. 9060 From Bob Proulx. 9061 90622002-03-12 Akim Demaille <akim@epita.fr> 9063 9064 * lib/m4sugar/m4sh.m4 (AS_BASENAME_EXPR): AS_REQUIRE, not 9065 m4_require. 9066 90672002-03-11 Andreas Schwab <schwab@suse.de> 9068 9069 * configure.ac: Explicitly check for EMACS since AM_PATH_LISPDIR 9070 does not do it if --with-lispdir is given. 9071 90722002-03-08 Akim Demaille <akim@epita.fr> 9073 9074 Version 2.53. 9075 90762002-03-08 Akim Demaille <akim@epita.fr> 9077 9078 * doc/autoconf.texi (Subdirectories): Clarify that the 9079 subdirectory should exist. 9080 90812002-03-08 Akim Demaille <akim@epita.fr> 9082 9083 * Makefile.am (AUTOMAKE_OPTIONS): 1.6. 9084 90852002-03-08 Akim Demaille <akim@epita.fr> 9086 9087 * bin/autom4te.in (&handle_m4): Do not foreach with `$_' as it 9088 aliases the actual variables, and modifications of the former 9089 affect the latter. 9090 90912002-03-08 Akim Demaille <akim@epita.fr> 9092 9093 * bin/autom4te.in (&handle_m4): Protect us from corrupted file 9094 because of C-c: have m4 output in tmp files, then mv them. 9095 90962002-03-08 Akim Demaille <akim@epita.fr> 9097 9098 * bin/autoconf.in, bin/autoheader.in, bin/autom4te.in, 9099 * bin/autoreconf.in, bin/autoscan.in, bin/autoupdate.in, 9100 * bin/ifnames.in: Copyright update. 9101 91022002-03-08 Akim Demaille <akim@epita.fr> 9103 9104 * doc/autoconf.texi (Invoking autom4te): New. 9105 91062002-03-05 Akim Demaille <akim@epita.fr> 9107 9108 * doc/autoconf.texi (Specifying Names): Clarification suggested by 9109 Kevin Ryde. 9110 91112002-03-05 Akim Demaille <akim@epita.fr> 9112 9113 Version 2.52i. 9114 91152002-03-04 Akim Demaille <akim@epita.fr> 9116 9117 * doc/autoconf.texi (AC_LIBOBJ vs. LIBOBJS): New. 9118 * lib/autoconf/general.m4 (AC_INIT): More informative error 9119 message for LIBOBJ. 9120 91212002-03-04 Akim Demaille <akim@epita.fr> 9122 9123 * lib/freeze.mk ($(build_libdir)/m4sugar/version.m4): New, for 9124 parallel builds. 9125 91262002-03-04 Akim Demaille <akim@epita.fr> 9127 9128 * doc/autoconf.texi (Transforming Names): Equality between target 9129 and host is irrelevant. 9130 (Specifying Names, Canonicalizing): Remove all references to the 9131 backward compatibility hooks. Rather, collect them all into... 9132 (Hosts and Cross-Compilation): this new section. 9133 * doc/install.texi (System Type): Ditto. 9134 * lib/autoconf/general.m4 (AC_CANONICAL_HOST): Explicitly state 9135 that `--host' implies cross-compilation. 9136 91372002-03-04 Akim Demaille <akim@epita.fr> 9138 9139 * doc/autoconf.texi (Evaluation Macros): New. 9140 * lib/m4sugar/m4sugar.m4 (m4_lquote): Remove, it is totally 9141 useless. 9142 (_m4_foreach): Define the variant with immediate evaluation so 9143 that it contains exactly the items, not an expression which 9144 evaluation is the current item. 9145 (m4_re_string, m4_re_word): Don't over quote them. 9146 91472002-03-04 Akim Demaille <akim@epita.fr> 9148 9149 Instead of having stacking `shift's evaluated at the end, let 9150 `foreach' loops immediately evaluate them. 9151 9152 * lib/m4sugar/m4sugar.m4 (m4_quote, m4_dquote): Use $@ rather than 9153 $*. This is the n-th time I change my mind, but hopefully this is 9154 the last... 9155 (m4_lquote): New. 9156 (m4_text_wrap): Use m4_foreach, which is finally correct _and_ 9157 efficient. 9158 (m4_foreach_quoted, m4_car_quoted, _m4_foreach_quoted): Remove, as 9159 it was only a hack for m4_text_wrap. 9160 (m4_car2): Remove, replaced by... 9161 (m4_cdr): New. 9162 (_m4_foreach): Adjust. 9163 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust, and use 9164 m4_bpatsubst for clarification. 9165 91662002-03-04 Akim Demaille <akim@epita.fr> 9167 9168 * doc/autoconf.texi (Changequote is Evil): New. 9169 91702002-03-03 Kevin Ryde <user42@zip.com.au> 9171 9172 * doc/autoconf.texi (Portable Shell): Mention 32-byte #! length limit 9173 on old systems like SunOS. 9174 91752002-03-01 Peter Eisentraut <peter_e@gmx.net> 9176 9177 * lib/autoconf/c.m4, lib/autoconf/fortran.m4, 9178 lib/autoconf/functions.m4, lib/autoconf/general.m4, 9179 lib/autoconf/headers.m4, lib/autoconf/lang.m4, 9180 lib/autoconf/programs.m4, lib/autoconf/status.m4: Improve spelling 9181 of messages. 9182 91832002-02-28 Akim Demaille <akim@epita.fr> 9184 9185 * lib/autotest/general.m4 (AT_INIT): Suggest a title to the 9186 message to be sent. 9187 91882002-02-28 Kevin Ryde <user42@zip.com.au> 9189 9190 * doc/autoconf.texi (Function Portability): Add va_copy and va_list. 9191 91922002-02-25 Akim Demaille <akim@epita.fr> 9193 9194 * lib/autoconf/functions.m4 (AC_FUNC_SETPGRP): Fix the test. 9195 From Akinori Musha. 9196 91972002-02-13 Alexandre Duret-Lutz <duret_g@epita.fr> 9198 9199 * lib/Autom4te/XFile.pm (getline, getlines): New functions, 9200 translate \r\n to \n. 9201 92022002-02-07 Akim Demaille <akim@epita.fr> 9203 9204 Version 2.52h. 9205 92062002-02-07 Akim Demaille <akim@epita.fr> 9207 9208 Fix Autoconf PR/209. 9209 Also reported by Frank Denis. 9210 9211 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Don't over quote. 9212 92132002-02-07 Akim Demaille <akim@epita.fr> 9214 9215 Fix Autoconf PR/207: 9216 AC_PREFIX_PROGRAM fails with dashed program names 9217 9218 * lib/autoconf/general.m4 (AC_PREFIX_PROGRAM): Just use a fresh 9219 variable when looking for the prefix program. 9220 Now it also works for shell variables. 9221 92222002-02-07 Akim Demaille <akim@epita.fr> 9223 9224 * doc/autoconf.texi (Limitations of Builtins): More about 9225 case/esac. 9226 92272002-02-06 Akim Demaille <akim@epita.fr> 9228 9229 * lib/autoconf/status.m4 (_AC_OUTPUT_COMMANDS): Don't output empty 9230 case/esac, some shells don't support it. 9231 Reported by Zack Weinberg. 9232 * tests/torture.at (AC_CONFIG_COMMANDS with empty commands): New. 9233 92342002-02-06 Akim Demaille <akim@epita.fr> 9235 9236 * lib/autotest/general.m4 (AT_INIT): When handling --keywords, be 9237 sure not to introduce newlines in at_groups. 9238 * lib/autotest/Makefile.am (autotest.m4f): Typo. 9239 92402002-02-06 Akim Demaille <akim@epita.fr> 9241 9242 * tests/torture.at (Configuring subdirectories): Skip if aclocal 9243 is not available. 9244 92452002-02-05 Paul Eggert <eggert@twinsun.com> 9246 9247 * doc/autoconf.texi (Specific Compiler Characteristics): 9248 Describe HP-UX cc bug workaround more accurately. 9249 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast to long, 9250 not unsigned long. 9251 * tests/semantics.at (AC_CHECK_SIZEOF): Check non-GCC 9252 cross-compilers, too. This undoes some of the most recent change 9253 to this file. 9254 92552002-02-05 Akim Demaille <akim@epita.fr> 9256 9257 * tests/Makefile.am (check_SCRIPTS): Use it, instead of WRAPPERS, 9258 to make sure they are up to date when `check' is run. 9259 92602002-02-05 Akim Demaille <akim@epita.fr> 9261 9262 * doc/autoconf.texi (Making testsuite Scripts): Document 9263 package.m4. 9264 92652002-02-05 Akim Demaille <akim@epita.fr> 9266 9267 * lib/freeze.mk: New. 9268 92692002-02-05 Akim Demaille <akim@epita.fr> 9270 9271 Implement `autom4te --freeze'. 9272 9273 * bin/autom4te.in (&freeze): New. 9274 * lib/autoconf/autoconf.m4, lib/autotest/general.m4, 9275 * lib/m4sugar/m4sh.m4: Don't include files given by autom4te. 9276 92772002-02-05 Akim Demaille <akim@epita.fr> 9278 9279 * bin/autom4te.in (&parse_args): Implement `frozen files are 9280 optional are the sum of the previous files on the command line'. 9281 Also, pass `--reload-state=' on them, so... 9282 (handle_m4): don't. 9283 * lib/autom4te.in (Autotest, Autoconf): Rely on M4sh. 9284 (M4sh): Rely on M4sugar. 9285 (Autotest, M4sh, M4sugar): Use frozen files. 9286 92872002-01-31 Akim Demaille <akim@epita.fr> 9288 9289 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Accept $4. 9290 * doc/autoconf.texi (Initializing configure): Adjust. 9291 92922002-01-30 Akim Demaille <akim@epita.fr> 9293 9294 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Map non 9295 alphanumeric to `-' instead of `_'. 9296 92972002-01-30 Akim Demaille <akim@epita.fr> 9298 9299 * tests/semantics.at (AC_CHECK_SIZEOF): Split into two tests: one 9300 for plain code, the other for cross-compilation code. The latter 9301 is now run with GCC only. 9302 * doc/autoconf.texi (Compilers and Preprocessors): New. 9303 93042002-01-30 Akim Demaille <akim@epita.fr> 9305 9306 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Support pre-defined 9307 values. 9308 * doc/autoconf.texi (Initializing configure): Explain how to 9309 change AC_INIT default values. 9310 93112002-01-29 Akim Demaille <akim@epita.fr> 9312 9313 * tests/torture.at (Configuring subdirectories): Use configure.in, 9314 so that aclocal 1.4 works. 9315 Reported by Alexandre Duret-Lutz and Larry Schmitt. 9316 93172002-01-28 Akim Demaille <akim@epita.fr> 9318 9319 * doc/autoconf.texi (Writing testsuite.at): AT_CLEANUP no longer 9320 needs an argument. 9321 93222002-01-28 Akim Demaille <akim@epita.fr> 9323 9324 * lib/autotest/general.m4 (AT_INIT): Don't be ridiculous: adjust 9325 AUTOTEST_PATH *after* it was set. 9326 Don't put `.' in the PATH: the user should be precise and `./' if 9327 needed. In addition, given that the test suite does some `cd', if 9328 `.' is in the path, the `tested programs' sections will report 9329 programs found in the test suite's directory, while during the 9330 tests (performed in their own directory), these programs are no 9331 longer visible. In other words, the results is confusing and 9332 useless. 9333 * tests/m4sh.at: Adjust: don't rely on `.' being in the PATH. 9334 93352002-01-24 Akim Demaille <akim@epita.fr> 9336 9337 Version 2.52g. 9338 93392002-01-24 Akim Demaille <akim@epita.fr> 9340 9341 * bin/autoheader.in, bin/autoconf.in, bin/autoscan.in, 9342 * doc/autoconf.texi: Finally add Akim as an author. 9343 93442002-01-24 Akim Demaille <akim@epita.fr> 9345 9346 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Use PATH_SEPARATOR. 9347 (_AS_PATH_SEPARATOR_PREPARE): Don't expect $SHELL to be 9348 Bourne. Use /bin/sh. 9349 From Andreas Buening. 9350 93512002-01-24 Akim Demaille <akim@epita.fr> 9352 9353 * config/config.guess, config/config.sub, config/texinfo.tex: 9354 Update from masters. 9355 93562002-01-24 Akim Demaille <akim@epita.fr> 9357 9358 * Makefile.am (AUTOMAKE_OPTIONS): 1.5b. 9359 * config/auxdir.m4, config/cond.m4, config/depend.m4, 9360 * config/init.m4, config/install-sh.m4, config/lispdir.m4, 9361 * config/missing.m4, config/sanity.m4, config/select.m4, 9362 * config/strip.m4: Remove, to ease sync'ing with any version of 9363 Automake. 9364 93652002-01-24 Akim Demaille <akim@epita.fr> 9366 9367 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS) 9368 (_AC_INIT_PREPARE): Support -n as --no-create, as documented. 9369 Reported by Geir Ove Myhr. 9370 93712002-01-21 Akim Demaille <akim@epita.fr> 9372 9373 * lib/autoconf/functions.m4 (AC_FUNC_MMAP): #Undef malloc. 9374 93752002-01-21 Akim Demaille <akim@epita.fr> 9376 9377 * lib/Autom4te/General.pm (getopt): Use a more GNUish error 9378 message on invalid options. 9379 * bin/autom4te.in (parse_args): Don't use 9380 Autoconf::General::getopt with non valid options. 9381 93822002-01-17 Jim Meyering <meyering@lucent.com> 9383 9384 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Initialize 9385 $ac_cv_exeext so we don't use an old, invalid, cached value. 9386 93872002-01-11 Akim Demaille <akim@epita.fr> 9388 9389 * lib/autoconf/functions.m4 (AC_FUNC_STRNLEN): New, from Jim 9390 Meyering. 9391 * doc/autoconf.texi (Function Portability): Document the strnlen 9392 limitation. 9393 (Particular Functions): Document AC_FUNC_STRNLEN. 9394 * lib/autoscan/functions: Adjust. 9395 93962002-01-06 Akim Demaille <akim@epita.fr> 9397 9398 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't create 9399 package.m4, since is really depends upon configure.ac, not 9400 configure. 9401 * doc/autoconf.texi (testsuite Scripts): Adjust. 9402 * tests/Makefile.am (package.m4): New. 9403 EXTRA_DIST it since its a source. 9404 94052002-01-06 Akim Demaille <akim@epita.fr> 9406 9407 * lib/autoconf/general.m4 (_AC_INIT_PARSE_ARGS): Move the AC_SUBST 9408 of PACKAGE_NAME, PACKAGE_TARNAME, PACKAGE_VERSION, PACKAGE_STRING, 9409 and PACKAGE_BUGREPORT from here... 9410 (_AC_INIT_DEFAULTS): to here, since it is unrelated to the 9411 arguments. 9412 (_AC_INIT_PREPARE): AC_DEFINE these symbols. 9413 * lib/autotest/general.m4: Use AT_PACKAGE_*, not PACKAGE_*. 9414 (AT_INIT): No longer catch `^PACKAGE_(BUGREPORT|STRING)$'. 9415 * tests/tools.at (autoheader): Adjust. 9416 * tests/atspecific.m4 (AT_CHECK_DEFINES): Adjust. 9417 94182002-01-06 Akim Demaille <akim@epita.fr> 9419 9420 * bin/autoscan.in (scan_file): Use `&used'. 9421 94222002-01-03 Akim Demaille <akim@epita.fr> 9423 9424 * doc/autoconf.texi (Output): Improved wording regarding use of 9425 AC_OUTPUT. 9426 From Olly Betts. 9427 94282001-12-18 Kevin Ryde <user42@zip.com.au> 9429 9430 * doc/autoconf.texi (Function Portability): Add notes on sscanf 9431 sometimes needing writable input. 9432 94332001-12-17 Jim Meyering <meyering@lucent.com> 9434 9435 * doc/autoconf.texi (New Macros): Tweak wording. 9436 94372001-12-14 Akim Demaille <akim@epita.fr> 9438 9439 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): We cleaning up the 9440 trailing files, don't apply `-rf' to files which might not be 9441 created by configure (core, core.*, and *.core), but just `rm -f'. 9442 Suggested by Jonathan Kamens. 9443 94442001-12-14 Aaron M. Ucko <amu@alum.mit.edu> 9445 9446 * lib/autoconf/general.m4: Avoid duplicates in `$ac_configure_args'. 9447 94482001-12-14 Akim Demaille <akim@epita.fr> 9449 9450 * Makefile.am (MAINTAINERCLEANFILES): Remove configure. 9451 94522001-12-13 Peter Eisentraut <peter_e@gmx.net> 9453 9454 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename buildpath to 9455 abs_builddir, top_buildpath to abs_top_builddir, srcpath to 9456 abs_srcdir, top_srcpath to abs_top_srcdir. 9457 (_AC_OUTPUT_FILES): Adjust. 9458 * NEWS, doc/autoconf.texi, lib/autoconf/autotest.m4, 9459 * tests/atspecific.m4, tests/autoreconf.in, tests/tools.at, 9460 * tests/wrappl.in, tests/wrapsh.in: Adjust. 9461 94622001-12-12 Steven G. Johnson <stevenj@alum.mit.edu> 9463 9464 * lib/autoconf/fortran.m4 (_AC_PROG_F77_V_OUTPUT): Fix failed 9465 C/Fortran linking on HP/UX, by extracting the Fortran library 9466 search path from the LPATH line in the $F77 -v output. 9467 94682001-12-12 Kevin Ryde <user42@zip.com.au> 9469 9470 * doc/autoconf.texi (File Descriptors): Use a clearer layout for the 9471 forbidden file descriptors table. 9472 94732001-11-26 Akim Demaille <akim@epita.fr> 9474 9475 * bin/autoscan.in (%c_keywords): Build it at top level. 9476 Map to 1 in order to simplify its uses. 9477 94782001-11-26 Akim Demaille <akim@epita.fr> 9479 9480 * bin/autoscan.in (&scan_c_file, &scan_sh_file, &scan_makefile): 9481 Remove $filepath, useless. 9482 (&scan_makefile): Don't remove the $(FOO), ${FOO} and @FOO@ 9483 variables, they are really part of the tokens. 9484 Split the input line on spaces and then look for tokens. 9485 Now autoscan ceases to ask for AC_PROG_LEX for the package Bison 9486 because of `lex$U.$(OBJEXT)'. 9487 (&scan_files): Use "@list" instead of join. 9488 * doc/Makefile.am (CLEANFILES): Add *.fns. 9489 94902001-11-26 Akim Demaille <akim@epita.fr> 9491 9492 * tests/autoreconf.in, tests/autom4te.in, tests/autoupdate.in: 9493 Remove, replaced by... 9494 * tests/wrappl.in: Be common for all the Perl executables. 9495 In particular autoscan and autoheader want -I. 9496 * configure.ac: Adjust. 9497 * lib/autoscan/headers: errno.h is portable. 9498 94992001-11-26 Akim Demaille <akim@epita.fr> 9500 9501 * bin/autoscan.in (used): New. 9502 Use it. 9503 95042001-11-26 Akim Demaille <akim@epita.fr> 9505 9506 * bin/autoscan.in (&scan_c_file): Better parsing of CPP 9507 directives. 9508 (&scan_sh_file): Remove a duplicate pattern. 9509 (&check_configure_ac): Use long options. 9510 * lib/autoscan/headers (alloca.h): Check with AC_FUNC_ALLOCA. 9511 95122001-11-26 Akim Demaille <akim@epita.fr> 9513 9514 * bin/autoscan.in (scan_c_file): Fix the handling of C comments. 9515 Before, having a line containing the opening of a multi line 9516 comment made the whole line be ignored. 9517 95182001-11-26 Akim Demaille <akim@epita.fr> 9519 9520 * doc/autoconf.texi (Using an Autotest Test Suite): New. 9521 (testsuite Scripts): Be one of its subsection. 9522 (Autotest Logs): New. 9523 95242001-11-26 Akim Demaille <akim@epita.fr> 9525 9526 Test groups are now run two directories deeper. 9527 9528 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Replace srcdir, 9529 top_srcdir and top_builddir with at_srcdir, at_top_srcdir and 9530 at_top_builddir. 9531 * lib/autotest/general.m4 (AT_INIT): Compute srcdir, 9532 top_srcdir, builddir and top_builddir. 9533 Use `at_*dir' relatively to the directory containing the 9534 suite, use `*dir' when relatively to the current group dir. 9535 95362001-11-25 Joseph S. Myers <jsm28@cam.ac.uk> 9537 9538 * doc/autoconf.texi, TODO, lib/autoconf/fortran.m4, 9539 lib/autoconf/functions.m4, lib/autoconf/headers.m4, 9540 tests/atgeneral.m4, tests/tools.at, tests/atspecific.m4: Fix 9541 spelling errors. 9542 95432001-11-22 Alexandre Duret-Lutz <duret_g@epita.fr> 9544 9545 * doc/autoconf.texi (Using System Type): Add an example of `case 9546 $host' usage so people quit using `case $target' everywhere. 9547 95482001-11-22 Akim Demaille <akim@epita.fr> 9549 9550 * doc/autoconf.texi (Installation Directory Variables): Englishoes 9551 spotted by Jim Meyering. 9552 95532001-11-16 Paul Eggert <eggert@twinsun.com> 9554 9555 This patch implements a `long double' suggestion by Oliver Kiddle. 9556 9557 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Make the array 9558 static, to catch errors if the value isn't known at compile-time 9559 and the compiler supports dynamic arrays. Change its name from 9560 `_array_' to `test_array' to avoid potential name clashes. 9561 (AC_C_LONG_DOUBLE): Make it a compile-time test, not a run-time 9562 test. Do not define HAVE_LONG_DOUBLE if `long double' is no 9563 better than double. Catch a bug in GCC 2.95.2 x86. 9564 * doc/autoconf.texi (C Compiler): Document the above. 9565 * NEWS: Likewise. 9566 95672001-11-13 Akim Demaille <akim@epita.fr> 9568 9569 * tests/m4sh.at (LINENO): Protect from autom4te's substitution by 9570 hand. 9571 * tests/tools.at: Don't protect dnl, AT_DATA_M4SH does. 9572 95732001-11-13 Akim Demaille <akim@epita.fr> 9574 9575 * lib/autotest/general.m4 (AT_INIT): After having run the test 9576 group, go back to the initial directory, not to at_suite_dir. 9577 95782001-11-13 Akim Demaille <akim@epita.fr> 9579 9580 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH) 9581 (AT_DATA_AUTOCONF): Also protect @&t@ from autom4te. 9582 (AT_CHECK_AUTOCONF, AT_CHECK_AUTOHEADER): Pass no --include 9583 option. 9584 (AT_CHECK_CONFIGURE): Use absolute paths. 9585 (_AT_CHECK_AC_MACRO): Create aclocal.m4 with AC_STATE_SAVE in it. 9586 The problem is still the old one: there is no means in M4 (that I 9587 know about) to create a defining macro, because there is no means 9588 to create `$1' etc., therefore, the defining macro ``swallows'' 9589 all the arguments meant to the defined macro. 9590 95912001-11-13 Akim Demaille <akim@epita.fr> 9592 9593 * tests/atspecific.m4 (AT_DATA_AUTOCONF): New. 9594 (AT_CONFIGURE_AC): Output the definition of AC_STATE_SAVE in 9595 configure.ac. 9596 * tests/aclocal.m4: Remove, as it is no longer used. 9597 95982001-11-13 Akim Demaille <akim@epita.fr> 9599 9600 * lib/autotest/general.m4: Change `tests?' into `groups?' in 9601 variable names when referring to a single test group, or to 9602 `suite' when referring to the whole test suite. 9603 `at_last_test' is removed: m4 compute at_format itself. 9604 (at_stdout, at_stder1, at_stderr): New variables. 9605 (AT_CHECK): Use them. 9606 96072001-11-13 Akim Demaille <akim@epita.fr> 9608 9609 * lib/autotest/general.m4 (AT_INIT): Be sure to put `.', relative, 9610 in PATH. 9611 Create `testsuite.dir/003/run' instead of `testsuite.003'. 9612 Do it as soon as a test fails, don't wait till the end of the test 9613 suite. 9614 Don't remove $as_me.[0-9]*, since these files no longer exist. 9615 96162001-11-13 Akim Demaille <akim@epita.fr> 9617 9618 * tests/tools.at: Use absolute paths, since we are no longer run 9619 in place. 9620 96212001-11-13 Akim Demaille <akim@epita.fr> 9622 9623 Now that tests are running in their own private dir, there is no 9624 need to list the files to remove at the end of tests groups. 9625 9626 * lib/autotest/general.m4 (_AT_CLEANUP_FILE, AT_CLEANUP_FILES): 9627 (AT_data_files, at_data_files): Remove. 9628 (AT_CLEANUP, AT_DATA): Simplify. 9629 (AT_INIT): Adjust. 9630 Remove the group dir if !debug && !failed. 9631 * tests/atspecific.m4: Adjust. 9632 96332001-11-13 Akim Demaille <akim@epita.fr> 9634 9635 Start a new layout for Autotest: `testsuite' creates 9636 `testsuite.dir' in which the at-check-line etc. files are to be 9637 found, and `testsuite.dir/003' where the test group 3 is run. 9638 9639 * lib/autotest/general.m4 (AT_INIT): at_tests_dir, 9640 at_check_line_file, at_format, at_test_normalized, at_group_dir 9641 are new variables. 9642 Create the directories. 9643 Use absolute paths for at- files. 9644 (AT_CHECK): Adjust. 9645 96462001-11-11 Michael Matz <matz@kde.org> 9647 9648 * m4sugar.m4 (_m4_foreach): Make it linear instead quadratic. 9649 (m4_car2): New. 9650 (m4_car): Properly quote arguments. 9651 96522001-11-13 Akim Demaille <akim@epita.fr> 9653 9654 * tests/aclocal.m4 (AC_STATE_SAVE): s/LIBOBJS/LIB@&t@OBJS/ to cope 9655 with stricter rules on LIBOBJS. 9656 96572001-11-12 Paul Eggert <eggert@twinsun.com> 9658 9659 * lib/autoconf/c.m4 (AC_C_PROTOTYPES): Define __PROTOTYPES too. 9660 * doc/autoconf.texi (C Compiler): AC_C_PROTOTYPES now defines 9661 __PROTOTYPES too. 9662 96632001-11-12 Akim Demaille <akim@epita.fr> 9664 9665 * lib/autoconf/functions.m4 (AC_FUNC_GETMNTENT): Use AC_CHECK_FUNCS. 9666 96672001-11-12 Akim Demaille <akim@epita.fr> 9668 9669 * lib/autoconf/c.m4, lib/autoconf/fortran.m4, 9670 * lib/autoconf/functions.m4, lib/autoconf/general.m4, 9671 * lib/autoconf/headers.m4, lib/autoconf/libs.m4, 9672 * lib/autoconf/programs.m4, lib/autoconf/specific.m4, 9673 * lib/autoconf/types.m4: When invoking AC_DEFINE and friends, 9674 specify to what the macro should be defined (typically to 1). 9675 96762001-11-12 Akim Demaille <akim@epita.fr> 9677 9678 * lib/autoconf/functions.m4 (AC_FUNC_STRTOD): AC_SUBST POW_LIB. 9679 From Jim Meyering. 9680 96812001-11-12 Akim Demaille <akim@epita.fr> 9682 9683 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use 9684 AC_TRY_EVAL to run $LEX, not AC_TRY_COMMAND. This validates the 9685 definition used by Automake where LEX is +/- "${missing} lex" and 9686 `missing' itself contains variables. 9687 96882001-11-12 Akim Demaille <akim@epita.fr> 9689 9690 * lib/autotest/general.m4 (AT_INIT): Push KILL at the end. 9691 Now that M4sh pushes BODY, the comments were output at the end of 9692 the test suites. 9693 96942001-11-08 Akim Demaille <akim@epita.fr> 9695 9696 * bin/autoreconf.in (&autoreconf): Run aclocal before tracing, so 9697 that we can trace macros from aclocal.m4. 9698 Trace AC_PROG_LIBTOOL, not AM_PROG_LIBTOOL, since the latter is 9699 obsoleted, and redirect to the former anyway. 9700 Reported by Ralf Corsepius. 9701 97022001-11-08 Akim Demaille <akim@epita.fr> 9703 9704 * bin/autoreconf.in (&autoreconf): AC_CONFIG_SUBIDRS are to be 9705 processed only if present. 9706 * tests/torture.at (Configuring subdirectories): Use autoreconf 9707 instead of successive calls to autoconf. 9708 Add a nonexistent subdirectory to exercise the patch above. 9709 Reported by Ralf Corsepius. 9710 97112001-11-08 Kevin Ryde <user42@zip.com.au> 9712 9713 * doc/autoconf.texi (Limitations of Usual Tools): Note HP-UX cc 9714 doesn't accept .S files. 9715 97162001-11-07 Akim Demaille <akim@epita.fr> 9717 9718 * lib/m4sugar/m4sugar.m4 (m4_pattern_forbid): Accepts $2. 9719 * lib/autoconf/general.m4 (AC_INTI): Forbid LIBOBJS. 9720 (_AC_LIBOBJ): s/LIBOBJS/LIB@&t@OBJS/. 9721 * bin/autom4te.in (warn_forbidden): New. 9722 (handle_output): Use it. 9723 Read m4_pattern_forbid with messages. 9724 97252001-11-05 Akim Demaille <akim@epita.fr> 9726 9727 * bin/autom4te.in (--normalize): Remove. 9728 * lib/autom4te.in: Adjust. 9729 97302001-11-05 Akim Demaille <akim@epita.fr> 9731 9732 * tests/Makefile.am (testsuite): Rename this target as... 9733 ($(TESTSUITE)): this. 9734 From Nicolas Joly. 9735 97362001-11-05 Alexandre Duret-Lutz <duret_g@epita.fr> 9737 9738 * lib/autoconf/status.m4 (_AC_OUTPUT_SUBDIRS): When removing 9739 the --prefix option, also remove it's argument. 9740 97412001-11-05 Akim Demaille <akim@epita.fr> 9742 9743 * doc/autoconf.texi (testsuite Invocation): Update. 9744 (Writing testsuite.at): Update. 9745 97462001-11-03 Akim Demaille <akim@epita.fr> 9747 9748 * doc/autoconf.texi: s/@code/@command/ where appropriate. 9749 97502001-11-03 Akim Demaille <akim@epita.fr> 9751 9752 * lib/Autom4te/General.pm: (&catfile, &canonfile) 9753 (&file_name_is_absolute): New, wrappers around routines from 9754 File::Spec. 9755 Use and export them. 9756 (&find_configure_ac): Optionally take a directory where to look at. 9757 * bin/autoreconf.in (&parse_args): Trim the configure.ac part of 9758 the arguments. 9759 Default @ARGV to `.', not find_configure_ac. 9760 (&autoreconf): Argument is a directory. 9761 Trace AC_CONFIG_SUBDIRS and schedule the subdirs for autoreconf'ing. 9762 * doc/autoconf.texi (autoreconf Invocation): Update. 9763 97642001-11-03 Akim Demaille <akim@epita.fr> 9765 9766 * lib/Autom4te/General.pm (@export_vars, @export_subs) 9767 (@export_forward_subs): New. 9768 Add basename, dirname, and fileparse. 9769 (@EXPORT): Adjust. 9770 * bin/autoreconf.in (&autoreconf): Fix call to fileparse. 9771 Don't look for aclocal flags if we already know aclocal is not 9772 used. 9773 Move aclocal.m4t only if it exists. 9774 Reported by Ezra Peisach. 9775 97762001-11-03 Akim Demaille <akim@epita.fr> 9777 9778 * bin/autoreconf.in (&parse_args): Work only on the configure.ac 9779 passed on command line, defaulting to ./configure.ac if present. 9780 (&maybe_autoreconf, File::Find): Remove, unused. 9781 (&autoreconf): If autoconf is not used, don't try to trace. 9782 97832001-11-02 Akim Demaille <akim@epita.fr> 9784 9785 * configure.ac: Bump to 2.52g. 9786 97872001-11-02 Akim Demaille <akim@epita.fr> 9788 9789 Version 2.52f. 9790 97912001-11-02 Akim Demaille <akim@epita.fr> 9792 9793 * config/config.guess, config/config.sub, doc/standards.texi: 9794 * config/lispdir.m4: Update from masters. 9795 * configure.ac: Bump to 2.52f. 9796 97972001-11-02 Akim Demaille <akim@epita.fr> 9798 9799 * bin/autoreconf.in (&autoreconf): Set `$aclocal_flags' to ''. 9800 Don't run aclocal when aclocal.m4 is not from aclocal. 9801 From Ezra Peisach. 9802 Don't run libtoolize and gettextize if --install is not given. 9803 98042001-11-01 Paul Eggert <eggert@twinsun.com> 9805 9806 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): _AS_CR_PREPARE needs to 9807 be invoked before _AS_LINENO_PREPARE. 9808 (_AS_LINENO_PREPARE): Use as_cr_digits and as_cr_alnum rather 9809 than character ranges. 9810 9811 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix NLS before 9812 invoking AS_BASENAME. Set the locale variables to 'C' if 9813 possible, as POSIX requires this to get the traditional 9814 behavior. 9815 * doc/autoconf.texi (Special Shell Variables): Describe the above. 9816 98172001-10-31 Paul Eggert <eggert@twinsun.com> 9818 9819 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): Do not surround body 9820 with {}, as that triggers a bug in Bash 2.05. 9821 9822 (_AS_LINENO_PREPARE): Use Sed rather than 9823 Awk. Fix the sed prepass to work even if there are multiple 9824 instances of $LINENO on the same line. Do not substitute for 9825 other variables like $LINENOT. Do not check file dates; such a 9826 check is unreliable on sufficiently fast machines, and removing 9827 the check makes the code simpler and more reliable. Check for 9828 output and chmod failures. 9829 9830 * doc/autoconf.texi (Special Shell Variables): Document 9831 the above. 9832 98332001-10-31 Akim Demaille <akim@epita.fr> 9834 9835 * tests/Makefile.am (atconfig): Remove this target, Automake 9836 handles it now. 9837 98382001-10-31 Akim Demaille <akim@epita.fr> 9839 9840 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Do not 9841 AC_CONFIG_FILES(atlocal) as it means a file atlocal.in *must* be 9842 provided, while it is optional. 9843 * configure.ac: Adjust. 9844 98452001-10-26 Paul Eggert <eggert@twinsun.com> 9846 9847 * NEWS, README, configure.ac, lib/Autom4te/General.pm, 9848 lib/Autom4te/Struct.pm: 9849 Require Perl 5.005_03 instead of just 5.005, as some tests fail 9850 with 5.005_02. 9851 9852 * doc/autoconf.texi (Special Shell Variables): Document some 9853 more LINENO gotchas, particularly with respect to the Awk+Sed hack. 9854 9855 * lib/m4sugar/m4sh.m4 (_AS_LINENO_WORKS): New macro. 9856 (_AS_LINENO_PREPARE): Use it instead of shell eval, since 9857 eval $LINENO is not portable in practice. 9858 98592001-10-24 Akim Demaille <akim@epita.fr> 9860 9861 * lib/Autom4te/General.pm (backname): New. 9862 98632001-10-24 Akim Demaille <akim@epita.fr> 9864 9865 * m4/: Remove, merged into... 9866 * config/: here. 9867 98682001-10-23 Tim Van Holder <tim.van.holder@pandora.be> 9869 9870 * doc/autoconf.texi (Shellology): Mention the problems with bash 9871 2.05's use of ANSI quoting in its `set' builtin. 9872 98732001-10-22 Paul Eggert <eggert@twinsun.com> 9874 9875 * lib/autoconf/functions.m4 (AC_FUNC_STRERROR_R): 9876 Rename ac_cv_func_strerror_r_works to ac_cv_func_strerror_r_char_p, 9877 and rename HAVE_WORKING_STRERROR_R to STRERROR_R_CHAR_P, since 9878 POSIX decided to standardize on the int flavor of strerror_r. 9879 Always do char* test, as there's no reason not to. 9880 Assign to a char* var, to catch strerror_r that returns int*. 9881 9882 * doc/autoconf.texi (Particular Functions): 9883 Document the above changes. Also, document the fact that 9884 AC_FUNC_STRERROR_R defines HAVE_DECL_STRERROR_R. 9885 9886 * NEWS: Mention HAVE_WORKING_STRERROR_R -> STRERROR_R_CHAR_P. 9887 98882001-10-20 Akim Demaille <akim@epita.fr> 9889 9890 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): The name of 9891 the executable was missing from the log. 9892 98932001-10-20 Akim Demaille <akim@epita.fr> 9894 9895 * lib/Autom4te/General.pm (&update_file): If destination is 9896 unchanged, remove the source. 9897 (&up_to_date_p): Don't be verbose, be debug. 9898 * bin/autoreconf.in: No longer support --m4dir. 9899 (&autoreconf): Display the full path of the configure.ac we are 9900 studying. 9901 Trace it only once. 9902 Be sure to honor --force with gettextize. 9903 Always run aclocal. 9904 * doc/autoconf.texi: Adjust. 9905 99062001-10-20 Akim Demaille <akim@epita.fr> 9907 9908 * bin/autoheader.in ($localdir, $m4, $SIMPLE_BACKUP_SUFFIX): 9909 Remove, dead. 9910 * bin/autoreconf.in (&autoreconf): Do not run gettextize when 9911 `intl' is already present, as it refuses unless --force. 9912 (&parse_args): Use -I, --include instead of the old Autoconf 9913 options. 9914 ($localdir, $autoconf_dir): Remove. 9915 (@include): New. 9916 (&maybe_autoreconf): New, to preserve $_ for File::Find. 9917 99182001-10-19 Jens Petersen <petersen@redhat.com> 9919 9920 * lib/autoconf/programs.m4 (AC_PROG_AWK): Prefer gawk to mawk. 9921 * doc/autoconf.texi (Particular Programs): Likewise. 9922 99232001-10-19 Akim Demaille <akim@epita.fr> 9924 9925 * lib/autoconf/status.m4 (_AC_OUTPUT_FILES): Name the generated 9926 file in @configure_input@. 9927 Don't mention `automatically' in addition to `generated'. 9928 * tests/torture.at (#define header templates): Adjust. 9929 99302001-10-19 Akim Demaille <akim@epita.fr> 9931 9932 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: In a 9933 comment, explain how to install automatic mode selection. 9934 From Russ Allbery. 9935 99362001-10-19 Ezra Peisach <epeisach@zif.mit.edu> 9937 9938 * bin/autoreconf.in (autoreconf): Display the path to the 9939 configure.ac being studied. 9940 99412001-10-18 Paul Eggert <eggert@twinsun.com> 9942 9943 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): Cast sizeof to unsigned 9944 long, to work around a bug in the HP C compiler version HP92453-01 9945 B.11.11.23709.GP. 9946 9947 * lib/m4sugar/m4sh.m4 (AS_DIRNAME): Use 'dirname' if that works. 9948 (AS_BASENAME_EXPR): New macro. 9949 (AS_BASENAME_SED): Do not assume GNU sed semantics. 9950 (AS_BASENAME): Use 'basename' if that works; then try 'expr'; 9951 and fall back on 'sed' only if the other two fail. This makes 9952 AS_BASENAME act more like AS_DIRNAME. 9953 (as_me): Shell-quote the argument of AS_BASENAME, in case $0 9954 contains white space. 9955 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): 9956 Use AS_DIRNAME, since I think it's now DOS-friendly. 9957 * tests/m4sh.at (DIRNAME_TEST): New arg $3. 9958 Allow "dirname //FOO" to return either / or //, as POSIX allows 9959 either behavior. 9960 99612001-10-10 Akim Demaille <akim@epita.fr> 9962 9963 * lib/autoconf/lang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Recognize 9964 `a_out.exe' for OpenVMS 7.1, DEC C 5.5 compiler, via GNV. 9965 From Eric Sharkey. 9966 99672001-10-10 Akim Demaille <akim@epita.fr> 9968 9969 * lib/m4sugar/m4sh.m4 (_AS_ECHO_N_PREPARE): m4_defun, not 9970 m4_define, since... 9971 (_AS_ECHO_N): AS_REQUIREs it. 9972 99732001-10-10 Akim Demaille <akim@epita.fr> 9974 9975 * lib/autoconf/general.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS) 9976 (AC_INCLUDES_DEFAULT): Move to... 9977 * lib/autoconf/headers.m4: here. 9978 * lib/autoconf/types.m4: Comment changes. 9979 * doc/autoconf.texi: Specify where the default includes are used 9980 in the macro prototypes. 9981 99822001-10-09 Akim Demaille <akim@epita.fr> 9983 9984 * lib/autoconf/autoconf.m4 (m4_patsubst, m4_regexp): New 9985 transition code. 9986 99872001-10-08 Akim Demaille <akim@epita.fr> 9988 9989 * bin/autoreconf.in (&autoreconf): Remove debugging code. 9990 (&parse_args): Pass verbosity/debugging options to subtools when 9991 --debug, not when --verbose. 9992 * lib/autom4te.in (Autoreconf-preselections): New. 9993 (Autoconf): Use it. 9994 99952001-10-08 Akim Demaille <akim@epita.fr> 9996 9997 * bin/autoreconf.in (autoreconf): Run libtoolize when appropriate. 9998 99992001-10-08 Akim Demaille <akim@epita.fr> 10000 10001 * doc/autoconf.texi (autoreconf Invocation): Adjust. 10002 * bin/autoreconf.in (autoreconf): Run gettextize when appropriate. 10003 100042001-10-08 Akim Demaille <akim@epita.fr> 10005 10006 * tests/tools.at (AT_CHECK_PERL_SYNTAX): Check autoreconf. 10007 (Syntax of the shell scripts): Don't. 10008 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in: Don't 10009 bother with $force since... 10010 * lib/Autom4te/General.pm: does. 10011 100122001-10-08 Akim Demaille <akim@epita.fr> 10013 10014 * bin/autoreconf.in: Rewrite in Perl. 10015 * configure.ac: Adjust. 10016 * lib/Autom4te/General.pm (&up_to_date_p): New. 10017 * bin/autom4te.in (&up_to_date_p): Use it. 10018 Rename as... 10019 (&up_to_date): this. 10020 100212001-10-08 Akim Demaille <akim@epita.fr> 10022 10023 * lib/m4sugar/m4sugar.m4 (m4_case, m4_bmatch, m4_normalize) 10024 (m4_list_cmp): Use $0 to reinvoke yourself. 10025 (m4_patsubsts): New. 10026 (m4_strip, m4_version_unletter): Use it. 10027 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): Likewise. 10028 100292001-10-08 Akim Demaille <akim@epita.fr> 10030 10031 * lib/autoconf/autoconf.m4, lib/autoconf/general.m4, 10032 * lib/autoconf/libs.m4, lib/autoconf/status.m4, 10033 * lib/autoconf/types.m4, lib/autotest/general.m4, 10034 * lib/m4sugar/m4sh.m4, lib/m4sugar/m4sugar.m4, tests/atspecific.m4, 10035 * tests/torture.at: Rename m4_regexp, m4_patsubst, and m4_match to 10036 m4_bregexp, m4_bpatsubst, and m4_bmatch. 10037 * doc/autoconf.texi (Redefined M4 Macros): Adjust. 10038 100392001-10-08 Akim Demaille <akim@epita.fr> 10040 10041 * lib/m4sugar/m4sh.m4: Use AS_REQUIRE. 10042 100432001-10-08 Akim Demaille <akim@epita.fr> 10044 10045 * lib/m4sugar/m4sh.m4 (AS_DIRNAME_EXPR): Use AS_REQUIRE. 10046 * tests/tools.at (AT_DATA_FORBIDDEN): Rename/move/duplicate to... 10047 * tests/atspecific.m4 (AT_DATA_M4SUGAR, AT_DATA_M4SH): here. 10048 * tests/tools.at, tests/m4sh.at: Use it. 10049 * tests/m4sh.at: Don't rely on Autoconf macros. 10050 (DIRNAME_TEST): Also exercise the expr variant. 10051 * tests/m4sugar.at, tests/atspecific.m4 (AT_CHECK_M4SUGAR): The 10052 preferred M4sugar extension is now `.4s'. 10053 * tests/README: Remove. 10054 100552001-10-08 Akim Demaille <akim@epita.fr> 10056 10057 * lib/m4sugar/m4sugar.m4 (m4_provide_ifelse): Rename as... 10058 (m4_provide_if): this. 10059 * lib/m4sugar/m4sh.m4 (AS_REQUIRE): New. 10060 * lib/autoconf/general.m4 (AS_DEFUN, AC_DEFUN_ONCE, AC_BEFORE) 10061 (AC_REQUIRE, AC_PROVIDE, AC_PROVIDE_IFELSE): Be exact copy of the 10062 M4sugar peer, i.e., drop the `AC_PROVIDE_$1' broken marker. 10063 100642001-10-08 Akim Demaille <akim@epita.fr> 10065 10066 Use `add-log-current-defun-function' for ChangeLog creation. 10067 Suggested by Tom Tromey. 10068 10069 * lib/emacs/autotest-mode.el (autotest-mode-map): New. 10070 (autotest-mode): Adjust. 10071 * lib/emacs/autoconf-mode.el (autoconf-mode-map): Modernize, map 10072 'comment-region onto `C-c ;'. 10073 Comments are `#', not `dnl'. 10074 (autoconf-current-defun): New. 10075 (autoconf-font-lock-keywords): Recognize `m4_defun'. 10076 100772001-10-08 Akim Demaille <akim@epita.fr> 10078 10079 * lib/autoconf/general.m4 (_m4_divert(BODY)): Move to... 10080 * lib/m4sugar/m4sh.m4: here. 10081 (AS_INIT): Push the BODY diversion, set the #! /bin/sh line. 10082 * lib/autoconf/general.m4 (AC_PLAIN_SCRIPT) : Remove. 10083 (AT_INIT): Replace AC_PLAIN_SCRIPT with AS_INIT invocation, 10084 include handle the m4_pattern_*, no longer push the 10085 BODY diversion nor set the /bin/sh line, AS_INIT does it. 10086 * lib/autotest/general.m4 (AT_INIT): Likewise. 10087 * tests/base.at: Adjust the tests to use AS_INIT. 10088 * tests/tools.at (AT_DATA_FORBIDDEN): New. 10089 (autoconf: forbidden tokens): Adjust to work on M4sh instead of 10090 Autoconf. 10091 100922001-10-07 Paul Eggert <eggert@twinsun.com> 10093 10094 * doc/autoconf.texi (config.status Invocation): 10095 CONFIG_SHELL defaults to a shell that supports LINENO if available. 10096 10097 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): If the current 10098 shell does not support LINENO, and if CONFIG_SHELL is unset or 10099 empty, and if we can find a shell that does support LINENO, 10100 then set CONFIG_SHELL to that shell and then re-execute 10101 ourselves with CONFIG_SHELL. 10102 101032001-10-05 Paul Eggert <eggert@twinsun.com> 10104 10105 * tests/Makefile.am (clean-local): Don't invoke $(TESTSUITE) if it 10106 doesn't exist. Remove *.tmp, as a .tmp file is created during the 10107 build of $(TESTSUITE). 10108 101092001-10-05 Akim Demaille <akim@epita.fr> 10110 10111 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): Look in the path 10112 iff we are a bareword. 10113 Reported by Raja R Harinath. 10114 101152001-10-05 Akim Demaille <akim@epita.fr> 10116 10117 * tests/m4sh.at (LINENO): New. 10118 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Be sure to set 10119 PATH_SEPARATOR before using it. 10120 Fix the absolute path case/esac pattern. 10121 Provide $0 as fallback for as_myself. 10122 Reported by Raja R Harinath. 10123 101242001-10-05 Akim Demaille <akim@epita.fr> 10125 10126 * Makefile.am, config/Makefile.am, lib/emacs/Makefile.am, 10127 * m4/Makefile.am, man/Makefile.am: Add/adjust MAINTAINERCLEANFILES. 10128 101292001-10-05 Akim Demaille <akim@epita.fr> 10130 10131 * lib/m4sugar/m4sh.m4 (_AS_LINENO_PREPARE): New, extracted from... 10132 (AS_SHELL_SANITIZE): here. Use it. 10133 (_AS_LINENO_PREPARE): Preserve the exit status of $0.lineno. 10134 From Paul Eggert. 10135 101362001-10-04 Akim Demaille <akim@epita.fr> 10137 10138 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Use a portable 10139 combination of Awk and sed to replace $LINENO. 10140 101412001-10-02 Paul Eggert <eggert@twinsun.com> 10142 10143 * doc/autoconf.texi (Limitations of Builtins): You can't use 10144 "source"; it's not portable. Remove confusing and 10145 somewhat-incorrect example involving "." and "/". 10146 10147 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): "source" -> ".", for 10148 compatibility with POSIX shells. 10149 101502001-10-02 Akim Demaille <akim@epita.fr> 10151 10152 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Just source 40.lineno 10153 instead of exec'ing to preserve $0 and $@. 10154 101552001-10-01 Akim Demaille <akim@epita.fr> 10156 10157 * tests/testsuite (AT_INIT) <at_pass_list>: New. 10158 Don't run twice the same test. 10159 101602001-10-01 Akim Demaille <akim@epita.fr> 10161 10162 * lib/autotest/general.m4 (AT_INIT) <--help>: Catch up with reality. 10163 No longer output the list of tests. 10164 <--list>: New option. 10165 <--full-help>: Remove. 10166 Complete the short/long options duality. 10167 Various small adjustments. 10168 101692001-10-01 Akim Demaille <akim@epita.fr> 10170 10171 * doc/autoconf.texi: Use @kbd for user input. 10172 Always use `$' as shell prompt. 10173 101742001-09-30 Paul Eggert <eggert@twinsun.com> 10175 10176 * lib/autoconf/status.m4 (AC_OUTPUT_MAKE_DEFS): 10177 Don't use nested parenthesization. This patch was originally 10178 suggested to bug-autoconf by Philippe De Muyter on 2000-05-28, 10179 but somehow it didn't get incorporated then. 10180 * doc/autoconf.texi (Limitations of Usual Tools): 10181 Clarify remark about sed and nested parenthesization. 10182 10183 * lib/autoconf/types.m4 (AC_CHECK_SIZEOF): 10184 Report an error if the size cannot be determined even though 10185 the type exists. 10186 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE): 10187 Check for `expr' arithmetic overflow, and for compilation failure, 10188 and invoke a new argument $4 if either is discovered. 10189 This makes _AC_COMPUTE_INT_COMPILE more like _AC_COMPUTE_INT_RUN. 10190 (_AC_COMPUTE_INT): Pass IF-FAILS arg to _AC_COMPUTE_INT_COMPILE. 10191 101922001-09-28 Akim Demaille <akim@epita.fr> 10193 10194 * lib/emacs/autoconf-mode.el, lib/emacs/autotest-mode.el: New. 10195 * m4/lispdir.m4: New. 10196 * aclocal.m4, configure.ac: Adjust. 10197 101982001-09-28 Akim Demaille <akim@epita.fr> 10199 10200 * lib/autotest/general.m4 (AT_VICTIMS): Rename as... 10201 (AT_TESTED): this. 10202 (AT_INIT): More the wrapped section to where it will be expanded. 10203 Output `AT_tested' only when existing. 10204 Catch unexpanded PACKAGE_STRING and PACKAGE_BUGREPORT. 10205 102062001-09-27 Akim Demaille <akim@epita.fr> 10207 10208 Fix the passing of $? to ACTION-IF-FAILED in AC_TRY_RUN, that 10209 generates too many bug reports. 10210 10211 * lib/autoconf/general.m4 (_AC_RUN_IFELSE): Pass the right exit 10212 status when executing the ACTION-IF-FALSE. 10213 * tests/base.at (AC_TRY_*): Rename as... 10214 (AC_TRY_COMMAND): this. 10215 (AC_RUN_IFELSE): New. 10216 * tests/compile.at (Extensions, C keywords) 10217 (AC_PROG_CPP requires AC_PROG_CC, GNU Fortran 77) 10218 (Broken/missing compilers, AC_PROG_CPP with warnings) 10219 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC): Move to... 10220 * tests/c.at (Extensions, C keywords) 10221 (Broken/missing compilers, AC_PROG_CPP with warnings) 10222 (AC_PROG_CPP without warnings, AC_PROG_CPP via CC) 10223 (AC_PROG_CPP requires AC_PROG_CC): here and... 10224 * tests/fortran.at (GNU Fortran 77): there. 10225 * doc/autoconf.texi (autoconf Invocation): Fix the example: 10226 AC_TRY_RUN is about compilation, not shell commands. 10227 (Test Programs): AC_TRY_RUN works as used to be advertised. 10228 102292001-09-27 Akim Demaille <akim@epita.fr> 10230 10231 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Fix bugs spotted by 10232 Raja R Harinath: 10233 Be sure to detect when $LINENO always returns the same value. 10234 Look for the original script, basename($0) is certainly not 10235 enough. 10236 Pass the CLI arguments to `$as_me.lineno'. 10237 102382001-09-25 Akim Demaille <akim@epita.fr> 10239 10240 * lib/autotest/general.m4 (AT_INIT): Dump the whole config.log. 10241 Be sure the close and reopen the LOG fd before and after using tee 10242 to extend the log. 10243 <at_tests_pattern>: Adjust to the new format of at_help_all. 10244 102452001-09-23 Akim Demaille <akim@epita.fr> 10246 10247 * bin/autom4te.in (parse_args): There can be several invocations 10248 of --language now. 10249 102502001-09-23 Akim Demaille <akim@epita.fr> 10251 10252 * doc/autoconf.texi (Top): Wrap in @ifnottex. 10253 102542001-09-23 Akim Demaille <akim@epita.fr> 10255 10256 * lib/autoconf/status.m4 (_AC_SRCPATHS): Compute and provide 10257 ac_buildpath, ac_top_buildpath, ac_srcpath, and ac_top_srcpath. 10258 (_AC_OUTPUT_FILES): Also substitute srcpath, top_srcpath, 10259 builddir, buildpath, top_builddir, and top_buildpath. 10260 (_AC_OUTPUT_SUBDIRS): Compute the dir variables *before* changing 10261 the current directory. 10262 * lib/autoconf/general.m4 (_AC_INIT_HELP): Compute the dir 10263 variables *before* changing the current directory. 10264 Skip nonexistent dirs. 10265 * doc/autoconf.texi (Preset Output Variables): Document these 10266 variables. 10267 10268 * lib/autotest/general.m4: Do not reset AT_victims. 10269 Don't compute at_srcdir nor at_top_srcdir. 10270 10271 * tests/tools.at: Hence use top_srcdir. 10272 10273 * tests/Makefile.am, tests/autoconf, tests/autoheader, 10274 * tests/autom4te, tests/autoreconf, tests/autoupdate, tests/ifnames: 10275 Remove. 10276 * tests/autoreconf.in, tests/wrappl.in, tests/autom4te.in, 10277 * tests/wrapsh.in, tests/autoupdate.in: New. 10278 * tests/Makefile.am (DISTCLEANFILES, EXTRA_DIST): Adjust. 10279 * configure.ac: Build the position independent wrappers. 10280 10281 * man/Makefile.am: Now that test wrappers are position 10282 independent, use them and drop dark envvar magic. 10283 102842001-09-23 Akim Demaille <akim@epita.fr> 10285 10286 * doc/autoconf.texi (Common Shell Constructs): Rename as... 10287 (Programming in M4sh): this. 10288 Promote to @section. 10289 102902001-09-23 Akim Demaille <akim@epita.fr> 10291 10292 * lib/autotest/general.m4 (AT_INIT): Dump config.log last. 10293 Pass $at_debug_args to the rerun test suite. 10294 * lib/m4sugar/Makefile.am (DISTCLEANFILES): New. 10295 * bin/Makefile.am (ETAGS_SH): Don't use characters ranges. 10296 From Paul Eggert. 10297 102982001-09-23 Akim Demaille <akim@epita.fr> 10299 10300 * bin/autom4te.in (@my_warning): Remove, handled by `autom4te.cfg'. 10301 103022001-09-23 Akim Demaille <akim@epita.fr> 10303 10304 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix shell 10305 over-escaping. 10306 103072001-09-23 Akim Demaille <akim@epita.fr> 10308 10309 * lib/Autom4te/General.pm (&debug): New. 10310 * bin/autom4te.in ($language): Move to... 10311 (parse_args): here. 10312 Handle --language in languages. 10313 * lib/autom4te.in (Automake-selections, Autoheader-selections) 10314 (Autoscan-selections): New. 10315 (Autoconf): Adjust. 10316 103172001-09-23 Tim Van Holder <tim.van.holder@pandora.be> 10318 10319 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/init.m4, 10320 * m4/install-sh.m4, m4/missing.m4, m4/sanity.m4, m4/strip.m4: Updated 10321 to match current versions from CVS Automake. 10322 103232001-09-23 Alexandre Duret-Lutz <duret_g@epita.fr> 10324 10325 * doc/autoconf.texi (Special Shell Variables): Add pdksh output 10326 for $LINENO. 10327 103282001-09-22 Akim Demaille <akim@epita.fr> 10329 10330 * lib/autoconf/autotest.m4: Create `package.m4'. 10331 * tests/Makefile.am (package.m4): Remove. 10332 103332001-09-22 Akim Demaille <akim@epita.fr> 10334 10335 Rely on `$LINENO' when possible instead of `__oline__'. 10336 10337 * lib/m4sugar/m4sh.m4 (AS_SHELL_SANITIZE): Provide some form of 10338 `$LINENO' support replacement when not supported. 10339 (_AS_CR_PREPARE, _AS_TR_CPP_PREPARE, _AS_TR_SH_PREPARE): Invoke 10340 them explicitly to be sure they are not output before this section 10341 (via m4_require). Cosmetic only. 10342 * lib/autoconf/c.m4, lib/autoconf/general.m4, 10343 * lib/autoconf/programs.m4: Replace all the occurrences of 10344 `__oline__' with `$LINENO'. 10345 * doc/autoconf.texi (Special Shell Variables): Document LINENO. 10346 103472001-09-21 Tim Van Holder <tim.van.holder@pandora.be> 10348 10349 * lib/autoconf/functions.m4 (_AC_FUNC_FORK): Replaceded an 8-bit 10350 character (u: -> ue) in a code comment. 10351 (AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK): Only run 'ln -s' if we know 10352 it works. 10353 103542001-09-21 Akim Demaille <akim@epita.fr> 10355 10356 * Makefile.maint (AUTOM4TE): Neutralize autom4te. 10357 Suggested by Jim Meyering. 10358 103592001-09-20 Tim Van Holder <tim.van.holder@pandora.be> 10360 10361 * lib/autoconf/programs.m4: Use extensions listed in 10362 $ac_executable_extensions when looking for programs. 10363 103642001-09-20 Tim Van Holder <tim.van.holder@pandora.be> 10365 10366 * lib/autoconf/general.m4: Fix a small Englisho. 10367 * lib/autoconf/status.m4: Fix a small typo. Handle DOS paths when 10368 setting up ac_dir_suffix and ac_top_builddir. 10369 * lib/m4sugar/m4sh.m4: Default CDPATH to $PATH_SEPARATOR, not ':'. 10370 103712001-09-20 Tim Van Holder <tim.van.holder@pandora.be> 10372 10373 * doc/autoconf.texi (File System Conventions): Clarify the use of 10374 PATH_SEPARATOR. 10375 (Special Shell Variables[PATH_SEPARATOR]): Ditto. 10376 (Special Shell Variables[CDPATH]): Mention that $PATH_SEPRATOR should 10377 be used instead of ':'. 10378 * lib/autotest/general.m4: Replace occurrences of ':' in 10379 AUTOTEST_PATH with $PATH_SEPARATOR at test suite startup. 10380 103812001-09-20 Tim Van Holder <tim.van.holder@pandora.be> 10382 10383 * tests/atgeneral.m4: Add basic support for test ranges (e.g. 7-34) as 10384 arguments. Fixed a typo. 10385 103862001-09-20 Tim Van Holder <tim.van.holder@pandora.be> 10387 10388 * man/Makefile.am (.x.1): Use @PATH_SEPARATOR@, not ':' to set up 10389 $PATH. Also set AUTOM4TE_CFG, so we can process autom4te properly. 10390 103912001-09-20 Tim Van Holder <tim.van.holder@pandora.be> 10392 10393 * bin/autoscan.in: Add 'exec-perl-if-not-run-by-perl'. 10394 * bin/autoupdate.in: Ditto. 10395 * bin/autoheader.in: Reworded a few comments. 10396 * bin/autoconf.in: Reworded help text for a few options. 10397 * bin/autoheader.in, bin/autom4te.in, bin/autoreconf.in, 10398 * bin/autoscan.in, bin/autoupdate.in: Ditto. 10399 104002001-09-20 Tim Van Holder <tim.van.holder@pandora.be> 10401 10402 * lib/Autom4te/XFile.pm (open): Simplified the error message (we 10403 already have $file). Set output files to binary mode (helps avoid 10404 CR issues on DOSish systems). 10405 104062001-09-19 Akim Demaille <akim@epita.fr> 10407 10408 * lib/autotest/general.m4: Englishoes. 10409 From Tim Van Holder and Alexey Mahotkin. 10410 104112001-09-18 Paul Eggert <eggert@twinsun.com> 10412 10413 * doc/autoconf.texi (Common Shell Constructs): New node, 10414 documenting AS_DIRNAME. 10415 (Limitations of Usual Tools): Refer to it when discussing dirname. 10416 Also, update discussion of POSIX standard to reflect latest draft. 10417 10418 * lib/autoconf/c.m4: 10419 (AC_LANG_INT_SAVE(C)): Also support negative values, down to LONG_MIN. 10420 10421 * lib/autoconf/general.m4 (_AC_COMPUTE_INT_COMPILE): 10422 Do not pass a first argument with leading '-' 10423 to expr, by parenthesizing initial integers that might be negative. 10424 10425 * doc/autoconf.texi (Particular Functions): AC_FUNC_GETPGRP 10426 now merely checks whether it is an error to pass an argument 10427 to getpgrp. 10428 10429 * lib/autoconf/functions.m4 (_AC_FUNC_GETPGRP_TEST): Remove. 10430 (AC_FUNC_GETPGRP): Don't bother with a runtime test. Just check 10431 whether it is a (compile-time) error to pass an argument to 10432 getpgrp. This simpler test supports the revised documentation, 10433 and is all that AC_FUNC_GETPGRP's users really need. 10434 104352001-09-18 Akim Demaille <akim@epita.fr> 10436 10437 * doc/autoconf.texi (Limitations of Make) <$<>: New. 10438 104392001-09-18 Akim Demaille <akim@epita.fr> 10440 10441 * doc/autoconf.texi (Limitations of Usual Tools) <find>: More about 10442 `{}'. 10443 * lib/autotest/general.m4 (AT_INIT): Adjust. 10444 104452001-09-18 Paul Wagland <paul@wagland.net> 10446 10447 * tests/m4sh.at: Ensure that AS_DIRNAME handles '/', '//' and '///' 10448 correctly. 10449 Add test for AS_BASENAME. 10450 * lib/m4sugar/m4sh.m4: Fix AS_BASENAME so that it passes the previous 10451 added test. It now correctly handles /1/2/3/, returning '3' not ''. 10452 Added AS_BASENAME_SED to make the interface the same as AS_DIRNAME. 10453 * tests/base.at: Fixed the expected responses. The old ones were 10454 one line out... 10455 * lib/autoconf/general.m4: Fixed AC_PREFIX_PROGRAM, it now behaves as 10456 the documentation claims it should (and how it behaved in 2.13). 10457 104582001-09-18 Akim Demaille <akim@epita.fr> 10459 10460 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): No INIT-CMDS in 10461 the AC_CONFIG_COMMANDS invocation. 10462 This also solves the name clash problems. 10463 Don't set the package's ID. 10464 * lib/m4sugar/Makefile.am (version.m4): Revamp. 10465 No longer to be shipped. 10466 (version.in): Remove. 10467 * lib/m4sugar/m4sugar.m4, lib/autoconf/general.m4, 10468 * lib/autoconf/status.m4: Adjust. 10469 Use `m4_PACKAGE_STRING'. 10470 * lib/autotest/general.m4 (AT_INIT): N-th signature change: now 10471 the only optional argument is the name of the test suite. 10472 Expect `package.m4' to define the package signature. 10473 * lib/autom4te.in (Autotest): Add `package.m4?'. 10474 * tests/Makefile.am (package.m4): New. 10475 * tests/suite.at: ifnames is a victim. 10476 104772001-09-18 Akim Demaille <akim@epita.fr> 10478 10479 * lib/autom4te.in (Autoconf): Preselect AM_CONDITIONAL, 10480 AC_LIBSOURCE, AC_CONFIG_FILES. 10481 * lib/autotest/general.m4 (AT_INIT): Don't abort when a tested 10482 program version string doesn't match the package's. 10483 * lib/autoconf/general.m4 (AC_CACHE_VAL): Reestablish the space 10484 after `(cached)'. 10485 104862001-09-17 Paul Eggert <eggert@twinsun.com> 10487 10488 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)): 10489 Allow expression to return any value that can fit into unsigned long 10490 (not int, as before). Check for output errors. 10491 104922001-09-17 Bruno Haible <haible@ilog.fr> 10493 10494 * lib/autoconf/c.m4: (AC_LANG_INT_SAVE(C)): 10495 Always include <stdio.h> and <stdlib.h>. Evaluate 10496 the expression in an extra function before these includes. Call 10497 fprintf "%d" only after ensuring the argument is of type 'int'. 10498 Reported by Wayne Chapeskie <waynec@spinnaker.com>. 10499 105002001-09-17 Paul Eggert <eggert@twinsun.com> 10501 10502 Fix bug reported by Paul Townsend on AIX 4.3.3.0 with CFLAGS=-O4 10503 or CFLAGS=-O5. In that case, the linker has a relaxed view of 10504 fatal errors, and AC_CHECK_LIB causes it to include libraries even 10505 when they don't exist. 10506 10507 * lib/autoconf/headers.m4 (AC_HEADER_DIRENT): Use AC_SEARCH_LIBS, 10508 not AC_CHECK_LIB, so that we don't use -ldir or -lx if we don't 10509 need it. 10510 10511 * lib/autoconf/specific.m4 (AC_ISC_POSIX): Replace the old, crufty 10512 version with the version used by fileutils 4.1, except use 10513 AC_SEARCH_LIBS, not AC_CHECK_LIB, so that we don't use -lcposix if 10514 we don't need it. 10515 10516 * doc/autoconf.texi (AC_ISC_POSIX): Describe new behavior. 10517 105182001-09-13 Akim Demaille <akim@epita.fr> 10519 10520 * tests/base.at, tests/m4sh.at: Be sure to issue the bangshe line 10521 _first_. 10522 Reported by Gerrit P. Haase. 10523 105242001-09-13 Akim Demaille <akim@epita.fr> 10525 10526 * lib/autotest/general.m4 (AT_INIT): Reset `AT_victims' so that 10527 m4_defn'ing is valid. 10528 105292001-09-13 Akim Demaille <akim@epita.fr> 10530 10531 * lib/m4sugar/m4sugar.m4 (m4_append_uniq): New. 10532 * lib/autotest/general.m4 (AT_VICTIMS, AT_KEYWORDS, _AT_CLEANUP_FILE): 10533 Use it. 10534 105352001-09-13 Akim Demaille <akim@epita.fr> 10536 10537 * lib/m4sugar/m4sugar.m4 (_AS_QUOTE_IFELSE, _AS_BOX_INDIR): Use 10538 m4_match. 10539 (m4_re_escape): New. 10540 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER): Use it. 10541 * lib/autoconf/general.m4 (AC_CACHE_SAVE): Use m4_match. 10542 * lib/autoconf/status.m4 (AC_CONFIG_IF_MEMBER, AC_CONFIG_LINKS): 10543 Likewise. 10544 * lib/autoconf/types.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P) 10545 (_AC_CHECK_TYPE_MAYBE_TYPE_P, AC_CHECK_MEMBER): Likewise. 10546 * lib/autotest/general.m4 (AT_INIT): Rename AT_TESTS_ALL as 10547 AT_tests_all for consistency. 10548 Set at_victims. 10549 (AT_VICTIMS): Similar to AT_KEYWORDS. 10550 (_AT_CLEANUP_FILE_IF): Use m4_match and m4_re_escape. 10551 105522001-09-13 Akim Demaille <akim@epita.fr> 10553 10554 * lib/autotest/general.m4 (AT_INIT): Fix stupid bugs. 10555 105562001-09-13 Akim Demaille <akim@epita.fr> 10557 10558 * lib/autotest/general.m4 (AT_INIT): Create and remove 10559 `$as_me.[0-9]+' instead of `debug-[0-9]+.sh', so that multiple 10560 test suites can cohabit. 10561 105622001-09-13 Akim Demaille <akim@epita.fr> 10563 10564 * tests/mktests.sh: Don't output banners for empty test files. 10565 105662001-09-13 Akim Demaille <akim@epita.fr> 10567 10568 Test suites can be run independently of configure. 10569 10570 * lib/m4sugar/m4sh.m4 (_AS_ECHO, _AS_ECHO_N_PREPARE): New. 10571 * lib/autoconf/programs.m4 (_AC_PROG_ECHO): Remove. 10572 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Adjust: AC_SUBST 10573 ECHO_N etc. 10574 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't ask for at_n 10575 and at_c. 10576 * lib/autotest/general.m4: Use ECHO_*. 10577 105782001-09-13 Akim Demaille <akim@epita.fr> 10579 10580 * bin/ifnames.in: Rewrite in Perl. 10581 * configure.ac: Don't look for AWK. 10582 * tests/tools.at (AWK portability): Remove. 10583 (Syntax of the shell scripts): Don't check ifnames. 10584 (AT_CHECK_PERL_SYNTAX): New. 10585 (Syntax of the Perl scripts): Check ifnames. 10586 * tests/ifnames: New. 10587 105882001-09-13 Akim Demaille <akim@epita.fr> 10589 10590 * lib/autotest/general.m4 (AT_INIT): Let --keywords also match 10591 test group titles. 10592 * tests/atspecific.m4 (AT_CHECK_AU_MACRO): AT_KEYWORDS(autoupdate). 10593 Remove all the other keywords. 10594 105952001-09-10 Akim Demaille <akim@epita.fr> 10596 10597 * lib/autotest/general.m4 (AT_INIT): Remove the diversion HELP and 10598 SETUP: no longer used. 10599 Support -k, --keywords. 10600 <at_help>: Be `no', `short', or `long'. 10601 <at_help_all>: New variable. 10602 (AT_KEYWORDS): New. 10603 (AT_CLEANUP_FILE_IFELSE, AT_CLEANUP_FILE): Rename as... 10604 (_AT_CLEANUP_FILE_IF, _AT_CLEANUP_FILE): these. 10605 (_AT_CLEANUP_FILE_IF): Simplify the regexp. 10606 (AT_SETUP): Reset AT_line, AT_keywords, AT_description. 10607 No longer fill the HELP diversion. 10608 (AT_CLEANUP): Use them. 10609 * lib/m4sugar/m4sugar.m4 (m4_append): Support a separator. 10610 (m4_list_append): Remove. 10611 10612 Spread a few keywords in the Autoconf test suite. 10613 106142001-09-10 Akim Demaille <akim@epita.fr> 10615 10616 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Don't pass 10617 PATH_SEPARATOR, let M4sh compute it. 10618 * lib/m4sugar/m4sh.m4 (_AS_PATH_SEPARATOR_PREPARE): New. 10619 * lib/autoconf/programs.m4 (AC_SHELL_PATH_WALK): Use PATH_SEPARATOR. 10620 Move to... 10621 * lib/m4sugar/m4sh.m4 (_AS_PATH_WALK): Here. 10622 Simplify when the path is not a literal. 10623 (AS_UNAME): Use it to report PATH. 10624 * lib/autoconf/general.m4 (_AC_INIT_PREPARE_FS_SEPARATORS): Remove. 10625 (_AC_INIT_DEFAULTS): AC_SUBST PATH_SEPARATOR. 10626 * lib/autoconf/programs.m4 (AC_PROG_INSTALL): Use _AS_PATH_WALK. 10627 * lib/autotest/general.m4 (AT_INIT): Use _AS_PATH_WALK to 10628 normalize the path, and to look for victims. 10629 * tests/semantics.at (AC_PATH_PROG & AC_PATH_PROGS) 10630 (AC_CHECK_PROG & AC_CHECK_PROGS): Use PATH_SEPARATOR. 10631 106322001-09-07 Akim Demaille <akim@epita.fr> 10633 10634 * bin/autom4te.in (&handle_m4): `< /dev/null' so that GNU M4 1.5 10635 doesn't neutralize SIGINT, making autoconf etc. non interruptible. 10636 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): Move the package 10637 related variables into `at_package_*'. 10638 * lib/autotest/general.m4 (AT_VICTIMS): New. 10639 (AT_INIT): Adjust for stand-alone/embedded test suites. 10640 (AS_MESSAGE_LOG_FD): Define and use it. 10641 * tests/suite.at (AT_VICTIMS): Use it. 10642 * tests/tools.at (autoupdating AC_PREREQ): Don't depend upon 10643 at_version. 10644 106452001-09-07 Akim Demaille <akim@epita.fr> 10646 10647 Move toward possibly stand-alone test suites. 10648 10649 * lib/autotest/general.m4: Stop displaying srcdir everywhere as, 10650 in addition, it introduces useless differences in logs. 10651 (AT_INIT): Let atconfig and atlocal be both optional. 10652 Adjust PATH computation. 10653 * lib/m4sugar/m4sh.m4 (AS_UNAME): More readable display of PATH. 10654 106552001-09-07 Akim Demaille <akim@epita.fr> 10656 10657 * lib/autoconf/Makefile.am (autoconf.m4f): Depends upon 10658 m4sugar/version.m4. 10659 106602001-09-05 Akim Demaille <akim@epita.fr> 10661 10662 * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use `_array_' 10663 to avoid GCC warnings. 10664 From Uwe Seimet. 10665 106662001-09-05 Akim Demaille <akim@epita.fr> 10667 10668 * bin/autom4te.in: --language is -l, not -s. 10669 106702001-09-05 Akim Demaille <akim@epita.fr> 10671 10672 Be ready to handle filenames as stupid as `dnl.at', for if even 10673 the maintainer is dumb enough to do that... 10674 10675 * lib/autotest/general.m4 (AT_SETUP, AT_LINE): Demonstrates your 10676 excellence in M4 quotation: consider `__file__' is active. 10677 10678 And BTW, when invoking m4, pass the --include in the right order: 10679 the wrong one. 10680 10681 * bin/autom4te.in, bin/autoupdate.in: Use reverse when kingtal to 10682 4m. 10683 106842001-09-05 Akim Demaille <akim@epita.fr> 10685 10686 * lib/Autom4te/XFile.pm: New lib file. 10687 * bin/autoupdate.in, bin/autoscan.pl, bin/autom4te.in, 10688 * bin/autoheader.in: Use it. 10689 106902001-09-05 Akim Demaille <akim@epita.fr> 10691 10692 * bin/autoupdate.in (&handle_m4_macros) <unm4.m4>: Undefine iff 10693 defined. 10694 106952001-09-05 Akim Demaille <akim@epita.fr> 10696 10697 * lib/Autom4te/General.pm (&getopt): Work around the `-' Getopt bug. 10698 * bin/autoheader.in, bin/autoupdate.in (&parse_args): Adjust. 10699 10700 * bin/autoscan.in: Use `getopt' and `find_files' etc. 10701 Add -I, --include support. 10702 * doc/autoconf.texi (autoscan Invocation): Adjust. 10703 107042001-09-05 Akim Demaille <akim@epita.fr> 10705 10706 CVS GNU M4 doesn't like `undefine(undefined)'. 10707 10708 * bin/autoupdate.in (&handle_m4_macros, &handle_autoconf_macros): 10709 New, extracted from main. 10710 Use IO::File wherever possible. 10711 (input.m4): Be constant, use -I instead of hard coding $tmp. 10712 Therefore be a quoted heredoc. 10713 Don't invoke `_au_disable', since ac was not loaded, but just 10714 `unm4.m4'. 10715 107162001-08-31 Akim Demaille <akim@epita.fr> 10717 10718 Version 2.52d. 10719 107202001-08-31 Akim Demaille <akim@epita.fr> 10721 10722 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): Fix the 10723 previous patch. 10724 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Can create `config.hin~'. 10725 107262001-08-31 Akim Demaille <akim@epita.fr> 10727 10728 * lib/autoconf/status.m4 (_AC_OUTPUT_CONFIG_STATUS): DU 5.0 has 10729 serious problems handling heredocs in heredocs. 10730 Reported by Nicolas Joly. 10731 107322001-08-31 Akim Demaille <akim@epita.fr> 10733 10734 * doc/autoconf.texi: Don't promote non `m4_*' M4 macros. 10735 (Making testsuite Scripts): Update. 10736 107372001-08-31 Akim Demaille <akim@epita.fr> 10738 10739 * lib/Makefile.am (CLEANFILES): Add autom4te.cfg. 10740 107412001-08-31 Akim Demaille <akim@epita.fr> 10742 10743 * doc/autoconf.texi (Quadrigraphs): Document `@&t@'. 10744 (testsuite Scripts): There is no such thing as `atconfig.in'. 10745 And actually one diagram is missing: test suite runtime. 10746 107472001-08-31 Akim Demaille <akim@epita.fr> 10748 10749 * lib/Autom4te/General.pm (&find_file): Browse the includes in the 10750 inverse order. 10751 107522001-08-31 Akim Demaille <akim@epita.fr> 10753 10754 * bin/autoupdate.in (@include): `installcheck' revealed the path 10755 to m4sugar was lacking! 10756 107572001-08-31 Akim Demaille <akim@epita.fr> 10758 10759 * man/Makefile.am (.x.1): We really have to pass 10760 autom4te_perllibdir. 10761 107622001-08-31 Akim Demaille <akim@epita.fr> 10763 10764 * lib/autotest/general.m4 (AT_INIT): Don't pass all the args to 10765 debug scripts, in particular passing explicitly listed tests to 10766 run is stupid. 10767 107682001-08-31 Akim Demaille <akim@epita.fr> 10769 10770 * bin/autom4te.in (&parse_args): Strip `.' from `@include'. 10771 * bin/autoupdate.in: Use --include, -I, and --force, -f, too. 10772 Use directly autom4te, not autoconf. 10773 * tests/autoupdate: $top_srcdir/lib is needed too for melt files. 10774 107752001-08-31 Akim Demaille <akim@epita.fr> 10776 10777 * tests/semantics.at (AC_C_BIGENDIAN): Missing eol. 10778 * bin/autoheader.in (%symbol): Strip arguments of macros. 10779 107802001-08-31 Akim Demaille <akim@epita.fr> 10781 10782 * doc/autoconf.texi: Catch up -I, --include changes. 10783 107842001-08-31 Akim Demaille <akim@epita.fr> 10785 10786 * bin/autom4te.in (&parse_args): Die on unknown languages. 10787 * bin/autoheader.in: Run directly autom4te --mode=autoconf, no 10788 need for autoconf. 10789 Promote --include over --macrodir and other obsolete options. 10790 107912001-08-31 Akim Demaille <akim@epita.fr> 10792 10793 * lib/Autom4te/General.pm ($version, $help, &getopt): New. 10794 * bin/autoupdate.in, bin/autoheader.in, bin/autom4te.in: Use them. 10795 * bin/autom4te.in ($autoconf): Pass --force. 10796 `print $out' doesn't print `$_' but `$out'. 10797 * tests/tools.at (Syntax of the Perl scripts): Pass the lib dir. 10798 (autoheader): Pass --force since the test suite goes too fast for 10799 the time stamps. 10800 Adjust to the new autoheader messages. 10801 108022001-08-31 Akim Demaille <akim@epita.fr> 10803 10804 * bin/autoheader.in: Handle the acconfig.h etc. junk files. 10805 Check the completeness of the #template. 10806 * lib/Autom4te/General.pm (&update_file): s/remove/unlink/. 10807 * tests/semantics.at (AC_C_BIGENDIAN): Adjust AT_CHECK_AUTOHEADER 10808 invocation. 10809 108102001-08-31 Akim Demaille <akim@epita.fr> 10811 10812 * lib/Autom4te/General.pm (&find_file, &update_file): New. 10813 * bin/autoupdate.in, bin/autoheader.in: Adjust. 10814 Drop AC_MACRODIR dead for real. 10815 * tests/atspecific.m4 (AT_CHECK_AUTOHEADER): Now autoheader says 10816 `autoheader: `config.hin' is created'. 10817 * tests/tools.at (Syntax of the Perl scripts): Check autoheader. 10818 108192001-08-31 Akim Demaille <akim@epita.fr> 10820 10821 * bin/autoheader.in: Rewrite in Perl. 10822 * tests/autoheader: Adjust. 10823 108242001-08-31 Akim Demaille <akim@epita.fr> 10825 10826 * bin/autoconf.in (--include, -I): New option. 10827 Map --localdir, --autoconf-dir onto it. 10828 Forward autom4te's options instead of interpreting them. 10829 * bin/autoconf.in, bin/autoheader.in (AC_MACRODIR, autoconf_dir): 10830 There is no such envvar since the inception of autom4te.cfg. 10831 * bin/autom4te.in (&parse_args): Uniquify `@include'. 10832 * bin/autoupdate.in: Adjust, and perform more control. 10833 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Adjust. 10834 * tests/autoconf: Dittowise. 10835 108362001-08-31 Akim Demaille <akim@epita.fr> 10837 10838 * bin/autoconf.in: Don't bother with `acsite.m4' and `aclocal.m4'. 10839 * bin/autom4te.in (&find_file): Support `FILE?' standing for 10840 optionally `FILE'. 10841 Use -e, not -f, since /dev/null for instance is OK. 10842 (&parse_args): Adjust. 10843 * lib/autom4te.in (Autoconf): Add `acsite.m4?' and `aclocal.m4?'. 10844 108452001-08-31 Akim Demaille <akim@epita.fr> 10846 10847 * configure.ac: Also find tested executables in bin. 10848 * bin/autoconf.in, bin/autoheader.in, bin/autoreconf.in, 10849 * bin/autoscan.in, autoupdate.in: Use exclusively the name of the 10850 installed peer executables, only PATH is allowed to resolve it. 10851 Pass `autoconf_dir' via options, not via invisible envvars. 10852 * lib/Autom4te/General.pm (&find_peer): Remove. 10853 * lib/autotest/general.m4 (AT_INIT): `AUTOTEST_PATH=a:b' gives 10854 `abuild:asrc:bbuild:bsrc', not `abuild:bbuild:asrc:bsrc'. 10855 * man/Makefile.am: Let help2man rely on PATH instead of trying to 10856 find the executables for it. 10857 * tests/Makefile.am: Major cleanup. Too lazy to document... 10858 * tests/atlocal.in: Remove all the obscure envvar manipulations. 10859 We only need PERL. 10860 * tests/atspecific.m4, tests/tools.at: Passing --localdir is 10861 indeed related to running the test suite, while passing 10862 --autoconf-dir and others is related to running non installed 10863 Autoconf executables. So don't do that, leave it to... 10864 * tests/autoconf, tests/autoheader, tests/autom4te, tests/autoupdate, 10865 * tests/autoscan: New. 10866 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): Don't 10867 refer to library files: rely on --language. 10868 108692001-08-29 Akim Demaille <akim@epita.fr> 10870 10871 * bin/autom4te.in, lib/autom4te.in, bin/autoconf.in: 10872 s/--set/--language/. 10873 108742001-08-29 Akim Demaille <akim@epita.fr> 10875 10876 * doc/autoconf.texi: Strip the @nodes. 10877 Suggested by Paul Eggert. 10878 (Initializing configure): Typo. 10879 108802001-08-29 Akim Demaille <akim@epita.fr> 10881 10882 * bin/autom4te.in (&handle_output): s/@__@/@&t@/. 10883 Suggested by Paul Eggert. 10884 108852001-08-29 Akim Demaille <akim@epita.fr> 10886 10887 * Makefile.maint (do-po-update): Wget refuses to overwrite files: 10888 download in a tmp dir. 10889 108902001-08-29 Akim Demaille <akim@epita.fr> 10891 10892 * lib/autotest/general.m4: s/AT-devnull/devnull/ since there are 10893 case insensitive OSes out there :( 10894 From Tim Van Holder. 10895 108962001-08-29 Akim Demaille <akim@epita.fr> 10897 10898 * lib/autom4te.in: New. 10899 * lib/Makefile.am (edit, autom4te.cfg): New. 10900 * bin/autom4te.in (BEGIN): Simplify. 10901 Rely on `AC_MACRODIR' in addition of `autom4te_perllibdir'. 10902 (&load_configuration): New. Use it. 10903 (&parse_args): Support --mode, --set, and --melt. 10904 * bin/autoconf.in: Simplify and adjust. 10905 * tests/Makefile.am (AUTOMAKE): Use --set. 10906 * tests/atlocal.in: Adjust. 10907 * BUGS: distcheck and check are weak. 10908 109092001-08-29 Akim Demaille <akim@epita.fr> 10910 10911 * lib/autotest/general.m4: Use 10912 foo=`(command) 2>/dev/null` 10913 not 10914 foo=`command` 2>/dev/null 10915 (at-devnull): Rename as... 10916 (AT-devnull): this. 10917 (--clean): Remove AT-* files too. 10918 * doc/autoconf.texi (Limitations of Usual Tools): Document `date'. 10919 Reported by Nicolas Joly. 10920 109212001-08-28 Akim Demaille <akim@epita.fr> 10922 10923 * lib/autoconf/general.m4 (_AC_INIT_PREPARE): Don't use single 10924 quotes inside single quotes. 10925 Reported by Nicolas Joly. 10926 109272001-08-28 Kevin Ryde <user42@zip.com.au> 10928 10929 * doc/autoconf.texi (Function Portability): Mention C right shifts. 10930 109312001-08-27 Tim Van Holder <tim.van.holder@pandora.be> 10932 10933 * lib/autotest/general.m4: Reword some messages. 10934 (AT_INIT): Check for the `times' builtin before using it. 10935 Support test ranges as arguments to the testsuite. 10936 Have -e imply -d as the help text suggested. 10937 109382001-08-27 Akim Demaille <akim@epita.fr> 10939 10940 * Makefile.maint: Formatting changes. 10941 (do-po-update, po-update, cvs-update, update): New targets. 10942 (AMTAR): Remove. 10943 109442001-08-27 Akim Demaille <akim@epita.fr> 10945 10946 * lib/autotest/general.m4 (AT_INIT) <at_cmd_line>: Remove. 10947 <at_cmd_line>: New. 10948 Pass it to debug-*.sh scripts. 10949 <AUTOTEST_PATH>: May contain absolute dir names. 10950 109512001-08-27 Akim Demaille <akim@epita.fr> 10952 10953 * lib/autotest/general.m4 (AT_INIT): Log the command line. 10954 Support `VAR=VAL' as arguments. 10955 Compute PATH _after_ the options processing, so that AUTOTEST_PATH 10956 may be set via the command line. 10957 109582001-08-27 Akim Demaille <akim@epita.fr> 10959 10960 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): $2 defaults to $1. 10961 * lib/autotest/autotest.m4 (AT_INIT): Expand AUTOTEST_PATH into 10962 first the build dirs, then the src dirs. 10963 * configure.ac (AC_CONFIG_TESTDIR): Adjust. 10964 109652001-08-27 Akim Demaille <akim@epita.fr> 10966 10967 * lib/autotest/general.m4 (AT_INIT): Output the definition of 10968 at_data_files earlier. 10969 (--clean, -c): New option. 10970 * tests/Makefile.am: Use this option. 10971 109722001-08-27 Akim Demaille <akim@epita.fr> 10973 10974 * lib/autoconf/status.m4 (_AC_SRCPATHS): Rename `ac_dots' as 10975 `ac_top_builddir' to mimic Automake's vocabulary, which much more 10976 readable. 10977 Adjust callers. 10978 * doc/autoconf.texi (Configuration Actions): Document the vars 10979 available in commands. 10980 Emphasize the risks of collisions in init-cmds. 10981 109822001-08-27 Akim Demaille <akim@epita.fr> 10983 10984 * doc/autoconf.texi (Input) <AC_INIT>: Move to.. 10985 (Initializing configure): this new node. 10986 109872001-08-27 Akim Demaille <akim@epita.fr> 10988 10989 * Makefile.am (EXTRA_DIST): INSTALL.txt is a dead hack. 10990 109912001-08-27 Akim Demaille <akim@epita.fr> 10992 10993 * m4/atconfig.m4 (AT_CONFIG): Remove, replaced by... 10994 * lib/autoconf/autotest.m4 (AC_CONFIG_TESTDIR): this. 10995 New file. 10996 * m4/Makefile.am (EXTRA_DIST): Oops, adjust... 10997 109982001-08-27 Akim Demaille <akim@epita.fr> 10999 11000 * lib/autoconf/general.m4 (AU_DEFINE, AU_DEFUN, AU_ALIAS): Move 11001 to... 11002 * lib/autoconf/autoheader.m4: this new file. 11003 * lib/autoconf/general.m4 (AH_OUTPUT, AH_VERBATIM) 11004 (_AH_VERBATIM_OLD, AH_TEMPLATE, _AH_TEMPLATE_OLD, AH_TOP, AH_BOTTOM): 11005 Move to... 11006 * lib/autoconf/autoupdate.m4: this new file. 11007 110082001-08-27 Akim Demaille <akim@epita.fr> 11009 11010 * lib/autoconf/status.m4 (_AC_SRCPATHS): New. 11011 (_AC_OUTPUT_LINKS, _AC_OUTPUT_FILES, _AC_OUTPUT_SUBDIRS): Use it. 11012 Standardize the var names (ac_sub_srcdir -> ac_srcdir, ac_subdir 11013 -> ac_dir). 11014 (_AC_OUTPUT_HEADERS): AS_DIRNAME always return a dir name. 11015 * lib/autoconf/general.m4 (_AC_INIT_HELP): Ditto. 11016 110172001-08-27 Akim Demaille <akim@epita.fr> 11018 11019 * lib/autoconf/autoconf.m4 (AC_CONFIG_COMMANDS) 11020 (AC_CONFIG_COMMANDS_POST, AC_CONFIG_COMMANDS_PRE, AC_CONFIG_FILES) 11021 (AC_CONFIG_HEADER, AC_CONFIG_HEADERS, AC_CONFIG_IF_MEMBER) 11022 (AC_CONFIG_LINKS, AC_CONFIG_SUBDIRS, AC_FILE_DEPENDENCY_TRACE) 11023 (AC_LINK_FILES, AC_LIST_COMMANDS, AC_LIST_COMMANDS_COMMANDS) 11024 (AC_LIST_FILES, AC_LIST_FILES_COMMANDS, AC_LIST_HEADERS) 11025 (AC_LIST_HEADERS_COMMANDS, AC_LIST_LINKS, AC_LIST_LINKS_COMMANDS) 11026 (AC_OUTPUT, AC_OUTPUT_COMMANDS, AC_OUTPUT_COMMANDS_POST) 11027 (AC_OUTPUT_COMMANDS_PRE, AC_OUTPUT_MAKE_DEFS) 11028 (_AC_CONFIG_COMMANDS_INIT, _AC_CONFIG_DEPENDENCIES) 11029 (_AC_CONFIG_DEPENDENCY, _AC_CONFIG_UNIQUE, _AC_LINK_FILES_CNT) 11030 (_AC_LIST_SUBDIRS, _AC_OUTPUT_COMMANDS, _AC_OUTPUT_COMMANDS_CNT) 11031 (_AC_OUTPUT_COMMANDS_INIT, _AC_OUTPUT_CONFIG_STATUS) 11032 (_AC_OUTPUT_FILES, _AC_OUTPUT_HEADERS, _AC_OUTPUT_LINKS) 11033 (_AC_OUTPUT_SUBDIRS): Move to... 11034 * lib/autoconf/status.m4: this new file. 11035 * lib/autoconf/general.m4, lib/autoconf/Makefile.am: Adjust. 11036 * tests/Makefile.am, tests/suite.at: Adjust. 11037 110382001-08-27 Akim Demaille <akim@epita.fr> 11039 11040 Automake 1.5. 11041 11042 * Makefile.am (AUTOMAKE_OPTIONS): Add 1.5 and dist-bzip2. 11043 (AMTAR): Help automake define it. 11044 (INSTALL, install-data-hook): The INSTALL.txt trick is no longer 11045 needed, 1.5 can have a macro and a target with the same name. 11046 * m4/auxdir.m4, m4/cond.m4, m4/depend.m4, m4/install-sh.m4, 11047 * m4/strip.m4: New. 11048 * m4/init.m4, m4/sanity.m4: Update. 11049 * doc/Makefile.am (CLEANFILES): 1.5 knows the texi2dvi files. 11050 * lib/autoconf/Makefile.am, lib/autotest/Makefile.am, 11051 * lib/m4sugar/Makefile.am, lib/autoscan/Makefile.am, 11052 * lib/Autom4te/Makefile.am, man/Makefile.am: Use dist/nodist. 11053 110542001-08-27 Akim Demaille <akim@epita.fr> 11055 11056 Provide a mean to ``AC_PREREQ'' for M4sugar, M4sh and Autotest. 11057 11058 * lib/autoconf/version.in: Remove. 11059 * lib/m4sugar/version.in: New. 11060 * lib/m4sugar/m4sugar.m4 (m4_acversion, m4_version_prereq): New. 11061 Adjust callers. 11062 * bin/autoupdate.in: Distinguish M4sugar vs. Autoconf macros by 11063 the name of the directory they're in, instead of the filename, 11064 since version.m4 is now in m4sugar, but m4_acversion must not be 11065 classified as an Autoconf macro. 11066 ($input_m4): Don't qualify the path to m4sugar. 11067 Rather, pass autoconf_dir to m4. 11068 * tests/Makefile.am (testsuite): Remove -I top_srcdir, unneeded. 11069 * tests/suite.at: Require 2.52c. 11070 110712001-08-27 Akim Demaille <akim@epita.fr> 11072 11073 testsuite.log should include config.log. 11074 11075 * lib/autotest/autotest.m4: New. 11076 * lib/autotest/general.m4, tests/atspecific.m4: Adjust. 11077 * tests/suite.at : Adjust. 11078 (AT_INIT): Log config.log. 11079 * lib/m4sugar/m4sugar.m4 (m4_text_box): New. 11080 * lib/m4sugar/m4sh.m4 (_AS_BOX_LITERAL): Adjust. 11081 * lib/autoconf/general.m4 (_AC_INIT_CONFIG_LOG): Use them. 11082 (_AC_INIT_PREPARE): Fix the incredibly messy and buggy completion 11083 of config.log on traps. 11084 (_AC_OUTPUT_CONFIG_STATUS): Use AS_BOX. 11085 Use consistently `_ACEOF' for configure's here docs, and `_CSEOF' 11086 for config.status'. 11087 Open the log as soon as possible. 11088 Use the same log introduction as configure's. 11089 110902001-08-22 Paul Eggert <eggert@twinsun.com> 11091 11092 * doc/autoconf.texi (Indices): New node. 11093 Move indices out of the top level menu and into this submenu. 11094 110952001-08-22 Akim Demaille <akim@epita.fr> 11096 11097 * lib/autoconf/programs.m4 (_AC_PROG_LEX_YYTEXT_DECL): Use 11098 AC_TRY_COMMAND. 11099 (AC_DECL_YYTEXT): Fix the previous patch: it points to AC_PROG_LEX. 11100 111012001-08-22 Akim Demaille <akim@epita.fr> 11102 11103 * lib/autoconf/general.m4 (AC_SHELL_PATH_WALK, AC_CHECK_PROG) 11104 (AC_CHECK_PROGS, AC_PATH_PROG, AC_PATH_PROGS, AC_CHECK_TOOL_PREFIX) 11105 (AC_PATH_TOOL, AC_CHECK_TOOL, AC_CHECK_TOOLS): Move to... 11106 * lib/autoconf/programs.m4: here. 11107 * lib/autoconf/specific.m4 (_AC_PROG_ECHO, AC_PROG_MAKE_SET) 11108 (AC_PROG_RANLIB, AC_PROG_YACC, AC_PROG_LEX, _AC_DECL_YYTEXT) 11109 (AC_PROG_INSTALL, AC_PROG_LN_S, AC_RSH): Move to... 11110 * lib/autoconf/programs.m4: here. 11111 (_AC_DECL_YYTEXT): Rename as... 11112 (_AC_PROG_LEX_YYTEXT_DECL): this. 11113 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am 11114 * tests/Makefile.am, tests/suite.am: Adjust. 11115 111162001-08-22 Akim Demaille <akim@epita.fr> 11117 11118 * lib/autoconf/general.m4 (AC_LIST_MEMBER_OF, AC_LINKER_OPTION): 11119 Move to... 11120 * lib/autoconf/fortran.m4 (_AC_LIST_MEMBER_IF, _AC_LINKER_OPTION): 11121 here. 11122 * lib/autoconf/general.m4 (AC_TRY_LINK_FUNC): Move to... 11123 * lib/autoconf/functions.m4: here. 11124 * lib/autoconf/general.m4 (AC_SEARCH_LIBS, AC_CHECK_LIB) 11125 (AH_CHECK_LIB): Move to... 11126 * lib/autoconf/libs: this new file. 11127 * lib/autoconf/specific.m4 (_AC_PATH_X_XMKMF, _AC_PATH_X_DIRECT) 11128 (_AC_PATH_X, AC_PATH_X, AC_PATH_XTRA): Move to... 11129 * lib/autoconf/libs.m4: here. 11130 * lib/autoconf/autoconf.m4, lib/autoconf/Makefile.am: Adjust. 11131 111322001-08-22 Akim Demaille <akim@epita.fr> 11133 11134 * lib/m4sugar/m4sh.m4 (AS_MKDIR_P): Fail if fails. 11135 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Adjust. 11136 (AC_SITE_LOAD): Better logging of config.site. 11137 111382001-08-20 Akim Demaille <akim@epita.fr> 11139 11140 * configure.ac (AT_CONFIG): Fix the path. 11141 * m4/atconfig.m4 (AT_CONFIG): Don't use EOF but ATEOF so that 2.52 11142 can be used. 11143 111442001-08-20 Alexandre Duret-Lutz <duret_g@epita.fr> 11145 11146 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Prepare the cross-compile 11147 program with AC_LANG_PROGRAM before feeding it to 11148 AC_COMPILE_IFELSE. Cleanup grep usage. 11149 111502001-08-20 Akim Demaille <akim@epita.fr> 11151 11152 * ChangeLog, ChangeLog.0, ChangeLog.1, ChangeLog.2, AUTHORS, BUGS, 11153 * NEWS, README, README-alpha, TODO, tests/README: This package is 11154 `Autoconf', not `autoconf' (the executable). 11155 111562001-08-20 Akim Demaille <akim@epita.fr> 11157 11158 Info readers seem to need `Index' in the index node title :( 11159 11160 * doc/autoconf.texi: Reverse the 2001-08-15 change which 11161 simplified index node names. 11162 111632001-08-20 Akim Demaille <akim@epita.fr> 11164 11165 * lib/autoconf/general.m4 (_AC_INIT_PACKAGE): Warn if the 11166 arguments are not literals. 11167 * doc/autoconf.texi (Input) <AC_INIT>: Arguments must be literals. 11168 Specify the output variables, and macros defined. 11169 111702001-08-20 Akim Demaille <akim@epita.fr> 11171 11172 * doc/autoconf.texi (Examining Declarations) <AC_TRY_CPP>: 11173 (Examining Syntax) <AC_TRY_COMPILE> 11174 (Examining Libraries) <AC_TRY_LINK> 11175 (Test Programs) <AC_TRY_RUN>: These macros double quote some of 11176 their arguments. 11177 Reported by Werner Lemberg. 11178 111792001-08-20 Akim Demaille <akim@epita.fr> 11180 11181 * lib/autotest/general.m4 (AT_INIT): Compute top_builddir, 11182 top_srcdir and srcdir from at_topbuild_2_topsrc and at_testdir. 11183 Load atlocal late enough to dump it in the log. 11184 * m4/atconfig.m4 (AT_CONFIG): Pass them to atconfig. 11185 111862001-08-20 Akim Demaille <akim@epita.fr> 11187 11188 * tests/torture.at (Configuring subdirectories): New test. 11189 * lib/autoconf/general.m4 (_AC_INIT_SRCDIR): Say what you are 11190 looking for. 11191 * m4/atconfig.m4: Be sure the let $[0] be expandable. 11192 (top_srcdir): Fix its computation. 11193 111942001-08-20 Akim Demaille <akim@epita.fr> 11195 11196 * lib/autoconf/general.m4 (_AC_OUTPUT_COMMANDS): Say what you do. 11197 * m4/atconfig.m4 (AT_CONFIG): $1 is now the directory where the 11198 test suite lives. 11199 Create `atconfig' automagically. 11200 Configure atlocal.in if present. 11201 * tests/atconfig.in: Remove. 11202 * tests/atlocal.in: New. 11203 * tests/Makefile.am: Adjust. 11204 112052001-08-20 Akim Demaille <akim@epita.fr> 11206 11207 Huh!?!?! There are still some user EOF tags used, which prevents 11208 their use in AC_CONFIG_COMMANDS for instance... 11209 11210 * lib/autoconf/general.m4, lib/autoconf/specific.m4, 11211 * lib/autotest/general.m4: Rename the EOF tags as `_ACEOF', 11212 `_CSEOF', or `_ATEOF', as appropriate. 11213 * lib/m4sugar/Makefile.am, lib/autoconf/Makefile.am, 11214 * lib/autotest/Makefile.am (check-local): Enforce this constraint. 11215 112162001-08-20 Akim Demaille <akim@epita.fr> 11217 11218 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, 11219 * tests/semantics.at, tests/tools.at, tests/torture.at: 11220 s/^AT_DATA\(([^][]+),/AT_DATA([$1],/. 11221 112222001-08-20 Akim Demaille <akim@epita.fr> 11223 11224 Autotest invokes M4sh's initialization. 11225 11226 * lib/autotest/general.m4: Adjust the diversion names. 11227 (AT_INIT): Run AS_INIT. 11228 Use the BINSH diversion to invoke /bin/sh. 11229 * tests/base.at, tests/m4sh.at, tests/m4sugar.at, tests/tools.at: 11230 * tests/torture.at: Respect M4sugar and M4sh macro name spaces. 11231 112322001-08-20 Akim Demaille <akim@epita.fr> 11233 11234 Let M4sh have its own diversions. 11235 11236 * lib/autoconf/general.m4 (_m4_divert(BINSH), _m4_divert(REVISION)) 11237 (_m4_divert(NOTICE)): Rename as... 11238 * lib/m4sugar/m4msh.m4 (_m4_divert(BINSH), _m4_divert(HEADER-REVISION)) 11239 (_m4_divert(HEADER-COMMENT)): these. 11240 (_m4_divert(HEADER-COPYRIGHT), _m4_divert(HEADER-COPYRIGHT)): New. 11241 (_m4_divert(NOTICE)): New, for Libtool. 11242 * lib/autoconf/general.m4 (_m4_divert(PREPARE)): Remove, replaced 11243 long ago with `_m4_divert(GROW)'. 11244 (AC_COPYRIGHT, AC_REVISION, _AC_INIT_NOTICE): Adjust. 11245 112462001-08-20 Akim Demaille <akim@epita.fr> 11247 11248 * tests/base.at, tests/compile.at, tests/foreign.at, 11249 * tests/m4sh.at, tests/m4sugar.at, tests/mktests.sh, 11250 * tests/semantics.at, tests/suite.at, tests/tools.at, 11251 * tests/torture.at: Ask Autotest mode, not Autoconf mode. 11252 112532001-08-20 Akim Demaille <akim@epita.fr> 11254 11255 * bin/autom4te.in (handle_output): Handle @__@. 11256 112572001-08-20 Akim Demaille <akim@epita.fr> 11258 11259 * lib/autoconf/autoconf.m4, lib/autoconf/oldnames.m4, 11260 * lib/autotest/general.m4: Adjust the license. 11261 112622001-08-17 Paul Eggert <eggert@twinsun.com> 11263 11264 * doc/autoconf.texi (Function Portability): Mention snprintf, 11265 following up on a suggestion by Kevin Ryde. 11266 112672001-08-17 Akim Demaille <akim@epita.fr> 11268 11269 * doc/install.texi, doc/autoconf.texi: Use `autoconf', not 11270 `autoconf_manual', as texinfo.tex 2001-06-21.10 chokes on it. 11271 112722001-08-17 Akim Demaille <akim@epita.fr> 11273 11274 * lib/autotest/general.m4 (AT_INIT): Refer to `$as_me.log', not 11275 `$0.log' as for projects where testsuite is in src, we'd have 11276 testsuite.log created in src. 11277 112782001-08-17 Akim Demaille <akim@epita.fr> 11279 11280 * bin/autom4te.in (&parse_args): Recognize --normalize. 11281 112822001-08-17 Akim Demaille <akim@epita.fr> 11283 11284 Start implementing the AC_CHECK_HEADER transition scheme. 11285 11286 * lib/autoconf/headers.m4 (_AC_CHECK_HEADER_NEW) 11287 (_AC_CHECK_HEADER_OLD, _AC_CHECK_HEADER_MONGREL): New. 11288 (AC_CHECK_HEADER): Use them. 11289 112902001-08-17 Akim Demaille <akim@epita.fr> 11291 11292 * doc/autoconf.texi: Work around Texinfo buglets. 11293 (Transformation Rules): One example is enough, users are expected 11294 to have their brains on. And BTW, use DESTDIR. 11295 (dvar): New macro. Use it. 11296 112972001-08-17 Akim Demaille <akim@epita.fr> 11298 11299 * doc/autoconf.texi (Writing testsuite.at) <AT_CHECK>: Complete. 11300 * lib/autotest/general.m4 (AT_INIT): Use the relative dir when 11301 looking for ChangeLogs. 11302 113032001-08-17 Akim Demaille <akim@epita.fr> 11304 11305 * bin/autom4te.in: --normalize is a new option. 11306 * bin/autoconf.in: Use it. 11307 113082001-08-17 Akim Demaille <akim@epita.fr> 11309 11310 * bin/Makefile.am, lib/Autom4te/Makefile.am, lib/autoconf/Makefile.am 11311 * lib/autotest/Makefile.am, lib/m4sugar/Makefile.am: Add TAGS support. 11312 113132001-08-16 Paul Eggert <eggert@twinsun.com> 11314 11315 * doc/autoconf.texi, doc/install.texi: Put copyright notice at 11316 start, not at end. 11317 113182001-08-15 Akim Demaille <akim@epita.fr> 11319 11320 * doc/Makefile.am (fu): New index, can't use fn because of defmac. 11321 Use it. 11322 113232001-08-15 Akim Demaille <akim@epita.fr> 11324 11325 * doc/autoconf.texi (pr): New index. 11326 (prindex, findex): Use, merge, and output them. 11327 (Environment Variable Index, Output Variable Index) 11328 (Preprocessor Symbol Index, Autoconf Macro Index, M4 Macro Index) 11329 (Autotest Macro Index): Rename as... 11330 (Environment Variables, Output Variables,Preprocessor Symbols) 11331 (Autoconf Macros, M4 Macros, Autotest Macros): these. 11332 * doc/install.texi: Use @command. 11333 (Environment Variables): Rename as... 11334 (Defining Variables): this. 11335 113362001-08-15 Akim Demaille <akim@epita.fr> 11337 11338 * doc/autoconf.texi (Function Portability): sprintf's return 11339 value. 11340 From Kevin Ryde. 11341 113422001-08-15 Akim Demaille <akim@epita.fr> 11343 11344 * Makefile.maint (CVS): New. 11345 (local-check): Run changelog-check. last. 11346 (alpha): Don't depend upon local-check, since... 11347 (cvs-dist): depends upon it. 11348 113492001-08-15 Tim Van Holder <tim.van.holder@pandora.be> 11350 11351 * tests/Makefile.am: Use a clean-local rule to remove 11352 autom4te.cache (it's a directory, not a file. 11353 * Makefile.am: Ditto (but maintainer-clean-local). 11354 113552001-08-15 Akim Demaille <akim@epita.fr> 11356 11357 * bin/autom4te.in (@m4_warning): New. 11358 (&handle_m4): Use it. 11359 * tests/m4sugar.at (m4_warn): Pass `-f' to autom4te to ensure the 11360 warnings are issued at each run. 11361 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): M4sugar 11362 is in the src tree. 11363 113642001-08-15 Akim Demaille <akim@epita.fr> 11365 11366 * tests/atspecific.m4 (AT_CHECK_AUTOUPDATE): Perl is now required: 11367 don't waste time running `autoupdate --version' works. 11368 * tests/tools.at (autoupdating AC_PREREQ): Likewise. 11369 113702001-08-13 Akim Demaille <akim@epita.fr> 11371 11372 * doc/autoconf.texi (ma): Rename this index as... 11373 (ac): this. 11374 113752001-08-13 Akim Demaille <akim@epita.fr> 11376 11377 * Makefile.am: Remove dead code and dead comments. 11378 (pdf, html): New targets. 11379 * doc/autoconf.texi (Using Autotest): New chapter. 11380 * doc/Makefile.am (pdf): New targets. 11381 (CLEANFILES): Adjust. 11382 113832001-08-13 Akim Demaille <akim@epita.fr> 11384 11385 * lib/autotest/general.m4 (AT_INIT): Log the start/stop dates and 11386 duration of the test suite. 11387 113882001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr> 11389 11390 * tests/semantics.at (AC_C_BIGENDIAN): Explicitelly save and load 11391 endianness for comparison instead of relying on AT_CHECK_ENV. 11392 113932001-08-11 Paul Eggert <eggert@twinsun.com> 11394 11395 * doc/autoconf.texi, doc/install.texi: Add a copyright notice 11396 to the INSTALL file. 11397 113982001-08-11 Paul Eggert <eggert@twinsun.com> 11399 11400 * NEWS: The autoconf manual now is distributed under the terms 11401 of the GNU Free Documentation License. 11402 11403 * doc/autoconf.texi: Switch from old style copyright notice to FDL. 11404 Add an appendix "Copying This Manual" for the FDL. 11405 11406 * doc/fdl.texi: New file, from 11407 <http://www.gnu.org/licenses/fdl.texi>. 11408 11409 * doc/Makefile.am (autoconf_TEXINFOS): Add fdl.texi. 11410 114112001-08-10 Paul Eggert <eggert@twinsun.com> 11412 11413 * AUTHORS, BUGS, ChangeLog, ChangeLog.0, ChangeLog.1, 11414 ChangeLog.2, GNUmakefile, Makefile.maint, NEWS, README, 11415 README-alpha, TODO, configure.ac, lib/autoconf/Makefile.am, 11416 m4/atconfig.m4, m4/init.m4, m4/m4.m4, m4/missing.m4, 11417 m4/sanity.m4, tests/README, tests/aclocal.m4, 11418 tests/atspecific.m4, tests/base.at, tests/compile.at, 11419 tests/foreign.at, tests/m4sh.at, tests/m4sugar.at, 11420 tests/semantics.at, tests/suite.at, tests/tools.at, 11421 tests/torture.at: Add copyright notice. 11422 11423 * tests/mktests.sh: Update year in copyright notice. 11424 114252001-08-12 Alexandre Duret-Lutz <duret_g@epita.fr> 11426 11427 * tests/semantics.at (AC_C_BIGENDIAN): New test. 11428 114292001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr> 11430 11431 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Handle ACTION-IF-TRUE, 11432 ACTION-IF-FALSE, and ACTION-IF-UNKNOWN. 11433 * doc/autoconf.texi (C Compiler Characteristics): Update 11434 documentation for AC_C_BIGENDIAN. 11435 114362001-08-11 Alexandre Duret-Lutz <duret_g@epita.fr> 11437 11438 * lib/autoconf/c.m4 (AC_C_BIGENDIAN): Guess endianness by grep'ing 11439 magic values from an object file when cross-compiling. 11440 Based on code by Guido Draheim <Guido.Draheim@gmx.de>. 11441 114422001-08-10 Akim Demaille <akim@epita.fr> 11443 11444 * bin/autom4te.in (&handle_output): Don't use `grep' with side 11445 effects. 11446 Suggested by Russ Allbery. 11447 114482001-08-10 Ralf Corsepius <corsepiu@faw.uni-ulm.de> 11449 11450 * lib/autoconf/general.m4 (_AC_OUTPUT_SUBDIRS): Propagate the 11451 current $prefix to the sub-configures. 11452 114532001-08-09 Tim Van Holder <tim.van.holder@pandora.be> 11454 11455 * lib/autoconf/lang.m4: Ignore *.xSYM when looking for an executable 11456 extension (needed on BeOS). Reported by Guido van Rossum. 11457 114582001-08-09 Akim Demaille <akim@epita.fr> 11459 11460 * bin/autom4te.in ($icache): Load it only if older than autom4te. 11461 114622001-08-07 Akim Demaille <akim@epita.fr> 11463 11464 * lib/autotest/general.m4 (AT_INIT): All the `at-*' are to be 11465 removed. 11466 (at-setup-line): Huh? Be a variable `at_setup_line', not a file. 11467 No need to remove the files before and after the each test, before 11468 each test and at the end of the suite is enough. 11469 Display only the children `times', not the shell's. 11470 If the test failed or was skipped, at-times is not available. 11471 114722001-08-07 Akim Demaille <akim@epita.fr> 11473 11474 Always produce testsuite.log, including when there are no 11475 failures. This helps getting information on skipped tests, and 11476 duration of the tests. Err, implement the latter btw. 11477 11478 * lib/autotest/general.m4 (AT_INIT): Set up fd 6 for the log. 11479 Dump information on the first run of each test. 11480 (AT_CLEANUP): Create `at-times' containing the duration of the 11481 test group. 11482 114832001-08-07 Akim Demaille <akim@epita.fr> 11484 11485 The use of `dumpstat' revealed that `len' was used although it 11486 should not. m4_text_wrap was using it, but in the Autoconf world 11487 where it is legal. Hence (i) test M4sh in its own world, not 11488 Autoconf's, and (ii), ahem, fix the bug :) 11489 11490 * lib/autotest/general.m4: Be sure the set good quotes, as tracing 11491 does not like `' instead of []. 11492 (AT_INIT): Forbid `^_?AT_'. 11493 And don't output such tokens. 11494 * tests/Makefile.am (CLEANFILES): Add `script', `script.s4g', 11495 `script.as', and `autom4te.cache'. 11496 Remove `empty' and `macro' which are no longer used. 11497 * tests/atspecific.m4 (AT_CHECK_M4SUGAR, AT_CHECK_M4SH): New. 11498 * tests/m4sugar.at: Use it. 11499 * lib/m4sugar/m4sugar.m4: Use `m4_len' not `len'. 11500 115012001-08-07 Akim Demaille <akim@epita.fr> 11502 11503 * bin/autoconf.in, bin/autoheader.in: --force, -f is a new option. 11504 115052001-08-07 Alexandre Duret-Lutz <duret_g@epita.fr> 11506 11507 * bin/autom4te.in (handle_output): Typo in quadrigraph substitution. 11508 115092001-08-04 Akim Demaille <akim@epita.fr> 11510 11511 * lib/autoconf/functions.m4 (AC_FUNC_ALLOCA, AC_FUNC_ERROR_AT_LINE) 11512 (AC_FUNC_FSEEKO, AC_FUNC_OBSTACK): Use AC_LANG_IFELSE, not 11513 AC_TRY_LINK. 11514 * lib/autoconf/headers.m4 (AC_HEADER_MAJOR): Likewise. 11515 * lib/autoconf/fortran.m4 (_AC_LANG_PROGRAM_C_F77_HOOKS) 11516 (AC_F77_MAIN): Likewise. 11517 115182001-08-04 Akim Demaille <akim@epita.fr> 11519 11520 Don't rely on M4sugar outputting the patterns in files, since we 11521 might process the output _without_ running m4, hence without these 11522 files. 11523 11524 * lib/m4sugar/m4sugar.m4 (m4_init): No need for `m4_tmpdir'. 11525 * bin/autom4te.in (@Request::includes): Remove, unused. 11526 (@Request::source): Rename as... 11527 (@Request::input): this. 11528 (@preselect): Add `m4_pattern_forbid' and `m4_pattern_allow'. 11529 (&handle_output): Fetch the patterns from the traces. 11530 `$forbidden' and `$allowed' are constant: use m//o. 11531 (&handle_m4): M4sugar no longer wants `m4_tmpdir'. 11532 (m4_pattern_forbid, m4_pattern_allow): Adjust for tracing only. 11533 115342001-08-04 Akim Demaille <akim@epita.fr> 11535 11536 `autoconf && autoheader' is sped up. Now, speed up `autoheader && 11537 autoconf', i.e., in addition to caching traces, cache the output. 11538 11539 * bin/autom4te.in (Request::cache): Rename as... 11540 (Request::id): this. 11541 ($cache, $icache, $tcache, $ocache): New. 11542 (&handle_m4): Save M4 output in the cache instead of $tmp. 11543 (&handle_output): Adjust. 11544 (&up_to_date_p): Check that the output cache is up to date too. 11545 (top level): Run `&handle_m4' iff force or the cache is invalid. 11546 Run `&handle_output' if the output cache is more recent. 11547 115482001-08-04 Akim Demaille <akim@epita.fr> 11549 11550 * bin/autom4te.in ($force): New. 11551 (&parse_args, &print_usage): -f, --force is a new option. 11552 (&handle_output): CPP directives might have spaces after `#'. 11553 (&parse_args): The first file only can be frozen. 11554 115552001-08-04 Akim Demaille <akim@epita.fr> 11556 11557 Don't let autom4te compute the `include' traces several times: 11558 first check that the trace cache file is up to date, and then 11559 compare its timestamp with that of the output. 11560 11561 * bin/autom4te.in, bin/autoupdate.in, bin/autoscan.in: Normalize 11562 the preamble. Don't require 5.005 as Autom4te::General does it, 11563 and better yet (use `use', not `require'!). 11564 * lib/Autom4te/Struct.pm: Rename the last occurrences of 11565 Class::Struct as Autom4te::Struct. 11566 * lib/Autom4te/General.pm (File::stat): Use it. 11567 (&mtime): New, export it. 11568 * bin/autom4te.in: Use it. 11569 Declare `$req' is invalid if it is outdated. 11570 Don't declare it valid before saving it if something went wrong. 11571 115722001-08-04 Akim Demaille <akim@epita.fr> 11573 11574 Autom4te shall not encode Autoconf data, and preselecting traces 11575 must be proposed to the users. 11576 11577 * bin/autom4te.in (@required_trace): Remove. 11578 (@preselect): New. 11579 (&parse_args, &print_usage): -p, --preselect is a new option. 11580 (&up_to_date_p): Adjust. 11581 * bin/autoconf.in: Preselect some Autoconf macros. 11582 115832001-08-04 Akim Demaille <akim@epita.fr> 11584 11585 * tests/tools.at (autoconf --trace: user macros): Check traces on 11586 macros invoked without arguments, and macros invoked with multiple 11587 lines arguments. 11588 115892001-08-03 Alexandre Duret-Lutz <duret_g@epita.fr> 11590 11591 * bin/autom4te.in (handle_traces): Fix rewriting of traces without 11592 arguments. 11593 115942001-08-03 Akim Demaille <akim@epita.fr> 11595 11596 * bin/autoconf.in ($@): Work around the usual sh bug. 11597 From Nicolas Joly. 11598 115992001-08-03 Akim Demaille <akim@epita.fr> 11600 11601 Clean up the handling of the M4 builtins tracing exception. 11602 11603 * bin/autom4te.in (Request::request): Don't complete M4 builtins 11604 trace requests. 11605 (@m4_builtins): Rename as... 11606 (@m4_builtin): this. 11607 (%m4_builtin_alternate_name): New. 11608 (&parse_args): Complete the trace requests with alternate names. 11609 (&handle_traces): Hence no longer do it here. 11610 (&trace_requests): Remove, unused. 11611 116122001-08-03 Akim Demaille <akim@epita.fr> 11613 11614 * doc/autoconf.texi (Redefined M4 Macros): Document m4_exit, 11615 m4_if, and m4_wrap. 11616 116172001-08-03 Akim Demaille <akim@epita.fr> 11618 11619 * lib/m4sugar/m4sugar.m4 (m4_init): Also forbid `_m4_*' tokens. 11620 (m4_divert_pop): Dump the whole diversion stack when a diversion 11621 mismatch happens. 11622 * bin/autom4te.in (&handle_output): Remember of the first 11623 occurrence of a possibly undefined macro, not the last. 11624 Complain about the possibly undefined macros in the same order as 11625 the appear in the output. 11626 * lib/autoconf/Makefile.am (autoconf.m4f): List its dependencies. 11627 * tests/tools.at (autoconf: forbidden tokens, basic) 11628 (autoconf: forbidden tokens, exceptions): No longer sort 11629 autoconf's stderr, as it is now deterministic. 11630 Check that `dnl' is caught. 11631 116322001-08-01 Akim Demaille <akim@epita.fr> 11633 11634 * configure.ac: Bump to 2.52c. 11635 116362001-08-01 Akim Demaille <akim@epita.fr> 11637 11638 Version 2.52b. 11639 11640 * lib/Autom4te/Makefile.am (perllibdir): s/Autoconf/Autom4te/. 11641 116422001-08-01 Akim Demaille <akim@epita.fr> 11643 11644 Version 2.52a. 11645 116462001-08-01 Akim Demaille <akim@epita.fr> 11647 11648 * lib/Autom4te/General.pm: Use `carp' and `croak', not `warn' and 11649 `die'. 11650 (&END): New. 11651 * bin/autoconf.in, bin/autom4te.in, bin/autoupdate.in: Remove your 11652 `END', as `Autom4te::General::END' will be triggered. 11653 * bin/autoupdate.in, bin/autoscan.in: Improve error messages accuracy. 11654 * bin/autoupdate.in (File::Compare, File::Copy): Use them instead of 11655 system to run `mv', `rm', and `cmp'. 11656 116572001-08-01 Akim Demaille <akim@epita.fr> 11658 11659 * lib/Autom4te/General.pm (&unique): New. 11660 * bin/autoscan.in (&output): Use it to issue trace requests once. 11661 116622001-08-01 Akim Demaille <akim@epita.fr> 11663 11664 * lib/Autom4te/General.pm: New. 11665 * bin/autom4te.in (Autom4te::General): Use it. 11666 ($me, $tmp, $verbose, $debug, &mktmpdir, &verbose, &xsystem) 11667 (&find_configure_ac, &find_slave): Remove. 11668 * bin/autoscan.in: Likewise. 11669 * bin/autoupdate.in: Likewise. 11670 116712001-08-01 Akim Demaille <akim@epita.fr> 11672 11673 * autoconf.in, autom4te.in, autoscan.in, ifnames.in, 11674 * autoheader.in, autoreconf.in, autoupdate.in: Move to... 11675 * bin: here, new directory. 11676 * lib/Autoconf: Rename as... 11677 * lib/Autom4te: this, to please case insensitive junkie OSes. 11678 116792001-08-01 Akim Demaille <akim@epita.fr> 11680 11681 * autom4te.in ($m4): Handle the --nesting-limit. 11682 * autoconf.in (M4): Remove. 11683 116842001-08-01 Akim Demaille <akim@epita.fr> 11685 11686 * autoconf.in ($AWK): Remove, no longer used. 11687 * test/tools.at: Use AT_CHECK_AUTOCONF. 11688 (AWK portability): Remove, for autoconf no longer uses AWK. 11689 (Syntax of the Perl scripts): New. 11690 * configure.ac: autoconf no longer needs an AWK with a good 11691 regexp engine. 11692 Use a static test on AC_PACKAGE_VERSION. 11693 * autom4te.in (&up_to_date_p): Output depends on the arguments. 11694 * lib/autoconf/Makefile.am: Ship version.m4, maintainer file. 11695 * tests/atconfig.in (PERL): New. 11696 116972001-08-01 Akim Demaille <akim@epita.fr> 11698 11699 * lib/autoconf/lang.m4 (AC_LANG(C), AC_LANG_C, _AC_LANG_ABBREV(C)) 11700 (AC_LANG(C++), AC_LANG_CPLUSPLUS, _AC_LANG_ABBREV(C++)) 11701 (AC_LANG_SOURCE(C), AC_LANG_PROGRAM(C), AC_LANG_CALL(C)) 11702 (AC_LANG_FUNC_LINK_TRY(C), AC_LANG_BOOL_COMPILE_TRY(C)) 11703 (AC_LANG_INT_SAVE(C), _AC_ARG_VAR_CPPFLAGS, _AC_ARG_VAR_LDFLAGS) 11704 (AC_LANG_PREPROC(C), _AC_PROG_PREPROC_WORKS_IFELSE, AC_PROG_CPP) 11705 (AC_LANG_COMPILER(C), ac_cv_prog_gcc, AC_PROG_CC, _AC_PROG_CC_G) 11706 (AC_PROG_GCC_TRADITIONAL, AC_PROG_CC_C_O, AC_LANG_PREPROC(C++)) 11707 (AC_PROG_CXXCPP, AC_LANG_COMPILER(C++), ac_cv_prog_gxx) 11708 (AC_PROG_CXX, _AC_PROG_CXX_G, _AC_PROG_CXX_EXIT_DECLARATION) 11709 (AC_PROG_CC_STDC, AC_C_CROSS, AC_C_CHAR_UNSIGNED, AC_C_LONG_DOUBLE) 11710 (AC_C_BIGENDIAN, AC_C_INLINE, AC_C_CONST, AC_C_VOLATILE) 11711 (AC_C_STRINGIZE, AC_C_PROTOTYPES): Move to... 11712 * lib/autoconf/c.m4: here, new file. 11713 11714 * lib/autoconf/lang.m4 (AC_LANG(Fortran 77), AC_LANG_FORTRAN77) 11715 (_AC_LANG_ABBREV(Fortran 77), AC_LANG_SOURCE(Fortran 77)) 11716 (AC_LANG_PROGRAM(Fortran 77), AC_LANG_CALL(Fortran 77)) 11717 (AC_LANG_PREPROC(Fortran 77), AC_LANG_COMPILER(Fortran 77)) 11718 (ac_cv_prog_g77, AC_PROG_F77, _AC_PROG_F77_G, AC_PROG_F77_C_O) 11719 (_AC_PROG_F77_V_OUTPUT, _AC_PROG_F77_V, AC_F77_LIBRARY_LDFLAGS) 11720 (AC_F77_DUMMY_MAIN, _AC_LANG_PROGRAM_C_F77_HOOKS, AC_F77_MAIN) 11721 (_AC_F77_NAME_MANGLING, AC_F77_NAME_MANGLING, AC_F77_WRAPPERS) 11722 (AC_F77_FUNC): Move to... 11723 * lib/autoconf/fortran.m4: here, new file. 11724 117252001-08-01 Akim Demaille <akim@epita.fr> 11726 11727 * acfunctions.m4: Rename as... 11728 * lib/autoconf/functions.m4: this. 11729 * acgeneral.m4: Rename as... 11730 * lib/autoconf/general.m4: this. 11731 * acheaders.m4: Rename as... 11732 * lib/autoconf/headers.m4: this. 11733 * aclang.m4: Rename as... 11734 * lib/autoconf/lang.m4: this. 11735 * acoldnames.m4: Rename as... 11736 * lib/autoconf/oldnames.m4: this. 11737 * acspecific.m4: Rename as... 11738 * lib/autoconf/specific.m4: this. 11739 * actypes.m4: Rename as... 11740 * lib/autoconf/types.m4: this. 11741 * autoconf.m4: Rename as... 11742 * lib/autoconf/autoconf.m4: this. 11743 11744 * m4sugar.m4: Rename as... 11745 * lib/m4sugar/m4sugar.m4: this. 11746 * m4sh.m4: Rename as... 11747 * lib/m4sugar/m4sh.m4: this. 11748 11749 * tests/atgeneral.m4: Rename as... 11750 * lib/autotest/general.m4: this. 11751 11752 * acfunctions: Rename as... 11753 * lib/autoscan/functions: this. 11754 * acheaders: Rename as... 11755 * lib/autoscan/headers: this. 11756 * acidentifiers: Rename as... 11757 * lib/autoscan/identifiers: this. 11758 * aclibraries: Rename as... 11759 * lib/autoscan/libraries: this. 11760 * acmakevars: Rename as... 11761 * lib/autoscan/makevars: this. 11762 * acprograms: Rename as... 11763 * lib/autoscan/programs: this. 11764 117652001-08-01 Akim Demaille <akim@epita.fr> 11766 11767 * doc/autoconf.texi: Moving/deleting open files is not portable. 11768 Portability issues for `.' (source), and more information about sed. 11769 117702001-07-25 Steven G. Johnson <stevenj@alum.mit.edu> 11771 11772 * aclang.m4 (AC_F77_LIBRARY_LDFLAGS): Ignore -libmil (on Solaris), 11773 which has a special meaning and is not a reference to libibmil.a. 11774 Reported by Matteo Frigo. 11775 117762001-07-25 Pavel Roskin <proski@gnu.org> 11777 11778 * autom4te.in (mktmpdir): Strip trailing newline from mktemp 11779 output. 11780 117812001-07-25 Akim Demaille <akim@epita.fr> 11782 11783 * autoconf.in: Try to define the variables before using them. 11784 * autom4te.in ($perllibdir): Use `$autom4te_perllibdir' as envvar 11785 instead of `$perllibdir'. 11786 * tests/atconfig.in ($autom4te_perllibdir): Export it. 11787 117882001-07-25 Akim Demaille <akim@epita.fr> 11789 11790 * autoconf.in (ac_LF_and_DOT): Remove, unused. 11791 117922001-07-24 Akim Demaille <akim@epita.fr> 11793 11794 Let autoconf use autom4te for traces. 11795 11796 * autoconf.in ($task, task trace): Remove, merely pass --trace to 11797 autom4te. 11798 * autoheader.in: Don't pass `-' to autoconf, rather, a tmp file. 11799 (Because I found no way for autom4te to accept `-'). 11800 * autom4te.in (&Request::request): Beware of M4 builtins. 11801 (END): Don't try to remove the content of an empty dir. 11802 (&parse_args): Default is `$f:$l:$n:$%', not `$f:$l:$n:$*'. 11803 (&handle_output): Set a default value to `$forbidden'. 11804 * autoupdate.in (&verbose, &xsystem): New, from autom4te.in. 11805 ($autoconf): Pass --debug and --verbose. 11806 * tests/atspecific.m4 (AT_CHECK_AUTOCONF): Clean up autom4te's 11807 cache. 11808 118092001-07-24 Akim Demaille <akim@epita.fr> 11810 11811 Let autoconf use autom4te to create configure. 11812 11813 * autoconf.in ($automate): New var. 11814 (task script): Use autom4te. 11815 * autom4te.in (File::Spec): Use it. 11816 (&find_file): New. 11817 (&parse_args): --warning is -W, not -w. 11818 Find the top level files. 11819 (&handle_m4): Pass the warnings flags. 11820 Don't report verbosely m4's failures, unless requested. 11821 (&handle_output): Don't complain for forbidden tokens in comments. 11822 Be sure to report all the forbidden tokens within a single line. 11823 (&trace_format_to_m4): Preserve `$_'. 11824 (&handle_traces): Sort the output macros. 11825 (&up_to_date_p): Find the files before trying to get its time stamp. 11826 118272001-07-24 Akim Demaille <akim@epita.fr> 11828 11829 * Makefile.am: Ship, build and install Autom4te. 11830 (SUBDIRS): Add lib. 11831 * lib/Autoconf/Struct.pm: New, from Automake 1.5. 11832 * configure.in: Require Perl. 11833 * man/autom4te.in: New. 11834 118352001-07-19 Paul Eggert <eggert@twinsun.com> 11836 11837 * doc/autoconf.texi (Cache Checkpointing): Use AC_MSG_ERROR in 11838 example, rather than (exit 1); exit (which isn't portable). 11839 118402001-07-18 Akim Demaille <akim@epita.fr> 11841 11842 Version 2.52. 11843 118442001-07-18 Akim Demaille <akim@epita.fr> 11845 11846 The C-Fortran 77 hooks are available only once AC_F77_DUMMY_MAIN 11847 was run, while they are needed also when it is expanded. 11848 Reported by Nicolas Joly. 11849 11850 * aclang.m4 (AC_F77_DUMMY_MAIN): Define _AC_LANG_PROGRAM_C_F77_HOOKS. 11851 (AC_LANG_PROGRAM(C)): Use it instead of depending upon 11852 AC_F77_DUMMY_MAIN being expanded. 11853 118542001-07-18 Akim Demaille <akim@epita.fr> 11855 11856 * configure.in: Bump to 2.51a. 11857 118582001-07-17 Akim Demaille <akim@epita.fr> 11859 11860 Version 2.51. 11861 118622001-07-17 Akim Demaille <akim@epita.fr> 11863 11864 * aclang.m4 (AC_F77_DUMMY_MAIN): Let the interface be more 11865 Autoconfy: $1 = action-if-found, $2 = action-if-not-found. 11866 118672001-07-17 Akim Demaille <akim@epita.fr> 11868 11869 The runtime test for AC_FUNC_GETPGRP fails when prototypes are 11870 used. Well, then use the prototypes when you can, and runtime as 11871 a last resort. 11872 Reported by Artur Frysiak 11873 11874 * acfunctions.m4 (_AC_FUNC_GETPGRP_TEST): New. 11875 (AC_FUNC_GETPGRP): Use it. 11876 First try to compile with 0-ary or 1-ary calls. 11877 118782001-07-17 Akim Demaille <akim@epita.fr> 11879 11880 * actypes.m4 (_AC_CHECK_TYPE_REPLACEMENT_TYPE_P): `foo_t' is a 11881 replacement type. 11882 From Paul Eggert. 11883 118842001-07-17 Akim Demaille <akim@epita.fr> 11885 11886 * Makefile.maint: Sync. with cppi 1.10. 11887 118882001-07-17 Akim Demaille <akim@epita.fr> 11889 11890 * aclang.m4 (AC_LANG_PROGRAM(C)): Output F77_DUMMY_MAIN only when 11891 AC_F77_DUMMY_MAIN has been run. 11892 From Pavel Roskin and Steven G. Johnson. 11893 118942001-07-17 Akim Demaille <akim@epita.fr> 11895 11896 * configure.in: Rename as... 11897 * configure.ac: this. 11898 118992001-07-17 Akim Demaille <akim@epita.fr> 11900 11901 * Makefile.am (INSTALL.txt): Don't use $@ and $< in non suffix 11902 rules. 11903 From Marc Espie. 11904 * Makefile.maint (release-archive-dir): Rename as... 11905 (release_archive_dir): this, so that it can be specialized in 11906 Makefile. 11907 119082001-07-14 Akim Demaille <akim@epita.fr> 11909 11910 * configure.in: Bump to 2.50d. 11911 119122001-07-14 Akim Demaille <akim@epita.fr> 11913 11914 Version 2.50c. 11915 * Makefile.maint (alpha): Typo. 11916 119172001-07-14 Akim Demaille <akim@epita.fr> 11918 11919 * doc/autoconf.texi (Limitations of Make): Macro names and underscore. 11920 119212001-07-14 Akim Demaille <akim@epita.fr> 11922 11923 * config/config.guess, config/config.sub, config/texinfo.tex 11924 * doc/standards.texi, doc/make-stds.texi: Update. 11925 119262001-07-14 Akim Demaille <akim@epita.fr> 11927 11928 * Makefile.maint (cvs-check, cvs-tag-check, cvs-diff-check): New. 11929 119302001-07-14 Akim Demaille <akim@epita.fr> 11931 11932 * Makefile.maint (maintainer-check): Rename as... 11933 (maintainer-distcheck): this. 11934 (changelog-check, static-check): New. 11935 Use them. 11936 119372001-07-14 Kevin Ryde <user42@zip.com.au> 11938 11939 * doc/autoconf.texi (C++ Compilers Characteristics): Last resort 11940 for CXX is g++, not gcc. 11941 119422001-07-14 Akim Demaille <akim@epita.fr> 11943 11944 * doc/autoconf.texi (Files): New subsection. 11945 119462001-07-14 Akim Demaille <akim@epita.fr> 11947 11948 * doc/autoconf.texi (C Compiler, Fortran 77 Compiler): Be subsections 11949 of... 11950 (Generic Compiler Characteristics): this. 11951 (C++ Compiler): New subsection. 11952 119532001-07-14 Akim Demaille <akim@epita.fr> 11954 11955 * autoscan.in: Use IO::File. 11956 Adjust all the routines to use it. 11957 ($log): New file (autoscan.log). 11958 (output): Dump detailed logs into $log, and a shortened version to 11959 stderr. 11960 (&scan_makefile): Refine the regexp catching tokens in the code. 11961 * doc/autoconf.texi (autoscan Invocation): Document `autoscan.log' 11962 and the `configure.ac' checking feature. 11963 119642001-07-12 Akim Demaille <akim@epita.fr> 11965 11966 For some AWK, such as on HPUX 11, `xfoo' does not match `foo|^bar'. 11967 Reported by Michael Elizabeth Chastain. 11968 11969 * autoconf.in: Refuse such AWK. 11970 * configure.in: Likewise. 11971 * Makefile.am (acversion.m4): Do not use move-if-change this file 11972 has dependencies. 11973 * doc/autoconf.texi (Fortran 77 Compiler): Some typos. 11974 119752001-07-10 Jens Petersen <petersen@redhat.com> 11976 11977 * autoscan.in (&scan_makefile): Improve programs regexp to parse 11978 things like "g++", "file.c" and "some-conf" as tokens. 11979 (&scan_file): Match C++ files extensions. 11980 If the filename extension is C++ then ask for c++. 11981 119822001-07-05 Steven G. Johnson <stevenj@alum.mit.edu> 11983 11984 * aclang.m4 (AC_F77_DUMMY_MAIN): Use AC_TRY_LINK, not 11985 AC_TRY_LINK_FUNC, to check whether defining a dummy 11986 main-like routine is needed for linking with F77 libs. 11987 119882001-07-05 Pavel Roskin <proski@gnu.org> 11989 11990 * aclocal.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Remove conftest* 11991 after using break. 11992 (_AC_PROG_F77_V_OUTPUT): Remove conftest*, not conftest.* after 11993 linking. 11994 119952001-07-05 Akim Demaille <akim@epita.fr> 11996 11997 * Makefile.am (move_if_change): New. Use it instead of `mv'. 11998 (acversion.m4): Name it `$(srcdir)/acversion.m4' to ease broken 11999 Makes' lives. 12000 Reported by Nicolas Joly. 12001 120022001-07-04 Akim Demaille <akim@epita.fr> 12003 12004 * acgeneral.m4 (_AC_RUN_IFELSE): Remove conftest.o when cleaning 12005 up. 12006 * acfunctions.m4 (AC_FUNC_WAIT3): Use `break' to silent some 12007 warnings from compilers. 12008 * aclang.m4 (_AC_LANG_COMPILER_GNU): Log the version information 12009 for all the compilers, not only GNU. Hence move from here... 12010 (AC_PROG_CC, AC_PROG_CXX, AC_PROG_F77): to here. 12011 120122001-07-04 Akim Demaille <akim@epita.fr> 12013 12014 * acfunctions.m4 (AC_FUNC_STRTOD, AC_FUNC_STRERROR_R) 12015 (AC_FUNC_STRCOLL, AC_FUNC_WAIT3): Use AC_RUN_IFELSE and 12016 AC_COMPILE_IFELSE. 12017 120182001-07-04 Akim Demaille <akim@epita.fr> 12019 12020 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Actually apply 12021 the ``strings.h'' change claimed below. 12022 120232001-07-04 Akim Demaille <akim@epita.fr> 12024 12025 * aclang.m4 (_AC_LANG_COMPILER_GNU): s/-dumpspecs/-v/. 12026 120272001-07-04 Akim Demaille <akim@epita.fr> 12028 12029 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include 12030 strings.h if usable with string.h. 12031 Suggested by Paul Eggert. 12032 120332001-07-04 Akim Demaille <akim@epita.fr> 12034 12035 * autoscan.in (&scan_file): Skip FILE if there is FILE.in. 12036 From Jens Petersen. 12037 120382001-07-03 Akim Demaille <akim@epita.fr> 12039 12040 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Specify CONFIG_FILES 12041 etc. in the log. 12042 120432001-07-03 Akim Demaille <akim@epita.fr> 12044 12045 * acheaders.m4 (AC_CHECK_HEADER): When INCLUDES are set, use the 12046 compiler, not the preprocessor. 12047 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): No longer use 12048 dedicated code to check for inttypes.h, as AC_CHECK_HEADERS does 12049 the right thing. 12050 * Makefile.am (.m4.m4f): Emphasize M4 error messages and fail 12051 earlier if there are. 12052 120532001-07-03 Akim Demaille <akim@epita.fr> 12054 12055 * autoscan.in ($initfile): Remove. 12056 (&find_file): Rename as... 12057 (&scan_file): this. 12058 Immediately scan the current file, instead of gathering them, and 12059 later having them handled by &scan_files. 12060 (&scan_files): Merely invoke Find::File. 12061 Adjust. 12062 120632001-07-02 Akim Demaille <akim@epita.fr> 12064 12065 * autoscan.in: Formatting changes, matching the invocation order. 12066 (File::Find): Use it instead of Perl 4's `find.pl'. 12067 (&wanted): Rename as... 12068 (&find_file): this. 12069 120702001-07-01 Pavel Roskin <proski@gnu.org> 12071 12072 * aclang.m4 (AC_F77_DUMMY_MAIN): Remove conftest* after using 12073 break in the argument to AC_TRY_LINK_FUNC. 12074 (AC_F77_MAIN): Remove conftest* after using break in the 12075 argument to AC_TRY_LINK. 12076 120772001-07-01 Steven G. Johnson <stevenj@alum.mit.edu> 12078 12079 Add alternate 'main' routine detection for linking C/C++ with Fortran, 12080 fixing link failures for e.g. AC_F77_WRAPPERS on NetBSD. 12081 12082 * aclang.m4 (AC_F77_DUMMY_MAIN): New macro to detect whether a 12083 dummy alternate main is required even if the user provides her own 12084 'main'. 12085 (AC_F77_MAIN): New macro to detect whether it is possible to 12086 provide an alternate 'main' function name, using the 'main' from 12087 the Fortran libraries. 12088 (AC_LANG_PROGRAM(C)): Use F77_DUMMY_MAIN, if it is defined, so that 12089 cross-language link tests can be performed successfully. 12090 (_AC_F77_NAME_MANGLING): Require AC_F77_DUMMY_MAIN. Also put $FLIBS 12091 after $LIBS, for consistency; this should be the general rule since 12092 the user may want to link to Fortran libraries that require $FLIBS. 12093 * doc/autoconf.texi: Document AC_F77_DUMMY_MAIN and AC_F77_MAIN. 12094 120952001-06-29 Pavel Roskin <proski@gnu.org> 12096 12097 * atgeneral.m4 (AT_CHECK): Add a newline to the end of 12098 at-stdout and at-stderr instead of removing the newline 12099 from the echo output, which is not guaranteed to work. 12100 121012001-06-28 Jens Petersen <petersen@redhat.com> 12102 12103 * aclang.m4 (_AC_PROG_CXX_EXIT_DECLARATION): Only add declaration to 12104 confdefs.h when non-zero. 12105 121062001-06-28 Akim Demaille <akim@epita.fr> 12107 12108 * configure.in: Bump to 2.50c. 12109 121102001-06-26 Akim Demaille <akim@epita.fr> 12111 12112 Version 2.50b. 12113 121142001-06-26 Akim Demaille <akim@epita.fr> 12115 12116 Version 2.50a. 12117 121182001-06-25 Pavel Roskin <proski@gnu.org> 12119 12120 * tests/atspecific.m4 (AT_CHECK_MACRO): Accept one more 12121 argument, AUTOCONF-FLAGS. 12122 * tests/mktests.sh (update_exclude_list): Add 12123 AC_SYS_RESTARTABLE_SYSCALLS and AC_FUNC_WAIT3. 12124 * tests/semantics.at: Test AC_SYS_RESTARTABLE_SYSCALLS and 12125 AC_FUNC_WAIT3 with "-W no-obsolete". 12126 121272001-06-25 Akim Demaille <akim@epita.fr> 12128 12129 * tests/foreign.at (libtool): Fix the `libtoolize --version' decoding. 12130 121312001-06-25 Akim Demaille <akim@epita.fr> 12132 12133 * autoscan.in (%macro): Now maps from word to list of macros. 12134 (&init_tables): Die when a word which is already handled by 12135 explicit macros is mapped to the default macro. 12136 (&print_unique): Remove, inlined in... 12137 (&output_kind): here. 12138 (File::Basename): Use it. 12139 (&output): Sort the CONFIG_FILES. 12140 * acheaders: Normalize. 12141 * acfunctions: Likewise. 12142 121432001-06-25 Akim Demaille <akim@epita.fr> 12144 12145 * aclang.m4 (_AC_LANG_COMPILER_GNU): If GNU, dump the compiler 12146 characteristics in the logs. 12147 Suggested by Mo DeJong. 12148 121492001-06-24 Akim Demaille <akim@epita.fr> 12150 12151 * acfunctions.m4 (AM_FUNC_ERROR_AT_LINE, AM_FUNC_FNMATCH) 12152 (AM_FUNC_MKTIME, AM_FUNC_OBSTACK, AM_FUNC_STRTOD): Reactivated. 12153 * doc/autoconf.texi (Autoconf 2.13): New section. 12154 121552001-06-24 Akim Demaille <akim@epita.fr> 12156 12157 * autoconf.in (Task traces): Separate the error messages from the 12158 traces to improve robustness. 12159 121602001-06-23 Akim Demaille <akim@epita.fr> 12161 12162 * tests/torture.at (AC_ARG_VAR): Make it a single test instead of 12163 three as failures are unlikely, and speed matters. 12164 121652001-06-23 Akim Demaille <akim@epita.fr> 12166 12167 * doc/autoconf.texi (Redefined M4 Macros): New. 12168 121692001-06-23 Akim Demaille <akim@epita.fr> 12170 12171 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Consider 12172 inttypes.h is missing if it conflicts with sys/types.h, as on IRIX 12173 5.3. 12174 121752001-06-23 Paolo Bonzini <bonzini@gnu.org> 12176 12177 * acgeneral.m4 (_AC_OUTPUT_CONFIG_STATUS): Defer parsing of 12178 config.status targets to after the evaluation of the INIT-CMDS. 12179 Double quote config.status targets (used to be single quoted). 12180 121812001-06-23 Akim Demaille <akim@epita.fr> 12182 12183 * tests/torture.at (CONFIG_FILES, HEADERS, LINKS and COMMANDS): 12184 Check the content of the created file. 12185 Check the ./config.status command line invocation. 12186 121872001-06-23 Akim Demaille <akim@epita.fr> 12188 12189 * tests/foreign.at (Libtool): Reject prehistoric versions. 12190 121912001-06-23 Akim Demaille <akim@epita.fr> 12192 12193 * aclang.m4 (_AC_COMPILER_EXEEXT_DEFAULT): Try to be robust to 12194 preexisting files matching a.*. 12195 121962001-06-23 Akim Demaille <akim@epita.fr> 12197 12198 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Output error messages on 12199 stderr. 12200 * doc/autoconf.texi (AC_ARG_VAR): Update. 12201 122022001-06-21 Akim Demaille <akim@epita.fr> 12203 12204 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Die instead of warning when 12205 precious variables have changed. 12206 * tests/torture.at (AC_ARG_VAR): Adjust. 12207 122082001-06-21 Akim Demaille <akim@epita.fr> 12209 12210 ./configure --program-suffix=foo produces `transform=s,$$,foo,;', 12211 but some sed choke on multiple `;', and other tools (e.g., 12212 Automake), include the separator themselves. 12213 12214 * acgeneral.m4 (AC_ARG_VAR): Be sure not to leave extra `;'. 12215 122162001-06-19 Tim Van Holder <tim.van.holder@pandora.be> 12217 12218 * doc/autoconf.texi (Functions Portability): Rename as... 12219 (Function Portability): this. 12220 (Function Portability): Document potential problems with unlink(). 12221 122222001-06-19 Paul Eggert <eggert@twinsun.com> 12223 12224 * NEWS, doc/autoconf.texi: Document quadrigraphs. 12225 122262001-06-18 Akim Demaille <akim@epita.fr> 12227 12228 * acfunctions.m4 (AC_FUNC_FORK): Fix typos. 12229 122302001-06-18 Ruediger Kuhlmann <info@ruediger-kuhlmann.de> 12231 12232 * acfunctions.m4: (AC_FUNC_VFORK) rename as... 12233 (_AC_FUNC_VFORK): this. 12234 Remove AC_DEFINEs and don't guess cross-compilation values. 12235 (_AC_FUNC_FORK): New, check whether fork() isn't just a stub. 12236 (AC_FUNC_FORK): New, use _AC_FUNC_VFORK and _AC_FUNC_FORK to 12237 define HAVE_WORKING_FORK, HAVE_WORKING_VFORK; and vfork to fork if 12238 vfork doesn't work. 12239 Guess values if cross-compiling, but warn. 12240 * acfunctions: Add AC_FUNC_FORK. 12241 * doc/autoconf.texi: Document AC_FUNC_FORK. Give example to define 12242 and vfork appropriately. 12243 122442001-06-18 Akim Demaille <akim@epita.fr> 12245 12246 * doc/autoconf.texi (Functions Portability): New section. 12247 122482001-06-18 Akim Demaille <akim@epita.fr> 12249 12250 * autoconf.in (M4): Pass --nesting-limit=1024, unless already set 12251 in $M4. 12252 Suggested by Andreas Schwab. 12253 122542001-06-18 Akim Demaille <akim@epita.fr> 12255 12256 * acfunctions.m4 (AC_FUNC_CHOWN, AC_FUNC_CLOSEDIR_VOID) 12257 (AC_FUNC_GETPGRP, AC_FUNC_LSTAT_FOLLOWS_SLASHED_SYMLINK) 12258 (AC_FUNC_MMAP, AC_FUNC_SELECT_ARGTYPES, _AC_FUNC_STAT) 12259 (AC_FUNC_UTIME_NULL): Use AC_INCLUDES_DEFAULT. 12260 Don't use AC_TRY_RUN, which double quotes, prefer AC_RUN_IFELSE, 12261 and either AC_LANG_SOURCE or AC_LANG_PROGRAM. 12262 (AC_FUNC_CLOSEDIR_VOID): Protect C++ from `int closedir ();' (or 12263 the converse). 12264 122652001-06-18 Akim Demaille <akim@epita.fr> 12266 12267 * doc/autoconf.texi (ms): New index. 12268 (Macro Index): Rename as... 12269 (Autoconf Macro Index): this. 12270 (M4 Macro Index): New appendix. 12271 (Programming in M4): New chapter. 12272 Define M4sugar, M4sh, m4_pattern_forbid, and m4_pattern_allow. 12273 (Quoting): Rename as... 12274 (M$ Quotation): this. 12275 Be part of `Programming in M4). 12276 122772001-06-18 Nicolas Joly <njoly@pasteur.fr> 12278 12279 * tests/torture.at (AC_ARG_VAR): Set variables and export them 12280 in separate statements for compatibility with Tru64 v5.1. 12281 122822001-06-17 Akim Demaille <akim@epita.fr> 12283 12284 * acgeneral.m4 (_AC_ARG_VAR_VALIDATE): Be sure to cache the 12285 current values of the precious variables, not the previously 12286 cached values. 12287 Pass precious variables which are set to config.status. 12288 * doc/autoconf.texi (Setting Output Variables): Document AC_ARG_VAR. 12289 * tests/torture.at (AC_ARG_VAR): New. 12290 122912001-06-15 Paul Eggert <eggert@twinsun.com> 12292 12293 * doc/autoconf.texi: Move AC_FUNC_WAIT3 and 12294 AC_SYS_RESTARTABLE_SYSCALLS to the obsolete section, 12295 and explain why and how to replace them. 12296 * acfunctions.m4 (AC_FUNC_WAIT3): Warn as obsolete. 12297 * acspecific.m4 (AC_SYS_RESTARTABLE_SYSCALLS): Likewise. 12298 122992001-06-15 Akim Demaille <akim@epita.fr> 12300 12301 `build_alias', `host_alias', and `target_alias' are not AC_SUBST'd. 12302 Reported by Bruno Haible. 12303 12304 * acgeneral.m4 (AC_ARG_VAR): Move the AC_SUBST, from here... 12305 (_AC_ARG_VAR_PRECIOUS): to here. 12306 123072001-06-15 Pavel Roskin <proski@gnu.org> 12308 12309 * acheaders.m4 (_AC_CHECK_HEADER_DIRENT): Instead of defining 12310 an unused pointer use cast to this type and `if' statement to 12311 avoid warnings from the compiler. 12312 (AC_HEADER_TIME): Likewise. 12313 * actypes.m4 (AC_CHECK_MEMBER): s/foo/ac_aggr/. Use the member 12314 in `if' statement to avoid warnings from the compiler. Declare 12315 ac_aggr static to avoid the need to initialize it. 12316 123172001-06-14 Akim Demaille <akim@epita.fr> 12318 12319 * doc/autoconf.texi (Portable Shell): Move to follow `Writing 12320 Macros'. 12321 123222001-06-13 Akim Demaille <akim@epita.fr> 12323 12324 * m4/missing.m4, config/missing: Updated to Automake 1.4g's. 12325 Suggested by Alexander Mai. 12326 123272001-06-13 Akim Demaille <akim@epita.fr> 12328 12329 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Guard 12330 sys/types.h and sys/stat.h, and check for them. 12331 123322001-06-13 Akim Demaille <akim@epita.fr> 12333 12334 * acheaders.m4 (AC_CHECK_HEADER, AC_CHECK_HEADERS): Support $4 = 12335 INCLUDES. 12336 123372001-06-12 Maciej W. Rozycki <macro@ds2.pg.gda.pl> 12338 12339 * acspecific.m4 (AC_PATH_XTRA): Check if linking against libX11 12340 succeeds and only try adding libdnet upon a failure. 12341 123422001-06-12 Akim Demaille <akim@epita.fr> 12343 12344 * autoscan.in (&output_kind): Output the comment only if it exists. 12345 (%kind_comment): Add entry for `programs'. 12346 (&output_programs): Use &output_kind. 12347 (&output_functions, &output_identifiers, &output_headers) 12348 (&output_programs): Inline, and remove. 12349 123502001-06-12 Akim Demaille <akim@epita.fr> 12351 12352 * autoscan.in (%kind_comment): New. 12353 (output_kind): New. 12354 (output_functions, output_identifiers, output_headers): Use it. 12355 123562001-06-12 Akim Demaille <akim@epita.fr> 12357 12358 * autoscan.in (&print_unique): Take `$kind' and `$word' as 12359 arguments, to factor indirections into `%macro' and `%used'. 12360 (%generic_macro): Fix a typo. 12361 123622001-06-12 Akim Demaille <akim@epita.fr> 12363 12364 * aclibraries: New. 12365 * autoscan.in (@kinds): Add `libraries'. 12366 Use `@kinds' instead of hard coded lists. 12367 (%programs, %headers, %identifiers, %makevars, %libraries, %functions): 12368 Remove, replaced by... 12369 (%used): this. 12370 123712001-06-12 Akim Demaille <akim@epita.fr> 12372 12373 * autoscan.in (%functions_macros %headers_macros) 12374 (%identifiers_macros %programs_macros %makevars_macros): Remove, 12375 replaced by... 12376 (%macro): New. 12377 123782001-06-11 Raja R Harinath <harinath@cs.umn.edu> 12379 12380 * aclang.m4 (AC_NO_EXECUTABLES): Override 12381 _AC_COMPILER_EXEEXT_WORKS, not _AC_LANG_COMPILER_WORKS. 12382 123832001-06-11 Akim Demaille <akim@epita.fr> 12384 12385 * aclang.m4 (AC_NO_EXECUTABLES): Define the macros with their 12386 trailing new line. 12387 Reported by Andreas Schwab. 12388 123892001-06-11 Akim Demaille <akim@epita.fr> 12390 12391 * Makefile.am, Makefile.maint: Typos. 12392 123932001-06-09 Akim Demaille <akim@epita.fr> 12394 12395 * doc/autoconf.texi (Here-Documents): New section, gathering 12396 documentation about here-documents. 12397 Use `href', not `uref', and other changes. 12398 123992001-06-09 Akim Demaille <akim@epita.fr> 12400 12401 * doc/autoconf.texi (Portable Shell Programming): Promoted as a 12402 chapter. 12403 124042001-06-09 Akim Demaille <akim@epita.fr> 12405 12406 * doc/autoconf.texi (Limitations of Builtins): Complete the 12407 description of the here-docs penalties with Alexandre Oliva's 12408 explanations. 12409 124102001-06-01 Paul Eggert <eggert@twinsun.com> 12411 12412 * doc/autoconf.texi: Talk about here documents and speedups. 12413 Do not use "echo" on arbitrary strings. 12414 Spell "here-documents" consistently with the standard. 12415 124162001-06-09 Akim Demaille <akim@epita.fr> 12417 12418 * doc/autoconf.texi (Concept Index): Introduce it. 12419 Regenerate the menus. 12420 124212001-06-09 Akim Demaille <akim@epita.fr> 12422 12423 * Makefile.maint, GNUmakefile: New, from Jim Meyering. 12424 * config/prev-version.txt: New. 12425 * config/move-if-change: New, for GNU libc. 12426 124272001-06-06 Pavel Roskin <proski@gnu.org> 12428 12429 * tests/atgeneral.m4 (AT_INIT): Remove "/bin/sh" after $SHELL. 12430 124312001-06-06 Akim Demaille <akim@epita.fr> 12432 12433 * acgeneral.m4 (AC_CHECK_LIB): Fix the cache var name to work 12434 properly when $1 is not a literal. 12435 Fixes PR Autoconf/187, reported by Bram Moolenaar. 12436 124372001-06-06 Akim Demaille <akim@epita.fr> 12438 12439 Invoking AC_COPYRIGHT before AC_INIT fails. 12440 12441 * Makefile.am (.m4.m4f): Pass --fatal-warnings to m4. 12442 * acgeneral.m4 (_m4_divert(VERSION_FSF)) 12443 (_m4_divert(VERSION_USER)): New. 12444 (AC_COPYRIGHT): $2 is the diversion to use. 12445 (_AC_INIT_COPYRIGHT): Use the FSF diversion. 12446 (AC_INIT): Remove dead comments as now it's commutative. 12447 124482001-06-06 Akim Demaille <akim@epita.fr> 12449 12450 * tests/semantics.at (AC_CHECK_LIB): Strengthen to reflect 12451 PR autoconf/187. 12452 124532001-06-05 Akim Demaille <akim@epita.fr> 12454 12455 * acgeneral.m4 (_AC_INIT_PARSE_ARGS): `prefix' and `exec_prefix' 12456 can be empty. 12457 `*dir' variables cannot be NONE. 12458 Reported by Mark Kettenis. 12459 124602001-06-05 Paul Eggert <eggert@twinsun.com> 12461 12462 * doc/autoconf.texi: Fix references to Solaris and SunOS versions. 12463 124642001-06-04 Akim Demaille <akim@epita.fr> 12465 12466 * acgeneral.m4 (AC_VAR_SET, AC_VAR_GET, AC_VAR_TEST_SET) 12467 (AC_VAR_SET_IFELSE, AC_VAR_PUSHDEF and AC_VAR_POPDEF, AC_TR_CPP) 12468 (AC_TR_SH): Move as... 12469 * m4sh.m4 (AS_VAR_SET, AS_VAR_GET, AS_VAR_TEST_SET) 12470 (AS_VAR_SET_IF, AC_VAR_PUSHDEF, AS_VAR_POPDEF, AS_TR_CPP) 12471 (AS_TR_SH): these. 12472 (_AS_TR_PREPARE, _AS_CR_PREPARE, _AS_TR_CPP_PREPARE) 12473 (_AS_TR_SH_PREPARE): New. 12474 (AS_SHELL_SANITIZE): Invoke _AS_TR_PREPARE. 12475 * tests/aclocal.m4 (AC_STATE_SAVE): `as_' vars can be modified. 12476 124772001-06-02 Akim Demaille <akim@epita.fr> 12478 12479 * Makefile.am (.m4.m4f): Pass the options first. 12480 Fixes PR autoconf/182. 12481 124822001-06-02 Nathan Sidwell <nathan@codesourcery.com> 12483 12484 GNU getopt, when POSIXLY_CORRECT does not permute options and 12485 arguments. So pass the options first. 12486 Fixes PR autoconf/184. 12487 12488 * autoconf.sh (m4_prefiles, m4f_prefiles): New variables. 12489 (run_m4): Remove files. 12490 (run_m4f): Remove. 12491 Update remainder of script to use them. 12492 (for warning in): Do not use a literal comma as it will not be 12493 split by IFS. 12494 124952001-06-02 Christian Marquardt <marq@gfz-potsdam.de> 12496 12497 * aclang.m4 (AC_PROG_F77): Add Fujitsu's "frt" to the list of 12498 Fortran compilers to check. 12499 (_AC_PROG_F77_V): Add '-###' as a possible option to print 12500 information on library and object files. 12501 (AC_PROG_CXX): Add Fujitsu's "FCC" to the list of C++ compilers 12502 to check. 12503 125042001-06-02 Akim Demaille <akim@epita.fr> 12505 12506 * autom4te.in (Request::@request): Declare with `vars', not `my', 12507 as it prevents updates via `do FILENAME'. 12508 125092001-06-02 Akim Demaille <akim@epita.fr> 12510 12511 * configure.in (standards_texi): Remove, dead code. 12512 125132001-06-02 Akim Demaille <akim@epita.fr> 12514 12515 * autom4te.in: New. 12516 125172001-06-02 Pavel Roskin <proski@gnu.org> 12518 12519 * acgeneral.m4 (_AC_INIT_PREPARE): Don't rely on $? in the traps 12520 for signals other than 0 - exit with code 1. 12521 * m4sh.m4 (AS_TMPDIR): Likewise. 12522 * autoconf.in: Likewise. Also don't rely on exit == exit $?. 12523 * autoheader.in: Likewise. 12524 * autoreconf.in: Likewise. 12525 * tests/torture.at (Signal handling): New test for the above. 12526 125272001-06-01 Akim Demaille <akim@epita.fr> 12528 12529 * m4sugar.m4 (m4_defn, m4_undefine, m4_popdef): Clarify the error 12530 message. 12531 125322001-05-31 Akim Demaille <akim@epita.fr> 12533 12534 * acfunctions, acheaders, acidentifiers, acmakevars, acprograms: 12535 Add copyright and comments. 12536 * acheaders: Add stdint.h. 12537 Suggested by Paul Eggert. 12538 125392001-05-31 Akim Demaille <akim@epita.fr> 12540 12541 * atgeneral.m4 (AT_INIT): Use $SHELL. 12542 * atspecific.m4 (AT_CHECK_DEFINES): Skip HAVE_STDINT_H. 12543 125442001-05-31 Akim Demaille <akim@epita.fr> 12545 12546 * acgeneral.m4 (_AC_INCLUDES_DEFAULT_REQUIREMENTS): Include 12547 stdint.h. 12548 From Paul Eggert and Lars Hecking. 12549 125502001-05-31 Akim Demaille <akim@epita.fr> 12551 12552 * tests/base.at: Adjust line numbers in error messages. 12553 125542001-05-31 Akim Demaille <akim@epita.fr> 12555 12556 * tests/base.at, tests/m4sh.at: When using AC_PLAIN_SCRIPT be sure 12557 to emit the bangshe line. 12558 Reported by David Carter. 12559 125602001-05-30 Steven G. Johnson <stevenj@alum.mit.edu> 12561 12562 * aclang.m4 (AC_PROG_F77): Add Compaq's "fort" to the list of 12563 Fortran (95) compilers to check. 12564 125652001-05-29 Alexandre Duret-Lutz <duret_g@epita.fr> 12566 12567 * doc/autoconf.texi (Introduction, Pointers): Update the Autoconf 12568 Macro Archive URL. 12569 125702001-05-23 Pavel Roskin <proski@gnu.org> 12571 12572 * aclang.m4 (AC_PROG_CPP): Use `break' instead of `break 2' since 12573 _AC_PROG_PREPROC_WORKS_IFELSE expands arguments outside the loop. 12574 (AC_PROG_CXXCPP): Likewise. 12575 125762001-05-22 Akim Demaille <akim@epita.fr> 12577 12578 * config: New directory. 12579 * configure.in: AC_CONFIG_AUX_DIR it. 12580 * tests/atspecific.m4 (AT_CONFIGURE_AC): Adjust. 12581 125822001-05-22 Akim Demaille <akim@epita.fr> 12583 12584 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in, 12585 * autoupdate.in: Specify the Emacs mode. 12586 * acversion.m4.in: Rename as... 12587 * acversion.m4: this. 12588 * tests/Makefile.am (CLEANFILES): More garbage. 12589 125902001-05-22 Akim Demaille <akim@epita.fr> 12591 12592 * autoconf.sh, autoreconf.sh, autoheader.sh, autoscan.pl, ifnames.sh: 12593 Rename as... 12594 * autoconf.in, autoreconf.in, autoheader.in, autoscan.in, ifnames.in: 12595 these. 12596 125972001-05-21 Akim Demaille <akim@epita.fr> 12598 12599 * configure.in: Bump to 2.50a. 12600 12601 12602 ----- 12603 12604 Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006 Free Software 12605 Foundation, Inc. 12606 12607 This file is part of GNU Autoconf. 12608 12609 GNU Autoconf is free software; you can redistribute it and/or modify 12610 it under the terms of the GNU General Public License as published by 12611 the Free Software Foundation; either version 2, or (at your option) 12612 any later version. 12613 12614 GNU Autoconf is distributed in the hope that it will be useful, 12615 but WITHOUT ANY WARRANTY; without even the implied warranty of 12616 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 12617 GNU General Public License for more details. 12618 12619 You should have received a copy of the GNU General Public License 12620 along with autoconf; see the file COPYING. If not, write to 12621 the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 12622 Boston, MA 02110-1301, USA. 12623