3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated automatically using autoconf version 2.13
5 # Copyright (C) 1992, 93, 94, 95, 96 Free Software Foundation, Inc.
7 # This configure script is free software; the Free Software Foundation
8 # gives unlimited permission to copy, distribute and modify it.
12 ac_default_prefix
=/usr
/local
13 # Any additions from configure.in:
15 --disable-dependency-tracking Speeds up one-time builds
16 --enable-dependency-tracking Do not reject slow dependency extractors"
17 ac_default_prefix
=/usr
/local
/squid
19 --enable-maintainer-mode enable make rules and dependencies not useful
20 (and sometimes confusing) to the casual installer"
22 --enable-dlmalloc[=LIB] Compile & use the malloc package by Doug Lea"
24 --enable-gnuregex Compile GNUregex"
26 --enable-xmalloc-debug Do some simple malloc debugging"
28 --enable-xmalloc-debug-trace
29 Detailed trace of memory allocations"
31 --enable-xmalloc-statistics
32 Show malloc statistics in status page"
34 --enable-carp Enable CARP support"
36 --enable-async-io[=N_THREADS]
38 --with-aufs-threads=N_THREADS
40 --enable-storeio=ufs,aufs"
42 --with-aufs-threads=N_THREADS
43 Tune the number of worker threads for the aufs object
46 --with-pthreads Use POSIX Threads"
48 --with-aio Use POSIX AIO"
50 --enable-storeio=\"list of modules\"
51 Build support for the list of store I/O modules.
52 The default is only to build the "ufs
" module.
53 See src/fs for a list of available modules, or
54 Programmers Guide section <not yet written>
55 for details on how to build your custom store module"
57 --enable-heap-replacement
58 Backwards compability option. Please use the
59 new --enable-removal-policies directive instead."
61 --enable-removal-policies=\"list of policies\"
62 Build support for the list of removal policies.
63 The default is only to build the "lru
" module.
64 See src/repl for a list of available modules, or
65 Programmers Guide section 9.9 for details on how
66 to build your custom policy"
68 --enable-icmp Enable ICMP pinging"
70 --enable-delay-pools Enable delay pools to limit bandwidth usage"
72 --enable-mem-gen-trace Do trace of memory stuff"
74 --enable-useragent-log Enable logging of User-Agent header"
76 --enable-referer-log Enable logging of Referer header"
78 --disable-wccp Disable Web Cache Coordination Protocol"
80 --enable-kill-parent-hack
81 Kill parent on shutdown"
83 --enable-snmp Enable SNMP monitoring"
85 --enable-time-hack Update internal timestamp only once per second"
87 --enable-cachemgr-hostname[=hostname]
88 Make cachemgr.cgi default to this host"
90 --enable-arp-acl Enable use of ARP ACL lists (ether address)"
92 --enable-htcp Enable HTCP protocol"
94 --enable-ssl Enable ssl gatewaying support using OpenSSL"
96 --with-openssl[=prefix]
97 Compile with the OpenSSL libraries. The path to
98 the OpenSSL development libraries and headers
99 installation can be specified if outside of the
100 system standard directories"
102 --enable-forw-via-db Enable Forw/Via database"
104 --enable-cache-digests Use Cache Digests
105 see http://www.squid-cache.org/FAQ/FAQ-16.html"
107 --enable-default-err-language=lang
108 Select default language for Error pages (see errors dir) "
110 --enable-err-languages=\"lang1 lang2..\"
111 Select languages to be installed. (All will be installed by default) "
113 --with-coss-membuf-size COSS membuf size (default 1048576 bytes) "
115 --enable-poll Enable poll() support.
116 --disable-poll Disable poll() support. "
118 --enable-select Enable select() support.
119 --disable-select Disable select() support. "
121 --enable-kqueue Enable kqueue() support.
122 --disable-kqueue Disable kqueue() support. "
124 --disable-http-violations
125 This allows you to remove code which is known to
126 violate the HTTP protocol specification."
128 --enable-ipf-transparent
129 Enable Transparent Proxy support for systems
130 using IP-Filter network address redirection."
132 --enable-linux-netfilter
133 Enable Transparent Proxy support for Linux 2.4."
136 Enable Leak Finding code. Enabling this alone
137 does nothing; you also have to modify the source
138 code to use the leak finding functions. Probably
139 Useful for hackers only."
141 --disable-ident-lookups
142 This allows you to remove code that performs
143 Ident (RFC 931) lookups."
145 --disable-internal-dns This prevents Squid from directly sending and
146 receiving DNS messages, and instead enables the
147 old external 'dnsserver' processes."
149 --enable-truncate This uses truncate() instead of unlink() when
150 removing cache files. Truncate gives a little
151 performance improvement, but may cause problems
152 when used with async I/O. Truncate uses more
153 filesystem inodes than unlink.."
155 --enable-underscores Squid by default rejects any host names with _
156 in their name to conform with internet standards.
157 If you disagree with this you may allow _ in
158 hostnames by using this switch, provided that
159 the resolver library on the host where Squid runs
160 does not reject _ in hostnames..."
162 --enable-auth=\"list of auth scheme modules\"
163 Build support for the list of authentication schemes.
164 The default is to build support for the Basic scheme.
165 See src/auth for a list of available modules, or
166 Programmers Guide section authentication schemes
167 for details on how to build your custom auth scheme
170 --enable-auth-modules=\"list of helpers\"
171 Backwards compability alias for
172 --enable-basic-auth-helpers"
174 --enable-basic-auth-helpers=\"list of helpers\"
175 This option selects which basic scheme proxy_auth
176 helpers to build and install as part of the normal
177 build process. For a list of available
178 helpers see the src/auth/basic/helpers directory."
180 --enable-ntlm-auth-helpers=\"list of helpers\"
181 This option selects which proxy_auth ntlm helpers
182 to build and install as part of the normal build
183 process. For a list of available modules see
184 the src/auth/ntlm/helpers directory."
186 --enable-digest-auth-helpers=\"list of helpers\"
187 This option selects which digest scheme authentication
188 helpers to build and install as part of the normal build
189 process. For a list of available modules see the
190 src/auth/digest/helpers directory."
192 --enable-ntlm-fail-open Enable NTLM fail open, where a helper that fails one of the
193 Authentication steps can allow squid to still authenticate
196 --disable-unlinkd Do not use unlinkd"
198 --enable-stacktraces Enable automatic call backtrace on fatal errors"
200 --enable-x-accelerator-vary Enable support for the X-Accelerator-Vary
201 HTTP header. Can be used to indicate
202 variance within an accelerator setup.
203 Typically used together with other code
204 that adds custom HTTP headers to the requests."
206 # Initialize some variables set by options.
207 # The variables have the same names as the options, with
208 # dashes changed to underlines.
210 cache_file
=.
/config.cache
219 program_transform_name
=s
,x
,x
,
227 bindir
='${exec_prefix}/bin'
228 sbindir
='${exec_prefix}/sbin'
229 libexecdir
='${exec_prefix}/libexec'
230 datadir
='${prefix}/share'
231 sysconfdir
='${prefix}/etc'
232 sharedstatedir
='${prefix}/com'
233 localstatedir
='${prefix}/var'
234 libdir
='${exec_prefix}/lib'
235 includedir
='${prefix}/include'
236 oldincludedir
='/usr/include'
237 infodir
='${prefix}/info'
238 mandir
='${prefix}/man'
240 # Initialize some other variables.
243 SHELL
=${CONFIG_SHELL-/bin/sh}
244 # Maximum number of lines to put in a shell here document.
251 # If the previous option needs an argument, assign it.
252 if test -n "$ac_prev"; then
253 eval "$ac_prev=\$ac_option"
259 -*=*) ac_optarg
=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
263 # Accept the important Cygnus configure options, so we can diagnose typos.
267 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
269 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
270 bindir
="$ac_optarg" ;;
272 -build |
--build |
--buil |
--bui |
--bu)
274 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
275 build
="$ac_optarg" ;;
277 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
278 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
279 ac_prev
=cache_file
;;
280 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
281 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
282 cache_file
="$ac_optarg" ;;
284 -datadir |
--datadir |
--datadi |
--datad |
--data |
--dat |
--da)
286 -datadir=* |
--datadir=* |
--datadi=* |
--datad=* |
--data=* |
--dat=* \
288 datadir
="$ac_optarg" ;;
290 -disable-* |
--disable-*)
291 ac_feature
=`echo $ac_option|sed -e 's/-*disable-//'`
292 # Reject names that are not valid shell variable names.
293 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
294 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
296 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
297 eval "enable_${ac_feature}=no" ;;
299 -enable-* |
--enable-*)
300 ac_feature
=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
301 # Reject names that are not valid shell variable names.
302 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
303 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
305 ac_feature
=`echo $ac_feature| sed 's/-/_/g'`
310 eval "enable_${ac_feature}='$ac_optarg'" ;;
312 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
313 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
314 |
--exec |
--exe |
--ex)
315 ac_prev
=exec_prefix
;;
316 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
317 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
318 |
--exec=* |
--exe=* |
--ex=*)
319 exec_prefix
="$ac_optarg" ;;
321 -gas |
--gas |
--ga |
--g)
322 # Obsolete; use --with-gas.
325 -help |
--help |
--hel |
--he)
326 # Omit some internal or obsolete options to make the list less imposing.
327 # This message is too long to be a string in the A/UX 3.1 sh.
329 Usage: configure [options] [host]
330 Options: [defaults in brackets after descriptions]
332 --cache-file=FILE cache test results in FILE
333 --help print this message
334 --no-create do not create output files
335 --quiet, --silent do not print \`checking...' messages
336 --version print the version of autoconf that created configure
337 Directory and file names:
338 --prefix=PREFIX install architecture-independent files in PREFIX
340 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
342 --bindir=DIR user executables in DIR [EPREFIX/bin]
343 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
344 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
345 --datadir=DIR read-only architecture-independent data in DIR
347 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
348 --sharedstatedir=DIR modifiable architecture-independent data in DIR
350 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
351 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
352 --includedir=DIR C header files in DIR [PREFIX/include]
353 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
354 --infodir=DIR info documentation in DIR [PREFIX/info]
355 --mandir=DIR man documentation in DIR [PREFIX/man]
356 --srcdir=DIR find the sources in DIR [configure dir or ..]
357 --program-prefix=PREFIX prepend PREFIX to installed program names
358 --program-suffix=SUFFIX append SUFFIX to installed program names
359 --program-transform-name=PROGRAM
360 run sed PROGRAM on installed program names
364 --build=BUILD configure for building on BUILD [BUILD=HOST]
365 --host=HOST configure for HOST [guessed]
366 --target=TARGET configure for TARGET [TARGET=HOST]
367 Features and packages:
368 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
369 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
370 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
371 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
372 --x-includes=DIR X include files are in DIR
373 --x-libraries=DIR X library files are in DIR
375 if test -n "$ac_help"; then
376 echo "--enable and --with options recognized:$ac_help"
380 -host |
--host |
--hos |
--ho)
382 -host=* |
--host=* |
--hos=* |
--ho=*)
385 -includedir |
--includedir |
--includedi |
--included |
--include \
386 |
--includ |
--inclu |
--incl |
--inc)
387 ac_prev
=includedir
;;
388 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
389 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
390 includedir
="$ac_optarg" ;;
392 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
394 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
395 infodir
="$ac_optarg" ;;
397 -libdir |
--libdir |
--libdi |
--libd)
399 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
400 libdir
="$ac_optarg" ;;
402 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
403 |
--libexe |
--libex |
--libe)
404 ac_prev
=libexecdir
;;
405 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
406 |
--libexe=* |
--libex=* |
--libe=*)
407 libexecdir
="$ac_optarg" ;;
409 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
410 |
--localstate |
--localstat |
--localsta |
--localst \
411 |
--locals |
--local |
--loca |
--loc |
--lo)
412 ac_prev
=localstatedir
;;
413 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
414 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* \
415 |
--locals=* |
--local=* |
--loca=* |
--loc=* |
--lo=*)
416 localstatedir
="$ac_optarg" ;;
418 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
420 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
421 mandir
="$ac_optarg" ;;
424 # Obsolete; use --without-fp.
427 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
431 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
432 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
435 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
436 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
437 |
--oldin |
--oldi |
--old |
--ol |
--o)
438 ac_prev
=oldincludedir
;;
439 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
440 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
441 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
442 oldincludedir
="$ac_optarg" ;;
444 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
446 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
447 prefix
="$ac_optarg" ;;
449 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
450 |
--program-pre |
--program-pr |
--program-p)
451 ac_prev
=program_prefix
;;
452 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
453 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
454 program_prefix
="$ac_optarg" ;;
456 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
457 |
--program-suf |
--program-su |
--program-s)
458 ac_prev
=program_suffix
;;
459 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
460 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
461 program_suffix
="$ac_optarg" ;;
463 -program-transform-name |
--program-transform-name \
464 |
--program-transform-nam |
--program-transform-na \
465 |
--program-transform-n |
--program-transform- \
466 |
--program-transform |
--program-transfor \
467 |
--program-transfo |
--program-transf \
468 |
--program-trans |
--program-tran \
469 |
--progr-tra |
--program-tr |
--program-t)
470 ac_prev
=program_transform_name
;;
471 -program-transform-name=* |
--program-transform-name=* \
472 |
--program-transform-nam=* |
--program-transform-na=* \
473 |
--program-transform-n=* |
--program-transform-=* \
474 |
--program-transform=* |
--program-transfor=* \
475 |
--program-transfo=* |
--program-transf=* \
476 |
--program-trans=* |
--program-tran=* \
477 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
478 program_transform_name
="$ac_optarg" ;;
480 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
481 |
-silent |
--silent |
--silen |
--sile |
--sil)
484 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
486 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
488 sbindir
="$ac_optarg" ;;
490 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
491 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
492 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
494 ac_prev
=sharedstatedir
;;
495 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
496 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
497 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
499 sharedstatedir
="$ac_optarg" ;;
501 -site |
--site |
--sit)
503 -site=* |
--site=* |
--sit=*)
506 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
508 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
509 srcdir
="$ac_optarg" ;;
511 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
512 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
513 ac_prev
=sysconfdir
;;
514 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
515 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
516 sysconfdir
="$ac_optarg" ;;
518 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
520 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
521 target
="$ac_optarg" ;;
523 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
526 -version |
--version |
--versio |
--versi |
--vers)
527 echo "configure generated by autoconf version 2.13"
531 ac_package
=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
532 # Reject names that are not valid shell variable names.
533 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
534 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
536 ac_package
=`echo $ac_package| sed 's/-/_/g'`
541 eval "with_${ac_package}='$ac_optarg'" ;;
543 -without-* |
--without-*)
544 ac_package
=`echo $ac_option|sed -e 's/-*without-//'`
545 # Reject names that are not valid shell variable names.
546 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
547 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
549 ac_package
=`echo $ac_package| sed 's/-/_/g'`
550 eval "with_${ac_package}=no" ;;
553 # Obsolete; use --with-x.
556 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
557 |
--x-incl |
--x-inc |
--x-in |
--x-i)
558 ac_prev
=x_includes
;;
559 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
560 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
561 x_includes
="$ac_optarg" ;;
563 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
564 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
565 ac_prev
=x_libraries
;;
566 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
567 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
568 x_libraries
="$ac_optarg" ;;
570 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
574 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
575 echo "configure: warning: $ac_option: invalid host type" 1>&2
577 if test "x$nonopt" != xNONE
; then
578 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
586 if test -n "$ac_prev"; then
587 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
590 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
592 # File descriptor usage:
595 # 2 errors and warnings
596 # 3 some systems may open it to /dev/tty
597 # 4 used on the Kubota Titan
598 # 6 checking for... messages and results
599 # 5 compiler messages saved in config.log
600 if test "$silent" = yes; then
608 This file contains any messages produced by compilers while
609 running configure, to aid debugging if configure makes a mistake.
612 # Strip out --no-create and --no-recursion so they do not pile up.
613 # Also quote any args containing shell metacharacters.
618 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
619 |
--no-cr |
--no-c) ;;
620 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
621 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r) ;;
622 *" "*|
*" "*|
*[\
[\
]\~\
#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
623 ac_configure_args
="$ac_configure_args '$ac_arg'" ;;
624 *) ac_configure_args
="$ac_configure_args $ac_arg" ;;
629 # Only set these to C if already set. These must not be set unconditionally
630 # because not all systems understand e.g. LANG=C (notably SCO).
631 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
632 # Non-C LC_CTYPE values break the ctype check.
633 if test "${LANG+set}" = set; then LANG
=C
; export LANG
; fi
634 if test "${LC_ALL+set}" = set; then LC_ALL
=C
; export LC_ALL
; fi
635 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES
=C
; export LC_MESSAGES
; fi
636 if test "${LC_CTYPE+set}" = set; then LC_CTYPE
=C
; export LC_CTYPE
; fi
638 # confdefs.h avoids OS command line length limits that DEFS can exceed.
639 rm -rf conftest
* confdefs.h
640 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
643 # A filename unique to this package, relative to the directory that
644 # configure is in, which we can look for to find out if srcdir is correct.
645 ac_unique_file
=src
/main.c
647 # Find the source files, if location was not specified.
648 if test -z "$srcdir"; then
649 ac_srcdir_defaulted
=yes
650 # Try the directory containing this script, then its parent.
652 ac_confdir
=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
653 test "x$ac_confdir" = "x$ac_prog" && ac_confdir
=.
655 if test ! -r $srcdir/$ac_unique_file; then
659 ac_srcdir_defaulted
=no
661 if test ! -r $srcdir/$ac_unique_file; then
662 if test "$ac_srcdir_defaulted" = yes; then
663 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
665 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
668 srcdir
=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
670 # Prefer explicitly selected file to automatically selected ones.
671 if test -z "$CONFIG_SITE"; then
672 if test "x$prefix" != xNONE
; then
673 CONFIG_SITE
="$prefix/share/config.site $prefix/etc/config.site"
675 CONFIG_SITE
="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
678 for ac_site_file
in $CONFIG_SITE; do
679 if test -r "$ac_site_file"; then
680 echo "loading site script $ac_site_file"
685 if test -r "$cache_file"; then
686 echo "loading cache $cache_file"
689 echo "creating cache $cache_file"
694 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
695 ac_cpp
='$CPP $CPPFLAGS'
696 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
697 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
698 cross_compiling
=$ac_cv_prog_cc_cross
702 if (echo "testing\c"; echo 1,2,3) |
grep c
>/dev
/null
; then
703 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
704 if (echo -n testing
; echo 1,2,3) |
sed s
/-n/xn
/ |
grep xn
>/dev
/null
; then
711 ac_n
= ac_c
='\c' ac_t
=
716 for ac_dir
in cfgaux
$srcdir/cfgaux
; do
717 if test -f $ac_dir/install-sh
; then
719 ac_install_sh
="$ac_aux_dir/install-sh -c"
721 elif test -f $ac_dir/install.sh
; then
723 ac_install_sh
="$ac_aux_dir/install.sh -c"
727 if test -z "$ac_aux_dir"; then
728 { echo "configure: error: can not find install-sh or install.sh in cfgaux $srcdir/cfgaux" 1>&2; exit 1; }
730 ac_config_guess
=$ac_aux_dir/config.guess
731 ac_config_sub
=$ac_aux_dir/config.sub
732 ac_configure
=$ac_aux_dir/configure
# This should be Cygnus configure.
735 # expand $ac_aux_dir to an absolute path
736 am_aux_dir
=`CDPATH=:; cd $ac_aux_dir && pwd`
738 # Find a good install program. We prefer a C program (faster),
739 # so one script is as good as another. But avoid the broken or
740 # incompatible versions:
741 # SysV /etc/install, /usr/sbin/install
742 # SunOS /usr/etc/install
745 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
746 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
747 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
748 # ./install, which can be erroneously created by make from ./install.sh.
749 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
750 echo "configure:751: checking for a BSD compatible install" >&5
751 if test -z "$INSTALL"; then
752 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
753 echo $ac_n "(cached) $ac_c" 1>&6
755 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
756 for ac_dir
in $PATH; do
757 # Account for people who put trailing slashes in PATH elements.
759 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
761 # OSF1 and SCO ODT 3.0 have their own names for install.
762 # Don't use installbsd from OSF since it installs stuff as root
764 for ac_prog
in ginstall scoinst
install; do
765 if test -f $ac_dir/$ac_prog; then
766 if test $ac_prog = install &&
767 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
768 # AIX install. It has an incompatible calling convention.
771 ac_cv_path_install
="$ac_dir/$ac_prog -c"
782 if test "${ac_cv_path_install+set}" = set; then
783 INSTALL
="$ac_cv_path_install"
785 # As a last resort, use the slow shell script. We don't cache a
786 # path for INSTALL within a source directory, because that will
787 # break other packages using the cache if that directory is
788 # removed, or if the path is relative.
789 INSTALL
="$ac_install_sh"
792 echo "$ac_t""$INSTALL" 1>&6
794 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
795 # It thinks the first close brace ends the variable substitution.
796 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
798 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
800 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
802 echo $ac_n "checking whether build environment is sane""... $ac_c" 1>&6
803 echo "configure:804: checking whether build environment is sane" >&5
806 echo timestamp
> conftest.
file
807 # Do `set' in a subshell so we don't clobber the current shell's
808 # arguments. Must try -L first in case configure is actually a
809 # symlink; some systems play weird games with the mod time of symlinks
810 # (eg FreeBSD returns the mod time of the symlink's containing
813 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
814 if test "$*" = "X"; then
816 set X
`ls -t $srcdir/configure conftest.file`
819 if test "$*" != "X $srcdir/configure conftest.file" \
820 && test "$*" != "X conftest.file $srcdir/configure"; then
822 # If neither matched, then we have a broken ls. This can happen
823 # if, for instance, CONFIG_SHELL is bash and it inherits a
824 # broken ls alias from the environment. This has actually
825 # happened. Such a system could not be considered "sane".
826 { echo "configure: error: ls -t appears to fail. Make sure there is not a broken
827 alias in your environment" 1>&2; exit 1; }
830 test "$2" = conftest.
file
836 { echo "configure: error: newly created file is older than distributed files!
837 Check your system clock" 1>&2; exit 1; }
839 echo "$ac_t""yes" 1>&6
840 if test "$program_transform_name" = s
,x
,x
,; then
841 program_transform_name
=
843 # Double any \ or $. echo might interpret backslashes.
844 cat <<\EOF_SED
> conftestsed
845 s
,\\,\\\\,g
; s
,\$
,$$
,g
847 program_transform_name
="`echo $program_transform_name|sed -f conftestsed`"
850 test "$program_prefix" != NONE
&&
851 program_transform_name
="s,^,${program_prefix},; $program_transform_name"
852 # Use a double $ so make ignores it.
853 test "$program_suffix" != NONE
&&
854 program_transform_name
="s,\$\$,${program_suffix},; $program_transform_name"
856 # sed with no file args requires a program.
857 test "$program_transform_name" = "" && program_transform_name
="s,x,x,"
859 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
860 # Use eval to expand $SHELL
861 if eval "$MISSING --run true"; then
862 am_missing_run
="$MISSING --run "
866 echo "configure: warning: ${am_backtick}missing' script is too old or missing" 1>&2
869 for ac_prog
in mawk gawk nawk
awk
871 # Extract the first word of "$ac_prog", so it can be a program name with args.
872 set dummy
$ac_prog; ac_word
=$2
873 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
874 echo "configure:875: checking for $ac_word" >&5
875 if eval "test \"`echo '$''{'ac_cv_prog_AWK'+set}'`\" = set"; then
876 echo $ac_n "(cached) $ac_c" 1>&6
878 if test -n "$AWK"; then
879 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
881 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
883 for ac_dir
in $ac_dummy; do
884 test -z "$ac_dir" && ac_dir
=.
885 if test -f $ac_dir/$ac_word; then
886 ac_cv_prog_AWK
="$ac_prog"
893 AWK
="$ac_cv_prog_AWK"
894 if test -n "$AWK"; then
895 echo "$ac_t""$AWK" 1>&6
897 echo "$ac_t""no" 1>&6
900 test -n "$AWK" && break
903 echo $ac_n "checking whether ${MAKE-make} sets \${MAKE}""... $ac_c" 1>&6
904 echo "configure:905: checking whether ${MAKE-make} sets \${MAKE}" >&5
905 set dummy
${MAKE-make}; ac_make
=`echo "$2" | sed 'y%./+-%__p_%'`
906 if eval "test \"`echo '$''{'ac_cv_prog_make_${ac_make}_set'+set}'`\" = set"; then
907 echo $ac_n "(cached) $ac_c" 1>&6
909 cat > conftestmake
<<\EOF
911 @
echo 'ac_maketemp="${MAKE}"'
913 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
914 eval `${MAKE-make} -f conftestmake 2>/dev/null | grep temp=`
915 if test -n "$ac_maketemp"; then
916 eval ac_cv_prog_make_
${ac_make}_set
=yes
918 eval ac_cv_prog_make_
${ac_make}_set
=no
922 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
923 echo "$ac_t""yes" 1>&6
926 echo "$ac_t""no" 1>&6
927 SET_MAKE
="MAKE=${MAKE-make}"
930 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
931 if test "${enable_dependency_tracking+set}" = set; then
932 enableval
="$enable_dependency_tracking"
936 if test "x$enable_dependency_tracking" != xno
; then
937 am_depcomp
="$ac_aux_dir/depcomp"
942 if test "x$enable_dependency_tracking" != xno; then
953 rm -f .deps
2>/dev
/null
954 mkdir .deps
2>/dev
/null
955 if test -d .deps
; then
958 # MS-DOS does not allow filenames that begin with a dot.
961 rmdir .deps
2>/dev
/null
964 # test to see if srcdir already configured
965 if test "`CDPATH=:; cd $srcdir && pwd`" != "`pwd`" &&
966 test -f $srcdir/config.status
; then
967 { echo "configure: error: source directory already configured; run \"make distclean\" there first" 1>&2; exit 1; }
970 # Define the identity of the package.
973 cat >> confdefs.h
<<EOF
974 #define PACKAGE "$PACKAGE"
977 cat >> confdefs.h
<<EOF
978 #define VERSION "$VERSION"
982 # Autoconf 2.50 wants to disallow AM_ names. We explicitly allow
983 # the ones we care about.
985 # Autoconf 2.50 always computes EXEEXT. However we need to be
986 # compatible with 2.13, for now. So we always define EXEEXT, but we
989 # Similar for OBJEXT -- only we only use OBJEXT if the user actually
990 # requests that it be used. This is a bit dumb.
994 # Some tools Automake needs.
996 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal"}
999 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
1002 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake"}
1005 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
1008 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
1011 AMTAR
=${AMTAR-"${am_missing_run}tar"}
1013 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
1015 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
1017 # We need awk for the "check" target. The system "awk" is bad on
1023 # From configure.in Revision: 1.252
1024 echo $ac_n "checking whether to enable maintainer-specific portions of Makefiles""... $ac_c" 1>&6
1025 echo "configure:1026: checking whether to enable maintainer-specific portions of Makefiles" >&5
1026 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1027 if test "${enable_maintainer_mode+set}" = set; then
1028 enableval
="$enable_maintainer_mode"
1029 USE_MAINTAINER_MODE
=$enableval
1031 USE_MAINTAINER_MODE
=no
1034 echo "$ac_t""$USE_MAINTAINER_MODE" 1>&6
1037 if test $USE_MAINTAINER_MODE = yes; then
1038 MAINTAINER_MODE_TRUE
=
1039 MAINTAINER_MODE_FALSE
='#'
1041 MAINTAINER_MODE_TRUE
='#'
1042 MAINTAINER_MODE_FALSE
=
1044 MAINT
=$MAINTAINER_MODE_TRUE
1048 if test -z "$LDFLAGS"; then
1052 PRESET_CFLAGS
="$CFLAGS"
1054 # Extract the first word of "gcc", so it can be a program name with args.
1055 set dummy gcc
; ac_word
=$2
1056 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1057 echo "configure:1058: checking for $ac_word" >&5
1058 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1059 echo $ac_n "(cached) $ac_c" 1>&6
1061 if test -n "$CC"; then
1062 ac_cv_prog_CC
="$CC" # Let the user override the test.
1064 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1066 for ac_dir
in $ac_dummy; do
1067 test -z "$ac_dir" && ac_dir
=.
1068 if test -f $ac_dir/$ac_word; then
1077 if test -n "$CC"; then
1078 echo "$ac_t""$CC" 1>&6
1080 echo "$ac_t""no" 1>&6
1083 if test -z "$CC"; then
1084 # Extract the first word of "cc", so it can be a program name with args.
1085 set dummy cc
; ac_word
=$2
1086 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1087 echo "configure:1088: checking for $ac_word" >&5
1088 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1089 echo $ac_n "(cached) $ac_c" 1>&6
1091 if test -n "$CC"; then
1092 ac_cv_prog_CC
="$CC" # Let the user override the test.
1094 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1097 for ac_dir
in $ac_dummy; do
1098 test -z "$ac_dir" && ac_dir
=.
1099 if test -f $ac_dir/$ac_word; then
1100 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1101 ac_prog_rejected
=yes
1109 if test $ac_prog_rejected = yes; then
1110 # We found a bogon in the path, so make sure we never use it.
1111 set dummy
$ac_cv_prog_CC
1113 if test $# -gt 0; then
1114 # We chose a different compiler from the bogus one.
1115 # However, it has the same basename, so the bogon will be chosen
1116 # first if we set CC to just the basename; use the full file name.
1118 set dummy
"$ac_dir/$ac_word" "$@"
1126 if test -n "$CC"; then
1127 echo "$ac_t""$CC" 1>&6
1129 echo "$ac_t""no" 1>&6
1132 if test -z "$CC"; then
1133 case "`uname -s`" in
1135 # Extract the first word of "cl", so it can be a program name with args.
1136 set dummy cl
; ac_word
=$2
1137 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
1138 echo "configure:1139: checking for $ac_word" >&5
1139 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
1140 echo $ac_n "(cached) $ac_c" 1>&6
1142 if test -n "$CC"; then
1143 ac_cv_prog_CC
="$CC" # Let the user override the test.
1145 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
1147 for ac_dir
in $ac_dummy; do
1148 test -z "$ac_dir" && ac_dir
=.
1149 if test -f $ac_dir/$ac_word; then
1158 if test -n "$CC"; then
1159 echo "$ac_t""$CC" 1>&6
1161 echo "$ac_t""no" 1>&6
1166 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
1169 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
1170 echo "configure:1171: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
1173 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1174 ac_cpp
='$CPP $CPPFLAGS'
1175 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1176 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1177 cross_compiling
=$ac_cv_prog_cc_cross
1179 cat > conftest.
$ac_ext << EOF
1181 #line 1182 "configure"
1182 #include "confdefs.h"
1186 if { (eval echo configure
:1187: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
1187 ac_cv_prog_cc_works
=yes
1188 # If we can't run a trivial program, we are probably using a cross compiler.
1189 if (.
/conftest
; exit) 2>/dev
/null
; then
1190 ac_cv_prog_cc_cross
=no
1192 ac_cv_prog_cc_cross
=yes
1195 echo "configure: failed program was:" >&5
1196 cat conftest.
$ac_ext >&5
1197 ac_cv_prog_cc_works
=no
1201 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
1202 ac_cpp
='$CPP $CPPFLAGS'
1203 ac_compile
='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
1204 ac_link
='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
1205 cross_compiling
=$ac_cv_prog_cc_cross
1207 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
1208 if test $ac_cv_prog_cc_works = no
; then
1209 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
1211 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
1212 echo "configure:1213: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
1213 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
1214 cross_compiling
=$ac_cv_prog_cc_cross
1216 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
1217 echo "configure:1218: checking whether we are using GNU C" >&5
1218 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
1219 echo $ac_n "(cached) $ac_c" 1>&6
1221 cat > conftest.c
<<EOF
1226 if { ac_try
='${CC-cc} -E conftest.c'; { (eval echo configure
:1227: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } |
egrep yes >/dev
/null
2>&1; then
1233 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
1235 if test $ac_cv_prog_gcc = yes; then
1241 ac_test_CFLAGS
="${CFLAGS+set}"
1242 ac_save_CFLAGS
="$CFLAGS"
1244 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
1245 echo "configure:1246: checking whether ${CC-cc} accepts -g" >&5
1246 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
1247 echo $ac_n "(cached) $ac_c" 1>&6
1249 echo 'void f(){}' > conftest.c
1250 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
1259 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
1260 if test "$ac_test_CFLAGS" = set; then
1261 CFLAGS
="$ac_save_CFLAGS"
1262 elif test $ac_cv_prog_cc_g = yes; then
1263 if test "$GCC" = yes; then
1269 if test "$GCC" = yes; then
1277 am_make
=${MAKE-make}
1278 cat > confinc
<< 'END'
1282 # If we don't find an include directive, just comment out the code.
1283 echo $ac_n "checking for style of include used by $am_make""... $ac_c" 1>&6
1284 echo "configure:1285: checking for style of include used by $am_make" >&5
1288 # First try GNU make style include.
1289 echo "include confinc" > confmf
1290 # We grep out `Entering directory' and `Leaving directory'
1291 # messages which can occur if `w' ends up in MAKEFLAGS.
1292 # In particular we don't look at `^make:' because GNU make might
1293 # be invoked under some other name (usually "gmake"), in which
1294 # case it prints its new name instead of `make'.
1295 if test "`$am_make -s -f confmf 2> /dev/null | fgrep -v 'ing directory'`" = "done"; then
1300 # Now try BSD make style include.
1301 if test "$am__include" = "#"; then
1302 echo '.include "confinc"' > confmf
1303 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
1304 am__include
=.include
1311 echo "$ac_t""$_am_result" 1>&6
1312 rm -f confinc confmf
1315 depcc
="$CC" am_compiler_list
=
1317 echo $ac_n "checking dependency style of $depcc""... $ac_c" 1>&6
1318 echo "configure:1319: checking dependency style of $depcc" >&5
1319 if eval "test \"`echo '$''{'am_cv_CC_dependencies_compiler_type'+set}'`\" = set"; then
1320 echo $ac_n "(cached) $ac_c" 1>&6
1322 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
1323 # We make a subdir and do the tests there. Otherwise we can end up
1324 # making bogus files that we don't know about and never remove. For
1325 # instance it was reported that on HP-UX the gcc test will end up
1326 # making a dummy file named `D' -- because `-MD' means `put the output
1329 # Copy depcomp to subdir because otherwise we won't find it if we're
1330 # using a relative directory.
1331 cp "$am_depcomp" conftest.dir
1334 am_cv_CC_dependencies_compiler_type
=none
1335 if test "$am_compiler_list" = ""; then
1336 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
1338 for depmode
in $am_compiler_list; do
1339 # We need to recreate these files for each test, as the compiler may
1340 # overwrite some of them when testing with obscure command lines.
1341 # This happens at least with the AIX C compiler.
1342 echo '#include "conftest.h"' > conftest.c
1343 echo 'int i;' > conftest.h
1344 echo "${am__include} ${am__quote}conftest.Po${am__quote}" > confmf
1348 # after this tag, mechanisms are not by side-effect, so they'll
1349 # only be used when explicitly requested
1350 if test "x$enable_dependency_tracking" = xyes
; then
1358 # We check with `-c' and `-o' for the sake of the "dashmstdout"
1359 # mode. It turns out that the SunPro C++ compiler does not properly
1360 # handle `-M -o', and we need to detect this.
1361 if depmode
=$depmode \
1362 source=conftest.c object
=conftest.o \
1363 depfile
=conftest.Po tmpdepfile
=conftest.TPo \
1364 $SHELL .
/depcomp
$depcc -c conftest.c
-o conftest.o
>/dev
/null
2>&1 &&
1365 grep conftest.h conftest.Po
> /dev
/null
2>&1 &&
1366 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
1367 am_cv_CC_dependencies_compiler_type
=$depmode
1375 am_cv_CC_dependencies_compiler_type
=none
1380 echo "$ac_t""$am_cv_CC_dependencies_compiler_type" 1>&6
1381 CCDEPMODE
="depmode=$am_cv_CC_dependencies_compiler_type"
1384 if test "x$CC" != xcc
; then
1385 echo $ac_n "checking whether $CC and cc understand -c and -o together""... $ac_c" 1>&6
1386 echo "configure:1387: checking whether $CC and cc understand -c and -o together" >&5
1388 echo $ac_n "checking whether cc understands -c and -o together""... $ac_c" 1>&6
1389 echo "configure:1390: checking whether cc understands -c and -o together" >&5
1391 set dummy
$CC; ac_cc
="`echo $2 |
1392 sed -e 's/[^a-zA-Z0-9_]/_/g' -e 's/^[0-9]/_/'`"
1393 if eval "test \"`echo '$''{'ac_cv_prog_cc_${ac_cc}_c_o'+set}'`\" = set"; then
1394 echo $ac_n "(cached) $ac_c" 1>&6
1396 echo 'foo(){}' > conftest.c
1397 # Make sure it works both with $CC and with simple cc.
1398 # We do the test twice because some compilers refuse to overwrite an
1399 # existing .o file with -o, though they will create one.
1400 ac_try
='${CC-cc} -c conftest.c -o conftest.o 1>&5'
1401 if { (eval echo configure
:1402: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
1402 test -f conftest.o
&& { (eval echo configure
:1403: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1404 eval ac_cv_prog_cc_
${ac_cc}_c_o
=yes
1405 if test "x$CC" != xcc
; then
1406 # Test first that cc exists at all.
1407 if { ac_try
='cc -c conftest.c 1>&5'; { (eval echo configure
:1408: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; }; then
1408 ac_try
='cc -c conftest.c -o conftest.o 1>&5'
1409 if { (eval echo configure
:1410: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; } &&
1410 test -f conftest.o
&& { (eval echo configure
:1411: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; };
1415 # cc exists but doesn't like -o.
1416 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
1421 eval ac_cv_prog_cc_
${ac_cc}_c_o
=no
1426 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" = yes"; then
1427 echo "$ac_t""yes" 1>&6
1429 echo "$ac_t""no" 1>&6
1430 cat >> confdefs.h
<<\EOF
1431 #define NO_MINUS_C_MINUS_O 1
1436 # FIXME: we rely on the cache variable name because
1437 # there is no other way.
1439 ac_cc
=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
1440 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
1441 # Losing compiler, so override with the script.
1442 # FIXME: It is wrong to rewrite CC.
1443 # But if we don't then we get into trouble of one sort or another.
1444 # A longer-term fix would be to have automake use am__CC in this case,
1445 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
1446 CC
="$am_aux_dir/compile $CC"
1450 # Make sure we can run config.sub.
1451 if ${CONFIG_SHELL-/bin/sh} $ac_config_sub sun4
>/dev
/null
2>&1; then :
1452 else { echo "configure: error: can not run $ac_config_sub" 1>&2; exit 1; }
1455 echo $ac_n "checking host system type""... $ac_c" 1>&6
1456 echo "configure:1457: checking host system type" >&5
1459 case "$host_alias" in
1463 if host_alias
=`${CONFIG_SHELL-/bin/sh} $ac_config_guess`; then :
1464 else { echo "configure: error: can not guess host type; you must specify one" 1>&2; exit 1; }
1466 *) host_alias
=$nonopt ;;
1470 host=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $host_alias`
1471 host_cpu
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
1472 host_vendor
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
1473 host_os
=`echo $host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
1474 echo "$ac_t""$host" 1>&6
1479 REGEXLIB
='' # -lregex
1480 LIBREGEX
='' # libregex.a
1482 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
1483 echo "configure:1484: checking for Cygwin environment" >&5
1484 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
1485 echo $ac_n "(cached) $ac_c" 1>&6
1487 cat > conftest.
$ac_ext <<EOF
1488 #line 1489 "configure"
1489 #include "confdefs.h"
1494 #define __CYGWIN__ __CYGWIN32__
1499 if { (eval echo configure
:1500: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1503 echo "configure: failed program was:" >&5
1504 cat conftest.
$ac_ext >&5
1512 echo "$ac_t""$ac_cv_cygwin" 1>&6
1514 test "$ac_cv_cygwin" = yes && CYGWIN
=yes
1515 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
1516 echo "configure:1517: checking for mingw32 environment" >&5
1517 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
1518 echo $ac_n "(cached) $ac_c" 1>&6
1520 cat > conftest.
$ac_ext <<EOF
1521 #line 1522 "configure"
1522 #include "confdefs.h"
1528 if { (eval echo configure
:1529: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1532 echo "configure: failed program was:" >&5
1533 cat conftest.
$ac_ext >&5
1541 echo "$ac_t""$ac_cv_mingw32" 1>&6
1543 test "$ac_cv_mingw32" = yes && MINGW32
=yes
1546 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
1547 echo "configure:1548: checking for executable suffix" >&5
1548 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
1549 echo $ac_n "(cached) $ac_c" 1>&6
1551 if test "$CYGWIN" = yes ||
test "$MINGW32" = yes; then
1555 echo 'int main () { return 0; }' > conftest.
$ac_ext
1557 if { (eval echo configure
:1558: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
1558 for file in conftest.
*; do
1560 *.c |
*.C |
*.o |
*.obj
) ;;
1561 *) ac_cv_exeext
=`echo $file | sed -e s/conftest//` ;;
1565 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
1568 test x
"${ac_cv_exeext}" = x
&& ac_cv_exeext
=no
1573 test x
"${ac_cv_exeext}" != xno
&& EXEEXT
=${ac_cv_exeext}
1574 echo "$ac_t""${ac_cv_exeext}" 1>&6
1577 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
1578 echo "configure:1579: checking for object suffix" >&5
1579 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
1580 echo $ac_n "(cached) $ac_c" 1>&6
1583 echo 'int i = 1;' > conftest.
$ac_ext
1584 if { (eval echo configure
:1585: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1585 for ac_file
in conftest.
*; do
1588 *) ac_cv_objext
=`echo $ac_file | sed -e s/conftest.//` ;;
1592 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1597 echo "$ac_t""$ac_cv_objext" 1>&6
1598 OBJEXT
=$ac_cv_objext
1599 ac_objext
=$ac_cv_objext
1602 if test -z "$EXEEXT"; then
1613 ENABLE_WIN32SPECIFIC_TRUE
=
1614 ENABLE_WIN32SPECIFIC_FALSE
='#'
1616 ENABLE_WIN32SPECIFIC_TRUE
='#'
1617 ENABLE_WIN32SPECIFIC_FALSE
=
1624 ENABLE_WIN32SPECIFIC_TRUE
=
1625 ENABLE_WIN32SPECIFIC_FALSE
='#'
1627 ENABLE_WIN32SPECIFIC_TRUE
='#'
1628 ENABLE_WIN32SPECIFIC_FALSE
=
1633 if test -z "$CACHE_HTTP_PORT"; then
1634 CACHE_HTTP_PORT
="3128"
1636 if test -z "$CACHE_ICP_PORT"; then
1637 CACHE_ICP_PORT
="3130"
1640 cat >> confdefs.h
<<EOF
1641 #define CACHE_HTTP_PORT $CACHE_HTTP_PORT
1644 cat >> confdefs.h
<<EOF
1645 #define CACHE_ICP_PORT $CACHE_ICP_PORT
1649 cat >> confdefs.h
<<EOF
1650 #define CONFIG_HOST_TYPE "$host"
1654 cat >> confdefs.h
<<EOF
1655 #define SQUID_CONFIGURE_OPTIONS "$ac_configure_args"
1661 CC
="$CC -arch m68k -arch i486 -arch hppa -arch sparc"
1665 if test -z "$PRESET_CFLAGS"; then
1666 if test "$GCC" = "yes"; then
1669 # sunos has too many warnings for this to be useful
1673 # Motorola cc/ld does not like -02 but is ok on -O
1674 CFLAGS
=`echo $CFLAGS | sed -e 's/-O0-9/-O/'`
1677 CFLAGS
="$CFLAGS -Wall"
1683 # suggested by Rafael Seidl <rafaels@cthulhu.engr.sgi.com>
1684 CFLAGS
="$CFLAGS -n32 -mips3 -O3 -OPT:Olimit=0:space=OFF \
1685 -woff 1009,1014,1110,1116,1185,1188,1204,1230,1233 \
1686 -Wl,-woff,85,-woff,84,-woff,134 \
1687 -nostdinc -I/usr/include -D_BSD_SIGNALS"
1690 # Mogul says DEC compilers take both -g and -O2
1691 CFLAGS
=`echo $CFLAGS | sed -e 's/-g/-g3/'`
1692 CFLAGS
="$CFLAGS -O2"
1700 if test -z "$PRESET_LDFLAGS"; then
1701 if test "$GCC" = "yes"; then
1710 # suggested by Rafael Seidl <rafaels@cthulhu.engr.sgi.com>
1711 LDFLAGS
="-n32 -mips3 -nostdlib -L/usr/lib32"
1717 # Check whether --enable-dlmalloc or --disable-dlmalloc was given.
1718 if test "${enable_dlmalloc+set}" = set; then
1719 enableval
="$enable_dlmalloc"
1721 case "$enableval" in
1724 LIBDLMALLOC
="libdlmalloc.a"
1725 LIB_MALLOC
="-L../lib -ldlmalloc"
1726 echo "dlmalloc enabled"
1730 echo "dlmalloc disabled"
1732 *) use_dlmalloc
="yes"
1733 LIB_MALLOC
="$enableval"
1734 echo "dlmalloc enabled with $LIB_MALLOC"
1739 if test "${use_dlmalloc-unset}" = unset; then
1742 echo "Enabling dlmalloc for $host"
1744 LIBDLMALLOC
="libdlmalloc.a"
1745 LIB_MALLOC
="-L../lib -ldlmalloc"
1748 echo "Enabling dlmalloc for $host"
1750 LIBDLMALLOC
="libdlmalloc.a"
1751 LIB_MALLOC
="-L../lib -ldlmalloc"
1755 if test "x$ac_cv_enabled_dlmalloc" = "xyes"; then
1756 # Ok. dlmalloc was enabled before, but state may be changed.
1757 # we have to test these again
1758 unset ac_cv_func_mallinfo
1759 unset ac_cv_func_mallocblksize
1760 unset ac_cv_func_free
1761 unset ac_cv_func_realloc
1762 unset ac_cv_func_memalign
1763 unset ac_cv_func_valloc
1764 unset ac_cv_func_pvalloc
1765 unset ac_cv_func_calloc
1766 unset ac_cv_func_cfree
1767 unset ac_cv_func_malloc_trim
1768 unset ac_cv_func_malloc_usable_size
1769 unset ac_cv_func_malloc_stats
1770 unset ac_cv_func_mallinfo
1771 unset ac_cv_func_mallopt
1772 unset ac_cv_lib_gnumalloc
1773 unset ac_cv_header_gnumalloc_h
1774 unset ac_cv_lib_malloc
1775 unset ac_cv_enabled_dlmalloc
1777 if test "$use_dlmalloc" = yes; then
1778 ac_cv_func_mallinfo
="yes"
1779 ac_cv_func_mallocblksize
="no"
1780 ac_cv_func_free
="yes"
1781 ac_cv_func_realloc
="yes"
1782 ac_cv_func_memalign
="yes"
1783 ac_cv_func_valloc
="yes"
1784 ac_cv_func_pvalloc
="yes"
1785 ac_cv_func_calloc
="yes"
1786 ac_cv_func_cfree
="yes"
1787 ac_cv_func_malloc_trim
="yes"
1788 ac_cv_func_malloc_usable_size
="yes"
1789 ac_cv_func_malloc_stats
="yes"
1790 ac_cv_func_mallopt
="yes"
1791 ac_cv_lib_gnumalloc
="no"
1792 ac_cv_header_gnumalloc_h
="no"
1793 ac_cv_lib_malloc
="no"
1794 ac_cv_enabled_dlmalloc
="yes"
1800 # Check whether --enable-gnuregex or --disable-gnuregex was given.
1801 if test "${enable_gnuregex+set}" = set; then
1802 enableval
="$enable_gnuregex"
1803 USE_GNUREGEX
=$enableval
1807 # Check whether --enable-xmalloc-debug or --disable-xmalloc-debug was given.
1808 if test "${enable_xmalloc_debug+set}" = set; then
1809 enableval
="$enable_xmalloc_debug"
1810 if test "$enableval" = "yes" ; then
1811 echo "Malloc debugging enabled"
1812 cat >> confdefs.h
<<\EOF
1813 #define XMALLOC_DEBUG 1
1821 # Check whether --enable-xmalloc-debug-trace or --disable-xmalloc-debug-trace was given.
1822 if test "${enable_xmalloc_debug_trace+set}" = set; then
1823 enableval
="$enable_xmalloc_debug_trace"
1824 if test "$enableval" = "yes" ; then
1825 echo "Malloc debug trace enabled"
1826 cat >> confdefs.h
<<\EOF
1827 #define XMALLOC_TRACE 1
1830 cat >> confdefs.h
<<\EOF
1831 #define XMALLOC_DEBUG 1
1839 # Check whether --enable-xmalloc-statistics or --disable-xmalloc-statistics was given.
1840 if test "${enable_xmalloc_statistics+set}" = set; then
1841 enableval
="$enable_xmalloc_statistics"
1842 if test "$enableval" = "yes" ; then
1843 echo "Malloc statistics enabled"
1844 cat >> confdefs.h
<<\EOF
1845 #define XMALLOC_STATISTICS 1
1853 # Check whether --enable-carp or --disable-carp was given.
1854 if test "${enable_carp+set}" = set; then
1855 enableval
="$enable_carp"
1856 if test "$enableval" = "yes" ; then
1857 echo "CARP support enabled"
1858 cat >> confdefs.h
<<\EOF
1867 # Check whether --enable-async-io or --disable-async-io was given.
1868 if test "${enable_async_io+set}" = set; then
1869 enableval
="$enable_async_io"
1873 STORE_MODULES
="ufs aufs"
1878 aufs_io_threads
=$enableval
1880 STORE_MODULES
="ufs aufs"
1887 # Check whether --with-aufs-threads or --without-aufs-threads was given.
1888 if test "${with_aufs_threads+set}" = set; then
1889 withval
="$with_aufs_threads"
1890 aufs_io_threads
=$withval
1893 if test "$aufs_io_threads"; then
1894 echo "With $aufs_io_threads aufs threads"
1896 cat >> confdefs.h
<<EOF
1897 #define AUFS_IO_THREADS $aufs_io_threads
1902 # Check whether --with-pthreads or --without-pthreads was given.
1903 if test "${with_pthreads+set}" = set; then
1904 withval
="$with_pthreads"
1905 if test "$enableval" = "yes"; then
1911 if test "$with_pthreads"; then
1912 echo "With pthreads"
1913 SQUID_PTHREAD_LIB
='$(PTHREADLIB)'
1914 CFLAGS
="$CFLAGS -D_REENTRANT"
1916 i386-unknown-freebsd
*)
1917 if test "$GCC" = "yes" ; then
1918 if test -z "$PRESET_LDFLAGS"; then
1919 LDFLAGS
="$LDFLAGS -pthread"
1924 if test "$GCC" = "yes" ; then
1925 CFLAGS
="$CFLAGS -pthreads"
1927 CFLAGS
="$CFLAGS -mt"
1934 # Check whether --with-aio or --without-aio was given.
1935 if test "${with_aio+set}" = set; then
1937 if test "$enableval" = "yes"; then
1943 if test "$with_aio"; then
1945 SQUID_AIO_LIB
='$(AIOLIB)'
1949 # Check whether --enable-storeio or --disable-storeio was given.
1950 if test "${enable_storeio+set}" = set; then
1951 enableval
="$enable_storeio"
1954 for module
in $srcdir/src
/fs
/*; do
1955 if test -f $module/Makefile.
in; then
1956 STORE_MODULES
="$STORE_MODULES `basename $module`"
1962 *) STORE_MODULES
="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
1967 if test -z "$STORE_MODULES"; then
1973 echo "Store modules built: $STORE_MODULES"
1974 STORE_OBJS
="fs/lib`echo $STORE_MODULES|sed -e 's% %.a fs/lib%g'`.a"
1976 STORE_LIBS
="`echo $STORE_OBJS|sed -e 's%fs/%%g'`"
1978 STORE_MODULE_SUBDIRS
=
1979 for fs
in $STORE_MODULES none
; do
1980 if test "$fs" = "diskd"; then
1981 STORE_MODULE_SUBDIRS
="$STORE_MODULE_SUBDIRS $fs"
1982 OPT_DISKD_EXE
='diskd$(EXEEXT)'
1990 # Check whether --enable-heap-replacement or --disable-heap-replacement was given.
1991 if test "${enable_heap_replacement+set}" = set; then
1992 enableval
="$enable_heap_replacement"
1993 if test "$enableval" = "yes" ; then
1994 echo "--enable-heap-replacement is obsolete. please use the new"
1995 echo "--enable-removal-policies directive instead"
1997 REPL_POLICIES
="heap"
2003 # Check whether --enable-removal-policies or --disable-removal-policies was given.
2004 if test "${enable_removal_policies+set}" = set; then
2005 enableval
="$enable_removal_policies"
2008 for module
in $srcdir/src
/repl
/*; do
2009 if test -f $module/Makefile.
in; then
2010 REPL_POLICIES
="$REPL_POLICIES `basename $module`"
2016 *) REPL_POLICIES
="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
2021 if test -z "$REPL_POLICIES"; then
2027 echo "Removal policies built: $REPL_POLICIES"
2029 REPL_OBJS
="repl/lib`echo $REPL_POLICIES|sed -e 's% %.a repl/lib%g'`.a"
2031 REPL_LIBS
="`echo $REPL_OBJS|sed -e 's%repl/%%g'`"
2036 # Check whether --enable-icmp or --disable-icmp was given.
2037 if test "${enable_icmp+set}" = set; then
2038 enableval
="$enable_icmp"
2039 if test "$enableval" = "yes" ; then
2041 cat >> confdefs.h
<<\EOF
2046 OPT_PINGER_EXE
='pinger$(EXEEXT)'
2057 USE_DELAY_POOLS_TRUE
=
2058 USE_DELAY_POOLS_FALSE
='#'
2060 USE_DELAY_POOLS_TRUE
='#'
2061 USE_DELAY_POOLS_FALSE
=
2063 # Check whether --enable-delay-pools or --disable-delay-pools was given.
2064 if test "${enable_delay_pools+set}" = set; then
2065 enableval
="$enable_delay_pools"
2066 if test "$enableval" = "yes" ; then
2067 echo "Delay pools enabled"
2068 cat >> confdefs.h
<<\EOF
2069 #define DELAY_POOLS 1
2075 USE_DELAY_POOLS_TRUE
=
2076 USE_DELAY_POOLS_FALSE
='#'
2078 USE_DELAY_POOLS_TRUE
='#'
2079 USE_DELAY_POOLS_FALSE
=
2086 # Check whether --enable-mem-gen-trace or --disable-mem-gen-trace was given.
2087 if test "${enable_mem_gen_trace+set}" = set; then
2088 enableval
="$enable_mem_gen_trace"
2089 if test "$enableval" = "yes" ; then
2090 echo "Memory trace (to file) enabled"
2091 cat >> confdefs.h
<<\EOF
2092 #define MEM_GEN_TRACE 1
2100 # Check whether --enable-useragent-log or --disable-useragent-log was given.
2101 if test "${enable_useragent_log+set}" = set; then
2102 enableval
="$enable_useragent_log"
2103 if test "$enableval" = "yes" ; then
2104 echo "User-Agent logging enabled"
2105 cat >> confdefs.h
<<\EOF
2106 #define USE_USERAGENT_LOG 1
2114 # Check whether --enable-referer-log or --disable-referer-log was given.
2115 if test "${enable_referer_log+set}" = set; then
2116 enableval
="$enable_referer_log"
2117 if test "$enableval" = "yes" ; then
2118 echo "Referer logging enabled"
2119 cat >> confdefs.h
<<\EOF
2120 #define USE_REFERER_LOG 1
2128 # Check whether --enable-wccp or --disable-wccp was given.
2129 if test "${enable_wccp+set}" = set; then
2130 enableval
="$enable_wccp"
2131 if test "$enableval" = "no" ; then
2132 echo "Web Cache Coordination Protocol disabled"
2133 cat >> confdefs.h
<<\EOF
2138 cat >> confdefs.h
<<\EOF
2147 # Check whether --enable-kill-parent-hack or --disable-kill-parent-hack was given.
2148 if test "${enable_kill_parent_hack+set}" = set; then
2149 enableval
="$enable_kill_parent_hack"
2150 if test "$enableval" = "yes" ; then
2151 echo "Kill parent on shutdown"
2152 cat >> confdefs.h
<<\EOF
2153 #define KILL_PARENT_OPT 1
2170 # Check whether --enable-snmp or --disable-snmp was given.
2171 if test "${enable_snmp+set}" = set; then
2172 enableval
="$enable_snmp"
2173 if test "$enableval" = "yes" ; then
2174 echo "SNMP monitoring enabled"
2175 cat >> confdefs.h
<<\EOF
2176 #define SQUID_SNMP 1
2179 SNMPLIB
='-L../snmplib -lsnmp'
2189 SNMP_MAKEFILE
=.
/snmplib
/Makefile
2198 # Check whether --enable-time-hack or --disable-time-hack was given.
2199 if test "${enable_time_hack+set}" = set; then
2200 enableval
="$enable_time_hack"
2201 if test "$enableval" = "yes" ; then
2202 echo "Update internal timestamp only once per second"
2203 cat >> confdefs.h
<<\EOF
2204 #define ALARM_UPDATES_TIME 1
2212 # Check whether --enable-cachemgr-hostname or --disable-cachemgr-hostname was given.
2213 if test "${enable_cachemgr_hostname+set}" = set; then
2214 enableval
="$enable_cachemgr_hostname"
2217 cat >> confdefs.h
<<\EOF
2218 #define CACHEMGR_HOSTNAME getfullhostname()
2221 echo "Cachemgr default hostname == host where cachemgr runs"
2227 cat >> confdefs.h
<<EOF
2228 #define CACHEMGR_HOSTNAME "${enableval}"
2231 echo "Cachemgr default hostname set to ${enableval}"
2238 # Check whether --enable-arp-acl or --disable-arp-acl was given.
2239 if test "${enable_arp_acl+set}" = set; then
2240 enableval
="$enable_arp_acl"
2241 if test "$enableval" = "yes" ; then
2242 echo "ARP ACL lists enabled (ether address)"
2249 echo "WARNING: ARP ACL support probably won't work on $host."
2253 cat >> confdefs.h
<<\EOF
2254 #define USE_ARP_ACL 1
2266 ENABLE_HTCP_FALSE
='#'
2268 ENABLE_HTCP_TRUE
='#'
2271 # Check whether --enable-htcp or --disable-htcp was given.
2272 if test "${enable_htcp+set}" = set; then
2273 enableval
="$enable_htcp"
2274 if test "$enableval" = "yes" ; then
2276 cat >> confdefs.h
<<\EOF
2284 ENABLE_HTCP_FALSE
='#'
2286 ENABLE_HTCP_TRUE
='#'
2298 ENABLE_SSL_FALSE
='#'
2304 # Check whether --enable-ssl or --disable-ssl was given.
2305 if test "${enable_ssl+set}" = set; then
2306 enableval
="$enable_ssl"
2307 if test "$enableval" != "no"; then
2308 echo "SSL gatewaying using OpenSSL enabled"
2309 cat >> confdefs.h
<<\EOF
2317 ENABLE_SSL_FALSE
='#'
2322 SSLLIB
='-lssl -lcrypto'
2333 NEED_OWN_MD5_FALSE
='#'
2335 NEED_OWN_MD5_TRUE
='#'
2339 # Check whether --with-openssl or --without-openssl was given.
2340 if test "${with_openssl+set}" = set; then
2341 withval
="$with_openssl"
2343 case "$with_openssl" in
2351 SSLLIBDIR
="$with_openssl/lib"
2352 CPPFLAGS
="-I$with_openssl/include $CPPFLAGS"
2359 if test -n "$USE_OPENSSL"; then
2360 echo "Using OpenSSL MD5 implementation"
2361 cat >> confdefs.h
<<\EOF
2362 #define USE_OPENSSL 1
2369 NEED_OWN_MD5_FALSE
='#'
2371 NEED_OWN_MD5_TRUE
='#'
2374 if test -z "$SSLLIB"; then
2375 SSLLIB
="-lcrypto" # for MD5 routines
2378 if test -n "$SSLLIBDIR"; then
2379 SSLLIB
="-L$SSLLIBDIR $SSLLIB"
2383 # Check whether --enable-forw-via-db or --disable-forw-via-db was given.
2384 if test "${enable_forw_via_db+set}" = set; then
2385 enableval
="$enable_forw_via_db"
2386 if test "$enableval" = "yes" ; then
2387 echo "FORW-VIA enabled"
2388 cat >> confdefs.h
<<\EOF
2389 #define FORW_VIA_DB 1
2397 # Check whether --enable-cache-digests or --disable-cache-digests was given.
2398 if test "${enable_cache_digests+set}" = set; then
2399 enableval
="$enable_cache_digests"
2400 if test "$enableval" = "yes" ; then
2401 echo "USE_CACHE_DIGESTS enabled"
2402 cat >> confdefs.h
<<\EOF
2403 #define USE_CACHE_DIGESTS 1
2411 # Check whether --enable-default-err-language or --disable-default-err-language was given.
2412 if test "${enable_default_err_language+set}" = set; then
2413 enableval
="$enable_default_err_language"
2415 if test -d $srcdir/errors
/$enableval; then
2416 ERR_DEFAULT_LANGUAGE
=$enableval
2418 echo "ERROR! Unknown language $enableval, see errors/"
2423 ERR_DEFAULT_LANGUAGE
="English"
2428 # Check whether --enable-err-languages or --disable-err-languages was given.
2429 if test "${enable_err_languages+set}" = set; then
2430 enableval
="$enable_err_languages"
2432 for l
in $enableval; do
2433 if test -d $srcdir/errors
/$l; then :; else
2434 echo "ERROR! Unknown language $$l, see errors/"
2438 ERR_LANGUAGES
=$enableval
2443 for l
in $srcdir/errors
/*; do
2444 if test -f $l/generic
; then
2445 ERR_LANGUAGES
="$ERR_LANGUAGES `basename $l`"
2453 # Check whether --with-coss-membuf-size or --without-coss-membuf-size was given.
2454 if test "${with_coss_membuf_size+set}" = set; then
2455 withval
="$with_coss_membuf_size"
2456 if test "$with_coss_membuf_size"; then
2457 echo "Setting COSS membuf size to $with_coss_membuf_size bytes"
2458 cat >> confdefs.h
<<EOF
2459 #define COSS_MEMBUF_SZ $with_coss_membuf_size
2467 # Check whether --enable-poll or --disable-poll was given.
2468 if test "${enable_poll+set}" = set; then
2469 enableval
="$enable_poll"
2471 case "$enableval" in
2473 echo "Forcing poll() to be enabled"
2474 ac_cv_func_poll
='yes'
2477 echo "Forcing poll() to be disabled"
2478 ac_cv_func_poll
='no'
2485 # Check whether --enable-select or --disable-select was given.
2486 if test "${enable_select+set}" = set; then
2487 enableval
="$enable_select"
2489 case "$enableval" in
2491 echo "Forcing select() to be enabled"
2492 ac_cv_func_select
='yes'
2495 echo "Forcing select() to be disabled"
2496 ac_cv_func_select
='no'
2503 # Check whether --enable-kqueue or --disable-kqueue was given.
2504 if test "${enable_kqueue+set}" = set; then
2505 enableval
="$enable_kqueue"
2507 case "$enableval" in
2509 echo "Forcing kqueue() to be enabled"
2510 ac_cv_func_kqueue
='yes'
2513 echo "Forcing kqueue() to be disabled"
2514 ac_cv_func_kqueue
='no'
2521 # Check whether --enable-http-violations or --disable-http-violations was given.
2522 if test "${enable_http_violations+set}" = set; then
2523 enableval
="$enable_http_violations"
2524 if test "$enableval" = "no" ; then
2525 echo "Disabling HTTP Violations"
2526 cat >> confdefs.h
<<\EOF
2527 #define HTTP_VIOLATIONS 0
2531 cat >> confdefs.h
<<\EOF
2532 #define HTTP_VIOLATIONS 1
2540 # Check whether --enable-ipf-transparent or --disable-ipf-transparent was given.
2541 if test "${enable_ipf_transparent+set}" = set; then
2542 enableval
="$enable_ipf_transparent"
2543 if test "$enableval" = "yes" ; then
2544 echo "IP-Filter Transparent Proxy enabled"
2545 cat >> confdefs.h
<<\EOF
2546 #define IPF_TRANSPARENT 1
2549 IPF_TRANSPARENT
="yes"
2555 # Check whether --enable-linux-netfilter or --disable-linux-netfilter was given.
2556 if test "${enable_linux_netfilter+set}" = set; then
2557 enableval
="$enable_linux_netfilter"
2558 if test "$enableval" = "yes" ; then
2559 echo "Linux-Netfilter Transparent Proxy enabled"
2560 cat >> confdefs.h
<<\EOF
2561 #define LINUX_NETFILTER 1
2564 LINUX_NETFILTER
="yes"
2573 MAKE_LEAKFINDER_TRUE
=
2574 MAKE_LEAKFINDER_FALSE
='#'
2576 MAKE_LEAKFINDER_TRUE
='#'
2577 MAKE_LEAKFINDER_FALSE
=
2579 # Check whether --enable-leakfinder or --disable-leakfinder was given.
2580 if test "${enable_leakfinder+set}" = set; then
2581 enableval
="$enable_leakfinder"
2582 if test "$enableval" = "yes" ; then
2583 echo "Leak-Finding enabled"
2584 cat >> confdefs.h
<<\EOF
2585 #define USE_LEAKFINDER 1
2588 USE_LEAKFINDER
="yes"
2592 MAKE_LEAKFINDER_TRUE
=
2593 MAKE_LEAKFINDER_FALSE
='#'
2595 MAKE_LEAKFINDER_TRUE
='#'
2596 MAKE_LEAKFINDER_FALSE
=
2603 # Check whether --enable-ident-lookups or --disable-ident-lookups was given.
2604 if test "${enable_ident_lookups+set}" = set; then
2605 enableval
="$enable_ident_lookups"
2606 if test "$enableval" = "no" ; then
2607 echo "Disabling Ident Lookups"
2608 cat >> confdefs.h
<<\EOF
2613 cat >> confdefs.h
<<\EOF
2626 USE_DNSSERVER_FALSE
='#'
2628 USE_DNSSERVER_TRUE
='#'
2629 USE_DNSSERVER_FALSE
=
2632 # Check whether --enable-internal-dns or --disable-internal-dns was given.
2633 if test "${enable_internal_dns+set}" = set; then
2634 enableval
="$enable_internal_dns"
2635 if test "$enableval" = "no" ; then
2636 echo "Disabling Internal DNS queries"
2642 if test "$use_dnsserver" = "yes"; then
2643 cat >> confdefs.h
<<\EOF
2644 #define USE_DNSSERVERS 1
2647 OPT_DNSSERVER_EXE
='dnsserver$(EXEEXT)'
2652 USE_DNSSERVER_FALSE
='#'
2654 USE_DNSSERVER_TRUE
='#'
2655 USE_DNSSERVER_FALSE
=
2658 OPT_DNSSERVER_EXE
=''
2662 # Check whether --enable-truncate or --disable-truncate was given.
2663 if test "${enable_truncate+set}" = set; then
2664 enableval
="$enable_truncate"
2665 if test "$enableval" = "yes" ; then
2666 echo "Enabling truncate instead of unlink"
2667 cat >> confdefs.h
<<\EOF
2668 #define USE_TRUNCATE 1
2676 # Check whether --enable-underscores or --disable-underscores was given.
2677 if test "${enable_underscores+set}" = set; then
2678 enableval
="$enable_underscores"
2679 if test "$enableval" = "yes" ; then
2680 echo "Enabling the use of underscores in host names"
2681 cat >> confdefs.h
<<\EOF
2682 #define ALLOW_HOSTNAME_UNDERSCORES 1
2691 # Check whether --enable-auth or --disable-auth was given.
2692 if test "${enable_auth+set}" = set; then
2693 enableval
="$enable_auth"
2696 for module
in $srcdir/src
/auth
/*; do
2697 if test -f $module/Makefile.
in; then
2698 AUTH_MODULES
="$AUTH_MODULES `basename $module`"
2704 *) AUTH_MODULES
="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
2709 if test -z "$AUTH_MODULES"; then
2710 AUTH_MODULES
="basic"
2715 echo "Auth scheme modules built: $AUTH_MODULES"
2717 AUTH_OBJS
="auth/lib`echo $AUTH_MODULES|sed -e 's% %.a auth/lib%g'`.a"
2719 AUTH_LIBS
="`echo $AUTH_OBJS|sed -e 's%auth/%%g'`"
2722 BASIC_AUTH_HELPERS
=""
2723 # Check whether --enable-auth-modules or --disable-auth-modules was given.
2724 if test "${enable_auth_modules+set}" = set; then
2725 enableval
="$enable_auth_modules"
2726 echo "--enable-auth-modules is obsolete. Please use the new"
2727 echo "option --enable-basic-auth-helpers"
2729 case "$enableval" in
2731 for helper
in $srcdir/src
/auth
/basic
/helpers
/*; do
2732 if test -f $helper/Makefile.
in; then
2733 BASIC_AUTH_HELPERS
="$BASIC_AUTH_HELPERS `basename $helper`"
2740 BASIC_AUTH_HELPERS
="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
2745 # Check whether --enable-basic-auth-helpers or --disable-basic-auth-helpers was given.
2746 if test "${enable_basic_auth_helpers+set}" = set; then
2747 enableval
="$enable_basic_auth_helpers"
2748 case "$enableval" in
2750 BASIC_AUTH_HELPERS
=""
2751 for helper
in $srcdir/src
/auth
/basic
/helpers
/*; do
2752 if test -f $helper/Makefile.
in; then
2753 BASIC_AUTH_HELPERS
="$BASIC_AUTH_HELPERS `basename $helper`"
2760 BASIC_AUTH_HELPERS
="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
2765 if test -n "$BASIC_AUTH_HELPERS"; then
2766 echo "Basic auth helpers built: $BASIC_AUTH_HELPERS"
2771 # Check whether --enable-ntlm-auth-helpers or --disable-ntlm-auth-helpers was given.
2772 if test "${enable_ntlm_auth_helpers+set}" = set; then
2773 enableval
="$enable_ntlm_auth_helpers"
2774 case "$enableval" in
2776 for helper
in $srcdir/src
/auth
/ntlm
/helpers
/*; do
2777 if test -f $helper/Makefile.
in; then
2778 NTLM_AUTH_HELPERS
="$NTLM_AUTH_HELPERS `basename $helper`"
2785 NTLM_AUTH_HELPERS
="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
2790 if test -n "$NTLM_AUTH_HELPERS"; then
2791 echo "NTLM auth helpers built: $NTLM_AUTH_HELPERS"
2795 DIGEST_AUTH_HELPERS
=
2796 # Check whether --enable-digest-auth-helpers or --disable-digest-auth-helpers was given.
2797 if test "${enable_digest_auth_helpers+set}" = set; then
2798 enableval
="$enable_digest_auth_helpers"
2799 case "$enableval" in
2801 for helper
in $srcdir/src
/auth
/digest
/helpers
/*; do
2802 if test -f $helper/Makefile.
in; then
2803 DIGEST_AUTH_HELPERS
="$DIGEST_AUTH_HELPERS `basename $helper`"
2810 DIGEST_AUTH_HELPERS
="`echo $enableval| sed -e 's/,/ /g;s/ */ /g'`"
2815 if test -n "$DIGEST_AUTH_HELPERS"; then
2816 echo "Digest auth helpers built: $DIGEST_AUTH_HELPERS"
2820 # Check whether --enable-ntlm-fail-open or --disable-ntlm-fail-open was given.
2821 if test "${enable_ntlm_fail_open+set}" = set; then
2822 enableval
="$enable_ntlm_fail_open"
2823 if test "$enableval" = "yes" ; then
2824 cat >> confdefs.h
<<\EOF
2825 #define NTLM_FAIL_OPEN 1
2833 # Check whether --enable-unlinkd or --disable-unlinkd was given.
2834 if test "${enable_unlinkd+set}" = set; then
2835 enableval
="$enable_unlinkd"
2836 if test "$enableval" = "no" ; then
2844 # Here we should probably use some magic depending on the selected
2850 if test "$use_unlinkd" = "yes"; then
2851 echo "unlinkd enabled"
2852 cat >> confdefs.h
<<\EOF
2853 #define USE_UNLINKD 1
2859 ENABLE_UNLINKD_TRUE
=
2860 ENABLE_UNLINKD_FALSE
='#'
2862 ENABLE_UNLINKD_TRUE
='#'
2863 ENABLE_UNLINKD_FALSE
=
2866 echo "unlinkd disabled"
2870 ENABLE_UNLINKD_TRUE
=
2871 ENABLE_UNLINKD_FALSE
='#'
2873 ENABLE_UNLINKD_TRUE
='#'
2874 ENABLE_UNLINKD_FALSE
=
2878 # Check whether --enable-stacktraces or --disable-stacktraces was given.
2879 if test "${enable_stacktraces+set}" = set; then
2880 enableval
="$enable_stacktraces"
2881 if test "$enableval" = "yes" ; then
2882 echo "Enabling automatic stack backtraces on fatal errors"
2883 cat >> confdefs.h
<<\EOF
2884 #define PRINT_STACK_TRACE 1
2892 # Check whether --enable-x_accelerator_vary or --disable-x_accelerator_vary was given.
2893 if test "${enable_x_accelerator_vary+set}" = set; then
2894 enableval
="$enable_x_accelerator_vary"
2895 if test "$enableval" = "yes" ; then
2896 echo "Enabling support for X-Accelerator-Vary"
2897 cat >> confdefs.h
<<\EOF
2898 #define X_ACCELERATOR_VARY 1
2906 # Force some compilers to use ANSI features
2910 if test "$ac_cv_prog_CC" = "cc" ; then
2911 echo "adding '-std1' to cc args for $host"
2917 if test "$ac_cv_prog_CC" = "cc" ; then
2918 echo "adding '-Ae' to cc args for $host"
2925 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
2926 echo "configure:2927: checking how to run the C preprocessor" >&5
2927 # On Suns, sometimes $CPP names a directory.
2928 if test -n "$CPP" && test -d "$CPP"; then
2931 if test -z "$CPP"; then
2932 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
2933 echo $ac_n "(cached) $ac_c" 1>&6
2935 # This must be in double quotes, not single quotes, because CPP may get
2936 # substituted into the Makefile and "${CC-cc}" will confuse make.
2938 # On the NeXT, cc -E runs the code through the compiler's parser,
2939 # not just through cpp.
2940 cat > conftest.
$ac_ext <<EOF
2941 #line 2942 "configure"
2942 #include "confdefs.h"
2946 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2947 { (eval echo configure
:2948: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2948 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2949 if test -z "$ac_err"; then
2953 echo "configure: failed program was:" >&5
2954 cat conftest.
$ac_ext >&5
2956 CPP
="${CC-cc} -E -traditional-cpp"
2957 cat > conftest.
$ac_ext <<EOF
2958 #line 2959 "configure"
2959 #include "confdefs.h"
2963 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2964 { (eval echo configure
:2965: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2965 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2966 if test -z "$ac_err"; then
2970 echo "configure: failed program was:" >&5
2971 cat conftest.
$ac_ext >&5
2973 CPP
="${CC-cc} -nologo -E"
2974 cat > conftest.
$ac_ext <<EOF
2975 #line 2976 "configure"
2976 #include "confdefs.h"
2980 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
2981 { (eval echo configure
:2982: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
2982 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
2983 if test -z "$ac_err"; then
2987 echo "configure: failed program was:" >&5
2988 cat conftest.
$ac_ext >&5
2997 ac_cv_prog_CPP
="$CPP"
2999 CPP
="$ac_cv_prog_CPP"
3001 ac_cv_prog_CPP
="$CPP"
3003 echo "$ac_t""$CPP" 1>&6
3005 # Find a good install program. We prefer a C program (faster),
3006 # so one script is as good as another. But avoid the broken or
3007 # incompatible versions:
3008 # SysV /etc/install, /usr/sbin/install
3009 # SunOS /usr/etc/install
3010 # IRIX /sbin/install
3012 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3013 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3014 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3015 # ./install, which can be erroneously created by make from ./install.sh.
3016 echo $ac_n "checking for a BSD compatible install""... $ac_c" 1>&6
3017 echo "configure:3018: checking for a BSD compatible install" >&5
3018 if test -z "$INSTALL"; then
3019 if eval "test \"`echo '$''{'ac_cv_path_install'+set}'`\" = set"; then
3020 echo $ac_n "(cached) $ac_c" 1>&6
3022 IFS
="${IFS= }"; ac_save_IFS
="$IFS"; IFS
=":"
3023 for ac_dir
in $PATH; do
3024 # Account for people who put trailing slashes in PATH elements.
3026 /|.
/|.
//|
/etc
/*|
/usr
/sbin
/*|
/usr
/etc
/*|
/sbin
/*|
/usr
/afsws
/bin
/*|
/usr
/ucb
/*) ;;
3028 # OSF1 and SCO ODT 3.0 have their own names for install.
3029 # Don't use installbsd from OSF since it installs stuff as root
3031 for ac_prog
in ginstall scoinst
install; do
3032 if test -f $ac_dir/$ac_prog; then
3033 if test $ac_prog = install &&
3034 grep dspmsg
$ac_dir/$ac_prog >/dev
/null
2>&1; then
3035 # AIX install. It has an incompatible calling convention.
3038 ac_cv_path_install
="$ac_dir/$ac_prog -c"
3049 if test "${ac_cv_path_install+set}" = set; then
3050 INSTALL
="$ac_cv_path_install"
3052 # As a last resort, use the slow shell script. We don't cache a
3053 # path for INSTALL within a source directory, because that will
3054 # break other packages using the cache if that directory is
3055 # removed, or if the path is relative.
3056 INSTALL
="$ac_install_sh"
3059 echo "$ac_t""$INSTALL" 1>&6
3061 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3062 # It thinks the first close brace ends the variable substitution.
3063 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
3065 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL_PROGRAM}'
3067 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
3069 # Extract the first word of "ranlib", so it can be a program name with args.
3070 set dummy ranlib
; ac_word
=$2
3071 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3072 echo "configure:3073: checking for $ac_word" >&5
3073 if eval "test \"`echo '$''{'ac_cv_prog_RANLIB'+set}'`\" = set"; then
3074 echo $ac_n "(cached) $ac_c" 1>&6
3076 if test -n "$RANLIB"; then
3077 ac_cv_prog_RANLIB
="$RANLIB" # Let the user override the test.
3079 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3081 for ac_dir
in $ac_dummy; do
3082 test -z "$ac_dir" && ac_dir
=.
3083 if test -f $ac_dir/$ac_word; then
3084 ac_cv_prog_RANLIB
="ranlib"
3089 test -z "$ac_cv_prog_RANLIB" && ac_cv_prog_RANLIB
=":"
3092 RANLIB
="$ac_cv_prog_RANLIB"
3093 if test -n "$RANLIB"; then
3094 echo "$ac_t""$RANLIB" 1>&6
3096 echo "$ac_t""no" 1>&6
3099 echo $ac_n "checking whether ln -s works""... $ac_c" 1>&6
3100 echo "configure:3101: checking whether ln -s works" >&5
3101 if eval "test \"`echo '$''{'ac_cv_prog_LN_S'+set}'`\" = set"; then
3102 echo $ac_n "(cached) $ac_c" 1>&6
3105 if ln -s X conftestdata
2>/dev
/null
3108 ac_cv_prog_LN_S
="ln -s"
3113 LN_S
="$ac_cv_prog_LN_S"
3114 if test "$ac_cv_prog_LN_S" = "ln -s"; then
3115 echo "$ac_t""yes" 1>&6
3117 echo "$ac_t""no" 1>&6
3120 # Extract the first word of "sh", so it can be a program name with args.
3121 set dummy sh
; ac_word
=$2
3122 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3123 echo "configure:3124: checking for $ac_word" >&5
3124 if eval "test \"`echo '$''{'ac_cv_path_SH'+set}'`\" = set"; then
3125 echo $ac_n "(cached) $ac_c" 1>&6
3129 ac_cv_path_SH
="$SH" # Let the user override the test with a path.
3132 ac_cv_path_SH
="$SH" # Let the user override the test with a dos path.
3135 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3137 for ac_dir
in $ac_dummy; do
3138 test -z "$ac_dir" && ac_dir
=.
3139 if test -f $ac_dir/$ac_word; then
3140 ac_cv_path_SH
="$ac_dir/$ac_word"
3145 test -z "$ac_cv_path_SH" && ac_cv_path_SH
="/bin/sh"
3150 if test -n "$SH"; then
3151 echo "$ac_t""$SH" 1>&6
3153 echo "$ac_t""no" 1>&6
3156 # Extract the first word of "false", so it can be a program name with args.
3157 set dummy false
; ac_word
=$2
3158 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3159 echo "configure:3160: checking for $ac_word" >&5
3160 if eval "test \"`echo '$''{'ac_cv_path_FALSE'+set}'`\" = set"; then
3161 echo $ac_n "(cached) $ac_c" 1>&6
3165 ac_cv_path_FALSE
="$FALSE" # Let the user override the test with a path.
3168 ac_cv_path_FALSE
="$FALSE" # Let the user override the test with a dos path.
3171 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3173 for ac_dir
in $ac_dummy; do
3174 test -z "$ac_dir" && ac_dir
=.
3175 if test -f $ac_dir/$ac_word; then
3176 ac_cv_path_FALSE
="$ac_dir/$ac_word"
3181 test -z "$ac_cv_path_FALSE" && ac_cv_path_FALSE
="/usr/bin/false"
3185 FALSE
="$ac_cv_path_FALSE"
3186 if test -n "$FALSE"; then
3187 echo "$ac_t""$FALSE" 1>&6
3189 echo "$ac_t""no" 1>&6
3192 # Extract the first word of "true", so it can be a program name with args.
3193 set dummy true
; ac_word
=$2
3194 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3195 echo "configure:3196: checking for $ac_word" >&5
3196 if eval "test \"`echo '$''{'ac_cv_path_TRUE'+set}'`\" = set"; then
3197 echo $ac_n "(cached) $ac_c" 1>&6
3201 ac_cv_path_TRUE
="$TRUE" # Let the user override the test with a path.
3204 ac_cv_path_TRUE
="$TRUE" # Let the user override the test with a dos path.
3207 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3209 for ac_dir
in $ac_dummy; do
3210 test -z "$ac_dir" && ac_dir
=.
3211 if test -f $ac_dir/$ac_word; then
3212 ac_cv_path_TRUE
="$ac_dir/$ac_word"
3217 test -z "$ac_cv_path_TRUE" && ac_cv_path_TRUE
="/usr/bin/true"
3221 TRUE
="$ac_cv_path_TRUE"
3222 if test -n "$TRUE"; then
3223 echo "$ac_t""$TRUE" 1>&6
3225 echo "$ac_t""no" 1>&6
3228 # Extract the first word of "rm", so it can be a program name with args.
3229 set dummy
rm; ac_word
=$2
3230 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3231 echo "configure:3232: checking for $ac_word" >&5
3232 if eval "test \"`echo '$''{'ac_cv_path_RM'+set}'`\" = set"; then
3233 echo $ac_n "(cached) $ac_c" 1>&6
3237 ac_cv_path_RM
="$RM" # Let the user override the test with a path.
3240 ac_cv_path_RM
="$RM" # Let the user override the test with a dos path.
3243 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3245 for ac_dir
in $ac_dummy; do
3246 test -z "$ac_dir" && ac_dir
=.
3247 if test -f $ac_dir/$ac_word; then
3248 ac_cv_path_RM
="$ac_dir/$ac_word"
3253 test -z "$ac_cv_path_RM" && ac_cv_path_RM
="$FALSE"
3258 if test -n "$RM"; then
3259 echo "$ac_t""$RM" 1>&6
3261 echo "$ac_t""no" 1>&6
3264 # Extract the first word of "mv", so it can be a program name with args.
3265 set dummy
mv; ac_word
=$2
3266 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3267 echo "configure:3268: checking for $ac_word" >&5
3268 if eval "test \"`echo '$''{'ac_cv_path_MV'+set}'`\" = set"; then
3269 echo $ac_n "(cached) $ac_c" 1>&6
3273 ac_cv_path_MV
="$MV" # Let the user override the test with a path.
3276 ac_cv_path_MV
="$MV" # Let the user override the test with a dos path.
3279 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3281 for ac_dir
in $ac_dummy; do
3282 test -z "$ac_dir" && ac_dir
=.
3283 if test -f $ac_dir/$ac_word; then
3284 ac_cv_path_MV
="$ac_dir/$ac_word"
3289 test -z "$ac_cv_path_MV" && ac_cv_path_MV
="$FALSE"
3294 if test -n "$MV"; then
3295 echo "$ac_t""$MV" 1>&6
3297 echo "$ac_t""no" 1>&6
3300 # Extract the first word of "mkdir", so it can be a program name with args.
3301 set dummy mkdir
; ac_word
=$2
3302 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3303 echo "configure:3304: checking for $ac_word" >&5
3304 if eval "test \"`echo '$''{'ac_cv_path_MKDIR'+set}'`\" = set"; then
3305 echo $ac_n "(cached) $ac_c" 1>&6
3309 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a path.
3312 ac_cv_path_MKDIR
="$MKDIR" # Let the user override the test with a dos path.
3315 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3317 for ac_dir
in $ac_dummy; do
3318 test -z "$ac_dir" && ac_dir
=.
3319 if test -f $ac_dir/$ac_word; then
3320 ac_cv_path_MKDIR
="$ac_dir/$ac_word"
3325 test -z "$ac_cv_path_MKDIR" && ac_cv_path_MKDIR
="$FALSE"
3329 MKDIR
="$ac_cv_path_MKDIR"
3330 if test -n "$MKDIR"; then
3331 echo "$ac_t""$MKDIR" 1>&6
3333 echo "$ac_t""no" 1>&6
3336 # Extract the first word of "ln", so it can be a program name with args.
3337 set dummy
ln; ac_word
=$2
3338 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3339 echo "configure:3340: checking for $ac_word" >&5
3340 if eval "test \"`echo '$''{'ac_cv_path_LN'+set}'`\" = set"; then
3341 echo $ac_n "(cached) $ac_c" 1>&6
3345 ac_cv_path_LN
="$LN" # Let the user override the test with a path.
3348 ac_cv_path_LN
="$LN" # Let the user override the test with a dos path.
3351 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3353 for ac_dir
in $ac_dummy; do
3354 test -z "$ac_dir" && ac_dir
=.
3355 if test -f $ac_dir/$ac_word; then
3356 ac_cv_path_LN
="$ac_dir/$ac_word"
3361 test -z "$ac_cv_path_LN" && ac_cv_path_LN
="cp"
3366 if test -n "$LN"; then
3367 echo "$ac_t""$LN" 1>&6
3369 echo "$ac_t""no" 1>&6
3372 # Extract the first word of "perl", so it can be a program name with args.
3373 set dummy perl
; ac_word
=$2
3374 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3375 echo "configure:3376: checking for $ac_word" >&5
3376 if eval "test \"`echo '$''{'ac_cv_path_PERL'+set}'`\" = set"; then
3377 echo $ac_n "(cached) $ac_c" 1>&6
3381 ac_cv_path_PERL
="$PERL" # Let the user override the test with a path.
3384 ac_cv_path_PERL
="$PERL" # Let the user override the test with a dos path.
3387 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3389 for ac_dir
in $ac_dummy; do
3390 test -z "$ac_dir" && ac_dir
=.
3391 if test -f $ac_dir/$ac_word; then
3392 ac_cv_path_PERL
="$ac_dir/$ac_word"
3397 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL
="none"
3401 PERL
="$ac_cv_path_PERL"
3402 if test -n "$PERL"; then
3403 echo "$ac_t""$PERL" 1>&6
3405 echo "$ac_t""no" 1>&6
3408 # Extract the first word of "ar", so it can be a program name with args.
3409 set dummy
ar; ac_word
=$2
3410 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
3411 echo "configure:3412: checking for $ac_word" >&5
3412 if eval "test \"`echo '$''{'ac_cv_path_AR'+set}'`\" = set"; then
3413 echo $ac_n "(cached) $ac_c" 1>&6
3417 ac_cv_path_AR
="$AR" # Let the user override the test with a path.
3420 ac_cv_path_AR
="$AR" # Let the user override the test with a dos path.
3423 IFS
="${IFS= }"; ac_save_ifs
="$IFS"; IFS
=":"
3425 for ac_dir
in $ac_dummy; do
3426 test -z "$ac_dir" && ac_dir
=.
3427 if test -f $ac_dir/$ac_word; then
3428 ac_cv_path_AR
="$ac_dir/$ac_word"
3433 test -z "$ac_cv_path_AR" && ac_cv_path_AR
="$FALSE"
3438 if test -n "$AR"; then
3439 echo "$ac_t""$AR" 1>&6
3441 echo "$ac_t""no" 1>&6
3445 if test "$ac_cv_path_PERL" = "none"; then
3446 echo "Perl is required to compile Squid"
3447 echo "Please install Perl and then re-run configure"
3453 echo "Disabling 'ranlib' for HP-UX..."
3467 for ac_hdr
in dirent.h sys
/ndir.h sys
/dir.h ndir.h
3469 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3470 echo $ac_n "checking for $ac_hdr that defines DIR""... $ac_c" 1>&6
3471 echo "configure:3472: checking for $ac_hdr that defines DIR" >&5
3472 if eval "test \"`echo '$''{'ac_cv_header_dirent_$ac_safe'+set}'`\" = set"; then
3473 echo $ac_n "(cached) $ac_c" 1>&6
3475 cat > conftest.
$ac_ext <<EOF
3476 #line 3477 "configure"
3477 #include "confdefs.h"
3478 #include <sys/types.h>
3484 if { (eval echo configure
:3485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3486 eval "ac_cv_header_dirent_$ac_safe=yes"
3488 echo "configure: failed program was:" >&5
3489 cat conftest.
$ac_ext >&5
3491 eval "ac_cv_header_dirent_$ac_safe=no"
3495 if eval "test \"`echo '$ac_cv_header_dirent_'$ac_safe`\" = yes"; then
3496 echo "$ac_t""yes" 1>&6
3497 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3498 cat >> confdefs.h
<<EOF
3499 #define $ac_tr_hdr 1
3501 ac_header_dirent
=$ac_hdr; break
3503 echo "$ac_t""no" 1>&6
3506 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3507 if test $ac_header_dirent = dirent.h
; then
3508 echo $ac_n "checking for opendir in -ldir""... $ac_c" 1>&6
3509 echo "configure:3510: checking for opendir in -ldir" >&5
3510 ac_lib_var
=`echo dir'_'opendir | sed 'y%./+-%__p_%'`
3511 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3512 echo $ac_n "(cached) $ac_c" 1>&6
3514 ac_save_LIBS
="$LIBS"
3516 cat > conftest.
$ac_ext <<EOF
3517 #line 3518 "configure"
3518 #include "confdefs.h"
3519 /* Override any gcc2 internal prototype to avoid an error. */
3520 /* We use char because int might match the return type of a gcc2
3521 builtin and then its argument prototype would still apply. */
3528 if { (eval echo configure
:3529: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3530 eval "ac_cv_lib_$ac_lib_var=yes"
3532 echo "configure: failed program was:" >&5
3533 cat conftest.
$ac_ext >&5
3535 eval "ac_cv_lib_$ac_lib_var=no"
3538 LIBS
="$ac_save_LIBS"
3541 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3542 echo "$ac_t""yes" 1>&6
3545 echo "$ac_t""no" 1>&6
3549 echo $ac_n "checking for opendir in -lx""... $ac_c" 1>&6
3550 echo "configure:3551: checking for opendir in -lx" >&5
3551 ac_lib_var
=`echo x'_'opendir | sed 'y%./+-%__p_%'`
3552 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
3553 echo $ac_n "(cached) $ac_c" 1>&6
3555 ac_save_LIBS
="$LIBS"
3557 cat > conftest.
$ac_ext <<EOF
3558 #line 3559 "configure"
3559 #include "confdefs.h"
3560 /* Override any gcc2 internal prototype to avoid an error. */
3561 /* We use char because int might match the return type of a gcc2
3562 builtin and then its argument prototype would still apply. */
3569 if { (eval echo configure
:3570: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
3571 eval "ac_cv_lib_$ac_lib_var=yes"
3573 echo "configure: failed program was:" >&5
3574 cat conftest.
$ac_ext >&5
3576 eval "ac_cv_lib_$ac_lib_var=no"
3579 LIBS
="$ac_save_LIBS"
3582 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
3583 echo "$ac_t""yes" 1>&6
3586 echo "$ac_t""no" 1>&6
3591 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
3592 echo "configure:3593: checking for ANSI C header files" >&5
3593 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
3594 echo $ac_n "(cached) $ac_c" 1>&6
3596 cat > conftest.
$ac_ext <<EOF
3597 #line 3598 "configure"
3598 #include "confdefs.h"
3604 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3605 { (eval echo configure
:3606: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3606 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3607 if test -z "$ac_err"; then
3609 ac_cv_header_stdc
=yes
3612 echo "configure: failed program was:" >&5
3613 cat conftest.
$ac_ext >&5
3615 ac_cv_header_stdc
=no
3619 if test $ac_cv_header_stdc = yes; then
3620 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3621 cat > conftest.
$ac_ext <<EOF
3622 #line 3623 "configure"
3623 #include "confdefs.h"
3626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3627 egrep "memchr" >/dev
/null
2>&1; then
3631 ac_cv_header_stdc
=no
3637 if test $ac_cv_header_stdc = yes; then
3638 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3639 cat > conftest.
$ac_ext <<EOF
3640 #line 3641 "configure"
3641 #include "confdefs.h"
3644 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3645 egrep "free" >/dev
/null
2>&1; then
3649 ac_cv_header_stdc
=no
3655 if test $ac_cv_header_stdc = yes; then
3656 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3657 if test "$cross_compiling" = yes; then
3660 cat > conftest.
$ac_ext <<EOF
3661 #line 3662 "configure"
3662 #include "confdefs.h"
3664 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3665 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3666 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3667 int main () { int i; for (i = 0; i < 256; i++)
3668 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
3672 if { (eval echo configure
:3673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3676 echo "configure: failed program was:" >&5
3677 cat conftest.
$ac_ext >&5
3679 ac_cv_header_stdc
=no
3687 echo "$ac_t""$ac_cv_header_stdc" 1>&6
3688 if test $ac_cv_header_stdc = yes; then
3689 cat >> confdefs.h
<<\EOF
3690 #define STDC_HEADERS 1
3715 linux
/netfilter_ipv4.h \
3722 netinet
/if_ether.h \
3725 netinet
/ip_compat.h \
3726 netinet
/ip_fil_compat.h \
3775 ac_safe
=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
3776 echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
3777 echo "configure:3778: checking for $ac_hdr" >&5
3778 if eval "test \"`echo '$''{'ac_cv_header_$ac_safe'+set}'`\" = set"; then
3779 echo $ac_n "(cached) $ac_c" 1>&6
3781 cat > conftest.
$ac_ext <<EOF
3782 #line 3783 "configure"
3783 #include "confdefs.h"
3786 ac_try
="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
3787 { (eval echo configure
:3788: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
3788 ac_err
=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
3789 if test -z "$ac_err"; then
3791 eval "ac_cv_header_$ac_safe=yes"
3794 echo "configure: failed program was:" >&5
3795 cat conftest.
$ac_ext >&5
3797 eval "ac_cv_header_$ac_safe=no"
3801 if eval "test \"`echo '$ac_cv_header_'$ac_safe`\" = yes"; then
3802 echo "$ac_t""yes" 1>&6
3803 ac_tr_hdr
=HAVE_
`echo $ac_hdr | sed 'y%abcdefghijklmnopqrstuvwxyz./-%ABCDEFGHIJKLMNOPQRSTUVWXYZ___%'`
3804 cat >> confdefs.h
<<EOF
3805 #define $ac_tr_hdr 1
3809 echo "$ac_t""no" 1>&6
3814 echo $ac_n "checking for working const""... $ac_c" 1>&6
3815 echo "configure:3816: checking for working const" >&5
3816 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
3817 echo $ac_n "(cached) $ac_c" 1>&6
3819 cat > conftest.
$ac_ext <<EOF
3820 #line 3821 "configure"
3821 #include "confdefs.h"
3825 /* Ultrix mips cc rejects this. */
3826 typedef int charset[2]; const charset x;
3827 /* SunOS 4.1.1 cc rejects this. */
3828 char const *const *ccp;
3830 /* NEC SVR4.0.2 mips cc rejects this. */
3831 struct point {int x, y;};
3832 static struct point const zero = {0,0};
3833 /* AIX XL C 1.02.0.0 rejects this.
3834 It does not let you subtract one const X* pointer from another in an arm
3835 of an if-expression whose if-part is not a constant expression */
3836 const char *g = "string";
3837 ccp = &g + (g ? g-g : 0);
3838 /* HPUX 7.0 cc rejects these. */
3841 ccp = (char const *const *) p;
3842 { /* SCO 3.2v4 cc rejects this. */
3844 char const *s = 0 ? (char *) 0 : (char const *) 0;
3848 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3850 const int *foo = &x[0];
3853 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3854 typedef const int *iptr;
3858 { /* AIX XL C 1.02.0.0 rejects this saying
3859 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3860 struct s { int j; const int *ap[3]; };
3861 struct s *b; b->j = 5;
3863 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3869 if { (eval echo configure
:3870: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3873 echo "configure: failed program was:" >&5
3874 cat conftest.
$ac_ext >&5
3881 echo "$ac_t""$ac_cv_c_const" 1>&6
3882 if test $ac_cv_c_const = no
; then
3883 cat >> confdefs.h
<<\EOF
3889 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
3890 echo "configure:3891: checking whether byte ordering is bigendian" >&5
3891 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
3892 echo $ac_n "(cached) $ac_c" 1>&6
3894 ac_cv_c_bigendian
=unknown
3895 # See if sys/param.h defines the BYTE_ORDER macro.
3896 cat > conftest.
$ac_ext <<EOF
3897 #line 3898 "configure"
3898 #include "confdefs.h"
3899 #include <sys/types.h>
3900 #include <sys/param.h>
3903 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
3908 if { (eval echo configure
:3909: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3910 # It does; now see whether it defined to BIG_ENDIAN or not.
3911 cat > conftest.
$ac_ext <<EOF
3912 #line 3913 "configure"
3913 #include "confdefs.h"
3914 #include <sys/types.h>
3915 #include <sys/param.h>
3918 #if BYTE_ORDER != BIG_ENDIAN
3923 if { (eval echo configure
:3924: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3925 ac_cv_c_bigendian
=yes
3927 echo "configure: failed program was:" >&5
3928 cat conftest.
$ac_ext >&5
3930 ac_cv_c_bigendian
=no
3934 echo "configure: failed program was:" >&5
3935 cat conftest.
$ac_ext >&5
3938 if test $ac_cv_c_bigendian = unknown
; then
3939 if test "$cross_compiling" = yes; then
3940 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
3942 cat > conftest.
$ac_ext <<EOF
3943 #line 3944 "configure"
3944 #include "confdefs.h"
3946 /* Are we little or big endian? From Harbison&Steele. */
3950 char c[sizeof (long)];
3953 exit (u.c[sizeof (long) - 1] == 1);
3956 if { (eval echo configure
:3957: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
3958 ac_cv_c_bigendian
=no
3960 echo "configure: failed program was:" >&5
3961 cat conftest.
$ac_ext >&5
3963 ac_cv_c_bigendian
=yes
3971 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
3972 if test $ac_cv_c_bigendian = yes; then
3973 cat >> confdefs.h
<<\EOF
3974 #define WORDS_BIGENDIAN 1
3980 echo $ac_n "checking if ANSI prototypes work""... $ac_c" 1>&6
3981 echo "configure:3982: checking if ANSI prototypes work" >&5
3982 if eval "test \"`echo '$''{'ac_cv_have_ansi_prototypes'+set}'`\" = set"; then
3983 echo $ac_n "(cached) $ac_c" 1>&6
3986 cat > conftest.
$ac_ext <<EOF
3987 #line 3988 "configure"
3988 #include "confdefs.h"
3989 int foo(char *); int foo (char *bar) {return 1;}
3994 if { (eval echo configure
:3995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
3996 ac_cv_have_ansi_prototypes
="yes"
3998 echo "configure: failed program was:" >&5
3999 cat conftest.
$ac_ext >&5
4001 ac_cv_have_ansi_prototypes
="no"
4007 echo "$ac_t""$ac_cv_have_ansi_prototypes" 1>&6
4008 if test $ac_cv_have_ansi_prototypes = "yes" ; then
4009 cat >> confdefs.h
<<\EOF
4010 #define HAVE_ANSI_PROTOTYPES 1
4015 echo $ac_n "checking for tm->tm_gmtoff""... $ac_c" 1>&6
4016 echo "configure:4017: checking for tm->tm_gmtoff" >&5
4017 if eval "test \"`echo '$''{'ac_cv_have_tm_gmoff'+set}'`\" = set"; then
4018 echo $ac_n "(cached) $ac_c" 1>&6
4021 cat > conftest.
$ac_ext <<EOF
4022 #line 4023 "configure"
4023 #include "confdefs.h"
4025 #include <sys/time.h>
4031 if { (eval echo configure
:4032: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4033 ac_cv_have_tm_gmoff
="yes"
4035 echo "configure: failed program was:" >&5
4036 cat conftest.
$ac_ext >&5
4038 ac_cv_have_tm_gmoff
="no"
4044 echo "$ac_t""$ac_cv_have_tm_gmoff" 1>&6
4045 if test $ac_cv_have_tm_gmoff = "yes" ; then
4046 cat >> confdefs.h
<<\EOF
4047 #define HAVE_TM_GMTOFF 1
4052 echo $ac_n "checking for struct mallinfo""... $ac_c" 1>&6
4053 echo "configure:4054: checking for struct mallinfo" >&5
4054 if eval "test \"`echo '$''{'ac_cv_have_struct_mallinfo'+set}'`\" = set"; then
4055 echo $ac_n "(cached) $ac_c" 1>&6
4058 cat > conftest.
$ac_ext <<EOF
4059 #line 4060 "configure"
4060 #include "confdefs.h"
4061 #include <sys/types.h>
4066 struct mallinfo foo;
4077 if { (eval echo configure
:4078: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4079 ac_cv_have_struct_mallinfo
="yes"
4081 echo "configure: failed program was:" >&5
4082 cat conftest.
$ac_ext >&5
4084 ac_cv_have_struct_mallinfo
="no"
4090 echo "$ac_t""$ac_cv_have_struct_mallinfo" 1>&6
4091 if test $ac_cv_have_struct_mallinfo = "yes" ; then
4092 cat >> confdefs.h
<<\EOF
4093 #define HAVE_STRUCT_MALLINFO 1
4098 echo $ac_n "checking for extended mallinfo""... $ac_c" 1>&6
4099 echo "configure:4100: checking for extended mallinfo" >&5
4100 if eval "test \"`echo '$''{'ac_cv_have_ext_mallinfo'+set}'`\" = set"; then
4101 echo $ac_n "(cached) $ac_c" 1>&6
4104 cat > conftest.
$ac_ext <<EOF
4105 #line 4106 "configure"
4106 #include "confdefs.h"
4107 #include <sys/types.h>
4110 struct mallinfo foo;
4114 if { (eval echo configure
:4115: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4116 ac_cv_have_ext_mallinfo
="yes"
4118 echo "configure: failed program was:" >&5
4119 cat conftest.
$ac_ext >&5
4121 ac_cv_have_ext_mallinfo
="no"
4127 echo "$ac_t""$ac_cv_have_ext_mallinfo" 1>&6
4128 if test $ac_cv_have_ext_mallinfo = "yes" ; then
4129 cat >> confdefs.h
<<\EOF
4130 #define HAVE_EXT_MALLINFO 1
4135 echo $ac_n "checking for struct rusage""... $ac_c" 1>&6
4136 echo "configure:4137: checking for struct rusage" >&5
4137 if eval "test \"`echo '$''{'ac_cv_have_struct_rusage'+set}'`\" = set"; then
4138 echo $ac_n "(cached) $ac_c" 1>&6
4141 cat > conftest.
$ac_ext <<EOF
4142 #line 4143 "configure"
4143 #include "confdefs.h"
4146 #include <sys/time.h>
4148 #if HAVE_SYS_RESOURCE_H
4149 #include <sys/resource.h>
4155 if { (eval echo configure
:4156: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4157 ac_cv_have_struct_rusage
="yes"
4159 echo "configure: failed program was:" >&5
4160 cat conftest.
$ac_ext >&5
4162 ac_cv_have_struct_rusage
="no"
4168 echo "$ac_t""$ac_cv_have_struct_rusage" 1>&6
4169 if test $ac_cv_have_struct_rusage = "yes" ; then
4170 cat >> confdefs.h
<<\EOF
4171 #define HAVE_STRUCT_RUSAGE 1
4176 echo $ac_n "checking for ip->ip_hl""... $ac_c" 1>&6
4177 echo "configure:4178: checking for ip->ip_hl" >&5
4178 if eval "test \"`echo '$''{'ac_cv_have_ip_hl'+set}'`\" = set"; then
4179 echo $ac_n "(cached) $ac_c" 1>&6
4182 cat > conftest.
$ac_ext <<EOF
4183 #line 4184 "configure"
4184 #include "confdefs.h"
4185 #include <sys/types.h>
4186 #include <netinet/in.h>
4187 #include <netinet/in_systm.h>
4188 #include <netinet/ip.h>
4189 #if defined (__linux__) || defined (__CYGWIN__)
4202 if { (eval echo configure
:4203: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
4204 ac_cv_have_ip_hl
="yes"
4206 echo "configure: failed program was:" >&5
4207 cat conftest.
$ac_ext >&5
4209 ac_cv_have_ip_hl
="no"
4215 echo "$ac_t""$ac_cv_have_ip_hl" 1>&6
4216 if test $ac_cv_have_ip_hl = "yes" ; then
4217 cat >> confdefs.h
<<\EOF
4218 #define HAVE_IP_HL 1
4223 echo $ac_n "checking size of void *""... $ac_c" 1>&6
4224 echo "configure:4225: checking size of void *" >&5
4225 if eval "test \"`echo '$''{'ac_cv_sizeof_void_p'+set}'`\" = set"; then
4226 echo $ac_n "(cached) $ac_c" 1>&6
4228 if test "$cross_compiling" = yes; then
4229 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4231 cat > conftest.
$ac_ext <<EOF
4232 #line 4233 "configure"
4233 #include "confdefs.h"
4237 FILE *f=fopen("conftestval", "w");
4239 fprintf(f, "%d\n", sizeof(void *));
4243 if { (eval echo configure
:4244: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4245 ac_cv_sizeof_void_p
=`cat conftestval`
4247 echo "configure: failed program was:" >&5
4248 cat conftest.
$ac_ext >&5
4250 ac_cv_sizeof_void_p
=0
4256 echo "$ac_t""$ac_cv_sizeof_void_p" 1>&6
4257 cat >> confdefs.h
<<EOF
4258 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
4262 echo $ac_n "checking size of short""... $ac_c" 1>&6
4263 echo "configure:4264: checking size of short" >&5
4264 if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
4265 echo $ac_n "(cached) $ac_c" 1>&6
4267 if test "$cross_compiling" = yes; then
4268 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4270 cat > conftest.
$ac_ext <<EOF
4271 #line 4272 "configure"
4272 #include "confdefs.h"
4276 FILE *f=fopen("conftestval", "w");
4278 fprintf(f, "%d\n", sizeof(short));
4282 if { (eval echo configure
:4283: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4284 ac_cv_sizeof_short
=`cat conftestval`
4286 echo "configure: failed program was:" >&5
4287 cat conftest.
$ac_ext >&5
4289 ac_cv_sizeof_short
=0
4295 echo "$ac_t""$ac_cv_sizeof_short" 1>&6
4296 cat >> confdefs.h
<<EOF
4297 #define SIZEOF_SHORT $ac_cv_sizeof_short
4301 echo $ac_n "checking size of int""... $ac_c" 1>&6
4302 echo "configure:4303: checking size of int" >&5
4303 if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
4304 echo $ac_n "(cached) $ac_c" 1>&6
4306 if test "$cross_compiling" = yes; then
4307 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4309 cat > conftest.
$ac_ext <<EOF
4310 #line 4311 "configure"
4311 #include "confdefs.h"
4315 FILE *f=fopen("conftestval", "w");
4317 fprintf(f, "%d\n", sizeof(int));
4321 if { (eval echo configure
:4322: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4323 ac_cv_sizeof_int
=`cat conftestval`
4325 echo "configure: failed program was:" >&5
4326 cat conftest.
$ac_ext >&5
4334 echo "$ac_t""$ac_cv_sizeof_int" 1>&6
4335 cat >> confdefs.h
<<EOF
4336 #define SIZEOF_INT $ac_cv_sizeof_int
4340 echo $ac_n "checking size of long""... $ac_c" 1>&6
4341 echo "configure:4342: checking size of long" >&5
4342 if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
4343 echo $ac_n "(cached) $ac_c" 1>&6
4345 if test "$cross_compiling" = yes; then
4346 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4348 cat > conftest.
$ac_ext <<EOF
4349 #line 4350 "configure"
4350 #include "confdefs.h"
4354 FILE *f=fopen("conftestval", "w");
4356 fprintf(f, "%d\n", sizeof(long));
4360 if { (eval echo configure
:4361: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4362 ac_cv_sizeof_long
=`cat conftestval`
4364 echo "configure: failed program was:" >&5
4365 cat conftest.
$ac_ext >&5
4373 echo "$ac_t""$ac_cv_sizeof_long" 1>&6
4374 cat >> confdefs.h
<<EOF
4375 #define SIZEOF_LONG $ac_cv_sizeof_long
4379 echo $ac_n "checking size of long long""... $ac_c" 1>&6
4380 echo "configure:4381: checking size of long long" >&5
4381 if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
4382 echo $ac_n "(cached) $ac_c" 1>&6
4384 if test "$cross_compiling" = yes; then
4385 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4387 cat > conftest.
$ac_ext <<EOF
4388 #line 4389 "configure"
4389 #include "confdefs.h"
4393 FILE *f=fopen("conftestval", "w");
4395 fprintf(f, "%d\n", sizeof(long long));
4399 if { (eval echo configure
:4400: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4401 ac_cv_sizeof_long_long
=`cat conftestval`
4403 echo "configure: failed program was:" >&5
4404 cat conftest.
$ac_ext >&5
4406 ac_cv_sizeof_long_long
=0
4412 echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
4413 cat >> confdefs.h
<<EOF
4414 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
4418 echo $ac_n "checking size of __int64""... $ac_c" 1>&6
4419 echo "configure:4420: checking size of __int64" >&5
4420 if eval "test \"`echo '$''{'ac_cv_sizeof___int64'+set}'`\" = set"; then
4421 echo $ac_n "(cached) $ac_c" 1>&6
4423 if test "$cross_compiling" = yes; then
4424 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4426 cat > conftest.
$ac_ext <<EOF
4427 #line 4428 "configure"
4428 #include "confdefs.h"
4432 FILE *f=fopen("conftestval", "w");
4434 fprintf(f, "%d\n", sizeof(__int64));
4438 if { (eval echo configure
:4439: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4440 ac_cv_sizeof___int64
=`cat conftestval`
4442 echo "configure: failed program was:" >&5
4443 cat conftest.
$ac_ext >&5
4445 ac_cv_sizeof___int64
=0
4451 echo "$ac_t""$ac_cv_sizeof___int64" 1>&6
4452 cat >> confdefs.h
<<EOF
4453 #define SIZEOF___INT64 $ac_cv_sizeof___int64
4457 echo $ac_n "checking size of int16_t""... $ac_c" 1>&6
4458 echo "configure:4459: checking size of int16_t" >&5
4459 if eval "test \"`echo '$''{'ac_cv_sizeof_int16_t'+set}'`\" = set"; then
4460 echo $ac_n "(cached) $ac_c" 1>&6
4462 if test "$cross_compiling" = yes; then
4463 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4465 cat > conftest.
$ac_ext <<EOF
4466 #line 4467 "configure"
4467 #include "confdefs.h"
4471 FILE *f=fopen("conftestval", "w");
4473 fprintf(f, "%d\n", sizeof(int16_t));
4477 if { (eval echo configure
:4478: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4479 ac_cv_sizeof_int16_t
=`cat conftestval`
4481 echo "configure: failed program was:" >&5
4482 cat conftest.
$ac_ext >&5
4484 ac_cv_sizeof_int16_t
=0
4490 echo "$ac_t""$ac_cv_sizeof_int16_t" 1>&6
4491 cat >> confdefs.h
<<EOF
4492 #define SIZEOF_INT16_T $ac_cv_sizeof_int16_t
4496 echo $ac_n "checking size of uint16_t""... $ac_c" 1>&6
4497 echo "configure:4498: checking size of uint16_t" >&5
4498 if eval "test \"`echo '$''{'ac_cv_sizeof_uint16_t'+set}'`\" = set"; then
4499 echo $ac_n "(cached) $ac_c" 1>&6
4501 if test "$cross_compiling" = yes; then
4502 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4504 cat > conftest.
$ac_ext <<EOF
4505 #line 4506 "configure"
4506 #include "confdefs.h"
4510 FILE *f=fopen("conftestval", "w");
4512 fprintf(f, "%d\n", sizeof(uint16_t));
4516 if { (eval echo configure
:4517: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4518 ac_cv_sizeof_uint16_t
=`cat conftestval`
4520 echo "configure: failed program was:" >&5
4521 cat conftest.
$ac_ext >&5
4523 ac_cv_sizeof_uint16_t
=0
4529 echo "$ac_t""$ac_cv_sizeof_uint16_t" 1>&6
4530 cat >> confdefs.h
<<EOF
4531 #define SIZEOF_UINT16_T $ac_cv_sizeof_uint16_t
4535 echo $ac_n "checking size of u_int16_t""... $ac_c" 1>&6
4536 echo "configure:4537: checking size of u_int16_t" >&5
4537 if eval "test \"`echo '$''{'ac_cv_sizeof_u_int16_t'+set}'`\" = set"; then
4538 echo $ac_n "(cached) $ac_c" 1>&6
4540 if test "$cross_compiling" = yes; then
4541 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4543 cat > conftest.
$ac_ext <<EOF
4544 #line 4545 "configure"
4545 #include "confdefs.h"
4549 FILE *f=fopen("conftestval", "w");
4551 fprintf(f, "%d\n", sizeof(u_int16_t));
4555 if { (eval echo configure
:4556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4557 ac_cv_sizeof_u_int16_t
=`cat conftestval`
4559 echo "configure: failed program was:" >&5
4560 cat conftest.
$ac_ext >&5
4562 ac_cv_sizeof_u_int16_t
=0
4568 echo "$ac_t""$ac_cv_sizeof_u_int16_t" 1>&6
4569 cat >> confdefs.h
<<EOF
4570 #define SIZEOF_U_INT16_T $ac_cv_sizeof_u_int16_t
4574 echo $ac_n "checking size of int32_t""... $ac_c" 1>&6
4575 echo "configure:4576: checking size of int32_t" >&5
4576 if eval "test \"`echo '$''{'ac_cv_sizeof_int32_t'+set}'`\" = set"; then
4577 echo $ac_n "(cached) $ac_c" 1>&6
4579 if test "$cross_compiling" = yes; then
4580 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4582 cat > conftest.
$ac_ext <<EOF
4583 #line 4584 "configure"
4584 #include "confdefs.h"
4588 FILE *f=fopen("conftestval", "w");
4590 fprintf(f, "%d\n", sizeof(int32_t));
4594 if { (eval echo configure
:4595: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4596 ac_cv_sizeof_int32_t
=`cat conftestval`
4598 echo "configure: failed program was:" >&5
4599 cat conftest.
$ac_ext >&5
4601 ac_cv_sizeof_int32_t
=0
4607 echo "$ac_t""$ac_cv_sizeof_int32_t" 1>&6
4608 cat >> confdefs.h
<<EOF
4609 #define SIZEOF_INT32_T $ac_cv_sizeof_int32_t
4613 echo $ac_n "checking size of uint32_t""... $ac_c" 1>&6
4614 echo "configure:4615: checking size of uint32_t" >&5
4615 if eval "test \"`echo '$''{'ac_cv_sizeof_uint32_t'+set}'`\" = set"; then
4616 echo $ac_n "(cached) $ac_c" 1>&6
4618 if test "$cross_compiling" = yes; then
4619 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4621 cat > conftest.
$ac_ext <<EOF
4622 #line 4623 "configure"
4623 #include "confdefs.h"
4627 FILE *f=fopen("conftestval", "w");
4629 fprintf(f, "%d\n", sizeof(uint32_t));
4633 if { (eval echo configure
:4634: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4635 ac_cv_sizeof_uint32_t
=`cat conftestval`
4637 echo "configure: failed program was:" >&5
4638 cat conftest.
$ac_ext >&5
4640 ac_cv_sizeof_uint32_t
=0
4646 echo "$ac_t""$ac_cv_sizeof_uint32_t" 1>&6
4647 cat >> confdefs.h
<<EOF
4648 #define SIZEOF_UINT32_T $ac_cv_sizeof_uint32_t
4652 echo $ac_n "checking size of u_int32_t""... $ac_c" 1>&6
4653 echo "configure:4654: checking size of u_int32_t" >&5
4654 if eval "test \"`echo '$''{'ac_cv_sizeof_u_int32_t'+set}'`\" = set"; then
4655 echo $ac_n "(cached) $ac_c" 1>&6
4657 if test "$cross_compiling" = yes; then
4658 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4660 cat > conftest.
$ac_ext <<EOF
4661 #line 4662 "configure"
4662 #include "confdefs.h"
4666 FILE *f=fopen("conftestval", "w");
4668 fprintf(f, "%d\n", sizeof(u_int32_t));
4672 if { (eval echo configure
:4673: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4674 ac_cv_sizeof_u_int32_t
=`cat conftestval`
4676 echo "configure: failed program was:" >&5
4677 cat conftest.
$ac_ext >&5
4679 ac_cv_sizeof_u_int32_t
=0
4685 echo "$ac_t""$ac_cv_sizeof_u_int32_t" 1>&6
4686 cat >> confdefs.h
<<EOF
4687 #define SIZEOF_U_INT32_T $ac_cv_sizeof_u_int32_t
4691 echo $ac_n "checking size of int64_t""... $ac_c" 1>&6
4692 echo "configure:4693: checking size of int64_t" >&5
4693 if eval "test \"`echo '$''{'ac_cv_sizeof_int64_t'+set}'`\" = set"; then
4694 echo $ac_n "(cached) $ac_c" 1>&6
4696 if test "$cross_compiling" = yes; then
4697 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4699 cat > conftest.
$ac_ext <<EOF
4700 #line 4701 "configure"
4701 #include "confdefs.h"
4705 FILE *f=fopen("conftestval", "w");
4707 fprintf(f, "%d\n", sizeof(int64_t));
4711 if { (eval echo configure
:4712: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4713 ac_cv_sizeof_int64_t
=`cat conftestval`
4715 echo "configure: failed program was:" >&5
4716 cat conftest.
$ac_ext >&5
4718 ac_cv_sizeof_int64_t
=0
4724 echo "$ac_t""$ac_cv_sizeof_int64_t" 1>&6
4725 cat >> confdefs.h
<<EOF
4726 #define SIZEOF_INT64_T $ac_cv_sizeof_int64_t
4730 echo $ac_n "checking size of uint64_t""... $ac_c" 1>&6
4731 echo "configure:4732: checking size of uint64_t" >&5
4732 if eval "test \"`echo '$''{'ac_cv_sizeof_uint64_t'+set}'`\" = set"; then
4733 echo $ac_n "(cached) $ac_c" 1>&6
4735 if test "$cross_compiling" = yes; then
4736 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4738 cat > conftest.
$ac_ext <<EOF
4739 #line 4740 "configure"
4740 #include "confdefs.h"
4744 FILE *f=fopen("conftestval", "w");
4746 fprintf(f, "%d\n", sizeof(uint64_t));
4750 if { (eval echo configure
:4751: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4752 ac_cv_sizeof_uint64_t
=`cat conftestval`
4754 echo "configure: failed program was:" >&5
4755 cat conftest.
$ac_ext >&5
4757 ac_cv_sizeof_uint64_t
=0
4763 echo "$ac_t""$ac_cv_sizeof_uint64_t" 1>&6
4764 cat >> confdefs.h
<<EOF
4765 #define SIZEOF_UINT64_T $ac_cv_sizeof_uint64_t
4769 echo $ac_n "checking size of u_int64_t""... $ac_c" 1>&6
4770 echo "configure:4771: checking size of u_int64_t" >&5
4771 if eval "test \"`echo '$''{'ac_cv_sizeof_u_int64_t'+set}'`\" = set"; then
4772 echo $ac_n "(cached) $ac_c" 1>&6
4774 if test "$cross_compiling" = yes; then
4775 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
4777 cat > conftest.
$ac_ext <<EOF
4778 #line 4779 "configure"
4779 #include "confdefs.h"
4783 FILE *f=fopen("conftestval", "w");
4785 fprintf(f, "%d\n", sizeof(u_int64_t));
4789 if { (eval echo configure
:4790: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
4791 ac_cv_sizeof_u_int64_t
=`cat conftestval`
4793 echo "configure: failed program was:" >&5
4794 cat conftest.
$ac_ext >&5
4796 ac_cv_sizeof_u_int64_t
=0
4802 echo "$ac_t""$ac_cv_sizeof_u_int64_t" 1>&6
4803 cat >> confdefs.h
<<EOF
4804 #define SIZEOF_U_INT64_T $ac_cv_sizeof_u_int64_t
4809 if test "x$ac_cv_sizeof_short" = "x2"; then
4810 echo $ac_n "checking for int16_t""... $ac_c" 1>&6
4811 echo "configure:4812: checking for int16_t" >&5
4812 if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then
4813 echo $ac_n "(cached) $ac_c" 1>&6
4815 cat > conftest.
$ac_ext <<EOF
4816 #line 4817 "configure"
4817 #include "confdefs.h"
4818 #include <sys/types.h>
4824 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4825 egrep "(^|[^a-zA-Z_0-9])int16_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
4827 ac_cv_type_int16_t
=yes
4830 ac_cv_type_int16_t
=no
4835 echo "$ac_t""$ac_cv_type_int16_t" 1>&6
4836 if test $ac_cv_type_int16_t = no
; then
4837 cat >> confdefs.h
<<\EOF
4838 #define int16_t short
4843 elif test "x$ac_cv_sizeof_int" = "x2"; then
4844 echo $ac_n "checking for int16_t""... $ac_c" 1>&6
4845 echo "configure:4846: checking for int16_t" >&5
4846 if eval "test \"`echo '$''{'ac_cv_type_int16_t'+set}'`\" = set"; then
4847 echo $ac_n "(cached) $ac_c" 1>&6
4849 cat > conftest.
$ac_ext <<EOF
4850 #line 4851 "configure"
4851 #include "confdefs.h"
4852 #include <sys/types.h>
4858 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4859 egrep "(^|[^a-zA-Z_0-9])int16_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
4861 ac_cv_type_int16_t
=yes
4864 ac_cv_type_int16_t
=no
4869 echo "$ac_t""$ac_cv_type_int16_t" 1>&6
4870 if test $ac_cv_type_int16_t = no
; then
4871 cat >> confdefs.h
<<\EOF
4878 if test "x$ac_cv_sizeof_uint16_t" = "x2"; then
4879 echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
4880 echo "configure:4881: checking for u_int16_t" >&5
4881 if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then
4882 echo $ac_n "(cached) $ac_c" 1>&6
4884 cat > conftest.
$ac_ext <<EOF
4885 #line 4886 "configure"
4886 #include "confdefs.h"
4887 #include <sys/types.h>
4893 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4894 egrep "(^|[^a-zA-Z_0-9])u_int16_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
4896 ac_cv_type_u_int16_t
=yes
4899 ac_cv_type_u_int16_t
=no
4904 echo "$ac_t""$ac_cv_type_u_int16_t" 1>&6
4905 if test $ac_cv_type_u_int16_t = no
; then
4906 cat >> confdefs.h
<<\EOF
4907 #define u_int16_t uint16_t
4912 elif test "x$ac_cv_sizeof_short" = "x2"; then
4913 echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
4914 echo "configure:4915: checking for u_int16_t" >&5
4915 if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then
4916 echo $ac_n "(cached) $ac_c" 1>&6
4918 cat > conftest.
$ac_ext <<EOF
4919 #line 4920 "configure"
4920 #include "confdefs.h"
4921 #include <sys/types.h>
4927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4928 egrep "(^|[^a-zA-Z_0-9])u_int16_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
4930 ac_cv_type_u_int16_t
=yes
4933 ac_cv_type_u_int16_t
=no
4938 echo "$ac_t""$ac_cv_type_u_int16_t" 1>&6
4939 if test $ac_cv_type_u_int16_t = no
; then
4940 cat >> confdefs.h
<<\EOF
4941 #define u_int16_t unsigned short
4946 elif test "x$ac_cv_sizeof_int" = "x2"; then
4947 echo $ac_n "checking for u_int16_t""... $ac_c" 1>&6
4948 echo "configure:4949: checking for u_int16_t" >&5
4949 if eval "test \"`echo '$''{'ac_cv_type_u_int16_t'+set}'`\" = set"; then
4950 echo $ac_n "(cached) $ac_c" 1>&6
4952 cat > conftest.
$ac_ext <<EOF
4953 #line 4954 "configure"
4954 #include "confdefs.h"
4955 #include <sys/types.h>
4961 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4962 egrep "(^|[^a-zA-Z_0-9])u_int16_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
4964 ac_cv_type_u_int16_t
=yes
4967 ac_cv_type_u_int16_t
=no
4972 echo "$ac_t""$ac_cv_type_u_int16_t" 1>&6
4973 if test $ac_cv_type_u_int16_t = no
; then
4974 cat >> confdefs.h
<<\EOF
4975 #define u_int16_t unsigned int
4981 if test "x$ac_cv_sizeof_int" = "x4"; then
4982 echo $ac_n "checking for int32_t""... $ac_c" 1>&6
4983 echo "configure:4984: checking for int32_t" >&5
4984 if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
4985 echo $ac_n "(cached) $ac_c" 1>&6
4987 cat > conftest.
$ac_ext <<EOF
4988 #line 4989 "configure"
4989 #include "confdefs.h"
4990 #include <sys/types.h>
4996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4997 egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
4999 ac_cv_type_int32_t
=yes
5002 ac_cv_type_int32_t
=no
5007 echo "$ac_t""$ac_cv_type_int32_t" 1>&6
5008 if test $ac_cv_type_int32_t = no
; then
5009 cat >> confdefs.h
<<\EOF
5015 elif "x$ac_cv_sizeof_long" = "x4"; then
5016 echo $ac_n "checking for int32_t""... $ac_c" 1>&6
5017 echo "configure:5018: checking for int32_t" >&5
5018 if eval "test \"`echo '$''{'ac_cv_type_int32_t'+set}'`\" = set"; then
5019 echo $ac_n "(cached) $ac_c" 1>&6
5021 cat > conftest.
$ac_ext <<EOF
5022 #line 5023 "configure"
5023 #include "confdefs.h"
5024 #include <sys/types.h>
5030 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5031 egrep "(^|[^a-zA-Z_0-9])int32_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5033 ac_cv_type_int32_t
=yes
5036 ac_cv_type_int32_t
=no
5041 echo "$ac_t""$ac_cv_type_int32_t" 1>&6
5042 if test $ac_cv_type_int32_t = no
; then
5043 cat >> confdefs.h
<<\EOF
5044 #define int32_t long
5050 if test "x$ac_cv_sizeof_uint32_t" = "x4"; then
5051 echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
5052 echo "configure:5053: checking for u_int32_t" >&5
5053 if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
5054 echo $ac_n "(cached) $ac_c" 1>&6
5056 cat > conftest.
$ac_ext <<EOF
5057 #line 5058 "configure"
5058 #include "confdefs.h"
5059 #include <sys/types.h>
5065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5066 egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5068 ac_cv_type_u_int32_t
=yes
5071 ac_cv_type_u_int32_t
=no
5076 echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
5077 if test $ac_cv_type_u_int32_t = no
; then
5078 cat >> confdefs.h
<<\EOF
5079 #define u_int32_t uint32_t
5084 elif test "x$ac_cv_sizeof_int" = "x4"; then
5085 echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
5086 echo "configure:5087: checking for u_int32_t" >&5
5087 if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
5088 echo $ac_n "(cached) $ac_c" 1>&6
5090 cat > conftest.
$ac_ext <<EOF
5091 #line 5092 "configure"
5092 #include "confdefs.h"
5093 #include <sys/types.h>
5099 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5100 egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5102 ac_cv_type_u_int32_t
=yes
5105 ac_cv_type_u_int32_t
=no
5110 echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
5111 if test $ac_cv_type_u_int32_t = no
; then
5112 cat >> confdefs.h
<<\EOF
5113 #define u_int32_t unsigned int
5118 elif test "x$ac_cv_sizeof_long" = "x4"; then
5119 echo $ac_n "checking for u_int32_t""... $ac_c" 1>&6
5120 echo "configure:5121: checking for u_int32_t" >&5
5121 if eval "test \"`echo '$''{'ac_cv_type_u_int32_t'+set}'`\" = set"; then
5122 echo $ac_n "(cached) $ac_c" 1>&6
5124 cat > conftest.
$ac_ext <<EOF
5125 #line 5126 "configure"
5126 #include "confdefs.h"
5127 #include <sys/types.h>
5133 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5134 egrep "(^|[^a-zA-Z_0-9])u_int32_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5136 ac_cv_type_u_int32_t
=yes
5139 ac_cv_type_u_int32_t
=no
5144 echo "$ac_t""$ac_cv_type_u_int32_t" 1>&6
5145 if test $ac_cv_type_u_int32_t = no
; then
5146 cat >> confdefs.h
<<\EOF
5147 #define u_int32_t unsigned long
5153 if test "x$ac_cv_sizeof_long" = "x8"; then
5154 echo $ac_n "checking for int64_t""... $ac_c" 1>&6
5155 echo "configure:5156: checking for int64_t" >&5
5156 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
5157 echo $ac_n "(cached) $ac_c" 1>&6
5159 cat > conftest.
$ac_ext <<EOF
5160 #line 5161 "configure"
5161 #include "confdefs.h"
5162 #include <sys/types.h>
5168 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5169 egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5171 ac_cv_type_int64_t
=yes
5174 ac_cv_type_int64_t
=no
5179 echo "$ac_t""$ac_cv_type_int64_t" 1>&6
5180 if test $ac_cv_type_int64_t = no
; then
5181 cat >> confdefs.h
<<\EOF
5182 #define int64_t long
5187 elif test "x$ac_cv_sizeof_long_long" = "x8"; then
5188 echo $ac_n "checking for int64_t""... $ac_c" 1>&6
5189 echo "configure:5190: checking for int64_t" >&5
5190 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
5191 echo $ac_n "(cached) $ac_c" 1>&6
5193 cat > conftest.
$ac_ext <<EOF
5194 #line 5195 "configure"
5195 #include "confdefs.h"
5196 #include <sys/types.h>
5202 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5203 egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5205 ac_cv_type_int64_t
=yes
5208 ac_cv_type_int64_t
=no
5213 echo "$ac_t""$ac_cv_type_int64_t" 1>&6
5214 if test $ac_cv_type_int64_t = no
; then
5215 cat >> confdefs.h
<<\EOF
5216 #define int64_t long long
5221 elif test "x$ac_cv_sizeof___int64" = "x8"; then
5222 echo $ac_n "checking for int64_t""... $ac_c" 1>&6
5223 echo "configure:5224: checking for int64_t" >&5
5224 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
5225 echo $ac_n "(cached) $ac_c" 1>&6
5227 cat > conftest.
$ac_ext <<EOF
5228 #line 5229 "configure"
5229 #include "confdefs.h"
5230 #include <sys/types.h>
5236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5237 egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5239 ac_cv_type_int64_t
=yes
5242 ac_cv_type_int64_t
=no
5247 echo "$ac_t""$ac_cv_type_int64_t" 1>&6
5248 if test $ac_cv_type_int64_t = no
; then
5249 cat >> confdefs.h
<<\EOF
5250 #define int64_t __int64
5256 if test "x$ac_cv_sizeof_uint64_t" = "x8"; then
5257 echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6
5258 echo "configure:5259: checking for u_int64_t" >&5
5259 if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then
5260 echo $ac_n "(cached) $ac_c" 1>&6
5262 cat > conftest.
$ac_ext <<EOF
5263 #line 5264 "configure"
5264 #include "confdefs.h"
5265 #include <sys/types.h>
5271 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5272 egrep "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5274 ac_cv_type_u_int64_t
=yes
5277 ac_cv_type_u_int64_t
=no
5282 echo "$ac_t""$ac_cv_type_u_int64_t" 1>&6
5283 if test $ac_cv_type_u_int64_t = no
; then
5284 cat >> confdefs.h
<<\EOF
5285 #define u_int64_t uint64_t
5290 elif test "x$ac_cv_sizeof_long" = "x8"; then
5291 echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6
5292 echo "configure:5293: checking for u_int64_t" >&5
5293 if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then
5294 echo $ac_n "(cached) $ac_c" 1>&6
5296 cat > conftest.
$ac_ext <<EOF
5297 #line 5298 "configure"
5298 #include "confdefs.h"
5299 #include <sys/types.h>
5305 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5306 egrep "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5308 ac_cv_type_u_int64_t
=yes
5311 ac_cv_type_u_int64_t
=no
5316 echo "$ac_t""$ac_cv_type_u_int64_t" 1>&6
5317 if test $ac_cv_type_u_int64_t = no
; then
5318 cat >> confdefs.h
<<\EOF
5319 #define u_int64_t unsigned long
5324 elif test "x$ac_cv_sizeof_long_long" = "x8"; then
5325 echo $ac_n "checking for u_int64_t""... $ac_c" 1>&6
5326 echo "configure:5327: checking for u_int64_t" >&5
5327 if eval "test \"`echo '$''{'ac_cv_type_u_int64_t'+set}'`\" = set"; then
5328 echo $ac_n "(cached) $ac_c" 1>&6
5330 cat > conftest.
$ac_ext <<EOF
5331 #line 5332 "configure"
5332 #include "confdefs.h"
5333 #include <sys/types.h>
5339 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5340 egrep "(^|[^a-zA-Z_0-9])u_int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5342 ac_cv_type_u_int64_t
=yes
5345 ac_cv_type_u_int64_t
=no
5350 echo "$ac_t""$ac_cv_type_u_int64_t" 1>&6
5351 if test $ac_cv_type_u_int64_t = no
; then
5352 cat >> confdefs.h
<<\EOF
5353 #define u_int64_t unsigned long long
5358 elif test "x$ac_cv_sizeof___int64" = "x8"; then
5359 echo $ac_n "checking for int64_t""... $ac_c" 1>&6
5360 echo "configure:5361: checking for int64_t" >&5
5361 if eval "test \"`echo '$''{'ac_cv_type_int64_t'+set}'`\" = set"; then
5362 echo $ac_n "(cached) $ac_c" 1>&6
5364 cat > conftest.
$ac_ext <<EOF
5365 #line 5366 "configure"
5366 #include "confdefs.h"
5367 #include <sys/types.h>
5373 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5374 egrep "(^|[^a-zA-Z_0-9])int64_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5376 ac_cv_type_int64_t
=yes
5379 ac_cv_type_int64_t
=no
5384 echo "$ac_t""$ac_cv_type_int64_t" 1>&6
5385 if test $ac_cv_type_int64_t = no
; then
5386 cat >> confdefs.h
<<\EOF
5387 #define int64_t unsigned __int64
5394 echo $ac_n "checking for pid_t""... $ac_c" 1>&6
5395 echo "configure:5396: checking for pid_t" >&5
5396 if eval "test \"`echo '$''{'ac_cv_type_pid_t'+set}'`\" = set"; then
5397 echo $ac_n "(cached) $ac_c" 1>&6
5399 cat > conftest.
$ac_ext <<EOF
5400 #line 5401 "configure"
5401 #include "confdefs.h"
5402 #include <sys/types.h>
5408 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5409 egrep "(^|[^a-zA-Z_0-9])pid_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5411 ac_cv_type_pid_t
=yes
5419 echo "$ac_t""$ac_cv_type_pid_t" 1>&6
5420 if test $ac_cv_type_pid_t = no
; then
5421 cat >> confdefs.h
<<\EOF
5427 echo $ac_n "checking for size_t""... $ac_c" 1>&6
5428 echo "configure:5429: checking for size_t" >&5
5429 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
5430 echo $ac_n "(cached) $ac_c" 1>&6
5432 cat > conftest.
$ac_ext <<EOF
5433 #line 5434 "configure"
5434 #include "confdefs.h"
5435 #include <sys/types.h>
5441 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5442 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5444 ac_cv_type_size_t
=yes
5447 ac_cv_type_size_t
=no
5452 echo "$ac_t""$ac_cv_type_size_t" 1>&6
5453 if test $ac_cv_type_size_t = no
; then
5454 cat >> confdefs.h
<<\EOF
5455 #define size_t unsigned int
5460 echo $ac_n "checking for ssize_t""... $ac_c" 1>&6
5461 echo "configure:5462: checking for ssize_t" >&5
5462 if eval "test \"`echo '$''{'ac_cv_type_ssize_t'+set}'`\" = set"; then
5463 echo $ac_n "(cached) $ac_c" 1>&6
5465 cat > conftest.
$ac_ext <<EOF
5466 #line 5467 "configure"
5467 #include "confdefs.h"
5468 #include <sys/types.h>
5474 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5475 egrep "(^|[^a-zA-Z_0-9])ssize_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5477 ac_cv_type_ssize_t
=yes
5480 ac_cv_type_ssize_t
=no
5485 echo "$ac_t""$ac_cv_type_ssize_t" 1>&6
5486 if test $ac_cv_type_ssize_t = no
; then
5487 cat >> confdefs.h
<<\EOF
5493 echo $ac_n "checking for off_t""... $ac_c" 1>&6
5494 echo "configure:5495: checking for off_t" >&5
5495 if eval "test \"`echo '$''{'ac_cv_type_off_t'+set}'`\" = set"; then
5496 echo $ac_n "(cached) $ac_c" 1>&6
5498 cat > conftest.
$ac_ext <<EOF
5499 #line 5500 "configure"
5500 #include "confdefs.h"
5501 #include <sys/types.h>
5507 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5508 egrep "(^|[^a-zA-Z_0-9])off_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5510 ac_cv_type_off_t
=yes
5518 echo "$ac_t""$ac_cv_type_off_t" 1>&6
5519 if test $ac_cv_type_off_t = no
; then
5520 cat >> confdefs.h
<<\EOF
5526 echo $ac_n "checking for mode_t""... $ac_c" 1>&6
5527 echo "configure:5528: checking for mode_t" >&5
5528 if eval "test \"`echo '$''{'ac_cv_type_mode_t'+set}'`\" = set"; then
5529 echo $ac_n "(cached) $ac_c" 1>&6
5531 cat > conftest.
$ac_ext <<EOF
5532 #line 5533 "configure"
5533 #include "confdefs.h"
5534 #include <sys/types.h>
5540 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5541 egrep "(^|[^a-zA-Z_0-9])mode_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5543 ac_cv_type_mode_t
=yes
5546 ac_cv_type_mode_t
=no
5551 echo "$ac_t""$ac_cv_type_mode_t" 1>&6
5552 if test $ac_cv_type_mode_t = no
; then
5553 cat >> confdefs.h
<<\EOF
5554 #define mode_t u_short
5559 echo $ac_n "checking for fd_mask""... $ac_c" 1>&6
5560 echo "configure:5561: checking for fd_mask" >&5
5561 if eval "test \"`echo '$''{'ac_cv_type_fd_mask'+set}'`\" = set"; then
5562 echo $ac_n "(cached) $ac_c" 1>&6
5564 cat > conftest.
$ac_ext <<EOF
5565 #line 5566 "configure"
5566 #include "confdefs.h"
5567 #include <sys/types.h>
5573 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5574 egrep "(^|[^a-zA-Z_0-9])fd_mask[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5576 ac_cv_type_fd_mask
=yes
5579 ac_cv_type_fd_mask
=no
5584 echo "$ac_t""$ac_cv_type_fd_mask" 1>&6
5585 if test $ac_cv_type_fd_mask = no
; then
5586 cat >> confdefs.h
<<\EOF
5593 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
5594 # for constant arguments. Useless!
5595 echo $ac_n "checking for working alloca.h""... $ac_c" 1>&6
5596 echo "configure:5597: checking for working alloca.h" >&5
5597 if eval "test \"`echo '$''{'ac_cv_header_alloca_h'+set}'`\" = set"; then
5598 echo $ac_n "(cached) $ac_c" 1>&6
5600 cat > conftest.
$ac_ext <<EOF
5601 #line 5602 "configure"
5602 #include "confdefs.h"
5605 char *p = alloca(2 * sizeof(int));
5608 if { (eval echo configure
:5609: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5610 ac_cv_header_alloca_h
=yes
5612 echo "configure: failed program was:" >&5
5613 cat conftest.
$ac_ext >&5
5615 ac_cv_header_alloca_h
=no
5620 echo "$ac_t""$ac_cv_header_alloca_h" 1>&6
5621 if test $ac_cv_header_alloca_h = yes; then
5622 cat >> confdefs.h
<<\EOF
5623 #define HAVE_ALLOCA_H 1
5628 echo $ac_n "checking for alloca""... $ac_c" 1>&6
5629 echo "configure:5630: checking for alloca" >&5
5630 if eval "test \"`echo '$''{'ac_cv_func_alloca_works'+set}'`\" = set"; then
5631 echo $ac_n "(cached) $ac_c" 1>&6
5633 cat > conftest.
$ac_ext <<EOF
5634 #line 5635 "configure"
5635 #include "confdefs.h"
5638 # define alloca __builtin_alloca
5641 # include <malloc.h>
5642 # define alloca _alloca
5645 # include <alloca.h>
5650 # ifndef alloca /* predefined by HP cc +Olibcalls */
5659 char *p = (char *) alloca(1);
5662 if { (eval echo configure
:5663: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5664 ac_cv_func_alloca_works
=yes
5666 echo "configure: failed program was:" >&5
5667 cat conftest.
$ac_ext >&5
5669 ac_cv_func_alloca_works
=no
5674 echo "$ac_t""$ac_cv_func_alloca_works" 1>&6
5675 if test $ac_cv_func_alloca_works = yes; then
5676 cat >> confdefs.h
<<\EOF
5677 #define HAVE_ALLOCA 1
5682 if test $ac_cv_func_alloca_works = no
; then
5683 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
5684 # that cause trouble. Some versions do not even contain alloca or
5685 # contain a buggy version. If you still want to use their alloca,
5686 # use ar to extract alloca.o from them instead of compiling alloca.c.
5687 ALLOCA
=alloca.
${ac_objext}
5688 cat >> confdefs.h
<<\EOF
5693 echo $ac_n "checking whether alloca needs Cray hooks""... $ac_c" 1>&6
5694 echo "configure:5695: checking whether alloca needs Cray hooks" >&5
5695 if eval "test \"`echo '$''{'ac_cv_os_cray'+set}'`\" = set"; then
5696 echo $ac_n "(cached) $ac_c" 1>&6
5698 cat > conftest.
$ac_ext <<EOF
5699 #line 5700 "configure"
5700 #include "confdefs.h"
5701 #if defined(CRAY) && ! defined(CRAY2)
5708 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5709 egrep "webecray" >/dev
/null
2>&1; then
5720 echo "$ac_t""$ac_cv_os_cray" 1>&6
5721 if test $ac_cv_os_cray = yes; then
5722 for ac_func
in _getb67 GETB67 getb67
; do
5723 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
5724 echo "configure:5725: checking for $ac_func" >&5
5725 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
5726 echo $ac_n "(cached) $ac_c" 1>&6
5728 cat > conftest.
$ac_ext <<EOF
5729 #line 5730 "configure"
5730 #include "confdefs.h"
5731 /* System header to define __stub macros and hopefully few prototypes,
5732 which can conflict with char $ac_func(); below. */
5734 /* Override any gcc2 internal prototype to avoid an error. */
5735 /* We use char because int might match the return type of a gcc2
5736 builtin and then its argument prototype would still apply. */
5741 /* The GNU C library defines this for functions which it implements
5742 to always fail with ENOSYS. Some functions are actually named
5743 something starting with __ and the normal name is an alias. */
5744 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5752 if { (eval echo configure
:5753: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5754 eval "ac_cv_func_$ac_func=yes"
5756 echo "configure: failed program was:" >&5
5757 cat conftest.
$ac_ext >&5
5759 eval "ac_cv_func_$ac_func=no"
5764 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
5765 echo "$ac_t""yes" 1>&6
5766 cat >> confdefs.h
<<EOF
5767 #define CRAY_STACKSEG_END $ac_func
5772 echo "$ac_t""no" 1>&6
5778 echo $ac_n "checking stack direction for C alloca""... $ac_c" 1>&6
5779 echo "configure:5780: checking stack direction for C alloca" >&5
5780 if eval "test \"`echo '$''{'ac_cv_c_stack_direction'+set}'`\" = set"; then
5781 echo $ac_n "(cached) $ac_c" 1>&6
5783 if test "$cross_compiling" = yes; then
5784 ac_cv_c_stack_direction
=0
5786 cat > conftest.
$ac_ext <<EOF
5787 #line 5788 "configure"
5788 #include "confdefs.h"
5789 find_stack_direction ()
5791 static char *addr = 0;
5796 return find_stack_direction ();
5799 return (&dummy > addr) ? 1 : -1;
5803 exit (find_stack_direction() < 0);
5806 if { (eval echo configure
:5807: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
5808 ac_cv_c_stack_direction
=1
5810 echo "configure: failed program was:" >&5
5811 cat conftest.
$ac_ext >&5
5813 ac_cv_c_stack_direction
=-1
5820 echo "$ac_t""$ac_cv_c_stack_direction" 1>&6
5821 cat >> confdefs.h
<<EOF
5822 #define STACK_DIRECTION $ac_cv_c_stack_direction
5829 echo $ac_n "checking for socklen_t""... $ac_c" 1>&6
5830 echo "configure:5831: checking for socklen_t" >&5
5831 if eval "test \"`echo '$''{'ac_cv_type_socklen_t'+set}'`\" = set"; then
5832 echo $ac_n "(cached) $ac_c" 1>&6
5835 cat > conftest.
$ac_ext <<EOF
5836 #line 5837 "configure"
5837 #include "confdefs.h"
5838 #include <sys/types.h>
5839 #include <sys/socket.h>
5845 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5846 egrep "socklen_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5848 ac_cv_type_socklen_t
=yes
5851 ac_cv_type_socklen_t
=no
5858 echo "$ac_t""$ac_cv_type_socklen_t" 1>&6
5859 if test $ac_cv_type_socklen_t = no
; then
5860 cat >> confdefs.h
<<\EOF
5861 #define socklen_t int
5866 echo $ac_n "checking for mtyp_t""... $ac_c" 1>&6
5867 echo "configure:5868: checking for mtyp_t" >&5
5868 if eval "test \"`echo '$''{'ac_cv_type_mtyp_t'+set}'`\" = set"; then
5869 echo $ac_n "(cached) $ac_c" 1>&6
5872 cat > conftest.
$ac_ext <<EOF
5873 #line 5874 "configure"
5874 #include "confdefs.h"
5875 #include <sys/types.h>
5876 #include <sys/ipc.h>
5877 #include <sys/msg.h>
5879 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5880 egrep "mtyp_t[^a-zA-Z_0-9]" >/dev
/null
2>&1; then
5882 ac_cv_type_mtyp_t
=yes
5885 ac_cv_type_mtyp_t
=no
5892 echo "$ac_t""$ac_cv_type_mtyp_t" 1>&6
5893 if test $ac_cv_type_mtyp_t = no
; then
5894 cat >> confdefs.h
<<\EOF
5900 echo $ac_n "checking for main in -lnsl""... $ac_c" 1>&6
5901 echo "configure:5902: checking for main in -lnsl" >&5
5902 ac_lib_var
=`echo nsl'_'main | sed 'y%./+-%__p_%'`
5903 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5904 echo $ac_n "(cached) $ac_c" 1>&6
5906 ac_save_LIBS
="$LIBS"
5908 cat > conftest.
$ac_ext <<EOF
5909 #line 5910 "configure"
5910 #include "confdefs.h"
5916 if { (eval echo configure
:5917: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5918 eval "ac_cv_lib_$ac_lib_var=yes"
5920 echo "configure: failed program was:" >&5
5921 cat conftest.
$ac_ext >&5
5923 eval "ac_cv_lib_$ac_lib_var=no"
5926 LIBS
="$ac_save_LIBS"
5929 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5930 echo "$ac_t""yes" 1>&6
5931 ac_tr_lib
=HAVE_LIB
`echo nsl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5932 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5933 cat >> confdefs.h
<<EOF
5934 #define $ac_tr_lib 1
5940 echo "$ac_t""no" 1>&6
5943 echo $ac_n "checking for main in -lsocket""... $ac_c" 1>&6
5944 echo "configure:5945: checking for main in -lsocket" >&5
5945 ac_lib_var
=`echo socket'_'main | sed 'y%./+-%__p_%'`
5946 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
5947 echo $ac_n "(cached) $ac_c" 1>&6
5949 ac_save_LIBS
="$LIBS"
5950 LIBS
="-lsocket $LIBS"
5951 cat > conftest.
$ac_ext <<EOF
5952 #line 5953 "configure"
5953 #include "confdefs.h"
5959 if { (eval echo configure
:5960: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
5961 eval "ac_cv_lib_$ac_lib_var=yes"
5963 echo "configure: failed program was:" >&5
5964 cat conftest.
$ac_ext >&5
5966 eval "ac_cv_lib_$ac_lib_var=no"
5969 LIBS
="$ac_save_LIBS"
5972 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
5973 echo "$ac_t""yes" 1>&6
5974 ac_tr_lib
=HAVE_LIB
`echo socket | sed -e 's/[^a-zA-Z0-9_]/_/g' \
5975 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
5976 cat >> confdefs.h
<<EOF
5977 #define $ac_tr_lib 1
5980 LIBS
="-lsocket $LIBS"
5983 echo "$ac_t""no" 1>&6
5987 echo $ac_n "checking for unix domain sockets""... $ac_c" 1>&6
5988 echo "configure:5989: checking for unix domain sockets" >&5
5989 if eval "test \"`echo '$''{'squid_cv_unixsocket'+set}'`\" = set"; then
5990 echo $ac_n "(cached) $ac_c" 1>&6
5993 cat > conftest.
$ac_ext <<EOF
5994 #line 5995 "configure"
5995 #include "confdefs.h"
5997 #include <sys/types.h>
6000 #include <sys/socket.h>
6004 struct sockaddr_un sunaddr;
6005 sunaddr.sun_family = AF_UNIX;
6009 if { (eval echo configure
:6010: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
6011 squid_cv_unixsocket
=yes
6013 echo "configure: failed program was:" >&5
6014 cat conftest.
$ac_ext >&5
6016 squid_cv_unixsocket
=no
6021 echo "$ac_t""$squid_cv_unixsocket" 1>&6
6022 if test x
"$squid_cv_unixsocket" = x
"yes"; then
6023 cat >> confdefs.h
<<\EOF
6024 #define HAVE_UNIXSOCKET 1
6029 if test "x$ac_cv_enabled_dlmalloc" = "xyes" ; then
6030 echo "skipping libmalloc check (--enable-dlmalloc specified)"
6032 echo $ac_n "checking for main in -lgnumalloc""... $ac_c" 1>&6
6033 echo "configure:6034: checking for main in -lgnumalloc" >&5
6034 ac_lib_var
=`echo gnumalloc'_'main | sed 'y%./+-%__p_%'`
6035 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6036 echo $ac_n "(cached) $ac_c" 1>&6
6038 ac_save_LIBS
="$LIBS"
6039 LIBS
="-lgnumalloc $LIBS"
6040 cat > conftest.
$ac_ext <<EOF
6041 #line 6042 "configure"
6042 #include "confdefs.h"
6048 if { (eval echo configure
:6049: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6050 eval "ac_cv_lib_$ac_lib_var=yes"
6052 echo "configure: failed program was:" >&5
6053 cat conftest.
$ac_ext >&5
6055 eval "ac_cv_lib_$ac_lib_var=no"
6058 LIBS
="$ac_save_LIBS"
6061 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6062 echo "$ac_t""yes" 1>&6
6063 ac_tr_lib
=HAVE_LIB
`echo gnumalloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6064 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6065 cat >> confdefs.h
<<EOF
6066 #define $ac_tr_lib 1
6069 LIBS
="-lgnumalloc $LIBS"
6072 echo "$ac_t""no" 1>&6
6075 if test "$ac_cv_lib_gnumalloc_main" = "yes"; then
6076 echo "Disabling extended malloc functions when using gnumalloc"
6077 ac_cv_func_mallinfo
=no
6078 ac_cv_func_mallocblksize
=no
6079 ac_cv_func_mallopt
=no
6083 echo "skipping libmalloc check for $host"
6086 echo "skipping libmalloc check for $host"
6090 echo $ac_n "checking for main in -lmalloc""... $ac_c" 1>&6
6091 echo "configure:6092: checking for main in -lmalloc" >&5
6092 ac_lib_var
=`echo malloc'_'main | sed 'y%./+-%__p_%'`
6093 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6094 echo $ac_n "(cached) $ac_c" 1>&6
6096 ac_save_LIBS
="$LIBS"
6097 LIBS
="-lmalloc $LIBS"
6098 cat > conftest.
$ac_ext <<EOF
6099 #line 6100 "configure"
6100 #include "confdefs.h"
6106 if { (eval echo configure
:6107: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6108 eval "ac_cv_lib_$ac_lib_var=yes"
6110 echo "configure: failed program was:" >&5
6111 cat conftest.
$ac_ext >&5
6113 eval "ac_cv_lib_$ac_lib_var=no"
6116 LIBS
="$ac_save_LIBS"
6119 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6120 echo "$ac_t""yes" 1>&6
6121 ac_tr_lib
=HAVE_LIB
`echo malloc | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6122 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6123 cat >> confdefs.h
<<EOF
6124 #define $ac_tr_lib 1
6127 LIBS
="-lmalloc $LIBS"
6130 echo "$ac_t""no" 1>&6
6138 echo $ac_n "checking for main in -lbsd""... $ac_c" 1>&6
6139 echo "configure:6140: checking for main in -lbsd" >&5
6140 ac_lib_var
=`echo bsd'_'main | sed 'y%./+-%__p_%'`
6141 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6142 echo $ac_n "(cached) $ac_c" 1>&6
6144 ac_save_LIBS
="$LIBS"
6146 cat > conftest.
$ac_ext <<EOF
6147 #line 6148 "configure"
6148 #include "confdefs.h"
6154 if { (eval echo configure
:6155: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6156 eval "ac_cv_lib_$ac_lib_var=yes"
6158 echo "configure: failed program was:" >&5
6159 cat conftest.
$ac_ext >&5
6161 eval "ac_cv_lib_$ac_lib_var=no"
6164 LIBS
="$ac_save_LIBS"
6167 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6168 echo "$ac_t""yes" 1>&6
6169 ac_tr_lib
=HAVE_LIB
`echo bsd | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6170 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6171 cat >> confdefs.h
<<EOF
6172 #define $ac_tr_lib 1
6178 echo "$ac_t""no" 1>&6
6181 echo $ac_n "checking for main in -lregex""... $ac_c" 1>&6
6182 echo "configure:6183: checking for main in -lregex" >&5
6183 ac_lib_var
=`echo regex'_'main | sed 'y%./+-%__p_%'`
6184 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6185 echo $ac_n "(cached) $ac_c" 1>&6
6187 ac_save_LIBS
="$LIBS"
6188 LIBS
="-lregex $LIBS"
6189 cat > conftest.
$ac_ext <<EOF
6190 #line 6191 "configure"
6191 #include "confdefs.h"
6197 if { (eval echo configure
:6198: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6199 eval "ac_cv_lib_$ac_lib_var=yes"
6201 echo "configure: failed program was:" >&5
6202 cat conftest.
$ac_ext >&5
6204 eval "ac_cv_lib_$ac_lib_var=no"
6207 LIBS
="$ac_save_LIBS"
6210 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6211 echo "$ac_t""yes" 1>&6
6214 echo "$ac_t""no" 1>&6
6217 echo $ac_n "checking for gethostbyname in -lbind""... $ac_c" 1>&6
6218 echo "configure:6219: checking for gethostbyname in -lbind" >&5
6219 ac_lib_var
=`echo bind'_'gethostbyname | sed 'y%./+-%__p_%'`
6220 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6221 echo $ac_n "(cached) $ac_c" 1>&6
6223 ac_save_LIBS
="$LIBS"
6225 cat > conftest.
$ac_ext <<EOF
6226 #line 6227 "configure"
6227 #include "confdefs.h"
6228 /* Override any gcc2 internal prototype to avoid an error. */
6229 /* We use char because int might match the return type of a gcc2
6230 builtin and then its argument prototype would still apply. */
6231 char gethostbyname();
6237 if { (eval echo configure
:6238: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6239 eval "ac_cv_lib_$ac_lib_var=yes"
6241 echo "configure: failed program was:" >&5
6242 cat conftest.
$ac_ext >&5
6244 eval "ac_cv_lib_$ac_lib_var=no"
6247 LIBS
="$ac_save_LIBS"
6250 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6251 echo "$ac_t""yes" 1>&6
6252 ac_tr_lib
=HAVE_LIB
`echo bind | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6253 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6254 cat >> confdefs.h
<<EOF
6255 #define $ac_tr_lib 1
6261 echo "$ac_t""no" 1>&6
6264 if test $ac_cv_lib_bind_gethostbyname = "no" ; then
6267 echo "skipping libresolv checks for $host"
6270 echo $ac_n "checking for inet_aton in -lresolv""... $ac_c" 1>&6
6271 echo "configure:6272: checking for inet_aton in -lresolv" >&5
6272 ac_lib_var
=`echo resolv'_'inet_aton | sed 'y%./+-%__p_%'`
6273 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6274 echo $ac_n "(cached) $ac_c" 1>&6
6276 ac_save_LIBS
="$LIBS"
6277 LIBS
="-lresolv $LIBS"
6278 cat > conftest.
$ac_ext <<EOF
6279 #line 6280 "configure"
6280 #include "confdefs.h"
6281 /* Override any gcc2 internal prototype to avoid an error. */
6282 /* We use char because int might match the return type of a gcc2
6283 builtin and then its argument prototype would still apply. */
6290 if { (eval echo configure
:6291: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6292 eval "ac_cv_lib_$ac_lib_var=yes"
6294 echo "configure: failed program was:" >&5
6295 cat conftest.
$ac_ext >&5
6297 eval "ac_cv_lib_$ac_lib_var=no"
6300 LIBS
="$ac_save_LIBS"
6303 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6304 echo "$ac_t""yes" 1>&6
6305 echo $ac_n "checking for inet_aton in -l44bsd""... $ac_c" 1>&6
6306 echo "configure:6307: checking for inet_aton in -l44bsd" >&5
6307 ac_lib_var
=`echo 44bsd'_'inet_aton | sed 'y%./+-%__p_%'`
6308 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6309 echo $ac_n "(cached) $ac_c" 1>&6
6311 ac_save_LIBS
="$LIBS"
6312 LIBS
="-l44bsd $LIBS"
6313 cat > conftest.
$ac_ext <<EOF
6314 #line 6315 "configure"
6315 #include "confdefs.h"
6316 /* Override any gcc2 internal prototype to avoid an error. */
6317 /* We use char because int might match the return type of a gcc2
6318 builtin and then its argument prototype would still apply. */
6325 if { (eval echo configure
:6326: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6327 eval "ac_cv_lib_$ac_lib_var=yes"
6329 echo "configure: failed program was:" >&5
6330 cat conftest.
$ac_ext >&5
6332 eval "ac_cv_lib_$ac_lib_var=no"
6335 LIBS
="$ac_save_LIBS"
6338 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6339 echo "$ac_t""yes" 1>&6
6340 ac_tr_lib
=HAVE_LIB
`echo 44bsd | sed -e 's/^a-zA-Z0-9_/_/g' \
6341 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6342 cat >> confdefs.h
<<EOF
6343 #define $ac_tr_lib 1
6346 LIBS
="-l44bsd $LIBS"
6349 echo "$ac_t""no" 1>&6
6353 echo "$ac_t""no" 1>&6
6356 echo $ac_n "checking for main in -lresolv""... $ac_c" 1>&6
6357 echo "configure:6358: checking for main in -lresolv" >&5
6358 ac_lib_var
=`echo resolv'_'main | sed 'y%./+-%__p_%'`
6359 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6360 echo $ac_n "(cached) $ac_c" 1>&6
6362 ac_save_LIBS
="$LIBS"
6363 LIBS
="-lresolv $LIBS"
6364 cat > conftest.
$ac_ext <<EOF
6365 #line 6366 "configure"
6366 #include "confdefs.h"
6372 if { (eval echo configure
:6373: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6374 eval "ac_cv_lib_$ac_lib_var=yes"
6376 echo "configure: failed program was:" >&5
6377 cat conftest.
$ac_ext >&5
6379 eval "ac_cv_lib_$ac_lib_var=no"
6382 LIBS
="$ac_save_LIBS"
6385 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6386 echo "$ac_t""yes" 1>&6
6387 ac_tr_lib
=HAVE_LIB
`echo resolv | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6388 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6389 cat >> confdefs.h
<<EOF
6390 #define $ac_tr_lib 1
6393 LIBS
="-lresolv $LIBS"
6396 echo "$ac_t""no" 1>&6
6402 echo $ac_n "checking for main in -lm""... $ac_c" 1>&6
6403 echo "configure:6404: checking for main in -lm" >&5
6404 ac_lib_var
=`echo m'_'main | sed 'y%./+-%__p_%'`
6405 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6406 echo $ac_n "(cached) $ac_c" 1>&6
6408 ac_save_LIBS
="$LIBS"
6410 cat > conftest.
$ac_ext <<EOF
6411 #line 6412 "configure"
6412 #include "confdefs.h"
6418 if { (eval echo configure
:6419: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6420 eval "ac_cv_lib_$ac_lib_var=yes"
6422 echo "configure: failed program was:" >&5
6423 cat conftest.
$ac_ext >&5
6425 eval "ac_cv_lib_$ac_lib_var=no"
6428 LIBS
="$ac_save_LIBS"
6431 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6432 echo "$ac_t""yes" 1>&6
6433 ac_tr_lib
=HAVE_LIB
`echo m | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6434 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6435 cat >> confdefs.h
<<EOF
6436 #define $ac_tr_lib 1
6442 echo "$ac_t""no" 1>&6
6446 echo $ac_n "checking for crypt in -lcrypt""... $ac_c" 1>&6
6447 echo "configure:6448: checking for crypt in -lcrypt" >&5
6448 ac_lib_var
=`echo crypt'_'crypt | sed 'y%./+-%__p_%'`
6449 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6450 echo $ac_n "(cached) $ac_c" 1>&6
6452 ac_save_LIBS
="$LIBS"
6453 LIBS
="-lcrypt $LIBS"
6454 cat > conftest.
$ac_ext <<EOF
6455 #line 6456 "configure"
6456 #include "confdefs.h"
6457 /* Override any gcc2 internal prototype to avoid an error. */
6458 /* We use char because int might match the return type of a gcc2
6459 builtin and then its argument prototype would still apply. */
6466 if { (eval echo configure
:6467: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6468 eval "ac_cv_lib_$ac_lib_var=yes"
6470 echo "configure: failed program was:" >&5
6471 cat conftest.
$ac_ext >&5
6473 eval "ac_cv_lib_$ac_lib_var=no"
6476 LIBS
="$ac_save_LIBS"
6479 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6480 echo "$ac_t""yes" 1>&6
6483 echo "$ac_t""no" 1>&6
6488 echo $ac_n "checking for dlopen in -ldl""... $ac_c" 1>&6
6489 echo "configure:6490: checking for dlopen in -ldl" >&5
6490 ac_lib_var
=`echo dl'_'dlopen | sed 'y%./+-%__p_%'`
6491 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6492 echo $ac_n "(cached) $ac_c" 1>&6
6494 ac_save_LIBS
="$LIBS"
6496 cat > conftest.
$ac_ext <<EOF
6497 #line 6498 "configure"
6498 #include "confdefs.h"
6499 /* Override any gcc2 internal prototype to avoid an error. */
6500 /* We use char because int might match the return type of a gcc2
6501 builtin and then its argument prototype would still apply. */
6508 if { (eval echo configure
:6509: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6510 eval "ac_cv_lib_$ac_lib_var=yes"
6512 echo "configure: failed program was:" >&5
6513 cat conftest.
$ac_ext >&5
6515 eval "ac_cv_lib_$ac_lib_var=no"
6518 LIBS
="$ac_save_LIBS"
6521 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6522 echo "$ac_t""yes" 1>&6
6525 echo "$ac_t""no" 1>&6
6530 echo $ac_n "checking for main in -lpthread""... $ac_c" 1>&6
6531 echo "configure:6532: checking for main in -lpthread" >&5
6532 ac_lib_var
=`echo pthread'_'main | sed 'y%./+-%__p_%'`
6533 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6534 echo $ac_n "(cached) $ac_c" 1>&6
6536 ac_save_LIBS
="$LIBS"
6537 LIBS
="-lpthread $LIBS"
6538 cat > conftest.
$ac_ext <<EOF
6539 #line 6540 "configure"
6540 #include "confdefs.h"
6546 if { (eval echo configure
:6547: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6548 eval "ac_cv_lib_$ac_lib_var=yes"
6550 echo "configure: failed program was:" >&5
6551 cat conftest.
$ac_ext >&5
6553 eval "ac_cv_lib_$ac_lib_var=no"
6556 LIBS
="$ac_save_LIBS"
6559 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6560 echo "$ac_t""yes" 1>&6
6561 PTHREADLIB
="-lpthread"
6563 echo "$ac_t""no" 1>&6
6568 echo $ac_n "checking for aio_read in -lrt""... $ac_c" 1>&6
6569 echo "configure:6570: checking for aio_read in -lrt" >&5
6570 ac_lib_var
=`echo rt'_'aio_read | sed 'y%./+-%__p_%'`
6571 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6572 echo $ac_n "(cached) $ac_c" 1>&6
6574 ac_save_LIBS
="$LIBS"
6576 cat > conftest.
$ac_ext <<EOF
6577 #line 6578 "configure"
6578 #include "confdefs.h"
6579 /* Override any gcc2 internal prototype to avoid an error. */
6580 /* We use char because int might match the return type of a gcc2
6581 builtin and then its argument prototype would still apply. */
6588 if { (eval echo configure
:6589: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6590 eval "ac_cv_lib_$ac_lib_var=yes"
6592 echo "configure: failed program was:" >&5
6593 cat conftest.
$ac_ext >&5
6595 eval "ac_cv_lib_$ac_lib_var=no"
6598 LIBS
="$ac_save_LIBS"
6601 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6602 echo "$ac_t""yes" 1>&6
6605 echo "$ac_t""no" 1>&6
6612 echo $ac_n "checking for strftime in -lintl""... $ac_c" 1>&6
6613 echo "configure:6614: checking for strftime in -lintl" >&5
6614 ac_lib_var
=`echo intl'_'strftime | sed 'y%./+-%__p_%'`
6615 if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
6616 echo $ac_n "(cached) $ac_c" 1>&6
6618 ac_save_LIBS
="$LIBS"
6620 cat > conftest.
$ac_ext <<EOF
6621 #line 6622 "configure"
6622 #include "confdefs.h"
6623 /* Override any gcc2 internal prototype to avoid an error. */
6624 /* We use char because int might match the return type of a gcc2
6625 builtin and then its argument prototype would still apply. */
6632 if { (eval echo configure
:6633: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6634 eval "ac_cv_lib_$ac_lib_var=yes"
6636 echo "configure: failed program was:" >&5
6637 cat conftest.
$ac_ext >&5
6639 eval "ac_cv_lib_$ac_lib_var=no"
6642 LIBS
="$ac_save_LIBS"
6645 if eval "test \"`echo '$ac_cv_lib_'$ac_lib_var`\" = yes"; then
6646 echo "$ac_t""yes" 1>&6
6647 ac_tr_lib
=HAVE_LIB
`echo intl | sed -e 's/[^a-zA-Z0-9_]/_/g' \
6648 -e 'y/abcdefghijklmnopqrstuvwxyz/ABCDEFGHIJKLMNOPQRSTUVWXYZ/'`
6649 cat >> confdefs.h
<<EOF
6650 #define $ac_tr_lib 1
6656 echo "$ac_t""no" 1>&6
6664 if test "$GCC" = "yes"; then
6665 echo "Removing -O for gcc on $host"
6666 CFLAGS
="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
6670 echo "Removing -lsocket for IRIX..."
6671 LIBS
=`echo $LIBS | sed -e s/-lsocket//`
6672 echo "Removing -lnsl for IRIX..."
6673 LIBS
=`echo $LIBS | sed -e s/-lnsl//`
6674 ac_cv_lib_nsl_main
=no
6675 echo "Removing -lbsd for IRIX..."
6676 LIBS
=`echo $LIBS | sed -e s/-lbsd//`
6679 echo "Removing -lbsd for AIX..."
6680 LIBS
=`echo $LIBS | sed -e s/-lbsd//`
6681 echo "disabling snprintf/vsnprintf for $host"
6682 ac_cv_func_snprintf
=no
6683 ac_cv_func_vsnprintf
=no
6686 CFLAGS
="$CFLAGS -D_SQUID_MOTOROLA_"
6687 cat >> confdefs.h
<<\EOF
6688 #define GETTIMEOFDAY_NO_TZP 1
6693 cat >> confdefs.h
<<\EOF
6694 #define GETTIMEOFDAY_NO_TZP 1
6699 cat >> confdefs.h
<<\EOF
6700 #define GETTIMEOFDAY_NO_TZP 1
6706 # Remove optimization for GCC 2.95.[123]
6707 # gcc -O[2] on *BSD and Linux (x86) causes pointers to magically become NULL
6708 if test "$GCC" = "yes"; then
6709 GCCVER
=`$CC -v 2>&1 | awk '$2 == "version" {print $3}'`
6712 echo "Removing -O for gcc on $host with GCC $GCCVER"
6713 CFLAGS
="`echo $CFLAGS | sed -e 's/-O[0-9]*//'`"
6718 # Recommended by Balint Nagy Endre <bne@CareNet.hu>
6721 if test `uname -v` = "2.03"; then
6722 echo "disabling mallinfo for $host"
6723 ac_cv_func_mallinfo
=no
6728 # Disable poll() on certain platforms. Override by setting ac_cv_func_poll
6729 # when running configure.
6730 if test -z "$ac_cv_func_poll"; then
6733 # John Kay (jkay@nlanr.net) 19970818
6734 echo "disabling poll for $host..."
6735 ac_cv_func_poll
='no'
6739 echo "disabling poll for $host..."
6740 ac_cv_func_poll
='no'
6743 # Henrik Nordstrom (hno@squid-cache.org) 19980817
6744 # poll is problematic on Linux. We disable it
6745 # by default until Linux gets it right.
6746 rev=`uname -r | awk -F. '{printf "%03d%03d",$1,$2}'`
6747 if test $rev -lt 002002; then
6748 echo "disabling poll for $host < 2.2..."
6749 ac_cv_func_poll
='no'
6752 powerpc-ibm-aix4.1.
*)
6753 # Mike Laster (mlaster@metavillage.com) 19981021
6754 echo "disabling poll for $host..."
6755 ac_cv_func_poll
='no'
6758 # Robert Side <rside@aiinc.bc.ca>
6759 # Mon, 18 Jan 1999 17:48:00 GMT
6760 echo "disabling poll for $host..."
6761 ac_cv_func_poll
='no'
6768 backtrace_symbols_fd \
6786 pthread_attr_setscope \
6787 pthread_setschedparam \
6788 pthread_attr_setschedparam \
6816 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
6817 echo "configure:6818: checking for $ac_func" >&5
6818 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
6819 echo $ac_n "(cached) $ac_c" 1>&6
6821 cat > conftest.
$ac_ext <<EOF
6822 #line 6823 "configure"
6823 #include "confdefs.h"
6824 /* System header to define __stub macros and hopefully few prototypes,
6825 which can conflict with char $ac_func(); below. */
6827 /* Override any gcc2 internal prototype to avoid an error. */
6828 /* We use char because int might match the return type of a gcc2
6829 builtin and then its argument prototype would still apply. */
6834 /* The GNU C library defines this for functions which it implements
6835 to always fail with ENOSYS. Some functions are actually named
6836 something starting with __ and the normal name is an alias. */
6837 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6845 if { (eval echo configure
:6846: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
6847 eval "ac_cv_func_$ac_func=yes"
6849 echo "configure: failed program was:" >&5
6850 cat conftest.
$ac_ext >&5
6852 eval "ac_cv_func_$ac_func=no"
6857 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
6858 echo "$ac_t""yes" 1>&6
6859 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
6860 cat >> confdefs.h
<<EOF
6861 #define $ac_tr_func 1
6865 echo "$ac_t""no" 1>&6
6872 if test "$ac_cv_func_poll" = "yes" ; then
6874 cat >> confdefs.h
<<\EOF
6878 elif test "$ac_cv_func_select" = "yes" ; then
6879 SELECT_TYPE
="select"
6880 cat >> confdefs.h
<<\EOF
6881 #define USE_SELECT 1
6885 echo "Eep! Can't find poll or select!"
6886 echo "I'll try select and hope for the best."
6887 SELECT_TYPE
="select"
6888 cat >> confdefs.h
<<\EOF
6889 #define USE_SELECT 1
6893 echo "Using ${SELECT_TYPE} for select loop."
6894 cat >> confdefs.h
<<EOF
6895 #define SELECT_TYPE "$SELECT_TYPE"
6900 echo $ac_n "checking if setresuid is implemented""... $ac_c" 1>&6
6901 echo "configure:6902: checking if setresuid is implemented" >&5
6902 if eval "test \"`echo '$''{'ac_cv_func_setresuid'+set}'`\" = set"; then
6903 echo $ac_n "(cached) $ac_c" 1>&6
6905 if test "$cross_compiling" = yes; then
6906 { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
6908 cat > conftest.
$ac_ext <<EOF
6909 #line 6910 "configure"
6910 #include "confdefs.h"
6914 if(setresuid(-1,-1,-1)) {
6915 perror("setresuid:");
6922 if { (eval echo configure
:6923: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
6924 ac_cv_func_setresuid
="yes"
6926 echo "configure: failed program was:" >&5
6927 cat conftest.
$ac_ext >&5
6929 ac_cv_func_setresuid
="no"
6937 echo "$ac_t""$ac_cv_func_setresuid" 1>&6
6938 if test "$ac_cv_func_setresuid" = "yes" ; then
6939 cat >> confdefs.h
<<\EOF
6940 #define HAVE_SETRESUID 1
6948 NEED_OWN_SNPRINTF_TRUE
=
6949 NEED_OWN_SNPRINTF_FALSE
='#'
6951 NEED_OWN_SNPRINTF_TRUE
='#'
6952 NEED_OWN_SNPRINTF_FALSE
=
6954 if test "$ac_cv_func_snprintf" = "no" ||
test "$ac_cv_func_vsnprintf" = "no" ; then
6958 NEED_OWN_SNPRINTF_TRUE
=
6959 NEED_OWN_SNPRINTF_FALSE
='#'
6961 NEED_OWN_SNPRINTF_TRUE
='#'
6962 NEED_OWN_SNPRINTF_FALSE
=
6966 if test "$IPF_TRANSPARENT" ; then
6967 echo $ac_n "checking if IP-Filter header files are installed""... $ac_c" 1>&6
6968 echo "configure:6969: checking if IP-Filter header files are installed" >&5
6969 # hold on to your hats...
6970 if test "$ac_cv_header_ip_compat_h" = "yes" ||
6971 test "$ac_cv_header_ip_fil_compat_h" = "yes" ||
6972 test "$ac_cv_header_netinet_ip_compat_h" = "yes" ||
6973 test "$ac_cv_header_netinet_ip_fil_compat_h" = "yes" ; then
6974 have_ipfilter_compat_header
="yes"
6976 if test "x$have_ipfilter_compat_header" = "xyes" &&
6977 test "$ac_cv_header_ip_fil_h" = "yes" &&
6978 test "$ac_cv_header_ip_nat_h" = "yes" ; then
6979 IPF_TRANSPARENT
="yes"
6980 cat >> confdefs.h
<<\EOF
6981 #define IPF_TRANSPARENT 1
6984 elif test "$have_ipfilter_compat_header" = "yes" &&
6985 test "$ac_cv_header_netinet_ip_fil_h" = "yes" &&
6986 test "$ac_cv_header_netinet_ip_nat_h" = "yes" ; then
6987 IPF_TRANSPARENT
="yes"
6988 cat >> confdefs.h
<<\EOF
6989 #define IPF_TRANSPARENT 1
6993 IPF_TRANSPARENT
="no"
6994 cat >> confdefs.h
<<\EOF
6995 #define IPF_TRANSPARENT 0
6999 echo "$ac_t""$IPF_TRANSPARENT" 1>&6
7001 if test "$IPF_TRANSPARENT" = "no" ; then
7002 echo "WARNING: Cannot find necessary IP-Filter header files"
7003 echo " Transparent Proxy support WILL NOT be enabled"
7007 if test "$LINUX_NETFILTER" ; then
7008 echo $ac_n "checking if Linux 2.4 kernel header files are installed""... $ac_c" 1>&6
7009 echo "configure:7010: checking if Linux 2.4 kernel header files are installed" >&5
7010 # hold on to your hats...
7011 if test "$ac_cv_header_linux_netfilter_ipv4_h" = "yes"; then
7012 LINUX_NETFILTER
="yes"
7013 cat >> confdefs.h
<<\EOF
7014 #define LINUX_NETFILTER 1
7018 LINUX_NETFILTER
="no"
7019 cat >> confdefs.h
<<\EOF
7020 #define LINUX_NETFILTER 0
7024 echo "$ac_t""$LINUX_NETFILTER" 1>&6
7026 if test "$LINUX_NETFILTER" = "no" ; then
7027 echo "WARNING: Cannot find necessary Linux 2.4 kernel header files"
7028 echo " Linux 2.4 Transparent Proxy support WILL NOT be enabled"
7032 if test -z "$USE_GNUREGEX" ; then
7034 *-sun-solaris2.
[0-4])
7042 echo $ac_n "checking if GNUregex needs to be compiled""... $ac_c" 1>&6
7043 echo "configure:7044: checking if GNUregex needs to be compiled" >&5
7044 if test -z "$USE_GNUREGEX"; then
7045 if test "$ac_cv_func_regcomp" = "no" ||
test "$USE_GNUREGEX" = "yes" ; then
7048 cat > conftest.
$ac_ext <<EOF
7049 #line 7050 "configure"
7050 #include "confdefs.h"
7051 #include <sys/types.h>
7054 regex_t t; regcomp(&t,"",0);
7057 if { (eval echo configure
:7058: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7061 echo "configure: failed program was:" >&5
7062 cat conftest.
$ac_ext >&5
7069 echo "$ac_t""$USE_GNUREGEX" 1>&6
7070 if test "$USE_GNUREGEX" = "yes"; then
7072 LIBREGEX
="libregex.a"
7073 cat >> confdefs.h
<<\EOF
7074 #define USE_GNUREGEX 1
7087 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
7088 echo "configure:7089: checking for $ac_func" >&5
7089 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
7090 echo $ac_n "(cached) $ac_c" 1>&6
7092 cat > conftest.
$ac_ext <<EOF
7093 #line 7094 "configure"
7094 #include "confdefs.h"
7095 /* System header to define __stub macros and hopefully few prototypes,
7096 which can conflict with char $ac_func(); below. */
7098 /* Override any gcc2 internal prototype to avoid an error. */
7099 /* We use char because int might match the return type of a gcc2
7100 builtin and then its argument prototype would still apply. */
7105 /* The GNU C library defines this for functions which it implements
7106 to always fail with ENOSYS. Some functions are actually named
7107 something starting with __ and the normal name is an alias. */
7108 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
7116 if { (eval echo configure
:7117: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7118 eval "ac_cv_func_$ac_func=yes"
7120 echo "configure: failed program was:" >&5
7121 cat conftest.
$ac_ext >&5
7123 eval "ac_cv_func_$ac_func=no"
7128 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
7129 echo "$ac_t""yes" 1>&6
7130 ac_tr_func
=HAVE_
`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
7131 cat >> confdefs.h
<<EOF
7132 #define $ac_tr_func 1
7136 echo "$ac_t""no" 1>&6
7137 LIBOBJS
="$LIBOBJS ${ac_func}.${ac_objext}"
7143 echo $ac_n "checking Default FD_SETSIZE value""... $ac_c" 1>&6
7144 echo "configure:7145: checking Default FD_SETSIZE value" >&5
7145 if test "$cross_compiling" = yes; then
7146 DEFAULT_FD_SETSIZE
=256
7148 cat > conftest.
$ac_ext <<EOF
7149 #line 7150 "configure"
7150 #include "confdefs.h"
7159 #include <sys/time.h>
7161 #if HAVE_SYS_SELECT_H
7162 #include <sys/select.h>
7164 #if HAVE_SYS_TYPES_H
7165 #include <sys/types.h>
7168 FILE *fp = fopen("conftestval", "w");
7169 fprintf (fp, "%d\n", FD_SETSIZE);
7174 if { (eval echo configure
:7175: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7176 DEFAULT_FD_SETSIZE
=`cat conftestval`
7178 echo "configure: failed program was:" >&5
7179 cat conftest.
$ac_ext >&5
7181 DEFAULT_FD_SETSIZE
=256
7186 echo "$ac_t""$DEFAULT_FD_SETSIZE" 1>&6
7187 cat >> confdefs.h
<<EOF
7188 #define DEFAULT_FD_SETSIZE $DEFAULT_FD_SETSIZE
7192 echo $ac_n "checking Maximum number of filedescriptors we can open""... $ac_c" 1>&6
7193 echo "configure:7194: checking Maximum number of filedescriptors we can open" >&5
7196 i386-unknown-freebsd
*)
7197 if echo "$LDFLAGS" |
grep -q pthread
; then
7198 LDFLAGS
=`echo $LDFLAGS | sed -e "s/-pthread//"`
7201 if test "$cross_compiling" = yes; then
7204 cat > conftest.
$ac_ext <<EOF
7205 #line 7206 "configure"
7206 #include "confdefs.h"
7210 #include <sys/time.h> /* needed on FreeBSD */
7211 #include <sys/param.h>
7212 #include <sys/resource.h>
7216 #if defined(__CYGWIN32__) || defined (__CYGWIN__)
7217 /* getrlimit and sysconf returns bogous values on cygwin32.
7218 * Number of fds is virtually unlimited in cygwin (sys/param.h)
7219 * __CYGWIN32__ is deprecated.
7225 #if defined(RLIMIT_NOFILE)
7226 if (getrlimit(RLIMIT_NOFILE, &rl) < 0) {
7227 perror("getrlimit: RLIMIT_NOFILE");
7229 rl.rlim_cur = rl.rlim_max; /* set it to the max */
7230 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) {
7231 perror("setrlimit: RLIMIT_NOFILE");
7234 #elif defined(RLIMIT_OFILE)
7235 if (getrlimit(RLIMIT_OFILE, &rl) < 0) {
7236 perror("getrlimit: RLIMIT_OFILE");
7238 rl.rlim_cur = rl.rlim_max; /* set it to the max */
7239 if (setrlimit(RLIMIT_OFILE, &rl) < 0) {
7240 perror("setrlimit: RLIMIT_OFILE");
7243 #endif /* RLIMIT_NOFILE */
7244 #endif /* HAVE_SETRLIMIT */
7245 /* by starting at 2^14, we will never get higher
7246 than 2^15 for SQUID_MAXFD */
7250 if (dup2(0, i) < 0) {
7258 #endif /* IF !DEF CYGWIN */
7259 fp = fopen("conftestval", "w");
7260 fprintf (fp, "%d\n", i);
7265 if { (eval echo configure
:7266: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7267 SQUID_MAXFD
=`cat conftestval`
7269 echo "configure: failed program was:" >&5
7270 cat conftest.
$ac_ext >&5
7277 echo "$ac_t""$SQUID_MAXFD" 1>&6
7278 cat >> confdefs.h
<<EOF
7279 #define SQUID_MAXFD $SQUID_MAXFD
7282 if test "$SQUID_MAXFD" -lt 512 ; then
7283 echo "WARNING: $SQUID_MAXFD may not be enough filedescriptors if your"
7284 echo " cache will be very busy. Please see the FAQ page"
7285 echo " http://www.squid-cache.org/FAQ/FAQ-11.html#filedescriptors"
7286 echo " on how to increase your filedescriptor limit"
7291 echo $ac_n "checking Default UDP send buffer size""... $ac_c" 1>&6
7292 echo "configure:7293: checking Default UDP send buffer size" >&5
7293 if test "$cross_compiling" = yes; then
7294 SQUID_UDP_SO_SNDBUF
=16384
7296 cat > conftest.
$ac_ext <<EOF
7297 #line 7298 "configure"
7298 #include "confdefs.h"
7302 #include <sys/types.h>
7303 #include <sys/socket.h>
7304 #include <netinet/in.h>
7308 int fd,val=0,len=sizeof(int);
7309 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
7310 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
7311 if (val<=0) exit(1);
7312 fp = fopen("conftestval", "w");
7313 fprintf (fp, "%d\n", val);
7318 if { (eval echo configure
:7319: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7320 SQUID_UDP_SO_SNDBUF
=`cat conftestval`
7322 echo "configure: failed program was:" >&5
7323 cat conftest.
$ac_ext >&5
7325 SQUID_UDP_SO_SNDBUF
=16384
7330 echo "$ac_t""$SQUID_UDP_SO_SNDBUF" 1>&6
7331 cat >> confdefs.h
<<EOF
7332 #define SQUID_UDP_SO_SNDBUF $SQUID_UDP_SO_SNDBUF
7336 echo $ac_n "checking Default UDP receive buffer size""... $ac_c" 1>&6
7337 echo "configure:7338: checking Default UDP receive buffer size" >&5
7338 if test "$cross_compiling" = yes; then
7339 SQUID_UDP_SO_RCVBUF
=16384
7341 cat > conftest.
$ac_ext <<EOF
7342 #line 7343 "configure"
7343 #include "confdefs.h"
7347 #include <sys/types.h>
7348 #include <sys/socket.h>
7349 #include <netinet/in.h>
7353 int fd,val=0,len=sizeof(int);
7354 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
7355 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
7356 if (val <= 0) exit(1);
7357 fp = fopen("conftestval", "w");
7358 fprintf (fp, "%d\n", val);
7363 if { (eval echo configure
:7364: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7365 SQUID_UDP_SO_RCVBUF
=`cat conftestval`
7367 echo "configure: failed program was:" >&5
7368 cat conftest.
$ac_ext >&5
7370 SQUID_UDP_SO_RCVBUF
=16384
7375 echo "$ac_t""$SQUID_UDP_SO_RCVBUF" 1>&6
7376 cat >> confdefs.h
<<EOF
7377 #define SQUID_UDP_SO_RCVBUF $SQUID_UDP_SO_RCVBUF
7381 echo $ac_n "checking Default TCP send buffer size""... $ac_c" 1>&6
7382 echo "configure:7383: checking Default TCP send buffer size" >&5
7383 if test "$cross_compiling" = yes; then
7384 SQUID_TCP_SO_SNDBUF
=16384
7386 cat > conftest.
$ac_ext <<EOF
7387 #line 7388 "configure"
7388 #include "confdefs.h"
7392 #include <sys/types.h>
7393 #include <sys/socket.h>
7394 #include <netinet/in.h>
7398 int fd,val=0,len=sizeof(int);
7399 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
7400 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
7401 if (val <= 0) exit(1);
7402 fp = fopen("conftestval", "w");
7403 fprintf (fp, "%d\n", val);
7408 if { (eval echo configure
:7409: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7410 SQUID_TCP_SO_SNDBUF
=`cat conftestval`
7412 echo "configure: failed program was:" >&5
7413 cat conftest.
$ac_ext >&5
7415 SQUID_TCP_SO_SNDBUF
=16384
7420 echo "$ac_t""$SQUID_TCP_SO_SNDBUF" 1>&6
7421 cat >> confdefs.h
<<EOF
7422 #define SQUID_TCP_SO_SNDBUF $SQUID_TCP_SO_SNDBUF
7426 echo $ac_n "checking Default TCP receive buffer size""... $ac_c" 1>&6
7427 echo "configure:7428: checking Default TCP receive buffer size" >&5
7428 if test "$cross_compiling" = yes; then
7429 SQUID_TCP_SO_RCVBUF
=16384
7431 cat > conftest.
$ac_ext <<EOF
7432 #line 7433 "configure"
7433 #include "confdefs.h"
7437 #include <sys/types.h>
7438 #include <sys/socket.h>
7439 #include <netinet/in.h>
7443 int fd,val=0,len=sizeof(int);
7444 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
7445 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
7446 if (val <= 0) exit(1);
7447 fp = fopen("conftestval", "w");
7448 fprintf (fp, "%d\n", val);
7453 if { (eval echo configure
:7454: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7455 SQUID_TCP_SO_RCVBUF
=`cat conftestval`
7457 echo "configure: failed program was:" >&5
7458 cat conftest.
$ac_ext >&5
7460 SQUID_TCP_SO_RCVBUF
=16384
7465 echo "$ac_t""$SQUID_TCP_SO_RCVBUF" 1>&6
7466 cat >> confdefs.h
<<EOF
7467 #define SQUID_TCP_SO_RCVBUF $SQUID_TCP_SO_RCVBUF
7471 echo $ac_n "checking if sys_errlist is already defined""... $ac_c" 1>&6
7472 echo "configure:7473: checking if sys_errlist is already defined" >&5
7473 if eval "test \"`echo '$''{'ac_cv_needs_sys_errlist'+set}'`\" = set"; then
7474 echo $ac_n "(cached) $ac_c" 1>&6
7476 cat > conftest.
$ac_ext <<EOF
7477 #line 7478 "configure"
7478 #include "confdefs.h"
7481 char *s = sys_errlist;
7484 if { (eval echo configure
:7485: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7486 ac_cv_needs_sys_errlist
="no"
7488 echo "configure: failed program was:" >&5
7489 cat conftest.
$ac_ext >&5
7491 ac_cv_needs_sys_errlist
="yes"
7497 echo "$ac_t""$ac_cv_needs_sys_errlist" 1>&6
7498 if test "$ac_cv_needs_sys_errlist" = "yes" ; then
7499 cat >> confdefs.h
<<\EOF
7500 #define NEED_SYS_ERRLIST 1
7505 echo $ac_n "checking for libresolv _dns_ttl_ hack""... $ac_c" 1>&6
7506 echo "configure:7507: checking for libresolv _dns_ttl_ hack" >&5
7507 cat > conftest.
$ac_ext <<EOF
7508 #line 7509 "configure"
7509 #include "confdefs.h"
7510 extern int _dns_ttl_;
7515 if { (eval echo configure
:7516: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext}; then
7517 echo "$ac_t""yes" 1>&6
7518 cat >> confdefs.h
<<\EOF
7519 #define LIBRESOLV_DNS_TTL_HACK 1
7523 echo "configure: failed program was:" >&5
7524 cat conftest.
$ac_ext >&5
7526 echo "$ac_t""no" 1>&6
7530 echo $ac_n "checking if inet_ntoa() actually works""... $ac_c" 1>&6
7531 echo "configure:7532: checking if inet_ntoa() actually works" >&5
7532 if test "$cross_compiling" = yes; then
7533 INET_NTOA_RESULT
="broken"
7535 cat > conftest.
$ac_ext <<EOF
7536 #line 7537 "configure"
7537 #include "confdefs.h"
7541 #include <sys/types.h>
7542 #include <netinet/in.h>
7543 #include <arpa/inet.h>
7548 in.s_addr = inet_addr("1.2.3.4");
7549 fp = fopen("conftestval", "w");
7550 fprintf (fp, "%s\n", inet_ntoa(in));
7555 if { (eval echo configure
:7556: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest
${ac_exeext} && (.
/conftest
; exit) 2>/dev
/null
7557 INET_NTOA_RESULT
=`cat conftestval`
7559 echo "configure: failed program was:" >&5
7560 cat conftest.
$ac_ext >&5
7562 INET_NTOA_RESULT
="broken"
7567 if test "$INET_NTOA_RESULT" = "1.2.3.4" ; then
7568 echo "$ac_t"""yes"" 1>&6
7570 echo "$ac_t"""no
"" 1>&6
7571 echo "Will use our own inet_ntoa()."
7572 LIBOBJS
="$LIBOBJS inet_ntoa.o"
7573 # echo "WARNING: This looks bad, and probably prevents Squid from working."
7574 # echo " If you're on IRIX and using GCC 2.8, you probably need"
7575 # echo " to use the IRIX C compiler instead."
7579 if test "$ac_cv_header_sys_statvfs_h" = "yes" ; then
7580 echo $ac_n "checking for working statvfs() interface""... $ac_c" 1>&6
7581 echo "configure:7582: checking for working statvfs() interface" >&5
7582 cat > conftest.
$ac_ext <<EOF
7583 #line 7584 "configure"
7584 #include "confdefs.h"
7588 #include <sys/types.h>
7589 #include <sys/statvfs.h>
7594 sfs.f_blocks = sfs.f_bfree = sfs.f_frsize =
7595 sfs.f_files = sfs.f_ffree = 0;
7596 statvfs("/tmp", &sfs);
7600 if { (eval echo configure
:7601: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7602 ac_cv_func_statvfs
=yes
7604 echo "configure: failed program was:" >&5
7605 cat conftest.
$ac_ext >&5
7607 ac_cv_func_statvfs
=no
7610 echo "$ac_t""$ac_cv_func_statvfs" 1>&6
7611 if test "$ac_cv_func_statvfs" = "yes" ; then
7612 cat >> confdefs.h
<<\EOF
7613 #define HAVE_STATVFS 1
7619 echo $ac_n "checking for _res.nsaddr_list""... $ac_c" 1>&6
7620 echo "configure:7621: checking for _res.nsaddr_list" >&5
7621 if eval "test \"`echo '$''{'ac_cv_have_res_nsaddr_list'+set}'`\" = set"; then
7622 echo $ac_n "(cached) $ac_c" 1>&6
7624 cat > conftest.
$ac_ext <<EOF
7625 #line 7626 "configure"
7626 #include "confdefs.h"
7628 #if HAVE_SYS_TYPES_H
7629 #include <sys/types.h>
7631 #if HAVE_NETINET_IN_H
7632 #include <netinet/in.h>
7634 #if HAVE_ARPA_INET_H
7635 #include <arpa/inet.h>
7637 #if HAVE_ARPA_NAMESER_H
7638 #include <arpa/nameser.h>
7645 _res.nsaddr_list[0];
7648 if { (eval echo configure
:7649: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7650 ac_cv_have_res_nsaddr_list
="yes"
7652 echo "configure: failed program was:" >&5
7653 cat conftest.
$ac_ext >&5
7655 ac_cv_have_res_nsaddr_list
="no"
7660 echo "$ac_t""$ac_cv_have_res_nsaddr_list" 1>&6
7661 if test $ac_cv_have_res_nsaddr_list = "yes" ; then
7662 cat >> confdefs.h
<<\EOF
7663 #define HAVE_RES_NSADDR_LIST 1
7668 if test $ac_cv_have_res_nsaddr_list = "no" ; then
7669 echo $ac_n "checking for _res.ns_list""... $ac_c" 1>&6
7670 echo "configure:7671: checking for _res.ns_list" >&5
7671 if eval "test \"`echo '$''{'ac_cv_have_res_ns_list'+set}'`\" = set"; then
7672 echo $ac_n "(cached) $ac_c" 1>&6
7674 cat > conftest.
$ac_ext <<EOF
7675 #line 7676 "configure"
7676 #include "confdefs.h"
7678 #if HAVE_SYS_TYPES_H
7679 #include <sys/types.h>
7681 #if HAVE_NETINET_IN_H
7682 #include <netinet/in.h>
7684 #if HAVE_ARPA_INET_H
7685 #include <arpa/inet.h>
7687 #if HAVE_ARPA_NAMESER_H
7688 #include <arpa/nameser.h>
7695 _res.ns_list[0].addr;
7698 if { (eval echo configure
:7699: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
7700 ac_cv_have_res_ns_list
="yes"
7702 echo "configure: failed program was:" >&5
7703 cat conftest.
$ac_ext >&5
7705 ac_cv_have_res_ns_list
="no"
7710 echo "$ac_t""$ac_cv_have_res_ns_list" 1>&6
7711 if test $ac_cv_have_res_ns_list = "yes" ; then
7712 cat >> confdefs.h
<<\EOF
7713 #define HAVE_RES_NS_LIST 1
7720 if test "$ac_cv_lib_malloc_main" = "yes" ; then
7721 if test -r /usr
/lib
/debug
/malloc.o
; then
7722 XTRA_OBJS
="$XTRA_OBJS /usr/lib/debug/malloc.o"
7724 if test -r /usr
/lib
/debug
/mallocmap.o
; then
7725 XTRA_OBJS
="$XTRA_OBJS /usr/lib/debug/mallocmap.o"
7731 if test -z "$XTRA_LIBS"; then
7733 XTRA_LIBS
=`echo $XTRA_LIBS | sed -e "s/ */ /g"`
7744 cat > confcache
<<\EOF
7745 # This file is a shell script that caches the results of configure
7746 # tests run on this system so they can be shared between configure
7747 # scripts and configure runs. It is not useful on other systems.
7748 # If it contains results you don't want to keep, you may remove or edit it.
7750 # By default, configure uses ./config.cache as the cache file,
7751 # creating it if it does not exist already. You can give configure
7752 # the --cache-file=FILE option to use a different cache file; that is
7753 # what configure does when it calls configure scripts in
7754 # subdirectories, so they share the cache.
7755 # Giving --cache-file=/dev/null disables caching, for debugging configure.
7756 # config.status only pays attention to the cache file if you give it the
7757 # --recheck option to rerun configure.
7760 # The following way of writing the cache mishandles newlines in values,
7761 # but we know of no workaround that is simple, portable, and efficient.
7762 # So, don't put newlines in cache variables' values.
7763 # Ultrix sh set writes to stderr and can't be redirected directly,
7764 # and sets the high bit in the cache file unless we assign to the vars.
7766 case `(ac_space=' '; set | grep ac_space) 2>&1` in
7768 # `set' does not quote correctly, so add quotes (double-quote substitution
7769 # turns \\\\ into \\, and sed turns \\ into \).
7771 -e "s/'/'\\\\''/g" \
7772 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
7775 # `set' quotes correctly as required by POSIX, so do not add quotes.
7776 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
7779 if cmp -s $cache_file confcache
; then
7782 if test -w $cache_file; then
7783 echo "updating cache $cache_file"
7784 cat confcache
> $cache_file
7786 echo "not updating unwritable cache $cache_file"
7791 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
7793 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7794 # Let make expand exec_prefix.
7795 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7797 # Any assignment to VPATH causes Sun make to only execute
7798 # the first set of double-colon rules, so remove it if not needed.
7799 # If there is a colon in the path, we need to keep it.
7800 if test "x$srcdir" = x.
; then
7801 ac_vpsub
='/^[ ]*VPATH[ ]*=[^:]*$/d'
7804 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
7806 DEFS
=-DHAVE_CONFIG_H
7808 # Without the "./", some shells look in PATH for config.status.
7809 : ${CONFIG_STATUS=./config.status}
7811 echo creating
$CONFIG_STATUS
7812 rm -f $CONFIG_STATUS
7813 cat > $CONFIG_STATUS <<EOF
7815 # Generated automatically by configure.
7816 # Run this file to recreate the current configuration.
7817 # This directory was configured as follows,
7818 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
7820 # $0 $ac_configure_args
7822 # Compiler output produced by configure, useful for debugging
7823 # configure, is in ./config.log if it exists.
7825 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
7828 case "\$ac_option" in
7829 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7830 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
7831 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
7832 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
7833 echo "$CONFIG_STATUS generated by autoconf version 2.13"
7835 -help | --help | --hel | --he | --h)
7836 echo "\$ac_cs_usage"; exit 0 ;;
7837 *) echo "\$ac_cs_usage"; exit 1 ;;
7841 ac_given_srcdir=$srcdir
7842 ac_given_INSTALL="$INSTALL"
7844 trap 'rm -fr `echo "\
7854 src/auth/basic/Makefile \
7855 src/auth/basic/helpers/Makefile \
7856 src/auth/basic/helpers/LDAP/Makefile \
7857 src/auth/basic/helpers/MSNT/Makefile \
7858 src/auth/basic/helpers/NCSA/Makefile \
7859 src/auth/basic/helpers/PAM/Makefile \
7860 src/auth/basic/helpers/SMB/Makefile \
7861 src/auth/basic/helpers/YP/Makefile \
7862 src/auth/basic/helpers/getpwnam/Makefile \
7863 src/auth/basic/helpers/multi-domain-NTLM/Makefile \
7864 src/auth/digest/Makefile \
7865 src/auth/digest/helpers/Makefile \
7866 src/auth/digest/helpers/password/Makefile \
7867 src/auth/ntlm/Makefile \
7868 src/auth/ntlm/helpers/Makefile \
7869 src/auth/ntlm/helpers/fakeauth/Makefile \
7870 src/auth/ntlm/helpers/no_check/Makefile \
7871 src/auth/ntlm/helpers/NTLMSSP/Makefile \
7872 src/auth/ntlm/helpers/NTLMSSP/smbval/Makefile \
7877 src/fs/aufs/Makefile \
7878 src/fs/coss/Makefile \
7879 src/fs/diskd/Makefile \
7880 src/fs/null/Makefile \
7881 src/fs/ufs/Makefile \
7882 src/repl/heap/Makefile \
7883 src/repl/lru/Makefile \
7884 include/autoconf.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
7886 cat >> $CONFIG_STATUS <<EOF
7888 # Protect against being on the right side of a sed subst in config.status.
7889 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
7890 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
7894 s%@CFLAGS@%$CFLAGS%g
7895 s%@CPPFLAGS@%$CPPFLAGS%g
7896 s%@CXXFLAGS@%$CXXFLAGS%g
7897 s%@FFLAGS@%$FFLAGS%g
7899 s%@LDFLAGS@%$LDFLAGS%g
7901 s%@exec_prefix@%$exec_prefix%g
7902 s%@prefix@%$prefix%g
7903 s%@program_transform_name@%$program_transform_name%g
7904 s%@bindir@%$bindir%g
7905 s%@sbindir@%$sbindir%g
7906 s%@libexecdir@%$libexecdir%g
7907 s%@datadir@%$datadir%g
7908 s%@sysconfdir@%$sysconfdir%g
7909 s%@sharedstatedir@%$sharedstatedir%g
7910 s%@localstatedir@%$localstatedir%g
7911 s%@libdir@%$libdir%g
7912 s%@includedir@%$includedir%g
7913 s%@oldincludedir@%$oldincludedir%g
7914 s%@infodir@%$infodir%g
7915 s%@mandir@%$mandir%g
7916 s%@INSTALL_PROGRAM@%$INSTALL_PROGRAM%g
7917 s%@INSTALL_SCRIPT@%$INSTALL_SCRIPT%g
7918 s%@INSTALL_DATA@%$INSTALL_DATA%g
7919 s%@PACKAGE@%$PACKAGE%g
7920 s%@VERSION@%$VERSION%g
7921 s%@EXEEXT@%$EXEEXT%g
7922 s%@OBJEXT@%$OBJEXT%g
7923 s%@ACLOCAL@%$ACLOCAL%g
7924 s%@AUTOCONF@%$AUTOCONF%g
7925 s%@AUTOMAKE@%$AUTOMAKE%g
7926 s%@AUTOHEADER@%$AUTOHEADER%g
7927 s%@MAKEINFO@%$MAKEINFO%g
7929 s%@install_sh@%$install_sh%g
7930 s%@INSTALL_STRIP_PROGRAM@%$INSTALL_STRIP_PROGRAM%g
7932 s%@SET_MAKE@%$SET_MAKE%g
7933 s%@AMDEP_TRUE@%$AMDEP_TRUE%g
7934 s%@AMDEP_FALSE@%$AMDEP_FALSE%g
7935 s%@AMDEPBACKSLASH@%$AMDEPBACKSLASH%g
7936 s%@DEPDIR@%$DEPDIR%g
7937 s%@MAINTAINER_MODE_TRUE@%$MAINTAINER_MODE_TRUE%g
7938 s%@MAINTAINER_MODE_FALSE@%$MAINTAINER_MODE_FALSE%g
7941 s%@am__include@%$am__include%g
7942 s%@am__quote@%$am__quote%g
7943 s%@CCDEPMODE@%$CCDEPMODE%g
7945 s%@host_alias@%$host_alias%g
7946 s%@host_cpu@%$host_cpu%g
7947 s%@host_vendor@%$host_vendor%g
7948 s%@host_os@%$host_os%g
7949 s%@ENABLE_WIN32SPECIFIC_TRUE@%$ENABLE_WIN32SPECIFIC_TRUE%g
7950 s%@ENABLE_WIN32SPECIFIC_FALSE@%$ENABLE_WIN32SPECIFIC_FALSE%g
7951 s%@LIBDLMALLOC@%$LIBDLMALLOC%g
7952 s%@LIB_MALLOC@%$LIB_MALLOC%g
7953 s%@SQUID_PTHREAD_LIB@%$SQUID_PTHREAD_LIB%g
7954 s%@SQUID_AIO_LIB@%$SQUID_AIO_LIB%g
7955 s%@STORE_OBJS@%$STORE_OBJS%g
7956 s%@STORE_LIBS@%$STORE_LIBS%g
7957 s%@STORE_MODULES@%$STORE_MODULES%g
7958 s%@STORE_MODULE_SUBDIRS@%$STORE_MODULE_SUBDIRS%g
7959 s%@OPT_DISKD_EXE@%$OPT_DISKD_EXE%g
7960 s%@REPL_POLICIES@%$REPL_POLICIES%g
7961 s%@REPL_OBJS@%$REPL_OBJS%g
7962 s%@REPL_LIBS@%$REPL_LIBS%g
7963 s%@OPT_PINGER@%$OPT_PINGER%g
7964 s%@OPT_PINGER_EXE@%$OPT_PINGER_EXE%g
7965 s%@USE_DELAY_POOLS_TRUE@%$USE_DELAY_POOLS_TRUE%g
7966 s%@USE_DELAY_POOLS_FALSE@%$USE_DELAY_POOLS_FALSE%g
7967 s%@USE_SNMP_TRUE@%$USE_SNMP_TRUE%g
7968 s%@USE_SNMP_FALSE@%$USE_SNMP_FALSE%g
7969 s%@SNMPLIB@%$SNMPLIB%g
7970 s%@makesnmplib@%$makesnmplib%g
7971 s%@ENABLE_HTCP_TRUE@%$ENABLE_HTCP_TRUE%g
7972 s%@ENABLE_HTCP_FALSE@%$ENABLE_HTCP_FALSE%g
7973 s%@ENABLE_SSL_TRUE@%$ENABLE_SSL_TRUE%g
7974 s%@ENABLE_SSL_FALSE@%$ENABLE_SSL_FALSE%g
7975 s%@NEED_OWN_MD5_TRUE@%$NEED_OWN_MD5_TRUE%g
7976 s%@NEED_OWN_MD5_FALSE@%$NEED_OWN_MD5_FALSE%g
7977 s%@SSLLIB@%$SSLLIB%g
7978 s%@ERR_DEFAULT_LANGUAGE@%$ERR_DEFAULT_LANGUAGE%g
7979 s%@ERR_LANGUAGES@%$ERR_LANGUAGES%g
7980 s%@MAKE_LEAKFINDER_TRUE@%$MAKE_LEAKFINDER_TRUE%g
7981 s%@MAKE_LEAKFINDER_FALSE@%$MAKE_LEAKFINDER_FALSE%g
7982 s%@USE_DNSSERVER_TRUE@%$USE_DNSSERVER_TRUE%g
7983 s%@USE_DNSSERVER_FALSE@%$USE_DNSSERVER_FALSE%g
7984 s%@OPT_DNSSERVER_EXE@%$OPT_DNSSERVER_EXE%g
7985 s%@AUTH_MODULES@%$AUTH_MODULES%g
7986 s%@AUTH_OBJS@%$AUTH_OBJS%g
7987 s%@AUTH_LIBS@%$AUTH_LIBS%g
7988 s%@BASIC_AUTH_HELPERS@%$BASIC_AUTH_HELPERS%g
7989 s%@NTLM_AUTH_HELPERS@%$NTLM_AUTH_HELPERS%g
7990 s%@DIGEST_AUTH_HELPERS@%$DIGEST_AUTH_HELPERS%g
7991 s%@ENABLE_UNLINKD_TRUE@%$ENABLE_UNLINKD_TRUE%g
7992 s%@ENABLE_UNLINKD_FALSE@%$ENABLE_UNLINKD_FALSE%g
7994 s%@RANLIB@%$RANLIB%g
8006 s%@ALLOCA@%$ALLOCA%g
8007 s%@CRYPTLIB@%$CRYPTLIB%g
8009 s%@PTHREADLIB@%$PTHREADLIB%g
8010 s%@AIOLIB@%$AIOLIB%g
8011 s%@NEED_OWN_SNPRINTF_TRUE@%$NEED_OWN_SNPRINTF_TRUE%g
8012 s%@NEED_OWN_SNPRINTF_FALSE@%$NEED_OWN_SNPRINTF_FALSE%g
8013 s%@REGEXLIB@%$REGEXLIB%g
8014 s%@LIBREGEX@%$LIBREGEX%g
8015 s%@LIBOBJS@%$LIBOBJS%g
8016 s%@XTRA_OBJS@%$XTRA_OBJS%g
8017 s%@XTRA_LIBS@%$XTRA_LIBS%g
8022 cat >> $CONFIG_STATUS <<\EOF
8024 # Split the substitutions into bite-sized pieces for seds with
8025 # small command number limits, like on Digital OSF/1 and HP-UX.
8026 ac_max_sed_cmds
=90 # Maximum number of lines to put in a sed script.
8027 ac_file
=1 # Number of current file.
8028 ac_beg
=1 # First line for current file.
8029 ac_end
=$ac_max_sed_cmds # Line after last line for current file.
8032 while $ac_more_lines; do
8033 if test $ac_beg -gt 1; then
8034 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs
> conftest.s
$ac_file
8036 sed "${ac_end}q" conftest.subs
> conftest.s
$ac_file
8038 if test ! -s conftest.s
$ac_file; then
8040 rm -f conftest.s
$ac_file
8042 if test -z "$ac_sed_cmds"; then
8043 ac_sed_cmds
="sed -f conftest.s$ac_file"
8045 ac_sed_cmds
="$ac_sed_cmds | sed -f conftest.s$ac_file"
8047 ac_file
=`expr $ac_file + 1`
8049 ac_end
=`expr $ac_end + $ac_max_sed_cmds`
8052 if test -z "$ac_sed_cmds"; then
8057 cat >> $CONFIG_STATUS <<EOF
8059 CONFIG_FILES=\${CONFIG_FILES-"\
8069 src/auth/basic/Makefile \
8070 src/auth/basic/helpers/Makefile \
8071 src/auth/basic/helpers/LDAP/Makefile \
8072 src/auth/basic/helpers/MSNT/Makefile \
8073 src/auth/basic/helpers/NCSA/Makefile \
8074 src/auth/basic/helpers/PAM/Makefile \
8075 src/auth/basic/helpers/SMB/Makefile \
8076 src/auth/basic/helpers/YP/Makefile \
8077 src/auth/basic/helpers/getpwnam/Makefile \
8078 src/auth/basic/helpers/multi-domain-NTLM/Makefile \
8079 src/auth/digest/Makefile \
8080 src/auth/digest/helpers/Makefile \
8081 src/auth/digest/helpers/password/Makefile \
8082 src/auth/ntlm/Makefile \
8083 src/auth/ntlm/helpers/Makefile \
8084 src/auth/ntlm/helpers/fakeauth/Makefile \
8085 src/auth/ntlm/helpers/no_check/Makefile \
8086 src/auth/ntlm/helpers/NTLMSSP/Makefile \
8087 src/auth/ntlm/helpers/NTLMSSP/smbval/Makefile \
8092 src/fs/aufs/Makefile \
8093 src/fs/coss/Makefile \
8094 src/fs/diskd/Makefile \
8095 src/fs/null/Makefile \
8096 src/fs/ufs/Makefile \
8097 src/repl/heap/Makefile \
8098 src/repl/lru/Makefile \
8101 cat >> $CONFIG_STATUS <<\EOF
8102 for ac_file
in ..
$CONFIG_FILES; do if test "x$ac_file" != x..
; then
8103 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8105 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
8106 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8107 *) ac_file_in
="${ac_file}.in" ;;
8110 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
8112 # Remove last slash and all that follows it. Not all systems have dirname.
8113 ac_dir
=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
8114 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .
; then
8115 # The file is in a subdirectory.
8116 test ! -d "$ac_dir" && mkdir
"$ac_dir"
8117 ac_dir_suffix
="/`echo $ac_dir|sed 's%^\./%%'`"
8118 # A "../" for each directory in $ac_dir_suffix.
8119 ac_dots
=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
8121 ac_dir_suffix
= ac_dots
=
8124 case "$ac_given_srcdir" in
8126 if test -z "$ac_dots"; then top_srcdir
=.
8127 else top_srcdir
=`echo $ac_dots|sed 's%/$%%'`; fi ;;
8128 /*) srcdir
="$ac_given_srcdir$ac_dir_suffix"; top_srcdir
="$ac_given_srcdir" ;;
8130 srcdir
="$ac_dots$ac_given_srcdir$ac_dir_suffix"
8131 top_srcdir
="$ac_dots$ac_given_srcdir" ;;
8134 case "$ac_given_INSTALL" in
8135 [/$
]*) INSTALL
="$ac_given_INSTALL" ;;
8136 *) INSTALL
="$ac_dots$ac_given_INSTALL" ;;
8139 echo creating
"$ac_file"
8141 configure_input
="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
8143 *Makefile
*) ac_comsub
="1i\\
8144 # $configure_input" ;;
8148 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
8150 s%@configure_input@%$configure_input%g
8151 s%@srcdir@%$srcdir%g
8152 s%@top_srcdir@%$top_srcdir%g
8153 s%@INSTALL@%$INSTALL%g
8154 " $ac_file_inputs |
(eval "$ac_sed_cmds") > $ac_file
8158 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
8159 # NAME is the cpp macro being defined and VALUE is the value it is being given.
8161 # ac_d sets the value in "#define NAME VALUE" lines.
8162 ac_dA
='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
8163 ac_dB
='\([ ][ ]*\)[^ ]*%\1#\2'
8166 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
8167 ac_uA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8168 ac_uB
='\([ ]\)%\1#\2define\3'
8171 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
8172 ac_eA
='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
8173 ac_eB
='$%\1#\2define\3'
8177 if test "${CONFIG_HEADERS+set}" != set; then
8179 cat >> $CONFIG_STATUS <<EOF
8180 CONFIG_HEADERS="include/autoconf.h"
8182 cat >> $CONFIG_STATUS <<\EOF
8184 for ac_file
in ..
$CONFIG_HEADERS; do if test "x$ac_file" != x..
; then
8185 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
8187 *:*) ac_file_in
=`echo "$ac_file"|sed 's%[^:]*:%%'`
8188 ac_file
=`echo "$ac_file"|sed 's%:.*%%'` ;;
8189 *) ac_file_in
="${ac_file}.in" ;;
8192 echo creating
$ac_file
8194 rm -f conftest.frag conftest.
in conftest.out
8195 ac_file_inputs
=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
8196 cat $ac_file_inputs > conftest.
in
8200 # Transform confdefs.h into a sed script conftest.vals that substitutes
8201 # the proper values into config.h.in to produce config.h. And first:
8202 # Protect against being on the right side of a sed subst in config.status.
8203 # Protect against being in an unquoted here document in config.status.
8205 cat > conftest.hdr
<<\EOF
8208 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
8212 sed -n -f conftest.hdr confdefs.h > conftest.vals
8215 # This sed command replaces #undef with comments. This is necessary, for
8216 # example, in the case of _POSIX_SOURCE, which is predefined and required
8217 # on some systems where configure will not decide to define it.
8218 cat >> conftest.vals <<\EOF
8219 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
8222 # Break up conftest.vals because some shells have a limit on
8223 # the size of here documents, and old seds have small limits too.
8228 ac_lines=`grep -c . conftest.vals
`
8229 # grep -c gives empty output for an empty file on some AIX systems.
8230 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
8231 # Write a limited-size here document to conftest.frag.
8232 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
8233 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
8235 sed -f conftest.frag conftest.in > conftest.out
8237 mv conftest.out conftest.in
8239 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
8241 mv conftest.tail conftest.vals
8245 cat >> $CONFIG_STATUS <<\EOF
8246 rm -f conftest.frag conftest.h
8247 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
8248 cat conftest.in >> conftest.h
8250 if cmp -s $ac_file conftest.h 2>/dev/null; then
8251 echo "$ac_file is unchanged"
8254 # Remove last slash and all that follows it. Not all systems have dirname.
8255 ac_dir=`echo $ac_file|
sed 's%/[^/][^/]*$%%'`
8256 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
8257 # The file is in a subdirectory.
8258 test ! -d "$ac_dir" && mkdir "$ac_dir"
8261 mv conftest.h $ac_file
8266 cat >> $CONFIG_STATUS <<EOF
8268 for am_file in include/autoconf.h; do
8269 case " \$CONFIG_HEADERS " in
8271 am_dir=\`echo \
$am_file |
sed 's%:.*%%;s%[^/]*\$%%'\
`
8272 if test -n "\$am_dir"; then
8273 am_tmpdir=\`echo \
$am_dir |
sed 's%^\(/*\).*\$%\1%'\
`
8274 for am_subdir in \`echo \
$am_dir |
sed 's%/% %'\
`; do
8275 am_tmpdir=\$am_tmpdir\$am_subdir/
8276 if test ! -d \$am_tmpdir; then
8281 echo timestamp > "\$am_dir"stamp-h\$am_indx
8284 am_indx=\`expr \
$am_indx + 1\
`
8286 AMDEP_TRUE="$AMDEP_TRUE"
8287 ac_aux_dir="$ac_aux_dir"
8290 cat >> $CONFIG_STATUS <<\EOF
8291 test -z "$CONFIG_HEADERS" || echo timestamp > include/stamp-h
8293 test x"$AMDEP_TRUE" != x"" ||
8294 for mf in $CONFIG_FILES; do
8296 Makefile) dirpart=.;;
8297 */Makefile) dirpart=`echo "$mf" |
sed -e 's|/[^/]*$||'`;;
8300 grep '^DEP_FILES *= *[^ #]' < "$mf" > /dev/null || continue
8301 # Extract the definition of DEP_FILES from the Makefile without
8303 DEPDIR=`sed -n -e '/^DEPDIR
= / s
///p
' < "$mf"`
8304 test -z "$DEPDIR" && continue
8305 # When using ansi2knr, U may be empty or an underscore; expand it
8306 U=`sed -n -e '/^U
= / s
///p
' < "$mf"`
8307 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR"
8308 # We invoke sed twice because it is the simplest approach to
8309 # changing $(DEPDIR) to its actual value in the expansion.
8310 for file in `sed -n -e '
8311 /^DEP_FILES
= .
*\\\\$
/ {
8320 /^DEP_FILES
= / s
/^DEP_FILES
= //p
' < "$mf" | \
8321 sed -e 's
/\$
(DEPDIR
)/'"$DEPDIR"'/g
' -e 's
/\
$U/'"$U"'/g
'`; do
8322 # Make sure the directory exists.
8323 test -f "$dirpart/$file" && continue
8324 fdir=`echo "$file" | sed -e 's|
/[^
/]*$||
'`
8325 $ac_aux_dir/mkinstalldirs "$dirpart/$fdir" > /dev/null 2>&1
8326 # echo "creating $dirpart/$file"
8327 echo '# dummy' > "$dirpart/$file"
8334 chmod +x
$CONFIG_STATUS
8335 rm -fr confdefs
* $ac_clean_files
8336 test "$no_create" = yes ||
${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS ||
exit 1