Fix description of AC_CONFIG_TESTDIR to not mention atconfig.in.

2010-08-06 Thread Ralf Wildenhues
OK? This got me confused at first. Also, should we document any of $at_srcdir, $at_top_srcdir etc? I would like to know from within the testsuite if we're in a VPATH build or not. I guess same question (whether to document or not) holds for $ac_srcdir, $ac_top_srcdir etc. inside configure.

Re: How to correctly generate 'foobar.h' from 'foobar.h.in'

2010-08-06 Thread Tao Wang
Thank you. It works for my C/C++ files. However, how it works on text file and script file? They don't have compiler to pass the define from parameters. For most scripts, they don't accept bash syntax ${prefix}, they do need the value of ${prefix}/share. How can I do that? On Thu, Aug 5, 2010 at

Re: How to correctly generate 'foobar.h' from 'foobar.h.in'

2010-08-06 Thread Mike Frysinger
On Friday, August 06, 2010 20:19:41 Tao Wang wrote: please dont top post Thank you. It works for my C/C++ files. However, how it works on text file and script file? They don't have compiler to pass the define from parameters. For most scripts, they don't accept bash syntax ${prefix}, they do

Re: How to correctly generate 'foobar.h' from 'foobar.h.in'

2010-08-06 Thread Gary V. Vaughan
On Aug 7, 2010, at 10:31 AM, Mike Frysinger vap...@gentoo.org wrote: On Friday, August 06, 2010 20:19:41 Tao Wang wrote: Thank you. It works for my C/C++ files. However, how it works on text file and script file? They don't have compiler to pass the define from parameters. For most scripts,

Re: AC_FUNC_ALLOCA shouldn't define prototype

2010-08-06 Thread Joerg Sonnenberger
On Thu, Aug 05, 2010 at 01:26:40PM +0200, Bruno Haible wrote: So, I don't understand how you see a conflict. The conflicting declarations are a result of the default namespace containing _NETBSD_SOURCE if no (other) standard compliance macro is set. The test code in AC_FUNC_ALLOCA does not

Re: AC_FUNC_ALLOCA shouldn't define prototype

2010-08-06 Thread Joerg Sonnenberger
On Thu, Aug 05, 2010 at 09:38:07PM +0200, Bruno Haible wrote: Joerg Sonnenberger wrote: So, I don't understand how you see a conflict. The conflicting declarations are a result of the default namespace containing _NETBSD_SOURCE if no (other) standard compliance macro is set. Still,

Test 246: Non-literal AC_CONFIG_SUBDIRS FAILED (torture.at:1738) in 2.67

2010-08-06 Thread Bernhard Rosenkraenzer
Hi, the autoconf 2.67 make check test 246: Non-literal AC_CONFIG_SUBDIRS (torture.at:1738) fails if any slightly bogus files are installed in /usr/share/aclocal. e.g. openhbci comes with an aclocal m4 file with an underquoted definition, causing the test to fail: 246. torture.at:1708: testing

Re: Test 246: Non-literal AC_CONFIG_SUBDIRS FAILED (torture.at:1738) in 2.67

2010-08-06 Thread Eric Blake
On 08/05/2010 05:18 PM, Bernhard Rosenkraenzer wrote: Hi, the autoconf 2.67 make check test 246: Non-literal AC_CONFIG_SUBDIRS (torture.at:1738) fails if any slightly bogus files are installed in /usr/share/aclocal. Already reported, and already fixed in git:

parallel autotest and signal handling failure (was: [GNU Autoconf 2.67] testsuite: 199 246 failed)

2010-08-06 Thread Ralf Wildenhues
Adding Scott in Cc:, he reported the same issue for Haiku: * Bob Friesenhahn wrote on Wed, Aug 04, 2010 at 11:54:27PM CEST: [...] after running this test: AT_CHECK([($CONFIG_SHELL ./micro-suite -d -3 5-; echo $? status) | sed 5q], trying (and failing) to solicit a SIGPIPE. 1: test number

Re: parallel autotest and signal handling failure

2010-08-06 Thread Eric Blake
On 08/06/2010 01:35 PM, Ralf Wildenhues wrote: after running this test: AT_CHECK([($CONFIG_SHELL ./micro-suite -d -3 5-; echo $? status) | sed 5q], Issue is that SIGPIPE is not seen by the left hand side of the pipe despite the 'sed 5q'. I'm not sure if there are bugs involved or just

[sr #107450] warning: AC_INIT: not a literal: on '?

2010-08-06 Thread Adrian Bunk
URL: http://savannah.gnu.org/support/?107450 Summary: warning: AC_INIT: not a literal: on '? Project: Autoconf Submitted by: bunk Submitted on: Fri 06 Aug 2010 11:22:10 PM CEST Category: None Priority: 5

[sr #107450] warning: AC_INIT: not a literal: on '?

2010-08-06 Thread Adrian Bunk
Follow-up Comment #1, sr #107450 (project autoconf): $ cat configure.ac AC_INIT(glib, [glib_version], [http://bugzilla.gnome.org/enter_bug.cgi?product=glib]) $ autoconf configure.ac:1: warning: AC_INIT: not a literal: http://bugzilla.gnome.org/enter_bug.cgi?product=glib $ The warning