Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Dec 26, 2011
  1. @slattarini

    configure: will re-execute with $CONFIG_SHELL, if it's set

    slattarini authored
    * lib/m4sugar/general.m4 (_AS_DETECT_BETTER_SHELL): Define the macro
    `_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to `yes', so that the code in
    `_AS_DETECT_BETTER_SHELL' will cause autoconf-generated configure
    scripts to always re-execute themselves with $CONFIG_SHELL, if it's
    set in the environment.
    * doc/autoconf.texi (config.status Invocation): Update.
    * doc/install.texi (Defining Variables): Likewise.
    * NEWS: Likewise.
    * tests/ Add tests for the new semantics in ...
    (Configure re-execs self with CONFIG_SHELL): ... this new
    test group.
  2. @slattarini

    m4sh: allow forced re-execution with $CONFIG_SHELL, if it's set

    slattarini authored
    * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): If the m4sh client
    has defined the macro `_AS_FORCE_REEXEC_WITH_CONFIG_SHELL' to
    "yes", emit code to always re-execute the current script with
    $CONFIG_SHELL, if that's set.
    * tests/ Add tests for the new and old semantics, in ...
    (Re-exec with CONFIG_SHELL, Forced re-exec with CONFIG_SHELL): ...
    these new test groups.
  3. @slattarini

    m4sh: refactor _AS_DETECT_BETTER_SHELL, for future changes

    slattarini authored
    * lib/m4sugar/m4sh.m4 (_AS_DETECT_BETTER_SHELL): Move code to
    handle the re-execution of the shell ...
    (_AS_REEXEC_WITH_SHELL): ... in this new macro.
  4. @slattarini

    docs: issue with shell functions and here-documents on Solaris

    slattarini authored
    * doc/autoconf.texi (Here-Documents): Using a command substitution
    in a here-documents being fed to a shell function is unportable.
    Problem revealed by the automake testsuite:
  5. @eggert

    AS_LN_S: fall back on 'cp -pR' (not 'cp -p') if 'ln -s' fails

    eggert authored
    This works better for symlinks to directories.
    Problem reported by Eli Zaretskii via Werner Lemberg in
    * NEWS:
    * doc/autoconf.texi (Particular Programs): Document this.
    * lib/m4sugar/m4sh.m4 (_AS_LN_S_PREPARE): Implement this.
Commits on Dec 8, 2011
  1. @eggert

    AC_LANG_BOOL_COMPILE_TRY(C): port to g++ with warnings

    eggert authored
    * lib/autoconf/c.m4 (AC_LANG_BOOL_COMPILE_TRY(C)): Use the
    array as well as setting it, to pacify g++.  Reported by
    Werner Lemberg in
Commits on Dec 5, 2011
  1. @eggert

    doc: document GNU make's \#

    eggert authored
    * doc/autoconf.texi (Comments in Make Macros): Also mention \#
    in the right hand side of a macro, as an unportable usage.
Commits on Nov 11, 2011
  1. doc: tweak previous commit

    Eric Blake authored
    * doc/autoconf.texi (Limitations of Builtins) <export>: Give
    concrete example of offender, and drop redundant text.
    Reported by Stefano Lattarini.
    Signed-off-by: Eric Blake <>
  2. doc: mention export portability hint

    Eric Blake authored
    * doc/autoconf.texi (Limitations of Builtins) <export>: Document
    export limitation.
    Suggested by Bruno Haible.
    Signed-off-by: Eric Blake <>
Commits on Oct 21, 2011
  1. @slattarini

    fortran: define $GFC to "yes" if $FC is a GNU compiler

    slattarini authored
    * lib/autoconf/fortran.m4 (AC_PROG_FC): Define `$GFC' to "yes" if
    the detected fortran compiler is a GNU compiler, define it to the
    empty string otherwise.
    This is mostly for consistency for what is done for the C, C++
    and Fortran 77 compilers.
    * doc/automake.texi: Update.
Commits on Oct 13, 2011
  1. admin: mention recent copyright assignments

    Eric Blake authored
    * AUTHORS: Update list.
    Signed-off-by: Eric Blake <>
Commits on Oct 6, 2011
  1. @slattarini

    docs: we prefer US English spelling over British one

    slattarini authored
    * doc/autoconf.texi (Parallel Make): Prefer `behavior' over
    `behaviour' in a couple of places.
  2. @slattarini

    docs: some fixlets in section about shell signal handling

    slattarini authored
    * doc/autoconf.texi (Signal handling): Rename ...
    (Signal Handling): ... to this, for consistency with other node
    names.  Fix some typos and grammaros.  Add more URL references
    in comments.
  3. @slattarini

    docs: korn shells can have $? > 256 for signal-terminated children

    slattarini authored
    Some Korn shells, when a child process dies due to signal number
    n, can leave in $? an exit status of 256+n, instead of the more
    common 128+n.  See also Austin Group issue 0000051:
    * doc/autoconf.texi (Signal handling): Document the described Korn
    Shell behaviour, and some of its possible shortcomings.
    Suggestion by Eric Blake.
Commits on Sep 26, 2011
  1. docs: relax documentation license by dropping cover text

    Eric Blake authored
    for precedence in diffutils.  The autoconf manual, as of this commit,
    was still barely below 400 pages.
    * doc/autoconf.texi (copying): Drop front- and back-cover texts.
    * NEWS: Document this.
    Reported by Brian Gough.
    Signed-off-by: Eric Blake <>
Commits on Sep 20, 2011
  1. @slattarini

    docs: signal-related bugs and incompatibilities for the shells

    slattarini authored
    * doc/autoconf.texi (Signal handling): New paragraph.
    (@menu at "Portable Shell", @detailmenu): Update.
    Motivated by recent discussion on the bug-autoconf list, as well
    as work in the automake testsuite:
Commits on Sep 19, 2011
  1. docs: refer to correct AC_RUN_IFELSE parameter name

    Eric Blake authored
    The docs referred to @var{program}, which did not exist.
    * doc/autoconf.texi (Runtime) <AC_RUN_IFELSE>: Fix wording.
    Reported by Reuben Thomas.
    Signed-off-by: Eric Blake <>
Commits on Sep 16, 2011
  1. docs: fix typo in shell example

    Eric Blake authored
    * doc/autoconf.texi (Shell Substitutions): Fix typo.
    * THANKS: Update.
    Reported by Nick Bowler.
    Signed-off-by: Eric Blake <>
  2. @slattarini

    docs: more details about make VPATH rewriting woes

    slattarini authored
    * doc/autoconf.texi (Automatic Rule Rewriting): Solaris make
    VPATH rewriting applies to any whitespace-separated word in a
    rule, so it might apply also to shell variables, functions
    and keywords (and automake has already tripped on this once);
    document this, with an example.  Since we are at it, do some
    minor reformatting of existing text.
Commits on Sep 13, 2011
  1. @slattarini

    docs: document Solaris 10 /bin/ksh and XPG4 sh 'unset' bug

    slattarini authored
    * doc/autoconf.texi (Limitations of Builtins): Solaris 10 ksh
    and XPG4 sh also fails upon `unset' of a variable that is not
