added SCO Open Server support

This commit is contained in:
Frank Warmerdam 2002-09-29 18:14:48 +00:00
parent f88cde27fb
commit b7acbf192d
2 changed files with 17 additions and 3 deletions

11
configure vendored
View File

@ -1,5 +1,5 @@
#!/bin/sh
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.24 2002-02-11 13:50:26 warmerda Exp $
# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.25 2002-09-29 18:14:48 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.24 $"
echo "This is TIFF configure $Revision: 1.25 $"
exit 0
;;
-help|--help) usage; exit 0;;
@ -1234,6 +1234,13 @@ if [ "$DSO" = auto ]; then
DSOOPTS='-shared'
DSO=OSF
;;
*-sco3.2*)
DSOSUF=so.${DIST_MAJOR}
DSOSUF_VERSION=${DSOSUF}.${DIST_MINOR}.${DIST_POINT}
LIBCOPTS='-fPIC'
DSOOPTS='-shared'
DSO=OPENSERVER
;;
esac
fi

View File

@ -1,4 +1,4 @@
# $Header: /cvs/maptools/cvsroot/libtiff/libtiff/Makefile.in,v 1.19 2002-03-08 07:21:53 dron Exp $
# $Header: /cvs/maptools/cvsroot/libtiff/libtiff/Makefile.in,v 1.20 2002-09-29 18:14:48 warmerda Exp $
#
# Tag Image File Format Library
#
@ -246,6 +246,13 @@ OPENBSDdso: ${OBJS}
${CC} -shared @LIBCOPTS@ -o libtiff.@DSOSUF_VERSION@ ${OBJS} @LIBJPEG@ @LIBGZ@ -lm
touch $@
OPENSERVERdso: ${OBJS}
${CC} -shared -fPIC \
-o libtiff.@DSOSUF_VERSION@ ${OBJS} \
@LIBJPEG@ @LIBGZ@
rm -f libtiff.@DSOSUF@
@LN@ @LN_S@ libtiff.@DSOSUF_VERSION@ libtiff.@DSOSUF@
touch $@
${OBJS}: ${SRCDIR}/tiffio.h ${SRCDIR}/tiff.h ${SRCDIR}/tif_dir.h
${OBJS}: ${SRCDIR}/tiffcomp.h ${SRCDIR}/tiffiop.h ${SRCDIR}/tiffconf.h