diff options
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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 |
46 | VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < ${SRCDIR}zlib.h` | 46 | VER=`sed -n -e '/VERSION "/s/.*"\(.*\)".*/\1/p' < ${SRCDIR}zlib.h` |
47 | VER3=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\\.[0-9]*\).*/\1/p' < ${SRCDIR}zlib.h` | ||
48 | VER2=`sed -n -e '/VERSION "/s/.*"\([0-9]*\\.[0-9]*\)\\..*/\1/p' < ${SRCDIR}zlib.h` | ||
49 | VER1=`sed -n -e '/VERSION "/s/.*"\([0-9]*\)\\..*/\1/p' < ${SRCDIR}zlib.h` | 47 | VER1=`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 |