[PATCH libreoffice-4-0] use "icerun" wrapper only when available

Petr Mladek (via Code Review) gerrit at gerrit.libreoffice.org
Tue Feb 5 06:28:51 PST 2013


Hi,

I have submitted a patch for review:

    https://gerrit.libreoffice.org/2000

To pull it, you can do:

    git pull ssh://gerrit.libreoffice.org:29418/core refs/changes/00/2000/1

use "icerun" wrapper only when available

It is not provided by the old icecram-0.9.2 on SLED11

Change-Id: If8dc9b028276ac05733eb59c1ec62e352f4a2796
---
M configure.ac
1 file changed, 6 insertions(+), 2 deletions(-)



diff --git a/configure.ac b/configure.ac
index 0cbc7e8..5bdbd37 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12025,9 +12025,13 @@
 dnl locally - for tools that can't be executed on the compile cluster
 dnl this avoids a dozen javac's ganging up on your laptop to kill it.
 dnl ===================================================================
+AC_MSG_CHECKING([whether to use icerun wrapper])
 ICECREAM_RUN=
-if test "$enable_icecream" = "yes"; then
-   ICECREAM_RUN=icerun
+if test "$enable_icecream" = "yes" && which icerun >/dev/null 2>&1 ; then
+    ICECREAM_RUN=icerun
+    AC_MSG_RESULT([yes])
+else
+    AC_MSG_RESULT([no])
 fi
 AC_SUBST(ICECREAM_RUN)
 

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: If8dc9b028276ac05733eb59c1ec62e352f4a2796
Gerrit-PatchSet: 1
Gerrit-Project: core
Gerrit-Branch: libreoffice-4-0
Gerrit-Owner: Petr Mladek <pmladek at suse.cz>


More information about the LibreOffice mailing list