diff --git a/config.site b/config.site index edf2bd38..9a1de2d9 100644 --- a/config.site +++ b/config.site @@ -1,4 +1,4 @@ -# $Header: /cvs/maptools/cvsroot/libtiff/Attic/config.site,v 1.7 2002-02-05 17:46:57 warmerda Exp $ +# $Header: /cvs/maptools/cvsroot/libtiff/Attic/config.site,v 1.8 2002-10-11 14:33:49 dron Exp $ # # TIFF Software # @@ -41,11 +41,11 @@ # Package controls. # #DSO="auto" # auto|IRIX|IRIX52 enable DSO support for system -#JPEG="no" # yes|no configure JPEG support (see below) -#ZIP="no" # yes|no configure Deflate support (see below) +#JPEG="yes" # yes|no configure JPEG support (see below) +#ZIP="yes" # yes|no configure Deflate support (see below) #LIBGL="auto" # yes|no|auto configure IRIS GL-based tools #LIBIMAGE="auto" # yes|no|auto configure SGI RGB image tools -#HTML="no" # yes|no install HTML documentation +#HTML="yes" # yes|no install HTML documentation #NONINTERACTIVE=yes # yes|no Don't ask for confirmation on console @@ -125,6 +125,7 @@ # #FILLORDER="MS2LSB" # bit order of cpu (MSB2LSB/LSB2MSB) #MANSCHEME="sysv-source-cat-strip" # manual page installation scheme +#LARGEFILE="yes" # support for large (>2GiB) files # # Parameters used when building the software. diff --git a/configure b/configure index fad6b74f..dc289d15 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.26 2002-10-02 10:04:29 dron Exp $ +# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.27 2002-10-11 14:33:49 dron Exp $ # # Tag Image File Format (TIFF) Software # @@ -152,7 +152,7 @@ do -target|--target) ac_prev=TARGET;; -target=*|--target=*) TARGET="$ac_optarg" ;; -version|--version) - echo "This is TIFF configure $Revision: 1.26 $" + echo "This is TIFF configure $Revision: 1.27 $" exit 0 ;; -help|--help) usage; exit 0;; @@ -1715,6 +1715,12 @@ else LIBGZ= fi +if [ "${LARGEFILE}" = yes ]; then + LFSOPTS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -DUSE_64BIT_API=1" +else + LFSOPTS= +fi + Note "" # @@ -1814,6 +1820,7 @@ s;@LIBCOPTS@;${LIBCOPTS};g s;@LIBPORT@;${LIBPORT};g s;@LN@;${LN};g s;@LN_S@;${LN_S};g +s;@LFSOPTS@;${LFSOPTS};g s;@MACHDEPLIBS@;${MACHDEPLIBS};g s;@MANAPPS@;${MANAPPS};g s;@MANAPPNAME@;${MANAPPNAME};g