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 --enable-mingw32 Use mingw32 for a Windows GUI"
17 --disable-regex Don't allow regular expressions in the blockfile"
19 --disable-pcre-regex Use old, slow GNU Regex instead of PCRE."
21 --disable-toggle Don't support temporary disable"
23 --disable-pcrs Don't support arbitrary content modification"
25 --disable-force Don't allow blockfle to be bypassed"
27 --disable-fast-redirects Don't support fast redirects"
29 --disable-killpopup Never block popups"
31 --disable-stats Don't keep statistics"
33 --disable-split-proxy-args One big show-proxy-args page, not one per file."
35 --disable-webdav Don't support WebDAV. This option stops MS Outlook
36 Express from accessing HotMail e-mail."
38 --disable-ie-images Don't auto-detect whether a request from MS Internet
39 Explorer is for an image or HTML."
41 --disable-image-blocking Don't try to figure out whether a request is
42 for an image or HTML - assume HTML."
44 --disable-acl-files Prevents the use of ACL files to control access to
45 the proxy by IP address."
47 --disable-trust-files Prevents the use of trust files."
49 --disable-jar-files Prevents the use of jar files to capture cookies."
51 --disable-static-pcre Link dynamically with the pcre and pcreposix
52 libraries. You must build the libraries seperately."
54 # Initialize some variables set by options.
55 # The variables have the same names as the options, with
56 # dashes changed to underlines.
58 cache_file=./config.cache
67 program_transform_name=s,x,x,
75 bindir='${exec_prefix}/bin'
76 sbindir='${exec_prefix}/sbin'
77 libexecdir='${exec_prefix}/libexec'
78 datadir='${prefix}/share'
79 sysconfdir='${prefix}/etc'
80 sharedstatedir='${prefix}/com'
81 localstatedir='${prefix}/var'
82 libdir='${exec_prefix}/lib'
83 includedir='${prefix}/include'
84 oldincludedir='/usr/include'
85 infodir='${prefix}/info'
86 mandir='${prefix}/man'
88 # Initialize some other variables.
91 SHELL=${CONFIG_SHELL-/bin/sh}
92 # Maximum number of lines to put in a shell here document.
99 # If the previous option needs an argument, assign it.
100 if test -n "$ac_prev"; then
101 eval "$ac_prev=\$ac_option"
107 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
111 # Accept the important Cygnus configure options, so we can diagnose typos.
115 -bindir | --bindir | --bindi | --bind | --bin | --bi)
117 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
118 bindir="$ac_optarg" ;;
120 -build | --build | --buil | --bui | --bu)
122 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
123 build="$ac_optarg" ;;
125 -cache-file | --cache-file | --cache-fil | --cache-fi \
126 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
127 ac_prev=cache_file ;;
128 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
129 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
130 cache_file="$ac_optarg" ;;
132 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
134 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
136 datadir="$ac_optarg" ;;
138 -disable-* | --disable-*)
139 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
140 # Reject names that are not valid shell variable names.
141 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
142 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
144 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
145 eval "enable_${ac_feature}=no" ;;
147 -enable-* | --enable-*)
148 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
149 # Reject names that are not valid shell variable names.
150 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
151 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
153 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
158 eval "enable_${ac_feature}='$ac_optarg'" ;;
160 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
161 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
162 | --exec | --exe | --ex)
163 ac_prev=exec_prefix ;;
164 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
165 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
166 | --exec=* | --exe=* | --ex=*)
167 exec_prefix="$ac_optarg" ;;
169 -gas | --gas | --ga | --g)
170 # Obsolete; use --with-gas.
173 -help | --help | --hel | --he)
174 # Omit some internal or obsolete options to make the list less imposing.
175 # This message is too long to be a string in the A/UX 3.1 sh.
177 Usage: configure [options] [host]
178 Options: [defaults in brackets after descriptions]
180 --cache-file=FILE cache test results in FILE
181 --help print this message
182 --no-create do not create output files
183 --quiet, --silent do not print \`checking...' messages
184 --version print the version of autoconf that created configure
185 Directory and file names:
186 --prefix=PREFIX install architecture-independent files in PREFIX
188 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
190 --bindir=DIR user executables in DIR [EPREFIX/bin]
191 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
192 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
193 --datadir=DIR read-only architecture-independent data in DIR
195 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
196 --sharedstatedir=DIR modifiable architecture-independent data in DIR
198 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
199 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
200 --includedir=DIR C header files in DIR [PREFIX/include]
201 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
202 --infodir=DIR info documentation in DIR [PREFIX/info]
203 --mandir=DIR man documentation in DIR [PREFIX/man]
204 --srcdir=DIR find the sources in DIR [configure dir or ..]
205 --program-prefix=PREFIX prepend PREFIX to installed program names
206 --program-suffix=SUFFIX append SUFFIX to installed program names
207 --program-transform-name=PROGRAM
208 run sed PROGRAM on installed program names
212 --build=BUILD configure for building on BUILD [BUILD=HOST]
213 --host=HOST configure for HOST [guessed]
214 --target=TARGET configure for TARGET [TARGET=HOST]
215 Features and packages:
216 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
217 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
218 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
219 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
220 --x-includes=DIR X include files are in DIR
221 --x-libraries=DIR X library files are in DIR
223 if test -n "$ac_help"; then
224 echo "--enable and --with options recognized:$ac_help"
228 -host | --host | --hos | --ho)
230 -host=* | --host=* | --hos=* | --ho=*)
233 -includedir | --includedir | --includedi | --included | --include \
234 | --includ | --inclu | --incl | --inc)
235 ac_prev=includedir ;;
236 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
237 | --includ=* | --inclu=* | --incl=* | --inc=*)
238 includedir="$ac_optarg" ;;
240 -infodir | --infodir | --infodi | --infod | --info | --inf)
242 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
243 infodir="$ac_optarg" ;;
245 -libdir | --libdir | --libdi | --libd)
247 -libdir=* | --libdir=* | --libdi=* | --libd=*)
248 libdir="$ac_optarg" ;;
250 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
251 | --libexe | --libex | --libe)
252 ac_prev=libexecdir ;;
253 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
254 | --libexe=* | --libex=* | --libe=*)
255 libexecdir="$ac_optarg" ;;
257 -localstatedir | --localstatedir | --localstatedi | --localstated \
258 | --localstate | --localstat | --localsta | --localst \
259 | --locals | --local | --loca | --loc | --lo)
260 ac_prev=localstatedir ;;
261 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
262 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
263 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
264 localstatedir="$ac_optarg" ;;
266 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
268 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
269 mandir="$ac_optarg" ;;
272 # Obsolete; use --without-fp.
275 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
279 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
280 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
283 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
284 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
285 | --oldin | --oldi | --old | --ol | --o)
286 ac_prev=oldincludedir ;;
287 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
288 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
289 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
290 oldincludedir="$ac_optarg" ;;
292 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
294 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
295 prefix="$ac_optarg" ;;
297 -program-prefix | --program-prefix | --program-prefi | --program-pref \
298 | --program-pre | --program-pr | --program-p)
299 ac_prev=program_prefix ;;
300 -program-prefix=* | --program-prefix=* | --program-prefi=* \
301 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
302 program_prefix="$ac_optarg" ;;
304 -program-suffix | --program-suffix | --program-suffi | --program-suff \
305 | --program-suf | --program-su | --program-s)
306 ac_prev=program_suffix ;;
307 -program-suffix=* | --program-suffix=* | --program-suffi=* \
308 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
309 program_suffix="$ac_optarg" ;;
311 -program-transform-name | --program-transform-name \
312 | --program-transform-nam | --program-transform-na \
313 | --program-transform-n | --program-transform- \
314 | --program-transform | --program-transfor \
315 | --program-transfo | --program-transf \
316 | --program-trans | --program-tran \
317 | --progr-tra | --program-tr | --program-t)
318 ac_prev=program_transform_name ;;
319 -program-transform-name=* | --program-transform-name=* \
320 | --program-transform-nam=* | --program-transform-na=* \
321 | --program-transform-n=* | --program-transform-=* \
322 | --program-transform=* | --program-transfor=* \
323 | --program-transfo=* | --program-transf=* \
324 | --program-trans=* | --program-tran=* \
325 | --progr-tra=* | --program-tr=* | --program-t=*)
326 program_transform_name="$ac_optarg" ;;
328 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
329 | -silent | --silent | --silen | --sile | --sil)
332 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
334 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
336 sbindir="$ac_optarg" ;;
338 -sharedstatedir | --sharedstatedir | --sharedstatedi \
339 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
340 | --sharedst | --shareds | --shared | --share | --shar \
342 ac_prev=sharedstatedir ;;
343 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
344 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
345 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
347 sharedstatedir="$ac_optarg" ;;
349 -site | --site | --sit)
351 -site=* | --site=* | --sit=*)
354 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
356 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
357 srcdir="$ac_optarg" ;;
359 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
360 | --syscon | --sysco | --sysc | --sys | --sy)
361 ac_prev=sysconfdir ;;
362 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
363 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
364 sysconfdir="$ac_optarg" ;;
366 -target | --target | --targe | --targ | --tar | --ta | --t)
368 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
369 target="$ac_optarg" ;;
371 -v | -verbose | --verbose | --verbos | --verbo | --verb)
374 -version | --version | --versio | --versi | --vers)
375 echo "configure generated by autoconf version 2.13"
379 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
380 # Reject names that are not valid shell variable names.
381 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
382 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
384 ac_package=`echo $ac_package| sed 's/-/_/g'`
389 eval "with_${ac_package}='$ac_optarg'" ;;
391 -without-* | --without-*)
392 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
393 # Reject names that are not valid shell variable names.
394 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
395 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
397 ac_package=`echo $ac_package| sed 's/-/_/g'`
398 eval "with_${ac_package}=no" ;;
401 # Obsolete; use --with-x.
404 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
405 | --x-incl | --x-inc | --x-in | --x-i)
406 ac_prev=x_includes ;;
407 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
408 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
409 x_includes="$ac_optarg" ;;
411 -x-libraries | --x-libraries | --x-librarie | --x-librari \
412 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
413 ac_prev=x_libraries ;;
414 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
415 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
416 x_libraries="$ac_optarg" ;;
418 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
422 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
423 echo "configure: warning: $ac_option: invalid host type" 1>&2
425 if test "x$nonopt" != xNONE; then
426 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
434 if test -n "$ac_prev"; then
435 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
438 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
440 # File descriptor usage:
443 # 2 errors and warnings
444 # 3 some systems may open it to /dev/tty
445 # 4 used on the Kubota Titan
446 # 6 checking for... messages and results
447 # 5 compiler messages saved in config.log
448 if test "$silent" = yes; then
456 This file contains any messages produced by compilers while
457 running configure, to aid debugging if configure makes a mistake.
460 # Strip out --no-create and --no-recursion so they do not pile up.
461 # Also quote any args containing shell metacharacters.
466 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
467 | --no-cr | --no-c) ;;
468 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
469 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
470 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
471 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
472 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
477 # Only set these to C if already set. These must not be set unconditionally
478 # because not all systems understand e.g. LANG=C (notably SCO).
479 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
480 # Non-C LC_CTYPE values break the ctype check.
481 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
482 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
483 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
484 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
486 # confdefs.h avoids OS command line length limits that DEFS can exceed.
487 rm -rf conftest* confdefs.h
488 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
491 # A filename unique to this package, relative to the directory that
492 # configure is in, which we can look for to find out if srcdir is correct.
495 # Find the source files, if location was not specified.
496 if test -z "$srcdir"; then
497 ac_srcdir_defaulted=yes
498 # Try the directory containing this script, then its parent.
500 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
501 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
503 if test ! -r $srcdir/$ac_unique_file; then
507 ac_srcdir_defaulted=no
509 if test ! -r $srcdir/$ac_unique_file; then
510 if test "$ac_srcdir_defaulted" = yes; then
511 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
513 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
516 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
518 # Prefer explicitly selected file to automatically selected ones.
519 if test -z "$CONFIG_SITE"; then
520 if test "x$prefix" != xNONE; then
521 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
523 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
526 for ac_site_file in $CONFIG_SITE; do
527 if test -r "$ac_site_file"; then
528 echo "loading site script $ac_site_file"
533 if test -r "$cache_file"; then
534 echo "loading cache $cache_file"
537 echo "creating cache $cache_file"
542 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
543 ac_cpp='$CPP $CPPFLAGS'
544 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
545 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
546 cross_compiling=$ac_cv_prog_cc_cross
550 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
551 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
552 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
559 ac_n= ac_c='\c' ac_t=
573 cat >> confdefs.h <<EOF
574 #define VERSION_MAJOR ${VERSION_MAJOR}
577 cat >> confdefs.h <<EOF
578 #define VERSION_MINOR ${VERSION_MINOR}
581 cat >> confdefs.h <<EOF
582 #define VERSION_POINT ${VERSION_POINT}
585 cat >> confdefs.h <<EOF
586 #define VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_POINT}"
590 # Extract the first word of "gcc", so it can be a program name with args.
591 set dummy gcc; ac_word=$2
592 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
593 echo "configure:594: checking for $ac_word" >&5
594 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
595 echo $ac_n "(cached) $ac_c" 1>&6
597 if test -n "$CC"; then
598 ac_cv_prog_CC="$CC" # Let the user override the test.
600 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
602 for ac_dir in $ac_dummy; do
603 test -z "$ac_dir" && ac_dir=.
604 if test -f $ac_dir/$ac_word; then
613 if test -n "$CC"; then
614 echo "$ac_t""$CC" 1>&6
616 echo "$ac_t""no" 1>&6
619 if test -z "$CC"; then
620 # Extract the first word of "cc", so it can be a program name with args.
621 set dummy cc; ac_word=$2
622 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
623 echo "configure:624: checking for $ac_word" >&5
624 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
625 echo $ac_n "(cached) $ac_c" 1>&6
627 if test -n "$CC"; then
628 ac_cv_prog_CC="$CC" # Let the user override the test.
630 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
633 for ac_dir in $ac_dummy; do
634 test -z "$ac_dir" && ac_dir=.
635 if test -f $ac_dir/$ac_word; then
636 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
645 if test $ac_prog_rejected = yes; then
646 # We found a bogon in the path, so make sure we never use it.
647 set dummy $ac_cv_prog_CC
649 if test $# -gt 0; then
650 # We chose a different compiler from the bogus one.
651 # However, it has the same basename, so the bogon will be chosen
652 # first if we set CC to just the basename; use the full file name.
654 set dummy "$ac_dir/$ac_word" "$@"
662 if test -n "$CC"; then
663 echo "$ac_t""$CC" 1>&6
665 echo "$ac_t""no" 1>&6
668 if test -z "$CC"; then
671 # Extract the first word of "cl", so it can be a program name with args.
672 set dummy cl; ac_word=$2
673 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
674 echo "configure:675: checking for $ac_word" >&5
675 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
676 echo $ac_n "(cached) $ac_c" 1>&6
678 if test -n "$CC"; then
679 ac_cv_prog_CC="$CC" # Let the user override the test.
681 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
683 for ac_dir in $ac_dummy; do
684 test -z "$ac_dir" && ac_dir=.
685 if test -f $ac_dir/$ac_word; then
694 if test -n "$CC"; then
695 echo "$ac_t""$CC" 1>&6
697 echo "$ac_t""no" 1>&6
702 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
705 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
706 echo "configure:707: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
709 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
710 ac_cpp='$CPP $CPPFLAGS'
711 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
712 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
713 cross_compiling=$ac_cv_prog_cc_cross
715 cat > conftest.$ac_ext << EOF
717 #line 718 "configure"
718 #include "confdefs.h"
722 if { (eval echo configure:723: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
723 ac_cv_prog_cc_works=yes
724 # If we can't run a trivial program, we are probably using a cross compiler.
725 if (./conftest; exit) 2>/dev/null; then
726 ac_cv_prog_cc_cross=no
728 ac_cv_prog_cc_cross=yes
731 echo "configure: failed program was:" >&5
732 cat conftest.$ac_ext >&5
733 ac_cv_prog_cc_works=no
737 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
738 ac_cpp='$CPP $CPPFLAGS'
739 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
740 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
741 cross_compiling=$ac_cv_prog_cc_cross
743 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
744 if test $ac_cv_prog_cc_works = no; then
745 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
747 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
748 echo "configure:749: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
749 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
750 cross_compiling=$ac_cv_prog_cc_cross
752 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
753 echo "configure:754: checking whether we are using GNU C" >&5
754 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
755 echo $ac_n "(cached) $ac_c" 1>&6
757 cat > conftest.c <<EOF
762 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:763: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
769 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
771 if test $ac_cv_prog_gcc = yes; then
777 ac_test_CFLAGS="${CFLAGS+set}"
778 ac_save_CFLAGS="$CFLAGS"
780 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
781 echo "configure:782: checking whether ${CC-cc} accepts -g" >&5
782 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
783 echo $ac_n "(cached) $ac_c" 1>&6
785 echo 'void f(){}' > conftest.c
786 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
795 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
796 if test "$ac_test_CFLAGS" = set; then
797 CFLAGS="$ac_save_CFLAGS"
798 elif test $ac_cv_prog_cc_g = yes; then
799 if test "$GCC" = yes; then
805 if test "$GCC" = yes; then
812 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
813 echo "configure:814: checking how to run the C preprocessor" >&5
814 # On Suns, sometimes $CPP names a directory.
815 if test -n "$CPP" && test -d "$CPP"; then
818 if test -z "$CPP"; then
819 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
820 echo $ac_n "(cached) $ac_c" 1>&6
822 # This must be in double quotes, not single quotes, because CPP may get
823 # substituted into the Makefile and "${CC-cc}" will confuse make.
825 # On the NeXT, cc -E runs the code through the compiler's parser,
826 # not just through cpp.
827 cat > conftest.$ac_ext <<EOF
828 #line 829 "configure"
829 #include "confdefs.h"
833 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
834 { (eval echo configure:835: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
835 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
836 if test -z "$ac_err"; then
840 echo "configure: failed program was:" >&5
841 cat conftest.$ac_ext >&5
843 CPP="${CC-cc} -E -traditional-cpp"
844 cat > conftest.$ac_ext <<EOF
845 #line 846 "configure"
846 #include "confdefs.h"
850 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
851 { (eval echo configure:852: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
852 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
853 if test -z "$ac_err"; then
857 echo "configure: failed program was:" >&5
858 cat conftest.$ac_ext >&5
860 CPP="${CC-cc} -nologo -E"
861 cat > conftest.$ac_ext <<EOF
862 #line 863 "configure"
863 #include "confdefs.h"
867 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
868 { (eval echo configure:869: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
869 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
870 if test -z "$ac_err"; then
874 echo "configure: failed program was:" >&5
875 cat conftest.$ac_ext >&5
884 ac_cv_prog_CPP="$CPP"
886 CPP="$ac_cv_prog_CPP"
888 ac_cv_prog_CPP="$CPP"
890 echo "$ac_t""$CPP" 1>&6
893 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
894 echo "configure:895: checking for mingw32 environment" >&5
895 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
896 echo $ac_n "(cached) $ac_c" 1>&6
898 cat > conftest.$ac_ext <<EOF
899 #line 900 "configure"
900 #include "confdefs.h"
906 if { (eval echo configure:907: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
910 echo "configure: failed program was:" >&5
911 cat conftest.$ac_ext >&5
919 echo "$ac_t""$ac_cv_mingw32" 1>&6
921 test "$ac_cv_mingw32" = yes && MINGW32=yes
922 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
923 echo "configure:924: checking for Cygwin environment" >&5
924 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
925 echo $ac_n "(cached) $ac_c" 1>&6
927 cat > conftest.$ac_ext <<EOF
928 #line 929 "configure"
929 #include "confdefs.h"
934 #define __CYGWIN__ __CYGWIN32__
939 if { (eval echo configure:940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
943 echo "configure: failed program was:" >&5
944 cat conftest.$ac_ext >&5
952 echo "$ac_t""$ac_cv_cygwin" 1>&6
954 test "$ac_cv_cygwin" = yes && CYGWIN=yes
957 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
958 echo "configure:959: checking for executable suffix" >&5
959 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
960 echo $ac_n "(cached) $ac_c" 1>&6
962 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
966 echo 'int main () { return 0; }' > conftest.$ac_ext
968 if { (eval echo configure:969: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
969 for file in conftest.*; do
971 *.c | *.o | *.obj) ;;
972 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
976 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
979 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
984 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
985 echo "$ac_t""${ac_cv_exeext}" 1>&6
988 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
989 echo "configure:990: checking for object suffix" >&5
990 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
991 echo $ac_n "(cached) $ac_c" 1>&6
994 echo 'int i = 1;' > conftest.$ac_ext
995 if { (eval echo configure:996: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
996 for ac_file in conftest.*; do
999 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1003 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1008 echo "$ac_t""$ac_cv_objext" 1>&6
1009 OBJEXT=$ac_cv_objext
1010 ac_objext=$ac_cv_objext
1014 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1015 echo "configure:1016: checking for ANSI C header files" >&5
1016 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1017 echo $ac_n "(cached) $ac_c" 1>&6
1019 cat > conftest.$ac_ext <<EOF
1020 #line 1021 "configure"
1021 #include "confdefs.h"
1027 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1028 { (eval echo configure:1029: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1029 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1030 if test -z "$ac_err"; then
1032 ac_cv_header_stdc=yes
1035 echo "configure: failed program was:" >&5
1036 cat conftest.$ac_ext >&5
1038 ac_cv_header_stdc=no
1042 if test $ac_cv_header_stdc = yes; then
1043 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1044 cat > conftest.$ac_ext <<EOF
1045 #line 1046 "configure"
1046 #include "confdefs.h"
1049 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1050 egrep "memchr" >/dev/null 2>&1; then
1054 ac_cv_header_stdc=no
1060 if test $ac_cv_header_stdc = yes; then
1061 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1062 cat > conftest.$ac_ext <<EOF
1063 #line 1064 "configure"
1064 #include "confdefs.h"
1067 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1068 egrep "free" >/dev/null 2>&1; then
1072 ac_cv_header_stdc=no
1078 if test $ac_cv_header_stdc = yes; then
1079 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1080 if test "$cross_compiling" = yes; then
1083 cat > conftest.$ac_ext <<EOF
1084 #line 1085 "configure"
1085 #include "confdefs.h"
1087 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1088 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1089 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1090 int main () { int i; for (i = 0; i < 256; i++)
1091 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1095 if { (eval echo configure:1096: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1099 echo "configure: failed program was:" >&5
1100 cat conftest.$ac_ext >&5
1102 ac_cv_header_stdc=no
1110 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1111 if test $ac_cv_header_stdc = yes; then
1112 cat >> confdefs.h <<\EOF
1113 #define STDC_HEADERS 1
1119 echo $ac_n "checking for working const""... $ac_c" 1>&6
1120 echo "configure:1121: checking for working const" >&5
1121 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1122 echo $ac_n "(cached) $ac_c" 1>&6
1124 cat > conftest.$ac_ext <<EOF
1125 #line 1126 "configure"
1126 #include "confdefs.h"
1130 /* Ultrix mips cc rejects this. */
1131 typedef int charset[2]; const charset x;
1132 /* SunOS 4.1.1 cc rejects this. */
1133 char const *const *ccp;
1135 /* NEC SVR4.0.2 mips cc rejects this. */
1136 struct point {int x, y;};
1137 static struct point const zero = {0,0};
1138 /* AIX XL C 1.02.0.0 rejects this.
1139 It does not let you subtract one const X* pointer from another in an arm
1140 of an if-expression whose if-part is not a constant expression */
1141 const char *g = "string";
1142 ccp = &g + (g ? g-g : 0);
1143 /* HPUX 7.0 cc rejects these. */
1146 ccp = (char const *const *) p;
1147 { /* SCO 3.2v4 cc rejects this. */
1149 char const *s = 0 ? (char *) 0 : (char const *) 0;
1153 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1155 const int *foo = &x[0];
1158 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1159 typedef const int *iptr;
1163 { /* AIX XL C 1.02.0.0 rejects this saying
1164 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1165 struct s { int j; const int *ap[3]; };
1166 struct s *b; b->j = 5;
1168 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1174 if { (eval echo configure:1175: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1178 echo "configure: failed program was:" >&5
1179 cat conftest.$ac_ext >&5
1186 echo "$ac_t""$ac_cv_c_const" 1>&6
1187 if test $ac_cv_c_const = no; then
1188 cat >> confdefs.h <<\EOF
1194 echo $ac_n "checking for size_t""... $ac_c" 1>&6
1195 echo "configure:1196: checking for size_t" >&5
1196 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1197 echo $ac_n "(cached) $ac_c" 1>&6
1199 cat > conftest.$ac_ext <<EOF
1200 #line 1201 "configure"
1201 #include "confdefs.h"
1202 #include <sys/types.h>
1208 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1209 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1211 ac_cv_type_size_t=yes
1214 ac_cv_type_size_t=no
1219 echo "$ac_t""$ac_cv_type_size_t" 1>&6
1220 if test $ac_cv_type_size_t = no; then
1221 cat >> confdefs.h <<\EOF
1222 #define size_t unsigned
1228 for ac_func in strerror bcopy memmove
1230 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1231 echo "configure:1232: checking for $ac_func" >&5
1232 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1233 echo $ac_n "(cached) $ac_c" 1>&6
1235 cat > conftest.$ac_ext <<EOF
1236 #line 1237 "configure"
1237 #include "confdefs.h"
1238 /* System header to define __stub macros and hopefully few prototypes,
1239 which can conflict with char $ac_func(); below. */
1241 /* Override any gcc2 internal prototype to avoid an error. */
1242 /* We use char because int might match the return type of a gcc2
1243 builtin and then its argument prototype would still apply. */
1248 /* The GNU C library defines this for functions which it implements
1249 to always fail with ENOSYS. Some functions are actually named
1250 something starting with __ and the normal name is an alias. */
1251 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1259 if { (eval echo configure:1260: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1261 eval "ac_cv_func_$ac_func=yes"
1263 echo "configure: failed program was:" >&5
1264 cat conftest.$ac_ext >&5
1266 eval "ac_cv_func_$ac_func=no"
1271 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1272 echo "$ac_t""yes" 1>&6
1273 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1274 cat >> confdefs.h <<EOF
1275 #define $ac_tr_func 1
1279 echo "$ac_t""no" 1>&6
1285 # Check whether --enable-mingw32 or --disable-mingw32 was given.
1286 if test "${enable_mingw32+set}" = set; then
1287 enableval="$enable_mingw32"
1288 if test $enableval = yes; then
1290 CYGWIN_FLAGS="-mwindows -mno-cygwin"
1291 echo "Using mingw32 (Win32 GUI)"
1294 if test "$CYGWIN" = "yes"; then
1295 CYGWIN_FLAGS="-mno-win32"
1296 echo "Using Cygnus (Win32 command line)"
1302 if test "$MINGW32" = "yes"; then
1304 CYGWIN_FLAGS="-mwindows -mno-cygwin"
1305 echo "Using mingw32 (Win32 GUI)"
1308 if test "$CYGWIN" = "yes"; then
1309 CYGWIN_FLAGS="-mno-win32"
1310 echo "Using Cygnus (Win32 command line)"
1330 # Check whether --enable-regex or --disable-regex was given.
1331 if test "${enable_regex+set}" = set; then
1332 enableval="$enable_regex"
1333 if test $enableval = yes; then
1334 cat >> confdefs.h <<\EOF
1344 cat >> confdefs.h <<\EOF
1351 # Check whether --enable-pcre-regex or --disable-pcre-regex was given.
1352 if test "${enable_pcre_regex+set}" = set; then
1353 enableval="$enable_pcre_regex"
1354 if test $enableval = yes; then
1355 cat >> confdefs.h <<\EOF
1364 cat >> confdefs.h <<\EOF
1379 # Check whether --enable-toggle or --disable-toggle was given.
1380 if test "${enable_toggle+set}" = set; then
1381 enableval="$enable_toggle"
1382 if test $enableval = yes; then
1383 cat >> confdefs.h <<\EOF
1389 cat >> confdefs.h <<\EOF
1397 # Check whether --enable-pcrs or --disable-pcrs was given.
1398 if test "${enable_pcrs+set}" = set; then
1399 enableval="$enable_pcrs"
1400 if test $enableval = yes; then
1401 cat >> confdefs.h <<\EOF
1405 cat >> confdefs.h <<\EOF
1413 cat >> confdefs.h <<\EOF
1416 cat >> confdefs.h <<\EOF
1424 # Check whether --enable-force or --disable-force was given.
1425 if test "${enable_force+set}" = set; then
1426 enableval="$enable_force"
1427 if test $enableval = yes; then
1428 cat >> confdefs.h <<\EOF
1429 #define FORCE_LOAD 1
1434 cat >> confdefs.h <<\EOF
1435 #define FORCE_LOAD 1
1441 # Check whether --enable-fast-redirects or --disable-fast-redirects was given.
1442 if test "${enable_fast_redirects+set}" = set; then
1443 enableval="$enable_fast_redirects"
1444 if test $enableval = yes; then
1445 cat >> confdefs.h <<\EOF
1446 #define FAST_REDIRECTS 1
1451 cat >> confdefs.h <<\EOF
1452 #define FAST_REDIRECTS 1
1458 # Check whether --enable-killpopup or --disable-killpopup was given.
1459 if test "${enable_killpopup+set}" = set; then
1460 enableval="$enable_killpopup"
1461 if test $enableval = yes; then
1462 cat >> confdefs.h <<\EOF
1463 #define KILLPOPUPS 1
1468 cat >> confdefs.h <<\EOF
1469 #define KILLPOPUPS 1
1475 # Check whether --enable-stats or --disable-stats was given.
1476 if test "${enable_stats+set}" = set; then
1477 enableval="$enable_stats"
1478 if test $enableval = yes; then
1479 cat >> confdefs.h <<\EOF
1480 #define STATISTICS 1
1485 cat >> confdefs.h <<\EOF
1486 #define STATISTICS 1
1492 # Check whether --enable-split-proxy-args or --disable-split-proxy-args was given.
1493 if test "${enable_split_proxy_args+set}" = set; then
1494 enableval="$enable_split_proxy_args"
1495 if test $enableval = yes; then
1496 cat >> confdefs.h <<\EOF
1497 #define SPLIT_PROXY_ARGS 1
1502 cat >> confdefs.h <<\EOF
1503 #define SPLIT_PROXY_ARGS 1
1509 # Check whether --enable-webdav or --disable-webdav was given.
1510 if test "${enable_webdav+set}" = set; then
1511 enableval="$enable_webdav"
1512 if test $enableval = yes; then
1513 cat >> confdefs.h <<\EOF
1519 cat >> confdefs.h <<\EOF
1526 # Check whether --enable-ie-images or --disable-ie-images was given.
1527 if test "${enable_ie_images+set}" = set; then
1528 enableval="$enable_ie_images"
1529 if test $enableval = yes; then
1530 cat >> confdefs.h <<\EOF
1531 #define DETECT_MSIE_IMAGES 1
1536 cat >> confdefs.h <<\EOF
1537 #define DETECT_MSIE_IMAGES 1
1543 # Check whether --enable-image-blocking or --disable-image-blocking was given.
1544 if test "${enable_image_blocking+set}" = set; then
1545 enableval="$enable_image_blocking"
1546 if test $enableval = yes; then
1547 cat >> confdefs.h <<\EOF
1548 #define IMAGE_BLOCKING 1
1553 cat >> confdefs.h <<\EOF
1554 #define IMAGE_BLOCKING 1
1560 # Check whether --enable-acl-files or --disable-acl-files was given.
1561 if test "${enable_acl_files+set}" = set; then
1562 enableval="$enable_acl_files"
1563 if test $enableval = yes; then
1564 cat >> confdefs.h <<\EOF
1570 cat >> confdefs.h <<\EOF
1577 # Check whether --enable-trust-files or --disable-trust-files was given.
1578 if test "${enable_trust_files+set}" = set; then
1579 enableval="$enable_trust_files"
1580 if test $enableval = yes; then
1581 cat >> confdefs.h <<\EOF
1582 #define TRUST_FILES 1
1587 cat >> confdefs.h <<\EOF
1588 #define TRUST_FILES 1
1594 # Check whether --enable-jar-files or --disable-jar-files was given.
1595 if test "${enable_jar_files+set}" = set; then
1596 enableval="$enable_jar_files"
1597 if test $enableval = yes; then
1598 cat >> confdefs.h <<\EOF
1604 cat >> confdefs.h <<\EOF
1613 # Check whether --enable-static-pcre or --disable-static-pcre was given.
1614 if test "${enable_static_pcre+set}" = set; then
1615 enableval="$enable_static_pcre"
1616 if test $enableval = no; then
1626 cat > confcache <<\EOF
1627 # This file is a shell script that caches the results of configure
1628 # tests run on this system so they can be shared between configure
1629 # scripts and configure runs. It is not useful on other systems.
1630 # If it contains results you don't want to keep, you may remove or edit it.
1632 # By default, configure uses ./config.cache as the cache file,
1633 # creating it if it does not exist already. You can give configure
1634 # the --cache-file=FILE option to use a different cache file; that is
1635 # what configure does when it calls configure scripts in
1636 # subdirectories, so they share the cache.
1637 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1638 # config.status only pays attention to the cache file if you give it the
1639 # --recheck option to rerun configure.
1642 # The following way of writing the cache mishandles newlines in values,
1643 # but we know of no workaround that is simple, portable, and efficient.
1644 # So, don't put newlines in cache variables' values.
1645 # Ultrix sh set writes to stderr and can't be redirected directly,
1646 # and sets the high bit in the cache file unless we assign to the vars.
1648 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1650 # `set' does not quote correctly, so add quotes (double-quote substitution
1651 # turns \\\\ into \\, and sed turns \\ into \).
1653 -e "s/'/'\\\\''/g" \
1654 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1657 # `set' quotes correctly as required by POSIX, so do not add quotes.
1658 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1661 if cmp -s $cache_file confcache; then
1664 if test -w $cache_file; then
1665 echo "updating cache $cache_file"
1666 cat confcache > $cache_file
1668 echo "not updating unwritable cache $cache_file"
1673 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1675 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1676 # Let make expand exec_prefix.
1677 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1679 # Any assignment to VPATH causes Sun make to only execute
1680 # the first set of double-colon rules, so remove it if not needed.
1681 # If there is a colon in the path, we need to keep it.
1682 if test "x$srcdir" = x.; then
1683 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1686 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1688 DEFS=-DHAVE_CONFIG_H
1690 # Without the "./", some shells look in PATH for config.status.
1691 : ${CONFIG_STATUS=./config.status}
1693 echo creating $CONFIG_STATUS
1694 rm -f $CONFIG_STATUS
1695 cat > $CONFIG_STATUS <<EOF
1697 # Generated automatically by configure.
1698 # Run this file to recreate the current configuration.
1699 # This directory was configured as follows,
1700 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1702 # $0 $ac_configure_args
1704 # Compiler output produced by configure, useful for debugging
1705 # configure, is in ./config.log if it exists.
1707 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1710 case "\$ac_option" in
1711 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1712 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1713 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1714 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1715 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1717 -help | --help | --hel | --he | --h)
1718 echo "\$ac_cs_usage"; exit 0 ;;
1719 *) echo "\$ac_cs_usage"; exit 1 ;;
1723 ac_given_srcdir=$srcdir
1725 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1727 cat >> $CONFIG_STATUS <<EOF
1729 # Protect against being on the right side of a sed subst in config.status.
1730 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1731 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1735 s%@CFLAGS@%$CFLAGS%g
1736 s%@CPPFLAGS@%$CPPFLAGS%g
1737 s%@CXXFLAGS@%$CXXFLAGS%g
1738 s%@FFLAGS@%$FFLAGS%g
1740 s%@LDFLAGS@%$LDFLAGS%g
1742 s%@exec_prefix@%$exec_prefix%g
1743 s%@prefix@%$prefix%g
1744 s%@program_transform_name@%$program_transform_name%g
1745 s%@bindir@%$bindir%g
1746 s%@sbindir@%$sbindir%g
1747 s%@libexecdir@%$libexecdir%g
1748 s%@datadir@%$datadir%g
1749 s%@sysconfdir@%$sysconfdir%g
1750 s%@sharedstatedir@%$sharedstatedir%g
1751 s%@localstatedir@%$localstatedir%g
1752 s%@libdir@%$libdir%g
1753 s%@includedir@%$includedir%g
1754 s%@oldincludedir@%$oldincludedir%g
1755 s%@infodir@%$infodir%g
1756 s%@mandir@%$mandir%g
1757 s%@VERSION_MAJOR@%$VERSION_MAJOR%g
1758 s%@VERSION_MINOR@%$VERSION_MINOR%g
1759 s%@VERSION_POINT@%$VERSION_POINT%g
1762 s%@EXEEXT@%$EXEEXT%g
1763 s%@OBJEXT@%$OBJEXT%g
1764 s%@WIN_ONLY@%$WIN_ONLY%g
1765 s%@CYGWIN_FLAGS@%$CYGWIN_FLAGS%g
1766 s%@SOLARIS_ONLY@%$SOLARIS_ONLY%g
1767 s%@GNU_REGEX_ONLY@%$GNU_REGEX_ONLY%g
1768 s%@PCRE_REGEX_ONLY@%$PCRE_REGEX_ONLY%g
1769 s%@NO_REGEX_ONLY@%$NO_REGEX_ONLY%g
1770 s%@PCRS_ONLY@%$PCRS_ONLY%g
1771 s%@LIBRARY_PCRE_ONLY@%$LIBRARY_PCRE_ONLY%g
1772 s%@STATIC_PCRE_ONLY@%$STATIC_PCRE_ONLY%g
1777 cat >> $CONFIG_STATUS <<\EOF
1779 # Split the substitutions into bite-sized pieces for seds with
1780 # small command number limits, like on Digital OSF/1 and HP-UX.
1781 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1782 ac_file=1 # Number of current file.
1783 ac_beg=1 # First line for current file.
1784 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1787 while $ac_more_lines; do
1788 if test $ac_beg -gt 1; then
1789 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1791 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1793 if test ! -s conftest.s$ac_file; then
1795 rm -f conftest.s$ac_file
1797 if test -z "$ac_sed_cmds"; then
1798 ac_sed_cmds="sed -f conftest.s$ac_file"
1800 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1802 ac_file=`expr $ac_file + 1`
1804 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1807 if test -z "$ac_sed_cmds"; then
1812 cat >> $CONFIG_STATUS <<EOF
1814 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1816 cat >> $CONFIG_STATUS <<\EOF
1817 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1818 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1820 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1821 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1822 *) ac_file_in="${ac_file}.in" ;;
1825 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1827 # Remove last slash and all that follows it. Not all systems have dirname.
1828 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1829 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1830 # The file is in a subdirectory.
1831 test ! -d "$ac_dir" && mkdir "$ac_dir"
1832 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1833 # A "../" for each directory in $ac_dir_suffix.
1834 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1836 ac_dir_suffix= ac_dots=
1839 case "$ac_given_srcdir" in
1841 if test -z "$ac_dots"; then top_srcdir=.
1842 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1843 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1845 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1846 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1850 echo creating "$ac_file"
1852 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1854 *Makefile*) ac_comsub="1i\\
1855 # $configure_input" ;;
1859 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1861 s%@configure_input@%$configure_input%g
1862 s%@srcdir@%$srcdir%g
1863 s%@top_srcdir@%$top_srcdir%g
1864 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1868 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1869 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1871 # ac_d sets the value in "#define NAME VALUE" lines.
1872 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1873 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1876 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1877 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1878 ac_uB='\([ ]\)%\1#\2define\3'
1881 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1882 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1883 ac_eB='$%\1#\2define\3'
1887 if test "${CONFIG_HEADERS+set}" != set; then
1889 cat >> $CONFIG_STATUS <<EOF
1890 CONFIG_HEADERS="config.h"
1892 cat >> $CONFIG_STATUS <<\EOF
1894 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1895 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1897 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1898 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1899 *) ac_file_in="${ac_file}.in" ;;
1902 echo creating $ac_file
1904 rm -f conftest.frag conftest.in conftest.out
1905 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1906 cat $ac_file_inputs > conftest.in
1910 # Transform confdefs.h into a sed script conftest.vals that substitutes
1911 # the proper values into config.h.in to produce config.h. And first:
1912 # Protect against being on the right side of a sed subst in config.status.
1913 # Protect against being in an unquoted here document in config.status.
1915 cat > conftest.hdr <<\EOF
1918 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1922 sed -n -f conftest.hdr confdefs.h > conftest.vals
1925 # This sed command replaces #undef with comments. This is necessary, for
1926 # example, in the case of _POSIX_SOURCE, which is predefined and required
1927 # on some systems where configure will not decide to define it.
1928 cat >> conftest.vals <<\EOF
1929 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1932 # Break up conftest.vals because some shells have a limit on
1933 # the size of here documents, and old seds have small limits too.
1938 ac_lines=`grep -c . conftest.vals`
1939 # grep -c gives empty output for an empty file on some AIX systems.
1940 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1941 # Write a limited-size here document to conftest.frag.
1942 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1943 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1945 sed -f conftest.frag conftest.in > conftest.out
1947 mv conftest.out conftest.in
1949 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1951 mv conftest.tail conftest.vals
1955 cat >> $CONFIG_STATUS <<\EOF
1956 rm -f conftest.frag conftest.h
1957 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1958 cat conftest.in >> conftest.h
1960 if cmp -s $ac_file conftest.h 2>/dev/null; then
1961 echo "$ac_file is unchanged"
1964 # Remove last slash and all that follows it. Not all systems have dirname.
1965 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1966 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1967 # The file is in a subdirectory.
1968 test ! -d "$ac_dir" && mkdir "$ac_dir"
1971 mv conftest.h $ac_file
1976 cat >> $CONFIG_STATUS <<EOF
1979 cat >> $CONFIG_STATUS <<\EOF
1983 chmod +x $CONFIG_STATUS
1984 rm -fr confdefs* $ac_clean_files
1985 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1