Argh! We're caching the results of the checks for zip & perl from way back when so we need to check them against : as an error condition.

This commit is contained in:
cls%seawood.org 2000-09-21 08:20:16 +00:00
parent a21a980793
commit 80ea3d9e55
2 changed files with 4 additions and 4 deletions

4
configure vendored
View File

@ -2757,7 +2757,7 @@ fi
test -n "$PERL" && break
done
if test -z "$PERL"; then
if test -z "$PERL" || test "$PERL" = ":"; then
{ echo "configure: error: perl not found in \$PATH" 1>&2; exit 1; }
fi
@ -2931,7 +2931,7 @@ fi
test -n "$ZIP" && break
done
if test -z "$ZIP"; then
if test -z "$ZIP" || test "$ZIP" = ":"; then
echo "configure: warning: zip not found in \$PATH. Disabling jar packaging" 1>&2
MOZ_DISABLE_JAR_PACKAGING=1
fi

View File

@ -290,7 +290,7 @@ AC_PROG_LN_S
AC_PROG_AWK
AC_PATH_PROGS(EMACS, xemacs lemacs emacs, :)
AC_PATH_PROGS(PERL, perl5 perl )
if test -z "$PERL"; then
if test -z "$PERL" || test "$PERL" = ":"; then
AC_MSG_ERROR([perl not found in \$PATH])
fi
@ -318,7 +318,7 @@ AC_PATH_PROG(WHOAMI, whoami, :)
AC_PATH_PROG(AUTOCONF, autoconf, :)
AC_PATH_PROG(UNZIP, unzip, :)
AC_PATH_PROGS(ZIP, zip)
if test -z "$ZIP"; then
if test -z "$ZIP" || test "$ZIP" = ":"; then
AC_MSG_WARN([zip not found in \$PATH. Disabling jar packaging])
MOZ_DISABLE_JAR_PACKAGING=1
fi