`./configure --help` fails if `configure` is dislocated

2022-07-20 Thread Werner LEMBERG
`./configure --help`. In other words, the user has no chance to find out that there exists a `--srcdir` option to override `AC_CONFIG_SRCDIR`. I thus suggest to either make `./configure --help` always work, or at least change the above error message to something like ``` configure: error: cannot find

Add arbitrary text to configure --help

2010-01-25 Thread Daily, Jeff A
I was curious whether there was a way to add some documentation to the configure --help output. An extra paragraph perhaps, near the bottom. Yes, a README could do just as well, but I have my reasons. Thanks. __ Jeff Daily Scientist Pacific

Re: Add arbitrary text to configure --help

2010-01-25 Thread Ralf Wildenhues
Hello Jeff, * Daily, Jeff A wrote on Mon, Jan 25, 2010 at 08:27:54PM CET: I was curious whether there was a way to add some documentation to the configure --help output. An extra paragraph perhaps, near the bottom. Yes there is, but not in a documented way (so it might break with a future

Re: [PATCH] paginate output of configure --help

2008-10-12 Thread William Pursell
Eric Blake wrote: Furthermore, your patch still has some portability problems. For example, ... you cannot rely on the existence of mktemp. I don't want to consume a lot of your time answering ignorant questions from a newbie, but why is it that AS_TMPDIR is able to use mktemp? -- William

Re: [PATCH] paginate output of configure --help

2008-10-12 Thread Ralf Wildenhues
Hi William, * William Pursell wrote on Sun, Oct 12, 2008 at 08:57:50AM CEST: Eric Blake wrote: Furthermore, your patch still has some portability problems. For example, ... you cannot rely on the existence of mktemp. I don't want to consume a lot of your time answering ignorant questions

[PATCH] paginate output of configure --help

2008-10-11 Thread William Pursell
This may be a controversial patch, but I think that of all the times I have ever run configure --help without appending |less it was either because I piped the output through more or because I forgot to paginate completely. -- William Pursell diff --git a/lib/autoconf/general.m4 b/lib/autoconf

Re: [PATCH] paginate output of configure --help

2008-10-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to William Pursell on 10/11/2008 10:27 AM: This may be a controversial patch, but I think that of all the times I have ever run configure --help without appending |less it was either because I piped the output through more or because I

Re: configure --help=recursive only works in top_srcdir

2007-07-18 Thread Ralf Wildenhues
Hello Stepan, * Stepan Kasal wrote on Tue, Jul 17, 2007 at 02:45:46PM CEST: [...] Near the top of m4sh initialization, we'd do: case $1 in --help | --help=* | --version ) as_skip_wr_tests=yes ;; esac And then put the test which write to cwd inside an if test -z

Re: configure --help=recursive only works in top_srcdir

2007-07-18 Thread Ralf Wildenhues
Hello Stepan, * Stepan Kasal wrote on Tue, Jul 17, 2007 at 02:45:46PM CEST: [...] Near the top of m4sh initialization, we'd do: case $1 in --help | --help=* | --version ) as_skip_wr_tests=yes ;; esac And then put the test which write to cwd inside an if test -z

Re: configure --help=recursive only works in top_srcdir

2007-07-17 Thread Stepan Kasal
Hello, On Sun, Jul 01, 2007 at 05:18:18PM +0200, Hans Ulrich Niedermann wrote: [...] The user expectation is that running a program with --help or --version just prints the help text or version and then exits without causing *any* side effects. right. If I remember correctly, configure

Re: configure --help=recursive only works in top_srcdir

2007-07-17 Thread Stepan Kasal
Hello, On Sun, Jul 01, 2007 at 05:18:18PM +0200, Hans Ulrich Niedermann wrote: [...] The user expectation is that running a program with --help or --version just prints the help text or version and then exits without causing *any* side effects. right. If I remember correctly, configure

Re: configure --help=recursive only works in top_srcdir

2007-07-01 Thread Ralf Wildenhues
Hello Hans Ulrich, * Hans Ulrich Niedermann wrote on Mon, Jun 25, 2007 at 06:20:53PM CEST: configure --help=recursive does not run the --help parts of the directories included via AC_CONFIG_SUBDIR when called as $ /path/to/top_srcdir/configure --help=recursive

Re: configure --help=recursive only works in top_srcdir

2007-07-01 Thread Hans Ulrich Niedermann
Ralf Wildenhues wrote: * Hans Ulrich Niedermann wrote on Mon, Jun 25, 2007 at 06:20:53PM CEST: configure --help=recursive does not run the --help parts of the directories included via AC_CONFIG_SUBDIR when called as $ /path/to/top_srcdir/configure --help=recursive

Re: configure --help=recursive only works in top_srcdir

2007-07-01 Thread Ralf Wildenhues
Hello Hans Ulrich, * Hans Ulrich Niedermann wrote on Mon, Jun 25, 2007 at 06:20:53PM CEST: configure --help=recursive does not run the --help parts of the directories included via AC_CONFIG_SUBDIR when called as $ /path/to/top_srcdir/configure --help=recursive

Re: configure --help=recursive only works in top_srcdir

2007-07-01 Thread Hans Ulrich Niedermann
Ralf Wildenhues wrote: * Hans Ulrich Niedermann wrote on Mon, Jun 25, 2007 at 06:20:53PM CEST: configure --help=recursive does not run the --help parts of the directories included via AC_CONFIG_SUBDIR when called as $ /path/to/top_srcdir/configure --help=recursive

configure --help=recursive only works in top_srcdir

2007-06-25 Thread Hans Ulrich Niedermann
Synopsis: configure --help=recursive does not run the --help parts of the directories included via AC_CONFIG_SUBDIR when called as $ /path/to/top_srcdir/configure --help=recursive or $ ../configure --help=recursive Versions affected: autoconf (GNU Autoconf) 2.61

Re: AC_ARG_ENABLE: problem with the output of configure --help

2007-03-31 Thread Andreas Schwab
Vincent Torri [EMAIL PROTECTED] writes: I've written an m4 macro (see attached file). ENOENT. Andreas. -- Andreas Schwab, SuSE Labs, [EMAIL PROTECTED] SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany PGP key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5

Re: AC_ARG_ENABLE: problem with the output of configure --help

2007-03-31 Thread Vincent Torri
On Sat, 31 Mar 2007, Andreas Schwab wrote: I've written an m4 macro (see attached file). ENOENT. Oups, here it is :) Vincent Torridnl use: AC_CHECK_ECORE_MODULE(Foo, default-enabled[, dependancy[, ACTION-IF-FOUND[, ACTION-IF-NOT-FOUND]]]) AC_DEFUN([AC_CHECK_ECORE_MODULE], [

Re: AC_ARG_ENABLE: problem with the output of configure --help

2007-03-31 Thread Andreas Schwab
Vincent Torri [EMAIL PROTECTED] writes: if test x$2 = xno ; then AC_ARG_ENABLE(ecore-[]DOWN, AS_HELP_STRING( [--enable-ecore-[]DOWN], [enable the ecore_[]DOWN module. [[default=disabled]]] ), [ want_ecore_[]DOWN=$enableval ], [ want_ecore_[]DOWN=no ]) else

Re: AC_ARG_ENABLE: problem with the output of configure --help

2007-03-31 Thread Vincent Torri
On Sat, 31 Mar 2007, Andreas Schwab wrote: Vincent Torri [EMAIL PROTECTED] writes: if test x$2 = xno ; then AC_ARG_ENABLE(ecore-[]DOWN, AS_HELP_STRING( [--enable-ecore-[]DOWN], [enable the ecore_[]DOWN module. [[default=disabled]]] ), [ want_ecore_[]DOWN=$enableval

AC_ARG_ENABLE: problem with the output of configure --help

2007-03-30 Thread Vincent Torri
: AC_CHECK_ECORE_MODULE([Job], [yes]) configure --help displays: --enable-ecore-job enable the ecore_job module. [default=disabled] --disable-ecore-job disable the ecore_job module. [default=enabled] If I do not use the macro, the following code: AC_ARG_ENABLE(ecore-job, AC_HELP_STRING

Re: ./configure --help doesn't mention LIBS

2006-09-20 Thread Ralf Wildenhues
* Paul Eggert wrote on Wed, Sep 20, 2006 at 06:55:59PM CEST: Ralf Wildenhues [EMAIL PROTECTED] writes: * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment. (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious. (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call

Re: ./configure --help doesn't mention LIBS

2006-09-20 Thread Ralf Wildenhues
Hello Olly, * Olly Betts wrote on Tue, Sep 19, 2006 at 01:21:58AM CEST: After mail from a user who'd tried to specify -llibrary in LDFLAGS I was suprised to realise that the output of ./configure --help doesn't mention LIBS at all. I think it should [...] Digging deeper, I noticed LIBS

Re: ./configure --help doesn't mention LIBS

2006-09-20 Thread Paul Eggert
Ralf Wildenhues [EMAIL PROTECTED] writes: * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment. (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious. (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS. * lib/autoconf/fortran.m4 (AC_PROG_F77,

Re: ./configure --help doesn't mention LIBS

2006-09-20 Thread Ralf Wildenhues
Hello Olly, * Olly Betts wrote on Tue, Sep 19, 2006 at 01:21:58AM CEST: After mail from a user who'd tried to specify -llibrary in LDFLAGS I was suprised to realise that the output of ./configure --help doesn't mention LIBS at all. I think it should [...] Digging deeper, I noticed LIBS

Re: ./configure --help doesn't mention LIBS

2006-09-20 Thread Paul Eggert
Ralf Wildenhues [EMAIL PROTECTED] writes: * lib/autoconf/c.m4 (_AC_ARG_VAR_LDFLAGS): Update comment. (_AC_ARG_VAR_LIBS): New macro: let LIBS be precious. (AC_PROG_CC, AC_PROG_CXX, AC_PROG_OBJC): Call _AC_ARG_VAR_LIBS. * lib/autoconf/fortran.m4 (AC_PROG_F77,

./configure --help doesn't mention LIBS

2006-09-18 Thread Olly Betts
This is with autoconf 2.60. After mail from a user who'd tried to specify -llibrary in LDFLAGS I was suprised to realise that the output of ./configure --help doesn't mention LIBS at all. I think it should - while the autoconf info manual documents both LDFLAGS and LIBS and the distinction

Re: Configure help

2005-07-13 Thread Bob Rossi
Thanks for the general philosophy on how to accomplish this task, it's much needed. I have several questions though, I understand how to set the libs flag, LIBS=$LIBS -lreadline -lhistory Nope. Most likely, you want LIBS=-lreadline -lhistory $LIBS instead. New libraries go

Re: Configure help

2005-07-07 Thread Bob Rossi
Something like a --with-readline[=included] might be useful, although I don't know of an established convention for the optional `=included' part. Also, AC_CHECK_LIB can not even look for libreadline.a until after the make is done. Is there a way to ./configure make make install

