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