From: Francesco Chemolli Date: Wed, 25 Nov 2009 17:13:33 +0000 (+0100) Subject: Merged from trunk X-Git-Tag: SQUID_3_2_0_1~310^2~54 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=60225fbae92afb5369535ed68f0c3694dd0715a7;p=thirdparty%2Fsquid.git Merged from trunk --- 60225fbae92afb5369535ed68f0c3694dd0715a7 diff --cc acinclude.m4 index 73c36220bf,72bb8956ee..83d6b2cc77 --- a/acinclude.m4 +++ b/acinclude.m4 @@@ -62,7 -62,41 +62,6 @@@ SQUID_DEFAULT_INCLUDE #endif ]) -dnl -dnl thanks to autogen, for the template.. -dnl -dnl @synopsis AC_TEST_CHECKFORHUGEOBJECTS -dnl -dnl Test whether -fhuge-objects is available with this c++ compiler. gcc-29.5 series compilers need this on some platform with large objects. -dnl -AC_DEFUN([AC_TEST_CHECKFORHUGEOBJECTS],[ - if test "$GCC" = "yes"; then - AC_MSG_CHECKING([whether compiler accepts -fhuge-objects]) - AC_CACHE_VAL([ac_cv_test_checkforhugeobjects],[ - 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 -exit $res` - if [[ $? -ne 0 ]] - then ac_cv_test_checkforhugeobjects=no - else if [[ -z "$ac_cv_test_checkforhugeobjects" ]] - then ac_cv_test_checkforhugeobjects=yes - fi ; fi - ]) # end of CACHE_VAL - AC_MSG_RESULT([${ac_cv_test_checkforhugeobjects}]) - - if test "X${ac_cv_test_checkforhugeobjects}" != Xno - then - HUGE_OBJECT_FLAG="-fhuge-objects" - else - HUGE_OBJECT_FLAG="" - fi - fi -]) # end of AC_DEFUN of AC_TEST_CHECKFORHUGEOBJECTS - -- dnl =========================================================================== dnl http://autoconf-archive.cryp.to/ax_with_prog.html dnl ===========================================================================