On Ubuntu the icecream GCC_HOME should be "/usr/lib/icecc". Added an
test to configure.in to use
this directory if it exists.
From 858713f4592c0e909713b3a419008b98e94bed06 Mon Sep 17 00:00:00 2001
From: Fernando
Date: Sat, 25 Feb 2012 15:22:08 -0200
Subject: [PATCH] fix icecc compile in ubuntu
In ubuntu the GCC_HOME of icecc is in /usr/lib/icecc
---
configure.in |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/configure.in b/configure.in
index 3b27ac8..9a3e396 100644
--- a/configure.in
+++ b/configure.in
@@ -2119,7 +2119,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"
--
1.7.5.4
___
LibreOffice mailing list
LibreOffice@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/libreoffice