Date: prev next · Thread: first prev next last
2013 Archives by date, by thread · List index


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/1789

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/89/1789/1

disable odk if not explicitly requested and doxygen not in PATH

if odk is not explicitly requested by --enable-odk
and --with-doxygen is "yes" , i.e not a specific location
and doxygen could not be found in the PATH
then enable_odk is set to "no" as a default value
rather than an implicit 'yes'

Change-Id: I4f04ecc8dbe959001f6dfdccf0c97b61f79faff6
---
M configure.ac
1 file changed, 27 insertions(+), 22 deletions(-)



diff --git a/configure.ac b/configure.ac
index 7f001a6..559f6a0 100644
--- a/configure.ac
+++ b/configure.ac
@@ -6944,6 +6944,33 @@
 dnl ===================================================================
 dnl Check for building ODK
 dnl ===================================================================
+if test "$enable_odk" = no; then
+    unset DOXYGEN
+else
+    if test "$with_doxygen" = no; then
+        AC_MSG_CHECKING([for doxygen])
+        unset DOXYGEN
+        AC_MSG_RESULT([no])
+    else
+        if test "$with_doxygen" = yes; then
+            AC_PATH_PROG([DOXYGEN], [doxygen])
+            if test -z "$DOXYGEN"; then
+                AC_MSG_RESULT([no])
+                if test "$enable_odk" = "" ; then
+                    enable_odk="no"
+                else
+                    AC_MSG_ERROR([doxygen not found in \$PATH; specify its pathname via 
--with-doxygen=..., or disable its use via --without-doxygen])
+                fi
+            fi
+        else
+            AC_MSG_CHECKING([for doxygen])
+            DOXYGEN=$with_doxygen
+            AC_MSG_RESULT([$DOXYGEN])
+        fi
+    fi
+fi
+AC_SUBST([DOXYGEN])
+
 AC_MSG_CHECKING([whether to build the ODK])
 if test "$enable_odk" = "" -o "$enable_odk" != "no"; then
     AC_MSG_RESULT([yes])
@@ -11655,28 +11682,6 @@
 fi
 AC_SUBST(OOO_JUNIT_JAR)
 
-if test "$enable_odk" = no; then
-    unset DOXYGEN
-else
-    if test "$with_doxygen" = no; then
-        AC_MSG_CHECKING([for doxygen])
-        unset DOXYGEN
-        AC_MSG_RESULT([no])
-    else
-        if test "$with_doxygen" = yes; then
-            AC_PATH_PROG([DOXYGEN], [doxygen])
-            if test -z "$DOXYGEN"; then
-                AC_MSG_RESULT([no])
-                AC_MSG_ERROR([doxygen not found in \$PATH; specify its pathname via 
--with-doxygen=..., or disable its use via --without-doxygen])
-            fi
-        else
-            AC_MSG_CHECKING([for doxygen])
-            DOXYGEN=$with_doxygen
-            AC_MSG_RESULT([$DOXYGEN])
-        fi
-    fi
-fi
-AC_SUBST([DOXYGEN])
 
 AC_SUBST(SCPDEFS)
 

-- 
To view, visit https://gerrit.libreoffice.org/1789
To unsubscribe, visit https://gerrit.libreoffice.org/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I4f04ecc8dbe959001f6dfdccf0c97b61f79faff6
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: master
Gerrit-Owner: Norbert Thiebaud <nthiebaud@gmail.com>


Context


Privacy Policy | Impressum (Legal Info) | Copyright information: Unless otherwise specified, all text and images on this website are licensed under the Creative Commons Attribution-Share Alike 3.0 License. This does not include the source code of LibreOffice, which is licensed under the Mozilla Public License (MPLv2). "LibreOffice" and "The Document Foundation" are registered trademarks of their corresponding registered owners or are in actual use as trademarks in one or more countries. Their respective logos and icons are also subject to international copyright laws. Use thereof is explained in our trademark policy.