Re: About AC_CHECK_HEADERS and different locations

2010-09-28 Thread Andrew W. Nosenko
On Tue, Sep 28, 2010 at 18:01, Ralf Corsepius wrote: > On 09/28/2010 04:52 PM, Andrew W. Nosenko wrote: >> >> On Tue, Sep 28, 2010 at 06:13, Sergio Belkin  wrote: >>> >>> Hi, >>> >>> I am autoconfiscating a project that has a header file with a line: >>> >>> #include >>> >>> configure.ac has: >>>

Re: About AC_CHECK_HEADERS and different locations

2010-09-28 Thread Andrew W. Nosenko
On Tue, Sep 28, 2010 at 17:52, Andrew W. Nosenko wrote: > On Tue, Sep 28, 2010 at 06:13, Sergio Belkin wrote: >> Hi, >> >> I am autoconfiscating a project that has a header file with a line: >> >> #include >> >> configure.ac has: >> >> AC_CHECK_HEADERS(postgresql/libpq-fe.h) >> >> The problem is

Re: About AC_CHECK_HEADERS and different locations

2010-09-28 Thread Ralf Corsepius
On 09/28/2010 04:52 PM, Andrew W. Nosenko wrote: On Tue, Sep 28, 2010 at 06:13, Sergio Belkin wrote: Hi, I am autoconfiscating a project that has a header file with a line: #include configure.ac has: AC_CHECK_HEADERS(postgresql/libpq-fe.h) The problem is that Ubuntu has such a header file

Re: About AC_CHECK_HEADERS and different locations

2010-09-28 Thread Andrew W. Nosenko
On Tue, Sep 28, 2010 at 06:13, Sergio Belkin wrote: > Hi, > > I am autoconfiscating a project that has a header file with a line: > > #include > > configure.ac has: > > AC_CHECK_HEADERS(postgresql/libpq-fe.h) > > The problem is that Ubuntu has such a header file on > /usr/include/postgresq  but f

Re: About AC_CHECK_HEADERS and different locations

2010-09-28 Thread Peter Breitenlohner
On Tue, 28 Sep 2010, Eric Blake wrote: On 09/27/2010 09:13 PM, Sergio Belkin wrote: The problem is that Ubuntu has such a header file on /usr/include/postgresq but fedora has it on /usr/include. So how can I make that configure script checks for differents paths? By altering CFLAGS (eithe

Re: About AC_CHECK_HEADERS and different locations

2010-09-28 Thread Eric Blake
On 09/27/2010 09:13 PM, Sergio Belkin wrote: Hi, I am autoconfiscating a project that has a header file with a line: #include configure.ac has: AC_CHECK_HEADERS(postgresql/libpq-fe.h) Please get in the habit of correct m4 quoting: AC_CHECK_HEADERS([postgresql/libpq-fe.h]) The problem is

About AC_CHECK_HEADERS and different locations

2010-09-27 Thread Sergio Belkin
Hi, I am autoconfiscating a project that has a header file with a line: #include configure.ac has: AC_CHECK_HEADERS(postgresql/libpq-fe.h) The problem is that Ubuntu has such a header file on /usr/include/postgresq but fedora has it on /usr/include. So how can I make that configure script c