Changeset 621:8668892b8bf2
- Timestamp:
- 05/08/08 13:51:16 (2 years ago)
- Branch:
- default
- Convert:
- svn:1766ff46-f334-0410-ab20-d63176f87757/trunk@688
- File:
-
- 1 edited
-
configure.ac (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
configure.ac
r611 r621 99 99 AM_CONDITIONAL([GDAL_IS_CONFIG], [test $GDAL_CONFIG != no]) 100 100 101 dnl --------------------------------------------------------------------------- 102 dnl Select a libgeotiff library to use. 103 dnl --------------------------------------------------------------------------- 104 105 AC_ARG_WITH(geotiff,[ --with-geotiff=ARG Libgeotiff library to use (yes or path)],,) 106 AC_MSG_CHECKING([for libgeotiff]) 107 if test "$with_geotiff" = "no" -o "$with_geotiff" = "" ; then 108 GEOTIFF_CONFIG="no" 109 AC_MSG_RESULT([no]) 110 111 else 112 113 GEOTIFF_SETTING=external 114 dnl We now require libgeotiff 1.2.1 (for XTIFFClientOpen). 115 dnl first check if $with_geotiff/lib has the library: 116 AC_CHECK_LIB(geotiff,XTIFFClientOpen,GEOTIFF_CONFIG=external,GEOTIFF_CONFIG=no,-L$with_geotiff/lib) 117 fi 118 119 if test "$GEOTIFF_CONFIG" != "no" ; then 120 121 if test $GEOTIFF_CONFIG = "external" ; then 122 LIBS="-L$with_geotiff/lib -lgeotiff $LIBS" 123 if test -d $with_geotiff/include ; then 124 GEOTIFF_INC = "-I$with_geotiff/include" 125 AC_MSG_RESULT([using libgeotiff from $with_geotiff/include]) 126 fi 127 fi 128 129 fi 130 131 AC_SUBST(GEOTIFF_INC GEOTIFF_PREFIX) 132 AM_CONDITIONAL([GEOTIFF_IS_CONFIG], [test $GEOTIFF_CONFIG != no]) 133 134 101 135 AC_HAVE_LONG_LONG 102 136 … … 128 162 LOC_MSG([ Debugging support........: ${enable_debug}]) 129 163 LOC_MSG([ GDAL support........: ${GDAL_CONFIG}]) 164 LOC_MSG([ GeoTIFF SRS support........: ${GEOTIFF_CONFIG}]) 165 130 166 LOC_MSG()
Note: See TracChangeset
for help on using the changeset viewer.
