added darwin support
This commit is contained in:
parent
06fe9227c6
commit
d713a69145
13
configure
vendored
13
configure
vendored
@ -1,5 +1,5 @@
|
|||||||
#!/bin/sh
|
#!/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
|
# Tag Image File Format (TIFF) Software
|
||||||
#
|
#
|
||||||
@ -152,7 +152,7 @@ do
|
|||||||
-target|--target) ac_prev=TARGET;;
|
-target|--target) ac_prev=TARGET;;
|
||||||
-target=*|--target=*) TARGET="$ac_optarg" ;;
|
-target=*|--target=*) TARGET="$ac_optarg" ;;
|
||||||
-version|--version)
|
-version|--version)
|
||||||
echo "This is TIFF configure $Revision: 1.16 $"
|
echo "This is TIFF configure $Revision: 1.17 $"
|
||||||
exit 0
|
exit 0
|
||||||
;;
|
;;
|
||||||
-help|--help) usage; exit 0;;
|
-help|--help) usage; exit 0;;
|
||||||
@ -1177,6 +1177,14 @@ if [ "$DSO" = auto ]; then
|
|||||||
DSOOPTS='-shared'
|
DSOOPTS='-shared'
|
||||||
DSO=GNULD
|
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*)
|
*-linux*)
|
||||||
DSOSUF=so.${DIST_MAJOR}
|
DSOSUF=so.${DIST_MAJOR}
|
||||||
DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_POINT}
|
DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_POINT}
|
||||||
@ -1189,6 +1197,7 @@ if [ "$DSO" = auto ]; then
|
|||||||
DSOOPTS='-shared'
|
DSOOPTS='-shared'
|
||||||
DSO=OSF
|
DSO=OSF
|
||||||
;;
|
;;
|
||||||
|
|
||||||
esac
|
esac
|
||||||
fi
|
fi
|
||||||
if [ "$DSO" != no ]; then
|
if [ "$DSO" != no ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user