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


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 <fernando@ubuntu.ubuntu-domain>
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


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.