summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2014-12-26 12:00:05 +0200
committerLasse Collin <lasse.collin@tukaani.org>2014-12-26 12:00:05 +0200
commit7815112153178800a3521b9f31960e7cdc26cfba (patch)
treef212986766ca80498d16c9425e2c8a4bd058b5aa /configure.ac
parenta0cd05ee71d330b79ead6eb9222e1b24e1559d3a (diff)
downloadxz-7815112153178800a3521b9f31960e7cdc26cfba.tar.gz
Build: POSIX shell isn't required if scripts are disabled.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index c0247b5..0efaaec 100644
--- a/configure.ac
+++ b/configure.ac
@@ -474,7 +474,7 @@ AM_CONDITIONAL([COND_SYMVERS], [test "x$enable_symbol_versions" = xyes])
echo
gl_POSIX_SHELL
-if test -z "$POSIX_SHELL" ; then
+if test -z "$POSIX_SHELL" && test "x$enable_scripts" = xyes ; then
AC_MSG_ERROR([No POSIX conforming shell (sh) was found.])
fi