bug 96: OpenBSD Sparc64 and DSO changes

This commit is contained in:
Frank Warmerdam 2002-02-11 13:50:26 +00:00
parent 6ccbd79787
commit 8ed4025043
2 changed files with 19 additions and 2 deletions

View File

@ -1,3 +1,14 @@
2002-02-11 Frank Warmerdam <warmerdam@pobox.com>
* configure: OpenBSD changes for Sparc64 and DSO version.
http://bugzilla.remotesensing.org/show_bug.cgi?id=96
2002-02-05 Frank Warmerdam <warmerdam@pobox.com>
* config.site/configure: added support for OJPEG=yes option to enable
OJPEG support from config.site.
2002-01-27 Frank Warmerdam <warmerdam@pobox.com>
* html/document.html: fixed links for TIFf 6 docs.

10
configure vendored
View File

@ -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].*)