Re: Configure help

2005-07-07 Thread Ralf Wildenhues
Hi Bob, * Bob Rossi wrote on Thu, Jul 07, 2005 at 04:34:25PM CEST: Something like a --with-readline[=included] might be useful, although I don't know of an established convention for the optional `=included' part. Also, AC_CHECK_LIB can not even look for libreadline.a until after

Re: Configure help

2005-07-06 Thread Ralf Wildenhues
Hi Bob, * Bob Rossi wrote on Tue, Jul 05, 2005 at 05:25:21PM CEST: I am having a little trouble using autoconf to configure my package. Currently, I am tring to build a package that depends on another package. Basically CGDB (main package) depends on Readline (second package). I am using

Re: Configure help

2005-07-06 Thread Bob Rossi
On Wed, Jul 06, 2005 at 06:07:36PM +0200, Ralf Wildenhues wrote: Hi Bob, * Bob Rossi wrote on Tue, Jul 05, 2005 at 05:25:21PM CEST: I am having a little trouble using autoconf to configure my package. Currently, I am tring to build a package that depends on another package. Basically

Configure help

2005-07-05 Thread Bob Rossi
Hi, I am having a little trouble using autoconf to configure my package. Currently, I am tring to build a package that depends on another package. Basically CGDB (main package) depends on Readline (second package). I am using AC_CONFIG_SUBDIRS(readline-5.0) to configure readline. This

