aboutsummaryrefslogtreecommitdiff
path: root/zlib/configure.in
diff options
context:
space:
mode:
Diffstat (limited to 'zlib/configure.in')
-rw-r--r--zlib/configure.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/zlib/configure.in b/zlib/configure.in
index 635f567..7428241 100644
--- a/zlib/configure.in
+++ b/zlib/configure.in
@@ -27,7 +27,8 @@ AC_ARG_ENABLE(multilib,
dnl We may get other options which we dont document:
dnl --with-target-subdir, --with-multisrctop, --with-multisubdir
-if test "[$]{srcdir}" = "."; then
+if test "x[$]{with_target_subdir}" != x && \
+ test "[$]{srcdir}" = "."; then
if test "[$]{with_target_subdir}" != "."; then
zlib_basedir="[$]{srcdir}/[$]{with_multisrctop}../"
else