From 8ed4025043c62255642c06cc1d59e652bb87a2ad Mon Sep 17 00:00:00 2001 From: Frank Warmerdam Date: Mon, 11 Feb 2002 13:50:26 +0000 Subject: [PATCH] bug 96: OpenBSD Sparc64 and DSO changes --- ChangeLog | 11 +++++++++++ configure | 10 ++++++++-- 2 files changed, 19 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 6c0f7df6..f169b705 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +2002-02-11 Frank Warmerdam + + * configure: OpenBSD changes for Sparc64 and DSO version. + + http://bugzilla.remotesensing.org/show_bug.cgi?id=96 + +2002-02-05 Frank Warmerdam + + * config.site/configure: added support for OJPEG=yes option to enable + OJPEG support from config.site. + 2002-01-27 Frank Warmerdam * html/document.html: fixed links for TIFf 6 docs. diff --git a/configure b/configure index 355452fb..a015b8a4 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #!/bin/sh -# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.23 2002-02-05 17:46:57 warmerda Exp $ +# $Header: /cvs/maptools/cvsroot/libtiff/configure,v 1.24 2002-02-11 13:50:26 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.23 $" + echo "This is TIFF configure $Revision: 1.24 $" exit 0 ;; -help|--help) usage; exit 0;; @@ -1196,6 +1196,12 @@ if [ "$DSO" = auto ]; then *-openbsd*) DSOSUF=so.${DIST_MAJOR}.${DIST_MINOR} LIBCOPTS='-fpic' + DSOSUF=so.${DIST_MAJOR}${DIST_MINOR}.${DIST_POINT} + if [ "`uname -m`" = "sparc64" ]; then + LIBCOPTS='-fPIC' + else + LIBCOPTS='-fpic' + fi TIFFLIBREF='-L${DEPTH}/libtiff -ltiff' case "$TARGET" in *-openbsd[01].* | *-openbsd2.[0-7] | *-openbsd2.[0-7].*)