Add an index entry for AH_HEADER.

2005-09-01 Thread Stepan Kasal
Hello, I have just committed this patch. Stepan 2005-09-01 Stepan Kasal [EMAIL PROTECTED] * doc/autoconf.texi (Configuration Headers): Add an index entry for AH_HEADER. Index: doc/autoconf.texi === RCS file:

Re: AC_SEARCH_LIBS optimization

2005-09-01 Thread Paul Eggert
Stepan Kasal [EMAIL PROTECTED] writes: Do you like this patch? Can I commit it, as soon as the mentioned bug is fixed? Yes, please. Thanks. 2005-08-31 Stepan Kasal [EMAIL PROTECTED] * lib/autoconf/libs.m4 (AC_SEARCH_LIBS): Merge the two AC_LINK_IFELSE calls, so that the

Re: [Vincent Lefevre] Bug#325866: autoconf: AC_COMPILE_IFELSE generates a test that doesn't work on IRIX64

2005-09-01 Thread Ralf Wildenhues
Hi Ben, Vincent, * Ben Pfaff wrote on Wed, Aug 31, 2005 at 04:57:36PM CEST: AC_COMPILE_IFELSE generates a test that only checks the exit status of the compiler command. But this is not sufficient: *snip* demon ~ % cc -DFOO tst.c echo OK cc-1035 cc: WARNING File = tst.c, Line = 2 #error

Re: weird AC_REQUIRE expansion issue

2005-09-01 Thread Stepan Kasal
Hello, On Wed, Aug 31, 2005 at 06:10:49PM +0200, Ralf Wildenhues wrote: Again I'll only refer to part of your well-written mail, [...] ... and I'm answering in a hurry now, so I should apologize, too. [m4_require([_LT_SET_OPTIONS], [_LT_SET_OPTIONS([$1])])[]dnl yes, this works now and should

Re: [Vincent Lefevre] Bug#325866: autoconf: AC_COMPILE_IFELSE generates a test that doesn't work on IRIX64

2005-09-01 Thread Noah Misch
On Wed, Aug 31, 2005 at 07:57:36AM -0700, Ben Pfaff wrote: demon ~ % uname -a IRIX64 demon 6.5 01062343 IP35 demon ~ % cat tst.c #ifdef FOO # error FOO is defined #endif int main(void) { return 0; } demon ~ % cc -DFOO tst.c echo OK cc-1035 cc: WARNING File = tst.c, Line = 2

Re: [Vincent Lefevre] Bug#325866: autoconf: AC_COMPILE_IFELSE generates a test that doesn't work on IRIX64

2005-09-01 Thread Paul Eggert
Ben Pfaff [EMAIL PROTECTED] writes: AC_COMPILE_IFELSE generates a test that only checks the exit status of the compiler command. But this is not sufficient: My own feeling is that if the compiler exits with a nonzero status and produces working object code, then it succeeded, regardless of

Re: AC_SEARCH_LIBS does not clean up

2005-09-01 Thread Stepan Kasal
Hello, On Wed, Aug 31, 2005 at 11:51:41AM -0700, Noah Misch wrote: 3) Do not branch from the IF-SUCCESS or IF-FAILURE. you are right, of course. Stepan

Re: AC_EGREP_CPP double quotes the PATTERN parameter

2005-09-01 Thread Ralf Corsepius
On Wed, 2005-08-31 at 17:35 +0200, Stepan Kasal wrote: Hello, I noticed the above. If we are to fix it, we probably have to invent new name for AC_EGREP_CPP and AC_EGREP_HEADER? What about AC_GREP_E_CPP and AC_GREP_E_HEADER? The old ones would become obsolete... Wdyt? Unless there