]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Bootstrapped
authorAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 7 Dec 2009 03:19:57 +0000 (20:19 -0700)
committerAutomatic source maintenance <squidadm@squid-cache.org>
Mon, 7 Dec 2009 03:19:57 +0000 (20:19 -0700)
configure
lib/libTrie/configure

index a2927bda74753fcba070ec04ac86d9f80d1cda3f..3bcda3f0aa33380229b566de5d93ea85331d7e29 100755 (executable)
--- a/configure
+++ b/configure
@@ -21557,7 +21557,9 @@ fi
 
 
 
+if test "$GCC" = "yes"; then
 
+ if test "$GCC" = "yes"; then
   { $as_echo "$as_me:$LINENO: checking whether compiler accepts -fhuge-objects" >&5
 $as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
   if test "${ac_cv_test_checkforhugeobjects+set}" = set; then
@@ -21584,11 +21586,11 @@ $as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
   if test "X${ac_cv_test_checkforhugeobjects}" != Xno
   then
     HUGE_OBJECT_FLAG="-fhuge-objects"
-  else
-    HUGE_OBJECT_FLAG=""
   fi
+ fi #gcc
 
-SQUID_CXXFLAGS="$SQUID_CXXFLAGS $HUGE_OBJECT_FLAG"
+       SQUID_CXXFLAGS="$SQUID_CXXFLAGS $HUGE_OBJECT_FLAG"
+fi
 
 if test -z "$PRESET_LDFLAGS"; then
     if test "$GCC" = "yes"; then
index d80569286b831406a3855ff17d1e72a753e8cbdf..4b863508cdb706b14e98e11f93cb5c83126dcf35 100755 (executable)
@@ -4112,15 +4112,17 @@ else
    TRIE_CXXFLAGS=
 fi
 
+if test "$GCC" = "yes" ; then
 
+ if test "$GCC" = "yes"; then
   { $as_echo "$as_me:$LINENO: checking whether compiler accepts -fhuge-objects" >&5
 $as_echo_n "checking whether compiler accepts -fhuge-objects... " >&6; }
   if test "${ac_cv_test_checkforhugeobjects+set}" = set; then
   $as_echo_n "(cached) " >&6
 else
 
-    ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
-${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
+    ac_cv_test_checkforhugeobjects=`echo "int main(int argc, char **argv) { int foo; }" > conftest.cc
+${CXX} -Werror -fhuge-objects -o conftest.bin conftest.cc 2>/dev/null
 res=$?
 rm -f conftest.*
 echo yes
@@ -4139,11 +4141,11 @@ $as_echo "${ac_cv_test_checkforhugeobjects}" >&6; }
   if test "X${ac_cv_test_checkforhugeobjects}" != Xno
   then
     HUGE_OBJECT_FLAG="-fhuge-objects"
-  else
-    HUGE_OBJECT_FLAG=""
   fi
+ fi #gcc
 
-TRIE_CXXFLAGS="$TRIE_CXXFLAGS $HUGE_OBJECT_FLAG"
+       TRIE_CXXFLAGS="$TRIE_CXXFLAGS $HUGE_OBJECT_FLAG"
+fi