[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Last configure args

From: Paul Eggert
Subject: Re: Last configure args
Date: Wed, 02 Feb 2005 10:44:36 -0800
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Ralf Wildenhues <address@hidden> writes:

> Any comments?

1.  The NEWS file would need a patch too.

2.  The added "exit 0" in status.m4 should be plain "exit".  I see
that there are similar problems already there; I'll fix them.

3.  I tried running with that patch
in an Emacs shell window (which sets EMACS=t in the environment), and
got this behavior:

  $ ./config.status --config
  configure '--prefix=/tmp/prefix' 'EMACS=t'

That "EMACS=t" is bogus; can you fix it somehow?

4.  The documentation change could be tightened up a bit.  How about
this instead?  But it needs a further improvement: a brief explanation
as to why the two commands are equivalent.

--- doc/autoconf.texi   1 Feb 2005 20:43:42 -0000       1.871
+++ doc/autoconf.texi   2 Feb 2005 18:40:01 -0000
@@ -13586,6 +13586,26 @@ files, and exit.
 @itemx -V
 Print the version number of Autoconf and exit.
address@hidden --config
+Print the command to recreate the current configuration, quoted for use
+inside a shell @code{eval}.  For example, the following two commands are
+eval `./config.status --config`
+./config.status --recheck && ./config.status
address@hidden example
+To build a slightly different configuration, you can edit the output of
address@hidden/config-status --config} and pass the result as an argument to
address@hidden  For example:
+set x `./config.status --config`
+shift; shift
+./configure "$@@" CFLAGS='-g'
address@hidden example
 @item --silent
 @itemx --quiet
 @itemx -q

reply via email to

[Prev in Thread] Current Thread [Next in Thread]