[goffice] configure: handle spaces in CC.



commit 9b21065bbb94080213dc0b9a278b0235064f0091
Author: Morten Welinder <terra gnome org>
Date:   Tue Nov 17 15:02:04 2009 -0500

    configure: handle spaces in CC.

 configure.in |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/configure.in b/configure.in
index ad90197..648a91f 100644
--- a/configure.in
+++ b/configure.in
@@ -501,8 +501,8 @@ if test "x$with_long_double" = "xyes"; then
     have_mandatory_funcs=yes
     need_sunmath=0
     ss_cc=`which $CC`
-    ss_dir=`dirname $ss_cc`"/.."
-    if test ! -f $ss_dir/lib/libsunmath.so; then
+    ss_dir=`dirname "$ss_cc"`"/.."
+    if test ! -f "$ss_dir/lib/libsunmath.so"; then
         ss_dir="/opt/SUNWspro"
     fi
     sunmathlinkstuff="-L$ss_dir/lib -R$ss_dir/lib -lsunmath"



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]