]> git.ipfire.org Git - thirdparty/squid.git/blame - configure.in
fix potential buffer overrun and negative array index bugs
[thirdparty/squid.git] / configure.in
CommitLineData
090089c4 1dnl
2877b8a9 2dnl Configuration input file for Squid
090089c4 3dnl
983061ed 4dnl Duane Wessels, wessels@nlanr.net, February 1996 (autoconf v2.9)
090089c4 5dnl
3d0cf10e 6dnl $Id: configure.in,v 1.157 1998/10/07 19:34:36 wessels Exp $
090089c4 7dnl
8dnl
090089c4 9dnl
a26bdc75 10AC_INIT(src/main.c)
090089c4 11AC_CONFIG_HEADER(include/autoconf.h)
3d0cf10e 12AC_REVISION($Revision: 1.157 $)dnl
2877b8a9 13AC_PREFIX_DEFAULT(/usr/local/squid)
71b12d7c 14AC_CONFIG_AUX_DIR(cfgaux)
090089c4 15
88d50a22 16AC_CANONICAL_HOST
17
26675bf4 18CRYPTLIB=''
00fa2c12 19REGEXLIB='' # -lregex
20LIBREGEX='' # libregex.a
090089c4 21
983061ed 22dnl use directory structure of cached as default (hack)
23if test "$libexecdir" = '${exec_prefix}/libexec'; then
24 libexecdir='${bindir}'
25 localstatedir='${prefix}'
26
27fi
28
df087e68 29dnl use .exe suffix for executables on cygwin32 platform
30case "$host_os" in
31cygwin32)
32 exec_suffix=".exe"
33 cgi_suffix=".exe"
34 ;;
35*)
36 exec_suffix=""
37 cgi_suffix=".cgi"
38 ;;
39esac
40AC_SUBST(exec_suffix)
41AC_SUBST(cgi_suffix)
42
a26bdc75 43if test -z "$CACHE_HTTP_PORT"; then
44 CACHE_HTTP_PORT="3128"
45fi
46if test -z "$CACHE_ICP_PORT"; then
47 CACHE_ICP_PORT="3130"
48fi
a26bdc75 49
090089c4 50dnl Subsitutions
a26bdc75 51AC_SUBST(CACHE_HTTP_PORT)
52AC_SUBST(CACHE_ICP_PORT)
090089c4 53
30a4f2a8 54AC_DEFINE_UNQUOTED(CONFIG_HOST_TYPE, "$host")
55
56dnl Set default LDFLAGS
57if test -z "$LDFLAGS"; then
58 LDFLAGS="-g"
59fi
60
38fea766 61PRESET_CFLAGS="$CFLAGS"
30a4f2a8 62
090089c4 63dnl Check for GNU cc
64AC_PROG_CC
65
6ad85e8a 66dnl Gerben Wierda <Gerben_Wierda@RnA.nl>
67case "$host" in
68 mab-next-nextstep3)
69 CC="$CC -arch m68k -arch i486 -arch hppa -arch sparc"
70 ;;
71esac
72
30a4f2a8 73dnl Set Default CFLAGS
74if test -z "$PRESET_CFLAGS"; then
75 if test "$GCC" = "yes"; then
76 case "$host" in
97b12a5b 77 *-sun-sunos*)
30a4f2a8 78 # sunos has too many warnings for this to be useful
79 # motorola too
80 ;;
97b12a5b 81 *m88k*)
82 # Motorola cc/ld does not like -02 but is ok on -O
83 CFLAGS=`echo $CFLAGS | sed -e 's/-O[0-9]/-O/'`
84 ;;
30a4f2a8 85 *)
86 CFLAGS="$CFLAGS -Wall"
87 ;;
88 esac
81a820c6 89 else
90 case "$host" in
91 *mips-sgi-irix6.4*)
92 # suggested by Rafael Seidl <rafaels@cthulhu.engr.sgi.com>
93 CFLAGS="$CFLAGS -n32 -mips4 -O3 -OPT:Olimit=0:space=OFF \
94 -woff 1009,1014,1048,1110,1116,1185,1188,1204,1230,1233 \
95 -Wl,-woff,85,-woff,84,-woff,134 \
96 -nostdinc -I/usr/include -D_BSD_SIGNALS"
97 ;;
e8f5fb18 98 alpha-dec-osf4.*)
553c24ae 99 # Mogul says DEC compilers take both -g and -O2
100 CFLAGS="$CFLAGS -O2"
101 ;;
81a820c6 102 *)
103 ;;
104 esac
30a4f2a8 105 fi
30a4f2a8 106fi
107
108dnl Set LDFLAGS
109if test -z "$PRESET_LDFLAGS"; then
110 if test "$GCC" = "yes"; then
111 case "$host" in
112 *)
113 # nothing
114 ;;
115 esac
81a820c6 116 else
117 case "$host" in
118 *mips-sgi-irix6.4*)
119 # suggested by Rafael Seidl <rafaels@cthulhu.engr.sgi.com>
120 LDFLAGS="-n32 -mips4 -nostdlib -L/usr/lib32"
121 ;;
122 esac
30a4f2a8 123 fi
124fi
2060fa9a 125
e5f4e1b0 126dnl Enable optional modules
127AC_ARG_ENABLE(dlmalloc,
94d48591 128[ --enable-dlmalloc[=LIB] Compile & use the malloc package by Doug Lea],
e5f4e1b0 129[
94d48591 130 if test "x$ac_cv_enabled_dlmalloc" = "xyes"; then
131 # Ok. dlmalloc was enabled before, but state may be changed.
e5f4e1b0 132 # we have to test these again
133 unset ac_cv_func_mallinfo
134 unset ac_cv_func_mallocblksize
135 unset ac_cv_func_free
136 unset ac_cv_func_realloc
137 unset ac_cv_func_memalign
138 unset ac_cv_func_valloc
139 unset ac_cv_func_pvalloc
140 unset ac_cv_func_calloc
141 unset ac_cv_func_cfree
142 unset ac_cv_func_malloc_trim
143 unset ac_cv_func_malloc_usable_size
144 unset ac_cv_func_malloc_stats
145 unset ac_cv_func_mallinfo
146 unset ac_cv_func_mallopt
147 unset ac_cv_lib_gnumalloc
148 unset ac_cv_lib_malloc
149 unset ac_cv_enabled_dlmalloc
150 fi
94d48591 151 case "$enableval" in
152 'yes')
153 LIBDLMALLOC="libdlmalloc.a"
154 LIB_MALLOC="-L../lib -ldlmalloc"
155 ac_cv_func_mallinfo="yes"
156 ac_cv_func_mallocblksize="no"
157 ac_cv_func_free="yes"
158 ac_cv_func_realloc="yes"
159 ac_cv_func_memalign="yes"
160 ac_cv_func_valloc="yes"
161 ac_cv_func_pvalloc="yes"
162 ac_cv_func_calloc="yes"
163 ac_cv_func_cfree="yes"
164 ac_cv_func_malloc_trim="yes"
165 ac_cv_func_malloc_usable_size="yes"
166 ac_cv_func_malloc_stats="yes"
167 ac_cv_func_mallinfo="yes"
168 ac_cv_func_mallopt="yes"
169 ac_cv_lib_gnumalloc="no"
170 ac_cv_lib_malloc="no"
171 ac_cv_enabled_dlmalloc="yes"
172 echo "dlmalloc build enabled"
173 ;;
174 'no')
175 # Disabled explicitly.
176 echo "dlmalloc disabled."
177 ;;
178 *)
179 # Use already installed dlmalloc library.
180 LIB_MALLOC="${enableval}"
181 ac_cv_func_mallinfo="yes"
182 ac_cv_func_mallocblksize="no"
183 ac_cv_func_free="yes"
184 ac_cv_func_realloc="yes"
185 ac_cv_func_memalign="yes"
186 ac_cv_func_valloc="yes"
187 ac_cv_func_pvalloc="yes"
188 ac_cv_func_calloc="yes"
189 ac_cv_func_cfree="yes"
190 ac_cv_func_malloc_trim="yes"
191 ac_cv_func_malloc_usable_size="yes"
192 ac_cv_func_malloc_stats="yes"
193 ac_cv_func_mallinfo="yes"
194 ac_cv_func_mallopt="yes"
195 ac_cv_lib_gnumalloc="no"
196 ac_cv_lib_malloc="no"
197 ac_cv_enabled_dlmalloc="yes"
198 echo "Use installed dlmalloc."
199 ;;
200 esac
e5f4e1b0 201 ],[
202 if test "x$ac_cv_enabled_dlmalloc" = "xyes"; then
203 # Ok. dlmalloc was enabled before, but now disabled.
204 # we have to test these again
205 unset ac_cv_func_mallinfo
206 unset ac_cv_func_mallocblksize
207 unset ac_cv_func_free
208 unset ac_cv_func_realloc
209 unset ac_cv_func_memalign
210 unset ac_cv_func_valloc
211 unset ac_cv_func_pvalloc
212 unset ac_cv_func_calloc
213 unset ac_cv_func_cfree
214 unset ac_cv_func_malloc_trim
215 unset ac_cv_func_malloc_usable_size
216 unset ac_cv_func_malloc_stats
217 unset ac_cv_func_mallinfo
218 unset ac_cv_func_mallopt
219 unset ac_cv_lib_gnumalloc
220 unset ac_cv_lib_malloc
221 unset ac_cv_enabled_dlmalloc
222 fi
223 ])
224AC_SUBST(LIBDLMALLOC)
225AC_SUBST(LIB_MALLOC)
226
227AC_ARG_ENABLE(gnuregex,
228[ --enable-gnuregex Compile GNUregex],
229[USE_GNUREGEX=$enableval])
230
e5f4e1b0 231AC_ARG_ENABLE(xmalloc_debug,
232[ --enable-xmalloc-debug Do some simple malloc debugging],
233[ if test "$enableval" = "yes" ; then
234 echo "Malloc debugging enabled"
235 AC_DEFINE(XMALLOC_DEBUG)
236 fi
237])
238
027acbaf 239AC_ARG_ENABLE(xmalloc_debug_trace,
240[ --enable-xmalloc-debug-trace
e5f4e1b0 241 Detailed trace of memory allocations],
242[ if test "$enableval" = "yes" ; then
027acbaf 243 echo "Malloc debug trace enabled"
244 AC_DEFINE(XMALLOC_TRACE)
245 AC_DEFINE(XMALLOC_DEBUG)
e5f4e1b0 246 fi
247])
248
249AC_ARG_ENABLE(xmalloc_statistics,
250[ --enable-xmalloc-statistics
251 Show malloc statistics in status page],
252[ if test "$enableval" = "yes" ; then
253 echo "Malloc statistics enabled"
254 AC_DEFINE(XMALLOC_STATISTICS)
255 fi
256])
257
323fe0d4 258AC_ARG_ENABLE(carp,
259[ --enable-carp Enable CARP support],
260[ if test "$enableval" = "yes" ; then
261 echo "CARP support enabled"
262 AC_DEFINE(USE_CARP)
263 fi
264])
265
e5f4e1b0 266AC_ARG_ENABLE(async_io,
267[ --enable-async-io Do ASYNC disk I/O using threads],
268[ if test "$enableval" = "yes" ; then
269 echo "Async I/O enabled"
270 AC_DEFINE(USE_ASYNC_IO)
271 ASYNC_OBJS='$(ASYNC_OBJS)'
9fc0b4b8 272 SQUID_PTHREAD_LIB='$(PTHREADLIB)'
273 CFLAGS="$CFLAGS -D_REENTRANT"
e5f4e1b0 274 fi
275])
276AC_SUBST(ASYNC_OBJS)
277AC_SUBST(SQUID_PTHREAD_LIB)
278
279AC_ARG_ENABLE(icmp,
280[ --enable-icmp Enable ICMP pinging],
281[ if test "$enableval" = "yes" ; then
282 echo "ICMP enabled"
283 AC_DEFINE(USE_ICMP)
284 fi
285])
286
95e36d02 287AC_ARG_ENABLE(delay_pools,
288[ --enable-delay-pools Enable delay pools to limit bandwith usage],
e5f4e1b0 289[ if test "$enableval" = "yes" ; then
95e36d02 290 echo "Delay pools enabled"
291 DELAY_OBJS='$(DELAY_OBJS)'
292 AC_DEFINE(DELAY_POOLS)
e5f4e1b0 293 fi
294])
95e36d02 295AC_SUBST(DELAY_OBJS)
e5f4e1b0 296
36a97e19 297AC_ARG_ENABLE(mem-gen-trace,
298[ --enable-mem-gen-trace Do trace of memory stuff],
299[ if test "$enableval" = "yes" ; then
300 echo "Memory trace (to file) enabled"
301 AC_DEFINE(MEM_GEN_TRACE)
302 fi
303])
304
e5f4e1b0 305AC_ARG_ENABLE(useragent_log,
306[ --enable-useragent-log Enable logging of User-Agent header],
307[ if test "$enableval" = "yes" ; then
308 echo "User-Agent logging enabled"
309 AC_DEFINE(USE_USERAGENT_LOG)
310 fi
311])
312
9fc0b4b8 313AC_ARG_ENABLE(kill_parent_hack,
314[ --enable-kill-parent-hack
315 Kill parent on shutdown],
e5f4e1b0 316[ if test "$enableval" = "yes" ; then
317 echo "Kill parent on shutdown"
318 AC_DEFINE(KILL_PARENT_OPT)
319 fi
320])
321
322AC_ARG_ENABLE(snmp,
323[ --enable-snmp Enable SNMP monitoring],
324[ if test "$enableval" = "yes" ; then
325 echo "SNMP monitoring enabled"
326 AC_DEFINE(SQUID_SNMP)
327 SNMPLIB='-L../snmplib -lsnmp'
328 SNMP_OBJS='$(SNMP_OBJS)'
8a7f0105 329 SNMP_MAKEFILE=./snmplib/Makefile
e5f4e1b0 330 makesnmplib=snmplib
331 fi
332])
333AC_SUBST(SNMPLIB)
334AC_SUBST(SNMP_OBJS)
335AC_SUBST(makesnmplib)
336
337AC_ARG_ENABLE(time_hack,
338[ --enable-time-hack Update internal timestamp only once per second],
339[ if test "$enableval" = "yes" ; then
340 echo "Update internal timestamp only once per second"
341 AC_DEFINE(ALARM_UPDATES_TIME)
342 fi
343])
344
345AC_ARG_ENABLE(cachemgr_hostname,
346[ --enable-cachemgr-hostname[=hostname]
347 Make cachemgr.cgi default to this host],
348[ case $enableval in
349 yes)
350 AC_DEFINE(CACHEMGR_HOSTNAME,[getfullhostname()])
351 echo "Cachemgr default hostname == host where cachemgr runs"
352 ;;
353 no)
354 : # Nothing to do..
355 ;;
356 *)
357 AC_DEFINE_UNQUOTED(CACHEMGR_HOSTNAME,"${enableval}")
358 echo "Cachemgr default hostname set to ${enableval}"
359 ;;
360 esac
361])
362
363AC_ARG_ENABLE(arp_acl,
364[ --enable-arp-acl Enable use of ARP ACL lists (ether address)],
365[ if test "$enableval" = "yes" ; then
366 echo "ARP ACL lists enabled (ether address)"
933cc58d 367 case "$host" in
a931a29b 368 *-pc-linux-*)
369 ;;
933cc58d 370 *)
bd0c865a 371 echo "WARNING: ARP ACL support is only currently supported on Linux"
372 echo " ethernet interfaces, probably won't work on $host."
933cc58d 373 sleep 10
374 ;;
375 esac
e5f4e1b0 376 AC_DEFINE(USE_ARP_ACL)
377 fi
378])
379
74075210 380AC_ARG_ENABLE(htcp,
88b7de25 381[ --enable-htcp Enable HTCP protocol],
b4b8b6da 382[ if test "$enableval" = "yes" ; then
383 echo "HTCP enabled"
384 HTCP_OBJS='$(HTCP_OBJS)'
385 AC_DEFINE(USE_HTCP)
386 fi
74075210 387])
b4b8b6da 388AC_SUBST(HTCP_OBJS)
74075210 389
02749868 390AC_ARG_ENABLE(forw-via-db,
391[ --enable-forw-via-db Enable Forw/Via database],
392[ if test "$enableval" = "yes" ; then
393 echo "FORW-VIA enabled"
394 AC_DEFINE(FORW_VIA_DB)
395 fi
396])
397
6cfa8966 398AC_ARG_ENABLE(cache-digests,
22df58ea 399[ --enable-cache-digests Use Cache Digests
043e3d78 400 see http://squid.nlanr.net/Squid/FAQ/FAQ-16.html],
484f2ebc 401[ if test "$enableval" = "yes" ; then
6cfa8966 402 echo "USE_CACHE_DIGESTS enabled"
403 AC_DEFINE(USE_CACHE_DIGESTS)
484f2ebc 404 fi
405])
406
933cc58d 407dnl Select Error language
408AC_ARG_ENABLE(err-language,
409[ --enable-err-language=lang
410 Select language for Error pages (see errors dir) ],
411[
412 if test -d errors/$enableval; then
413 ERR_LANGUAGE=$enableval
414 else
415 echo "ERROR! Unknown language $enableval, see errors/"
416 exit 1
417 fi
93a8bb45 418],[ERR_LANGUAGE="English"])
933cc58d 419AC_SUBST(ERR_LANGUAGE)
420
9bb83c8b 421dnl Enable poll()
422AC_ARG_ENABLE(poll,
423[ --enable-poll Enable poll() instead of select(). Normally poll
424 is preferred over select, but configure knows poll
425 is broken on some platforms. If you think you are
426 smarter than the configure script, you may enable
427 poll with this option.
428],
429[ if test "$enableval" = "yes" ; then
430 echo "Forcing poll() to be enabled"
431 ac_cv_func_poll='yes'
432 fi
433])
434
72fd085a 435dnl Disable HTTP violations
436AC_ARG_ENABLE(http-violations,
437[ --disable-http-violations
438 This allows you to remove code which is known to
439 violate the HTTP protocol specification.
440],
441[ if test "$enableval" = "no" ; then
442 echo "Disabling HTTP Violations"
6eec93b2 443 AC_DEFINE(HTTP_VIOLATIONS, 0)
72fd085a 444 else
6eec93b2 445 AC_DEFINE(HTTP_VIOLATIONS, 1)
72fd085a 446 fi
447])
448
5cafc1d6 449dnl Enable IP-Filter Transparent Proxy
450AC_ARG_ENABLE(ipf-transparent,
451[ --enable-ipf-transparent
452 Enable Transparent Proxy support for systems
453 using IP-Filter network address redirection.
454],
455[ if test "$enableval" = "yes" ; then
456 echo "IP-Filter Transparent Proxy enabled"
457 AC_DEFINE(IPF_TRANSPARENT)
458 IPF_TRANSPARENT="yes"
459 fi
460])
461
fd9aaa3e 462# Force some compilers to use ANSI features
463#
464case "$host" in
465 alpha-dec-osf*)
466 if test "$ac_cv_prog_CC" = "cc" ; then
467 echo "adding '-std1' to cc args for $host"
468 CC="cc -std1";
469 ac_cv_prog_CC="$CC"
470 fi
471 ;;
472esac
473
090089c4 474dnl Check for programs
475AC_PROG_CPP
476AC_PROG_INSTALL
477AC_PROG_RANLIB
478AC_PROG_LN_S
81280a96 479AC_PATH_PROG(SH, sh, /bin/sh)
d9f67e6f 480AC_PATH_PROG(FALSE, false, /usr/bin/false)
481AC_PATH_PROG(TRUE, true, /usr/bin/true)
482AC_PATH_PROG(RM, rm, $FALSE)
483AC_PATH_PROG(MV, mv, $FALSE)
484AC_PATH_PROG(MKDIR, mkdir, $FALSE)
090089c4 485AC_PATH_PROG(LN, ln, cp)
983061ed 486AC_PATH_PROG(PERL, perl, /usr/local/bin/perl)
d9f67e6f 487AC_PATH_PROG(MAKEDEPEND, makedepend, $TRUE)
6ad85e8a 488AC_PATH_PROG(AR, ar, $FALSE)
489
490case "$host" in
491 *-hp-hpux*)
492 echo "Disabling 'ranlib' for HP-UX..."
493 RANLIB=":"
494 ;;
495esac
496
497dnl set $(AR)
498AR_R="$AR r"
499case "$host" in
500 *-next-nextstep3)
501 AR="libtool -o"
502 ;;
503esac
504AC_SUBST(AR_R)
090089c4 505
506dnl Check for headers
507AC_HEADER_DIRENT
508AC_HEADER_STDC
db40ae20 509
510AC_CHECK_HEADERS( \
511 alloca.h \
512 arpa/inet.h \
30a4f2a8 513 arpa/nameser.h \
9441aa34 514 assert.h \
db40ae20 515 bstring.h \
516 config.h \
517 crypt.h \
30a4f2a8 518 ctype.h \
519 errno.h \
db40ae20 520 fcntl.h \
9c1d8929 521 getopt.h \
88738790 522 gnumalloc.h \
30a4f2a8 523 grp.h \
5cafc1d6 524 ip_compat.h \
525 ip_fil.h \
526 ip_nat.h \
30a4f2a8 527 libc.h \
6ad85e8a 528 limits.h \
30a4f2a8 529 malloc.h \
e0bddc45 530 math.h \
db40ae20 531 memory.h \
b075cbb1 532 mount.h \
5cafc1d6 533 net/if.h \
30a4f2a8 534 netdb.h \
db40ae20 535 netinet/in.h \
30a4f2a8 536 netinet/tcp.h \
dcfe6390 537 poll.h \
30a4f2a8 538 pwd.h \
539 regex.h \
540 resolv.h \
541 signal.h \
542 stdarg.h \
543 stddef.h \
544 stdio.h \
db40ae20 545 stdlib.h \
546 string.h \
547 strings.h \
548 sys/file.h \
5cafc1d6 549 sys/ioctl.h \
30a4f2a8 550 sys/param.h \
551 sys/resource.h \
db40ae20 552 sys/select.h\
30a4f2a8 553 sys/socket.h \
554 sys/stat.h \
b075cbb1 555 sys/statvfs.h \
30a4f2a8 556 sys/syscall.h \
db40ae20 557 sys/time.h \
558 sys/types.h \
30a4f2a8 559 sys/un.h \
b075cbb1 560 sys/vfs.h \
30a4f2a8 561 sys/wait.h \
db40ae20 562 syslog.h \
30a4f2a8 563 time.h \
564 unistd.h \
565 varargs.h \
db40ae20 566)
567
aee0606f 568AC_C_CONST
d57288d2 569AC_C_BIGENDIAN
aee0606f 570
5c51415d 571AC_CACHE_CHECK(if ANSI prototypes work,ac_cv_have_ansi_prototypes, [
572 AC_TRY_COMPILE([int foo(char *); int foo (char *bar) {return 1;}],
573 [foo("bar")],
574 ac_cv_have_ansi_prototypes="yes",
575 ac_cv_have_ansi_prototypes="no")
576])
577if test $ac_cv_have_ansi_prototypes = "yes" ; then
578 AC_DEFINE(HAVE_ANSI_PROTOTYPES)
579fi
20a50bb9 580
5c51415d 581AC_CACHE_CHECK(for tm->tm_gmtoff,ac_cv_have_tm_gmoff, [
582 AC_TRY_COMPILE([#include <time.h>
46c883ed 583#include <sys/time.h>],
5c51415d 584 [struct tm foo;
585 foo.tm_gmtoff = 0;],
586 ac_cv_have_tm_gmoff="yes",
587 ac_cv_have_tm_gmoff="no")
588])
589if test $ac_cv_have_tm_gmoff = "yes" ; then
590 AC_DEFINE(HAVE_TM_GMTOFF)
591fi
46c883ed 592
5c51415d 593AC_CACHE_CHECK(for extended mallinfo,ac_cv_have_ext_mallinfo, [
594 AC_TRY_COMPILE([#include <sys/types.h>
46c883ed 595#include <malloc.h>],
5c51415d 596 [struct mallinfo foo;
597 foo.mxfast = 0;],
598 ac_cv_have_ext_mallinfo="yes",
599 ac_cv_have_ext_mallinfo="no")
600])
601if test $ac_cv_have_ext_mallinfo = "yes" ; then
602 AC_DEFINE(HAVE_EXT_MALLINFO)
603fi
090089c4 604
b54a6789 605AC_CACHE_CHECK(for struct rusage,ac_cv_have_struct_rusage, [
606 AC_TRY_COMPILE([
8ff51bba 607#if HAVE_SYS_TIME_H
608#include <sys/time.h>
609#endif
b54a6789 610#if HAVE_SYS_RESOURCE_H
611#include <sys/resource.h>
612#endif],
613 [struct rusage R;],
614 ac_cv_have_struct_rusage="yes",
615 ac_cv_have_struct_rusage="no")
616])
617if test $ac_cv_have_struct_rusage = "yes" ; then
618 AC_DEFINE(HAVE_STRUCT_RUSAGE)
619fi
620
5c51415d 621AC_CACHE_CHECK(for ip->ip_hl, ac_cv_have_ip_hl, [
622 AC_TRY_COMPILE([#include <sys/types.h>
a025a745 623#include <netinet/in.h>
624#include <netinet/in_systm.h>
6ad85e8a 625#include <netinet/ip.h>
626#ifdef __linux__
627#define ip_hl ihl
628#endif
629#ifndef __linux__
630#define iphdr ip
631#endif],
5c51415d 632 [struct iphdr ip;
633 ip.ip_hl= 0;],
634 ac_cv_have_ip_hl="yes",
635 ac_cv_have_ip_hl="no")
636])
637if test $ac_cv_have_ip_hl = "yes" ; then
638 AC_DEFINE(HAVE_IP_HL)
639fi
a025a745 640
090089c4 641dnl Check for typedefs
642AC_CHECK_SIZEOF(int)
643AC_CHECK_SIZEOF(long)
644
256cf05b 645dnl Check for special functions
646AC_FUNC_ALLOCA
090089c4 647
3f6fcd8a 648AC_CHECK_TYPE(pid_t, int)
0897af2d 649AC_CHECK_TYPE(size_t, unsigned int)
650AC_CHECK_TYPE(ssize_t, int)
3f6fcd8a 651AC_CHECK_TYPE(off_t, int)
95cf2361 652AC_CHECK_TYPE(mode_t, u_short)
c716a1dd 653AC_CHECK_TYPE(fd_mask, int)
3f6fcd8a 654
6637e3a5 655dnl Check for type in sys/socket.h
656AC_CACHE_CHECK(for socklen_t, ac_cv_type_socklen_t, [
657 AC_EGREP_CPP([socklen_t[^a-zA-Z_0-9]], [#include <sys/types.h>
658#include <sys/socket.h>
659#if STDC_HEADERS
660#include <stdlib.h>
661#include <stddef.h>
662#endif],
663 ac_cv_type_socklen_t=yes,
664 ac_cv_type_socklen_t=no)
665])
666if test $ac_cv_type_socklen_t = no; then
667 AC_DEFINE(socklen_t, int)
668fi
669
090089c4 670dnl Check for needed libraries
30a4f2a8 671AC_CHECK_LIB(nsl, main)
6716b242 672AC_CHECK_LIB(socket, main)
94d48591 673
674if test "x$ac_cv_enabled_dlmalloc" = "xyes" ; then
675 echo "skipping libmalloc check (--enable-dlmalloc specified)"
5c51415d 676else
94d48591 677 AC_CHECK_LIB(gnumalloc, main)
678 if test "$ac_cv_lib_gnumalloc_main" = "yes"; then
679 echo "Disabling extended malloc functions when using gnumalloc"
680 ac_cv_func_mallinfo=no
681 ac_cv_func_mallocblksize=no
682 ac_cv_func_mallopt=no
683 else
684 case "$host" in
685 *-sun-solaris*)
686 echo "skipping libmalloc check for $host"
687 ;;
688 i386-*-freebsd*)
689 echo "skipping libmalloc check for $host"
690 ;;
691 *)
692
693 AC_CHECK_LIB(malloc, main)
694 ;;
695 esac
696 fi
8a15e65e 697fi
94d48591 698
6716b242 699AC_CHECK_LIB(bsd, main)
be79ade0 700AC_CHECK_LIB(regex, main, [REGEXLIB="-lregex"])
04a56fa3 701AC_CHECK_LIB(bind, gethostbyname)
702if test $ac_cv_lib_bind_gethostbyname = "no" ; then
703 case "$host" in
78743365 704 i386-*-freebsd*)
705 echo "skipping libresolv checks for $host"
706 ;;
707 *)
708 AC_CHECK_LIB(resolv, inet_aton, AC_CHECK_LIB(44bsd, inet_aton))
709 AC_CHECK_LIB(resolv, main)
710 ;;
04a56fa3 711 esac
712fi
e0bddc45 713AC_CHECK_LIB(m, main)
090089c4 714
715dnl Check for libcrypt
b8de7ebe 716dnl We use crypt(3) which may be in libc, or in libcrypt (eg FreeBSD)
0f5a16f8 717AC_CHECK_LIB(crypt, crypt)
718if test $ac_cv_lib_crypt_crypt = "yes"; then
719 CRYPTLIB="-lcrypt"
720fi
be79ade0 721AC_SUBST(CRYPTLIB)
77f675ad 722
e5f4e1b0 723dnl Check for pthreads
724dnl We use pthreads when doing ASYNC I/O
0f5a16f8 725AC_CHECK_LIB(pthread, main)
726if test $ac_cv_lib_pthread_main = "yes"; then
727 PTHREADLIB="-lpthread"
728fi
71f8abc8 729AC_SUBST(PTHREADLIB)
730
77f675ad 731dnl System-specific library modifications
732dnl
733case "$host" in
88738790 734 i386-*-solaris2.*)
7149a49f 735 if test "$GCC" = "yes"; then
736 echo "Removing -O for gcc on $host"
80e92d6d 737 CFLAGS="`echo $CFLAGS | sed -e 's/-O[[0-9]]*//'`"
7149a49f 738 fi
739 ;;
77f675ad 740 *-sgi-irix*)
741 echo "Removing -lsocket for IRIX..."
6716b242 742 LIBS=`echo $LIBS | sed -e s/-lsocket//`
77f675ad 743 echo "Removing -lnsl for IRIX..."
6716b242 744 LIBS=`echo $LIBS | sed -e s/-lnsl//`
b44c0fb4 745 echo "Removing -lbsd for IRIX..."
746 LIBS=`echo $LIBS | sed -e s/-lbsd//`
77f675ad 747 ;;
4ba0bd0e 748dnl From: c0032033@ws.rz.tu-bs.de (Joerg Schumacher)
749dnl Date: Thu, 17 Oct 1996 04:09:30 +0200
750dnl Please change your configure script. AIX doesn't need -lbsd.
751 *-ibm-aix*)
752 echo "Removing -lbsd for AIX..."
753 LIBS=`echo $LIBS | sed -e s/-lbsd//`
754 ;;
30a4f2a8 755 *m88k*)
756 CFLAGS="$CFLAGS -D_SQUID_MOTOROLA_"
7149a49f 757 AC_DEFINE(GETTIMEOFDAY_NO_TZP)
758 ;;
580ce039 759 [*-*-solaris2.[0-4]])
7149a49f 760 AC_DEFINE(GETTIMEOFDAY_NO_TZP)
30a4f2a8 761 ;;
f62c73dc 762 *-sony-newsos[56]*)
763 AC_DEFINE(GETTIMEOFDAY_NO_TZP)
764 ;;
77f675ad 765esac
090089c4 766
176d10ee 767# Recommended by Balint Nagy Endre <bne@CareNet.hu>
768case "$host" in
769 *-univel-sysv4.2MP)
770 if test `uname -v` = "2.03"; then
771 echo "disabling mallinfo for $host"
772 ac_cv_func_mallinfo=no
773 fi
774 ;;
775esac
776
84cecfd2 777dnl This has to be before AC_CHECK_FUNCS
778# Disable poll() on certain platforms. Override by setting ac_cv_func_poll
779# when running configure.
780if test -z "$ac_cv_func_poll"; then
781 case "$host" in
782 [alpha-dec-osf3.*])
783 # John Kay (jkay@nlanr.net) 19970818
784 echo "disabling poll for $host..."
785 ac_cv_func_poll='no'
786 ;;
787 [*-hp-hpux*.*])
788 # Duane Wessels
789 echo "disabling poll for $host..."
790 ac_cv_func_poll='no'
791 ;;
792 [*-linux-*])
9bb83c8b 793 # Henrik Nordstrom (hno@hem.passagen.se) 19980817
794 # poll is problematic on Linux. We disable it
795 # by default until Linux gets it right.
796 echo "disabling poll for $host..."
797 ac_cv_func_poll='no'
84cecfd2 798 ;;
799 esac
800fi
176d10ee 801
6716b242 802dnl Check for library functions
803AC_CHECK_FUNCS(\
30a4f2a8 804 bcopy \
df087e68 805 crypt \
3d0cf10e 806 drand48 \
4ac29a5b 807 fchmod \
6716b242 808 getdtablesize \
8505e57b 809 getpagesize \
30a4f2a8 810 getrusage \
9c1d8929 811 getspnam \
30a4f2a8 812 lrand48 \
6716b242 813 mallinfo \
0f5efab0 814 mallocblksize \
6716b242 815 mallopt \
2ae6b9b0 816 memcpy \
30a4f2a8 817 memmove \
dac27377 818 memset \
1812b6c7 819 mktime \
88738790 820 mstats \
84cecfd2 821 poll \
b1e77ec1 822 random \
6716b242 823 regcomp \
824 regexec \
825 regfree \
30a4f2a8 826 res_init \
4915be3b 827 rint \
234967c9 828 seteuid \
30a4f2a8 829 setpgrp \
6716b242 830 setrlimit \
30a4f2a8 831 setsid \
832 sigaction \
11430c03 833 snprintf \
30a4f2a8 834 srand48 \
b1e77ec1 835 srandom \
b075cbb1 836 statvfs \
6716b242 837 sysconf \
838 syslog \
0a3efad5 839 tempnam \
234967c9 840 timegm \
28da5e0d 841 vsnprintf \
6716b242 842)
843
60939927 844dnl Yay! Another Linux brokenness. Its not good enough
845dnl to know that setresuid() exists, because RedHat 5.0 declares
846dnl setresuid() but doesn't implement it.
847dnl
848AC_CACHE_CHECK(if setresuid is implemented, ac_cv_func_setresuid,
5c51415d 849 AC_TRY_RUN([
60939927 850#include <stdlib.h>
5c51415d 851 int main() {
852 if(setresuid(-1,-1,-1)) {
853 perror("setresuid:");
854 exit(1);
60939927 855 }
856 exit(0);
5c51415d 857 }
858 ],ac_cv_func_setresuid="yes",ac_cv_func_setresuid="no")
60939927 859)
5c51415d 860if test "$ac_cv_func_setresuid" = "yes" ; then
861 AC_DEFINE(HAVE_SETRESUID)
862fi
60939927 863
5cafc1d6 864dnl IP-Filter support requires ipf header files. These aren't
865dnl installed by default, so we need to check for them
866if test "$IPF_TRANSPARENT" ; then
867 AC_MSG_CHECKING(if IP-Filter header files are installed)
868 if test "$ac_cv_header_ip_compat_h" = "no" ||
869 test "$ac_cv_header_ip_fil_h" = "no" ||
870 test "$ac_cv_header_ip_nat_h" = "no" ; then
871 IPF_TRANSPARENT="no"
872 AC_DEFINE(IPF_TRANSPARENT, 0)
873 else
874 IPF_TRANSPARENT="yes"
875 AC_DEFINE(IPF_TRANSPARENT)
876 fi
877 AC_MSG_RESULT($IPF_TRANSPARENT)
878fi
879if test "$IPF_TRANSPARENT" = "no" ; then
880 echo "WARNING: Cannot find necessary IP-Filter header files"
881 echo " Transparent Proxy support WILL NOT be enabled"
882 sleep 10
883fi
884
91bc414e 885if test -z "$USE_GNUREGEX" ; then
886 case "$host" in
887 *-sun-solaris2.[[0-4]])
888 USE_GNUREGEX="yes"
889 ;;
890 *-next-nextstep*)
891 USE_GNUREGEX="yes"
892 ;;
893 esac
894fi
7a081912 895AC_MSG_CHECKING(if GNUregex needs to be compiled)
91bc414e 896if test -z "$USE_GNUREGEX"; then
55878dfd 897if test "$ac_cv_func_regcomp" = "no" || test "$USE_GNUREGEX" = "yes" ; then
74946a0f 898 USE_GNUREGEX="yes"
00fa2c12 899else
0cccc031 900 AC_TRY_COMPILE([#include <sys/types.h>
901#include <regex.h>],[regex_t t; regcomp(&t,"",0);],
91bc414e 902 USE_GNUREGEX="no",
903 USE_GNUREGEX="yes")
904fi
00fa2c12 905fi
74946a0f 906AC_MSG_RESULT($USE_GNUREGEX)
907if test "$USE_GNUREGEX" = "yes"; then
26675bf4 908 REGEXLIB="-lregex"
7a081912 909 LIBREGEX="libregex.a"
74946a0f 910 AC_DEFINE(USE_GNUREGEX)
7a081912 911fi
26675bf4 912AC_SUBST(REGEXLIB)
00fa2c12 913AC_SUBST(LIBREGEX)
7a081912 914
3f6fcd8a 915AC_REPLACE_FUNCS(\
3d0cf10e 916 drand48 \
3f6fcd8a 917 tempnam \
4d38fc7e 918 strerror \
3f6fcd8a 919)
920
5c51415d 921dnl Not cached since people are likely to tune this
e924600d 922AC_MSG_CHECKING(Default FD_SETSIZE value)
923AC_TRY_RUN([
924#if HAVE_STDIO_H
925#include <stdio.h>
926#endif
927#if HAVE_UNISTD_H
928#include <unistd.h>
929#endif
930#if HAVE_SYS_TIME_H
931#include <sys/time.h>
932#endif
933#if HAVE_SYS_SELECT_H
934#include <sys/select.h>
935#endif
936#if HAVE_SYS_TYPES_H
937#include <sys/types.h>
938#endif
939main() {
940 fprintf (fopen("conftestval", "w"), "%d\n", FD_SETSIZE);
941 exit(0);
942}
943],
944DEFAULT_FD_SETSIZE=`cat conftestval`,
945DEFAULT_FD_SETSIZE=256,
946DEFAULT_FD_SETSIZE=256)
947AC_MSG_RESULT($DEFAULT_FD_SETSIZE)
948AC_DEFINE_UNQUOTED(DEFAULT_FD_SETSIZE, $DEFAULT_FD_SETSIZE)
949
5c51415d 950dnl Not cached since people are likely to tune this
234967c9 951AC_MSG_CHECKING(Maximum number of filedescriptors we can open)
952AC_TRY_RUN([
8cca06da 953#include <stdio.h>
234967c9 954#include <unistd.h>
30a4f2a8 955#include <sys/time.h> /* needed on FreeBSD */
234967c9 956#include <sys/param.h>
957#include <sys/resource.h>
958main() {
959 int i,j;
df087e68 960#if __CYGWIN32__
961 /* getrlimit and sysconf returns bogous values on cygwin32.
962 * Number of fds is virtually unlimited in cygwin (sys/param.h)
963 */
964 i = NOFILE;
965#else
234967c9 966#if HAVE_SETRLIMIT
967 struct rlimit rl;
968#if defined(RLIMIT_NOFILE)
969 if (getrlimit(RLIMIT_NOFILE, &rl) < 0) {
970 perror("getrlimit: RLIMIT_NOFILE");
971 } else {
972 rl.rlim_cur = rl.rlim_max; /* set it to the max */
973 if (setrlimit(RLIMIT_NOFILE, &rl) < 0) {
974 perror("setrlimit: RLIMIT_NOFILE");
975 }
976 }
977#elif defined(RLIMIT_OFILE)
978 if (getrlimit(RLIMIT_OFILE, &rl) < 0) {
979 perror("getrlimit: RLIMIT_OFILE");
980 } else {
981 rl.rlim_cur = rl.rlim_max; /* set it to the max */
982 if (setrlimit(RLIMIT_OFILE, &rl) < 0) {
983 perror("setrlimit: RLIMIT_OFILE");
984 }
985 }
986#endif /* RLIMIT_NOFILE */
987#endif /* HAVE_SETRLIMIT */
988#if HAVE_SYSCONF && defined(_SC_OPEN_MAX)
989 i = sysconf(_SC_OPEN_MAX);
3f6fcd8a 990#elif HAVE_GETDTABLESIZE && !defined(__linux__)
234967c9 991 i = getdtablesize();
992#elif defined(OPEN_MAX)
993 i = OPEN_MAX;
994#elif defined(NOFILE)
995 i = NOFILE;
996#elif defined(_NFILE)
997 i = _NFILE;
998#else
999 while((j=open("/dev/null", 0)) > 0) i=j;
0a5b9b32 1000 close(i); close(i-1);
1001 i++;
234967c9 1002#endif
df087e68 1003#endif /* __CYGWIN32__ */
234967c9 1004 fprintf (fopen("conftestval", "w"), "%d\n", i);
1005 exit(0);
1006}
1007],
431d84c5 1008SQUID_MAXFD=`cat conftestval`,
1009SQUID_MAXFD=256,
1010SQUID_MAXFD=256)
1011AC_MSG_RESULT($SQUID_MAXFD)
1012AC_DEFINE_UNQUOTED(SQUID_MAXFD, $SQUID_MAXFD)
b9cc811d 1013if test "$SQUID_MAXFD" -lt 512 ; then
80ab193b 1014 echo "WARNING: $SQUID_MAXFD may not be enough filedescriptors if your"
1015 echo " cache will be very busy. Please see the FAQ page"
043e3d78 1016 echo " http://squid.nlanr.net/Squid/FAQ/FAQ-11.html#filedescriptors"
e692ff35 1017 echo " on how to increase your filedescriptor limit"
933cc58d 1018 sleep 10
80ab193b 1019fi
234967c9 1020
5c51415d 1021dnl Not cached since people are likely to tune this
30a4f2a8 1022AC_MSG_CHECKING(Default UDP send buffer size)
1023AC_TRY_RUN([
8cca06da 1024#include <stdlib.h>
1025#include <stdio.h>
30a4f2a8 1026#include <sys/types.h>
1027#include <sys/socket.h>
1028#include <netinet/in.h>
1029main ()
1030{
1031 int fd,val=0,len=sizeof(int);
1032 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
1033 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
1034 if (val<=0) exit(1);
1035 fprintf (fopen("conftestval", "w"), "%d\n", val);
1036 exit(0);
1037}
1038],
1039SQUID_UDP_SO_SNDBUF=`cat conftestval`,
1c481e00 1040SQUID_UDP_SO_SNDBUF=16384,
1041SQUID_UDP_SO_SNDBUF=16384)
30a4f2a8 1042AC_MSG_RESULT($SQUID_UDP_SO_SNDBUF)
1043AC_DEFINE_UNQUOTED(SQUID_UDP_SO_SNDBUF, $SQUID_UDP_SO_SNDBUF)
1044
5c51415d 1045dnl Not cached since people are likely to tune this
30a4f2a8 1046AC_MSG_CHECKING(Default UDP receive buffer size)
1047AC_TRY_RUN([
8cca06da 1048#include <stdlib.h>
1049#include <stdio.h>
30a4f2a8 1050#include <sys/types.h>
1051#include <sys/socket.h>
1052#include <netinet/in.h>
1053main ()
1054{
1055 int fd,val=0,len=sizeof(int);
1056 if ((fd = socket(AF_INET, SOCK_DGRAM, 0)) < 0) exit(1);
1057 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
1058 if (val <= 0) exit(1);
1059 fprintf (fopen("conftestval", "w"), "%d\n", val);
1060 exit(0);
1061}
1062],
1063SQUID_UDP_SO_RCVBUF=`cat conftestval`,
1c481e00 1064SQUID_UDP_SO_RCVBUF=16384,
1065SQUID_UDP_SO_RCVBUF=16384)
30a4f2a8 1066AC_MSG_RESULT($SQUID_UDP_SO_RCVBUF)
1067AC_DEFINE_UNQUOTED(SQUID_UDP_SO_RCVBUF, $SQUID_UDP_SO_RCVBUF)
1068
5c51415d 1069dnl Not cached since people are likely to tune this
30a4f2a8 1070AC_MSG_CHECKING(Default TCP send buffer size)
1071AC_TRY_RUN([
8cca06da 1072#include <stdlib.h>
1073#include <stdio.h>
30a4f2a8 1074#include <sys/types.h>
1075#include <sys/socket.h>
1076#include <netinet/in.h>
1077main ()
1078{
1079 int fd,val=0,len=sizeof(int);
1080 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
1081 if (getsockopt(fd, SOL_SOCKET, SO_SNDBUF, &val, &len) < 0) exit(1);
1082 if (val <= 0) exit(1);
1083 fprintf (fopen("conftestval", "w"), "%d\n", val);
1084 exit(0);
1085}
1086],
1087SQUID_TCP_SO_SNDBUF=`cat conftestval`,
1c481e00 1088SQUID_TCP_SO_SNDBUF=16384,
1089SQUID_TCP_SO_SNDBUF=16384)
30a4f2a8 1090AC_MSG_RESULT($SQUID_TCP_SO_SNDBUF)
1091AC_DEFINE_UNQUOTED(SQUID_TCP_SO_SNDBUF, $SQUID_TCP_SO_SNDBUF)
1092
5c51415d 1093dnl Not cached since people are likely to tune this
30a4f2a8 1094AC_MSG_CHECKING(Default TCP receive buffer size)
1095AC_TRY_RUN([
8cca06da 1096#include <stdlib.h>
1097#include <stdio.h>
30a4f2a8 1098#include <sys/types.h>
1099#include <sys/socket.h>
1100#include <netinet/in.h>
1101main ()
1102{
1103 int fd,val=0,len=sizeof(int);
1104 if ((fd = socket(AF_INET, SOCK_STREAM, 0)) < 0) exit(1);
1105 if (getsockopt(fd, SOL_SOCKET, SO_RCVBUF, &val, &len) < 0) exit(1);
1106 if (val <= 0) exit(1);
1107 fprintf (fopen("conftestval", "w"), "%d\n", val);
1108 exit(0);
1109}
1110],
1111SQUID_TCP_SO_RCVBUF=`cat conftestval`,
1c481e00 1112SQUID_TCP_SO_RCVBUF=16384,
1113SQUID_TCP_SO_RCVBUF=16384)
30a4f2a8 1114AC_MSG_RESULT($SQUID_TCP_SO_RCVBUF)
1115AC_DEFINE_UNQUOTED(SQUID_TCP_SO_RCVBUF, $SQUID_TCP_SO_RCVBUF)
1116
5c51415d 1117AC_CACHE_CHECK(if sys_errlist is already defined, ac_cv_needs_sys_errlist,
1118 AC_TRY_COMPILE([#include <stdio.h>],[char *s = sys_errlist[0];],
1119 ac_cv_needs_sys_errlist="no",
1120 ac_cv_needs_sys_errlist="yes")
1121)
1122if test "$ac_cv_needs_sys_errlist" = "yes" ; then
1123 AC_DEFINE(NEED_SYS_ERRLIST)
1124fi
30a4f2a8 1125
5c51415d 1126dnl Not cached since people are likely to change this
6bf65235 1127AC_MSG_CHECKING(for libresolv _dns_ttl_ hack)
1128AC_TRY_LINK(extern int _dns_ttl_;,return _dns_ttl_;,
1129[AC_MSG_RESULT(yes)
1130AC_DEFINE(LIBRESOLV_DNS_TTL_HACK)],
1131AC_MSG_RESULT(no))
1132
090089c4 1133dnl Need the debugging version of malloc if available
1134XTRA_OBJS=''
6509a1a0 1135if test "$ac_cv_lib_malloc_main" = "yes" ; then
090089c4 1136 if test -r /usr/lib/debug/malloc.o ; then
1137 XTRA_OBJS="$XTRA_OBJS /usr/lib/debug/malloc.o"
1138 fi
1139 if test -r /usr/lib/debug/mallocmap.o ; then
1140 XTRA_OBJS="$XTRA_OBJS /usr/lib/debug/mallocmap.o"
1141 fi
1142fi
2bbd722b 1143
090089c4 1144AC_SUBST(XTRA_OBJS)
1145
38fea766 1146if test -z "$XTRA_LIBS"; then
1147 XTRA_LIBS="$LIBS"
0f5a16f8 1148 dnl -lcrypt is set in CRYPTLIB
1149 XTRA_LIBS=`echo $XTRA_LIBS | sed -e "s/-lcrypt//"`
1150 dnl -lpthread is set in PTHREADLIB
1151 XTRA_LIBS=`echo $XTRA_LIBS | sed -e "s/-lpthread//"`
1152 dnl minor cleanup
1153 XTRA_LIBS=`echo $XTRA_LIBS | sed -e "s/ */ /g"`
38fea766 1154 LIBS=''
1155fi
090089c4 1156AC_SUBST(XTRA_LIBS)
1157
090089c4 1158dnl Clean up after OSF/1 core dump bug
1159rm -f core
1160
1161AC_OUTPUT(\
0992a350 1162 ./makefile \
090089c4 1163 ./lib/Makefile \
a26bdc75 1164 ./include/config.h \
090089c4 1165 ./scripts/Makefile \
1166 ./scripts/RunCache \
1167 ./scripts/RunAccel \
a26bdc75 1168 ./src/Makefile \
e550e8b6 1169 ./contrib/Makefile \
8a7f0105 1170 $SNMP_MAKEFILE \
81280a96 1171 ./icons/Makefile \
d4fb069d 1172 ./errors/Makefile \
e7814e83 1173 ./auth_modules/dummy \
dbfa0154 1174 ./auth_modules/NCSA/Makefile \
090089c4 1175)