|
From: | Juergen Sauermann |
Subject: | Re: [Bug-apl] Autoconf woes |
Date: | Sun, 20 Apr 2014 17:52:27 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux i686; rv:17.0) Gecko/20130330 Thunderbird/17.0.5 |
Hi Elias,
I believe you can set CXXFLAGS before AC_CHECK_HEADER([term.h], [], [], []) like: CXXFLAGS=-I. -I/usr/include/postgres AC_CHECK_HEADER([libpq-fe.h], [], [], []) If it fails then config.log tells you why. Alternatively you could call AC_CHECK_HEADER again if the first one fails: AC_CHECK_HEADER( [libpq-fe.h], [], [AC_CHECK_HEADER([postgres/libpq-fe.h], []. [], []), []) In the found clauses (2. argument - empty in above example) you can do whats needed in the respective cases. Haven't tested this, though. /// Jürgen On 04/20/2014 03:39 PM, Elias Mårtenson wrote:
|
[Prev in Thread] | Current Thread | [Next in Thread] |