Re: AC_TYPE_LONG_LONG_INT and AC_TYPE_UNSIGNED_LONG_LONG_INT

2007-10-24 Thread Bruno Haible
Paul Eggert wrote: Bruno Haible [EMAIL PROTECTED] writes: #if ! (-2147483648LL 0) ... #if ! (-9223372036854775807LL 0) If a compiler can't handle that sort of line, then its bugs are more serious, since it's relatively common to do preprocessor checks like #if LLONG_MIN LONG_MIN.

Re: Handling of single-quoted comma [was: m4_defn overhead]

2007-10-24 Thread Paolo Bonzini
m4_define([m4_expand], [_$0(($1))]) m4_define([_m4_expand], [m4_changequote([(], [)])$1m4_changequote`'m4_changequote(`[', `]')]) Mindblowing. Paolo

Re: if (...) then; AC_PROG_CC else AC_PROG_CC fi doesn't work?

2007-10-24 Thread Brooks Moses
Eric Blake wrote: Brooks Moses brooks.moses at codesourcery.com writes: Thanks! Unfortunately, however, that fixes it by breaking the desired functionality. The point of enable_foo is not the echo statements, but the fact that AC_PROG_CC uses the [gcc] list when foo is enabled, and uses the

Re: if (...) then; AC_PROG_CC else AC_PROG_CC fi doesn't work?

2007-10-24 Thread Ralf Wildenhues
* Eric Blake wrote on Wed, Oct 24, 2007 at 12:13:44AM CEST: You can try using AS_IF instead of raw shell 'if' for wrapping the AC_PROG_CC calls, since the purpose of AS_IF is to output a shell conditional AND correctly handle side effects of macros within that shell conditional. Well, the

making autoconf install scripts as well as programs?

2007-10-24 Thread william estrada
Hi group, I am not sure as to how to ask this question but here it goes. I have a suite of programs that I use autoconf to manage. That works great. I now wish to add a component that is not a C program but a bash script. My question is how do I configure 'configure.in' and 'Makefile.am'

Re: making autoconf install scripts as well as programs?

2007-10-24 Thread Ralf Wildenhues
Hello William, * william estrada wrote on Wed, Oct 24, 2007 at 11:09:04AM CEST: I have a suite of programs that I use autoconf to manage. That works great. I now wish to add a component that is not a C program but a bash script. See http://sources.redhat.com/automake/automake.html#Scripts

Please help

2007-10-24 Thread Murtaza
Hi, I am getting the following error while running make. I am sure someone would have faced this error before. If so please help me. Makefile is there in the folder. autoconf make: autoconf: Command not found make: *** [configure] Error 127 Thanx, Ghulam Murtaza

Re: Please help

2007-10-24 Thread Warren Young
Murtaza wrote: I am getting the following error while running make. I am sure someone would have faced this error before. If so please help me. Makefile is there in the folder. autoconf make: autoconf: Command not found Maybe it's because the autoconf command is not found, which would happen

Re: autoconf / libtool / the dreaded rpath

2007-10-24 Thread Ralf Wildenhues
Hello Wintaki, * Wintaki Hagabashi wrote on Wed, Oct 24, 2007 at 09:18:12PM CEST: Hi, We are using autoconf with libtool 1.5.6. [...] and you are posting this for at least the third time now, on a different list, without referring to the previous place where you were not helped yet, and you

Re: if (...) then; AC_PROG_CC else AC_PROG_CC fi doesn't work?

2007-10-24 Thread Brooks Moses
Ralf Wildenhues wrote: * Eric Blake wrote on Wed, Oct 24, 2007 at 12:13:44AM CEST: You can try using AS_IF instead of raw shell 'if' for wrapping the AC_PROG_CC calls, since the purpose of AS_IF is to output a shell conditional AND correctly handle side effects of macros within that shell