[Libreoffice-commits] core.git: Branch 'aoo/trunk' - configure.in
Andrea Pescetti
pescetti at apache.org
Mon Jan 27 02:11:07 PST 2014
configure.in | 16 ++++++++++------
1 file changed, 10 insertions(+), 6 deletions(-)
New commits:
commit 5a6328c974bbb02db8b0f1dc9c1579469eb8afad
Author: Andrea Pescetti <pescetti at apache.org>
Date: Mon Jan 27 08:23:46 2014 +0000
#i123683# Override system dmake if --with-dmake-path or --with-dmake-url is used.
Patch By: hajma <tropikhajma at gmail.com>
diff --git a/configure.in b/configure.in
index c3a2ff4..dc02c61 100644
--- a/configure.in
+++ b/configure.in
@@ -1797,12 +1797,16 @@ dnl ===================================================================
dnl Search for a pre-installed dmake
dnl ===================================================================
AC_MSG_CHECKING([for dmake])
-AC_PATH_PROG(DMAKE, dmake, no)
-IS_SYSTEM_DMAKE=NO
-if test "$DMAKE" != "no"; then
- AC_MSG_RESULT([using system dmake])
- DMAKE_PATH="$DMAKE"
- IS_SYSTEM_DMAKE=YES
+DMAKE="no"
+# Override system dmake if --with-dmake-path or --with-dmake-url is used.
+if test -z "$with_dmake_path" && test -z "$with_dmake_url"; then
+ AC_PATH_PROG(DMAKE, dmake, no)
+ IS_SYSTEM_DMAKE=NO
+ if test "$DMAKE" != "no"; then
+ AC_MSG_RESULT([using system dmake])
+ DMAKE_PATH="$DMAKE"
+ IS_SYSTEM_DMAKE=YES
+ fi
elif test -n "$with_dmake_path" ; then
# Did not find pre-installed dmake.
# Is it at a nonstandard location provided by --with-dmake-path ?
More information about the Libreoffice-commits
mailing list