Changeset 633:7464a387fcea


Ignore:
Timestamp:
05/09/08 21:23:28 (2 years ago)
Author:
Howard Butler <hobu.inc@…>
Branch:
default
Convert:
svn:1766ff46-f334-0410-ab20-d63176f87757/trunk@700
Message:

more AM_CONDITIONAL tweaking

File:
1 edited

Legend:

Unmodified
Added
Removed
  • configure.ac

    r631 r633  
    7373AC_MSG_CHECKING([for GDAL]) 
    7474 
     75GDAL_CONFIG="no" 
    7576if test "$with_gdal" = "no" -o "$with_gdal" = "" ; then 
    76   GDAL_CONFIG="no" 
    7777  AC_MSG_RESULT([no]) 
    78 dnl AC_PATH_PROG(GDAL_CONFIG, gdal-config, no) 
    7978else 
    8079  if test "`basename xx/$with_gdal`" = "gdal-config" ; then 
     
    9796fi 
    9897AC_SUBST(GDAL_INC GDAL_PREFIX) 
    99 AM_CONDITIONAL([GDAL_IS_CONFIG], [test $GDAL_CONFIG != no]) 
     98AM_CONDITIONAL([GDAL_IS_CONFIG], [test ! x$GDAL_CONFIG = xno]) 
    10099 
    101100dnl --------------------------------------------------------------------------- 
     
    113112else 
    114113 
    115   GEOTIFF_SETTING=external 
     114  GEOTIFF_CONFIG=external 
    116115  dnl We now require libgeotiff 1.2.1 (for XTIFFClientOpen).  
    117116  dnl first check if $with_geotiff/lib has the library: 
     
    132131 
    133132AC_SUBST(GEOTIFF_INC GEOTIFF_PREFIX) 
    134 AM_CONDITIONAL([GEOTIFF_IS_CONFIG], [test $GEOTIFF_CONFIG != no]) 
     133AM_CONDITIONAL([GEOTIFF_IS_CONFIG], [test ! x$GEOTIFF_CONFIG = xno]) 
    135134 
    136135 
Note: See TracChangeset for help on using the changeset viewer.