[Libreoffice-commits] core.git: configure.ac

Petr Mladek pmladek at suse.cz
Tue Feb 5 06:21:01 PST 2013


 configure.ac |    8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

New commits:
commit 81deb92029055af4471629a0d95170ad8a7b1cb6
Author: Petr Mladek <pmladek at suse.cz>
Date:   Tue Feb 5 15:18:43 2013 +0100

    use "icerun" wrapper only when available
    
    It is not provided by the old icecram-0.9.2 on SLED11
    
    Change-Id: If8dc9b028276ac05733eb59c1ec62e352f4a2796

diff --git a/configure.ac b/configure.ac
index 51b9244..c4ed1dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -12237,9 +12237,13 @@ dnl icerun is a wrapper that stops us spawning tens of processes
 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)
 


More information about the Libreoffice-commits mailing list