Changeset 728 for trunk/configure.ac

Show
Ignore:
Timestamp:
08/02/08 16:39:26 (5 months ago)
Author:
andreas
Message:

- add new files
- optional check for gdal

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/configure.ac

    r700 r728  
    100100  AC_PATH_PROG(GDAL_CONFIG, $PROG, "", $PATH) 
    101101]) 
    102 GDAL_CFLAGS=`$GDAL_CONFIG --cflags` 
    103 GDAL_LIBS=`$GDAL_CONFIG --libs` 
    104 AC_SUBST(GDAL_CFLAGS) 
    105 AC_SUBST(GDAL_LIBS) 
     102 
     103if test "x$GDAL_CONFIG" != "x"; then 
     104  GDAL_CFLAGS=`$GDAL_CONFIG --cflags` 
     105  GDAL_LIBS=`$GDAL_CONFIG --libs` 
     106  AC_SUBST(GDAL_CFLAGS) 
     107  AC_SUBST(GDAL_LIBS) 
     108fi 
     109AM_CONDITIONAL(HAVE_GDAL, test "x$GDAL_CONFIG" != "x") 
    106110 
    107111