Re: AC_CHECK_HEADERS, preprocessor call and Solaris

2017-04-10 Thread Rainer Gerhards
sorry for the noise, I should have set CPPFLAGS... Rainer On Mon, Apr 10, 2017 at 12:04 PM, Rainer Gerhards wrote: > Hi all, > > I am porting my rsyslog project to the Solaris Sunstudio compiler (no > fun, I know...). > > I have a problem with AC_CHECK_HEADERS. When it calls the > preprocessor,

Re: AC_CHECK_HEADERS works but AC_SEARCH_LIBS does not

2004-12-16 Thread Olaf Weber
Thomas Dickey writes: > On Mon, 13 Dec 2004, Paul Eggert wrote: >> Sam Steingold <[EMAIL PROTECTED]> writes: >>> how come gcc looks in /usr/local/include but not in /usr/local/lib? >> That's more of a GCC question than an Autoconf question. It's a long >> story; for a first cut you can look here

Re: AC_CHECK_HEADERS works but AC_SEARCH_LIBS does not

2004-12-15 Thread Bruno Haible
Sam Steingold wrote: > checking for pari/pari.h... yes > ... > configure:2970: gcc -o conftest.exe -g -O2 conftest.c -lpari >&5 > /usr/lib/gcc-lib/i686-pc-cygwin/3.3.3/../../../../i686-pc-cygwin/bin/ld: > cannot find -lpari > collect2: ld returned 1 exit status On many platforms, gcc by defa

Re: AC_CHECK_HEADERS works but AC_SEARCH_LIBS does not

2004-12-13 Thread Thomas Dickey
On Mon, 13 Dec 2004, Paul Eggert wrote: Sam Steingold <[EMAIL PROTECTED]> writes: how come gcc looks in /usr/local/include but not in /usr/local/lib? That's more of a GCC question than an Autoconf question. It's a long story; for a first cut you can look here: only a small cut, since it doesn't ex

Re: AC_CHECK_HEADERS works but AC_SEARCH_LIBS does not

2004-12-13 Thread Paul Eggert
Sam Steingold <[EMAIL PROTECTED]> writes: > how come gcc looks in /usr/local/include but not in /usr/local/lib? That's more of a GCC question than an Autoconf question. It's a long story; for a first cut you can look here: http://gcc.gnu.org/faq.html#rpath

Re: AC_CHECK_HEADERS

2004-10-10 Thread Gerrit P. Haase
Steve Kreyer wrote: Hi, I'm new to gnu autoconfig. I have problems to use the AC_CHECK_HEADERS macro. I want to check for headerfiles such as arpa/inet.h sys/socket.h, netinet/in.h and thread.h Now the checking for arpa/inet.h went well, but sys/socket.h, netinet/in.h and thread.h failed, but thi

RE: AC_CHECK_HEADERS

2004-10-07 Thread Guus LEEUW
> -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf > Of Steve Kreyer > Sent: Thursday, October 07, 2004 2:17 PM > Subject: AC_CHECK_HEADERS > > AC_HEADER_STDC([]) Use AC_HEADER_STDC without the brackets if you don't mind. ;) Easier reading, plus your no

Re: AC_CHECK_HEADERS to find

2003-11-28 Thread Ramón Casero Cañas
Ralf Corsepius wrote: On Thu, 2003-11-27 at 23:01, RamÃn Casero CaÃas wrote: Hi all. I'm starting to use autoconf version 2.13 (Debian testing package), and would like that it tells me whether the iostream headers are installed or not. My configure.in is: You probably want to read about AC_LANG_PU

Re: AC_CHECK_HEADERS to find

2003-11-27 Thread Ralf Corsepius
On Thu, 2003-11-27 at 23:01, RamÃn Casero CaÃas wrote: > Hi all. I'm starting to use autoconf version 2.13 (Debian testing > package), and would like that it tells me whether the iostream headers > are installed or not. My configure.in is: You probably want to read about AC_LANG_PUSH and AC_LANG_PO

Re: AC_CHECK_HEADERS long list error

2002-03-27 Thread David Thompson
This is with autoconf 2.52. David Lars Hecking writes: > > > AC_CHECK_HEADERS( file.h file1.h ... file6.h \ > > file7.h file8.h ... file12.h \ > > file13.h) > > > > However, the code produced by the macro doesn't copy the '\' so it > > sees the newline and obviously breaks. Is there anywa

Re: AC_CHECK_HEADERS long list error

2002-03-27 Thread Lars Hecking
Lars Hecking writes: > > > AC_CHECK_HEADERS( file.h file1.h ... file6.h \ > > file7.h file8.h ... file12.h \ > > file13.h) > > > > However, the code produced by the macro doesn't copy the '\' so it > > sees the newline and obviously breaks. Is there anyway around this > > other than to write

Re: AC_CHECK_HEADERS long list error

2002-03-27 Thread Harlan Stenn
> I did try this and it still didn't help. 'k - it was just a thought. > As for the '\' in quoting; I never tried that... > didn't try that--but now that this has been brought up--somebody in > the know can look at it as a bug and I'll just use multiple > AC_CHECK_HEADERS lines. That's what

Re: AC_CHECK_HEADERS long list error

2002-03-27 Thread David Thompson
I did try this and it still didn't help. As for the '\' in quoting; didn't try that--but now that this has been brought up--somebody in the know can look at it as a bug and I'll just use multiple AC_CHECK_HEADERS lines. At 6:11 PM -0500 3/27/02, Harlan Stenn wrote: >Off the top of my head and

Re: AC_CHECK_HEADERS long list error

2002-03-27 Thread David Thompson
> AC_CHECK_HEADERS( file.h file1.h ... file6.h \ > file7.h file8.h ... file12.h \ > file13.h) > > However, the code produced by the macro doesn't copy the '\' so it > sees the newline and obviously breaks. Is there anyway around this > other than to write a bunch of AC_CHECK_HEADERS (thus e

Re: AC_CHECK_HEADERS long list error

2002-03-27 Thread Dan Kegel
David Thompson wrote: > > > AC_CHECK_HEADERS( file.h file1.h ... file6.h \ > > file7.h file8.h ... file12.h \ > > file13.h) > > > However, the code produced by the macro doesn't copy the '\' so it > > sees the newline and obviously breaks. Is there anyway around this > > other than to writ

Re: AC_CHECK_HEADERS long list error

2002-03-27 Thread Lars Hecking
> AC_CHECK_HEADERS( file.h file1.h ... file6.h \ > file7.h file8.h ... file12.h \ > file13.h) > > However, the code produced by the macro doesn't copy the '\' so it > sees the newline and obviously breaks. Is there anyway around this > other than to write a bunch of AC_CHECK_HEADERS (thus exp