[Liblas-commits] r1097 - trunk

liblas-commits at liblas.org liblas-commits at liblas.org
Fri Mar 13 00:04:05 EDT 2009


Author: hobu
Date: Fri Mar 13 00:04:04 2009
New Revision: 1097
URL: http://liblas.org/changeset/1097

Log:
don't overwrite GEOTIFF_INC in the GDAL source tree case with the wrong stuff

Modified:
   trunk/configure.ac

Modified: trunk/configure.ac
==============================================================================
--- trunk/configure.ac	(original)
+++ trunk/configure.ac	Fri Mar 13 00:04:04 2009
@@ -120,7 +120,6 @@
         AC_MSG_RESULT([GDAL enabled with provided gdal-config])
         GDAL_CONFIG="$with_gdal"
     elif test -f ${with_gdal}/frmts/gtiff/libgeotiff/geotiff.h; then
-        GEOTIFF_INC="-I$with_geotiff/include/geotiff -I$with_geotiff/frmts/gtiff/libtiff/"
         GDAL_INC="-I$with_gdal/port -I$with_gdal/ogr -I$with_gdal/alg -I$with_gdal/frmts"
         GDAL_PREFIX="$with_gdal"
         HAVE_GDAL="yes"
@@ -189,7 +188,7 @@
         GEOTIFF_INC="-I$with_geotiff/include/geotiff"
     AC_MSG_RESULT([yes])
     elif test -f ${with_gdal}/frmts/gtiff/libgeotiff/geo_simpletags.h ; then
-        GEOTIFF_INC="-I$with_gdal/frmts/gtiff/libgeotiff/"
+        GEOTIFF_INC="-I$with_gdal/include/geotiff -I$with_gdal/frmts/gtiff/libtiff"
     AC_MSG_RESULT([yes, from GDAL]) 
     else
         GEOTIFF_CONFIG="no"


More information about the Liblas-commits mailing list