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-killpopup Never block popups"
29 --disable-stats Don't keep statistics"
31 --disable-split-proxy-args One big show-proxy-args page, not one per file."
33 --disable-webdav Don't support WebDAV. This option stops MS Outlook
34 Express from accessing HotMail e-mail."
36 --disable-ie-images Don't auto-detect whether a request from MS Internet
37 Explorer is for an image or HTML."
39 --disable-image-list Don't try to figure out whether a request is for an
40 image or HTML using the imagelist - assume HTML."
42 --disable-acl-files Prevents the use of ACL files to control access to
43 the proxy by IP address."
45 --disable-trust-files Prevents the use of trust files."
47 --disable-jar-files Prevents the use of jar files to capture cookies."
49 --disable-static-pcre Link dynamically with the pcre and pcreposix
50 libraries. You must build the libraries seperately."
52 # Initialize some variables set by options.
53 # The variables have the same names as the options, with
54 # dashes changed to underlines.
56 cache_file=./config.cache
65 program_transform_name=s,x,x,
73 bindir='${exec_prefix}/bin'
74 sbindir='${exec_prefix}/sbin'
75 libexecdir='${exec_prefix}/libexec'
76 datadir='${prefix}/share'
77 sysconfdir='${prefix}/etc'
78 sharedstatedir='${prefix}/com'
79 localstatedir='${prefix}/var'
80 libdir='${exec_prefix}/lib'
81 includedir='${prefix}/include'
82 oldincludedir='/usr/include'
83 infodir='${prefix}/info'
84 mandir='${prefix}/man'
86 # Initialize some other variables.
89 SHELL=${CONFIG_SHELL-/bin/sh}
90 # Maximum number of lines to put in a shell here document.
97 # If the previous option needs an argument, assign it.
98 if test -n "$ac_prev"; then
99 eval "$ac_prev=\$ac_option"
105 -*=*) ac_optarg=`echo "$ac_option" | sed 's/[-_a-zA-Z0-9]*=//'` ;;
109 # Accept the important Cygnus configure options, so we can diagnose typos.
113 -bindir | --bindir | --bindi | --bind | --bin | --bi)
115 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
116 bindir="$ac_optarg" ;;
118 -build | --build | --buil | --bui | --bu)
120 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
121 build="$ac_optarg" ;;
123 -cache-file | --cache-file | --cache-fil | --cache-fi \
124 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
125 ac_prev=cache_file ;;
126 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
127 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
128 cache_file="$ac_optarg" ;;
130 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
132 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
134 datadir="$ac_optarg" ;;
136 -disable-* | --disable-*)
137 ac_feature=`echo $ac_option|sed -e 's/-*disable-//'`
138 # Reject names that are not valid shell variable names.
139 if test -n "`echo $ac_feature| sed 's/[-a-zA-Z0-9_]//g'`"; then
140 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
142 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
143 eval "enable_${ac_feature}=no" ;;
145 -enable-* | --enable-*)
146 ac_feature=`echo $ac_option|sed -e 's/-*enable-//' -e 's/=.*//'`
147 # Reject names that are not valid shell variable names.
148 if test -n "`echo $ac_feature| sed 's/[-_a-zA-Z0-9]//g'`"; then
149 { echo "configure: error: $ac_feature: invalid feature name" 1>&2; exit 1; }
151 ac_feature=`echo $ac_feature| sed 's/-/_/g'`
156 eval "enable_${ac_feature}='$ac_optarg'" ;;
158 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
159 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
160 | --exec | --exe | --ex)
161 ac_prev=exec_prefix ;;
162 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
163 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
164 | --exec=* | --exe=* | --ex=*)
165 exec_prefix="$ac_optarg" ;;
167 -gas | --gas | --ga | --g)
168 # Obsolete; use --with-gas.
171 -help | --help | --hel | --he)
172 # Omit some internal or obsolete options to make the list less imposing.
173 # This message is too long to be a string in the A/UX 3.1 sh.
175 Usage: configure [options] [host]
176 Options: [defaults in brackets after descriptions]
178 --cache-file=FILE cache test results in FILE
179 --help print this message
180 --no-create do not create output files
181 --quiet, --silent do not print \`checking...' messages
182 --version print the version of autoconf that created configure
183 Directory and file names:
184 --prefix=PREFIX install architecture-independent files in PREFIX
186 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
188 --bindir=DIR user executables in DIR [EPREFIX/bin]
189 --sbindir=DIR system admin executables in DIR [EPREFIX/sbin]
190 --libexecdir=DIR program executables in DIR [EPREFIX/libexec]
191 --datadir=DIR read-only architecture-independent data in DIR
193 --sysconfdir=DIR read-only single-machine data in DIR [PREFIX/etc]
194 --sharedstatedir=DIR modifiable architecture-independent data in DIR
196 --localstatedir=DIR modifiable single-machine data in DIR [PREFIX/var]
197 --libdir=DIR object code libraries in DIR [EPREFIX/lib]
198 --includedir=DIR C header files in DIR [PREFIX/include]
199 --oldincludedir=DIR C header files for non-gcc in DIR [/usr/include]
200 --infodir=DIR info documentation in DIR [PREFIX/info]
201 --mandir=DIR man documentation in DIR [PREFIX/man]
202 --srcdir=DIR find the sources in DIR [configure dir or ..]
203 --program-prefix=PREFIX prepend PREFIX to installed program names
204 --program-suffix=SUFFIX append SUFFIX to installed program names
205 --program-transform-name=PROGRAM
206 run sed PROGRAM on installed program names
210 --build=BUILD configure for building on BUILD [BUILD=HOST]
211 --host=HOST configure for HOST [guessed]
212 --target=TARGET configure for TARGET [TARGET=HOST]
213 Features and packages:
214 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
215 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
216 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
217 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
218 --x-includes=DIR X include files are in DIR
219 --x-libraries=DIR X library files are in DIR
221 if test -n "$ac_help"; then
222 echo "--enable and --with options recognized:$ac_help"
226 -host | --host | --hos | --ho)
228 -host=* | --host=* | --hos=* | --ho=*)
231 -includedir | --includedir | --includedi | --included | --include \
232 | --includ | --inclu | --incl | --inc)
233 ac_prev=includedir ;;
234 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
235 | --includ=* | --inclu=* | --incl=* | --inc=*)
236 includedir="$ac_optarg" ;;
238 -infodir | --infodir | --infodi | --infod | --info | --inf)
240 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
241 infodir="$ac_optarg" ;;
243 -libdir | --libdir | --libdi | --libd)
245 -libdir=* | --libdir=* | --libdi=* | --libd=*)
246 libdir="$ac_optarg" ;;
248 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
249 | --libexe | --libex | --libe)
250 ac_prev=libexecdir ;;
251 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
252 | --libexe=* | --libex=* | --libe=*)
253 libexecdir="$ac_optarg" ;;
255 -localstatedir | --localstatedir | --localstatedi | --localstated \
256 | --localstate | --localstat | --localsta | --localst \
257 | --locals | --local | --loca | --loc | --lo)
258 ac_prev=localstatedir ;;
259 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
260 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
261 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
262 localstatedir="$ac_optarg" ;;
264 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
266 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
267 mandir="$ac_optarg" ;;
270 # Obsolete; use --without-fp.
273 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
277 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
278 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
281 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
282 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
283 | --oldin | --oldi | --old | --ol | --o)
284 ac_prev=oldincludedir ;;
285 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
286 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
287 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
288 oldincludedir="$ac_optarg" ;;
290 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
292 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
293 prefix="$ac_optarg" ;;
295 -program-prefix | --program-prefix | --program-prefi | --program-pref \
296 | --program-pre | --program-pr | --program-p)
297 ac_prev=program_prefix ;;
298 -program-prefix=* | --program-prefix=* | --program-prefi=* \
299 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
300 program_prefix="$ac_optarg" ;;
302 -program-suffix | --program-suffix | --program-suffi | --program-suff \
303 | --program-suf | --program-su | --program-s)
304 ac_prev=program_suffix ;;
305 -program-suffix=* | --program-suffix=* | --program-suffi=* \
306 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
307 program_suffix="$ac_optarg" ;;
309 -program-transform-name | --program-transform-name \
310 | --program-transform-nam | --program-transform-na \
311 | --program-transform-n | --program-transform- \
312 | --program-transform | --program-transfor \
313 | --program-transfo | --program-transf \
314 | --program-trans | --program-tran \
315 | --progr-tra | --program-tr | --program-t)
316 ac_prev=program_transform_name ;;
317 -program-transform-name=* | --program-transform-name=* \
318 | --program-transform-nam=* | --program-transform-na=* \
319 | --program-transform-n=* | --program-transform-=* \
320 | --program-transform=* | --program-transfor=* \
321 | --program-transfo=* | --program-transf=* \
322 | --program-trans=* | --program-tran=* \
323 | --progr-tra=* | --program-tr=* | --program-t=*)
324 program_transform_name="$ac_optarg" ;;
326 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
327 | -silent | --silent | --silen | --sile | --sil)
330 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
332 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
334 sbindir="$ac_optarg" ;;
336 -sharedstatedir | --sharedstatedir | --sharedstatedi \
337 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
338 | --sharedst | --shareds | --shared | --share | --shar \
340 ac_prev=sharedstatedir ;;
341 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
342 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
343 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
345 sharedstatedir="$ac_optarg" ;;
347 -site | --site | --sit)
349 -site=* | --site=* | --sit=*)
352 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
354 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
355 srcdir="$ac_optarg" ;;
357 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
358 | --syscon | --sysco | --sysc | --sys | --sy)
359 ac_prev=sysconfdir ;;
360 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
361 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
362 sysconfdir="$ac_optarg" ;;
364 -target | --target | --targe | --targ | --tar | --ta | --t)
366 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
367 target="$ac_optarg" ;;
369 -v | -verbose | --verbose | --verbos | --verbo | --verb)
372 -version | --version | --versio | --versi | --vers)
373 echo "configure generated by autoconf version 2.13"
377 ac_package=`echo $ac_option|sed -e 's/-*with-//' -e 's/=.*//'`
378 # Reject names that are not valid shell variable names.
379 if test -n "`echo $ac_package| sed 's/[-_a-zA-Z0-9]//g'`"; then
380 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
382 ac_package=`echo $ac_package| sed 's/-/_/g'`
387 eval "with_${ac_package}='$ac_optarg'" ;;
389 -without-* | --without-*)
390 ac_package=`echo $ac_option|sed -e 's/-*without-//'`
391 # Reject names that are not valid shell variable names.
392 if test -n "`echo $ac_package| sed 's/[-a-zA-Z0-9_]//g'`"; then
393 { echo "configure: error: $ac_package: invalid package name" 1>&2; exit 1; }
395 ac_package=`echo $ac_package| sed 's/-/_/g'`
396 eval "with_${ac_package}=no" ;;
399 # Obsolete; use --with-x.
402 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
403 | --x-incl | --x-inc | --x-in | --x-i)
404 ac_prev=x_includes ;;
405 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
406 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
407 x_includes="$ac_optarg" ;;
409 -x-libraries | --x-libraries | --x-librarie | --x-librari \
410 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
411 ac_prev=x_libraries ;;
412 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
413 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
414 x_libraries="$ac_optarg" ;;
416 -*) { echo "configure: error: $ac_option: invalid option; use --help to show usage" 1>&2; exit 1; }
420 if test -n "`echo $ac_option| sed 's/[-a-z0-9.]//g'`"; then
421 echo "configure: warning: $ac_option: invalid host type" 1>&2
423 if test "x$nonopt" != xNONE; then
424 { echo "configure: error: can only configure for one host and one target at a time" 1>&2; exit 1; }
432 if test -n "$ac_prev"; then
433 { echo "configure: error: missing argument to --`echo $ac_prev | sed 's/_/-/g'`" 1>&2; exit 1; }
436 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
438 # File descriptor usage:
441 # 2 errors and warnings
442 # 3 some systems may open it to /dev/tty
443 # 4 used on the Kubota Titan
444 # 6 checking for... messages and results
445 # 5 compiler messages saved in config.log
446 if test "$silent" = yes; then
454 This file contains any messages produced by compilers while
455 running configure, to aid debugging if configure makes a mistake.
458 # Strip out --no-create and --no-recursion so they do not pile up.
459 # Also quote any args containing shell metacharacters.
464 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
465 | --no-cr | --no-c) ;;
466 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
467 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
468 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?]*)
469 ac_configure_args="$ac_configure_args '$ac_arg'" ;;
470 *) ac_configure_args="$ac_configure_args $ac_arg" ;;
475 # Only set these to C if already set. These must not be set unconditionally
476 # because not all systems understand e.g. LANG=C (notably SCO).
477 # Fixing LC_MESSAGES prevents Solaris sh from translating var values in `set'!
478 # Non-C LC_CTYPE values break the ctype check.
479 if test "${LANG+set}" = set; then LANG=C; export LANG; fi
480 if test "${LC_ALL+set}" = set; then LC_ALL=C; export LC_ALL; fi
481 if test "${LC_MESSAGES+set}" = set; then LC_MESSAGES=C; export LC_MESSAGES; fi
482 if test "${LC_CTYPE+set}" = set; then LC_CTYPE=C; export LC_CTYPE; fi
484 # confdefs.h avoids OS command line length limits that DEFS can exceed.
485 rm -rf conftest* confdefs.h
486 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
489 # A filename unique to this package, relative to the directory that
490 # configure is in, which we can look for to find out if srcdir is correct.
493 # Find the source files, if location was not specified.
494 if test -z "$srcdir"; then
495 ac_srcdir_defaulted=yes
496 # Try the directory containing this script, then its parent.
498 ac_confdir=`echo $ac_prog|sed 's%/[^/][^/]*$%%'`
499 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
501 if test ! -r $srcdir/$ac_unique_file; then
505 ac_srcdir_defaulted=no
507 if test ! -r $srcdir/$ac_unique_file; then
508 if test "$ac_srcdir_defaulted" = yes; then
509 { echo "configure: error: can not find sources in $ac_confdir or .." 1>&2; exit 1; }
511 { echo "configure: error: can not find sources in $srcdir" 1>&2; exit 1; }
514 srcdir=`echo "${srcdir}" | sed 's%\([^/]\)/*$%\1%'`
516 # Prefer explicitly selected file to automatically selected ones.
517 if test -z "$CONFIG_SITE"; then
518 if test "x$prefix" != xNONE; then
519 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
521 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
524 for ac_site_file in $CONFIG_SITE; do
525 if test -r "$ac_site_file"; then
526 echo "loading site script $ac_site_file"
531 if test -r "$cache_file"; then
532 echo "loading cache $cache_file"
535 echo "creating cache $cache_file"
540 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
541 ac_cpp='$CPP $CPPFLAGS'
542 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
543 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
544 cross_compiling=$ac_cv_prog_cc_cross
548 if (echo "testing\c"; echo 1,2,3) | grep c >/dev/null; then
549 # Stardent Vistra SVR4 grep lacks -e, says ghazi@caip.rutgers.edu.
550 if (echo -n testing; echo 1,2,3) | sed s/-n/xn/ | grep xn >/dev/null; then
557 ac_n= ac_c='\c' ac_t=
571 cat >> confdefs.h <<EOF
572 #define VERSION_MAJOR ${VERSION_MAJOR}
575 cat >> confdefs.h <<EOF
576 #define VERSION_MINOR ${VERSION_MINOR}
579 cat >> confdefs.h <<EOF
580 #define VERSION_POINT ${VERSION_POINT}
583 cat >> confdefs.h <<EOF
584 #define VERSION "${VERSION_MAJOR}.${VERSION_MINOR}.${VERSION_POINT}"
588 # Extract the first word of "gcc", so it can be a program name with args.
589 set dummy gcc; ac_word=$2
590 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
591 echo "configure:592: checking for $ac_word" >&5
592 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
593 echo $ac_n "(cached) $ac_c" 1>&6
595 if test -n "$CC"; then
596 ac_cv_prog_CC="$CC" # Let the user override the test.
598 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
600 for ac_dir in $ac_dummy; do
601 test -z "$ac_dir" && ac_dir=.
602 if test -f $ac_dir/$ac_word; then
611 if test -n "$CC"; then
612 echo "$ac_t""$CC" 1>&6
614 echo "$ac_t""no" 1>&6
617 if test -z "$CC"; then
618 # Extract the first word of "cc", so it can be a program name with args.
619 set dummy cc; ac_word=$2
620 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
621 echo "configure:622: checking for $ac_word" >&5
622 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
623 echo $ac_n "(cached) $ac_c" 1>&6
625 if test -n "$CC"; then
626 ac_cv_prog_CC="$CC" # Let the user override the test.
628 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
631 for ac_dir in $ac_dummy; do
632 test -z "$ac_dir" && ac_dir=.
633 if test -f $ac_dir/$ac_word; then
634 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
643 if test $ac_prog_rejected = yes; then
644 # We found a bogon in the path, so make sure we never use it.
645 set dummy $ac_cv_prog_CC
647 if test $# -gt 0; then
648 # We chose a different compiler from the bogus one.
649 # However, it has the same basename, so the bogon will be chosen
650 # first if we set CC to just the basename; use the full file name.
652 set dummy "$ac_dir/$ac_word" "$@"
660 if test -n "$CC"; then
661 echo "$ac_t""$CC" 1>&6
663 echo "$ac_t""no" 1>&6
666 if test -z "$CC"; then
669 # Extract the first word of "cl", so it can be a program name with args.
670 set dummy cl; ac_word=$2
671 echo $ac_n "checking for $ac_word""... $ac_c" 1>&6
672 echo "configure:673: checking for $ac_word" >&5
673 if eval "test \"`echo '$''{'ac_cv_prog_CC'+set}'`\" = set"; then
674 echo $ac_n "(cached) $ac_c" 1>&6
676 if test -n "$CC"; then
677 ac_cv_prog_CC="$CC" # Let the user override the test.
679 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS=":"
681 for ac_dir in $ac_dummy; do
682 test -z "$ac_dir" && ac_dir=.
683 if test -f $ac_dir/$ac_word; then
692 if test -n "$CC"; then
693 echo "$ac_t""$CC" 1>&6
695 echo "$ac_t""no" 1>&6
700 test -z "$CC" && { echo "configure: error: no acceptable cc found in \$PATH" 1>&2; exit 1; }
703 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works""... $ac_c" 1>&6
704 echo "configure:705: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) works" >&5
707 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
708 ac_cpp='$CPP $CPPFLAGS'
709 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
710 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
711 cross_compiling=$ac_cv_prog_cc_cross
713 cat > conftest.$ac_ext << EOF
715 #line 716 "configure"
716 #include "confdefs.h"
720 if { (eval echo configure:721: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
721 ac_cv_prog_cc_works=yes
722 # If we can't run a trivial program, we are probably using a cross compiler.
723 if (./conftest; exit) 2>/dev/null; then
724 ac_cv_prog_cc_cross=no
726 ac_cv_prog_cc_cross=yes
729 echo "configure: failed program was:" >&5
730 cat conftest.$ac_ext >&5
731 ac_cv_prog_cc_works=no
735 # CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
736 ac_cpp='$CPP $CPPFLAGS'
737 ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
738 ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
739 cross_compiling=$ac_cv_prog_cc_cross
741 echo "$ac_t""$ac_cv_prog_cc_works" 1>&6
742 if test $ac_cv_prog_cc_works = no; then
743 { echo "configure: error: installation or configuration problem: C compiler cannot create executables." 1>&2; exit 1; }
745 echo $ac_n "checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler""... $ac_c" 1>&6
746 echo "configure:747: checking whether the C compiler ($CC $CFLAGS $LDFLAGS) is a cross-compiler" >&5
747 echo "$ac_t""$ac_cv_prog_cc_cross" 1>&6
748 cross_compiling=$ac_cv_prog_cc_cross
750 echo $ac_n "checking whether we are using GNU C""... $ac_c" 1>&6
751 echo "configure:752: checking whether we are using GNU C" >&5
752 if eval "test \"`echo '$''{'ac_cv_prog_gcc'+set}'`\" = set"; then
753 echo $ac_n "(cached) $ac_c" 1>&6
755 cat > conftest.c <<EOF
760 if { ac_try='${CC-cc} -E conftest.c'; { (eval echo configure:761: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }; } | egrep yes >/dev/null 2>&1; then
767 echo "$ac_t""$ac_cv_prog_gcc" 1>&6
769 if test $ac_cv_prog_gcc = yes; then
775 ac_test_CFLAGS="${CFLAGS+set}"
776 ac_save_CFLAGS="$CFLAGS"
778 echo $ac_n "checking whether ${CC-cc} accepts -g""... $ac_c" 1>&6
779 echo "configure:780: checking whether ${CC-cc} accepts -g" >&5
780 if eval "test \"`echo '$''{'ac_cv_prog_cc_g'+set}'`\" = set"; then
781 echo $ac_n "(cached) $ac_c" 1>&6
783 echo 'void f(){}' > conftest.c
784 if test -z "`${CC-cc} -g -c conftest.c 2>&1`"; then
793 echo "$ac_t""$ac_cv_prog_cc_g" 1>&6
794 if test "$ac_test_CFLAGS" = set; then
795 CFLAGS="$ac_save_CFLAGS"
796 elif test $ac_cv_prog_cc_g = yes; then
797 if test "$GCC" = yes; then
803 if test "$GCC" = yes; then
810 echo $ac_n "checking how to run the C preprocessor""... $ac_c" 1>&6
811 echo "configure:812: checking how to run the C preprocessor" >&5
812 # On Suns, sometimes $CPP names a directory.
813 if test -n "$CPP" && test -d "$CPP"; then
816 if test -z "$CPP"; then
817 if eval "test \"`echo '$''{'ac_cv_prog_CPP'+set}'`\" = set"; then
818 echo $ac_n "(cached) $ac_c" 1>&6
820 # This must be in double quotes, not single quotes, because CPP may get
821 # substituted into the Makefile and "${CC-cc}" will confuse make.
823 # On the NeXT, cc -E runs the code through the compiler's parser,
824 # not just through cpp.
825 cat > conftest.$ac_ext <<EOF
826 #line 827 "configure"
827 #include "confdefs.h"
831 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
832 { (eval echo configure:833: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
833 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
834 if test -z "$ac_err"; then
838 echo "configure: failed program was:" >&5
839 cat conftest.$ac_ext >&5
841 CPP="${CC-cc} -E -traditional-cpp"
842 cat > conftest.$ac_ext <<EOF
843 #line 844 "configure"
844 #include "confdefs.h"
848 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
849 { (eval echo configure:850: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
850 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
851 if test -z "$ac_err"; then
855 echo "configure: failed program was:" >&5
856 cat conftest.$ac_ext >&5
858 CPP="${CC-cc} -nologo -E"
859 cat > conftest.$ac_ext <<EOF
860 #line 861 "configure"
861 #include "confdefs.h"
865 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
866 { (eval echo configure:867: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
867 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
868 if test -z "$ac_err"; then
872 echo "configure: failed program was:" >&5
873 cat conftest.$ac_ext >&5
882 ac_cv_prog_CPP="$CPP"
884 CPP="$ac_cv_prog_CPP"
886 ac_cv_prog_CPP="$CPP"
888 echo "$ac_t""$CPP" 1>&6
891 echo $ac_n "checking for mingw32 environment""... $ac_c" 1>&6
892 echo "configure:893: checking for mingw32 environment" >&5
893 if eval "test \"`echo '$''{'ac_cv_mingw32'+set}'`\" = set"; then
894 echo $ac_n "(cached) $ac_c" 1>&6
896 cat > conftest.$ac_ext <<EOF
897 #line 898 "configure"
898 #include "confdefs.h"
904 if { (eval echo configure:905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
908 echo "configure: failed program was:" >&5
909 cat conftest.$ac_ext >&5
917 echo "$ac_t""$ac_cv_mingw32" 1>&6
919 test "$ac_cv_mingw32" = yes && MINGW32=yes
920 echo $ac_n "checking for Cygwin environment""... $ac_c" 1>&6
921 echo "configure:922: checking for Cygwin environment" >&5
922 if eval "test \"`echo '$''{'ac_cv_cygwin'+set}'`\" = set"; then
923 echo $ac_n "(cached) $ac_c" 1>&6
925 cat > conftest.$ac_ext <<EOF
926 #line 927 "configure"
927 #include "confdefs.h"
932 #define __CYGWIN__ __CYGWIN32__
937 if { (eval echo configure:938: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
941 echo "configure: failed program was:" >&5
942 cat conftest.$ac_ext >&5
950 echo "$ac_t""$ac_cv_cygwin" 1>&6
952 test "$ac_cv_cygwin" = yes && CYGWIN=yes
955 echo $ac_n "checking for executable suffix""... $ac_c" 1>&6
956 echo "configure:957: checking for executable suffix" >&5
957 if eval "test \"`echo '$''{'ac_cv_exeext'+set}'`\" = set"; then
958 echo $ac_n "(cached) $ac_c" 1>&6
960 if test "$CYGWIN" = yes || test "$MINGW32" = yes; then
964 echo 'int main () { return 0; }' > conftest.$ac_ext
966 if { (eval echo configure:967: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; }; then
967 for file in conftest.*; do
969 *.c | *.o | *.obj) ;;
970 *) ac_cv_exeext=`echo $file | sed -e s/conftest//` ;;
974 { echo "configure: error: installation or configuration problem: compiler cannot create executables." 1>&2; exit 1; }
977 test x"${ac_cv_exeext}" = x && ac_cv_exeext=no
982 test x"${ac_cv_exeext}" != xno && EXEEXT=${ac_cv_exeext}
983 echo "$ac_t""${ac_cv_exeext}" 1>&6
986 echo $ac_n "checking for object suffix""... $ac_c" 1>&6
987 echo "configure:988: checking for object suffix" >&5
988 if eval "test \"`echo '$''{'ac_cv_objext'+set}'`\" = set"; then
989 echo $ac_n "(cached) $ac_c" 1>&6
992 echo 'int i = 1;' > conftest.$ac_ext
993 if { (eval echo configure:994: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
994 for ac_file in conftest.*; do
997 *) ac_cv_objext=`echo $ac_file | sed -e s/conftest.//` ;;
1001 { echo "configure: error: installation or configuration problem; compiler does not work" 1>&2; exit 1; }
1006 echo "$ac_t""$ac_cv_objext" 1>&6
1007 OBJEXT=$ac_cv_objext
1008 ac_objext=$ac_cv_objext
1012 echo $ac_n "checking for ANSI C header files""... $ac_c" 1>&6
1013 echo "configure:1014: checking for ANSI C header files" >&5
1014 if eval "test \"`echo '$''{'ac_cv_header_stdc'+set}'`\" = set"; then
1015 echo $ac_n "(cached) $ac_c" 1>&6
1017 cat > conftest.$ac_ext <<EOF
1018 #line 1019 "configure"
1019 #include "confdefs.h"
1025 ac_try="$ac_cpp conftest.$ac_ext >/dev/null 2>conftest.out"
1026 { (eval echo configure:1027: \"$ac_try\") 1>&5; (eval $ac_try) 2>&5; }
1027 ac_err=`grep -v '^ *+' conftest.out | grep -v "^conftest.${ac_ext}\$"`
1028 if test -z "$ac_err"; then
1030 ac_cv_header_stdc=yes
1033 echo "configure: failed program was:" >&5
1034 cat conftest.$ac_ext >&5
1036 ac_cv_header_stdc=no
1040 if test $ac_cv_header_stdc = yes; then
1041 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1042 cat > conftest.$ac_ext <<EOF
1043 #line 1044 "configure"
1044 #include "confdefs.h"
1047 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1048 egrep "memchr" >/dev/null 2>&1; then
1052 ac_cv_header_stdc=no
1058 if test $ac_cv_header_stdc = yes; then
1059 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1060 cat > conftest.$ac_ext <<EOF
1061 #line 1062 "configure"
1062 #include "confdefs.h"
1065 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1066 egrep "free" >/dev/null 2>&1; then
1070 ac_cv_header_stdc=no
1076 if test $ac_cv_header_stdc = yes; then
1077 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1078 if test "$cross_compiling" = yes; then
1081 cat > conftest.$ac_ext <<EOF
1082 #line 1083 "configure"
1083 #include "confdefs.h"
1085 #define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1086 #define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1087 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1088 int main () { int i; for (i = 0; i < 256; i++)
1089 if (XOR (islower (i), ISLOWER (i)) || toupper (i) != TOUPPER (i)) exit(2);
1093 if { (eval echo configure:1094: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
1097 echo "configure: failed program was:" >&5
1098 cat conftest.$ac_ext >&5
1100 ac_cv_header_stdc=no
1108 echo "$ac_t""$ac_cv_header_stdc" 1>&6
1109 if test $ac_cv_header_stdc = yes; then
1110 cat >> confdefs.h <<\EOF
1111 #define STDC_HEADERS 1
1117 echo $ac_n "checking for working const""... $ac_c" 1>&6
1118 echo "configure:1119: checking for working const" >&5
1119 if eval "test \"`echo '$''{'ac_cv_c_const'+set}'`\" = set"; then
1120 echo $ac_n "(cached) $ac_c" 1>&6
1122 cat > conftest.$ac_ext <<EOF
1123 #line 1124 "configure"
1124 #include "confdefs.h"
1128 /* Ultrix mips cc rejects this. */
1129 typedef int charset[2]; const charset x;
1130 /* SunOS 4.1.1 cc rejects this. */
1131 char const *const *ccp;
1133 /* NEC SVR4.0.2 mips cc rejects this. */
1134 struct point {int x, y;};
1135 static struct point const zero = {0,0};
1136 /* AIX XL C 1.02.0.0 rejects this.
1137 It does not let you subtract one const X* pointer from another in an arm
1138 of an if-expression whose if-part is not a constant expression */
1139 const char *g = "string";
1140 ccp = &g + (g ? g-g : 0);
1141 /* HPUX 7.0 cc rejects these. */
1144 ccp = (char const *const *) p;
1145 { /* SCO 3.2v4 cc rejects this. */
1147 char const *s = 0 ? (char *) 0 : (char const *) 0;
1151 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
1153 const int *foo = &x[0];
1156 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
1157 typedef const int *iptr;
1161 { /* AIX XL C 1.02.0.0 rejects this saying
1162 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
1163 struct s { int j; const int *ap[3]; };
1164 struct s *b; b->j = 5;
1166 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
1172 if { (eval echo configure:1173: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
1176 echo "configure: failed program was:" >&5
1177 cat conftest.$ac_ext >&5
1184 echo "$ac_t""$ac_cv_c_const" 1>&6
1185 if test $ac_cv_c_const = no; then
1186 cat >> confdefs.h <<\EOF
1192 echo $ac_n "checking for size_t""... $ac_c" 1>&6
1193 echo "configure:1194: checking for size_t" >&5
1194 if eval "test \"`echo '$''{'ac_cv_type_size_t'+set}'`\" = set"; then
1195 echo $ac_n "(cached) $ac_c" 1>&6
1197 cat > conftest.$ac_ext <<EOF
1198 #line 1199 "configure"
1199 #include "confdefs.h"
1200 #include <sys/types.h>
1206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1207 egrep "(^|[^a-zA-Z_0-9])size_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
1209 ac_cv_type_size_t=yes
1212 ac_cv_type_size_t=no
1217 echo "$ac_t""$ac_cv_type_size_t" 1>&6
1218 if test $ac_cv_type_size_t = no; then
1219 cat >> confdefs.h <<\EOF
1220 #define size_t unsigned
1226 for ac_func in strerror bcopy memmove
1228 echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
1229 echo "configure:1230: checking for $ac_func" >&5
1230 if eval "test \"`echo '$''{'ac_cv_func_$ac_func'+set}'`\" = set"; then
1231 echo $ac_n "(cached) $ac_c" 1>&6
1233 cat > conftest.$ac_ext <<EOF
1234 #line 1235 "configure"
1235 #include "confdefs.h"
1236 /* System header to define __stub macros and hopefully few prototypes,
1237 which can conflict with char $ac_func(); below. */
1239 /* Override any gcc2 internal prototype to avoid an error. */
1240 /* We use char because int might match the return type of a gcc2
1241 builtin and then its argument prototype would still apply. */
1246 /* The GNU C library defines this for functions which it implements
1247 to always fail with ENOSYS. Some functions are actually named
1248 something starting with __ and the normal name is an alias. */
1249 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
1257 if { (eval echo configure:1258: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
1259 eval "ac_cv_func_$ac_func=yes"
1261 echo "configure: failed program was:" >&5
1262 cat conftest.$ac_ext >&5
1264 eval "ac_cv_func_$ac_func=no"
1269 if eval "test \"`echo '$ac_cv_func_'$ac_func`\" = yes"; then
1270 echo "$ac_t""yes" 1>&6
1271 ac_tr_func=HAVE_`echo $ac_func | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`
1272 cat >> confdefs.h <<EOF
1273 #define $ac_tr_func 1
1277 echo "$ac_t""no" 1>&6
1283 # Check whether --enable-mingw32 or --disable-mingw32 was given.
1284 if test "${enable_mingw32+set}" = set; then
1285 enableval="$enable_mingw32"
1286 if test $enableval = yes; then
1288 CYGWIN_FLAGS="-mwindows -mno-cygwin"
1289 echo "Using mingw32 (Win32 GUI)"
1292 if test "$CYGWIN" = "yes"; then
1293 CYGWIN_FLAGS="-mno-win32"
1294 echo "Using Cygnus (Win32 command line)"
1300 if test "$MINGW32" = "yes"; then
1302 CYGWIN_FLAGS="-mwindows -mno-cygwin"
1303 echo "Using mingw32 (Win32 GUI)"
1306 if test "$CYGWIN" = "yes"; then
1307 CYGWIN_FLAGS="-mno-win32"
1308 echo "Using Cygnus (Win32 command line)"
1328 # Check whether --enable-regex or --disable-regex was given.
1329 if test "${enable_regex+set}" = set; then
1330 enableval="$enable_regex"
1331 if test $enableval = yes; then
1332 cat >> confdefs.h <<\EOF
1342 cat >> confdefs.h <<\EOF
1349 # Check whether --enable-pcre-regex or --disable-pcre-regex was given.
1350 if test "${enable_pcre_regex+set}" = set; then
1351 enableval="$enable_pcre_regex"
1352 if test $enableval = yes; then
1353 cat >> confdefs.h <<\EOF
1362 cat >> confdefs.h <<\EOF
1377 # Check whether --enable-toggle or --disable-toggle was given.
1378 if test "${enable_toggle+set}" = set; then
1379 enableval="$enable_toggle"
1380 if test $enableval = yes; then
1381 cat >> confdefs.h <<\EOF
1387 cat >> confdefs.h <<\EOF
1395 # Check whether --enable-pcrs or --disable-pcrs was given.
1396 if test "${enable_pcrs+set}" = set; then
1397 enableval="$enable_pcrs"
1398 if test $enableval = yes; then
1399 cat >> confdefs.h <<\EOF
1403 cat >> confdefs.h <<\EOF
1411 cat >> confdefs.h <<\EOF
1414 cat >> confdefs.h <<\EOF
1422 # Check whether --enable-force or --disable-force was given.
1423 if test "${enable_force+set}" = set; then
1424 enableval="$enable_force"
1425 if test $enableval = yes; then
1426 cat >> confdefs.h <<\EOF
1427 #define FORCE_LOAD 1
1432 cat >> confdefs.h <<\EOF
1433 #define FORCE_LOAD 1
1439 # Check whether --enable-killpopup or --disable-killpopup was given.
1440 if test "${enable_killpopup+set}" = set; then
1441 enableval="$enable_killpopup"
1442 if test $enableval = yes; then
1443 cat >> confdefs.h <<\EOF
1444 #define KILLPOPUPS 1
1449 cat >> confdefs.h <<\EOF
1450 #define KILLPOPUPS 1
1456 # Check whether --enable-stats or --disable-stats was given.
1457 if test "${enable_stats+set}" = set; then
1458 enableval="$enable_stats"
1459 if test $enableval = yes; then
1460 cat >> confdefs.h <<\EOF
1461 #define STATISTICS 1
1466 cat >> confdefs.h <<\EOF
1467 #define STATISTICS 1
1473 # Check whether --enable-split-proxy-args or --disable-split-proxy-args was given.
1474 if test "${enable_split_proxy_args+set}" = set; then
1475 enableval="$enable_split_proxy_args"
1476 if test $enableval = yes; then
1477 cat >> confdefs.h <<\EOF
1478 #define SPLIT_PROXY_ARGS 1
1483 cat >> confdefs.h <<\EOF
1484 #define SPLIT_PROXY_ARGS 1
1490 # Check whether --enable-webdav or --disable-webdav was given.
1491 if test "${enable_webdav+set}" = set; then
1492 enableval="$enable_webdav"
1493 if test $enableval = yes; then
1494 cat >> confdefs.h <<\EOF
1500 cat >> confdefs.h <<\EOF
1507 # Check whether --enable-ie-images or --disable-ie-images was given.
1508 if test "${enable_ie_images+set}" = set; then
1509 enableval="$enable_ie_images"
1510 if test $enableval = yes; then
1511 cat >> confdefs.h <<\EOF
1512 #define DETECT_MSIE_IMAGES 1
1517 cat >> confdefs.h <<\EOF
1518 #define DETECT_MSIE_IMAGES 1
1524 # Check whether --enable-image-list or --disable-image-list was given.
1525 if test "${enable_image_list+set}" = set; then
1526 enableval="$enable_image_list"
1527 if test $enableval = yes; then
1528 cat >> confdefs.h <<\EOF
1529 #define USE_IMAGE_LIST 1
1534 cat >> confdefs.h <<\EOF
1535 #define USE_IMAGE_LIST 1
1541 # Check whether --enable-acl-files or --disable-acl-files was given.
1542 if test "${enable_acl_files+set}" = set; then
1543 enableval="$enable_acl_files"
1544 if test $enableval = yes; then
1545 cat >> confdefs.h <<\EOF
1551 cat >> confdefs.h <<\EOF
1558 # Check whether --enable-trust-files or --disable-trust-files was given.
1559 if test "${enable_trust_files+set}" = set; then
1560 enableval="$enable_trust_files"
1561 if test $enableval = yes; then
1562 cat >> confdefs.h <<\EOF
1563 #define TRUST_FILES 1
1568 cat >> confdefs.h <<\EOF
1569 #define TRUST_FILES 1
1575 # Check whether --enable-jar-files or --disable-jar-files was given.
1576 if test "${enable_jar_files+set}" = set; then
1577 enableval="$enable_jar_files"
1578 if test $enableval = yes; then
1579 cat >> confdefs.h <<\EOF
1585 cat >> confdefs.h <<\EOF
1594 # Check whether --enable-static-pcre or --disable-static-pcre was given.
1595 if test "${enable_static_pcre+set}" = set; then
1596 enableval="$enable_static_pcre"
1597 if test $enableval = no; then
1607 cat > confcache <<\EOF
1608 # This file is a shell script that caches the results of configure
1609 # tests run on this system so they can be shared between configure
1610 # scripts and configure runs. It is not useful on other systems.
1611 # If it contains results you don't want to keep, you may remove or edit it.
1613 # By default, configure uses ./config.cache as the cache file,
1614 # creating it if it does not exist already. You can give configure
1615 # the --cache-file=FILE option to use a different cache file; that is
1616 # what configure does when it calls configure scripts in
1617 # subdirectories, so they share the cache.
1618 # Giving --cache-file=/dev/null disables caching, for debugging configure.
1619 # config.status only pays attention to the cache file if you give it the
1620 # --recheck option to rerun configure.
1623 # The following way of writing the cache mishandles newlines in values,
1624 # but we know of no workaround that is simple, portable, and efficient.
1625 # So, don't put newlines in cache variables' values.
1626 # Ultrix sh set writes to stderr and can't be redirected directly,
1627 # and sets the high bit in the cache file unless we assign to the vars.
1629 case `(ac_space=' '; set | grep ac_space) 2>&1` in
1631 # `set' does not quote correctly, so add quotes (double-quote substitution
1632 # turns \\\\ into \\, and sed turns \\ into \).
1634 -e "s/'/'\\\\''/g" \
1635 -e "s/^\\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\\)=\\(.*\\)/\\1=\${\\1='\\2'}/p"
1638 # `set' quotes correctly as required by POSIX, so do not add quotes.
1639 sed -n -e 's/^\([a-zA-Z0-9_]*_cv_[a-zA-Z0-9_]*\)=\(.*\)/\1=${\1=\2}/p'
1642 if cmp -s $cache_file confcache; then
1645 if test -w $cache_file; then
1646 echo "updating cache $cache_file"
1647 cat confcache > $cache_file
1649 echo "not updating unwritable cache $cache_file"
1654 trap 'rm -fr conftest* confdefs* core core.* *.core $ac_clean_files; exit 1' 1 2 15
1656 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1657 # Let make expand exec_prefix.
1658 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1660 # Any assignment to VPATH causes Sun make to only execute
1661 # the first set of double-colon rules, so remove it if not needed.
1662 # If there is a colon in the path, we need to keep it.
1663 if test "x$srcdir" = x.; then
1664 ac_vpsub='/^[ ]*VPATH[ ]*=[^:]*$/d'
1667 trap 'rm -f $CONFIG_STATUS conftest*; exit 1' 1 2 15
1669 DEFS=-DHAVE_CONFIG_H
1671 # Without the "./", some shells look in PATH for config.status.
1672 : ${CONFIG_STATUS=./config.status}
1674 echo creating $CONFIG_STATUS
1675 rm -f $CONFIG_STATUS
1676 cat > $CONFIG_STATUS <<EOF
1678 # Generated automatically by configure.
1679 # Run this file to recreate the current configuration.
1680 # This directory was configured as follows,
1681 # on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
1683 # $0 $ac_configure_args
1685 # Compiler output produced by configure, useful for debugging
1686 # configure, is in ./config.log if it exists.
1688 ac_cs_usage="Usage: $CONFIG_STATUS [--recheck] [--version] [--help]"
1691 case "\$ac_option" in
1692 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
1693 echo "running \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion"
1694 exec \${CONFIG_SHELL-/bin/sh} $0 $ac_configure_args --no-create --no-recursion ;;
1695 -version | --version | --versio | --versi | --vers | --ver | --ve | --v)
1696 echo "$CONFIG_STATUS generated by autoconf version 2.13"
1698 -help | --help | --hel | --he | --h)
1699 echo "\$ac_cs_usage"; exit 0 ;;
1700 *) echo "\$ac_cs_usage"; exit 1 ;;
1704 ac_given_srcdir=$srcdir
1706 trap 'rm -fr `echo "Makefile config.h" | sed "s/:[^ ]*//g"` conftest*; exit 1' 1 2 15
1708 cat >> $CONFIG_STATUS <<EOF
1710 # Protect against being on the right side of a sed subst in config.status.
1711 sed 's/%@/@@/; s/@%/@@/; s/%g\$/@g/; /@g\$/s/[\\\\&%]/\\\\&/g;
1712 s/@@/%@/; s/@@/@%/; s/@g\$/%g/' > conftest.subs <<\\CEOF
1716 s%@CFLAGS@%$CFLAGS%g
1717 s%@CPPFLAGS@%$CPPFLAGS%g
1718 s%@CXXFLAGS@%$CXXFLAGS%g
1719 s%@FFLAGS@%$FFLAGS%g
1721 s%@LDFLAGS@%$LDFLAGS%g
1723 s%@exec_prefix@%$exec_prefix%g
1724 s%@prefix@%$prefix%g
1725 s%@program_transform_name@%$program_transform_name%g
1726 s%@bindir@%$bindir%g
1727 s%@sbindir@%$sbindir%g
1728 s%@libexecdir@%$libexecdir%g
1729 s%@datadir@%$datadir%g
1730 s%@sysconfdir@%$sysconfdir%g
1731 s%@sharedstatedir@%$sharedstatedir%g
1732 s%@localstatedir@%$localstatedir%g
1733 s%@libdir@%$libdir%g
1734 s%@includedir@%$includedir%g
1735 s%@oldincludedir@%$oldincludedir%g
1736 s%@infodir@%$infodir%g
1737 s%@mandir@%$mandir%g
1738 s%@VERSION_MAJOR@%$VERSION_MAJOR%g
1739 s%@VERSION_MINOR@%$VERSION_MINOR%g
1740 s%@VERSION_POINT@%$VERSION_POINT%g
1743 s%@EXEEXT@%$EXEEXT%g
1744 s%@OBJEXT@%$OBJEXT%g
1745 s%@WIN_ONLY@%$WIN_ONLY%g
1746 s%@CYGWIN_FLAGS@%$CYGWIN_FLAGS%g
1747 s%@SOLARIS_ONLY@%$SOLARIS_ONLY%g
1748 s%@GNU_REGEX_ONLY@%$GNU_REGEX_ONLY%g
1749 s%@PCRE_REGEX_ONLY@%$PCRE_REGEX_ONLY%g
1750 s%@NO_REGEX_ONLY@%$NO_REGEX_ONLY%g
1751 s%@PCRS_ONLY@%$PCRS_ONLY%g
1752 s%@LIBRARY_PCRE_ONLY@%$LIBRARY_PCRE_ONLY%g
1753 s%@STATIC_PCRE_ONLY@%$STATIC_PCRE_ONLY%g
1758 cat >> $CONFIG_STATUS <<\EOF
1760 # Split the substitutions into bite-sized pieces for seds with
1761 # small command number limits, like on Digital OSF/1 and HP-UX.
1762 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
1763 ac_file=1 # Number of current file.
1764 ac_beg=1 # First line for current file.
1765 ac_end=$ac_max_sed_cmds # Line after last line for current file.
1768 while $ac_more_lines; do
1769 if test $ac_beg -gt 1; then
1770 sed "1,${ac_beg}d; ${ac_end}q" conftest.subs > conftest.s$ac_file
1772 sed "${ac_end}q" conftest.subs > conftest.s$ac_file
1774 if test ! -s conftest.s$ac_file; then
1776 rm -f conftest.s$ac_file
1778 if test -z "$ac_sed_cmds"; then
1779 ac_sed_cmds="sed -f conftest.s$ac_file"
1781 ac_sed_cmds="$ac_sed_cmds | sed -f conftest.s$ac_file"
1783 ac_file=`expr $ac_file + 1`
1785 ac_end=`expr $ac_end + $ac_max_sed_cmds`
1788 if test -z "$ac_sed_cmds"; then
1793 cat >> $CONFIG_STATUS <<EOF
1795 CONFIG_FILES=\${CONFIG_FILES-"Makefile"}
1797 cat >> $CONFIG_STATUS <<\EOF
1798 for ac_file in .. $CONFIG_FILES; do if test "x$ac_file" != x..; then
1799 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1801 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1802 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1803 *) ac_file_in="${ac_file}.in" ;;
1806 # Adjust a relative srcdir, top_srcdir, and INSTALL for subdirectories.
1808 # Remove last slash and all that follows it. Not all systems have dirname.
1809 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1810 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1811 # The file is in a subdirectory.
1812 test ! -d "$ac_dir" && mkdir "$ac_dir"
1813 ac_dir_suffix="/`echo $ac_dir|sed 's%^\./%%'`"
1814 # A "../" for each directory in $ac_dir_suffix.
1815 ac_dots=`echo $ac_dir_suffix|sed 's%/[^/]*%../%g'`
1817 ac_dir_suffix= ac_dots=
1820 case "$ac_given_srcdir" in
1822 if test -z "$ac_dots"; then top_srcdir=.
1823 else top_srcdir=`echo $ac_dots|sed 's%/$%%'`; fi ;;
1824 /*) srcdir="$ac_given_srcdir$ac_dir_suffix"; top_srcdir="$ac_given_srcdir" ;;
1826 srcdir="$ac_dots$ac_given_srcdir$ac_dir_suffix"
1827 top_srcdir="$ac_dots$ac_given_srcdir" ;;
1831 echo creating "$ac_file"
1833 configure_input="Generated automatically from `echo $ac_file_in|sed 's%.*/%%'` by configure."
1835 *Makefile*) ac_comsub="1i\\
1836 # $configure_input" ;;
1840 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1842 s%@configure_input@%$configure_input%g
1843 s%@srcdir@%$srcdir%g
1844 s%@top_srcdir@%$top_srcdir%g
1845 " $ac_file_inputs | (eval "$ac_sed_cmds") > $ac_file
1849 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
1850 # NAME is the cpp macro being defined and VALUE is the value it is being given.
1852 # ac_d sets the value in "#define NAME VALUE" lines.
1853 ac_dA='s%^\([ ]*\)#\([ ]*define[ ][ ]*\)'
1854 ac_dB='\([ ][ ]*\)[^ ]*%\1#\2'
1857 # ac_u turns "#undef NAME" with trailing blanks into "#define NAME VALUE".
1858 ac_uA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1859 ac_uB='\([ ]\)%\1#\2define\3'
1862 # ac_e turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
1863 ac_eA='s%^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
1864 ac_eB='$%\1#\2define\3'
1868 if test "${CONFIG_HEADERS+set}" != set; then
1870 cat >> $CONFIG_STATUS <<EOF
1871 CONFIG_HEADERS="config.h"
1873 cat >> $CONFIG_STATUS <<\EOF
1875 for ac_file in .. $CONFIG_HEADERS; do if test "x$ac_file" != x..; then
1876 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
1878 *:*) ac_file_in=`echo "$ac_file"|sed 's%[^:]*:%%'`
1879 ac_file=`echo "$ac_file"|sed 's%:.*%%'` ;;
1880 *) ac_file_in="${ac_file}.in" ;;
1883 echo creating $ac_file
1885 rm -f conftest.frag conftest.in conftest.out
1886 ac_file_inputs=`echo $ac_file_in|sed -e "s%^%$ac_given_srcdir/%" -e "s%:% $ac_given_srcdir/%g"`
1887 cat $ac_file_inputs > conftest.in
1891 # Transform confdefs.h into a sed script conftest.vals that substitutes
1892 # the proper values into config.h.in to produce config.h. And first:
1893 # Protect against being on the right side of a sed subst in config.status.
1894 # Protect against being in an unquoted here document in config.status.
1896 cat > conftest.hdr <<\EOF
1899 s%#define \([A-Za-z_][A-Za-z0-9_]*\) *\(.*\)%${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD}%gp
1903 sed -n -f conftest.hdr confdefs.h > conftest.vals
1906 # This sed command replaces #undef with comments. This is necessary, for
1907 # example, in the case of _POSIX_SOURCE, which is predefined and required
1908 # on some systems where configure will not decide to define it.
1909 cat >> conftest.vals <<\EOF
1910 s%^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*%/* & */%
1913 # Break up conftest.vals because some shells have a limit on
1914 # the size of here documents, and old seds have small limits too.
1919 ac_lines=`grep -c . conftest.vals`
1920 # grep -c gives empty output for an empty file on some AIX systems.
1921 if test -z "$ac_lines" || test "$ac_lines" -eq 0; then break; fi
1922 # Write a limited-size here document to conftest.frag.
1923 echo ' cat > conftest.frag <<CEOF' >> $CONFIG_STATUS
1924 sed ${ac_max_here_lines}q conftest.vals >> $CONFIG_STATUS
1926 sed -f conftest.frag conftest.in > conftest.out
1928 mv conftest.out conftest.in
1930 sed 1,${ac_max_here_lines}d conftest.vals > conftest.tail
1932 mv conftest.tail conftest.vals
1936 cat >> $CONFIG_STATUS <<\EOF
1937 rm -f conftest.frag conftest.h
1938 echo "/* $ac_file. Generated automatically by configure. */" > conftest.h
1939 cat conftest.in >> conftest.h
1941 if cmp -s $ac_file conftest.h 2>/dev/null; then
1942 echo "$ac_file is unchanged"
1945 # Remove last slash and all that follows it. Not all systems have dirname.
1946 ac_dir=`echo $ac_file|sed 's%/[^/][^/]*$%%'`
1947 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
1948 # The file is in a subdirectory.
1949 test ! -d "$ac_dir" && mkdir "$ac_dir"
1952 mv conftest.h $ac_file
1957 cat >> $CONFIG_STATUS <<EOF
1960 cat >> $CONFIG_STATUS <<\EOF
1964 chmod +x $CONFIG_STATUS
1965 rm -fr confdefs* $ac_clean_files
1966 test "$no_create" = yes || ${CONFIG_SHELL-/bin/sh} $CONFIG_STATUS || exit 1