aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2023-08-18 01:45:36 -0700
committerMark Adler <madler@alumni.caltech.edu>2023-08-18 01:45:36 -0700
commit09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851 (patch)
treed3a52201dd6412c63e435c8596d47c0cc1ce3989 /configure
parent899ffefb19b66ac98f5c737c572de56834fc9a9d (diff)
downloadzlib-09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.tar.gz
zlib-09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.tar.bz2
zlib-09155eaa2f9270dc4ed1fa13e2b4b2613e6e4851.zip
zlib 1.3v1.3
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