[Libreoffice-commits] .: configure.in
Jan Holesovsky
kendy at kemper.freedesktop.org
Mon Jul 25 04:17:29 PDT 2011
configure.in | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
New commits:
commit 90761615134ea976664013713614faedeac04535
Author: Jan Holesovsky <kendy at suse.cz>
Date: Mon Jul 25 13:16:22 2011 +0200
Make the zip error message less confusing.
[Report directly when checking for zip, not after checking for unzip.]
diff --git a/configure.in b/configure.in
index 417c445..b119a67 100755
--- a/configure.in
+++ b/configure.in
@@ -6283,12 +6283,13 @@ dnl We need zip and unzip
dnl ===================================================================
AC_PATH_PROG(ZIP, zip)
test -z "$ZIP" && AC_MSG_ERROR([zip is required])
-AC_PATH_PROG(UNZIP, unzip)
-test -z "$UNZIP" && AC_MSG_ERROR([unzip is required])
if "$ZIP" -FS < /dev/null 2>&1 | $EGREP "no such option: S" > /dev/null; then
AC_MSG_ERROR([Zip version 3.0 or newer is required to build, please install or use --with-zip-home],,)
fi
+AC_PATH_PROG(UNZIP, unzip)
+test -z "$UNZIP" && AC_MSG_ERROR([unzip is required])
+
dnl ===================================================================
dnl Zip must be a specific type for different build types.
dnl ===================================================================
More information about the Libreoffice-commits
mailing list