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 (either by the user as command-line arguments to ./configure, or in your configure.ac while being careful to honor the user's additional CFLAGS settings) to include the correct -I compiler options prior to your AC_CHECK_HEADERS use.

Hi,

this actually ought to be CPPFLAGS instead of CFLAGS (and will then
automatically apply to C as well as C++).

Regards
Peter Breitenlohner <[email protected]>

_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf

Reply via email to