added darwin support

This commit is contained in:
Frank Warmerdam 2001-06-22 12:49:23 +00:00
parent 06fe9227c6
commit d713a69145

13
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.16 2001-05-12 03:11:59 warmerda Exp $
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.17 2001-06-22 12:49:23 warmerda 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.16 $"
echo "This is TIFF configure $Revision: 1.17 $"
exit 0
;;
-help|--help) usage; exit 0;;
@ -1177,6 +1177,14 @@ if [ "$DSO" = auto ]; then
DSOOPTS='-shared'
DSO=GNULD
;;
*-darwin*)
DSOSUF=${DIST_MAJOR}.dylib
DSOSUF_VERSION=${DIST_MAJOR}.${DIST_MINOR}.${DIST_POINT}.dylib
LIBCOPTS='-fno-common'
DSOLD=gcc
DSOOPTS='-dynamiclib -undefined suppress'
DSO=DARWIN
;;
*-linux*)
DSOSUF=so.${DIST_MAJOR}
DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_POINT}
@ -1189,6 +1197,7 @@ if [ "$DSO" = auto ]; then
DSOOPTS='-shared'
DSO=OSF
;;
esac
fi
if [ "$DSO" != no ]; then