Hi Even,
I casually noticed that the ./configure script fails to correctly
identify libfreexl on Windows when using the MinGW/MSYS compiler.
this error message is always returned even when the most recent
version of libfreexl is correctly installed:
"freexl too old. Needs freexl >= 1.0"
the cause is rather easy to be identified into configure.in:
line 3432: if test -z "`${CC} testfreexl.c -c 2>&1`" ; then
differently from Linux, MinGW/MSYS doesn't automatically searches
the header files into /usr/local/include, so explicitly setting
this way CFLAGS (or CPPFLAGS, CXXFLAGS) is usually required.
the following patch fixes the MinGW/MSYS issue and seems to be
harmless on Linux:
- if test -z "`${CC} testfreexl.c -c 2>&1`" ; then
+ if test -z "`${CC} $CFLAGS $CPPFLAGS $CXXFLAGS testfreexl.c -c 2>&1`"
; then
bye Sandro
_______________________________________________
gdal-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/gdal-dev