Re: configure --help output 'standard'

2005-06-22 Thread Stepan Kasal
Hello Claudio. On Mon, Jun 13, 2005 at 11:13:24PM -0700, Claudio Fontana wrote: track it myself but got lost somewhere between 2.13 or so and 2.49 (are there in-between versions at all? the gnu ftp repository shown none). Actually, I'm surprised to hear about 2.49. I think you can safely

Re: configure --help output 'standard'

2005-06-22 Thread Thomas Dickey
On Wed, 22 Jun 2005, Stepan Kasal wrote: Hello Claudio. On Mon, Jun 13, 2005 at 11:13:24PM -0700, Claudio Fontana wrote: track it myself but got lost somewhere between 2.13 or so and 2.49 (are there in-between versions at all? the gnu ftp repository shown none). Actually, I'm surprised to

configure --help output 'standard'

2005-06-14 Thread Claudio Fontana
Hello, I have some questions about ./configure --help output. I am using expect to automate detection of supported configure options, and this works well with configure scripts produced with recent versions of autoconf. To be able to know what to expect, I need to know when current output format

Re: configure --help output 'standard'

2005-06-14 Thread Paul Eggert
Claudio Fontana [EMAIL PROTECTED] writes: To be able to know what to expect, I need to know when current output format (categories, options and comments) was first introduced in autoconf. That is not the Autoconf Way. Instead, I would inspect the output of autoconf --help to see whether it's

