On 10/18/2011 04:26 PM, Alessandro Candini wrote:
Before upgrading my Ubuntu linux to 11.10 version, I had gdal.h under
/usr/local/include: configure and make succeed without errors.
Now I have it under /usr/include/gdal and I get that gdal.h cannot be
found (in my source files there is a simple "#include <gdal.h>").
<path>/configure CPPFLAGS=-I/usr/include/gdal
How can I manage the two cases in the same configure.ac: system in which
gdal.h is in /usr/include and others in which it is in
/usr/local/include?
c.f. above. Leave passing include-paths to your users. Only he knows
(rsp. he is supposed to know) where a package's headers are installed.
A package's author can't know where his package's users may have
installed the package's headers into.
Ralf
_______________________________________________
Autoconf mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/autoconf