1 Index: squid3/acinclude.m4
2 diff -c squid3/acinclude.m4:1.8 squid3/acinclude.m4:1.9
3 *** squid3/acinclude.m4:1.8 Mon Jul 28 14:41:02 2003
4 --- squid3/acinclude.m4 Mon Aug 18 18:15:01 2003
13 + dnl thanks to autogen, for the template..
15 + dnl @synopsis AC_TEST_CHECKFORHUGEOBJECTS
17 + dnl Test whether -fhuge-objects is available with this c++ compiler. gcc-29.5 series compilers need this on some platform with large objects.
19 + AC_DEFUN([AC_TEST_CHECKFORHUGEOBJECTS],[
20 + AC_MSG_CHECKING([whether compiler accepts -fhuge-objects])
21 + AC_CACHE_VAL([ac_cv_test_checkforhugeobjects],[
22 + ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
23 + ${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
27 + exit $res` 2> /dev/null
29 + then ac_cv_test_checkforhugeobjects=no
30 + else if [[ -z "$ac_cv_test_checkforhugeobjects" ]]
31 + then ac_cv_test_checkforhugeobjects=yes
33 + ]) # end of CACHE_VAL
34 + AC_MSG_RESULT([${ac_cv_test_checkforhugeobjects}])
36 + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
38 + HUGE_OBJECT_FLAG="-fhuge-objects"
42 + ]) # end of AC_DEFUN of AC_TEST_CHECKFORHUGEOBJECTS
43 Index: squid3/configure.in
44 diff -c squid3/configure.in:1.346 squid3/configure.in:1.347
45 *** squid3/configure.in:1.346 Fri Aug 15 19:03:09 2003
46 --- squid3/configure.in Mon Aug 18 18:15:01 2003
50 AC_SUBST(SQUID_CFLAGS)
51 AC_SUBST(SQUID_CXXFLAGS)
53 + AC_TEST_CHECKFORHUGEOBJECTS
54 + SQUID_CXXFLAGS="$SQUID_CXXFLAGS $HUGE_OBJECT_FLAG"
57 if test -z "$PRESET_LDFLAGS"; then
58 if test "$GCC" = "yes"; then
59 Index: squid3/lib/libTrie/configure.in
60 diff -c squid3/lib/libTrie/configure.in:1.3 squid3/lib/libTrie/configure.in:1.4
61 *** squid3/lib/libTrie/configure.in:1.3 Mon Jul 14 08:16:14 2003
62 --- squid3/lib/libTrie/configure.in Mon Aug 18 18:15:02 2003
65 AM_CONFIG_HEADER([config.h])
68 ! AC_ARG_ENABLE(inline,
69 [ --disable-inline Don't compile trivial methods as inline. Squid
70 is coded with much of the code able to be inlined.< Inlining is good for production builds, but not
71 good for development. During development, use
73 AM_CONFIG_HEADER([config.h])
76 ! AC_ARG_ENABLE(inline,
77 [ --disable-inline Don't compile trivial methods as inline. Squid
78 is coded with much of the code able to be inlined.< Inlining is good for production builds, but not
79 good for development. During development, use
82 production builds, or load tests, use
83 --enable-inline to have squid make all trivial
84 methods inlinable by the compiler.],
85 ! [ if test "$enableval" = "no" ; then
90 ! if test "$SquidInline" = "yes" ; then
91 ! AC_DEFINE(_SQUID_INLINE_, inline, [Keyword used by squid for inlining methods])
92 ! AC_DEFINE(_USE_INLINE_,, [Include inline methods into header file])
94 ! AC_DEFINE(_SQUID_INLINE_,, [Keyword used by squid for inlining methods])
97 # Checks for programs.
101 # for old automakes - like squid-cache.orgs!
102 ! AM_INIT_AUTOMAKE(libTrie, 0.1)
106 ! dnl set useful flags
107 ! if test "$GCC" = "yes"; then
108 ! TRIE_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
109 ! TRIE_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wcomments"
114 ! AC_SUBST(TRIE_CFLAGS)
115 ! AC_SUBST(TRIE_CXXFLAGS)
117 # Checks for libraries.
119 # Checks for header files.
121 # Checks for typedefs, structures, and compiler characteristics.
125 # Checks for library functions.
127 ! AC_CONFIG_FILES([Makefile
133 production builds, or load tests, use
134 --enable-inline to have squid make all trivial
135 methods inlinable by the compiler.],
136 ! [ if test "$enableval" = "no" ; then
141 ! if test "$SquidInline" = "yes" ; then
142 ! AC_DEFINE(_SQUID_INLINE_, inline, [Keyword used by squid for inlining methods])
143 ! AC_DEFINE(_USE_INLINE_,, [Include inline methods into header file])
145 ! AC_DEFINE(_SQUID_INLINE_,, [Keyword used by squid for inlining methods])
148 # Checks for programs.
152 # for old automakes - like squid-cache.orgs!
153 ! AM_INIT_AUTOMAKE(libTrie, 0.1)
157 ! dnl set useful flags
158 ! if test "$GCC" = "yes"; then
159 ! TRIE_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
160 ! TRIE_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wcomments"
166 ! AC_TEST_CHECKFORHUGEOBJECTS
167 ! TRIE_CXXFLAGS="$TRIE_CXXFLAGS $HUGE_OBJECT_FLAG"
169 ! AC_SUBST(TRIE_CFLAGS)
170 ! AC_SUBST(TRIE_CXXFLAGS)
172 # Checks for libraries.
174 # Checks for header files.
176 # Checks for typedefs, structures, and compiler characteristics.
180 # Checks for library functions.
182 ! AC_CONFIG_FILES([Makefile
187 Index: squid3/aclocal.m4
188 diff -c squid3/aclocal.m4:1.34 squid3/aclocal.m4:1.35
189 *** squid3/aclocal.m4:1.34 Mon Jul 28 14:41:02 2003
190 --- squid3/aclocal.m4 Mon Aug 18 18:20:25 2003
198 + dnl thanks to autogen, for the template..
200 + dnl @synopsis AC_TEST_CHECKFORHUGEOBJECTS
202 + dnl Test whether -fhuge-objects is available with this c++ compiler. gcc-29.5 series compilers need this on some platform with large objects.
204 + AC_DEFUN([AC_TEST_CHECKFORHUGEOBJECTS],[
205 + AC_MSG_CHECKING([whether compiler accepts -fhuge-objects])
206 + AC_CACHE_VAL([ac_cv_test_checkforhugeobjects],[
207 + ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
208 + ${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
212 + exit $res` 2> /dev/null
214 + then ac_cv_test_checkforhugeobjects=no
215 + else if [[ -z "$ac_cv_test_checkforhugeobjects" ]]
216 + then ac_cv_test_checkforhugeobjects=yes
218 + ]) # end of CACHE_VAL
219 + AC_MSG_RESULT([${ac_cv_test_checkforhugeobjects}])
221 + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
223 + HUGE_OBJECT_FLAG="-fhuge-objects"
225 + HUGE_OBJECT_FLAG=""
227 + ]) # end of AC_DEFUN of AC_TEST_CHECKFORHUGEOBJECTS
229 # Do all the work for Automake. -*- Autoconf -*-
231 # This macro actually does too much some checks are only needed if
232 Index: squid3/configure
233 diff -c squid3/configure:1.367 squid3/configure:1.368
234 *** squid3/configure:1.367 Sat Aug 16 18:13:46 2003
235 --- squid3/configure Mon Aug 18 18:20:25 2003
239 ! # From configure.in Revision: 1.346 .
240 # Guess values for system-dependent variables and create Makefiles.
241 # Generated by GNU Autoconf 2.57.
245 ! # From configure.in Revision: 1.347 .
246 # Guess values for system-dependent variables and create Makefiles.
247 # Generated by GNU Autoconf 2.57.
257 + echo "$as_me:$LINENO: checking whether compiler accepts -fhuge-objects" >&5
258 + echo $ECHO_N "checking whether compiler accepts -fhuge-objects... $ECHO_C" >&6
259 + if test "${ac_cv_test_checkforhugeobjects+set}" = set; then
260 + echo $ECHO_N "(cached) $ECHO_C" >&6
263 + ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
264 + ${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
268 + exit $res` 2> /dev/null
270 + then ac_cv_test_checkforhugeobjects=no
271 + else if [ -z "$ac_cv_test_checkforhugeobjects" ]
272 + then ac_cv_test_checkforhugeobjects=yes
277 + echo "$as_me:$LINENO: result: ${ac_cv_test_checkforhugeobjects}" >&5
278 + echo "${ECHO_T}${ac_cv_test_checkforhugeobjects}" >&6
280 + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
282 + HUGE_OBJECT_FLAG="-fhuge-objects"
284 + HUGE_OBJECT_FLAG=""
287 + SQUID_CXXFLAGS="$SQUID_CXXFLAGS $HUGE_OBJECT_FLAG"
289 if test -z "$PRESET_LDFLAGS"; then
290 if test "$GCC" = "yes"; then
291 Index: squid3/lib/libTrie/Makefile.in
292 diff -c squid3/lib/libTrie/Makefile.in:1.7 squid3/lib/libTrie/Makefile.in:1.8
293 *** squid3/lib/libTrie/Makefile.in:1.7 Mon Jul 14 09:14:42 2003
294 --- squid3/lib/libTrie/Makefile.in Mon Aug 18 18:20:27 2003
297 installdirs-recursive install-recursive uninstall-recursive \
298 check-recursive installcheck-recursive
299 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
300 ! Makefile.in NEWS aclocal.m4 config.guess config.h.in config.sub \
301 ! configure configure.in depcomp install-sh ltmain.sh missing \
304 $(MAKE) $(AM_MAKEFLAGS) all-recursive
307 installdirs-recursive install-recursive uninstall-recursive \
308 check-recursive installcheck-recursive
309 DIST_COMMON = README AUTHORS COPYING ChangeLog INSTALL Makefile.am \
310 ! Makefile.in NEWS acinclude.m4 aclocal.m4 config.guess \
311 ! config.h.in config.sub configure configure.in depcomp \
312 ! install-sh ltmain.sh missing mkinstalldirs
314 $(MAKE) $(AM_MAKEFLAGS) all-recursive
318 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
319 cd $(srcdir) && $(AUTOCONF)
321 ! $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
322 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
326 $(srcdir)/configure: @MAINTAINER_MODE_TRUE@ $(srcdir)/configure.in $(ACLOCAL_M4) $(CONFIGURE_DEPENDENCIES)
327 cd $(srcdir) && $(AUTOCONF)
329 ! $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in acinclude.m4
330 cd $(srcdir) && $(ACLOCAL) $(ACLOCAL_AMFLAGS)
333 Index: squid3/lib/libTrie/aclocal.m4
334 diff -c squid3/lib/libTrie/aclocal.m4:1.3 squid3/lib/libTrie/aclocal.m4:1.4
335 *** squid3/lib/libTrie/aclocal.m4:1.3 Mon May 5 16:57:21 2003
336 --- squid3/lib/libTrie/aclocal.m4 Mon Aug 18 18:20:27 2003
340 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A
341 # PARTICULAR PURPOSE.
344 + dnl thanks to autogen, for the template..
346 + dnl @synopsis AC_TEST_CHECKFORHUGEOBJECTS
348 + dnl Test whether -fhuge-objects is available with this c++ compiler. gcc-29.5 series compilers need this on some platform with large objects.
350 + AC_DEFUN([AC_TEST_CHECKFORHUGEOBJECTS],[
351 + AC_MSG_CHECKING([whether compiler accepts -fhuge-objects])
352 + AC_CACHE_VAL([ac_cv_test_checkforhugeobjects],[
353 + ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
354 + ${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
358 + exit $res` 2> /dev/null
360 + then ac_cv_test_checkforhugeobjects=no
361 + else if [[ -z "$ac_cv_test_checkforhugeobjects" ]]
362 + then ac_cv_test_checkforhugeobjects=yes
364 + ]) # end of CACHE_VAL
365 + AC_MSG_RESULT([${ac_cv_test_checkforhugeobjects}])
367 + if test "X${ac_cv_test_checkforhugeobjects}" != Xno
369 + HUGE_OBJECT_FLAG="-fhuge-objects"
371 + HUGE_OBJECT_FLAG=""
373 + ]) # end of AC_DEFUN of AC_TEST_CHECKFORHUGEOBJECTS
375 # Like AC_CONFIG_HEADER, but automatically create stamp file. -*- Autoconf -*-
377 # Copyright 1996, 1997, 2000, 2001 Free Software Foundation, Inc.
378 Index: squid3/lib/libTrie/configure
379 diff -c squid3/lib/libTrie/configure:1.4 squid3/lib/libTrie/configure:1.5
380 *** squid3/lib/libTrie/configure:1.4 Mon Jul 14 09:14:43 2003
381 --- squid3/lib/libTrie/configure Mon Aug 18 18:20:27 2003
387 ! # Check whether --enable-inline or --disable-inline was given.
388 if test "${enable_inline+set}" = set; then
389 enableval="$enable_inline"
390 if test "$enableval" = "no" ; then
396 ! if test "$SquidInline" = "yes" ; then
398 cat >>confdefs.h <<\_ACEOF
399 #define _SQUID_INLINE_ inline
404 ! # Check whether --enable-inline or --disable-inline was given.
405 if test "${enable_inline+set}" = set; then
406 enableval="$enable_inline"
407 if test "$enableval" = "no" ; then
413 ! if test "$SquidInline" = "yes" ; then
415 cat >>confdefs.h <<\_ACEOF
416 #define _SQUID_INLINE_ inline
424 cat >>confdefs.h <<\_ACEOF
425 #define _SQUID_INLINE_
430 # Checks for programs.
432 ac_cpp='$CXXCPP $CPPFLAGS'
433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
441 cat >>confdefs.h <<\_ACEOF
442 #define _SQUID_INLINE_
447 # Checks for programs.
449 ac_cpp='$CXXCPP $CPPFLAGS'
450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
458 ac_cpp='$CPP $CPPFLAGS'
459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
466 ac_cpp='$CPP $CPPFLAGS'
467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
474 ! echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
475 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
476 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
477 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
482 ! echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
483 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
484 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,./+-,__p_,'`
485 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
490 # for old automakes - like squid-cache.orgs!
491 ! am__api_version="1.7"
493 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
494 if test -f $ac_dir/install-sh; then
498 # for old automakes - like squid-cache.orgs!
499 ! am__api_version="1.7"
501 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
502 if test -f $ac_dir/install-sh; then
508 ! echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
509 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
510 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
511 if test "${enable_maintainer_mode+set}" = set; then
516 ! echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
517 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
518 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
519 if test "${enable_maintainer_mode+set}" = set; then
522 MAINT=$MAINTAINER_MODE_TRUE
525 ! if test -n "$ac_tool_prefix"; then
526 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
527 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
528 echo "$as_me:$LINENO: checking for $ac_word" >&5
530 MAINT=$MAINTAINER_MODE_TRUE
533 ! if test -n "$ac_tool_prefix"; then
534 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
535 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
536 echo "$as_me:$LINENO: checking for $ac_word" >&5
542 ! if test "$GCC" = "yes"; then
543 ! TRIE_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
544 ! TRIE_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wcomments"
556 ! if test "$GCC" = "yes"; then
557 ! TRIE_CFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wmissing-declarations -Wcomments"
558 ! TRIE_CXXFLAGS="-Werror -Wall -Wpointer-arith -Wwrite-strings -Wmissing-prototypes -Wcomments"
565 ! echo "$as_me:$LINENO: checking whether compiler accepts -fhuge-objects" >&5
566 ! echo $ECHO_N "checking whether compiler accepts -fhuge-objects... $ECHO_C" >&6
567 ! if test "${ac_cv_test_checkforhugeobjects+set}" = set; then
568 ! echo $ECHO_N "(cached) $ECHO_C" >&6
571 ! ac_cv_test_checkforhugeobjects=`echo "int foo;" > conftest.cc
572 ! ${CXX} -Werror -fhuge-objects -c conftest.cc 2>/dev/null
576 ! exit $res` 2> /dev/null
578 ! then ac_cv_test_checkforhugeobjects=no
579 ! else if [ -z "$ac_cv_test_checkforhugeobjects" ]
580 ! then ac_cv_test_checkforhugeobjects=yes
585 ! echo "$as_me:$LINENO: result: ${ac_cv_test_checkforhugeobjects}" >&5
586 ! echo "${ECHO_T}${ac_cv_test_checkforhugeobjects}" >&6
588 ! if test "X${ac_cv_test_checkforhugeobjects}" != Xno
590 ! HUGE_OBJECT_FLAG="-fhuge-objects"
592 ! HUGE_OBJECT_FLAG=""
595 ! TRIE_CXXFLAGS="$TRIE_CXXFLAGS $HUGE_OBJECT_FLAG"
606 ac_cpp='$CPP $CPPFLAGS'
607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
614 ac_cpp='$CPP $CPPFLAGS'
615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
620 # Checks for library functions.
622 ! ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile test/Makefile"
624 ! cat >confcache <<\_ACEOF
625 # This file is a shell script that caches the results of configure
626 # tests run on this system so they can be shared between configure
627 # scripts and configure runs, see configure's option --config-cache.
630 # Checks for library functions.
632 ! ac_config_files="$ac_config_files Makefile include/Makefile src/Makefile test/Makefile"
634 ! cat >confcache <<\_ACEOF
635 # This file is a shell script that caches the results of configure
636 # tests run on this system so they can be shared between configure
637 # scripts and configure runs, see configure's option --config-cache.