2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by Autoconf 2.52.
5 # Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
6 # 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.
10 # Avoid depending upon Character Ranges.
11 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
13 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
14 as_cr_digits='0123456789'
15 as_cr_alnum=$as_cr_Letters$as_cr_digits
17 # Sed expression to map a string onto a valid variable name.
18 as_tr_sh="sed y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
20 # Sed expression to map a string onto a valid CPP name.
21 as_tr_cpp="sed y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
23 # Be Bourne compatible
24 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
27 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
31 # Name of the executable.
32 as_me=`echo "$0" |sed 's,.*[\\/],,'`
34 if expr a : '\(a\)' >/dev/null 2>&1; then
40 rm -f conf$$ conf$$.exe conf$$.file
42 if ln -s conf$$.file conf$$ 2>/dev/null; then
43 # We could just check for DJGPP; but this test a) works b) is more generic
44 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
45 if test -f conf$$.exe; then
46 # Don't use ln at all; we don't have any links
51 elif ln conf$$.file conf$$ 2>/dev/null; then
56 rm -f conf$$ conf$$.exe conf$$.file
58 as_executable_p="test -f"
60 # Support unset when possible.
61 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
68 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
69 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
70 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
71 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
72 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
73 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
74 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
75 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
78 # We need space, tab and new line, in precisely that order.
84 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
87 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
88 # so uname gets run too.
89 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
96 ac_default_prefix=/usr/local
100 SHELL=${CONFIG_SHELL-/bin/sh}
102 # Maximum number of lines to put in a shell here document.
103 # This variable seems obsolete. It should probably be removed, and
104 # only ac_max_sed_lines should be used.
105 : ${ac_max_here_lines=38}
107 ac_unique_file="fcgiapp.c"
108 # Factoring default headers for most tests.
109 ac_includes_default="\
112 # include <sys/types.h>
115 # include <sys/stat.h>
126 # if !STDC_HEADERS && HAVE_MEMORY_H
132 # include <strings.h>
135 # include <inttypes.h>
145 # Initialize some variables set by options.
147 ac_init_version=false
148 # The variables have the same names as the options, with
149 # dashes changed to underlines.
157 program_transform_name=s,x,x,
165 # Installation directory options.
166 # These are left unexpanded so users can "make install exec_prefix=/foo"
167 # and all the variables that are supposed to be based on exec_prefix
168 # by default will actually change.
169 # Use braces instead of parens because sh, perl, etc. also accept them.
170 bindir='${exec_prefix}/bin'
171 sbindir='${exec_prefix}/sbin'
172 libexecdir='${exec_prefix}/libexec'
173 datadir='${prefix}/share'
174 sysconfdir='${prefix}/etc'
175 sharedstatedir='${prefix}/com'
176 localstatedir='${prefix}/var'
177 libdir='${exec_prefix}/lib'
178 includedir='${prefix}/include'
179 oldincludedir='/usr/include'
180 infodir='${prefix}/info'
181 mandir='${prefix}/man'
183 # Identity of this package.
193 # If the previous option needs an argument, assign it.
194 if test -n "$ac_prev"; then
195 eval "$ac_prev=\$ac_option"
200 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
202 # Accept the important Cygnus configure options, so we can diagnose typos.
206 -bindir | --bindir | --bindi | --bind | --bin | --bi)
208 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
211 -build | --build | --buil | --bui | --bu)
212 ac_prev=build_alias ;;
213 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
214 build_alias=$ac_optarg ;;
216 -cache-file | --cache-file | --cache-fil | --cache-fi \
217 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
218 ac_prev=cache_file ;;
219 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
220 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
221 cache_file=$ac_optarg ;;
224 cache_file=config.cache ;;
226 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
228 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
230 datadir=$ac_optarg ;;
232 -disable-* | --disable-*)
233 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
234 # Reject names that are not valid shell variable names.
235 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
236 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
237 { (exit 1); exit 1; }; }
238 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
239 eval "enable_$ac_feature=no" ;;
241 -enable-* | --enable-*)
242 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
243 # Reject names that are not valid shell variable names.
244 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
245 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
246 { (exit 1); exit 1; }; }
247 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
249 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
252 eval "enable_$ac_feature='$ac_optarg'" ;;
254 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
255 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
256 | --exec | --exe | --ex)
257 ac_prev=exec_prefix ;;
258 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
259 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
260 | --exec=* | --exe=* | --ex=*)
261 exec_prefix=$ac_optarg ;;
263 -gas | --gas | --ga | --g)
264 # Obsolete; use --with-gas.
267 -help | --help | --hel | --he | -h)
269 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
270 ac_init_help=recursive ;;
271 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
272 ac_init_help=short ;;
274 -host | --host | --hos | --ho)
275 ac_prev=host_alias ;;
276 -host=* | --host=* | --hos=* | --ho=*)
277 host_alias=$ac_optarg ;;
279 -includedir | --includedir | --includedi | --included | --include \
280 | --includ | --inclu | --incl | --inc)
281 ac_prev=includedir ;;
282 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
283 | --includ=* | --inclu=* | --incl=* | --inc=*)
284 includedir=$ac_optarg ;;
286 -infodir | --infodir | --infodi | --infod | --info | --inf)
288 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
289 infodir=$ac_optarg ;;
291 -libdir | --libdir | --libdi | --libd)
293 -libdir=* | --libdir=* | --libdi=* | --libd=*)
296 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
297 | --libexe | --libex | --libe)
298 ac_prev=libexecdir ;;
299 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
300 | --libexe=* | --libex=* | --libe=*)
301 libexecdir=$ac_optarg ;;
303 -localstatedir | --localstatedir | --localstatedi | --localstated \
304 | --localstate | --localstat | --localsta | --localst \
305 | --locals | --local | --loca | --loc | --lo)
306 ac_prev=localstatedir ;;
307 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
308 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
309 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
310 localstatedir=$ac_optarg ;;
312 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
314 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
318 # Obsolete; use --without-fp.
321 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
325 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
326 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
329 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
330 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
331 | --oldin | --oldi | --old | --ol | --o)
332 ac_prev=oldincludedir ;;
333 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
334 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
335 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
336 oldincludedir=$ac_optarg ;;
338 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
340 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
343 -program-prefix | --program-prefix | --program-prefi | --program-pref \
344 | --program-pre | --program-pr | --program-p)
345 ac_prev=program_prefix ;;
346 -program-prefix=* | --program-prefix=* | --program-prefi=* \
347 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
348 program_prefix=$ac_optarg ;;
350 -program-suffix | --program-suffix | --program-suffi | --program-suff \
351 | --program-suf | --program-su | --program-s)
352 ac_prev=program_suffix ;;
353 -program-suffix=* | --program-suffix=* | --program-suffi=* \
354 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
355 program_suffix=$ac_optarg ;;
357 -program-transform-name | --program-transform-name \
358 | --program-transform-nam | --program-transform-na \
359 | --program-transform-n | --program-transform- \
360 | --program-transform | --program-transfor \
361 | --program-transfo | --program-transf \
362 | --program-trans | --program-tran \
363 | --progr-tra | --program-tr | --program-t)
364 ac_prev=program_transform_name ;;
365 -program-transform-name=* | --program-transform-name=* \
366 | --program-transform-nam=* | --program-transform-na=* \
367 | --program-transform-n=* | --program-transform-=* \
368 | --program-transform=* | --program-transfor=* \
369 | --program-transfo=* | --program-transf=* \
370 | --program-trans=* | --program-tran=* \
371 | --progr-tra=* | --program-tr=* | --program-t=*)
372 program_transform_name=$ac_optarg ;;
374 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
375 | -silent | --silent | --silen | --sile | --sil)
378 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
380 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
382 sbindir=$ac_optarg ;;
384 -sharedstatedir | --sharedstatedir | --sharedstatedi \
385 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
386 | --sharedst | --shareds | --shared | --share | --shar \
388 ac_prev=sharedstatedir ;;
389 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
390 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
391 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
393 sharedstatedir=$ac_optarg ;;
395 -site | --site | --sit)
397 -site=* | --site=* | --sit=*)
400 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
402 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
405 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
406 | --syscon | --sysco | --sysc | --sys | --sy)
407 ac_prev=sysconfdir ;;
408 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
409 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
410 sysconfdir=$ac_optarg ;;
412 -target | --target | --targe | --targ | --tar | --ta | --t)
413 ac_prev=target_alias ;;
414 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
415 target_alias=$ac_optarg ;;
417 -v | -verbose | --verbose | --verbos | --verbo | --verb)
420 -version | --version | --versio | --versi | --vers | -V)
424 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
425 # Reject names that are not valid shell variable names.
426 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
427 { echo "$as_me: error: invalid package name: $ac_package" >&2
428 { (exit 1); exit 1; }; }
429 ac_package=`echo $ac_package| sed 's/-/_/g'`
431 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
434 eval "with_$ac_package='$ac_optarg'" ;;
436 -without-* | --without-*)
437 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
438 # Reject names that are not valid shell variable names.
439 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
440 { echo "$as_me: error: invalid package name: $ac_package" >&2
441 { (exit 1); exit 1; }; }
442 ac_package=`echo $ac_package | sed 's/-/_/g'`
443 eval "with_$ac_package=no" ;;
446 # Obsolete; use --with-x.
449 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
450 | --x-incl | --x-inc | --x-in | --x-i)
451 ac_prev=x_includes ;;
452 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
453 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
454 x_includes=$ac_optarg ;;
456 -x-libraries | --x-libraries | --x-librarie | --x-librari \
457 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
458 ac_prev=x_libraries ;;
459 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
460 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
461 x_libraries=$ac_optarg ;;
463 -*) { echo "$as_me: error: unrecognized option: $ac_option
464 Try \`$0 --help' for more information." >&2
465 { (exit 1); exit 1; }; }
469 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
470 # Reject names that are not valid shell variable names.
471 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
472 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
473 { (exit 1); exit 1; }; }
474 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
475 eval "$ac_envvar='$ac_optarg'"
479 # FIXME: should be removed in autoconf 3.0.
480 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
481 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
482 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
483 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
489 if test -n "$ac_prev"; then
490 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
491 { echo "$as_me: error: missing argument to $ac_option" >&2
492 { (exit 1); exit 1; }; }
495 # Be sure to have absolute paths.
496 for ac_var in exec_prefix prefix
498 eval ac_val=$`echo $ac_var`
500 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
501 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
502 { (exit 1); exit 1; }; };;
506 # Be sure to have absolute paths.
507 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
508 localstatedir libdir includedir oldincludedir infodir mandir
510 eval ac_val=$`echo $ac_var`
512 [\\/$]* | ?:[\\/]* ) ;;
513 *) { echo "$as_me: error: expected an absolute path for --$ac_var: $ac_val" >&2
514 { (exit 1); exit 1; }; };;
518 # There might be people who depend on the old broken behavior: `$host'
519 # used to hold the argument of --host etc.
524 # FIXME: should be removed in autoconf 3.0.
525 if test "x$host_alias" != x; then
526 if test "x$build_alias" = x; then
527 cross_compiling=maybe
528 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
529 If a cross compiler is detected then cross compile mode will be used." >&2
530 elif test "x$build_alias" != "x$host_alias"; then
536 test -n "$host_alias" && ac_tool_prefix=$host_alias-
538 test "$silent" = yes && exec 6>/dev/null
540 # Find the source files, if location was not specified.
541 if test -z "$srcdir"; then
542 ac_srcdir_defaulted=yes
543 # Try the directory containing this script, then its parent.
545 ac_confdir=`echo "$ac_prog" | sed 's%[\\/][^\\/][^\\/]*$%%'`
546 test "x$ac_confdir" = "x$ac_prog" && ac_confdir=.
548 if test ! -r $srcdir/$ac_unique_file; then
552 ac_srcdir_defaulted=no
554 if test ! -r $srcdir/$ac_unique_file; then
555 if test "$ac_srcdir_defaulted" = yes; then
556 { echo "$as_me: error: cannot find sources in $ac_confdir or .." >&2
557 { (exit 1); exit 1; }; }
559 { echo "$as_me: error: cannot find sources in $srcdir" >&2
560 { (exit 1); exit 1; }; }
563 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
564 ac_env_build_alias_set=${build_alias+set}
565 ac_env_build_alias_value=$build_alias
566 ac_cv_env_build_alias_set=${build_alias+set}
567 ac_cv_env_build_alias_value=$build_alias
568 ac_env_host_alias_set=${host_alias+set}
569 ac_env_host_alias_value=$host_alias
570 ac_cv_env_host_alias_set=${host_alias+set}
571 ac_cv_env_host_alias_value=$host_alias
572 ac_env_target_alias_set=${target_alias+set}
573 ac_env_target_alias_value=$target_alias
574 ac_cv_env_target_alias_set=${target_alias+set}
575 ac_cv_env_target_alias_value=$target_alias
576 ac_env_CC_set=${CC+set}
578 ac_cv_env_CC_set=${CC+set}
579 ac_cv_env_CC_value=$CC
580 ac_env_CFLAGS_set=${CFLAGS+set}
581 ac_env_CFLAGS_value=$CFLAGS
582 ac_cv_env_CFLAGS_set=${CFLAGS+set}
583 ac_cv_env_CFLAGS_value=$CFLAGS
584 ac_env_LDFLAGS_set=${LDFLAGS+set}
585 ac_env_LDFLAGS_value=$LDFLAGS
586 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
587 ac_cv_env_LDFLAGS_value=$LDFLAGS
588 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
589 ac_env_CPPFLAGS_value=$CPPFLAGS
590 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
591 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
592 ac_env_CPP_set=${CPP+set}
593 ac_env_CPP_value=$CPP
594 ac_cv_env_CPP_set=${CPP+set}
595 ac_cv_env_CPP_value=$CPP
598 # Report the --help message.
600 if test "$ac_init_help" = "long"; then
601 # Omit some internal or obsolete options to make the list less imposing.
602 # This message is too long to be a string in the A/UX 3.1 sh.
604 \`configure' configures this package to adapt to many kinds of systems.
606 Usage: $0 [OPTION]... [VAR=VALUE]...
608 To assign environment variables (e.g., CC, CFLAGS...), specify them as
609 VAR=VALUE. See below for descriptions of some of the useful variables.
611 Defaults for the options are specified in brackets.
614 -h, --help display this help and exit
615 --help=short display options specific to this package
616 --help=recursive display the short help of all the included packages
617 -V, --version display version information and exit
618 -q, --quiet, --silent do not print \`checking...' messages
619 --cache-file=FILE cache test results in FILE [disabled]
620 -C, --config-cache alias for \`--cache-file=config.cache'
621 -n, --no-create do not create output files
622 --srcdir=DIR find the sources in DIR [configure dir or \`..']
627 Installation directories:
628 --prefix=PREFIX install architecture-independent files in PREFIX
630 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
633 By default, \`make install' will install all the files in
634 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
635 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
636 for instance \`--prefix=\$HOME'.
638 For better control, use the options below.
640 Fine tuning of the installation directories:
641 --bindir=DIR user executables [EPREFIX/bin]
642 --sbindir=DIR system admin executables [EPREFIX/sbin]
643 --libexecdir=DIR program executables [EPREFIX/libexec]
644 --datadir=DIR read-only architecture-independent data [PREFIX/share]
645 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
646 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
647 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
648 --libdir=DIR object code libraries [EPREFIX/lib]
649 --includedir=DIR C header files [PREFIX/include]
650 --oldincludedir=DIR C header files for non-gcc [/usr/include]
651 --infodir=DIR info documentation [PREFIX/info]
652 --mandir=DIR man documentation [PREFIX/man]
659 if test -n "$ac_init_help"; then
663 Some influential environment variables:
664 CC C compiler command
665 CFLAGS C compiler flags
666 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
667 nonstandard directory <lib dir>
668 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
669 headers in a nonstandard directory <include dir>
672 Use these variables to override the choices made by `configure' or to help
673 it to find libraries and programs with nonstandard names/locations.
678 if test "$ac_init_help" = "recursive"; then
679 # If there are subdirs, report their specific --help.
681 for ac_subdir in : $ac_subdirs_all; do test "x$ac_subdir" = x: && continue
683 # A "../" for each directory in /$ac_subdir.
684 ac_dots=`echo $ac_subdir |
685 sed 's,^\./,,;s,[^/]$,&/,;s,[^/]*/,../,g'`
688 .) # No --srcdir option. We are building in place.
689 ac_sub_srcdir=$srcdir ;;
690 [\\/]* | ?:[\\/]* ) # Absolute path.
691 ac_sub_srcdir=$srcdir/$ac_subdir ;;
693 ac_sub_srcdir=$ac_dots$srcdir/$ac_subdir ;;
696 # Check for guested configure; otherwise get Cygnus style configure.
697 if test -f $ac_sub_srcdir/configure.gnu; then
699 $SHELL $ac_sub_srcdir/configure.gnu --help=recursive
700 elif test -f $ac_sub_srcdir/configure; then
702 $SHELL $ac_sub_srcdir/configure --help=recursive
703 elif test -f $ac_sub_srcdir/configure.ac ||
704 test -f $ac_sub_srcdir/configure.in; then
708 echo "$as_me: WARNING: no configuration information is in $ac_subdir" >&2
714 test -n "$ac_init_help" && exit 0
715 if $ac_init_version; then
718 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
719 Free Software Foundation, Inc.
720 This configure script is free software; the Free Software Foundation
721 gives unlimited permission to copy, distribute and modify it.
727 This file contains any messages produced by compilers while
728 running configure, to aid debugging if configure makes a mistake.
730 It was created by $as_me, which was
731 generated by GNU Autoconf 2.52. Invocation command line was
742 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
743 uname -m = `(uname -m) 2>/dev/null || echo unknown`
744 uname -r = `(uname -r) 2>/dev/null || echo unknown`
745 uname -s = `(uname -s) 2>/dev/null || echo unknown`
746 uname -v = `(uname -v) 2>/dev/null || echo unknown`
748 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
749 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
751 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
752 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
753 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
754 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
755 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
756 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
757 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
771 # Keep a trace of the command line.
772 # Strip out --no-create and --no-recursion so they do not pile up.
773 # Also quote any args containing shell meta-characters.
779 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
780 | --no-cr | --no-c) ;;
781 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
782 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r) ;;
783 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
784 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"`
785 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
787 *) ac_configure_args="$ac_configure_args$ac_sep$ac_arg"
790 # Get rid of the leading space.
793 # When interrupted or exit'd, cleanup temporary files, and complete
794 # config.log. We remove comments because anyway the quotes in there
795 # would cause problems or look ugly.
797 # Save into config.log some information that might help in debugging.
799 echo "## ----------------- ##" >&5
800 echo "## Cache variables. ##" >&5
801 echo "## ----------------- ##" >&5
803 # The following way of writing the cache mishandles newlines in values,
806 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
809 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
810 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
814 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
818 sed "/^$/d" confdefs.h >conftest.log
819 if test -s conftest.log; then
821 echo "## ------------ ##" >&5
822 echo "## confdefs.h. ##" >&5
823 echo "## ------------ ##" >&5
828 test "$ac_signal" != 0 &&
829 echo "$as_me: caught signal $ac_signal" >&5
830 echo "$as_me: exit $exit_status" >&5
831 rm -rf conftest* confdefs* core core.* *.core conf$$* $ac_clean_files &&
834 for ac_signal in 1 2 13 15; do
835 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
839 # confdefs.h avoids OS command line length limits that DEFS can exceed.
840 rm -rf conftest* confdefs.h
841 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
844 # Let the site file select an alternate cache file if it wants to.
845 # Prefer explicitly selected file to automatically selected ones.
846 if test -z "$CONFIG_SITE"; then
847 if test "x$prefix" != xNONE; then
848 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
850 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
853 for ac_site_file in $CONFIG_SITE; do
854 if test -r "$ac_site_file"; then
855 { echo "$as_me:855: loading site script $ac_site_file" >&5
856 echo "$as_me: loading site script $ac_site_file" >&6;}
857 cat "$ac_site_file" >&5
862 if test -r "$cache_file"; then
863 # Some versions of bash will fail to source /dev/null (special
864 # files actually), so we avoid doing that.
865 if test -f "$cache_file"; then
866 { echo "$as_me:866: loading cache $cache_file" >&5
867 echo "$as_me: loading cache $cache_file" >&6;}
869 [\\/]* | ?:[\\/]* ) . $cache_file;;
874 { echo "$as_me:874: creating cache $cache_file" >&5
875 echo "$as_me: creating cache $cache_file" >&6;}
879 # Check that the precious variables saved in the cache have kept the same
881 ac_cache_corrupted=false
882 for ac_var in `(set) 2>&1 |
883 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
884 eval ac_old_set=\$ac_cv_env_${ac_var}_set
885 eval ac_new_set=\$ac_env_${ac_var}_set
886 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
887 eval ac_new_val="\$ac_env_${ac_var}_value"
888 case $ac_old_set,$ac_new_set in
890 { echo "$as_me:890: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
891 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
892 ac_cache_corrupted=: ;;
894 { echo "$as_me:894: error: \`$ac_var' was not set in the previous run" >&5
895 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
896 ac_cache_corrupted=: ;;
899 if test "x$ac_old_val" != "x$ac_new_val"; then
900 { echo "$as_me:900: error: \`$ac_var' has changed since the previous run:" >&5
901 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
902 { echo "$as_me:902: former value: $ac_old_val" >&5
903 echo "$as_me: former value: $ac_old_val" >&2;}
904 { echo "$as_me:904: current value: $ac_new_val" >&5
905 echo "$as_me: current value: $ac_new_val" >&2;}
909 # Pass precious variables to config.status. It doesn't matter if
910 # we pass some twice (in addition to the command line arguments).
911 if test "$ac_new_set" = set; then
913 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
914 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"`
915 ac_configure_args="$ac_configure_args '$ac_arg'"
917 *) ac_configure_args="$ac_configure_args $ac_var=$ac_new_val"
922 if $ac_cache_corrupted; then
923 { echo "$as_me:923: error: changes in the environment can compromise the build" >&5
924 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
925 { { echo "$as_me:925: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
926 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
927 { (exit 1); exit 1; }; }
931 ac_cpp='$CPP $CPPFLAGS'
932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
936 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
937 *c*,-n*) ECHO_N= ECHO_C='
939 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
940 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
942 echo "#! $SHELL" >conftest.sh
943 echo "exit 0" >>conftest.sh
945 if { (echo "$as_me:945: PATH=\".;.\"; conftest.sh") >&5
946 (PATH=".;."; conftest.sh) 2>&5
948 echo "$as_me:948: \$? = $ac_status" >&5
949 (exit $ac_status); }; then
950 ac_path_separator=';'
954 PATH_SEPARATOR="$ac_path_separator"
958 ac_config_headers="$ac_config_headers fcgi_config.h"
963 ac_cpp='$CPP $CPPFLAGS'
964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
967 if test -n "$ac_tool_prefix"; then
968 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
969 set dummy ${ac_tool_prefix}gcc; ac_word=$2
970 echo "$as_me:970: checking for $ac_word" >&5
971 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
972 if test "${ac_cv_prog_CC+set}" = set; then
973 echo $ECHO_N "(cached) $ECHO_C" >&6
975 if test -n "$CC"; then
976 ac_cv_prog_CC="$CC" # Let the user override the test.
978 ac_save_IFS=$IFS; IFS=$ac_path_separator
980 for ac_dir in $ac_dummy; do
982 test -z "$ac_dir" && ac_dir=.
983 $as_executable_p "$ac_dir/$ac_word" || continue
984 ac_cv_prog_CC="${ac_tool_prefix}gcc"
985 echo "$as_me:985: found $ac_dir/$ac_word" >&5
992 if test -n "$CC"; then
993 echo "$as_me:993: result: $CC" >&5
994 echo "${ECHO_T}$CC" >&6
996 echo "$as_me:996: result: no" >&5
997 echo "${ECHO_T}no" >&6
1001 if test -z "$ac_cv_prog_CC"; then
1003 # Extract the first word of "gcc", so it can be a program name with args.
1004 set dummy gcc; ac_word=$2
1005 echo "$as_me:1005: checking for $ac_word" >&5
1006 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1007 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1008 echo $ECHO_N "(cached) $ECHO_C" >&6
1010 if test -n "$ac_ct_CC"; then
1011 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1013 ac_save_IFS=$IFS; IFS=$ac_path_separator
1015 for ac_dir in $ac_dummy; do
1017 test -z "$ac_dir" && ac_dir=.
1018 $as_executable_p "$ac_dir/$ac_word" || continue
1019 ac_cv_prog_ac_ct_CC="gcc"
1020 echo "$as_me:1020: found $ac_dir/$ac_word" >&5
1026 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1027 if test -n "$ac_ct_CC"; then
1028 echo "$as_me:1028: result: $ac_ct_CC" >&5
1029 echo "${ECHO_T}$ac_ct_CC" >&6
1031 echo "$as_me:1031: result: no" >&5
1032 echo "${ECHO_T}no" >&6
1040 if test -z "$CC"; then
1041 if test -n "$ac_tool_prefix"; then
1042 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1043 set dummy ${ac_tool_prefix}cc; ac_word=$2
1044 echo "$as_me:1044: checking for $ac_word" >&5
1045 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1046 if test "${ac_cv_prog_CC+set}" = set; then
1047 echo $ECHO_N "(cached) $ECHO_C" >&6
1049 if test -n "$CC"; then
1050 ac_cv_prog_CC="$CC" # Let the user override the test.
1052 ac_save_IFS=$IFS; IFS=$ac_path_separator
1054 for ac_dir in $ac_dummy; do
1056 test -z "$ac_dir" && ac_dir=.
1057 $as_executable_p "$ac_dir/$ac_word" || continue
1058 ac_cv_prog_CC="${ac_tool_prefix}cc"
1059 echo "$as_me:1059: found $ac_dir/$ac_word" >&5
1066 if test -n "$CC"; then
1067 echo "$as_me:1067: result: $CC" >&5
1068 echo "${ECHO_T}$CC" >&6
1070 echo "$as_me:1070: result: no" >&5
1071 echo "${ECHO_T}no" >&6
1075 if test -z "$ac_cv_prog_CC"; then
1077 # Extract the first word of "cc", so it can be a program name with args.
1078 set dummy cc; ac_word=$2
1079 echo "$as_me:1079: checking for $ac_word" >&5
1080 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1081 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1082 echo $ECHO_N "(cached) $ECHO_C" >&6
1084 if test -n "$ac_ct_CC"; then
1085 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1087 ac_save_IFS=$IFS; IFS=$ac_path_separator
1089 for ac_dir in $ac_dummy; do
1091 test -z "$ac_dir" && ac_dir=.
1092 $as_executable_p "$ac_dir/$ac_word" || continue
1093 ac_cv_prog_ac_ct_CC="cc"
1094 echo "$as_me:1094: found $ac_dir/$ac_word" >&5
1100 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1101 if test -n "$ac_ct_CC"; then
1102 echo "$as_me:1102: result: $ac_ct_CC" >&5
1103 echo "${ECHO_T}$ac_ct_CC" >&6
1105 echo "$as_me:1105: result: no" >&5
1106 echo "${ECHO_T}no" >&6
1115 if test -z "$CC"; then
1116 # Extract the first word of "cc", so it can be a program name with args.
1117 set dummy cc; ac_word=$2
1118 echo "$as_me:1118: checking for $ac_word" >&5
1119 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1120 if test "${ac_cv_prog_CC+set}" = set; then
1121 echo $ECHO_N "(cached) $ECHO_C" >&6
1123 if test -n "$CC"; then
1124 ac_cv_prog_CC="$CC" # Let the user override the test.
1127 ac_save_IFS=$IFS; IFS=$ac_path_separator
1129 for ac_dir in $ac_dummy; do
1131 test -z "$ac_dir" && ac_dir=.
1132 $as_executable_p "$ac_dir/$ac_word" || continue
1133 if test "$ac_dir/$ac_word" = "/usr/ucb/cc"; then
1134 ac_prog_rejected=yes
1138 echo "$as_me:1138: found $ac_dir/$ac_word" >&5
1142 if test $ac_prog_rejected = yes; then
1143 # We found a bogon in the path, so make sure we never use it.
1144 set dummy $ac_cv_prog_CC
1146 if test $# != 0; then
1147 # We chose a different compiler from the bogus one.
1148 # However, it has the same basename, so the bogon will be chosen
1149 # first if we set CC to just the basename; use the full file name.
1151 set dummy "$ac_dir/$ac_word" ${1+"$@"}
1159 if test -n "$CC"; then
1160 echo "$as_me:1160: result: $CC" >&5
1161 echo "${ECHO_T}$CC" >&6
1163 echo "$as_me:1163: result: no" >&5
1164 echo "${ECHO_T}no" >&6
1168 if test -z "$CC"; then
1169 if test -n "$ac_tool_prefix"; then
1172 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1173 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1174 echo "$as_me:1174: checking for $ac_word" >&5
1175 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1176 if test "${ac_cv_prog_CC+set}" = set; then
1177 echo $ECHO_N "(cached) $ECHO_C" >&6
1179 if test -n "$CC"; then
1180 ac_cv_prog_CC="$CC" # Let the user override the test.
1182 ac_save_IFS=$IFS; IFS=$ac_path_separator
1184 for ac_dir in $ac_dummy; do
1186 test -z "$ac_dir" && ac_dir=.
1187 $as_executable_p "$ac_dir/$ac_word" || continue
1188 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1189 echo "$as_me:1189: found $ac_dir/$ac_word" >&5
1196 if test -n "$CC"; then
1197 echo "$as_me:1197: result: $CC" >&5
1198 echo "${ECHO_T}$CC" >&6
1200 echo "$as_me:1200: result: no" >&5
1201 echo "${ECHO_T}no" >&6
1204 test -n "$CC" && break
1207 if test -z "$CC"; then
1211 # Extract the first word of "$ac_prog", so it can be a program name with args.
1212 set dummy $ac_prog; ac_word=$2
1213 echo "$as_me:1213: checking for $ac_word" >&5
1214 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1215 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1216 echo $ECHO_N "(cached) $ECHO_C" >&6
1218 if test -n "$ac_ct_CC"; then
1219 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1221 ac_save_IFS=$IFS; IFS=$ac_path_separator
1223 for ac_dir in $ac_dummy; do
1225 test -z "$ac_dir" && ac_dir=.
1226 $as_executable_p "$ac_dir/$ac_word" || continue
1227 ac_cv_prog_ac_ct_CC="$ac_prog"
1228 echo "$as_me:1228: found $ac_dir/$ac_word" >&5
1234 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1235 if test -n "$ac_ct_CC"; then
1236 echo "$as_me:1236: result: $ac_ct_CC" >&5
1237 echo "${ECHO_T}$ac_ct_CC" >&6
1239 echo "$as_me:1239: result: no" >&5
1240 echo "${ECHO_T}no" >&6
1243 test -n "$ac_ct_CC" && break
1251 test -z "$CC" && { { echo "$as_me:1251: error: no acceptable cc found in \$PATH" >&5
1252 echo "$as_me: error: no acceptable cc found in \$PATH" >&2;}
1253 { (exit 1); exit 1; }; }
1255 # Provide some information about the compiler.
1256 echo "$as_me:1256:" \
1257 "checking for C compiler version" >&5
1258 ac_compiler=`set X $ac_compile; echo $2`
1259 { (eval echo "$as_me:1259: \"$ac_compiler --version </dev/null >&5\"") >&5
1260 (eval $ac_compiler --version </dev/null >&5) 2>&5
1262 echo "$as_me:1262: \$? = $ac_status" >&5
1263 (exit $ac_status); }
1264 { (eval echo "$as_me:1264: \"$ac_compiler -v </dev/null >&5\"") >&5
1265 (eval $ac_compiler -v </dev/null >&5) 2>&5
1267 echo "$as_me:1267: \$? = $ac_status" >&5
1268 (exit $ac_status); }
1269 { (eval echo "$as_me:1269: \"$ac_compiler -V </dev/null >&5\"") >&5
1270 (eval $ac_compiler -V </dev/null >&5) 2>&5
1272 echo "$as_me:1272: \$? = $ac_status" >&5
1273 (exit $ac_status); }
1275 cat >conftest.$ac_ext <<_ACEOF
1276 #line 1276 "configure"
1277 #include "confdefs.h"
1287 ac_clean_files_save=$ac_clean_files
1288 ac_clean_files="$ac_clean_files a.out a.exe"
1289 # Try to create an executable without -o first, disregard a.out.
1290 # It will help us diagnose broken compilers, and finding out an intuition
1292 echo "$as_me:1292: checking for C compiler default output" >&5
1293 echo $ECHO_N "checking for C compiler default output... $ECHO_C" >&6
1294 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
1295 if { (eval echo "$as_me:1295: \"$ac_link_default\"") >&5
1296 (eval $ac_link_default) 2>&5
1298 echo "$as_me:1298: \$? = $ac_status" >&5
1299 (exit $ac_status); }; then
1300 # Find the output, starting from the most likely. This scheme is
1301 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
1303 for ac_file in `ls a.exe conftest.exe 2>/dev/null;
1304 ls a.out conftest 2>/dev/null;
1305 ls a.* conftest.* 2>/dev/null`; do
1307 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1308 a.out ) # We found the default executable, but exeext='' is most
1311 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1312 # FIXME: I believe we export ac_cv_exeext for Libtool --akim.
1319 echo "$as_me: failed program was:" >&5
1320 cat conftest.$ac_ext >&5
1321 { { echo "$as_me:1321: error: C compiler cannot create executables" >&5
1322 echo "$as_me: error: C compiler cannot create executables" >&2;}
1323 { (exit 77); exit 77; }; }
1326 ac_exeext=$ac_cv_exeext
1327 echo "$as_me:1327: result: $ac_file" >&5
1328 echo "${ECHO_T}$ac_file" >&6
1330 # Check the compiler produces executables we can run. If not, either
1331 # the compiler is broken, or we cross compile.
1332 echo "$as_me:1332: checking whether the C compiler works" >&5
1333 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
1334 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
1335 # If not cross compiling, check that we can run a simple program.
1336 if test "$cross_compiling" != yes; then
1337 if { ac_try='./$ac_file'
1338 { (eval echo "$as_me:1338: \"$ac_try\"") >&5
1341 echo "$as_me:1341: \$? = $ac_status" >&5
1342 (exit $ac_status); }; }; then
1345 if test "$cross_compiling" = maybe; then
1348 { { echo "$as_me:1348: error: cannot run C compiled programs.
1349 If you meant to cross compile, use \`--host'." >&5
1350 echo "$as_me: error: cannot run C compiled programs.
1351 If you meant to cross compile, use \`--host'." >&2;}
1352 { (exit 1); exit 1; }; }
1356 echo "$as_me:1356: result: yes" >&5
1357 echo "${ECHO_T}yes" >&6
1359 rm -f a.out a.exe conftest$ac_cv_exeext
1360 ac_clean_files=$ac_clean_files_save
1361 # Check the compiler produces executables we can run. If not, either
1362 # the compiler is broken, or we cross compile.
1363 echo "$as_me:1363: checking whether we are cross compiling" >&5
1364 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
1365 echo "$as_me:1365: result: $cross_compiling" >&5
1366 echo "${ECHO_T}$cross_compiling" >&6
1368 echo "$as_me:1368: checking for executable suffix" >&5
1369 echo $ECHO_N "checking for executable suffix... $ECHO_C" >&6
1370 if { (eval echo "$as_me:1370: \"$ac_link\"") >&5
1371 (eval $ac_link) 2>&5
1373 echo "$as_me:1373: \$? = $ac_status" >&5
1374 (exit $ac_status); }; then
1375 # If both `conftest.exe' and `conftest' are `present' (well, observable)
1376 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
1377 # work properly (i.e., refer to `conftest.exe'), while it won't with
1379 for ac_file in `(ls conftest.exe; ls conftest; ls conftest.*) 2>/dev/null`; do
1381 *.$ac_ext | *.o | *.obj | *.xcoff | *.tds | *.d | *.pdb ) ;;
1382 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
1389 { { echo "$as_me:1389: error: cannot compute EXEEXT: cannot compile and link" >&5
1390 echo "$as_me: error: cannot compute EXEEXT: cannot compile and link" >&2;}
1391 { (exit 1); exit 1; }; }
1394 rm -f conftest$ac_cv_exeext
1395 echo "$as_me:1395: result: $ac_cv_exeext" >&5
1396 echo "${ECHO_T}$ac_cv_exeext" >&6
1398 rm -f conftest.$ac_ext
1399 EXEEXT=$ac_cv_exeext
1401 echo "$as_me:1401: checking for object suffix" >&5
1402 echo $ECHO_N "checking for object suffix... $ECHO_C" >&6
1403 if test "${ac_cv_objext+set}" = set; then
1404 echo $ECHO_N "(cached) $ECHO_C" >&6
1406 cat >conftest.$ac_ext <<_ACEOF
1407 #line 1407 "configure"
1408 #include "confdefs.h"
1418 rm -f conftest.o conftest.obj
1419 if { (eval echo "$as_me:1419: \"$ac_compile\"") >&5
1420 (eval $ac_compile) 2>&5
1422 echo "$as_me:1422: \$? = $ac_status" >&5
1423 (exit $ac_status); }; then
1424 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
1426 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb ) ;;
1427 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
1432 echo "$as_me: failed program was:" >&5
1433 cat conftest.$ac_ext >&5
1434 { { echo "$as_me:1434: error: cannot compute OBJEXT: cannot compile" >&5
1435 echo "$as_me: error: cannot compute OBJEXT: cannot compile" >&2;}
1436 { (exit 1); exit 1; }; }
1439 rm -f conftest.$ac_cv_objext conftest.$ac_ext
1441 echo "$as_me:1441: result: $ac_cv_objext" >&5
1442 echo "${ECHO_T}$ac_cv_objext" >&6
1443 OBJEXT=$ac_cv_objext
1445 echo "$as_me:1445: checking whether we are using the GNU C compiler" >&5
1446 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
1447 if test "${ac_cv_c_compiler_gnu+set}" = set; then
1448 echo $ECHO_N "(cached) $ECHO_C" >&6
1450 cat >conftest.$ac_ext <<_ACEOF
1451 #line 1451 "configure"
1452 #include "confdefs.h"
1465 rm -f conftest.$ac_objext
1466 if { (eval echo "$as_me:1466: \"$ac_compile\"") >&5
1467 (eval $ac_compile) 2>&5
1469 echo "$as_me:1469: \$? = $ac_status" >&5
1470 (exit $ac_status); } &&
1471 { ac_try='test -s conftest.$ac_objext'
1472 { (eval echo "$as_me:1472: \"$ac_try\"") >&5
1475 echo "$as_me:1475: \$? = $ac_status" >&5
1476 (exit $ac_status); }; }; then
1479 echo "$as_me: failed program was:" >&5
1480 cat conftest.$ac_ext >&5
1483 rm -f conftest.$ac_objext conftest.$ac_ext
1484 ac_cv_c_compiler_gnu=$ac_compiler_gnu
1487 echo "$as_me:1487: result: $ac_cv_c_compiler_gnu" >&5
1488 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
1489 GCC=`test $ac_compiler_gnu = yes && echo yes`
1490 ac_test_CFLAGS=${CFLAGS+set}
1491 ac_save_CFLAGS=$CFLAGS
1493 echo "$as_me:1493: checking whether $CC accepts -g" >&5
1494 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
1495 if test "${ac_cv_prog_cc_g+set}" = set; then
1496 echo $ECHO_N "(cached) $ECHO_C" >&6
1498 cat >conftest.$ac_ext <<_ACEOF
1499 #line 1499 "configure"
1500 #include "confdefs.h"
1510 rm -f conftest.$ac_objext
1511 if { (eval echo "$as_me:1511: \"$ac_compile\"") >&5
1512 (eval $ac_compile) 2>&5
1514 echo "$as_me:1514: \$? = $ac_status" >&5
1515 (exit $ac_status); } &&
1516 { ac_try='test -s conftest.$ac_objext'
1517 { (eval echo "$as_me:1517: \"$ac_try\"") >&5
1520 echo "$as_me:1520: \$? = $ac_status" >&5
1521 (exit $ac_status); }; }; then
1524 echo "$as_me: failed program was:" >&5
1525 cat conftest.$ac_ext >&5
1528 rm -f conftest.$ac_objext conftest.$ac_ext
1530 echo "$as_me:1530: result: $ac_cv_prog_cc_g" >&5
1531 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
1532 if test "$ac_test_CFLAGS" = set; then
1533 CFLAGS=$ac_save_CFLAGS
1534 elif test $ac_cv_prog_cc_g = yes; then
1535 if test "$GCC" = yes; then
1541 if test "$GCC" = yes; then
1547 # Some people use a C++ compiler to compile C. Since we use `exit',
1548 # in C++ we need to declare it. In case someone uses the same compiler
1549 # for both compiling C and C++ we need to have the C++ compiler decide
1550 # the declaration of exit, since it's the most demanding environment.
1551 cat >conftest.$ac_ext <<_ACEOF
1556 rm -f conftest.$ac_objext
1557 if { (eval echo "$as_me:1557: \"$ac_compile\"") >&5
1558 (eval $ac_compile) 2>&5
1560 echo "$as_me:1560: \$? = $ac_status" >&5
1561 (exit $ac_status); } &&
1562 { ac_try='test -s conftest.$ac_objext'
1563 { (eval echo "$as_me:1563: \"$ac_try\"") >&5
1566 echo "$as_me:1566: \$? = $ac_status" >&5
1567 (exit $ac_status); }; }; then
1568 for ac_declaration in \
1570 '#include <stdlib.h>' \
1571 'extern "C" void std::exit (int) throw (); using std::exit;' \
1572 'extern "C" void std::exit (int); using std::exit;' \
1573 'extern "C" void exit (int) throw ();' \
1574 'extern "C" void exit (int);' \
1577 cat >conftest.$ac_ext <<_ACEOF
1578 #line 1578 "configure"
1579 #include "confdefs.h"
1590 rm -f conftest.$ac_objext
1591 if { (eval echo "$as_me:1591: \"$ac_compile\"") >&5
1592 (eval $ac_compile) 2>&5
1594 echo "$as_me:1594: \$? = $ac_status" >&5
1595 (exit $ac_status); } &&
1596 { ac_try='test -s conftest.$ac_objext'
1597 { (eval echo "$as_me:1597: \"$ac_try\"") >&5
1600 echo "$as_me:1600: \$? = $ac_status" >&5
1601 (exit $ac_status); }; }; then
1604 echo "$as_me: failed program was:" >&5
1605 cat conftest.$ac_ext >&5
1608 rm -f conftest.$ac_objext conftest.$ac_ext
1609 cat >conftest.$ac_ext <<_ACEOF
1610 #line 1610 "configure"
1611 #include "confdefs.h"
1621 rm -f conftest.$ac_objext
1622 if { (eval echo "$as_me:1622: \"$ac_compile\"") >&5
1623 (eval $ac_compile) 2>&5
1625 echo "$as_me:1625: \$? = $ac_status" >&5
1626 (exit $ac_status); } &&
1627 { ac_try='test -s conftest.$ac_objext'
1628 { (eval echo "$as_me:1628: \"$ac_try\"") >&5
1631 echo "$as_me:1631: \$? = $ac_status" >&5
1632 (exit $ac_status); }; }; then
1635 echo "$as_me: failed program was:" >&5
1636 cat conftest.$ac_ext >&5
1638 rm -f conftest.$ac_objext conftest.$ac_ext
1641 if test -n "$ac_declaration"; then
1642 echo '#ifdef __cplusplus' >>confdefs.h
1643 echo $ac_declaration >>confdefs.h
1644 echo '#endif' >>confdefs.h
1648 echo "$as_me: failed program was:" >&5
1649 cat conftest.$ac_ext >&5
1651 rm -f conftest.$ac_objext conftest.$ac_ext
1653 ac_cpp='$CPP $CPPFLAGS'
1654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659 ac_cpp='$CPP $CPPFLAGS'
1660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1663 echo "$as_me:1663: checking how to run the C preprocessor" >&5
1664 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
1665 # On Suns, sometimes $CPP names a directory.
1666 if test -n "$CPP" && test -d "$CPP"; then
1669 if test -z "$CPP"; then
1670 if test "${ac_cv_prog_CPP+set}" = set; then
1671 echo $ECHO_N "(cached) $ECHO_C" >&6
1673 # Double quotes because CPP needs to be expanded
1674 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
1677 for ac_c_preproc_warn_flag in '' yes
1679 # Use a header file that comes with gcc, so configuring glibc
1680 # with a fresh cross-compiler works.
1681 # On the NeXT, cc -E runs the code through the compiler's parser,
1682 # not just through cpp. "Syntax error" is here to catch this case.
1683 cat >conftest.$ac_ext <<_ACEOF
1684 #line 1684 "configure"
1685 #include "confdefs.h"
1689 if { (eval echo "$as_me:1689: \"$ac_cpp conftest.$ac_ext\"") >&5
1690 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1692 egrep -v '^ *\+' conftest.er1 >conftest.err
1694 cat conftest.err >&5
1695 echo "$as_me:1695: \$? = $ac_status" >&5
1696 (exit $ac_status); } >/dev/null; then
1697 if test -s conftest.err; then
1698 ac_cpp_err=$ac_c_preproc_warn_flag
1705 if test -z "$ac_cpp_err"; then
1708 echo "$as_me: failed program was:" >&5
1709 cat conftest.$ac_ext >&5
1710 # Broken: fails on valid input.
1713 rm -f conftest.err conftest.$ac_ext
1715 # OK, works on sane cases. Now check whether non-existent headers
1716 # can be detected and how.
1717 cat >conftest.$ac_ext <<_ACEOF
1718 #line 1718 "configure"
1719 #include "confdefs.h"
1720 #include <ac_nonexistent.h>
1722 if { (eval echo "$as_me:1722: \"$ac_cpp conftest.$ac_ext\"") >&5
1723 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1725 egrep -v '^ *\+' conftest.er1 >conftest.err
1727 cat conftest.err >&5
1728 echo "$as_me:1728: \$? = $ac_status" >&5
1729 (exit $ac_status); } >/dev/null; then
1730 if test -s conftest.err; then
1731 ac_cpp_err=$ac_c_preproc_warn_flag
1738 if test -z "$ac_cpp_err"; then
1739 # Broken: success on invalid input.
1742 echo "$as_me: failed program was:" >&5
1743 cat conftest.$ac_ext >&5
1744 # Passes both tests.
1748 rm -f conftest.err conftest.$ac_ext
1751 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1752 rm -f conftest.err conftest.$ac_ext
1753 if $ac_preproc_ok; then
1765 echo "$as_me:1765: result: $CPP" >&5
1766 echo "${ECHO_T}$CPP" >&6
1768 for ac_c_preproc_warn_flag in '' yes
1770 # Use a header file that comes with gcc, so configuring glibc
1771 # with a fresh cross-compiler works.
1772 # On the NeXT, cc -E runs the code through the compiler's parser,
1773 # not just through cpp. "Syntax error" is here to catch this case.
1774 cat >conftest.$ac_ext <<_ACEOF
1775 #line 1775 "configure"
1776 #include "confdefs.h"
1780 if { (eval echo "$as_me:1780: \"$ac_cpp conftest.$ac_ext\"") >&5
1781 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1783 egrep -v '^ *\+' conftest.er1 >conftest.err
1785 cat conftest.err >&5
1786 echo "$as_me:1786: \$? = $ac_status" >&5
1787 (exit $ac_status); } >/dev/null; then
1788 if test -s conftest.err; then
1789 ac_cpp_err=$ac_c_preproc_warn_flag
1796 if test -z "$ac_cpp_err"; then
1799 echo "$as_me: failed program was:" >&5
1800 cat conftest.$ac_ext >&5
1801 # Broken: fails on valid input.
1804 rm -f conftest.err conftest.$ac_ext
1806 # OK, works on sane cases. Now check whether non-existent headers
1807 # can be detected and how.
1808 cat >conftest.$ac_ext <<_ACEOF
1809 #line 1809 "configure"
1810 #include "confdefs.h"
1811 #include <ac_nonexistent.h>
1813 if { (eval echo "$as_me:1813: \"$ac_cpp conftest.$ac_ext\"") >&5
1814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1816 egrep -v '^ *\+' conftest.er1 >conftest.err
1818 cat conftest.err >&5
1819 echo "$as_me:1819: \$? = $ac_status" >&5
1820 (exit $ac_status); } >/dev/null; then
1821 if test -s conftest.err; then
1822 ac_cpp_err=$ac_c_preproc_warn_flag
1829 if test -z "$ac_cpp_err"; then
1830 # Broken: success on invalid input.
1833 echo "$as_me: failed program was:" >&5
1834 cat conftest.$ac_ext >&5
1835 # Passes both tests.
1839 rm -f conftest.err conftest.$ac_ext
1842 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
1843 rm -f conftest.err conftest.$ac_ext
1844 if $ac_preproc_ok; then
1847 { { echo "$as_me:1847: error: C preprocessor \"$CPP\" fails sanity check" >&5
1848 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check" >&2;}
1849 { (exit 1); exit 1; }; }
1853 ac_cpp='$CPP $CPPFLAGS'
1854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1860 echo "$as_me:1860: checking for ANSI C header files" >&5
1861 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
1862 if test "${ac_cv_header_stdc+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 cat >conftest.$ac_ext <<_ACEOF
1866 #line 1866 "configure"
1867 #include "confdefs.h"
1874 if { (eval echo "$as_me:1874: \"$ac_cpp conftest.$ac_ext\"") >&5
1875 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
1877 egrep -v '^ *\+' conftest.er1 >conftest.err
1879 cat conftest.err >&5
1880 echo "$as_me:1880: \$? = $ac_status" >&5
1881 (exit $ac_status); } >/dev/null; then
1882 if test -s conftest.err; then
1883 ac_cpp_err=$ac_c_preproc_warn_flag
1890 if test -z "$ac_cpp_err"; then
1891 ac_cv_header_stdc=yes
1893 echo "$as_me: failed program was:" >&5
1894 cat conftest.$ac_ext >&5
1895 ac_cv_header_stdc=no
1897 rm -f conftest.err conftest.$ac_ext
1899 if test $ac_cv_header_stdc = yes; then
1900 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
1901 cat >conftest.$ac_ext <<_ACEOF
1902 #line 1902 "configure"
1903 #include "confdefs.h"
1907 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1908 egrep "memchr" >/dev/null 2>&1; then
1911 ac_cv_header_stdc=no
1917 if test $ac_cv_header_stdc = yes; then
1918 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
1919 cat >conftest.$ac_ext <<_ACEOF
1920 #line 1920 "configure"
1921 #include "confdefs.h"
1925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
1926 egrep "free" >/dev/null 2>&1; then
1929 ac_cv_header_stdc=no
1935 if test $ac_cv_header_stdc = yes; then
1936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
1937 if test "$cross_compiling" = yes; then
1940 cat >conftest.$ac_ext <<_ACEOF
1941 #line 1941 "configure"
1942 #include "confdefs.h"
1944 #if ((' ' & 0x0FF) == 0x020)
1945 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
1946 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
1948 # define ISLOWER(c) (('a' <= (c) && (c) <= 'i') \
1949 || ('j' <= (c) && (c) <= 'r') \
1950 || ('s' <= (c) && (c) <= 'z'))
1951 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
1954 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
1959 for (i = 0; i < 256; i++)
1960 if (XOR (islower (i), ISLOWER (i))
1961 || toupper (i) != TOUPPER (i))
1966 rm -f conftest$ac_exeext
1967 if { (eval echo "$as_me:1967: \"$ac_link\"") >&5
1968 (eval $ac_link) 2>&5
1970 echo "$as_me:1970: \$? = $ac_status" >&5
1971 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
1972 { (eval echo "$as_me:1972: \"$ac_try\"") >&5
1975 echo "$as_me:1975: \$? = $ac_status" >&5
1976 (exit $ac_status); }; }; then
1979 echo "$as_me: program exited with status $ac_status" >&5
1980 echo "$as_me: failed program was:" >&5
1981 cat conftest.$ac_ext >&5
1982 ac_cv_header_stdc=no
1984 rm -f core core.* *.core conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
1988 echo "$as_me:1988: result: $ac_cv_header_stdc" >&5
1989 echo "${ECHO_T}$ac_cv_header_stdc" >&6
1990 if test $ac_cv_header_stdc = yes; then
1992 cat >>confdefs.h <<\EOF
1993 #define STDC_HEADERS 1
1998 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
2000 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
2001 inttypes.h stdint.h unistd.h
2003 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2004 echo "$as_me:2004: checking for $ac_header" >&5
2005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2006 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2007 echo $ECHO_N "(cached) $ECHO_C" >&6
2009 cat >conftest.$ac_ext <<_ACEOF
2010 #line 2010 "configure"
2011 #include "confdefs.h"
2012 $ac_includes_default
2013 #include <$ac_header>
2015 rm -f conftest.$ac_objext
2016 if { (eval echo "$as_me:2016: \"$ac_compile\"") >&5
2017 (eval $ac_compile) 2>&5
2019 echo "$as_me:2019: \$? = $ac_status" >&5
2020 (exit $ac_status); } &&
2021 { ac_try='test -s conftest.$ac_objext'
2022 { (eval echo "$as_me:2022: \"$ac_try\"") >&5
2025 echo "$as_me:2025: \$? = $ac_status" >&5
2026 (exit $ac_status); }; }; then
2027 eval "$as_ac_Header=yes"
2029 echo "$as_me: failed program was:" >&5
2030 cat conftest.$ac_ext >&5
2031 eval "$as_ac_Header=no"
2033 rm -f conftest.$ac_objext conftest.$ac_ext
2035 echo "$as_me:2035: result: `eval echo '${'$as_ac_Header'}'`" >&5
2036 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2037 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2038 cat >>confdefs.h <<EOF
2039 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2045 echo "$as_me:2045: checking for ssize_t" >&5
2046 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
2047 if test "${ac_cv_type_ssize_t+set}" = set; then
2048 echo $ECHO_N "(cached) $ECHO_C" >&6
2050 cat >conftest.$ac_ext <<_ACEOF
2051 #line 2051 "configure"
2052 #include "confdefs.h"
2053 $ac_includes_default
2059 if (sizeof (ssize_t))
2065 rm -f conftest.$ac_objext
2066 if { (eval echo "$as_me:2066: \"$ac_compile\"") >&5
2067 (eval $ac_compile) 2>&5
2069 echo "$as_me:2069: \$? = $ac_status" >&5
2070 (exit $ac_status); } &&
2071 { ac_try='test -s conftest.$ac_objext'
2072 { (eval echo "$as_me:2072: \"$ac_try\"") >&5
2075 echo "$as_me:2075: \$? = $ac_status" >&5
2076 (exit $ac_status); }; }; then
2077 ac_cv_type_ssize_t=yes
2079 echo "$as_me: failed program was:" >&5
2080 cat conftest.$ac_ext >&5
2081 ac_cv_type_ssize_t=no
2083 rm -f conftest.$ac_objext conftest.$ac_ext
2085 echo "$as_me:2085: result: $ac_cv_type_ssize_t" >&5
2086 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
2087 if test $ac_cv_type_ssize_t = yes; then
2091 cat >>confdefs.h <<EOF
2098 echo "$as_me:2098: checking for sun_len in sys/un.h" >&5
2099 echo $ECHO_N "checking for sun_len in sys/un.h... $ECHO_C" >&6
2100 cat >conftest.$ac_ext <<_ACEOF
2101 #line 2101 "configure"
2102 #include "confdefs.h"
2106 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2107 egrep "sun_len" >/dev/null 2>&1; then
2108 echo "$as_me:2108: result: yes" >&5
2109 echo "${ECHO_T}yes" >&6
2110 cat >>confdefs.h <<\EOF
2111 #define HAVE_SOCKADDR_UN_SUN_LEN 1
2115 echo "$as_me:2115: result: no" >&5
2116 echo "${ECHO_T}no" >&6
2122 for ac_func in strerror
2124 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2125 echo "$as_me:2125: checking for $ac_func" >&5
2126 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2127 if eval "test \"\${$as_ac_var+set}\" = set"; then
2128 echo $ECHO_N "(cached) $ECHO_C" >&6
2130 cat >conftest.$ac_ext <<_ACEOF
2131 #line 2131 "configure"
2132 #include "confdefs.h"
2133 /* System header to define __stub macros and hopefully few prototypes,
2134 which can conflict with char $ac_func (); below. */
2136 /* Override any gcc2 internal prototype to avoid an error. */
2140 /* We use char because int might match the return type of a gcc2
2141 builtin and then its argument prototype would still apply. */
2148 /* The GNU C library defines this for functions which it implements
2149 to always fail with ENOSYS. Some functions are actually named
2150 something starting with __ and the normal name is an alias. */
2151 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2161 rm -f conftest.$ac_objext conftest$ac_exeext
2162 if { (eval echo "$as_me:2162: \"$ac_link\"") >&5
2163 (eval $ac_link) 2>&5
2165 echo "$as_me:2165: \$? = $ac_status" >&5
2166 (exit $ac_status); } &&
2167 { ac_try='test -s conftest$ac_exeext'
2168 { (eval echo "$as_me:2168: \"$ac_try\"") >&5
2171 echo "$as_me:2171: \$? = $ac_status" >&5
2172 (exit $ac_status); }; }; then
2173 eval "$as_ac_var=yes"
2175 echo "$as_me: failed program was:" >&5
2176 cat conftest.$ac_ext >&5
2177 eval "$as_ac_var=no"
2179 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2181 echo "$as_me:2181: result: `eval echo '${'$as_ac_var'}'`" >&5
2182 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2183 if test `eval echo '${'$as_ac_var'}'` = yes; then
2184 cat >>confdefs.h <<EOF
2185 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2192 for ac_func in strerror
2194 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
2195 echo "$as_me:2195: checking for $ac_func" >&5
2196 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
2197 if eval "test \"\${$as_ac_var+set}\" = set"; then
2198 echo $ECHO_N "(cached) $ECHO_C" >&6
2200 cat >conftest.$ac_ext <<_ACEOF
2201 #line 2201 "configure"
2202 #include "confdefs.h"
2203 /* System header to define __stub macros and hopefully few prototypes,
2204 which can conflict with char $ac_func (); below. */
2206 /* Override any gcc2 internal prototype to avoid an error. */
2210 /* We use char because int might match the return type of a gcc2
2211 builtin and then its argument prototype would still apply. */
2218 /* The GNU C library defines this for functions which it implements
2219 to always fail with ENOSYS. Some functions are actually named
2220 something starting with __ and the normal name is an alias. */
2221 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
2231 rm -f conftest.$ac_objext conftest$ac_exeext
2232 if { (eval echo "$as_me:2232: \"$ac_link\"") >&5
2233 (eval $ac_link) 2>&5
2235 echo "$as_me:2235: \$? = $ac_status" >&5
2236 (exit $ac_status); } &&
2237 { ac_try='test -s conftest$ac_exeext'
2238 { (eval echo "$as_me:2238: \"$ac_try\"") >&5
2241 echo "$as_me:2241: \$? = $ac_status" >&5
2242 (exit $ac_status); }; }; then
2243 eval "$as_ac_var=yes"
2245 echo "$as_me: failed program was:" >&5
2246 cat conftest.$ac_ext >&5
2247 eval "$as_ac_var=no"
2249 rm -f conftest.$ac_objext conftest$ac_exeext conftest.$ac_ext
2251 echo "$as_me:2251: result: `eval echo '${'$as_ac_var'}'`" >&5
2252 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
2253 if test `eval echo '${'$as_ac_var'}'` = yes; then
2254 cat >>confdefs.h <<EOF
2255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
2259 LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
2265 echo "$as_me:2265: checking for fpos in stdio.h" >&5
2266 echo $ECHO_N "checking for fpos in stdio.h... $ECHO_C" >&6
2267 cat >conftest.$ac_ext <<_ACEOF
2268 #line 2268 "configure"
2269 #include "confdefs.h"
2273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2274 egrep "fpos_t" >/dev/null 2>&1; then
2275 echo "$as_me:2275: result: yes" >&5
2276 echo "${ECHO_T}yes" >&6
2277 cat >>confdefs.h <<\EOF
2282 echo "$as_me:2282: result: no" >&5
2283 echo "${ECHO_T}no" >&6
2289 for ac_header in sys/socket.h
2291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2292 echo "$as_me:2292: checking for $ac_header" >&5
2293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2294 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2295 echo $ECHO_N "(cached) $ECHO_C" >&6
2297 cat >conftest.$ac_ext <<_ACEOF
2298 #line 2298 "configure"
2299 #include "confdefs.h"
2300 #include <$ac_header>
2302 if { (eval echo "$as_me:2302: \"$ac_cpp conftest.$ac_ext\"") >&5
2303 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2305 egrep -v '^ *\+' conftest.er1 >conftest.err
2307 cat conftest.err >&5
2308 echo "$as_me:2308: \$? = $ac_status" >&5
2309 (exit $ac_status); } >/dev/null; then
2310 if test -s conftest.err; then
2311 ac_cpp_err=$ac_c_preproc_warn_flag
2318 if test -z "$ac_cpp_err"; then
2319 eval "$as_ac_Header=yes"
2321 echo "$as_me: failed program was:" >&5
2322 cat conftest.$ac_ext >&5
2323 eval "$as_ac_Header=no"
2325 rm -f conftest.err conftest.$ac_ext
2327 echo "$as_me:2327: result: `eval echo '${'$as_ac_Header'}'`" >&5
2328 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2329 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2330 cat >>confdefs.h <<EOF
2331 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2338 for ac_header in netdb.h
2340 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2341 echo "$as_me:2341: checking for $ac_header" >&5
2342 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2343 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2344 echo $ECHO_N "(cached) $ECHO_C" >&6
2346 cat >conftest.$ac_ext <<_ACEOF
2347 #line 2347 "configure"
2348 #include "confdefs.h"
2349 #include <$ac_header>
2351 if { (eval echo "$as_me:2351: \"$ac_cpp conftest.$ac_ext\"") >&5
2352 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2354 egrep -v '^ *\+' conftest.er1 >conftest.err
2356 cat conftest.err >&5
2357 echo "$as_me:2357: \$? = $ac_status" >&5
2358 (exit $ac_status); } >/dev/null; then
2359 if test -s conftest.err; then
2360 ac_cpp_err=$ac_c_preproc_warn_flag
2367 if test -z "$ac_cpp_err"; then
2368 eval "$as_ac_Header=yes"
2370 echo "$as_me: failed program was:" >&5
2371 cat conftest.$ac_ext >&5
2372 eval "$as_ac_Header=no"
2374 rm -f conftest.err conftest.$ac_ext
2376 echo "$as_me:2376: result: `eval echo '${'$as_ac_Header'}'`" >&5
2377 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2378 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2379 cat >>confdefs.h <<EOF
2380 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2387 for ac_header in netinet/in.h
2389 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2390 echo "$as_me:2390: checking for $ac_header" >&5
2391 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2392 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2393 echo $ECHO_N "(cached) $ECHO_C" >&6
2395 cat >conftest.$ac_ext <<_ACEOF
2396 #line 2396 "configure"
2397 #include "confdefs.h"
2398 #include <$ac_header>
2400 if { (eval echo "$as_me:2400: \"$ac_cpp conftest.$ac_ext\"") >&5
2401 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2403 egrep -v '^ *\+' conftest.er1 >conftest.err
2405 cat conftest.err >&5
2406 echo "$as_me:2406: \$? = $ac_status" >&5
2407 (exit $ac_status); } >/dev/null; then
2408 if test -s conftest.err; then
2409 ac_cpp_err=$ac_c_preproc_warn_flag
2416 if test -z "$ac_cpp_err"; then
2417 eval "$as_ac_Header=yes"
2419 echo "$as_me: failed program was:" >&5
2420 cat conftest.$ac_ext >&5
2421 eval "$as_ac_Header=no"
2423 rm -f conftest.err conftest.$ac_ext
2425 echo "$as_me:2425: result: `eval echo '${'$as_ac_Header'}'`" >&5
2426 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2428 cat >>confdefs.h <<EOF
2429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2436 for ac_header in arpa/inet.h
2438 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2439 echo "$as_me:2439: checking for $ac_header" >&5
2440 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2441 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2444 cat >conftest.$ac_ext <<_ACEOF
2445 #line 2445 "configure"
2446 #include "confdefs.h"
2447 #include <$ac_header>
2449 if { (eval echo "$as_me:2449: \"$ac_cpp conftest.$ac_ext\"") >&5
2450 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2452 egrep -v '^ *\+' conftest.er1 >conftest.err
2454 cat conftest.err >&5
2455 echo "$as_me:2455: \$? = $ac_status" >&5
2456 (exit $ac_status); } >/dev/null; then
2457 if test -s conftest.err; then
2458 ac_cpp_err=$ac_c_preproc_warn_flag
2465 if test -z "$ac_cpp_err"; then
2466 eval "$as_ac_Header=yes"
2468 echo "$as_me: failed program was:" >&5
2469 cat conftest.$ac_ext >&5
2470 eval "$as_ac_Header=no"
2472 rm -f conftest.err conftest.$ac_ext
2474 echo "$as_me:2474: result: `eval echo '${'$as_ac_Header'}'`" >&5
2475 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2476 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2477 cat >>confdefs.h <<EOF
2478 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2485 for ac_header in sys/time.h
2487 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2488 echo "$as_me:2488: checking for $ac_header" >&5
2489 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2490 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 cat >conftest.$ac_ext <<_ACEOF
2494 #line 2494 "configure"
2495 #include "confdefs.h"
2496 #include <$ac_header>
2498 if { (eval echo "$as_me:2498: \"$ac_cpp conftest.$ac_ext\"") >&5
2499 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2501 egrep -v '^ *\+' conftest.er1 >conftest.err
2503 cat conftest.err >&5
2504 echo "$as_me:2504: \$? = $ac_status" >&5
2505 (exit $ac_status); } >/dev/null; then
2506 if test -s conftest.err; then
2507 ac_cpp_err=$ac_c_preproc_warn_flag
2514 if test -z "$ac_cpp_err"; then
2515 eval "$as_ac_Header=yes"
2517 echo "$as_me: failed program was:" >&5
2518 cat conftest.$ac_ext >&5
2519 eval "$as_ac_Header=no"
2521 rm -f conftest.err conftest.$ac_ext
2523 echo "$as_me:2523: result: `eval echo '${'$as_ac_Header'}'`" >&5
2524 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2525 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2526 cat >>confdefs.h <<EOF
2527 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2534 for ac_header in limits.h
2536 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
2537 echo "$as_me:2537: checking for $ac_header" >&5
2538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
2539 if eval "test \"\${$as_ac_Header+set}\" = set"; then
2540 echo $ECHO_N "(cached) $ECHO_C" >&6
2542 cat >conftest.$ac_ext <<_ACEOF
2543 #line 2543 "configure"
2544 #include "confdefs.h"
2545 #include <$ac_header>
2547 if { (eval echo "$as_me:2547: \"$ac_cpp conftest.$ac_ext\"") >&5
2548 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
2550 egrep -v '^ *\+' conftest.er1 >conftest.err
2552 cat conftest.err >&5
2553 echo "$as_me:2553: \$? = $ac_status" >&5
2554 (exit $ac_status); } >/dev/null; then
2555 if test -s conftest.err; then
2556 ac_cpp_err=$ac_c_preproc_warn_flag
2563 if test -z "$ac_cpp_err"; then
2564 eval "$as_ac_Header=yes"
2566 echo "$as_me: failed program was:" >&5
2567 cat conftest.$ac_ext >&5
2568 eval "$as_ac_Header=no"
2570 rm -f conftest.err conftest.$ac_ext
2572 echo "$as_me:2572: result: `eval echo '${'$as_ac_Header'}'`" >&5
2573 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
2574 if test `eval echo '${'$as_ac_Header'}'` = yes; then
2575 cat >>confdefs.h <<EOF
2576 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
2583 if test "x$have_sys_socket" = "xyes"; then
2584 echo "$as_me:2584: checking for socklen_t in sys/socket.h" >&5
2585 echo $ECHO_N "checking for socklen_t in sys/socket.h... $ECHO_C" >&6
2586 cat >conftest.$ac_ext <<_ACEOF
2587 #line 2587 "configure"
2588 #include "confdefs.h"
2589 #include <sys/socket.h>
2592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2593 egrep "socklen_t" >/dev/null 2>&1; then
2594 echo "$as_me:2594: result: yes" >&5
2595 echo "${ECHO_T}yes" >&6
2596 cat >>confdefs.h <<\EOF
2597 #define HAVE_SOCKLEN 1
2601 echo "$as_me:2601: result: no" >&5
2602 echo "${ECHO_T}no" >&6
2608 #--------------------------------------------------------------------
2609 # Do we need cross-process locking on this platform?
2610 #--------------------------------------------------------------------
2611 echo "$as_me:2611: checking \"if this machine needs cross-process locking\"" >&5
2612 echo $ECHO_N "checking \"if this machine needs cross-process locking\"... $ECHO_C" >&6
2613 case "`uname -sr`" in
2615 cat >>confdefs.h <<\EOF
2616 #define USE_LOCKING 1
2619 echo "$as_me:2619: result: yes" >&5
2620 echo "${ECHO_T}yes" >&6
2623 cat >>confdefs.h <<\EOF
2624 #define USE_LOCKING 1
2627 echo "$as_me:2627: result: yes" >&5
2628 echo "${ECHO_T}yes" >&6
2631 cat >>confdefs.h <<\EOF
2632 #define USE_LOCKING 1
2635 echo "$as_me:2635: result: yes" >&5
2636 echo "${ECHO_T}yes" >&6
2639 echo "$as_me:2639: result: no" >&5
2640 echo "${ECHO_T}no" >&6
2644 #--------------------------------------------------------------------
2645 # Does va_arg(arg, long double) crash the compiler?
2646 # hpux 9.04 compiler does and so does Stratus FTX (uses HP's compiler)
2647 #--------------------------------------------------------------------
2648 echo "$as_me:2648: checking if va_arg(arg, long double) crashes the compiler" >&5
2649 echo $ECHO_N "checking if va_arg(arg, long double) crashes the compiler... $ECHO_C" >&6
2650 cat >conftest.$ac_ext <<_ACEOF
2651 #line 2651 "configure"
2652 #include "confdefs.h"
2657 long double lDblArg; va_list arg; lDblArg = va_arg(arg, long double);
2662 rm -f conftest.$ac_objext
2663 if { (eval echo "$as_me:2663: \"$ac_compile\"") >&5
2664 (eval $ac_compile) 2>&5
2666 echo "$as_me:2666: \$? = $ac_status" >&5
2667 (exit $ac_status); } &&
2668 { ac_try='test -s conftest.$ac_objext'
2669 { (eval echo "$as_me:2669: \"$ac_try\"") >&5
2672 echo "$as_me:2672: \$? = $ac_status" >&5
2673 (exit $ac_status); }; }; then
2674 echo "$as_me:2674: result: no" >&5
2675 echo "${ECHO_T}no" >&6
2677 echo "$as_me: failed program was:" >&5
2678 cat conftest.$ac_ext >&5
2679 cat >>confdefs.h <<\EOF
2680 #define HAVE_VA_ARG_LONG_DOUBLE_BUG 1
2683 echo "$as_me:2683: result: yes" >&5
2684 echo "${ECHO_T}yes" >&6
2686 rm -f conftest.$ac_objext conftest.$ac_ext
2688 #--------------------------------------------------------------------
2689 # What's the target system?
2690 #--------------------------------------------------------------------
2691 case "$PLATFORM_CLASS" in
2701 cat >confcache <<\_ACEOF
2702 # This file is a shell script that caches the results of configure
2703 # tests run on this system so they can be shared between configure
2704 # scripts and configure runs, see configure's option --config-cache.
2705 # It is not useful on other systems. If it contains results you don't
2706 # want to keep, you may remove or edit it.
2708 # config.status only pays attention to the cache file if you give it
2709 # the --recheck option to rerun configure.
2711 # `ac_cv_env_foo' variables (set or unset) will be overriden when
2712 # loading this file, other *unset* `ac_cv_foo' will be assigned the
2717 # The following way of writing the cache mishandles newlines in values,
2718 # but we know of no workaround that is simple, portable, and efficient.
2719 # So, don't put newlines in cache variables' values.
2720 # Ultrix sh set writes to stderr and can't be redirected directly,
2721 # and sets the high bit in the cache file unless we assign to the vars.
2724 case `(ac_space=' '; set | grep ac_space) 2>&1` in
2726 # `set' does not quote correctly, so add quotes (double-quote
2727 # substitution turns \\\\ into \\, and sed turns \\ into \).
2730 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2733 # `set' quotes correctly as required by POSIX, so do not add quotes.
2735 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
2742 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2744 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2746 if cmp -s $cache_file confcache; then :; else
2747 if test -w $cache_file; then
2748 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
2749 cat confcache >$cache_file
2751 echo "not updating unwritable cache $cache_file"
2756 test "x$prefix" = xNONE && prefix=$ac_default_prefix
2757 # Let make expand exec_prefix.
2758 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2760 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2761 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2762 # trailing colons and then remove the whole line if VPATH becomes empty
2763 # (actually we leave an empty line to preserve line numbers).
2764 if test "x$srcdir" = x.; then
2765 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2766 s/:*\$(srcdir):*/:/;
2767 s/:*\${srcdir}:*/:/;
2769 s/^\([^=]*=[ ]*\):*/\1/;
2775 DEFS=-DHAVE_CONFIG_H
2777 : ${CONFIG_STATUS=./config.status}
2778 ac_clean_files_save=$ac_clean_files
2779 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2780 { echo "$as_me:2780: creating $CONFIG_STATUS" >&5
2781 echo "$as_me: creating $CONFIG_STATUS" >&6;}
2782 cat >$CONFIG_STATUS <<_ACEOF
2784 # Generated automatically by configure.
2785 # Run this file to recreate the current configuration.
2786 # Compiler output produced by configure, useful for debugging
2787 # configure, is in config.log if it exists.
2790 SHELL=\${CONFIG_SHELL-$SHELL}
2791 ac_cs_invocation="\$0 \$@"
2795 cat >>$CONFIG_STATUS <<\_ACEOF
2796 # Be Bourne compatible
2797 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
2800 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
2804 # Name of the executable.
2805 as_me=`echo "$0" |sed 's,.*[\\/],,'`
2807 if expr a : '\(a\)' >/dev/null 2>&1; then
2813 rm -f conf$$ conf$$.exe conf$$.file
2815 if ln -s conf$$.file conf$$ 2>/dev/null; then
2816 # We could just check for DJGPP; but this test a) works b) is more generic
2817 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
2818 if test -f conf$$.exe; then
2819 # Don't use ln at all; we don't have any links
2824 elif ln conf$$.file conf$$ 2>/dev/null; then
2829 rm -f conf$$ conf$$.exe conf$$.file
2831 as_executable_p="test -f"
2833 # Support unset when possible.
2834 if (FOO=FOO; unset FOO) >/dev/null 2>&1; then
2841 $as_unset LANG || test "${LANG+set}" != set || { LANG=C; export LANG; }
2842 $as_unset LC_ALL || test "${LC_ALL+set}" != set || { LC_ALL=C; export LC_ALL; }
2843 $as_unset LC_TIME || test "${LC_TIME+set}" != set || { LC_TIME=C; export LC_TIME; }
2844 $as_unset LC_CTYPE || test "${LC_CTYPE+set}" != set || { LC_CTYPE=C; export LC_CTYPE; }
2845 $as_unset LANGUAGE || test "${LANGUAGE+set}" != set || { LANGUAGE=C; export LANGUAGE; }
2846 $as_unset LC_COLLATE || test "${LC_COLLATE+set}" != set || { LC_COLLATE=C; export LC_COLLATE; }
2847 $as_unset LC_NUMERIC || test "${LC_NUMERIC+set}" != set || { LC_NUMERIC=C; export LC_NUMERIC; }
2848 $as_unset LC_MESSAGES || test "${LC_MESSAGES+set}" != set || { LC_MESSAGES=C; export LC_MESSAGES; }
2851 # We need space, tab and new line, in precisely that order.
2857 $as_unset CDPATH || test "${CDPATH+set}" != set || { CDPATH=:; export CDPATH; }
2863 # Files that config.status was made for.
2864 if test -n "$ac_config_files"; then
2865 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
2868 if test -n "$ac_config_headers"; then
2869 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
2872 if test -n "$ac_config_links"; then
2873 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
2876 if test -n "$ac_config_commands"; then
2877 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
2880 cat >>$CONFIG_STATUS <<\EOF
2883 \`$as_me' instantiates files from templates according to the
2884 current configuration.
2886 Usage: $0 [OPTIONS] [FILE]...
2888 -h, --help print this help, then exit
2889 -V, --version print version number, then exit
2890 -d, --debug don't remove temporary files
2891 --recheck update $as_me by reconfiguring in the same conditions
2892 --header=FILE[:TEMPLATE]
2893 instantiate the configuration header FILE
2895 Configuration headers:
2898 Report bugs to <bug-autoconf@gnu.org>."
2901 cat >>$CONFIG_STATUS <<EOF
2904 configured by $0, generated by GNU Autoconf 2.52,
2905 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
2907 Copyright 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001
2908 Free Software Foundation, Inc.
2909 This config.status script is free software; the Free Software Foundation
2910 gives unlimited permission to copy, distribute and modify it."
2914 cat >>$CONFIG_STATUS <<\EOF
2915 # If no file are specified by the user, then we need to provide default
2916 # value. By we need to know if files were specified by the user.
2922 ac_option=`expr "x$1" : 'x\([^=]*\)='`
2923 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
2925 set dummy "$ac_option" "$ac_optarg" ${1+"$@"}
2929 *) # This is not an option, so the user has probably given explicit
2931 ac_need_defaults=false;;
2935 # Handling of the options.
2937 cat >>$CONFIG_STATUS <<EOF
2938 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2939 echo "running $SHELL $0 " $ac_configure_args " --no-create --no-recursion"
2940 exec $SHELL $0 $ac_configure_args --no-create --no-recursion ;;
2942 cat >>$CONFIG_STATUS <<\EOF
2943 --version | --vers* | -V )
2944 echo "$ac_cs_version"; exit 0 ;;
2946 # Conflict between --help and --header
2947 { { echo "$as_me:2947: error: ambiguous option: $1
2948 Try \`$0 --help' for more information." >&5
2949 echo "$as_me: error: ambiguous option: $1
2950 Try \`$0 --help' for more information." >&2;}
2951 { (exit 1); exit 1; }; };;
2952 --help | --hel | -h )
2953 echo "$ac_cs_usage"; exit 0 ;;
2954 --debug | --d* | -d )
2956 --file | --fil | --fi | --f )
2958 CONFIG_FILES="$CONFIG_FILES $1"
2959 ac_need_defaults=false;;
2960 --header | --heade | --head | --hea )
2962 CONFIG_HEADERS="$CONFIG_HEADERS $1"
2963 ac_need_defaults=false;;
2966 -*) { { echo "$as_me:2966: error: unrecognized option: $1
2967 Try \`$0 --help' for more information." >&5
2968 echo "$as_me: error: unrecognized option: $1
2969 Try \`$0 --help' for more information." >&2;}
2970 { (exit 1); exit 1; }; } ;;
2972 *) ac_config_targets="$ac_config_targets $1" ;;
2981 ## ----------------------- ##
2982 ## Running config.status. ##
2983 ## ----------------------- ##
2985 This file was extended by $as_me 2.52, executed with
2986 CONFIG_FILES = $CONFIG_FILES
2987 CONFIG_HEADERS = $CONFIG_HEADERS
2988 CONFIG_LINKS = $CONFIG_LINKS
2989 CONFIG_COMMANDS = $CONFIG_COMMANDS
2991 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2996 cat >>$CONFIG_STATUS <<\EOF
2997 for ac_config_target in $ac_config_targets
2999 case "$ac_config_target" in
3000 # Handling of arguments.
3001 "fcgi_config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS fcgi_config.h" ;;
3002 *) { { echo "$as_me:3002: error: invalid argument: $ac_config_target" >&5
3003 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3004 { (exit 1); exit 1; }; };;
3008 # If the user did not use the arguments to specify the items to instantiate,
3009 # then the envvar interface is used. Set only those that are not.
3010 # We use the long form for the default assignment because of an extremely
3011 # bizarre bug on SunOS 4.1.3.
3012 if $ac_need_defaults; then
3013 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3016 # Create a temporary directory, and hook for its removal unless debugging.
3019 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
3020 trap '{ (exit 1); exit 1; }' 1 2 13 15
3023 # Create a (secure) tmp directory for tmp files.
3026 tmp=`(umask 077 && mktemp -d -q "$TMPDIR/csXXXXXX") 2>/dev/null` &&
3027 test -n "$tmp" && test -d "$tmp"
3030 tmp=$TMPDIR/cs$$-$RANDOM
3031 (umask 077 && mkdir $tmp)
3034 echo "$me: cannot create a temporary directory in $TMPDIR" >&2
3035 { (exit 1); exit 1; }
3040 cat >>$CONFIG_STATUS <<\EOF
3043 # CONFIG_HEADER section.
3046 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
3047 # NAME is the cpp macro being defined and VALUE is the value it is being given.
3049 # ac_d sets the value in "#define NAME VALUE" lines.
3050 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
3051 ac_dB='[ ].*$,\1#\2'
3054 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
3055 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
3056 ac_uB='$,\1#\2define\3'
3060 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
3061 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
3063 - | *:- | *:-:* ) # input from stdin
3065 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3066 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3067 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
3068 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
3069 * ) ac_file_in=$ac_file.in ;;
3072 test x"$ac_file" != x- && { echo "$as_me:3072: creating $ac_file" >&5
3073 echo "$as_me: creating $ac_file" >&6;}
3075 # First look for the input files in the build tree, otherwise in the
3077 ac_file_inputs=`IFS=:
3078 for f in $ac_file_in; do
3080 -) echo $tmp/stdin ;;
3082 # Absolute (can't be DOS-style, as IFS=:)
3083 test -f "$f" || { { echo "$as_me:3083: error: cannot find input file: $f" >&5
3084 echo "$as_me: error: cannot find input file: $f" >&2;}
3085 { (exit 1); exit 1; }; }
3088 if test -f "$f"; then
3091 elif test -f "$srcdir/$f"; then
3096 { { echo "$as_me:3096: error: cannot find input file: $f" >&5
3097 echo "$as_me: error: cannot find input file: $f" >&2;}
3098 { (exit 1); exit 1; }; }
3101 done` || { (exit 1); exit 1; }
3102 # Remove the trailing spaces.
3103 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
3107 # Transform confdefs.h into two sed scripts, `conftest.defines' and
3108 # `conftest.undefs', that substitutes the proper values into
3109 # config.h.in to produce config.h. The first handles `#define'
3110 # templates, and the second `#undef' templates.
3111 # And first: Protect against being on the right side of a sed subst in
3112 # config.status. Protect against being in an unquoted here document
3114 rm -f conftest.defines conftest.undefs
3115 # Using a here document instead of a string reduces the quoting nightmare.
3116 # Putting comments in sed scripts is not portable.
3118 # `end' is used to avoid that the second main sed command (meant for
3119 # 0-ary CPP macros) applies to n-ary macro definitions.
3120 # See the Autoconf documentation for `clear'.
3121 cat >confdef2sed.sed <<\EOF
3126 s,^[ ]*#[ ]*define[ ][ ]*\(\([^ (][^ (]*\)([^)]*)\)[ ]*\(.*\)$,${ac_dA}\2${ac_dB}\1${ac_dC}\3${ac_dD},gp
3128 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
3131 # If some macros were called several times there might be several times
3132 # the same #defines, which is useless. Nevertheless, we may not want to
3133 # sort them, since we want the *last* AC-DEFINE to be honored.
3134 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
3135 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
3136 rm -f confdef2sed.sed
3138 # This sed command replaces #undef with comments. This is necessary, for
3139 # example, in the case of _POSIX_SOURCE, which is predefined and required
3140 # on some systems where configure will not decide to define it.
3141 cat >>conftest.undefs <<\EOF
3142 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
3145 # Break up conftest.defines because some shells have a limit on the size
3146 # of here documents, and old seds have small limits too (100 cmds).
3147 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
3148 echo ' if egrep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
3149 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
3150 echo ' :' >>$CONFIG_STATUS
3152 while grep . conftest.defines >/dev/null
3154 # Write a limited-size here document to $tmp/defines.sed.
3155 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
3156 # Speed up: don't consider the non `#define' lines.
3157 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
3158 # Work around the forget-to-reset-the-flag bug.
3159 echo 't clr' >>$CONFIG_STATUS
3160 echo ': clr' >>$CONFIG_STATUS
3161 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
3163 sed -f $tmp/defines.sed $tmp/in >$tmp/out
3167 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
3168 rm -f conftest.defines
3169 mv conftest.tail conftest.defines
3171 rm -f conftest.defines
3172 echo ' fi # egrep' >>$CONFIG_STATUS
3173 echo >>$CONFIG_STATUS
3175 # Break up conftest.undefs because some shells have a limit on the size
3176 # of here documents, and old seds have small limits too (100 cmds).
3177 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
3179 while grep . conftest.undefs >/dev/null
3181 # Write a limited-size here document to $tmp/undefs.sed.
3182 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
3183 # Speed up: don't consider the non `#undef'
3184 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
3185 # Work around the forget-to-reset-the-flag bug.
3186 echo 't clr' >>$CONFIG_STATUS
3187 echo ': clr' >>$CONFIG_STATUS
3188 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
3190 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
3194 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
3195 rm -f conftest.undefs
3196 mv conftest.tail conftest.undefs
3198 rm -f conftest.undefs
3200 cat >>$CONFIG_STATUS <<\EOF
3201 # Let's still pretend it is `configure' which instantiates (i.e., don't
3202 # use $as_me), people would be surprised to read:
3203 # /* config.h. Generated automatically by config.status. */
3204 if test x"$ac_file" = x-; then
3205 echo "/* Generated automatically by configure. */" >$tmp/config.h
3207 echo "/* $ac_file. Generated automatically by configure. */" >$tmp/config.h
3209 cat $tmp/in >>$tmp/config.h
3211 if test x"$ac_file" != x-; then
3212 if cmp -s $ac_file $tmp/config.h 2>/dev/null; then
3213 { echo "$as_me:3213: $ac_file is unchanged" >&5
3214 echo "$as_me: $ac_file is unchanged" >&6;}
3216 ac_dir=`$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3217 X"$ac_file" : 'X\(//\)[^/]' \| \
3218 X"$ac_file" : 'X\(//\)$' \| \
3219 X"$ac_file" : 'X\(/\)' \| \
3220 . : '\(.\)' 2>/dev/null ||
3222 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
3223 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
3224 /^X\(\/\/\)$/{ s//\1/; q; }
3225 /^X\(\/\).*/{ s//\1/; q; }
3227 if test "$ac_dir" != "$ac_file" && test "$ac_dir" != .; then
3229 [\\/]* | ?:[\\/]* ) as_incr_dir=;;
3233 for as_mkdir_dir in `IFS='/\\'; set X $as_dummy; shift; echo "$@"`; do
3234 case $as_mkdir_dir in
3235 # Skip DOS drivespec
3236 ?:) as_incr_dir=$as_mkdir_dir ;;
3238 as_incr_dir=$as_incr_dir/$as_mkdir_dir
3239 test -d "$as_incr_dir" || mkdir "$as_incr_dir"
3246 mv $tmp/config.h $ac_file
3255 cat >>$CONFIG_STATUS <<\EOF
3257 { (exit 0); exit 0; }
3259 chmod +x $CONFIG_STATUS
3260 ac_clean_files=$ac_clean_files_save
3262 # configure is writing to config.log, and then calls config.status.
3263 # config.status does its own redirection, appending to config.log.
3264 # Unfortunately, on DOS this fails, as config.log is still kept open
3265 # by configure, so config.status won't be able to write to it; its
3266 # output is simply discarded. So we exec the FD to /dev/null,
3267 # effectively closing config.log, so it can be properly (re)opened and
3268 # appended to by config.status. When coming back to configure, we
3269 # need to make the FD available again.
3270 if test "$no_create" != yes; then
3273 $SHELL $CONFIG_STATUS || ac_cs_success=false
3275 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3276 # would make configure fail if this is the last instruction.
3277 $ac_cs_success || { (exit 1); exit 1; }