Re: configure --help output 'standard'

2005-06-14 Thread Claudio Fontana
inspect the output of autoconf --help to see whether it's the format you like. Surely you mean 'configure --help' above? I wrote regular expressions that successfully capture configure --help options when they are created using AC_HELP_STRING (or not, if the output if somewhat similar), so yes

Re: configure --help output 'standard'

2005-06-14 Thread Paul Eggert
Claudio Fontana [EMAIL PROTECTED] writes: Surely you mean 'configure --help' above? Yes, sorry. I'd like to know when current option categories (Optional packages:, Optional Features:, Some influential environment variables, X features:, ..) have first been introduced. Sorry, I still don't

Re: configure --help output 'standard'

2005-06-14 Thread Claudio Fontana
can find out by running configure --help. Coming to think about it again, it is not strictly necessary; I was thinking that if I can determine the associations between autoconf versions and ./configure --help output formats, I can more cleanly support different versions and different formats

configure --help=recursive and subdir/configure.gnu

2004-04-16 Thread Nicolas Calimet
have is that calling ./configure --help=recursive in the root directory does not pass --srcdir to the various configure.gnu in the subdirectories, but only --help=recursive . Therefore, in this particular case, configure.gnu fails to find its configure when builddir != srcdir . The patch

Re: configure --help has incorrectly formatted help

2001-10-25 Thread Akim Demaille
Paul == Paul Eggert [EMAIL PROTECTED] writes: Are you actually using non fixed fonts for programming/terms? Paul Sure. I've been doing it for twenty years in some contexts. Paul It's long been the tradition in the Smalltalk world, for Paul example. OK. I never tried actually, but I'm so

Re: configure --help has incorrectly formatted help

