aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 2 insertions, 2 deletions
diff --git a/configure b/configure
index 1a7e897..7aaf5df 100755
--- a/configure
+++ b/configure
@@ -44,7 +44,7 @@ STATICLIB=libz.a
44 44
45# extract zlib version numbers from zlib.h 45# extract zlib version numbers from zlib.h
46VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < ${SRCDIR}zlib.h` 46VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < ${SRCDIR}zlib.h`
47VERN=`echo ${VER}|sed -n -e 's/\([0-9]\{1,\}\(\\.[0-9]\{1,\}\)\{1,\}\).*/\1/p'` 47VER3=`echo ${VER}|sed -n -e 's/\([0-9]\{1,\}\(\\.[0-9]\{1,\}\)\{1,2\}\).*/\1/p'`
48VER1=`echo ${VER}|sed -n -e 's/\([0-9]\{1,\}\)\\..*/\1/p'` 48VER1=`echo ${VER}|sed -n -e 's/\([0-9]\{1,\}\)\\..*/\1/p'`
49 49
50# establish commands for library building 50# establish commands for library building
@@ -264,7 +264,7 @@ if test "$gcc" -eq 1 && ($cc -c $test.c) >> configure.log 2>&1; then
264 SHAREDLIB=libz$shared_ext 264 SHAREDLIB=libz$shared_ext
265 SHAREDLIBV=libz.$VER$shared_ext 265 SHAREDLIBV=libz.$VER$shared_ext
266 SHAREDLIBM=libz.$VER1$shared_ext 266 SHAREDLIBM=libz.$VER1$shared_ext
267 LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VERN"} 267 LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"}
268 if "${CROSS_PREFIX}libtool" -V 2>&1 | grep Apple > /dev/null; then 268 if "${CROSS_PREFIX}libtool" -V 2>&1 | grep Apple > /dev/null; then
269 AR="${CROSS_PREFIX}libtool" 269 AR="${CROSS_PREFIX}libtool"
270 elif libtool -V 2>&1 | grep Apple > /dev/null; then 270 elif libtool -V 2>&1 | grep Apple > /dev/null; then