Skip to content

Commit b8c26bf

Browse files
committed
CXX-2326 Can't disable zlib with --with-zlib=no
1 parent bfcd1a4 commit b8c26bf

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build/autotools/CheckZlib.m4

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ AS_IF([test "x${with_zlib}" = xauto -o "x${with_zlib}" = xsystem], [
1616
])
1717
])
1818
], [
19-
AS_IF([test "x${with_zlib}" != xbundled], [
20-
AC_MSG_ERROR([Invalid --with-zlib option: must be system, bundled, or auto.])
19+
AS_IF([test "x${with_zlib}" != xbundled -a "x${with_zlib}" != xno], [
20+
AC_MSG_ERROR([Invalid --with-zlib option: must be system, bundled, auto, or no.])
2121
])
2222
])
2323

0 commit comments

Comments
 (0)