summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Stahl <Michael.Stahl@cib.de>2018-04-20 14:13:19 +0200
committerMichael Stahl <Michael.Stahl@cib.de>2018-04-20 16:00:46 +0200
commit40d38c2140ddd172433e68e3fa59bc184597ac15 (patch)
treef82cbf8e0e519cad427a7ac5e7321d2260e86871
parente75e6b850a8791237dca6654b526831f1b0c7bc6 (diff)
configure: find icecream GCC wrappers on Fedora
Change-Id: I7e5ad4e35c6d26b496f9c3a1eb24ee4f49ce57e9 Reviewed-on: https://gerrit.libreoffice.org/53200 Tested-by: Jenkins <ci@libreoffice.org> Reviewed-by: Michael Stahl <Michael.Stahl@cib.de>
-rw-r--r--configure.ac7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 5f14c5b99baa..6f9b2dc7fc90 100644
--- a/configure.ac
+++ b/configure.ac
@@ -2618,8 +2618,13 @@ if test "$_os" != "WINNT"; then
if test "$enable_icecream" = "yes"; then
if test -d "/usr/lib/icecc/bin"; then
GCC_HOME="/usr/lib/icecc/"
- else
+ elif test -d "/usr/libexec/icecc/bin"; then
+ GCC_HOME="/usr/libexec/icecc/"
+ elif test -d "/opt/icecream/bin"; then
GCC_HOME="/opt/icecream/"
+ else
+ AC_MSG_ERROR([Could not figure out the location of icecream GCC wrappers, manually use --with-gcc-home])
+
fi
else
GCC_HOME=`which gcc | $SED -e s,/bin/gcc,,`