diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-06-09 22:58:06 -0700 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-06-09 22:59:53 -0700 |
commit | 148b8f630ced4e84264201fc94f07568dff6b3a2 (patch) | |
tree | 4c6276d398883d5db3d0696ca3dcc03f10b6195e /configure | |
parent | a72bcd5607a6b7f48a78c1485783c55389d18f55 (diff) | |
download | zlib-148b8f630ced4e84264201fc94f07568dff6b3a2.tar.gz zlib-148b8f630ced4e84264201fc94f07568dff6b3a2.tar.bz2 zlib-148b8f630ced4e84264201fc94f07568dff6b3a2.zip |
Cleaner check for whether libtool is Apple or not on Darwin.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -231,7 +231,7 @@ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) >> configure.log 2>&1; then | |||
231 | SHAREDLIBV=libz.$VER$shared_ext | 231 | SHAREDLIBV=libz.$VER$shared_ext |
232 | SHAREDLIBM=libz.$VER1$shared_ext | 232 | SHAREDLIBM=libz.$VER1$shared_ext |
233 | LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"} | 233 | LDSHARED=${LDSHARED-"$cc -dynamiclib -install_name $libdir/$SHAREDLIBM -compatibility_version $VER1 -current_version $VER3"} |
234 | if test "`libtool -V 2>&1 | grep -c Apple`" != "0"; then | 234 | if libtool -V 2>&1 | grep Apple > /dev/null; then |
235 | AR="libtool" | 235 | AR="libtool" |
236 | else | 236 | else |
237 | AR="/usr/bin/libtool" | 237 | AR="/usr/bin/libtool" |