Build: POSIX shell isn't required if scripts are disabled.

This commit is contained in:
Lasse Collin 2014-12-26 12:00:05 +02:00
parent a0cd05ee71
commit 7815112153
2 changed files with 3 additions and 2 deletions

View File

@ -474,7 +474,8 @@ XZ Utils Installation
to POSIX. The configure script tries to find such a shell. If
it fails, you can force the shell to be used by passing
gl_cv_posix_shell=/path/to/posix-sh as an argument to the configure
script.
script. Alternatively you can omit the installation of scripts and
this error by passing --disable-scripts to configure.
4.3. configure works but build fails at crc32_x86.S

View File

@ -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