[Liblas-commits] r1313 - branches/1.2

liblas-commits at liblas.org liblas-commits at liblas.org
Sat Jul 25 15:42:39 EDT 2009


Author: hobu
Date: Sat Jul 25 15:42:39 2009
New Revision: 1313
URL: http://liblas.org/changeset/1313

Log:
backport of r1312

Modified:
   branches/1.2/configure.ac

Modified: branches/1.2/configure.ac
==============================================================================
--- branches/1.2/configure.ac	(original)
+++ branches/1.2/configure.ac	Sat Jul 25 15:42:39 2009
@@ -215,6 +215,16 @@
 AM_CONDITIONAL([GEOTIFF_IS_CONFIG], [test ! x$GEOTIFF_CONFIG = xno])
 
 dnl #########################################################################
+dnl If GDAL was requested, but geotiff is not configured, complain
+dnl #########################################################################
+
+if test "${HAVE_GDAL}" != "no" ; then
+	if test "${GEOTIFF_CONFIG}" = "no" -a "${USE_GDAL_SOURCE_TREE}" != "yes"; then
+		AC_MSG_ERROR([You must configure a libgeotiff if you are using GDAL binaries.  You can configure using a GDAL source tree without libgeotiff, but not from binaries.])
+	fi
+fi
+
+dnl #########################################################################
 dnl Determine other features of compiler
 dnl #########################################################################
 


More information about the Liblas-commits mailing list