[Libreoffice-commits] .: configure.in

Michael Meeks michael at kemper.freedesktop.org
Mon Feb 27 13:33:30 PST 2012


 configure.in |    6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

New commits:
commit 207dbaaf83a9955f0b02978551340080ddac10cc
Author: Fernando Governatore <affqlixo at gmail.com>
Date:   Sat Feb 25 15:22:08 2012 -0200

    fix icecc compile in ubuntu
    
      In ubuntu the GCC_HOME of icecc is in /usr/lib/icecc

diff --git a/configure.in b/configure.in
index fe35ab3..8271431 100644
--- a/configure.in
+++ b/configure.in
@@ -2167,7 +2167,11 @@ GCC_HOME_SET="true"
 AC_MSG_CHECKING([gcc home])
 if test -z "$with_gcc_home"; then
     if test "$enable_icecream" = "yes" ; then
-        GCC_HOME="/opt/icecream"
+        if test -d "/usr/lib/icecc/" ; then
+            GCC_HOME="/usr/lib/icecc/"
+        else
+            GCC_HOME="/opt/icecream/"
+        fi
     else
         GCC_HOME=`which gcc | $SED -e s,/bin/gcc,,`
         GCC_HOME_SET="false"


More information about the Libreoffice-commits mailing list