Changeset 12500

Show
Ignore:
Timestamp:
10/22/07 13:10:21 (1 year ago)
Author:
rouault
Message:

Prevent building GDAL 1.4 with libtiff >= 4.0 (ticket #1920)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/1.4/gdal/configure.in

    r12337 r12500  
    553553  if test "$TIFF_SETTING" = "external" ; then 
    554554    AC_CHECK_LIB(tiff,_TIFFsetDoubleArray,TIFF_SETTING=external,TIFF_SETTING=internal,) 
    555   fi 
     555    dnl Check for the BigTIFF enabled library (libtiff >= 4.0) 
     556    AC_CHECK_LIB(tiff,TIFFScanlineSize64,HAVE_BIGTIFF=yes,HAVE_BIGTIFF=no,) 
     557   fi 
    556558 
    557559  if test "$TIFF_SETTING" = "external" ; then    
     
    580582 
    581583  echo "using libtiff from $with_libtiff." 
     584 
     585  dnl Check for the BigTIFF enabled library (libtiff >= 4.0) 
     586  AC_CHECK_LIB(tiff,TIFFScanlineSize64,HAVE_BIGTIFF=yes,HAVE_BIGTIFF=no,) 
     587 
     588fi 
     589 
     590if test "${HAVE_BIGTIFF}" = "yes" ; then 
     591  AC_MSG_ERROR([libtiff >= 4.0 is not supported in this version of GDAL ! This will be supported in GDAL >= 1.5.0]) 
    582592fi 
    583593