Re: AC_TYPE_MBSTATE_T

2003-07-24 Thread Stepan Kasal
Hello, On Wed, Jul 23, 2003 at 08:57:11PM -0400, Thomas E. Dickey wrote: On Wed, 23 Jul 2003, Paul Eggert wrote: Autoconf generates a script that attempts to compile with -Ae option on HP-UX 10.20 and later. That sounds related. Perhaps HP-UX's -Ae option is doing something that GCC also

What to run when config changed

2003-07-24 Thread Russell Shaw
Hi, I've just got autoconf 2.57 and automake 1.7 to compile a gtk 2.2.2 program. When i change configure.ac or Makefile.am, are you supposed to run autoreconf, or just run the appropriate autoheader/aclocal/autoconf/automake separately?

Re: AC_TYPE_MBSTATE_T

2003-07-24 Thread Thomas E. Dickey
On Thu, 24 Jul 2003, Stepan Kasal wrote: Hello, On Wed, Jul 23, 2003 at 08:57:11PM -0400, Thomas E. Dickey wrote: On Wed, 23 Jul 2003, Paul Eggert wrote: Autoconf generates a script that attempts to compile with -Ae option on HP-UX 10.20 and later. That sounds related. Perhaps

Re: gcc version ID in autoconf

2003-07-24 Thread Rainer Orth
Paul Eggert [EMAIL PROTECTED] writes: Harlan Stenn [EMAIL PROTECTED] writes: Apparently there is a bug in gcc-3.1 regarding -pipe; it causes configure to just hang. Is there a better way to detect the version of gcc in autoconf other than parse the output of gcc --version so I can

Re: AC_CONFIG_LIBOBJ_DIR usage

2003-07-24 Thread Derek Robert Price
Ralf Wildenhues wrote: $ autoreconf -vis # ... from automake: Makefile.am:3: required file `./strtod.c' not found Maybe because you have referenced LIBOBJS in your top leve Makefile.am, automake assumes it should look for them there? I played with AC_CONFIG_LIBOBJ_DIR and it doesn't seem to

Re: problem compiling Autoconf-2.57 on RedHat 7.2

2003-07-24 Thread Derek Robert Price
Paul Eggert wrote: * sAn * [EMAIL PROTECTED] writes: rpm -q autoconf This sounds like a Red Hat issue, not an Autoconf issue. Autoconf is distributed as source code; Red Hat takes that source code and turns it into RPMs. So you'll need to ask Red Hat. Source RPMs for autoconf 2.57

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Phil Edwards
On Tue, Jul 22, 2003 at 11:49:32PM -0500, Raja R Harinath wrote: Try m4_pattern_forbid([target][_alias],...) to break up any literal grepping of the file. I don't know if it'll work, but it's worth a try. Good thought. I tried it, but unfortunately it doesn't change anything. Any

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Raja R Harinath
Phil Edwards [EMAIL PROTECTED] writes: On Thu, Jul 24, 2003 at 02:44:12PM -0500, Raja R Harinath wrote: That's strange. It is implemented by a grep. foreach (split (/\W+/)) { $prohibited{$_} = $. if /$forbidden/o !/$allowed/o ! exists

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Phil Edwards
On Thu, Jul 24, 2003 at 03:07:29PM -0500, Raja R Harinath wrote: That's probably because it's been rate-limited. Only one error per forbidden word, it appears. Ah. Okay, so I just need to put the m4_pattern_forbid() call at the end of configure.in, so that all possible uses precede it.

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Phil Edwards
On Thu, Jul 24, 2003 at 03:03:36PM -0500, Raja R Harinath wrote: Phil Edwards [EMAIL PROTECTED] writes: Where is this code? On my system, /usr/bin/m4 is a binary, not a perl script. :-) I've been trying to dig to learn more, but haven't yet retrieved the m4 source. In

Re: m4_pattern_forbid matches itself

2003-07-24 Thread Raja R Harinath
Phil Edwards [EMAIL PROTECTED] writes: On Thu, Jul 24, 2003 at 03:07:29PM -0500, Raja R Harinath wrote: That's probably because it's been rate-limited. Only one error per forbidden word, it appears. Ah. Okay, so I just need to put the m4_pattern_forbid() call at the end of configure.in,