2001-10-25 Thread Paul Eggert
From: Akim Demaille [EMAIL PROTECTED] Date: 25 Oct 2001 12:29:12 +0200 Paul C is older and (like Cobol and Fortran) the tradition is Paul fixed-width. I have used C with varying-width fonts with some Paul success, though never with the GNU indenting style (which isn't Paul quite right

Re: [Adam Heath doogie@debian.org] Bug#116744: configure --help has incorrectly formatted help

2001-10-24 Thread Akim Demaille
Not a bug! This is meant. Tell me how to align the other options, and help us fixing bugs. ~/src/am % ./configure --helpnostromo 12:09 `configure' configures GNU Automake 1.5a to adapt to many kinds of systems. Usage: ./configure [OPTION]... [VAR=VALUE

Re: configure --help has incorrectly formatted help

2001-10-24 Thread Paul Eggert
From: Akim Demaille [EMAIL PROTECTED] Date: 24 Oct 2001 12:09:59 +0200 Tell me how to align the other options, and help us fixing bugs. Well, you asked, so here's my opinion: don't align at all. I long ago gave up on aligning options. For example, here's what I do in my --help output:

Re: configure --help has incorrectly formatted help

2001-10-24 Thread Akim Demaille
Paul == Paul Eggert [EMAIL PROTECTED] writes: From: Akim Demaille [EMAIL PROTECTED] Date: 24 Oct 2001 12:09:59 +0200 Tell me how to align the other options, and help us fixing bugs. Paul Well, you asked, so here's my opinion: don't align at all. :) :) :) Paul I long ago gave up on

Re: configure --help has incorrectly formatted help

2001-10-24 Thread Paul Eggert
From: Akim Demaille [EMAIL PROTECTED] Date: 24 Oct 2001 14:09:49 +0200 Paul * It looks equally nice with varying-width fonts. This is Paul becoming more important with time (e.g. GNU Emacs 21). Hm, I would not use `nice' in the sentence, but I agree on `equally' :) Are you actually

[Adam Heath doogie@debian.org] Bug#116744: configure --help has incorrectly formatted help

2001-10-23 Thread Ben Pfaff
The bug below was reported against version 2.50 of the Debian GNU/Linux package for autoconf. It appears to be in version 2.52 as well. Start of forwarded message Subject: Bug#116744: configure --help has incorrectly formatted help Date: Tue, 23 Oct

`configure --help' overwrites existing config.log

2001-02-02 Thread Lars J. Aas
The subject says it all. I consider it a bug. Is this easy to fix? Lars J

Re: `configure --help' overwrites existing config.log

2001-02-02 Thread Akim Demaille
"Lars J. Aas" [EMAIL PROTECTED] writes: The subject says it all. I consider it a bug. Is this easy to fix? Nope :( Quite hard. The easiest would be backup/restore :(

Re: `configure --help' overwrites existing config.log

2001-02-02 Thread Akim Demaille
"Lars J. Aas" [EMAIL PROTECTED] writes: The subject says it all. I consider it a bug. Is this easy to fix? Hm, on a second thought, now that AS_MESSAGE tests whether the LOG fd is set to output the message or not, it might be just as easy as moving the set up of the LOG fd :) #

Re: `configure --help' overwrites existing config.log

2001-02-02 Thread Lars J. Aas
On Fri, Feb 02, 2001 at 07:07:57PM +0100, Akim Demaille wrote: : "Lars J. Aas" [EMAIL PROTECTED] writes: : The subject says it all. I consider it a bug. : Is this easy to fix? : : Hm, on a second thought, now that AS_MESSAGE tests whether the LOG fd : is set to output the message or not, it

[kathryn@deas.harvard.edu] configure help

2000-04-10 Thread Gerd Moellmann
in EPREFIX [same as prefix] This is part of what comes out of configure --help But it's ambiguous for -exec-prefix. When they say [same as prefix], they mean [same as PREFIX], no? Thanks, Kathy