summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:35:10 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:35:10 -0700
commit9712272c78b9d9c93746d9c8e156a3728c65ca72 (patch)
tree61cc13495f0688608e4f368ab5b8385f6ca0f858 /configure
parent73014202489f913dbffc91d22089ea8a8920c054 (diff)
downloadzlib-9712272c78b9d9c93746d9c8e156a3728c65ca72.tar.gz
zlib 1.2.5v1.2.5
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 0344eb4..bd9edd2 100755
--- a/configure
+++ b/configure
@@ -49,7 +49,7 @@ LDSHAREDLIBC="${LDSHAREDLIBC--lc}"
prefix=${prefix-/usr/local}
exec_prefix=${exec_prefix-'${prefix}'}
libdir=${libdir-'${exec_prefix}/lib'}
-sharedlibdir=${sharedlibdir-'${exec_prefix}/lib'}
+sharedlibdir=${sharedlibdir-'${libdir}'}
includedir=${includedir-'${prefix}/include'}
mandir=${mandir-'${prefix}/share/man'}
shared_ext='.so'
@@ -122,6 +122,10 @@ if test "$gcc" -eq 1 && ($cc -c $cflags $test.c) 2>/dev/null; then
CYGWIN* | Cygwin* | cygwin* | OS/2*)
EXE='.exe' ;;
MINGW*|mingw*)
+# temporary bypass
+ rm -f $test.[co] $test $test$shared_ext
+ echo "Please use win32/Makefile.gcc instead."
+ exit 1
LDSHARED=${LDSHARED-"$cc -shared"}
LDSHAREDLIBC=""
EXE='.exe' ;;