From: Automatic source maintenance Date: Mon, 7 Dec 2009 03:19:57 +0000 (-0700) Subject: Bootstrapped X-Git-Tag: SQUID_3_0_STABLE21~7 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=9675bd457f161f544ec28767129000efcf411715;p=thirdparty%2Fsquid.git Bootstrapped --- diff --git a/configure b/configure index a2927bda74..3bcda3f0aa 100755 --- 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 diff --git a/lib/libTrie/configure b/lib/libTrie/configure index d80569286b..4b863508cd 100755 --- a/lib/libTrie/configure +++ b/lib/libTrie/configure @@ -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