Re: comma separated lists

2003-01-13 Thread Bruno Haible
Peter Eisentraut writes: > The advantage of comma-separated lists are that they can be processed > naturally as lists in m4, whereas the whitespace-separated lists are just > passed through as a blob of data, usually to shell loop. This advantage that you mention is not visible to the user. (I don

AM_INIT_AUTOMAKE - > AC_INIT

2003-01-13 Thread Jan Vermaete
Hello, A long time ago, I wrote this code into a configure.in file: dnl Extract VERSION from the CVS tag VERSION=[`echo '$Name: $' | sed -e 's/^\$//' -e 's/ \$$//' -e 's/^Name: //' -e 's/v_//' -e 's/[\_\.]/./g' `] AM_INIT_AUTOMAKE("mcas", $VERSION) It extracte a cvs tag ( like v_0_1_1) to 0.

conditional AC_PROG_CXX

2003-01-13 Thread Karel Kulhavy
autoconf 2.57 still has the bug that manifests when configure.in calls C_PROG_CXX then the resulting configure will crash with this message: # configure: error: conditional "am__fastdepCXX" was never defined. # Usually this means the macro was only invoked conditionally. Clock

AH_TEMPLATE feature

2003-01-13 Thread Keith Bostic
Hi, my name is Keith Bostic and I'm with Sleepycat Software. We use the GNU autoconf software to configure Berkeley DB. Something we've occasionally needed is the ability to set specific configuration defines. For example, we use HAVE_O_DIRECT to configure open's O_DIRECT flag. Sometimes, users

Re: comma separated lists

2003-01-13 Thread Roger Leigh
Bruno Haible <[EMAIL PROTECTED]> writes: > Peter Eisentraut writes: > > The advantage of comma-separated lists are that they can be processed > > naturally as lists in m4, whereas the whitespace-separated lists are just > > passed through as a blob of data, usually to shell loop. However, you can

Re: comma separated lists

2003-01-13 Thread Peter Eisentraut
Bruno Haible writes: > This advantage that you mention is not visible to the user. (I don't > care about one or two percent of speed in autoconf execution.) The difference between space-separated lists and comma-separated lists is approximately like writing in C func("arg1 arg2 arg3") rather than

Patch for improvement of AC_CHECK_TOOL

2003-01-13 Thread Nathanael Nerode
I sent, to [EMAIL PROTECTED], a patch for improving AC_CHECK_TOOL and introducing AC_CHECK_TARGET_TOOL. Whee, as the saying goes. I'd appreciate quick feedback on what changes (if any) would be necessary to get it into mainline autoconf. (I'm also sending this message because I'm suspicious th

Expanding 'history' section of manual...

2003-01-13 Thread Nathanael Nerode
After Deuteronomy, comes... Joshua. OK, maybe that's inappropriate, given that nobody named Joshua has ever worked on autoconf. After that comes... Judges. That's pretty good, eh? Even appropriate. --Nathanael

Re: AM_INIT_AUTOMAKE - > AC_INIT

2003-01-13 Thread Peter Eisentraut
Jan Vermaete writes: > AC_INIT([mcas], $VERSION , [[EMAIL PROTECTED]]) > But autoheader give me following error: >configure.in:27: warning: AC_INIT: not a literal: $VERSION You can use the esyscmd macro to make calls to shell commands at the time configure is run and compute the version num

Re: conditional AC_PROG_CXX

2003-01-13 Thread Peter Eisentraut
Karel Kulhavy writes: > autoconf 2.57 still has the bug that manifests when configure.in calls > C_PROG_CXX then the resulting configure will crash with this message: > # configure: error: conditional "am__fastdepCXX" was never defined. > # Usually this means the macro was only invoked conditional

Mailing list archive status? (was Re: Patch for improvement ofAC_CHECK_TOOL)

2003-01-13 Thread Nathanael Nerode
Paul Eggert wrote: Nathanael Nerode <[EMAIL PROTECTED]> writes: (I'm also sending this message because I'm suspicious that something is eating my messages to autoconf-patches) You can check that sort of thing at: http://mail.gnu.org/archive/html/autoconf-patches/ ...or can you? My me