From b7acbf192dd5ee4d109131681b3d7b710d7f2a5a Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Sun, 29 Sep 2002 18:14:48 +0000 Subject: [PATCH] added SCO Open Server support --- configure | 11 +++++++++-- libtiff/Makefile.in | 9 ++++++++- 2 files changed, 17 insertions(+), 3 deletions(-) diff --git a/configure b/configure index a015b8a4..dce5f00b 100755 --- a/configure +++ b/configure @@ -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 diff --git a/libtiff/Makefile.in b/libtiff/Makefile.in index 8550a182..64c27a4a 100644 --- a/libtiff/Makefile.in +++ b/libtiff/Makefile.in @@ -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