Commits on Sep 1, 2011
  1. docs: improve the prose describing _AC_CHECK_TYPE_NEW_BODY

    Jim Meyering authored
    * lib/autoconf/types.m4 (_AC_CHECK_TYPE_NEW_BODY): Improve prose.
  2. @eggert

    AC_C_CONST: don't reject gcc -Werror -Wall

    eggert authored
    * lib/autoconf/c.m4 (AC_C_CONST): Don't reject gcc when it is used
    with -Werror -Wall during configuring.  It's unwise to use GCC
    that way, but apparently enough people do it nowadays that it's an
    issue.  These days nobody uses the old compilers that the old
    tests reject, so we can't test this fix against them, but it's
    more important to work with modern GCC (even when misused) than to
    work with no-longer-used compilers.  Problem reported by Shevek in
    and raised again by Dan Kegel in
Commits on Aug 18, 2011
  1. @slattarini

    docs: other issues with parallel BSD make

    slattarini authored
    Motivated by automake bug#9245:
    and FreeBSD PR bin/159730:
    * doc/autoconf.texi (Parallel Make): Document other BSD make
    incompatibilities.  Reorganize the existing related documentation
Commits on Aug 8, 2011
  1. @slattarini

    docs: fix minor typos

    slattarini authored
    * doc/autoconf.texi (Shell Functions): Fix a couple of minor typos.
Commits on Aug 4, 2011
  1. @slattarini

    docs: another Solaris sh bug with redirected `:'

    slattarini authored
    * doc/autoconf.texi (File Descriptors): Solaris 10 /bin/sh
    "optimizes" away redirected `:' commands in a shell function
    after the first call.
Commits on Jul 31, 2011
  1. @eggert

    docs: modernize treatment of ns-resolution timestamps

    eggert authored
    * doc/autoconf.texi (Limitations of Usual Tools): ns-resolution time
    stamps are now routinely supported by coreutils 'cp' etc.
Commits on Jul 30, 2011
  1. @eggert

    * lib/autoconf/specific.m4 (AC_SYS_LARGEFILE): Port to Mac OS X 10.5

    eggert authored
    by defining _DARWIN_USE_64_BIT_INODE.  Imported from gnulib.
  2. @eggert

    * lib/autoconf/specific.m4 (AC_USE_SYSTEM_EXTENSIONS): Quote cleanly.

    eggert authored
    This is imported from gnulib.  gnulib also has an HP-UX 11.11 fix, but
    let's see if we can do that another way, as it's pretty heaviweight.
Commits on Jul 22, 2011
  1. docs: fix minor doc problems

    Eric Blake authored
    * doc/autoconf.texi (Why Not Imake): Fix grammar.
    (autoreconf Invocation): Fix short option for --version.
    * THANKS: Update.
    Reported by Christophe Jarry and Russ Allbery.
    Signed-off-by: Eric Blake <>
Commits on Jul 15, 2011
  1. @vapier

    AC_REQUIRE: include FAQ URL when warning about duplicate expansion

    vapier authored Eric Blake committed
    Signed-off-by: Mike Frysinger <>
    2011-07-11  Mike Frysinger  <>
    	* lib/m4sugar/m4sugar.m4 (_m4_require_check): Add URL to warning.
Commits on Jul 12, 2011
  1. @tsuna

    docs: fix typo in AC_PATH_PROG

    tsuna authored Eric Blake committed
    * doc/autoconf.texi (Erlang Compiler and Interpreter):
    * THANKS: Update.
    Signed-off-by: Eric Blake <>
Commits on Jun 30, 2011
  1. @eggert
  2. @eggert
Commits on Jun 20, 2011
  1. @eggert
Commits on Jun 18, 2011
  1. @eggert

    * lib/autoconf/functions.m4 (_AC_LIBOBJ_ALLOCA): Try to outsmart GCC.

    eggert authored
    Problem with stack-detection code reported by Andy Wingo in
    This fix is imported from gnulib's c-stack module.
Something went wrong with that request. Please try again.