Added patches for IRIX/gcc and OSF/1 4.x suggested by

Albert Chin-A-Young <china@thewrittenword.com>.
This commit is contained in:
Frank Warmerdam 1999-09-08 12:32:18 +00:00
parent f48df3f412
commit 6ab26a4daf

12
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.1 1999-07-27 21:50:26 mike Exp $
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.2 1999-09-08 12:32:18 warmerda Exp $
#
# Tag Image File Format (TIFF) Software
#
@ -147,7 +147,7 @@ do
-target|--target) ac_prev=TARGET;;
-target=*|--target=*) TARGET="$ac_optarg" ;;
-version|--version)
echo "This is TIFF configure $Revision: 1.1 $"
echo "This is TIFF configure $Revision: 1.2 $"
exit 0
;;
-help|--help) usage; exit 0;;
@ -1100,7 +1100,13 @@ if [ "$DSO" = auto ]; then
if (findApp rld /lib:/usr/lib:$PATH) >/dev/null 2>&1; then
DSOSUF=so
DSOLD="${CCOMPILER} ${ENVOPTS}"
if [ $ISGCC = yes ]; then
LIBCOPTS="-fpic"
DSOOPTS='-shared -rdata_shared'
else
LIBCOPTS="-KPIC"
DSOOPTS='-shared -rdata_shared -check_registry ${SRCDIR}/port/irix/so_locations -quickstart_info'
fi
DSO=IRIX
TIFFLIBREF='-L${DEPTH}/libtiff -rpath '${DIR_LIB}' -ltiff'
fi
@ -1158,7 +1164,7 @@ if [ "$DSO" = auto ]; then
DSO=LINUX
fi
;;
*-osf3*)
*-osf3*|*-osf4*)
DSOSUF=so
DSOOPTS='-shared'
DSO=OSF