2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.59.
5 # Copyright (C) 2003 Free Software Foundation, Inc.
6 # This configure script is free software; the Free Software Foundation
7 # gives unlimited permission to copy, distribute and modify it.
8 ## --------------------- ##
9 ## M4sh Initialization. ##
10 ## --------------------- ##
12 # Be Bourne compatible
13 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
17 # is contrary to our usage. Disable this feature.
18 alias -g '${1+"$@"}'='"$@"'
19 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 DUALCASE=1; export DUALCASE # for MKS sh
24 # Support unset when possible.
25 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
32 # Work around bugs in pre-3.0 UWIN ksh.
33 $as_unset ENV MAIL MAILPATH
40 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
41 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
45 eval $as_var=C; export $as_var
51 # Required to use basename.
52 if expr a : '\(a\)' >/dev/null 2>&1; then
58 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
65 # Name of the executable.
66 as_me=`$as_basename "$0" ||
67 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
68 X"$0" : 'X\(//\)$' \| \
69 X"$0" : 'X\(/\)$' \| \
70 . : '\(.\)' 2>/dev/null ||
72 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
73 /^X\/\(\/\/\)$/{ s//\1/; q; }
74 /^X\/\(\/\).*/{ s//\1/; q; }
78 # PATH needs CR, and LINENO needs CR and PATH.
79 # Avoid depending upon Character Ranges.
80 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
81 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83 as_cr_digits='0123456789'
84 as_cr_alnum=$as_cr_Letters$as_cr_digits
86 # The user is always right.
87 if test "${PATH_SEPARATOR+set}" != set; then
88 echo "#! /bin/sh" >conf$$.sh
89 echo "exit 0" >>conf$$.sh
91 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
102 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
103 test "x$as_lineno_1" != "x$as_lineno_2" &&
104 test "x$as_lineno_3" = "x$as_lineno_2" || {
105 # Find who we are. Look in the path if we contain no path at all
108 *[\\/]* ) as_myself=$0 ;;
109 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
113 test -z "$as_dir" && as_dir=.
114 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
119 # We did not find ourselves, most probably we were run as `sh COMMAND'
120 # in which case we are not to be found in the path.
121 if test "x$as_myself" = x; then
124 if test ! -f "$as_myself"; then
125 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
126 { (exit 1); exit 1; }; }
128 case $CONFIG_SHELL in
130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
131 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134 test -z "$as_dir" && as_dir=.
135 for as_base in sh bash ksh sh5; do
138 if ("$as_dir/$as_base" -c '
141 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
142 test "x$as_lineno_1" != "x$as_lineno_2" &&
143 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
144 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
145 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
146 CONFIG_SHELL=$as_dir/$as_base
148 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
156 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
157 # uniformly replaced by the line number. The first 'sed' inserts a
158 # line-number line before each line; the second 'sed' does the real
159 # work. The second script uses 'N' to pair each line-number line
160 # with the numbered line, and appends trailing '-' during
161 # substitution so that $LINENO is not a special case at line end.
162 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
163 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
164 sed '=' <$as_myself |
169 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 s,^['$as_cr_digits']*\n,,
174 chmod +x $as_me.lineno ||
175 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
176 { (exit 1); exit 1; }; }
178 # Don't try to exec as it changes $[0], causing all sort of problems
179 # (the dirname of $[0] is not the place where we might find the
180 # original and so on. Autoconf is especially sensible to this).
182 # Exit status is that of the last command.
187 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
188 *c*,-n*) ECHO_N= ECHO_C='
190 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
191 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194 if expr a : '\(a\)' >/dev/null 2>&1; then
200 rm -f conf$$ conf$$.exe conf$$.file
202 if ln -s conf$$.file conf$$ 2>/dev/null; then
203 # We could just check for DJGPP; but this test a) works b) is more generic
204 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
205 if test -f conf$$.exe; then
206 # Don't use ln at all; we don't have any links
211 elif ln conf$$.file conf$$ 2>/dev/null; then
216 rm -f conf$$ conf$$.exe conf$$.file
218 if mkdir -p . 2>/dev/null; then
221 test -d ./-p && rmdir ./-p
225 as_executable_p="test -f"
227 # Sed expression to map a string onto a valid CPP name.
228 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
230 # Sed expression to map a string onto a valid variable name.
231 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
235 # We need space, tab and new line, in precisely that order.
245 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
246 # so uname gets run too.
247 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
254 ac_default_prefix=/usr/local
255 ac_config_libobj_dir=.
260 SHELL=${CONFIG_SHELL-/bin/sh}
262 # Maximum number of lines to put in a shell here document.
263 # This variable seems obsolete. It should probably be removed, and
264 # only ac_max_sed_lines should be used.
265 : ${ac_max_here_lines=38}
267 # Identity of this package.
274 ac_unique_file="pptpmanager.c"
275 # Factoring default headers for most tests.
276 ac_includes_default="\
279 # include <sys/types.h>
282 # include <sys/stat.h>
293 # if !STDC_HEADERS && HAVE_MEMORY_H
299 # include <strings.h>
302 # include <inttypes.h>
312 ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE RANLIB ac_ct_RANLIB LN_S CPP EGREP XTRALIBS_CTRL XTRALIBS_MGR HAVE_OPENPTY XTRA_PROG LIBOBJS LTLIBOBJS'
315 # Initialize some variables set by options.
317 ac_init_version=false
318 # The variables have the same names as the options, with
319 # dashes changed to underlines.
327 program_transform_name=s,x,x,
335 # Installation directory options.
336 # These are left unexpanded so users can "make install exec_prefix=/foo"
337 # and all the variables that are supposed to be based on exec_prefix
338 # by default will actually change.
339 # Use braces instead of parens because sh, perl, etc. also accept them.
340 bindir='${exec_prefix}/bin'
341 sbindir='${exec_prefix}/sbin'
342 libexecdir='${exec_prefix}/libexec'
343 datadir='${prefix}/share'
344 sysconfdir='${prefix}/etc'
345 sharedstatedir='${prefix}/com'
346 localstatedir='${prefix}/var'
347 libdir='${exec_prefix}/lib'
348 includedir='${prefix}/include'
349 oldincludedir='/usr/include'
350 infodir='${prefix}/info'
351 mandir='${prefix}/man'
356 # If the previous option needs an argument, assign it.
357 if test -n "$ac_prev"; then
358 eval "$ac_prev=\$ac_option"
363 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
365 # Accept the important Cygnus configure options, so we can diagnose typos.
369 -bindir | --bindir | --bindi | --bind | --bin | --bi)
371 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 -build | --build | --buil | --bui | --bu)
375 ac_prev=build_alias ;;
376 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
377 build_alias=$ac_optarg ;;
379 -cache-file | --cache-file | --cache-fil | --cache-fi \
380 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
381 ac_prev=cache_file ;;
382 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
383 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
384 cache_file=$ac_optarg ;;
387 cache_file=config.cache ;;
389 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
391 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
393 datadir=$ac_optarg ;;
395 -disable-* | --disable-*)
396 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
397 # Reject names that are not valid shell variable names.
398 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
399 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
400 { (exit 1); exit 1; }; }
401 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
402 eval "enable_$ac_feature=no" ;;
404 -enable-* | --enable-*)
405 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
406 # Reject names that are not valid shell variable names.
407 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
408 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
409 { (exit 1); exit 1; }; }
410 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
412 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 eval "enable_$ac_feature='$ac_optarg'" ;;
417 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
418 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
419 | --exec | --exe | --ex)
420 ac_prev=exec_prefix ;;
421 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
422 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
423 | --exec=* | --exe=* | --ex=*)
424 exec_prefix=$ac_optarg ;;
426 -gas | --gas | --ga | --g)
427 # Obsolete; use --with-gas.
430 -help | --help | --hel | --he | -h)
432 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
433 ac_init_help=recursive ;;
434 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
435 ac_init_help=short ;;
437 -host | --host | --hos | --ho)
438 ac_prev=host_alias ;;
439 -host=* | --host=* | --hos=* | --ho=*)
440 host_alias=$ac_optarg ;;
442 -includedir | --includedir | --includedi | --included | --include \
443 | --includ | --inclu | --incl | --inc)
444 ac_prev=includedir ;;
445 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
446 | --includ=* | --inclu=* | --incl=* | --inc=*)
447 includedir=$ac_optarg ;;
449 -infodir | --infodir | --infodi | --infod | --info | --inf)
451 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
452 infodir=$ac_optarg ;;
454 -libdir | --libdir | --libdi | --libd)
456 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
460 | --libexe | --libex | --libe)
461 ac_prev=libexecdir ;;
462 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
463 | --libexe=* | --libex=* | --libe=*)
464 libexecdir=$ac_optarg ;;
466 -localstatedir | --localstatedir | --localstatedi | --localstated \
467 | --localstate | --localstat | --localsta | --localst \
468 | --locals | --local | --loca | --loc | --lo)
469 ac_prev=localstatedir ;;
470 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
471 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
472 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
473 localstatedir=$ac_optarg ;;
475 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
477 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
481 # Obsolete; use --without-fp.
484 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
485 | --no-cr | --no-c | -n)
488 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
489 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
493 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
494 | --oldin | --oldi | --old | --ol | --o)
495 ac_prev=oldincludedir ;;
496 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
497 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
498 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
499 oldincludedir=$ac_optarg ;;
501 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
503 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 -program-prefix | --program-prefix | --program-prefi | --program-pref \
507 | --program-pre | --program-pr | --program-p)
508 ac_prev=program_prefix ;;
509 -program-prefix=* | --program-prefix=* | --program-prefi=* \
510 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
511 program_prefix=$ac_optarg ;;
513 -program-suffix | --program-suffix | --program-suffi | --program-suff \
514 | --program-suf | --program-su | --program-s)
515 ac_prev=program_suffix ;;
516 -program-suffix=* | --program-suffix=* | --program-suffi=* \
517 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
518 program_suffix=$ac_optarg ;;
520 -program-transform-name | --program-transform-name \
521 | --program-transform-nam | --program-transform-na \
522 | --program-transform-n | --program-transform- \
523 | --program-transform | --program-transfor \
524 | --program-transfo | --program-transf \
525 | --program-trans | --program-tran \
526 | --progr-tra | --program-tr | --program-t)
527 ac_prev=program_transform_name ;;
528 -program-transform-name=* | --program-transform-name=* \
529 | --program-transform-nam=* | --program-transform-na=* \
530 | --program-transform-n=* | --program-transform-=* \
531 | --program-transform=* | --program-transfor=* \
532 | --program-transfo=* | --program-transf=* \
533 | --program-trans=* | --program-tran=* \
534 | --progr-tra=* | --program-tr=* | --program-t=*)
535 program_transform_name=$ac_optarg ;;
537 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
538 | -silent | --silent | --silen | --sile | --sil)
541 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
543 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
545 sbindir=$ac_optarg ;;
547 -sharedstatedir | --sharedstatedir | --sharedstatedi \
548 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
549 | --sharedst | --shareds | --shared | --share | --shar \
551 ac_prev=sharedstatedir ;;
552 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
553 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
554 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
556 sharedstatedir=$ac_optarg ;;
558 -site | --site | --sit)
560 -site=* | --site=* | --sit=*)
563 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
565 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
569 | --syscon | --sysco | --sysc | --sys | --sy)
570 ac_prev=sysconfdir ;;
571 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
572 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
573 sysconfdir=$ac_optarg ;;
575 -target | --target | --targe | --targ | --tar | --ta | --t)
576 ac_prev=target_alias ;;
577 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
578 target_alias=$ac_optarg ;;
580 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 -version | --version | --versio | --versi | --vers | -V)
587 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
588 # Reject names that are not valid shell variable names.
589 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
590 { echo "$as_me: error: invalid package name: $ac_package" >&2
591 { (exit 1); exit 1; }; }
592 ac_package=`echo $ac_package| sed 's/-/_/g'`
594 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 eval "with_$ac_package='$ac_optarg'" ;;
599 -without-* | --without-*)
600 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
601 # Reject names that are not valid shell variable names.
602 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
603 { echo "$as_me: error: invalid package name: $ac_package" >&2
604 { (exit 1); exit 1; }; }
605 ac_package=`echo $ac_package | sed 's/-/_/g'`
606 eval "with_$ac_package=no" ;;
609 # Obsolete; use --with-x.
612 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
613 | --x-incl | --x-inc | --x-in | --x-i)
614 ac_prev=x_includes ;;
615 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
616 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
617 x_includes=$ac_optarg ;;
619 -x-libraries | --x-libraries | --x-librarie | --x-librari \
620 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
621 ac_prev=x_libraries ;;
622 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
623 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
624 x_libraries=$ac_optarg ;;
626 -*) { echo "$as_me: error: unrecognized option: $ac_option
627 Try \`$0 --help' for more information." >&2
628 { (exit 1); exit 1; }; }
632 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
633 # Reject names that are not valid shell variable names.
634 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
635 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
636 { (exit 1); exit 1; }; }
637 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
638 eval "$ac_envvar='$ac_optarg'"
642 # FIXME: should be removed in autoconf 3.0.
643 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
644 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
645 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
646 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
652 if test -n "$ac_prev"; then
653 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
654 { echo "$as_me: error: missing argument to $ac_option" >&2
655 { (exit 1); exit 1; }; }
658 # Be sure to have absolute paths.
659 for ac_var in exec_prefix prefix
661 eval ac_val=$`echo $ac_var`
663 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
664 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
665 { (exit 1); exit 1; }; };;
669 # Be sure to have absolute paths.
670 for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
671 localstatedir libdir includedir oldincludedir infodir mandir
673 eval ac_val=$`echo $ac_var`
675 [\\/$]* | ?:[\\/]* ) ;;
676 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
677 { (exit 1); exit 1; }; };;
681 # There might be people who depend on the old broken behavior: `$host'
682 # used to hold the argument of --host etc.
683 # FIXME: To remove some day.
688 # FIXME: To remove some day.
689 if test "x$host_alias" != x; then
690 if test "x$build_alias" = x; then
691 cross_compiling=maybe
692 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
693 If a cross compiler is detected then cross compile mode will be used." >&2
694 elif test "x$build_alias" != "x$host_alias"; then
700 test -n "$host_alias" && ac_tool_prefix=$host_alias-
702 test "$silent" = yes && exec 6>/dev/null
705 # Find the source files, if location was not specified.
706 if test -z "$srcdir"; then
707 ac_srcdir_defaulted=yes
708 # Try the directory containing this script, then its parent.
709 ac_confdir=`(dirname "$0") 2>/dev/null ||
710 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
711 X"$0" : 'X\(//\)[^/]' \| \
712 X"$0" : 'X\(//\)$' \| \
713 X"$0" : 'X\(/\)' \| \
714 . : '\(.\)' 2>/dev/null ||
716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
717 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
718 /^X\(\/\/\)$/{ s//\1/; q; }
719 /^X\(\/\).*/{ s//\1/; q; }
722 if test ! -r $srcdir/$ac_unique_file; then
726 ac_srcdir_defaulted=no
728 if test ! -r $srcdir/$ac_unique_file; then
729 if test "$ac_srcdir_defaulted" = yes; then
730 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
731 { (exit 1); exit 1; }; }
733 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
734 { (exit 1); exit 1; }; }
737 (cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
738 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
739 { (exit 1); exit 1; }; }
740 srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
741 ac_env_build_alias_set=${build_alias+set}
742 ac_env_build_alias_value=$build_alias
743 ac_cv_env_build_alias_set=${build_alias+set}
744 ac_cv_env_build_alias_value=$build_alias
745 ac_env_host_alias_set=${host_alias+set}
746 ac_env_host_alias_value=$host_alias
747 ac_cv_env_host_alias_set=${host_alias+set}
748 ac_cv_env_host_alias_value=$host_alias
749 ac_env_target_alias_set=${target_alias+set}
750 ac_env_target_alias_value=$target_alias
751 ac_cv_env_target_alias_set=${target_alias+set}
752 ac_cv_env_target_alias_value=$target_alias
753 ac_env_CC_set=${CC+set}
755 ac_cv_env_CC_set=${CC+set}
756 ac_cv_env_CC_value=$CC
757 ac_env_CFLAGS_set=${CFLAGS+set}
758 ac_env_CFLAGS_value=$CFLAGS
759 ac_cv_env_CFLAGS_set=${CFLAGS+set}
760 ac_cv_env_CFLAGS_value=$CFLAGS
761 ac_env_LDFLAGS_set=${LDFLAGS+set}
762 ac_env_LDFLAGS_value=$LDFLAGS
763 ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
764 ac_cv_env_LDFLAGS_value=$LDFLAGS
765 ac_env_CPPFLAGS_set=${CPPFLAGS+set}
766 ac_env_CPPFLAGS_value=$CPPFLAGS
767 ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
768 ac_cv_env_CPPFLAGS_value=$CPPFLAGS
769 ac_env_CPP_set=${CPP+set}
770 ac_env_CPP_value=$CPP
771 ac_cv_env_CPP_set=${CPP+set}
772 ac_cv_env_CPP_value=$CPP
775 # Report the --help message.
777 if test "$ac_init_help" = "long"; then
778 # Omit some internal or obsolete options to make the list less imposing.
779 # This message is too long to be a string in the A/UX 3.1 sh.
781 \`configure' configures this package to adapt to many kinds of systems.
783 Usage: $0 [OPTION]... [VAR=VALUE]...
785 To assign environment variables (e.g., CC, CFLAGS...), specify them as
786 VAR=VALUE. See below for descriptions of some of the useful variables.
788 Defaults for the options are specified in brackets.
791 -h, --help display this help and exit
792 --help=short display options specific to this package
793 --help=recursive display the short help of all the included packages
794 -V, --version display version information and exit
795 -q, --quiet, --silent do not print \`checking...' messages
796 --cache-file=FILE cache test results in FILE [disabled]
797 -C, --config-cache alias for \`--cache-file=config.cache'
798 -n, --no-create do not create output files
799 --srcdir=DIR find the sources in DIR [configure dir or \`..']
804 Installation directories:
805 --prefix=PREFIX install architecture-independent files in PREFIX
807 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
810 By default, \`make install' will install all the files in
811 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
812 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
813 for instance \`--prefix=\$HOME'.
815 For better control, use the options below.
817 Fine tuning of the installation directories:
818 --bindir=DIR user executables [EPREFIX/bin]
819 --sbindir=DIR system admin executables [EPREFIX/sbin]
820 --libexecdir=DIR program executables [EPREFIX/libexec]
821 --datadir=DIR read-only architecture-independent data [PREFIX/share]
822 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
823 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
824 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
825 --libdir=DIR object code libraries [EPREFIX/lib]
826 --includedir=DIR C header files [PREFIX/include]
827 --oldincludedir=DIR C header files for non-gcc [/usr/include]
828 --infodir=DIR info documentation [PREFIX/info]
829 --mandir=DIR man documentation [PREFIX/man]
835 --program-prefix=PREFIX prepend PREFIX to installed program names
836 --program-suffix=SUFFIX append SUFFIX to installed program names
837 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
841 if test -n "$ac_init_help"; then
846 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
847 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
848 --enable-facility=name Use another syslog facility, default LOG_DAEMON
849 --enable-bcrelay Enable broadcast relay function
850 --disable-dependency-tracking speeds up one-time build
851 --enable-dependency-tracking do not reject slow dependency extractors
854 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
855 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
856 --with-bsdppp Use BSD user-space ppp
857 --with-slirp Use SLIRP instead of pppd
858 --with-libwrap Use libwrap (tcp wrappers)
860 Some influential environment variables:
861 CC C compiler command
862 CFLAGS C compiler flags
863 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
864 nonstandard directory <lib dir>
865 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
866 headers in a nonstandard directory <include dir>
869 Use these variables to override the choices made by `configure' or to help
870 it to find libraries and programs with nonstandard names/locations.
875 if test "$ac_init_help" = "recursive"; then
876 # If there are subdirs, report their specific --help.
878 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
879 test -d $ac_dir || continue
882 if test "$ac_dir" != .; then
883 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
884 # A "../" for each directory in $ac_dir_suffix.
885 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
887 ac_dir_suffix= ac_top_builddir=
891 .) # No --srcdir option. We are building in place.
893 if test -z "$ac_top_builddir"; then
896 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
898 [\\/]* | ?:[\\/]* ) # Absolute path.
899 ac_srcdir=$srcdir$ac_dir_suffix;
900 ac_top_srcdir=$srcdir ;;
902 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
903 ac_top_srcdir=$ac_top_builddir$srcdir ;;
906 # Do not use `cd foo && pwd` to compute absolute paths, because
907 # the directories may not exist.
909 .) ac_abs_builddir="$ac_dir";;
912 .) ac_abs_builddir=`pwd`;;
913 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
914 *) ac_abs_builddir=`pwd`/"$ac_dir";;
917 case $ac_abs_builddir in
918 .) ac_abs_top_builddir=${ac_top_builddir}.;;
920 case ${ac_top_builddir}. in
921 .) ac_abs_top_builddir=$ac_abs_builddir;;
922 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
923 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
926 case $ac_abs_builddir in
927 .) ac_abs_srcdir=$ac_srcdir;;
930 .) ac_abs_srcdir=$ac_abs_builddir;;
931 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
932 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
935 case $ac_abs_builddir in
936 .) ac_abs_top_srcdir=$ac_top_srcdir;;
938 case $ac_top_srcdir in
939 .) ac_abs_top_srcdir=$ac_abs_builddir;;
940 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
941 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
946 # Check for guested configure; otherwise get Cygnus style configure.
947 if test -f $ac_srcdir/configure.gnu; then
949 $SHELL $ac_srcdir/configure.gnu --help=recursive
950 elif test -f $ac_srcdir/configure; then
952 $SHELL $ac_srcdir/configure --help=recursive
953 elif test -f $ac_srcdir/configure.ac ||
954 test -f $ac_srcdir/configure.in; then
958 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
964 test -n "$ac_init_help" && exit 0
965 if $ac_init_version; then
968 Copyright (C) 2003 Free Software Foundation, Inc.
969 This configure script is free software; the Free Software Foundation
970 gives unlimited permission to copy, distribute and modify it.
976 This file contains any messages produced by compilers while
977 running configure, to aid debugging if configure makes a mistake.
979 It was created by $as_me, which was
980 generated by GNU Autoconf 2.59. Invocation command line was
991 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
992 uname -m = `(uname -m) 2>/dev/null || echo unknown`
993 uname -r = `(uname -r) 2>/dev/null || echo unknown`
994 uname -s = `(uname -s) 2>/dev/null || echo unknown`
995 uname -v = `(uname -v) 2>/dev/null || echo unknown`
997 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
998 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1000 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1001 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1002 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1003 hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1004 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1005 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1006 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1014 test -z "$as_dir" && as_dir=.
1015 echo "PATH: $as_dir"
1030 # Keep a trace of the command line.
1031 # Strip out --no-create and --no-recursion so they do not pile up.
1032 # Strip out --silent because we don't want to record it for future runs.
1033 # Also quote any args containing shell meta-characters.
1034 # Make two passes to allow for proper duplicate-argument suppression.
1039 ac_must_keep_next=false
1045 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1046 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1047 | -silent | --silent | --silen | --sile | --sil)
1049 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1050 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1053 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1055 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1056 if test $ac_must_keep_next = true; then
1057 ac_must_keep_next=false # Got value, back to normal.
1060 *=* | --config-cache | -C | -disable-* | --disable-* \
1061 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1062 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1063 | -with-* | --with-* | -without-* | --without-* | --x)
1064 case "$ac_configure_args0 " in
1065 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1068 -* ) ac_must_keep_next=true ;;
1071 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1072 # Get rid of the leading space.
1078 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1079 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1081 # When interrupted or exit'd, cleanup temporary files, and complete
1082 # config.log. We remove comments because anyway the quotes in there
1083 # would cause problems or look ugly.
1084 # WARNING: Be sure not to use single quotes in there, as some shells,
1085 # such as our DU 5.0 friend, will then `close' the trap.
1086 trap 'exit_status=$?
1087 # Save into config.log some information that might help in debugging.
1092 ## ---------------- ##
1093 ## Cache variables. ##
1094 ## ---------------- ##
1097 # The following way of writing the cache mishandles newlines in values,
1100 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1103 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1104 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1108 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1115 ## ----------------- ##
1116 ## Output variables. ##
1117 ## ----------------- ##
1120 for ac_var in $ac_subst_vars
1122 eval ac_val=$`echo $ac_var`
1123 echo "$ac_var='"'"'$ac_val'"'"'"
1127 if test -n "$ac_subst_files"; then
1134 for ac_var in $ac_subst_files
1136 eval ac_val=$`echo $ac_var`
1137 echo "$ac_var='"'"'$ac_val'"'"'"
1142 if test -s confdefs.h; then
1149 sed "/^$/d" confdefs.h | sort
1152 test "$ac_signal" != 0 &&
1153 echo "$as_me: caught signal $ac_signal"
1154 echo "$as_me: exit $exit_status"
1156 rm -f core *.core &&
1157 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1160 for ac_signal in 1 2 13 15; do
1161 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1165 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1166 rm -rf conftest* confdefs.h
1167 # AIX cpp loses on an empty file, so make sure it contains at least a newline.
1170 # Predefined preprocessor variables.
1172 cat >>confdefs.h <<_ACEOF
1173 #define PACKAGE_NAME "$PACKAGE_NAME"
1177 cat >>confdefs.h <<_ACEOF
1178 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1182 cat >>confdefs.h <<_ACEOF
1183 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1187 cat >>confdefs.h <<_ACEOF
1188 #define PACKAGE_STRING "$PACKAGE_STRING"
1192 cat >>confdefs.h <<_ACEOF
1193 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1197 # Let the site file select an alternate cache file if it wants to.
1198 # Prefer explicitly selected file to automatically selected ones.
1199 if test -z "$CONFIG_SITE"; then
1200 if test "x$prefix" != xNONE; then
1201 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1203 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1206 for ac_site_file in $CONFIG_SITE; do
1207 if test -r "$ac_site_file"; then
1208 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1209 echo "$as_me: loading site script $ac_site_file" >&6;}
1210 sed 's/^/| /' "$ac_site_file" >&5
1215 if test -r "$cache_file"; then
1216 # Some versions of bash will fail to source /dev/null (special
1217 # files actually), so we avoid doing that.
1218 if test -f "$cache_file"; then
1219 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1220 echo "$as_me: loading cache $cache_file" >&6;}
1222 [\\/]* | ?:[\\/]* ) . $cache_file;;
1223 *) . ./$cache_file;;
1227 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1228 echo "$as_me: creating cache $cache_file" >&6;}
1232 # Check that the precious variables saved in the cache have kept the same
1234 ac_cache_corrupted=false
1235 for ac_var in `(set) 2>&1 |
1236 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1237 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1238 eval ac_new_set=\$ac_env_${ac_var}_set
1239 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1240 eval ac_new_val="\$ac_env_${ac_var}_value"
1241 case $ac_old_set,$ac_new_set in
1243 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1244 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1245 ac_cache_corrupted=: ;;
1247 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1248 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1249 ac_cache_corrupted=: ;;
1252 if test "x$ac_old_val" != "x$ac_new_val"; then
1253 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1254 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1255 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1256 echo "$as_me: former value: $ac_old_val" >&2;}
1257 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1258 echo "$as_me: current value: $ac_new_val" >&2;}
1259 ac_cache_corrupted=:
1262 # Pass precious variables to config.status.
1263 if test "$ac_new_set" = set; then
1265 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1266 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1267 *) ac_arg=$ac_var=$ac_new_val ;;
1269 case " $ac_configure_args " in
1270 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1271 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1275 if $ac_cache_corrupted; then
1276 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1277 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1278 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1279 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1280 { (exit 1); exit 1; }; }
1284 ac_cpp='$CPP $CPPFLAGS'
1285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1308 ac_config_headers="$ac_config_headers config.h"
1310 am__api_version="1.9"
1312 for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1313 if test -f $ac_dir/install-sh; then
1315 ac_install_sh="$ac_aux_dir/install-sh -c"
1317 elif test -f $ac_dir/install.sh; then
1319 ac_install_sh="$ac_aux_dir/install.sh -c"
1321 elif test -f $ac_dir/shtool; then
1323 ac_install_sh="$ac_aux_dir/shtool install -c"
1327 if test -z "$ac_aux_dir"; then
1328 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1329 echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1330 { (exit 1); exit 1; }; }
1332 ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1333 ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1334 ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1336 # Find a good install program. We prefer a C program (faster),
1337 # so one script is as good as another. But avoid the broken or
1338 # incompatible versions:
1339 # SysV /etc/install, /usr/sbin/install
1340 # SunOS /usr/etc/install
1341 # IRIX /sbin/install
1343 # AmigaOS /C/install, which installs bootblocks on floppy discs
1344 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1345 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1346 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1347 # OS/2's system install, which has a completely different semantic
1348 # ./install, which can be erroneously created by make from ./install.sh.
1349 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1350 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1351 if test -z "$INSTALL"; then
1352 if test "${ac_cv_path_install+set}" = set; then
1353 echo $ECHO_N "(cached) $ECHO_C" >&6
1355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1359 test -z "$as_dir" && as_dir=.
1360 # Account for people who put trailing slashes in PATH elements.
1362 ./ | .// | /cC/* | \
1363 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1364 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1367 # OSF1 and SCO ODT 3.0 have their own names for install.
1368 # Don't use installbsd from OSF since it installs stuff as root
1370 for ac_prog in ginstall scoinst install; do
1371 for ac_exec_ext in '' $ac_executable_extensions; do
1372 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1373 if test $ac_prog = install &&
1374 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1375 # AIX install. It has an incompatible calling convention.
1377 elif test $ac_prog = install &&
1378 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1379 # program-specific install script used by HP pwplus--don't use.
1382 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1394 if test "${ac_cv_path_install+set}" = set; then
1395 INSTALL=$ac_cv_path_install
1397 # As a last resort, use the slow shell script. We don't cache a
1398 # path for INSTALL within a source directory, because that will
1399 # break other packages using the cache if that directory is
1400 # removed, or if the path is relative.
1401 INSTALL=$ac_install_sh
1404 echo "$as_me:$LINENO: result: $INSTALL" >&5
1405 echo "${ECHO_T}$INSTALL" >&6
1407 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1408 # It thinks the first close brace ends the variable substitution.
1409 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1411 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1413 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1415 echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1416 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1419 echo timestamp > conftest.file
1420 # Do `set' in a subshell so we don't clobber the current shell's
1421 # arguments. Must try -L first in case configure is actually a
1422 # symlink; some systems play weird games with the mod time of symlinks
1423 # (eg FreeBSD returns the mod time of the symlink's containing
1426 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1427 if test "$*" = "X"; then
1429 set X `ls -t $srcdir/configure conftest.file`
1432 if test "$*" != "X $srcdir/configure conftest.file" \
1433 && test "$*" != "X conftest.file $srcdir/configure"; then
1435 # If neither matched, then we have a broken ls. This can happen
1436 # if, for instance, CONFIG_SHELL is bash and it inherits a
1437 # broken ls alias from the environment. This has actually
1438 # happened. Such a system could not be considered "sane".
1439 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1440 alias in your environment" >&5
1441 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1442 alias in your environment" >&2;}
1443 { (exit 1); exit 1; }; }
1446 test "$2" = conftest.file
1452 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1453 Check your system clock" >&5
1454 echo "$as_me: error: newly created file is older than distributed files!
1455 Check your system clock" >&2;}
1456 { (exit 1); exit 1; }; }
1458 echo "$as_me:$LINENO: result: yes" >&5
1459 echo "${ECHO_T}yes" >&6
1460 test "$program_prefix" != NONE &&
1461 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1462 # Use a double $ so make ignores it.
1463 test "$program_suffix" != NONE &&
1464 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1465 # Double any \ or $. echo might interpret backslashes.
1466 # By default was `s,x,x', remove it if useless.
1467 cat <<\_ACEOF >conftest.sed
1468 s/[\\$]/&&/g;s/;s,x,x,$//
1470 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1473 # expand $ac_aux_dir to an absolute path
1474 am_aux_dir=`cd $ac_aux_dir && pwd`
1476 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1477 # Use eval to expand $SHELL
1478 if eval "$MISSING --run true"; then
1479 am_missing_run="$MISSING --run "
1482 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1483 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1486 if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1487 # We used to keeping the `.' as first argument, in order to
1488 # allow $(mkdir_p) to be used without argument. As in
1489 # $(mkdir_p) $(somedir)
1490 # where $(somedir) is conditionally defined. However this is wrong
1492 # 1. if the package is installed by a user who cannot write `.'
1493 # make install will fail,
1494 # 2. the above comment should most certainly read
1495 # $(mkdir_p) $(DESTDIR)$(somedir)
1496 # so it does not work when $(somedir) is undefined and
1497 # $(DESTDIR) is not.
1498 # To support the latter case, we have to write
1499 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1500 # so the `.' trick is pointless.
1501 mkdir_p='mkdir -p --'
1503 # On NextStep and OpenStep, the `mkdir' command does not
1504 # recognize any option. It will interpret all options as
1505 # directories to create, and then abort because `.' already
1507 for d in ./-p ./--version;
1509 test -d $d && rmdir $d
1511 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1512 if test -f "$ac_aux_dir/mkinstalldirs"; then
1513 mkdir_p='$(mkinstalldirs)'
1515 mkdir_p='$(install_sh) -d'
1519 for ac_prog in gawk mawk nawk awk
1521 # Extract the first word of "$ac_prog", so it can be a program name with args.
1522 set dummy $ac_prog; ac_word=$2
1523 echo "$as_me:$LINENO: checking for $ac_word" >&5
1524 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1525 if test "${ac_cv_prog_AWK+set}" = set; then
1526 echo $ECHO_N "(cached) $ECHO_C" >&6
1528 if test -n "$AWK"; then
1529 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1535 test -z "$as_dir" && as_dir=.
1536 for ac_exec_ext in '' $ac_executable_extensions; do
1537 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1538 ac_cv_prog_AWK="$ac_prog"
1539 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1548 if test -n "$AWK"; then
1549 echo "$as_me:$LINENO: result: $AWK" >&5
1550 echo "${ECHO_T}$AWK" >&6
1552 echo "$as_me:$LINENO: result: no" >&5
1553 echo "${ECHO_T}no" >&6
1556 test -n "$AWK" && break
1559 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1560 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1561 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1562 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1563 echo $ECHO_N "(cached) $ECHO_C" >&6
1565 cat >conftest.make <<\_ACEOF
1567 @echo 'ac_maketemp="$(MAKE)"'
1569 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1570 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1571 if test -n "$ac_maketemp"; then
1572 eval ac_cv_prog_make_${ac_make}_set=yes
1574 eval ac_cv_prog_make_${ac_make}_set=no
1578 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1579 echo "$as_me:$LINENO: result: yes" >&5
1580 echo "${ECHO_T}yes" >&6
1583 echo "$as_me:$LINENO: result: no" >&5
1584 echo "${ECHO_T}no" >&6
1585 SET_MAKE="MAKE=${MAKE-make}"
1588 rm -rf .tst 2>/dev/null
1589 mkdir .tst 2>/dev/null
1590 if test -d .tst; then
1595 rmdir .tst 2>/dev/null
1597 # test to see if srcdir already configured
1598 if test "`cd $srcdir && pwd`" != "`pwd`" &&
1599 test -f $srcdir/config.status; then
1600 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1601 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1602 { (exit 1); exit 1; }; }
1605 # test whether we have cygpath
1606 if test -z "$CYGPATH_W"; then
1607 if (cygpath --version) >/dev/null 2>/dev/null; then
1608 CYGPATH_W='cygpath -w'
1615 # Define the identity of the package.
1620 cat >>confdefs.h <<_ACEOF
1621 #define PACKAGE "$PACKAGE"
1625 cat >>confdefs.h <<_ACEOF
1626 #define VERSION "$VERSION"
1629 # Some tools Automake needs.
1631 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1634 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1637 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1640 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1643 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1645 install_sh=${install_sh-"$am_aux_dir/install-sh"}
1647 # Installed binaries are usually stripped using `strip' when the user
1648 # run `make install-strip'. However `strip' might not be the right
1649 # tool to use in cross-compilation environments, therefore Automake
1650 # will honor the `STRIP' environment variable to overrule this program.
1651 if test "$cross_compiling" != no; then
1652 if test -n "$ac_tool_prefix"; then
1653 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1654 set dummy ${ac_tool_prefix}strip; ac_word=$2
1655 echo "$as_me:$LINENO: checking for $ac_word" >&5
1656 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1657 if test "${ac_cv_prog_STRIP+set}" = set; then
1658 echo $ECHO_N "(cached) $ECHO_C" >&6
1660 if test -n "$STRIP"; then
1661 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1663 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1667 test -z "$as_dir" && as_dir=.
1668 for ac_exec_ext in '' $ac_executable_extensions; do
1669 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1670 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1671 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1679 STRIP=$ac_cv_prog_STRIP
1680 if test -n "$STRIP"; then
1681 echo "$as_me:$LINENO: result: $STRIP" >&5
1682 echo "${ECHO_T}$STRIP" >&6
1684 echo "$as_me:$LINENO: result: no" >&5
1685 echo "${ECHO_T}no" >&6
1689 if test -z "$ac_cv_prog_STRIP"; then
1691 # Extract the first word of "strip", so it can be a program name with args.
1692 set dummy strip; ac_word=$2
1693 echo "$as_me:$LINENO: checking for $ac_word" >&5
1694 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1695 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1696 echo $ECHO_N "(cached) $ECHO_C" >&6
1698 if test -n "$ac_ct_STRIP"; then
1699 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1705 test -z "$as_dir" && as_dir=.
1706 for ac_exec_ext in '' $ac_executable_extensions; do
1707 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1708 ac_cv_prog_ac_ct_STRIP="strip"
1709 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1715 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1718 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1719 if test -n "$ac_ct_STRIP"; then
1720 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1721 echo "${ECHO_T}$ac_ct_STRIP" >&6
1723 echo "$as_me:$LINENO: result: no" >&5
1724 echo "${ECHO_T}no" >&6
1729 STRIP="$ac_cv_prog_STRIP"
1733 INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1735 # We need awk for the "check" target. The system "awk" is bad on
1737 # Always define AMTAR for backward compatibility.
1739 AMTAR=${AMTAR-"${am_missing_run}tar"}
1741 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1748 # check common command line options early
1750 cat >>confdefs.h <<\_ACEOF
1751 #define PPP_BINARY "/bin/pppd"
1754 echo "$as_me:$LINENO: checking command line for use of BSD PPP" >&5
1755 echo $ECHO_N "checking command line for use of BSD PPP... $ECHO_C" >&6
1757 # Check whether --with-bsdppp or --without-bsdppp was given.
1758 if test "${with_bsdppp+set}" = set; then
1759 withval="$with_bsdppp"
1763 echo "$as_me:$LINENO: result: BSD user-space ppp" >&5
1764 echo "${ECHO_T}BSD user-space ppp" >&6
1765 cat >>confdefs.h <<\_ACEOF
1766 #define BSDUSER_PPP 1
1769 BSDUSER_PPP=$with_bsdppp
1770 cat >>confdefs.h <<\_ACEOF
1771 #define PPP_BINARY "/usr/sbin/ppp"
1777 echo "$as_me:$LINENO: result: explicit standard pppd" >&5
1778 echo "${ECHO_T}explicit standard pppd" >&6
1781 # only yes or no are expected for this option
1782 echo "$as_me:$LINENO: result: unrecognised... terminating" >&5
1783 echo "${ECHO_T}unrecognised... terminating" >&6
1789 echo "$as_me:$LINENO: result: default standard pppd" >&5
1790 echo "${ECHO_T}default standard pppd" >&6
1793 echo "$as_me:$LINENO: checking command line for use of SLIRP" >&5
1794 echo $ECHO_N "checking command line for use of SLIRP... $ECHO_C" >&6
1796 # Check whether --with-slirp or --without-slirp was given.
1797 if test "${with_slirp+set}" = set; then
1798 withval="$with_slirp"
1802 echo "$as_me:$LINENO: result: yes" >&5
1803 echo "${ECHO_T}yes" >&6
1804 cat >>confdefs.h <<\_ACEOF
1809 cat >>confdefs.h <<\_ACEOF
1810 #define PPP_BINARY "/bin/slirp"
1816 echo "$as_me:$LINENO: result: explicit no" >&5
1817 echo "${ECHO_T}explicit no" >&6
1820 # only yes or no are expected for this option
1821 echo "$as_me:$LINENO: result: unrecognised... terminating" >&5
1822 echo "${ECHO_T}unrecognised... terminating" >&6
1828 echo "$as_me:$LINENO: result: default no" >&5
1829 echo "${ECHO_T}default no" >&6
1832 echo "$as_me:$LINENO: checking command line for syslog facility name" >&5
1833 echo $ECHO_N "checking command line for syslog facility name... $ECHO_C" >&6
1834 # Check whether --enable-facility or --disable-facility was given.
1835 if test "${enable_facility+set}" = set; then
1836 enableval="$enable_facility"
1838 echo "$as_me:$LINENO: result: $enableval" >&5
1839 echo "${ECHO_T}$enableval" >&6
1840 cat >>confdefs.h <<_ACEOF
1841 #define PPTP_FACILITY $enableval
1847 echo "$as_me:$LINENO: result: default LOG_DAEMON" >&5
1848 echo "${ECHO_T}default LOG_DAEMON" >&6
1849 cat >>confdefs.h <<_ACEOF
1850 #define PPTP_FACILITY LOG_DAEMON
1856 echo "$as_me:$LINENO: checking command line for bcrelay build" >&5
1857 echo $ECHO_N "checking command line for bcrelay build... $ECHO_C" >&6
1858 # Check whether --enable-bcrelay or --disable-bcrelay was given.
1859 if test "${enable_bcrelay+set}" = set; then
1860 enableval="$enable_bcrelay"
1862 case "$enableval" in
1864 echo "$as_me:$LINENO: result: yes" >&5
1865 echo "${ECHO_T}yes" >&6
1866 cat >>confdefs.h <<\_ACEOF
1874 echo "$as_me:$LINENO: result: explicit no" >&5
1875 echo "${ECHO_T}explicit no" >&6
1878 # only yes or no are expected for this option
1879 echo "$as_me:$LINENO: result: unrecognised... terminating" >&5
1880 echo "${ECHO_T}unrecognised... terminating" >&6
1886 echo "$as_me:$LINENO: result: default no" >&5
1887 echo "${ECHO_T}default no" >&6
1891 ac_cpp='$CPP $CPPFLAGS'
1892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1895 if test -n "$ac_tool_prefix"; then
1896 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1897 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1898 echo "$as_me:$LINENO: checking for $ac_word" >&5
1899 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1900 if test "${ac_cv_prog_CC+set}" = set; then
1901 echo $ECHO_N "(cached) $ECHO_C" >&6
1903 if test -n "$CC"; then
1904 ac_cv_prog_CC="$CC" # Let the user override the test.
1906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1910 test -z "$as_dir" && as_dir=.
1911 for ac_exec_ext in '' $ac_executable_extensions; do
1912 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1913 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1914 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1923 if test -n "$CC"; then
1924 echo "$as_me:$LINENO: result: $CC" >&5
1925 echo "${ECHO_T}$CC" >&6
1927 echo "$as_me:$LINENO: result: no" >&5
1928 echo "${ECHO_T}no" >&6
1932 if test -z "$ac_cv_prog_CC"; then
1934 # Extract the first word of "gcc", so it can be a program name with args.
1935 set dummy gcc; ac_word=$2
1936 echo "$as_me:$LINENO: checking for $ac_word" >&5
1937 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1938 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1939 echo $ECHO_N "(cached) $ECHO_C" >&6
1941 if test -n "$ac_ct_CC"; then
1942 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_ac_ct_CC="gcc"
1952 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1960 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1961 if test -n "$ac_ct_CC"; then
1962 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1963 echo "${ECHO_T}$ac_ct_CC" >&6
1965 echo "$as_me:$LINENO: result: no" >&5
1966 echo "${ECHO_T}no" >&6
1974 if test -z "$CC"; then
1975 if test -n "$ac_tool_prefix"; then
1976 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1977 set dummy ${ac_tool_prefix}cc; ac_word=$2
1978 echo "$as_me:$LINENO: checking for $ac_word" >&5
1979 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1980 if test "${ac_cv_prog_CC+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 if test -n "$CC"; then
1984 ac_cv_prog_CC="$CC" # Let the user override the test.
1986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1990 test -z "$as_dir" && as_dir=.
1991 for ac_exec_ext in '' $ac_executable_extensions; do
1992 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1993 ac_cv_prog_CC="${ac_tool_prefix}cc"
1994 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2003 if test -n "$CC"; then
2004 echo "$as_me:$LINENO: result: $CC" >&5
2005 echo "${ECHO_T}$CC" >&6
2007 echo "$as_me:$LINENO: result: no" >&5
2008 echo "${ECHO_T}no" >&6
2012 if test -z "$ac_cv_prog_CC"; then
2014 # Extract the first word of "cc", so it can be a program name with args.
2015 set dummy cc; ac_word=$2
2016 echo "$as_me:$LINENO: checking for $ac_word" >&5
2017 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2018 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2019 echo $ECHO_N "(cached) $ECHO_C" >&6
2021 if test -n "$ac_ct_CC"; then
2022 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2028 test -z "$as_dir" && as_dir=.
2029 for ac_exec_ext in '' $ac_executable_extensions; do
2030 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2031 ac_cv_prog_ac_ct_CC="cc"
2032 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2041 if test -n "$ac_ct_CC"; then
2042 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2043 echo "${ECHO_T}$ac_ct_CC" >&6
2045 echo "$as_me:$LINENO: result: no" >&5
2046 echo "${ECHO_T}no" >&6
2055 if test -z "$CC"; then
2056 # Extract the first word of "cc", so it can be a program name with args.
2057 set dummy cc; ac_word=$2
2058 echo "$as_me:$LINENO: checking for $ac_word" >&5
2059 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2060 if test "${ac_cv_prog_CC+set}" = set; then
2061 echo $ECHO_N "(cached) $ECHO_C" >&6
2063 if test -n "$CC"; then
2064 ac_cv_prog_CC="$CC" # Let the user override the test.
2067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2071 test -z "$as_dir" && as_dir=.
2072 for ac_exec_ext in '' $ac_executable_extensions; do
2073 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2074 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2075 ac_prog_rejected=yes
2079 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2085 if test $ac_prog_rejected = yes; then
2086 # We found a bogon in the path, so make sure we never use it.
2087 set dummy $ac_cv_prog_CC
2089 if test $# != 0; then
2090 # We chose a different compiler from the bogus one.
2091 # However, it has the same basename, so the bogon will be chosen
2092 # first if we set CC to just the basename; use the full file name.
2094 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2100 if test -n "$CC"; then
2101 echo "$as_me:$LINENO: result: $CC" >&5
2102 echo "${ECHO_T}$CC" >&6
2104 echo "$as_me:$LINENO: result: no" >&5
2105 echo "${ECHO_T}no" >&6
2109 if test -z "$CC"; then
2110 if test -n "$ac_tool_prefix"; then
2113 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2114 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2115 echo "$as_me:$LINENO: checking for $ac_word" >&5
2116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2117 if test "${ac_cv_prog_CC+set}" = set; then
2118 echo $ECHO_N "(cached) $ECHO_C" >&6
2120 if test -n "$CC"; then
2121 ac_cv_prog_CC="$CC" # Let the user override the test.
2123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2127 test -z "$as_dir" && as_dir=.
2128 for ac_exec_ext in '' $ac_executable_extensions; do
2129 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2130 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2131 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 if test -n "$CC"; then
2141 echo "$as_me:$LINENO: result: $CC" >&5
2142 echo "${ECHO_T}$CC" >&6
2144 echo "$as_me:$LINENO: result: no" >&5
2145 echo "${ECHO_T}no" >&6
2148 test -n "$CC" && break
2151 if test -z "$CC"; then
2155 # Extract the first word of "$ac_prog", so it can be a program name with args.
2156 set dummy $ac_prog; ac_word=$2
2157 echo "$as_me:$LINENO: checking for $ac_word" >&5
2158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2159 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2160 echo $ECHO_N "(cached) $ECHO_C" >&6
2162 if test -n "$ac_ct_CC"; then
2163 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2169 test -z "$as_dir" && as_dir=.
2170 for ac_exec_ext in '' $ac_executable_extensions; do
2171 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2172 ac_cv_prog_ac_ct_CC="$ac_prog"
2173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2182 if test -n "$ac_ct_CC"; then
2183 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2184 echo "${ECHO_T}$ac_ct_CC" >&6
2186 echo "$as_me:$LINENO: result: no" >&5
2187 echo "${ECHO_T}no" >&6
2190 test -n "$ac_ct_CC" && break
2199 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2200 See \`config.log' for more details." >&5
2201 echo "$as_me: error: no acceptable C compiler found in \$PATH
2202 See \`config.log' for more details." >&2;}
2203 { (exit 1); exit 1; }; }
2205 # Provide some information about the compiler.
2206 echo "$as_me:$LINENO:" \
2207 "checking for C compiler version" >&5
2208 ac_compiler=`set X $ac_compile; echo $2`
2209 { (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2210 (eval $ac_compiler --version </dev/null >&5) 2>&5
2212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2213 (exit $ac_status); }
2214 { (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2215 (eval $ac_compiler -v </dev/null >&5) 2>&5
2217 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2218 (exit $ac_status); }
2219 { (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2220 (eval $ac_compiler -V </dev/null >&5) 2>&5
2222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2223 (exit $ac_status); }
2225 cat >conftest.$ac_ext <<_ACEOF
2228 cat confdefs.h >>conftest.$ac_ext
2229 cat >>conftest.$ac_ext <<_ACEOF
2230 /* end confdefs.h. */
2240 ac_clean_files_save=$ac_clean_files
2241 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2242 # Try to create an executable without -o first, disregard a.out.
2243 # It will help us diagnose broken compilers, and finding out an intuition
2245 echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2246 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2247 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2248 if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2249 (eval $ac_link_default) 2>&5
2251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2252 (exit $ac_status); }; then
2253 # Find the output, starting from the most likely. This scheme is
2254 # not robust to junk in `.', hence go to wildcards (a.*) only as a last
2257 # Be careful to initialize this variable, since it used to be cached.
2258 # Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2260 # b.out is created by i960 compilers.
2261 for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2263 test -f "$ac_file" || continue
2265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2268 # This is the source file.
2271 # We found the default executable, but exeext='' is most
2275 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2276 # FIXME: I believe we export ac_cv_exeext for Libtool,
2277 # but it would be cool to find out if it's true. Does anybody
2278 # maintain Libtool? --akim.
2286 echo "$as_me: failed program was:" >&5
2287 sed 's/^/| /' conftest.$ac_ext >&5
2289 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2290 See \`config.log' for more details." >&5
2291 echo "$as_me: error: C compiler cannot create executables
2292 See \`config.log' for more details." >&2;}
2293 { (exit 77); exit 77; }; }
2296 ac_exeext=$ac_cv_exeext
2297 echo "$as_me:$LINENO: result: $ac_file" >&5
2298 echo "${ECHO_T}$ac_file" >&6
2300 # Check the compiler produces executables we can run. If not, either
2301 # the compiler is broken, or we cross compile.
2302 echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2303 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2304 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2305 # If not cross compiling, check that we can run a simple program.
2306 if test "$cross_compiling" != yes; then
2307 if { ac_try='./$ac_file'
2308 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2311 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2312 (exit $ac_status); }; }; then
2315 if test "$cross_compiling" = maybe; then
2318 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2319 If you meant to cross compile, use \`--host'.
2320 See \`config.log' for more details." >&5
2321 echo "$as_me: error: cannot run C compiled programs.
2322 If you meant to cross compile, use \`--host'.
2323 See \`config.log' for more details." >&2;}
2324 { (exit 1); exit 1; }; }
2328 echo "$as_me:$LINENO: result: yes" >&5
2329 echo "${ECHO_T}yes" >&6
2331 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2332 ac_clean_files=$ac_clean_files_save
2333 # Check the compiler produces executables we can run. If not, either
2334 # the compiler is broken, or we cross compile.
2335 echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2336 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2337 echo "$as_me:$LINENO: result: $cross_compiling" >&5
2338 echo "${ECHO_T}$cross_compiling" >&6
2340 echo "$as_me:$LINENO: checking for suffix of executables" >&5
2341 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2342 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2343 (eval $ac_link) 2>&5
2345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2346 (exit $ac_status); }; then
2347 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2348 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2349 # work properly (i.e., refer to `conftest.exe'), while it won't with
2351 for ac_file in conftest.exe conftest conftest.*; do
2352 test -f "$ac_file" || continue
2354 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2355 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2362 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2363 See \`config.log' for more details." >&5
2364 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2365 See \`config.log' for more details." >&2;}
2366 { (exit 1); exit 1; }; }
2369 rm -f conftest$ac_cv_exeext
2370 echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2371 echo "${ECHO_T}$ac_cv_exeext" >&6
2373 rm -f conftest.$ac_ext
2374 EXEEXT=$ac_cv_exeext
2376 echo "$as_me:$LINENO: checking for suffix of object files" >&5
2377 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2378 if test "${ac_cv_objext+set}" = set; then
2379 echo $ECHO_N "(cached) $ECHO_C" >&6
2381 cat >conftest.$ac_ext <<_ACEOF
2384 cat confdefs.h >>conftest.$ac_ext
2385 cat >>conftest.$ac_ext <<_ACEOF
2386 /* end confdefs.h. */
2396 rm -f conftest.o conftest.obj
2397 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2398 (eval $ac_compile) 2>&5
2400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2401 (exit $ac_status); }; then
2402 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2405 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2410 echo "$as_me: failed program was:" >&5
2411 sed 's/^/| /' conftest.$ac_ext >&5
2413 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2414 See \`config.log' for more details." >&5
2415 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2416 See \`config.log' for more details." >&2;}
2417 { (exit 1); exit 1; }; }
2420 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2422 echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2423 echo "${ECHO_T}$ac_cv_objext" >&6
2424 OBJEXT=$ac_cv_objext
2426 echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2427 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2428 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2429 echo $ECHO_N "(cached) $ECHO_C" >&6
2431 cat >conftest.$ac_ext <<_ACEOF
2434 cat confdefs.h >>conftest.$ac_ext
2435 cat >>conftest.$ac_ext <<_ACEOF
2436 /* end confdefs.h. */
2449 rm -f conftest.$ac_objext
2450 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2451 (eval $ac_compile) 2>conftest.er1
2453 grep -v '^ *+' conftest.er1 >conftest.err
2455 cat conftest.err >&5
2456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2457 (exit $ac_status); } &&
2458 { ac_try='test -z "$ac_c_werror_flag"
2459 || test ! -s conftest.err'
2460 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2464 (exit $ac_status); }; } &&
2465 { ac_try='test -s conftest.$ac_objext'
2466 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2470 (exit $ac_status); }; }; then
2473 echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2478 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2479 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2482 echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2483 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2484 GCC=`test $ac_compiler_gnu = yes && echo yes`
2485 ac_test_CFLAGS=${CFLAGS+set}
2486 ac_save_CFLAGS=$CFLAGS
2488 echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2489 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2490 if test "${ac_cv_prog_cc_g+set}" = set; then
2491 echo $ECHO_N "(cached) $ECHO_C" >&6
2493 cat >conftest.$ac_ext <<_ACEOF
2496 cat confdefs.h >>conftest.$ac_ext
2497 cat >>conftest.$ac_ext <<_ACEOF
2498 /* end confdefs.h. */
2508 rm -f conftest.$ac_objext
2509 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2510 (eval $ac_compile) 2>conftest.er1
2512 grep -v '^ *+' conftest.er1 >conftest.err
2514 cat conftest.err >&5
2515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2516 (exit $ac_status); } &&
2517 { ac_try='test -z "$ac_c_werror_flag"
2518 || test ! -s conftest.err'
2519 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2523 (exit $ac_status); }; } &&
2524 { ac_try='test -s conftest.$ac_objext'
2525 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2528 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2529 (exit $ac_status); }; }; then
2532 echo "$as_me: failed program was:" >&5
2533 sed 's/^/| /' conftest.$ac_ext >&5
2537 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2539 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2540 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2541 if test "$ac_test_CFLAGS" = set; then
2542 CFLAGS=$ac_save_CFLAGS
2543 elif test $ac_cv_prog_cc_g = yes; then
2544 if test "$GCC" = yes; then
2550 if test "$GCC" = yes; then
2556 echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2557 echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2558 if test "${ac_cv_prog_cc_stdc+set}" = set; then
2559 echo $ECHO_N "(cached) $ECHO_C" >&6
2561 ac_cv_prog_cc_stdc=no
2563 cat >conftest.$ac_ext <<_ACEOF
2566 cat confdefs.h >>conftest.$ac_ext
2567 cat >>conftest.$ac_ext <<_ACEOF
2568 /* end confdefs.h. */
2571 #include <sys/types.h>
2572 #include <sys/stat.h>
2573 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2574 struct buf { int x; };
2575 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2576 static char *e (p, i)
2582 static char *f (char * (*g) (char **, int), char **p, ...)
2587 s = g (p, va_arg (v,int));
2592 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2593 function prototypes and stuff, but not '\xHH' hex character constants.
2594 These don't provoke an error unfortunately, instead are silently treated
2595 as 'x'. The following induces an error, until -std1 is added to get
2596 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2597 array size at least. It's necessary to write '\x00'==0 to get something
2598 that's true only with -std1. */
2599 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2601 int test (int i, double x);
2602 struct s1 {int (*f) (int a);};
2603 struct s2 {int (*f) (double a);};
2604 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2610 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2615 # Don't try gcc -ansi; that turns off useful extensions and
2616 # breaks some systems' header files.
2617 # AIX -qlanglvl=ansi
2618 # Ultrix and OSF/1 -std1
2619 # HP-UX 10.20 and later -Ae
2620 # HP-UX older versions -Aa -D_HPUX_SOURCE
2621 # SVR4 -Xc -D__EXTENSIONS__
2622 for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2624 CC="$ac_save_CC $ac_arg"
2625 rm -f conftest.$ac_objext
2626 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2627 (eval $ac_compile) 2>conftest.er1
2629 grep -v '^ *+' conftest.er1 >conftest.err
2631 cat conftest.err >&5
2632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2633 (exit $ac_status); } &&
2634 { ac_try='test -z "$ac_c_werror_flag"
2635 || test ! -s conftest.err'
2636 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2640 (exit $ac_status); }; } &&
2641 { ac_try='test -s conftest.$ac_objext'
2642 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2646 (exit $ac_status); }; }; then
2647 ac_cv_prog_cc_stdc=$ac_arg
2650 echo "$as_me: failed program was:" >&5
2651 sed 's/^/| /' conftest.$ac_ext >&5
2654 rm -f conftest.err conftest.$ac_objext
2656 rm -f conftest.$ac_ext conftest.$ac_objext
2661 case "x$ac_cv_prog_cc_stdc" in
2663 echo "$as_me:$LINENO: result: none needed" >&5
2664 echo "${ECHO_T}none needed" >&6 ;;
2666 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2667 echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2668 CC="$CC $ac_cv_prog_cc_stdc" ;;
2671 # Some people use a C++ compiler to compile C. Since we use `exit',
2672 # in C++ we need to declare it. In case someone uses the same compiler
2673 # for both compiling C and C++ we need to have the C++ compiler decide
2674 # the declaration of exit, since it's the most demanding environment.
2675 cat >conftest.$ac_ext <<_ACEOF
2680 rm -f conftest.$ac_objext
2681 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2682 (eval $ac_compile) 2>conftest.er1
2684 grep -v '^ *+' conftest.er1 >conftest.err
2686 cat conftest.err >&5
2687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2688 (exit $ac_status); } &&
2689 { ac_try='test -z "$ac_c_werror_flag"
2690 || test ! -s conftest.err'
2691 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2694 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2695 (exit $ac_status); }; } &&
2696 { ac_try='test -s conftest.$ac_objext'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; }; then
2702 for ac_declaration in \
2704 'extern "C" void std::exit (int) throw (); using std::exit;' \
2705 'extern "C" void std::exit (int); using std::exit;' \
2706 'extern "C" void exit (int) throw ();' \
2707 'extern "C" void exit (int);' \
2710 cat >conftest.$ac_ext <<_ACEOF
2713 cat confdefs.h >>conftest.$ac_ext
2714 cat >>conftest.$ac_ext <<_ACEOF
2715 /* end confdefs.h. */
2726 rm -f conftest.$ac_objext
2727 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2728 (eval $ac_compile) 2>conftest.er1
2730 grep -v '^ *+' conftest.er1 >conftest.err
2732 cat conftest.err >&5
2733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2734 (exit $ac_status); } &&
2735 { ac_try='test -z "$ac_c_werror_flag"
2736 || test ! -s conftest.err'
2737 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2741 (exit $ac_status); }; } &&
2742 { ac_try='test -s conftest.$ac_objext'
2743 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2747 (exit $ac_status); }; }; then
2750 echo "$as_me: failed program was:" >&5
2751 sed 's/^/| /' conftest.$ac_ext >&5
2755 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2756 cat >conftest.$ac_ext <<_ACEOF
2759 cat confdefs.h >>conftest.$ac_ext
2760 cat >>conftest.$ac_ext <<_ACEOF
2761 /* end confdefs.h. */
2771 rm -f conftest.$ac_objext
2772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2773 (eval $ac_compile) 2>conftest.er1
2775 grep -v '^ *+' conftest.er1 >conftest.err
2777 cat conftest.err >&5
2778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2779 (exit $ac_status); } &&
2780 { ac_try='test -z "$ac_c_werror_flag"
2781 || test ! -s conftest.err'
2782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); }; } &&
2787 { ac_try='test -s conftest.$ac_objext'
2788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2792 (exit $ac_status); }; }; then
2795 echo "$as_me: failed program was:" >&5
2796 sed 's/^/| /' conftest.$ac_ext >&5
2799 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2802 if test -n "$ac_declaration"; then
2803 echo '#ifdef __cplusplus' >>confdefs.h
2804 echo $ac_declaration >>confdefs.h
2805 echo '#endif' >>confdefs.h
2809 echo "$as_me: failed program was:" >&5
2810 sed 's/^/| /' conftest.$ac_ext >&5
2813 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2815 ac_cpp='$CPP $CPPFLAGS'
2816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2819 DEPDIR="${am__leading_dot}deps"
2821 ac_config_commands="$ac_config_commands depfiles"
2824 am_make=${MAKE-make}
2825 cat > confinc << 'END'
2830 # If we don't find an include directive, just comment out the code.
2831 echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2832 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2836 # First try GNU make style include.
2837 echo "include confinc" > confmf
2838 # We grep out `Entering directory' and `Leaving directory'
2839 # messages which can occur if `w' ends up in MAKEFLAGS.
2840 # In particular we don't look at `^make:' because GNU make might
2841 # be invoked under some other name (usually "gmake"), in which
2842 # case it prints its new name instead of `make'.
2843 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2848 # Now try BSD make style include.
2849 if test "$am__include" = "#"; then
2850 echo '.include "confinc"' > confmf
2851 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2852 am__include=.include
2859 echo "$as_me:$LINENO: result: $_am_result" >&5
2860 echo "${ECHO_T}$_am_result" >&6
2861 rm -f confinc confmf
2863 # Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2864 if test "${enable_dependency_tracking+set}" = set; then
2865 enableval="$enable_dependency_tracking"
2868 if test "x$enable_dependency_tracking" != xno; then
2869 am_depcomp="$ac_aux_dir/depcomp"
2874 if test "x$enable_dependency_tracking" != xno; then
2885 depcc="$CC" am_compiler_list=
2887 echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2888 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2889 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2890 echo $ECHO_N "(cached) $ECHO_C" >&6
2892 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2893 # We make a subdir and do the tests there. Otherwise we can end up
2894 # making bogus files that we don't know about and never remove. For
2895 # instance it was reported that on HP-UX the gcc test will end up
2896 # making a dummy file named `D' -- because `-MD' means `put the output
2899 # Copy depcomp to subdir because otherwise we won't find it if we're
2900 # using a relative directory.
2901 cp "$am_depcomp" conftest.dir
2903 # We will build objects and dependencies in a subdirectory because
2904 # it helps to detect inapplicable dependency modes. For instance
2905 # both Tru64's cc and ICC support -MD to output dependencies as a
2906 # side effect of compilation, but ICC will put the dependencies in
2907 # the current directory while Tru64 will put them in the object
2911 am_cv_CC_dependencies_compiler_type=none
2912 if test "$am_compiler_list" = ""; then
2913 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2915 for depmode in $am_compiler_list; do
2916 # Setup a source with many dependencies, because some compilers
2917 # like to wrap large dependency lists on column 80 (with \), and
2918 # we should not choose a depcomp mode which is confused by this.
2920 # We need to recreate these files for each test, as the compiler may
2921 # overwrite some of them when testing with obscure command lines.
2922 # This happens at least with the AIX C compiler.
2924 for i in 1 2 3 4 5 6; do
2925 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2926 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2927 # Solaris 8's {/usr,}/bin/sh.
2928 touch sub/conftst$i.h
2930 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2934 # after this tag, mechanisms are not by side-effect, so they'll
2935 # only be used when explicitly requested
2936 if test "x$enable_dependency_tracking" = xyes; then
2944 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2945 # mode. It turns out that the SunPro C++ compiler does not properly
2946 # handle `-M -o', and we need to detect this.
2947 if depmode=$depmode \
2948 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2949 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2950 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2951 >/dev/null 2>conftest.err &&
2952 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2953 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2954 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2955 # icc doesn't choke on unknown options, it will just issue warnings
2956 # or remarks (even with -Werror). So we grep stderr for any message
2957 # that says an option was ignored or not supported.
2958 # When given -MP, icc 7.0 and 7.1 complain thusly:
2959 # icc: Command line warning: ignoring option '-M'; no argument required
2960 # The diagnosis changed in icc 8.0:
2961 # icc: Command line remark: option '-MP' not supported
2962 if (grep 'ignoring option' conftest.err ||
2963 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2964 am_cv_CC_dependencies_compiler_type=$depmode
2973 am_cv_CC_dependencies_compiler_type=none
2977 echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2978 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2979 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2984 test "x$enable_dependency_tracking" != xno \
2985 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2987 am__fastdepCC_FALSE='#'
2989 am__fastdepCC_TRUE='#'
2990 am__fastdepCC_FALSE=
2994 if test -n "$ac_tool_prefix"; then
2995 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
2996 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
2997 echo "$as_me:$LINENO: checking for $ac_word" >&5
2998 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2999 if test "${ac_cv_prog_RANLIB+set}" = set; then
3000 echo $ECHO_N "(cached) $ECHO_C" >&6
3002 if test -n "$RANLIB"; then
3003 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir=.
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3013 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3021 RANLIB=$ac_cv_prog_RANLIB
3022 if test -n "$RANLIB"; then
3023 echo "$as_me:$LINENO: result: $RANLIB" >&5
3024 echo "${ECHO_T}$RANLIB" >&6
3026 echo "$as_me:$LINENO: result: no" >&5
3027 echo "${ECHO_T}no" >&6
3031 if test -z "$ac_cv_prog_RANLIB"; then
3032 ac_ct_RANLIB=$RANLIB
3033 # Extract the first word of "ranlib", so it can be a program name with args.
3034 set dummy ranlib; ac_word=$2
3035 echo "$as_me:$LINENO: checking for $ac_word" >&5
3036 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
3037 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3038 echo $ECHO_N "(cached) $ECHO_C" >&6
3040 if test -n "$ac_ct_RANLIB"; then
3041 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3047 test -z "$as_dir" && as_dir=.
3048 for ac_exec_ext in '' $ac_executable_extensions; do
3049 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3050 ac_cv_prog_ac_ct_RANLIB="ranlib"
3051 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3057 test -z "$ac_cv_prog_ac_ct_RANLIB" && ac_cv_prog_ac_ct_RANLIB=":"
3060 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3061 if test -n "$ac_ct_RANLIB"; then
3062 echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3063 echo "${ECHO_T}$ac_ct_RANLIB" >&6
3065 echo "$as_me:$LINENO: result: no" >&5
3066 echo "${ECHO_T}no" >&6
3069 RANLIB=$ac_ct_RANLIB
3071 RANLIB="$ac_cv_prog_RANLIB"
3074 # Find a good install program. We prefer a C program (faster),
3075 # so one script is as good as another. But avoid the broken or
3076 # incompatible versions:
3077 # SysV /etc/install, /usr/sbin/install
3078 # SunOS /usr/etc/install
3079 # IRIX /sbin/install
3081 # AmigaOS /C/install, which installs bootblocks on floppy discs
3082 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3083 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3084 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3085 # OS/2's system install, which has a completely different semantic
3086 # ./install, which can be erroneously created by make from ./install.sh.
3087 echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3088 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
3089 if test -z "$INSTALL"; then
3090 if test "${ac_cv_path_install+set}" = set; then
3091 echo $ECHO_N "(cached) $ECHO_C" >&6
3093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3097 test -z "$as_dir" && as_dir=.
3098 # Account for people who put trailing slashes in PATH elements.
3100 ./ | .// | /cC/* | \
3101 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3102 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3105 # OSF1 and SCO ODT 3.0 have their own names for install.
3106 # Don't use installbsd from OSF since it installs stuff as root
3108 for ac_prog in ginstall scoinst install; do
3109 for ac_exec_ext in '' $ac_executable_extensions; do
3110 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3111 if test $ac_prog = install &&
3112 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3113 # AIX install. It has an incompatible calling convention.
3115 elif test $ac_prog = install &&
3116 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3117 # program-specific install script used by HP pwplus--don't use.
3120 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3132 if test "${ac_cv_path_install+set}" = set; then
3133 INSTALL=$ac_cv_path_install
3135 # As a last resort, use the slow shell script. We don't cache a
3136 # path for INSTALL within a source directory, because that will
3137 # break other packages using the cache if that directory is
3138 # removed, or if the path is relative.
3139 INSTALL=$ac_install_sh
3142 echo "$as_me:$LINENO: result: $INSTALL" >&5
3143 echo "${ECHO_T}$INSTALL" >&6
3145 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3146 # It thinks the first close brace ends the variable substitution.
3147 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3149 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3151 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3153 echo "$as_me:$LINENO: checking whether ln -s works" >&5
3154 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6
3156 if test "$LN_S" = "ln -s"; then
3157 echo "$as_me:$LINENO: result: yes" >&5
3158 echo "${ECHO_T}yes" >&6
3160 echo "$as_me:$LINENO: result: no, using $LN_S" >&5
3161 echo "${ECHO_T}no, using $LN_S" >&6
3164 echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3165 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
3166 set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
3167 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
3168 echo $ECHO_N "(cached) $ECHO_C" >&6
3170 cat >conftest.make <<\_ACEOF
3172 @echo 'ac_maketemp="$(MAKE)"'
3174 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
3175 eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
3176 if test -n "$ac_maketemp"; then
3177 eval ac_cv_prog_make_${ac_make}_set=yes
3179 eval ac_cv_prog_make_${ac_make}_set=no
3183 if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
3184 echo "$as_me:$LINENO: result: yes" >&5
3185 echo "${ECHO_T}yes" >&6
3188 echo "$as_me:$LINENO: result: no" >&5
3189 echo "${ECHO_T}no" >&6
3190 SET_MAKE="MAKE=${MAKE-make}"
3195 echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
3196 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6
3197 if test "${ac_cv_c_const+set}" = set; then
3198 echo $ECHO_N "(cached) $ECHO_C" >&6
3200 cat >conftest.$ac_ext <<_ACEOF
3203 cat confdefs.h >>conftest.$ac_ext
3204 cat >>conftest.$ac_ext <<_ACEOF
3205 /* end confdefs.h. */
3210 /* FIXME: Include the comments suggested by Paul. */
3212 /* Ultrix mips cc rejects this. */
3213 typedef int charset[2];
3215 /* SunOS 4.1.1 cc rejects this. */
3216 char const *const *ccp;
3218 /* NEC SVR4.0.2 mips cc rejects this. */
3219 struct point {int x, y;};
3220 static struct point const zero = {0,0};
3221 /* AIX XL C 1.02.0.0 rejects this.
3222 It does not let you subtract one const X* pointer from another in
3223 an arm of an if-expression whose if-part is not a constant
3225 const char *g = "string";
3226 ccp = &g + (g ? g-g : 0);
3227 /* HPUX 7.0 cc rejects these. */
3230 ccp = (char const *const *) p;
3231 { /* SCO 3.2v4 cc rejects this. */
3233 char const *s = 0 ? (char *) 0 : (char const *) 0;
3237 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3239 const int *foo = &x[0];
3242 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3243 typedef const int *iptr;
3247 { /* AIX XL C 1.02.0.0 rejects this saying
3248 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3249 struct s { int j; const int *ap[3]; };
3250 struct s *b; b->j = 5;
3252 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3261 rm -f conftest.$ac_objext
3262 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3263 (eval $ac_compile) 2>conftest.er1
3265 grep -v '^ *+' conftest.er1 >conftest.err
3267 cat conftest.err >&5
3268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3269 (exit $ac_status); } &&
3270 { ac_try='test -z "$ac_c_werror_flag"
3271 || test ! -s conftest.err'
3272 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3276 (exit $ac_status); }; } &&
3277 { ac_try='test -s conftest.$ac_objext'
3278 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3282 (exit $ac_status); }; }; then
3285 echo "$as_me: failed program was:" >&5
3286 sed 's/^/| /' conftest.$ac_ext >&5
3290 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3292 echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
3293 echo "${ECHO_T}$ac_cv_c_const" >&6
3294 if test $ac_cv_c_const = no; then
3296 cat >>confdefs.h <<\_ACEOF
3302 echo "$as_me:$LINENO: checking for inline" >&5
3303 echo $ECHO_N "checking for inline... $ECHO_C" >&6
3304 if test "${ac_cv_c_inline+set}" = set; then
3305 echo $ECHO_N "(cached) $ECHO_C" >&6
3308 for ac_kw in inline __inline__ __inline; do
3309 cat >conftest.$ac_ext <<_ACEOF
3312 cat confdefs.h >>conftest.$ac_ext
3313 cat >>conftest.$ac_ext <<_ACEOF
3314 /* end confdefs.h. */
3317 static $ac_kw foo_t static_foo () {return 0; }
3318 $ac_kw foo_t foo () {return 0; }
3322 rm -f conftest.$ac_objext
3323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3324 (eval $ac_compile) 2>conftest.er1
3326 grep -v '^ *+' conftest.er1 >conftest.err
3328 cat conftest.err >&5
3329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3330 (exit $ac_status); } &&
3331 { ac_try='test -z "$ac_c_werror_flag"
3332 || test ! -s conftest.err'
3333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3337 (exit $ac_status); }; } &&
3338 { ac_try='test -s conftest.$ac_objext'
3339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3343 (exit $ac_status); }; }; then
3344 ac_cv_c_inline=$ac_kw; break
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3350 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3354 echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
3355 echo "${ECHO_T}$ac_cv_c_inline" >&6
3358 case $ac_cv_c_inline in
3361 case $ac_cv_c_inline in
3363 *) ac_val=$ac_cv_c_inline;;
3365 cat >>confdefs.h <<_ACEOF
3367 #define inline $ac_val
3376 echo "$as_me:$LINENO: checking whether #! works in shell scripts" >&5
3377 echo $ECHO_N "checking whether #! works in shell scripts... $ECHO_C" >&6
3378 if test "${ac_cv_sys_interpreter+set}" = set; then
3379 echo $ECHO_N "(cached) $ECHO_C" >&6
3385 (SHELL=/bin/sh; export SHELL; ./conftest >/dev/null)
3386 if test $? -ne 69; then
3387 ac_cv_sys_interpreter=yes
3389 ac_cv_sys_interpreter=no
3393 echo "$as_me:$LINENO: result: $ac_cv_sys_interpreter" >&5
3394 echo "${ECHO_T}$ac_cv_sys_interpreter" >&6
3395 interpval=$ac_cv_sys_interpreter
3407 for ac_func in setsid daemon setproctitle getservbyname strlcpy fork memmove strerror writev
3409 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
3410 echo "$as_me:$LINENO: checking for $ac_func" >&5
3411 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
3412 if eval "test \"\${$as_ac_var+set}\" = set"; then
3413 echo $ECHO_N "(cached) $ECHO_C" >&6
3415 cat >conftest.$ac_ext <<_ACEOF
3418 cat confdefs.h >>conftest.$ac_ext
3419 cat >>conftest.$ac_ext <<_ACEOF
3420 /* end confdefs.h. */
3421 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
3422 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3423 #define $ac_func innocuous_$ac_func
3425 /* System header to define __stub macros and hopefully few prototypes,
3426 which can conflict with char $ac_func (); below.
3427 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3428 <limits.h> exists even on freestanding compilers. */
3431 # include <limits.h>
3433 # include <assert.h>
3438 /* Override any gcc2 internal prototype to avoid an error. */
3443 /* We use char because int might match the return type of a gcc2
3444 builtin and then its argument prototype would still apply. */
3446 /* The GNU C library defines this for functions which it implements
3447 to always fail with ENOSYS. Some functions are actually named
3448 something starting with __ and the normal name is an alias. */
3449 #if defined (__stub_$ac_func) || defined (__stub___$ac_func)
3452 char (*f) () = $ac_func;
3461 return f != $ac_func;
3466 rm -f conftest.$ac_objext conftest$ac_exeext
3467 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3468 (eval $ac_link) 2>conftest.er1
3470 grep -v '^ *+' conftest.er1 >conftest.err
3472 cat conftest.err >&5
3473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3474 (exit $ac_status); } &&
3475 { ac_try='test -z "$ac_c_werror_flag"
3476 || test ! -s conftest.err'
3477 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3481 (exit $ac_status); }; } &&
3482 { ac_try='test -s conftest$ac_exeext'
3483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3487 (exit $ac_status); }; }; then
3488 eval "$as_ac_var=yes"
3490 echo "$as_me: failed program was:" >&5
3491 sed 's/^/| /' conftest.$ac_ext >&5
3493 eval "$as_ac_var=no"
3495 rm -f conftest.err conftest.$ac_objext \
3496 conftest$ac_exeext conftest.$ac_ext
3498 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
3499 echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
3500 if test `eval echo '${'$as_ac_var'}'` = yes; then
3501 cat >>confdefs.h <<_ACEOF
3502 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
3510 ac_cpp='$CPP $CPPFLAGS'
3511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3514 echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3515 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3516 # On Suns, sometimes $CPP names a directory.
3517 if test -n "$CPP" && test -d "$CPP"; then
3520 if test -z "$CPP"; then
3521 if test "${ac_cv_prog_CPP+set}" = set; then
3522 echo $ECHO_N "(cached) $ECHO_C" >&6
3524 # Double quotes because CPP needs to be expanded
3525 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3528 for ac_c_preproc_warn_flag in '' yes
3530 # Use a header file that comes with gcc, so configuring glibc
3531 # with a fresh cross-compiler works.
3532 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3533 # <limits.h> exists even on freestanding compilers.
3534 # On the NeXT, cc -E runs the code through the compiler's parser,
3535 # not just through cpp. "Syntax error" is here to catch this case.
3536 cat >conftest.$ac_ext <<_ACEOF
3539 cat confdefs.h >>conftest.$ac_ext
3540 cat >>conftest.$ac_ext <<_ACEOF
3541 /* end confdefs.h. */
3543 # include <limits.h>
3545 # include <assert.h>
3549 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3550 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3552 grep -v '^ *+' conftest.er1 >conftest.err
3554 cat conftest.err >&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); } >/dev/null; then
3557 if test -s conftest.err; then
3558 ac_cpp_err=$ac_c_preproc_warn_flag
3559 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3566 if test -z "$ac_cpp_err"; then
3569 echo "$as_me: failed program was:" >&5
3570 sed 's/^/| /' conftest.$ac_ext >&5
3572 # Broken: fails on valid input.
3575 rm -f conftest.err conftest.$ac_ext
3577 # OK, works on sane cases. Now check whether non-existent headers
3578 # can be detected and how.
3579 cat >conftest.$ac_ext <<_ACEOF
3582 cat confdefs.h >>conftest.$ac_ext
3583 cat >>conftest.$ac_ext <<_ACEOF
3584 /* end confdefs.h. */
3585 #include <ac_nonexistent.h>
3587 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3588 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3590 grep -v '^ *+' conftest.er1 >conftest.err
3592 cat conftest.err >&5
3593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3594 (exit $ac_status); } >/dev/null; then
3595 if test -s conftest.err; then
3596 ac_cpp_err=$ac_c_preproc_warn_flag
3597 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3604 if test -z "$ac_cpp_err"; then
3605 # Broken: success on invalid input.
3608 echo "$as_me: failed program was:" >&5
3609 sed 's/^/| /' conftest.$ac_ext >&5
3611 # Passes both tests.
3615 rm -f conftest.err conftest.$ac_ext
3618 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3619 rm -f conftest.err conftest.$ac_ext
3620 if $ac_preproc_ok; then
3632 echo "$as_me:$LINENO: result: $CPP" >&5
3633 echo "${ECHO_T}$CPP" >&6
3635 for ac_c_preproc_warn_flag in '' yes
3637 # Use a header file that comes with gcc, so configuring glibc
3638 # with a fresh cross-compiler works.
3639 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3640 # <limits.h> exists even on freestanding compilers.
3641 # On the NeXT, cc -E runs the code through the compiler's parser,
3642 # not just through cpp. "Syntax error" is here to catch this case.
3643 cat >conftest.$ac_ext <<_ACEOF
3646 cat confdefs.h >>conftest.$ac_ext
3647 cat >>conftest.$ac_ext <<_ACEOF
3648 /* end confdefs.h. */
3650 # include <limits.h>
3652 # include <assert.h>
3656 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3657 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3659 grep -v '^ *+' conftest.er1 >conftest.err
3661 cat conftest.err >&5
3662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3663 (exit $ac_status); } >/dev/null; then
3664 if test -s conftest.err; then
3665 ac_cpp_err=$ac_c_preproc_warn_flag
3666 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3673 if test -z "$ac_cpp_err"; then
3676 echo "$as_me: failed program was:" >&5
3677 sed 's/^/| /' conftest.$ac_ext >&5
3679 # Broken: fails on valid input.
3682 rm -f conftest.err conftest.$ac_ext
3684 # OK, works on sane cases. Now check whether non-existent headers
3685 # can be detected and how.
3686 cat >conftest.$ac_ext <<_ACEOF
3689 cat confdefs.h >>conftest.$ac_ext
3690 cat >>conftest.$ac_ext <<_ACEOF
3691 /* end confdefs.h. */
3692 #include <ac_nonexistent.h>
3694 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3695 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3697 grep -v '^ *+' conftest.er1 >conftest.err
3699 cat conftest.err >&5
3700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3701 (exit $ac_status); } >/dev/null; then
3702 if test -s conftest.err; then
3703 ac_cpp_err=$ac_c_preproc_warn_flag
3704 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3711 if test -z "$ac_cpp_err"; then
3712 # Broken: success on invalid input.
3715 echo "$as_me: failed program was:" >&5
3716 sed 's/^/| /' conftest.$ac_ext >&5
3718 # Passes both tests.
3722 rm -f conftest.err conftest.$ac_ext
3725 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3726 rm -f conftest.err conftest.$ac_ext
3727 if $ac_preproc_ok; then
3730 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3731 See \`config.log' for more details." >&5
3732 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3733 See \`config.log' for more details." >&2;}
3734 { (exit 1); exit 1; }; }
3738 ac_cpp='$CPP $CPPFLAGS'
3739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3744 echo "$as_me:$LINENO: checking for egrep" >&5
3745 echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3746 if test "${ac_cv_prog_egrep+set}" = set; then
3747 echo $ECHO_N "(cached) $ECHO_C" >&6
3749 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3750 then ac_cv_prog_egrep='grep -E'
3751 else ac_cv_prog_egrep='egrep'
3754 echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3755 echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3756 EGREP=$ac_cv_prog_egrep
3759 echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3760 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3761 if test "${ac_cv_header_stdc+set}" = set; then
3762 echo $ECHO_N "(cached) $ECHO_C" >&6
3764 cat >conftest.$ac_ext <<_ACEOF
3767 cat confdefs.h >>conftest.$ac_ext
3768 cat >>conftest.$ac_ext <<_ACEOF
3769 /* end confdefs.h. */
3783 rm -f conftest.$ac_objext
3784 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3785 (eval $ac_compile) 2>conftest.er1
3787 grep -v '^ *+' conftest.er1 >conftest.err
3789 cat conftest.err >&5
3790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3791 (exit $ac_status); } &&
3792 { ac_try='test -z "$ac_c_werror_flag"
3793 || test ! -s conftest.err'
3794 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3798 (exit $ac_status); }; } &&
3799 { ac_try='test -s conftest.$ac_objext'
3800 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3804 (exit $ac_status); }; }; then
3805 ac_cv_header_stdc=yes
3807 echo "$as_me: failed program was:" >&5
3808 sed 's/^/| /' conftest.$ac_ext >&5
3810 ac_cv_header_stdc=no
3812 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3814 if test $ac_cv_header_stdc = yes; then
3815 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3816 cat >conftest.$ac_ext <<_ACEOF
3819 cat confdefs.h >>conftest.$ac_ext
3820 cat >>conftest.$ac_ext <<_ACEOF
3821 /* end confdefs.h. */
3825 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3826 $EGREP "memchr" >/dev/null 2>&1; then
3829 ac_cv_header_stdc=no
3835 if test $ac_cv_header_stdc = yes; then
3836 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3837 cat >conftest.$ac_ext <<_ACEOF
3840 cat confdefs.h >>conftest.$ac_ext
3841 cat >>conftest.$ac_ext <<_ACEOF
3842 /* end confdefs.h. */
3846 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3847 $EGREP "free" >/dev/null 2>&1; then
3850 ac_cv_header_stdc=no
3856 if test $ac_cv_header_stdc = yes; then
3857 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3858 if test "$cross_compiling" = yes; then
3861 cat >conftest.$ac_ext <<_ACEOF
3864 cat confdefs.h >>conftest.$ac_ext
3865 cat >>conftest.$ac_ext <<_ACEOF
3866 /* end confdefs.h. */
3868 #if ((' ' & 0x0FF) == 0x020)
3869 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3870 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3872 # define ISLOWER(c) \
3873 (('a' <= (c) && (c) <= 'i') \
3874 || ('j' <= (c) && (c) <= 'r') \
3875 || ('s' <= (c) && (c) <= 'z'))
3876 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3879 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3884 for (i = 0; i < 256; i++)
3885 if (XOR (islower (i), ISLOWER (i))
3886 || toupper (i) != TOUPPER (i))
3891 rm -f conftest$ac_exeext
3892 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3893 (eval $ac_link) 2>&5
3895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3896 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3897 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3901 (exit $ac_status); }; }; then
3904 echo "$as_me: program exited with status $ac_status" >&5
3905 echo "$as_me: failed program was:" >&5
3906 sed 's/^/| /' conftest.$ac_ext >&5
3909 ac_cv_header_stdc=no
3911 rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3915 echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3916 echo "${ECHO_T}$ac_cv_header_stdc" >&6
3917 if test $ac_cv_header_stdc = yes; then
3919 cat >>confdefs.h <<\_ACEOF
3920 #define STDC_HEADERS 1
3925 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3935 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3936 inttypes.h stdint.h unistd.h
3938 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3939 echo "$as_me:$LINENO: checking for $ac_header" >&5
3940 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3941 if eval "test \"\${$as_ac_Header+set}\" = set"; then
3942 echo $ECHO_N "(cached) $ECHO_C" >&6
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 $ac_includes_default
3952 #include <$ac_header>
3954 rm -f conftest.$ac_objext
3955 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3956 (eval $ac_compile) 2>conftest.er1
3958 grep -v '^ *+' conftest.er1 >conftest.err
3960 cat conftest.err >&5
3961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3962 (exit $ac_status); } &&
3963 { ac_try='test -z "$ac_c_werror_flag"
3964 || test ! -s conftest.err'
3965 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3969 (exit $ac_status); }; } &&
3970 { ac_try='test -s conftest.$ac_objext'
3971 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3975 (exit $ac_status); }; }; then
3976 eval "$as_ac_Header=yes"
3978 echo "$as_me: failed program was:" >&5
3979 sed 's/^/| /' conftest.$ac_ext >&5
3981 eval "$as_ac_Header=no"
3983 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3985 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3986 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3987 if test `eval echo '${'$as_ac_Header'}'` = yes; then
3988 cat >>confdefs.h <<_ACEOF
3989 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3998 for ac_header in pty.h
4000 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4001 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4002 echo "$as_me:$LINENO: checking for $ac_header" >&5
4003 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4004 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4005 echo $ECHO_N "(cached) $ECHO_C" >&6
4007 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4008 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4010 # Is the header compilable?
4011 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4012 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4013 cat >conftest.$ac_ext <<_ACEOF
4016 cat confdefs.h >>conftest.$ac_ext
4017 cat >>conftest.$ac_ext <<_ACEOF
4018 /* end confdefs.h. */
4019 $ac_includes_default
4020 #include <$ac_header>
4022 rm -f conftest.$ac_objext
4023 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4024 (eval $ac_compile) 2>conftest.er1
4026 grep -v '^ *+' conftest.er1 >conftest.err
4028 cat conftest.err >&5
4029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4030 (exit $ac_status); } &&
4031 { ac_try='test -z "$ac_c_werror_flag"
4032 || test ! -s conftest.err'
4033 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4037 (exit $ac_status); }; } &&
4038 { ac_try='test -s conftest.$ac_objext'
4039 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4043 (exit $ac_status); }; }; then
4044 ac_header_compiler=yes
4046 echo "$as_me: failed program was:" >&5
4047 sed 's/^/| /' conftest.$ac_ext >&5
4049 ac_header_compiler=no
4051 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4052 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4053 echo "${ECHO_T}$ac_header_compiler" >&6
4055 # Is the header present?
4056 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4057 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4058 cat >conftest.$ac_ext <<_ACEOF
4061 cat confdefs.h >>conftest.$ac_ext
4062 cat >>conftest.$ac_ext <<_ACEOF
4063 /* end confdefs.h. */
4064 #include <$ac_header>
4066 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4067 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4069 grep -v '^ *+' conftest.er1 >conftest.err
4071 cat conftest.err >&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); } >/dev/null; then
4074 if test -s conftest.err; then
4075 ac_cpp_err=$ac_c_preproc_warn_flag
4076 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4083 if test -z "$ac_cpp_err"; then
4084 ac_header_preproc=yes
4086 echo "$as_me: failed program was:" >&5
4087 sed 's/^/| /' conftest.$ac_ext >&5
4089 ac_header_preproc=no
4091 rm -f conftest.err conftest.$ac_ext
4092 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4093 echo "${ECHO_T}$ac_header_preproc" >&6
4095 # So? What about this header?
4096 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4101 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4102 ac_header_preproc=yes
4105 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4106 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4107 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4108 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4109 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4110 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4111 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4112 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4115 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4116 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4119 ## ------------------------------------------ ##
4120 ## Report this to the AC_PACKAGE_NAME lists. ##
4121 ## ------------------------------------------ ##
4124 sed "s/^/$as_me: WARNING: /" >&2
4127 echo "$as_me:$LINENO: checking for $ac_header" >&5
4128 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4129 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4130 echo $ECHO_N "(cached) $ECHO_C" >&6
4132 eval "$as_ac_Header=\$ac_header_preproc"
4134 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4135 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4138 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4139 cat >>confdefs.h <<_ACEOF
4140 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4148 for ac_header in string.h
4150 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4151 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4152 echo "$as_me:$LINENO: checking for $ac_header" >&5
4153 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4154 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4155 echo $ECHO_N "(cached) $ECHO_C" >&6
4157 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4158 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4160 # Is the header compilable?
4161 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4163 cat >conftest.$ac_ext <<_ACEOF
4166 cat confdefs.h >>conftest.$ac_ext
4167 cat >>conftest.$ac_ext <<_ACEOF
4168 /* end confdefs.h. */
4169 $ac_includes_default
4170 #include <$ac_header>
4172 rm -f conftest.$ac_objext
4173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4174 (eval $ac_compile) 2>conftest.er1
4176 grep -v '^ *+' conftest.er1 >conftest.err
4178 cat conftest.err >&5
4179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4180 (exit $ac_status); } &&
4181 { ac_try='test -z "$ac_c_werror_flag"
4182 || test ! -s conftest.err'
4183 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4186 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4187 (exit $ac_status); }; } &&
4188 { ac_try='test -s conftest.$ac_objext'
4189 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4193 (exit $ac_status); }; }; then
4194 ac_header_compiler=yes
4196 echo "$as_me: failed program was:" >&5
4197 sed 's/^/| /' conftest.$ac_ext >&5
4199 ac_header_compiler=no
4201 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4202 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4203 echo "${ECHO_T}$ac_header_compiler" >&6
4205 # Is the header present?
4206 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4207 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4208 cat >conftest.$ac_ext <<_ACEOF
4211 cat confdefs.h >>conftest.$ac_ext
4212 cat >>conftest.$ac_ext <<_ACEOF
4213 /* end confdefs.h. */
4214 #include <$ac_header>
4216 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4217 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4219 grep -v '^ *+' conftest.er1 >conftest.err
4221 cat conftest.err >&5
4222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4223 (exit $ac_status); } >/dev/null; then
4224 if test -s conftest.err; then
4225 ac_cpp_err=$ac_c_preproc_warn_flag
4226 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4233 if test -z "$ac_cpp_err"; then
4234 ac_header_preproc=yes
4236 echo "$as_me: failed program was:" >&5
4237 sed 's/^/| /' conftest.$ac_ext >&5
4239 ac_header_preproc=no
4241 rm -f conftest.err conftest.$ac_ext
4242 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4243 echo "${ECHO_T}$ac_header_preproc" >&6
4245 # So? What about this header?
4246 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4248 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4249 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4251 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4252 ac_header_preproc=yes
4255 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4256 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4257 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4258 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4259 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4260 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4261 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4262 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4263 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4264 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4265 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4266 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4269 ## ------------------------------------------ ##
4270 ## Report this to the AC_PACKAGE_NAME lists. ##
4271 ## ------------------------------------------ ##
4274 sed "s/^/$as_me: WARNING: /" >&2
4277 echo "$as_me:$LINENO: checking for $ac_header" >&5
4278 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4279 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4280 echo $ECHO_N "(cached) $ECHO_C" >&6
4282 eval "$as_ac_Header=\$ac_header_preproc"
4284 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4285 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4288 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4289 cat >>confdefs.h <<_ACEOF
4290 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4298 for ac_header in syslog.h
4300 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4301 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4302 echo "$as_me:$LINENO: checking for $ac_header" >&5
4303 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4304 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4305 echo $ECHO_N "(cached) $ECHO_C" >&6
4307 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4308 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4310 # Is the header compilable?
4311 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4312 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4313 cat >conftest.$ac_ext <<_ACEOF
4316 cat confdefs.h >>conftest.$ac_ext
4317 cat >>conftest.$ac_ext <<_ACEOF
4318 /* end confdefs.h. */
4319 $ac_includes_default
4320 #include <$ac_header>
4322 rm -f conftest.$ac_objext
4323 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4324 (eval $ac_compile) 2>conftest.er1
4326 grep -v '^ *+' conftest.er1 >conftest.err
4328 cat conftest.err >&5
4329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4330 (exit $ac_status); } &&
4331 { ac_try='test -z "$ac_c_werror_flag"
4332 || test ! -s conftest.err'
4333 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4337 (exit $ac_status); }; } &&
4338 { ac_try='test -s conftest.$ac_objext'
4339 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4343 (exit $ac_status); }; }; then
4344 ac_header_compiler=yes
4346 echo "$as_me: failed program was:" >&5
4347 sed 's/^/| /' conftest.$ac_ext >&5
4349 ac_header_compiler=no
4351 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4352 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4353 echo "${ECHO_T}$ac_header_compiler" >&6
4355 # Is the header present?
4356 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4357 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4358 cat >conftest.$ac_ext <<_ACEOF
4361 cat confdefs.h >>conftest.$ac_ext
4362 cat >>conftest.$ac_ext <<_ACEOF
4363 /* end confdefs.h. */
4364 #include <$ac_header>
4366 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4367 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4369 grep -v '^ *+' conftest.er1 >conftest.err
4371 cat conftest.err >&5
4372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4373 (exit $ac_status); } >/dev/null; then
4374 if test -s conftest.err; then
4375 ac_cpp_err=$ac_c_preproc_warn_flag
4376 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4383 if test -z "$ac_cpp_err"; then
4384 ac_header_preproc=yes
4386 echo "$as_me: failed program was:" >&5
4387 sed 's/^/| /' conftest.$ac_ext >&5
4389 ac_header_preproc=no
4391 rm -f conftest.err conftest.$ac_ext
4392 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4393 echo "${ECHO_T}$ac_header_preproc" >&6
4395 # So? What about this header?
4396 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4398 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4399 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4400 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4401 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4402 ac_header_preproc=yes
4405 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4406 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4407 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4408 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4409 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4410 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4411 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4412 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4413 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4414 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4415 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4416 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4419 ## ------------------------------------------ ##
4420 ## Report this to the AC_PACKAGE_NAME lists. ##
4421 ## ------------------------------------------ ##
4424 sed "s/^/$as_me: WARNING: /" >&2
4427 echo "$as_me:$LINENO: checking for $ac_header" >&5
4428 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4429 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4430 echo $ECHO_N "(cached) $ECHO_C" >&6
4432 eval "$as_ac_Header=\$ac_header_preproc"
4434 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4435 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4439 cat >>confdefs.h <<_ACEOF
4440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4448 for ac_header in libutil.h
4450 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4451 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4452 echo "$as_me:$LINENO: checking for $ac_header" >&5
4453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4454 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4455 echo $ECHO_N "(cached) $ECHO_C" >&6
4457 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4458 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4460 # Is the header compilable?
4461 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4462 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4463 cat >conftest.$ac_ext <<_ACEOF
4466 cat confdefs.h >>conftest.$ac_ext
4467 cat >>conftest.$ac_ext <<_ACEOF
4468 /* end confdefs.h. */
4469 $ac_includes_default
4470 #include <$ac_header>
4472 rm -f conftest.$ac_objext
4473 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4474 (eval $ac_compile) 2>conftest.er1
4476 grep -v '^ *+' conftest.er1 >conftest.err
4478 cat conftest.err >&5
4479 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4480 (exit $ac_status); } &&
4481 { ac_try='test -z "$ac_c_werror_flag"
4482 || test ! -s conftest.err'
4483 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4487 (exit $ac_status); }; } &&
4488 { ac_try='test -s conftest.$ac_objext'
4489 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4492 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4493 (exit $ac_status); }; }; then
4494 ac_header_compiler=yes
4496 echo "$as_me: failed program was:" >&5
4497 sed 's/^/| /' conftest.$ac_ext >&5
4499 ac_header_compiler=no
4501 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4502 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4503 echo "${ECHO_T}$ac_header_compiler" >&6
4505 # Is the header present?
4506 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4507 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4508 cat >conftest.$ac_ext <<_ACEOF
4511 cat confdefs.h >>conftest.$ac_ext
4512 cat >>conftest.$ac_ext <<_ACEOF
4513 /* end confdefs.h. */
4514 #include <$ac_header>
4516 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4517 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4519 grep -v '^ *+' conftest.er1 >conftest.err
4521 cat conftest.err >&5
4522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4523 (exit $ac_status); } >/dev/null; then
4524 if test -s conftest.err; then
4525 ac_cpp_err=$ac_c_preproc_warn_flag
4526 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4533 if test -z "$ac_cpp_err"; then
4534 ac_header_preproc=yes
4536 echo "$as_me: failed program was:" >&5
4537 sed 's/^/| /' conftest.$ac_ext >&5
4539 ac_header_preproc=no
4541 rm -f conftest.err conftest.$ac_ext
4542 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4543 echo "${ECHO_T}$ac_header_preproc" >&6
4545 # So? What about this header?
4546 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4548 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4549 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4550 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4551 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4552 ac_header_preproc=yes
4555 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4556 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4557 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4558 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4559 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4560 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4561 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4562 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4564 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4565 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4566 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4569 ## ------------------------------------------ ##
4570 ## Report this to the AC_PACKAGE_NAME lists. ##
4571 ## ------------------------------------------ ##
4574 sed "s/^/$as_me: WARNING: /" >&2
4577 echo "$as_me:$LINENO: checking for $ac_header" >&5
4578 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4579 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4580 echo $ECHO_N "(cached) $ECHO_C" >&6
4582 eval "$as_ac_Header=\$ac_header_preproc"
4584 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4585 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4589 cat >>confdefs.h <<_ACEOF
4590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4598 for ac_header in sys/uio.h
4600 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4601 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4602 echo "$as_me:$LINENO: checking for $ac_header" >&5
4603 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4604 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4608 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4610 # Is the header compilable?
4611 echo "$as_me:$LINENO: checking $ac_header usability" >&5
4612 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4613 cat >conftest.$ac_ext <<_ACEOF
4616 cat confdefs.h >>conftest.$ac_ext
4617 cat >>conftest.$ac_ext <<_ACEOF
4618 /* end confdefs.h. */
4619 $ac_includes_default
4620 #include <$ac_header>
4622 rm -f conftest.$ac_objext
4623 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4624 (eval $ac_compile) 2>conftest.er1
4626 grep -v '^ *+' conftest.er1 >conftest.err
4628 cat conftest.err >&5
4629 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4630 (exit $ac_status); } &&
4631 { ac_try='test -z "$ac_c_werror_flag"
4632 || test ! -s conftest.err'
4633 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4637 (exit $ac_status); }; } &&
4638 { ac_try='test -s conftest.$ac_objext'
4639 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4643 (exit $ac_status); }; }; then
4644 ac_header_compiler=yes
4646 echo "$as_me: failed program was:" >&5
4647 sed 's/^/| /' conftest.$ac_ext >&5
4649 ac_header_compiler=no
4651 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4652 echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4653 echo "${ECHO_T}$ac_header_compiler" >&6
4655 # Is the header present?
4656 echo "$as_me:$LINENO: checking $ac_header presence" >&5
4657 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4658 cat >conftest.$ac_ext <<_ACEOF
4661 cat confdefs.h >>conftest.$ac_ext
4662 cat >>conftest.$ac_ext <<_ACEOF
4663 /* end confdefs.h. */
4664 #include <$ac_header>
4666 if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4667 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4669 grep -v '^ *+' conftest.er1 >conftest.err
4671 cat conftest.err >&5
4672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4673 (exit $ac_status); } >/dev/null; then
4674 if test -s conftest.err; then
4675 ac_cpp_err=$ac_c_preproc_warn_flag
4676 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4683 if test -z "$ac_cpp_err"; then
4684 ac_header_preproc=yes
4686 echo "$as_me: failed program was:" >&5
4687 sed 's/^/| /' conftest.$ac_ext >&5
4689 ac_header_preproc=no
4691 rm -f conftest.err conftest.$ac_ext
4692 echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4693 echo "${ECHO_T}$ac_header_preproc" >&6
4695 # So? What about this header?
4696 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4698 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4699 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4700 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4701 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4702 ac_header_preproc=yes
4705 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4706 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4707 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4708 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4709 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4710 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4711 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4712 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4713 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4714 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4715 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4716 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4719 ## ------------------------------------------ ##
4720 ## Report this to the AC_PACKAGE_NAME lists. ##
4721 ## ------------------------------------------ ##
4724 sed "s/^/$as_me: WARNING: /" >&2
4727 echo "$as_me:$LINENO: checking for $ac_header" >&5
4728 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4729 if eval "test \"\${$as_ac_Header+set}\" = set"; then
4730 echo $ECHO_N "(cached) $ECHO_C" >&6
4732 eval "$as_ac_Header=\$ac_header_preproc"
4734 echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4735 echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4738 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4739 cat >>confdefs.h <<_ACEOF
4740 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4748 echo "$as_me:$LINENO: checking for size_t" >&5
4749 echo $ECHO_N "checking for size_t... $ECHO_C" >&6
4750 if test "${ac_cv_type_size_t+set}" = set; then
4751 echo $ECHO_N "(cached) $ECHO_C" >&6
4753 cat >conftest.$ac_ext <<_ACEOF
4756 cat confdefs.h >>conftest.$ac_ext
4757 cat >>conftest.$ac_ext <<_ACEOF
4758 /* end confdefs.h. */
4759 $ac_includes_default
4765 if (sizeof (size_t))
4771 rm -f conftest.$ac_objext
4772 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4773 (eval $ac_compile) 2>conftest.er1
4775 grep -v '^ *+' conftest.er1 >conftest.err
4777 cat conftest.err >&5
4778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4779 (exit $ac_status); } &&
4780 { ac_try='test -z "$ac_c_werror_flag"
4781 || test ! -s conftest.err'
4782 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4786 (exit $ac_status); }; } &&
4787 { ac_try='test -s conftest.$ac_objext'
4788 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4792 (exit $ac_status); }; }; then
4793 ac_cv_type_size_t=yes
4795 echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.$ac_ext >&5
4798 ac_cv_type_size_t=no
4800 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4802 echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
4803 echo "${ECHO_T}$ac_cv_type_size_t" >&6
4804 if test $ac_cv_type_size_t = yes; then
4808 cat >>confdefs.h <<_ACEOF
4809 #define size_t unsigned int
4814 echo "$as_me:$LINENO: checking for ssize_t" >&5
4815 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6
4816 if test "${ac_cv_type_ssize_t+set}" = set; then
4817 echo $ECHO_N "(cached) $ECHO_C" >&6
4819 cat >conftest.$ac_ext <<_ACEOF
4822 cat confdefs.h >>conftest.$ac_ext
4823 cat >>conftest.$ac_ext <<_ACEOF
4824 /* end confdefs.h. */
4825 $ac_includes_default
4831 if (sizeof (ssize_t))
4837 rm -f conftest.$ac_objext
4838 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4839 (eval $ac_compile) 2>conftest.er1
4841 grep -v '^ *+' conftest.er1 >conftest.err
4843 cat conftest.err >&5
4844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4845 (exit $ac_status); } &&
4846 { ac_try='test -z "$ac_c_werror_flag"
4847 || test ! -s conftest.err'
4848 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4852 (exit $ac_status); }; } &&
4853 { ac_try='test -s conftest.$ac_objext'
4854 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4858 (exit $ac_status); }; }; then
4859 ac_cv_type_ssize_t=yes
4861 echo "$as_me: failed program was:" >&5
4862 sed 's/^/| /' conftest.$ac_ext >&5
4864 ac_cv_type_ssize_t=no
4866 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4868 echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
4869 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6
4870 if test $ac_cv_type_ssize_t = yes; then
4874 cat >>confdefs.h <<_ACEOF
4880 echo "$as_me:$LINENO: checking for u_int8_t" >&5
4881 echo $ECHO_N "checking for u_int8_t... $ECHO_C" >&6
4882 if test "${ac_cv_type_u_int8_t+set}" = set; then
4883 echo $ECHO_N "(cached) $ECHO_C" >&6
4885 cat >conftest.$ac_ext <<_ACEOF
4888 cat confdefs.h >>conftest.$ac_ext
4889 cat >>conftest.$ac_ext <<_ACEOF
4890 /* end confdefs.h. */
4891 $ac_includes_default
4897 if (sizeof (u_int8_t))
4903 rm -f conftest.$ac_objext
4904 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4905 (eval $ac_compile) 2>conftest.er1
4907 grep -v '^ *+' conftest.er1 >conftest.err
4909 cat conftest.err >&5
4910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4911 (exit $ac_status); } &&
4912 { ac_try='test -z "$ac_c_werror_flag"
4913 || test ! -s conftest.err'
4914 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4918 (exit $ac_status); }; } &&
4919 { ac_try='test -s conftest.$ac_objext'
4920 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4924 (exit $ac_status); }; }; then
4925 ac_cv_type_u_int8_t=yes
4927 echo "$as_me: failed program was:" >&5
4928 sed 's/^/| /' conftest.$ac_ext >&5
4930 ac_cv_type_u_int8_t=no
4932 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4934 echo "$as_me:$LINENO: result: $ac_cv_type_u_int8_t" >&5
4935 echo "${ECHO_T}$ac_cv_type_u_int8_t" >&6
4936 if test $ac_cv_type_u_int8_t = yes; then
4940 cat >>confdefs.h <<_ACEOF
4941 #define u_int8_t unsigned char
4946 echo "$as_me:$LINENO: checking for u_int16_t" >&5
4947 echo $ECHO_N "checking for u_int16_t... $ECHO_C" >&6
4948 if test "${ac_cv_type_u_int16_t+set}" = set; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 cat >conftest.$ac_ext <<_ACEOF
4954 cat confdefs.h >>conftest.$ac_ext
4955 cat >>conftest.$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4957 $ac_includes_default
4961 if ((u_int16_t *) 0)
4963 if (sizeof (u_int16_t))
4969 rm -f conftest.$ac_objext
4970 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4971 (eval $ac_compile) 2>conftest.er1
4973 grep -v '^ *+' conftest.er1 >conftest.err
4975 cat conftest.err >&5
4976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4977 (exit $ac_status); } &&
4978 { ac_try='test -z "$ac_c_werror_flag"
4979 || test ! -s conftest.err'
4980 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4984 (exit $ac_status); }; } &&
4985 { ac_try='test -s conftest.$ac_objext'
4986 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4991 ac_cv_type_u_int16_t=yes
4993 echo "$as_me: failed program was:" >&5
4994 sed 's/^/| /' conftest.$ac_ext >&5
4996 ac_cv_type_u_int16_t=no
4998 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5000 echo "$as_me:$LINENO: result: $ac_cv_type_u_int16_t" >&5
5001 echo "${ECHO_T}$ac_cv_type_u_int16_t" >&6
5002 if test $ac_cv_type_u_int16_t = yes; then
5006 cat >>confdefs.h <<_ACEOF
5007 #define u_int16_t unsigned short
5012 echo "$as_me:$LINENO: checking for u_int32_t" >&5
5013 echo $ECHO_N "checking for u_int32_t... $ECHO_C" >&6
5014 if test "${ac_cv_type_u_int32_t+set}" = set; then
5015 echo $ECHO_N "(cached) $ECHO_C" >&6
5017 cat >conftest.$ac_ext <<_ACEOF
5020 cat confdefs.h >>conftest.$ac_ext
5021 cat >>conftest.$ac_ext <<_ACEOF
5022 /* end confdefs.h. */
5023 $ac_includes_default
5027 if ((u_int32_t *) 0)
5029 if (sizeof (u_int32_t))
5035 rm -f conftest.$ac_objext
5036 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5037 (eval $ac_compile) 2>conftest.er1
5039 grep -v '^ *+' conftest.er1 >conftest.err
5041 cat conftest.err >&5
5042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5043 (exit $ac_status); } &&
5044 { ac_try='test -z "$ac_c_werror_flag"
5045 || test ! -s conftest.err'
5046 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5050 (exit $ac_status); }; } &&
5051 { ac_try='test -s conftest.$ac_objext'
5052 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5056 (exit $ac_status); }; }; then
5057 ac_cv_type_u_int32_t=yes
5059 echo "$as_me: failed program was:" >&5
5060 sed 's/^/| /' conftest.$ac_ext >&5
5062 ac_cv_type_u_int32_t=no
5064 rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5066 echo "$as_me:$LINENO: result: $ac_cv_type_u_int32_t" >&5
5067 echo "${ECHO_T}$ac_cv_type_u_int32_t" >&6
5068 if test $ac_cv_type_u_int32_t = yes; then
5072 cat >>confdefs.h <<_ACEOF
5073 #define u_int32_t unsigned int
5079 echo "$as_me:$LINENO: checking for socklen_t" >&5
5080 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6
5081 if test "${ac_cv_type_socklen_t+set}" = set; then
5082 echo $ECHO_N "(cached) $ECHO_C" >&6
5085 cat >conftest.$ac_ext <<_ACEOF
5088 cat confdefs.h >>conftest.$ac_ext
5089 cat >>conftest.$ac_ext <<_ACEOF
5090 /* end confdefs.h. */
5091 #include <sys/types.h>
5092 #include <sys/socket.h>
5098 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5099 $EGREP "socklen_t[^a-zA-Z_0-9]" >/dev/null 2>&1; then
5100 ac_cv_type_socklen_t=yes
5102 ac_cv_type_socklen_t=no
5108 echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
5109 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6
5110 if test $ac_cv_type_socklen_t = no; then
5111 cat >>confdefs.h <<\_ACEOF
5112 #define socklen_t int
5118 # Check whether --with-libwrap or --without-libwrap was given.
5119 if test "${with_libwrap+set}" = set; then
5120 withval="$with_libwrap"
5122 if test "$with_libwrap" = "yes"; then
5124 echo "$as_me:$LINENO: checking for libwrap alone" >&5
5125 echo $ECHO_N "checking for libwrap alone... $ECHO_C" >&6
5126 LIBS="$XYZZY_LIBS -lwrap"
5127 cat >conftest.$ac_ext <<_ACEOF
5130 cat confdefs.h >>conftest.$ac_ext
5131 cat >>conftest.$ac_ext <<_ACEOF
5132 /* end confdefs.h. */
5133 int allow_severity, deny_severity;
5142 rm -f conftest.$ac_objext conftest$ac_exeext
5143 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5144 (eval $ac_link) 2>conftest.er1
5146 grep -v '^ *+' conftest.er1 >conftest.err
5148 cat conftest.err >&5
5149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5150 (exit $ac_status); } &&
5151 { ac_try='test -z "$ac_c_werror_flag"
5152 || test ! -s conftest.err'
5153 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5157 (exit $ac_status); }; } &&
5158 { ac_try='test -s conftest$ac_exeext'
5159 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5163 (exit $ac_status); }; }; then
5164 echo "$as_me:$LINENO: result: yes" >&5
5165 echo "${ECHO_T}yes" >&6
5166 cat >>confdefs.h <<\_ACEOF
5167 #define HAVE_LIBWRAP 1
5171 XTRALIBS_MGR="-lwrap"
5173 echo "$as_me: failed program was:" >&5
5174 sed 's/^/| /' conftest.$ac_ext >&5
5176 echo "$as_me:$LINENO: result: no" >&5
5177 echo "${ECHO_T}no" >&6
5178 LIBS="$XYZZY_LIBS -lwrap -lnsl"
5179 echo "$as_me:$LINENO: checking for libwrap with libnsl" >&5
5180 echo $ECHO_N "checking for libwrap with libnsl... $ECHO_C" >&6
5181 cat >conftest.$ac_ext <<_ACEOF
5184 cat confdefs.h >>conftest.$ac_ext
5185 cat >>conftest.$ac_ext <<_ACEOF
5186 /* end confdefs.h. */
5187 int allow_severity, deny_severity;
5196 rm -f conftest.$ac_objext conftest$ac_exeext
5197 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5198 (eval $ac_link) 2>conftest.er1
5200 grep -v '^ *+' conftest.er1 >conftest.err
5202 cat conftest.err >&5
5203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5204 (exit $ac_status); } &&
5205 { ac_try='test -z "$ac_c_werror_flag"
5206 || test ! -s conftest.err'
5207 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5211 (exit $ac_status); }; } &&
5212 { ac_try='test -s conftest$ac_exeext'
5213 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5217 (exit $ac_status); }; }; then
5218 echo "$as_me:$LINENO: result: yes" >&5
5219 echo "${ECHO_T}yes" >&6
5220 cat >>confdefs.h <<\_ACEOF
5221 #define HAVE_LIBWRAP 1
5225 XTRALIBS_MGR="-lwrap -lnsl"
5227 echo "$as_me: failed program was:" >&5
5228 sed 's/^/| /' conftest.$ac_ext >&5
5230 echo "$as_me:$LINENO: result: no" >&5
5231 echo "${ECHO_T}no" >&6
5233 rm -f conftest.err conftest.$ac_objext \
5234 conftest$ac_exeext conftest.$ac_ext
5237 rm -f conftest.err conftest.$ac_objext \
5238 conftest$ac_exeext conftest.$ac_ext
5246 echo "$as_me:$LINENO: checking for accept in -lc" >&5
5247 echo $ECHO_N "checking for accept in -lc... $ECHO_C" >&6
5248 if test "${ac_cv_lib_c_accept+set}" = set; then
5249 echo $ECHO_N "(cached) $ECHO_C" >&6
5251 ac_check_lib_save_LIBS=$LIBS
5253 cat >conftest.$ac_ext <<_ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5260 /* Override any gcc2 internal prototype to avoid an error. */
5264 /* We use char because int might match the return type of a gcc2
5265 builtin and then its argument prototype would still apply. */
5275 rm -f conftest.$ac_objext conftest$ac_exeext
5276 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5277 (eval $ac_link) 2>conftest.er1
5279 grep -v '^ *+' conftest.er1 >conftest.err
5281 cat conftest.err >&5
5282 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5283 (exit $ac_status); } &&
5284 { ac_try='test -z "$ac_c_werror_flag"
5285 || test ! -s conftest.err'
5286 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5290 (exit $ac_status); }; } &&
5291 { ac_try='test -s conftest$ac_exeext'
5292 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5296 (exit $ac_status); }; }; then
5297 ac_cv_lib_c_accept=yes
5299 echo "$as_me: failed program was:" >&5
5300 sed 's/^/| /' conftest.$ac_ext >&5
5302 ac_cv_lib_c_accept=no
5304 rm -f conftest.err conftest.$ac_objext \
5305 conftest$ac_exeext conftest.$ac_ext
5306 LIBS=$ac_check_lib_save_LIBS
5308 echo "$as_me:$LINENO: result: $ac_cv_lib_c_accept" >&5
5309 echo "${ECHO_T}$ac_cv_lib_c_accept" >&6
5310 if test $ac_cv_lib_c_accept = yes; then
5311 cat >>confdefs.h <<_ACEOF
5320 echo "$as_me:$LINENO: checking for gethostbyname in -lc" >&5
5321 echo $ECHO_N "checking for gethostbyname in -lc... $ECHO_C" >&6
5322 if test "${ac_cv_lib_c_gethostbyname+set}" = set; then
5323 echo $ECHO_N "(cached) $ECHO_C" >&6
5325 ac_check_lib_save_LIBS=$LIBS
5327 cat >conftest.$ac_ext <<_ACEOF
5330 cat confdefs.h >>conftest.$ac_ext
5331 cat >>conftest.$ac_ext <<_ACEOF
5332 /* end confdefs.h. */
5334 /* Override any gcc2 internal prototype to avoid an error. */
5338 /* We use char because int might match the return type of a gcc2
5339 builtin and then its argument prototype would still apply. */
5340 char gethostbyname ();
5349 rm -f conftest.$ac_objext conftest$ac_exeext
5350 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5351 (eval $ac_link) 2>conftest.er1
5353 grep -v '^ *+' conftest.er1 >conftest.err
5355 cat conftest.err >&5
5356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5357 (exit $ac_status); } &&
5358 { ac_try='test -z "$ac_c_werror_flag"
5359 || test ! -s conftest.err'
5360 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5364 (exit $ac_status); }; } &&
5365 { ac_try='test -s conftest$ac_exeext'
5366 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5370 (exit $ac_status); }; }; then
5371 ac_cv_lib_c_gethostbyname=yes
5373 echo "$as_me: failed program was:" >&5
5374 sed 's/^/| /' conftest.$ac_ext >&5
5376 ac_cv_lib_c_gethostbyname=no
5378 rm -f conftest.err conftest.$ac_objext \
5379 conftest$ac_exeext conftest.$ac_ext
5380 LIBS=$ac_check_lib_save_LIBS
5382 echo "$as_me:$LINENO: result: $ac_cv_lib_c_gethostbyname" >&5
5383 echo "${ECHO_T}$ac_cv_lib_c_gethostbyname" >&6
5384 if test $ac_cv_lib_c_gethostbyname = yes; then
5385 cat >>confdefs.h <<_ACEOF
5394 echo "$as_me:$LINENO: checking for openpty in -lc" >&5
5395 echo $ECHO_N "checking for openpty in -lc... $ECHO_C" >&6
5396 if test "${ac_cv_lib_c_openpty+set}" = set; then
5397 echo $ECHO_N "(cached) $ECHO_C" >&6
5399 ac_check_lib_save_LIBS=$LIBS
5401 cat >conftest.$ac_ext <<_ACEOF
5404 cat confdefs.h >>conftest.$ac_ext
5405 cat >>conftest.$ac_ext <<_ACEOF
5406 /* end confdefs.h. */
5408 /* Override any gcc2 internal prototype to avoid an error. */
5412 /* We use char because int might match the return type of a gcc2
5413 builtin and then its argument prototype would still apply. */
5423 rm -f conftest.$ac_objext conftest$ac_exeext
5424 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5425 (eval $ac_link) 2>conftest.er1
5427 grep -v '^ *+' conftest.er1 >conftest.err
5429 cat conftest.err >&5
5430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5431 (exit $ac_status); } &&
5432 { ac_try='test -z "$ac_c_werror_flag"
5433 || test ! -s conftest.err'
5434 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5438 (exit $ac_status); }; } &&
5439 { ac_try='test -s conftest$ac_exeext'
5440 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5444 (exit $ac_status); }; }; then
5445 ac_cv_lib_c_openpty=yes
5447 echo "$as_me: failed program was:" >&5
5448 sed 's/^/| /' conftest.$ac_ext >&5
5450 ac_cv_lib_c_openpty=no
5452 rm -f conftest.err conftest.$ac_objext \
5453 conftest$ac_exeext conftest.$ac_ext
5454 LIBS=$ac_check_lib_save_LIBS
5456 echo "$as_me:$LINENO: result: $ac_cv_lib_c_openpty" >&5
5457 echo "${ECHO_T}$ac_cv_lib_c_openpty" >&6
5458 if test $ac_cv_lib_c_openpty = yes; then
5459 cat >>confdefs.h <<_ACEOF
5468 echo "$as_me:$LINENO: checking for gettext in -lc" >&5
5469 echo $ECHO_N "checking for gettext in -lc... $ECHO_C" >&6
5470 if test "${ac_cv_lib_c_gettext+set}" = set; then
5471 echo $ECHO_N "(cached) $ECHO_C" >&6
5473 ac_check_lib_save_LIBS=$LIBS
5475 cat >conftest.$ac_ext <<_ACEOF
5478 cat confdefs.h >>conftest.$ac_ext
5479 cat >>conftest.$ac_ext <<_ACEOF
5480 /* end confdefs.h. */
5482 /* Override any gcc2 internal prototype to avoid an error. */
5486 /* We use char because int might match the return type of a gcc2
5487 builtin and then its argument prototype would still apply. */
5497 rm -f conftest.$ac_objext conftest$ac_exeext
5498 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5499 (eval $ac_link) 2>conftest.er1
5501 grep -v '^ *+' conftest.er1 >conftest.err
5503 cat conftest.err >&5
5504 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5505 (exit $ac_status); } &&
5506 { ac_try='test -z "$ac_c_werror_flag"
5507 || test ! -s conftest.err'
5508 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5512 (exit $ac_status); }; } &&
5513 { ac_try='test -s conftest$ac_exeext'
5514 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5518 (exit $ac_status); }; }; then
5519 ac_cv_lib_c_gettext=yes
5521 echo "$as_me: failed program was:" >&5
5522 sed 's/^/| /' conftest.$ac_ext >&5
5524 ac_cv_lib_c_gettext=no
5526 rm -f conftest.err conftest.$ac_objext \
5527 conftest$ac_exeext conftest.$ac_ext
5528 LIBS=$ac_check_lib_save_LIBS
5530 echo "$as_me:$LINENO: result: $ac_cv_lib_c_gettext" >&5
5531 echo "${ECHO_T}$ac_cv_lib_c_gettext" >&6
5532 if test $ac_cv_lib_c_gettext = yes; then
5533 cat >>confdefs.h <<_ACEOF
5542 echo "$as_me:$LINENO: checking for accept in -lsocket" >&5
5543 echo $ECHO_N "checking for accept in -lsocket... $ECHO_C" >&6
5544 if test "${ac_cv_lib_socket_accept+set}" = set; then
5545 echo $ECHO_N "(cached) $ECHO_C" >&6
5547 ac_check_lib_save_LIBS=$LIBS
5548 LIBS="-lsocket $LIBS"
5549 cat >conftest.$ac_ext <<_ACEOF
5552 cat confdefs.h >>conftest.$ac_ext
5553 cat >>conftest.$ac_ext <<_ACEOF
5554 /* end confdefs.h. */
5556 /* Override any gcc2 internal prototype to avoid an error. */
5560 /* We use char because int might match the return type of a gcc2
5561 builtin and then its argument prototype would still apply. */
5571 rm -f conftest.$ac_objext conftest$ac_exeext
5572 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5573 (eval $ac_link) 2>conftest.er1
5575 grep -v '^ *+' conftest.er1 >conftest.err
5577 cat conftest.err >&5
5578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5579 (exit $ac_status); } &&
5580 { ac_try='test -z "$ac_c_werror_flag"
5581 || test ! -s conftest.err'
5582 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5586 (exit $ac_status); }; } &&
5587 { ac_try='test -s conftest$ac_exeext'
5588 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5592 (exit $ac_status); }; }; then
5593 ac_cv_lib_socket_accept=yes
5595 echo "$as_me: failed program was:" >&5
5596 sed 's/^/| /' conftest.$ac_ext >&5
5598 ac_cv_lib_socket_accept=no
5600 rm -f conftest.err conftest.$ac_objext \
5601 conftest$ac_exeext conftest.$ac_ext
5602 LIBS=$ac_check_lib_save_LIBS
5604 echo "$as_me:$LINENO: result: $ac_cv_lib_socket_accept" >&5
5605 echo "${ECHO_T}$ac_cv_lib_socket_accept" >&6
5606 if test $ac_cv_lib_socket_accept = yes; then
5607 cat >>confdefs.h <<_ACEOF
5608 #define HAVE_LIBSOCKET 1
5611 LIBS="-lsocket $LIBS"
5616 echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
5617 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6
5618 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
5619 echo $ECHO_N "(cached) $ECHO_C" >&6
5621 ac_check_lib_save_LIBS=$LIBS
5623 cat >conftest.$ac_ext <<_ACEOF
5626 cat confdefs.h >>conftest.$ac_ext
5627 cat >>conftest.$ac_ext <<_ACEOF
5628 /* end confdefs.h. */
5630 /* Override any gcc2 internal prototype to avoid an error. */
5634 /* We use char because int might match the return type of a gcc2
5635 builtin and then its argument prototype would still apply. */
5636 char gethostbyname ();
5645 rm -f conftest.$ac_objext conftest$ac_exeext
5646 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5647 (eval $ac_link) 2>conftest.er1
5649 grep -v '^ *+' conftest.er1 >conftest.err
5651 cat conftest.err >&5
5652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5653 (exit $ac_status); } &&
5654 { ac_try='test -z "$ac_c_werror_flag"
5655 || test ! -s conftest.err'
5656 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5660 (exit $ac_status); }; } &&
5661 { ac_try='test -s conftest$ac_exeext'
5662 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5666 (exit $ac_status); }; }; then
5667 ac_cv_lib_nsl_gethostbyname=yes
5669 echo "$as_me: failed program was:" >&5
5670 sed 's/^/| /' conftest.$ac_ext >&5
5672 ac_cv_lib_nsl_gethostbyname=no
5674 rm -f conftest.err conftest.$ac_objext \
5675 conftest$ac_exeext conftest.$ac_ext
5676 LIBS=$ac_check_lib_save_LIBS
5678 echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
5679 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6
5680 if test $ac_cv_lib_nsl_gethostbyname = yes; then
5681 cat >>confdefs.h <<_ACEOF
5682 #define HAVE_LIBNSL 1
5690 echo "$as_me:$LINENO: checking for openpty in -lutil" >&5
5691 echo $ECHO_N "checking for openpty in -lutil... $ECHO_C" >&6
5692 if test "${ac_cv_lib_util_openpty+set}" = set; then
5693 echo $ECHO_N "(cached) $ECHO_C" >&6
5695 ac_check_lib_save_LIBS=$LIBS
5697 cat >conftest.$ac_ext <<_ACEOF
5700 cat confdefs.h >>conftest.$ac_ext
5701 cat >>conftest.$ac_ext <<_ACEOF
5702 /* end confdefs.h. */
5704 /* Override any gcc2 internal prototype to avoid an error. */
5708 /* We use char because int might match the return type of a gcc2
5709 builtin and then its argument prototype would still apply. */
5719 rm -f conftest.$ac_objext conftest$ac_exeext
5720 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5721 (eval $ac_link) 2>conftest.er1
5723 grep -v '^ *+' conftest.er1 >conftest.err
5725 cat conftest.err >&5
5726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5727 (exit $ac_status); } &&
5728 { ac_try='test -z "$ac_c_werror_flag"
5729 || test ! -s conftest.err'
5730 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5734 (exit $ac_status); }; } &&
5735 { ac_try='test -s conftest$ac_exeext'
5736 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5740 (exit $ac_status); }; }; then
5741 ac_cv_lib_util_openpty=yes
5743 echo "$as_me: failed program was:" >&5
5744 sed 's/^/| /' conftest.$ac_ext >&5
5746 ac_cv_lib_util_openpty=no
5748 rm -f conftest.err conftest.$ac_objext \
5749 conftest$ac_exeext conftest.$ac_ext
5750 LIBS=$ac_check_lib_save_LIBS
5752 echo "$as_me:$LINENO: result: $ac_cv_lib_util_openpty" >&5
5753 echo "${ECHO_T}$ac_cv_lib_util_openpty" >&6
5754 if test $ac_cv_lib_util_openpty = yes; then
5755 cat >>confdefs.h <<_ACEOF
5756 #define HAVE_LIBUTIL 1
5764 echo "$as_me:$LINENO: checking for gettext in -lintl" >&5
5765 echo $ECHO_N "checking for gettext in -lintl... $ECHO_C" >&6
5766 if test "${ac_cv_lib_intl_gettext+set}" = set; then
5767 echo $ECHO_N "(cached) $ECHO_C" >&6
5769 ac_check_lib_save_LIBS=$LIBS
5771 cat >conftest.$ac_ext <<_ACEOF
5774 cat confdefs.h >>conftest.$ac_ext
5775 cat >>conftest.$ac_ext <<_ACEOF
5776 /* end confdefs.h. */
5778 /* Override any gcc2 internal prototype to avoid an error. */
5782 /* We use char because int might match the return type of a gcc2
5783 builtin and then its argument prototype would still apply. */
5793 rm -f conftest.$ac_objext conftest$ac_exeext
5794 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5795 (eval $ac_link) 2>conftest.er1
5797 grep -v '^ *+' conftest.er1 >conftest.err
5799 cat conftest.err >&5
5800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5801 (exit $ac_status); } &&
5802 { ac_try='test -z "$ac_c_werror_flag"
5803 || test ! -s conftest.err'
5804 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808 (exit $ac_status); }; } &&
5809 { ac_try='test -s conftest$ac_exeext'
5810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5814 (exit $ac_status); }; }; then
5815 ac_cv_lib_intl_gettext=yes
5817 echo "$as_me: failed program was:" >&5
5818 sed 's/^/| /' conftest.$ac_ext >&5
5820 ac_cv_lib_intl_gettext=no
5822 rm -f conftest.err conftest.$ac_objext \
5823 conftest$ac_exeext conftest.$ac_ext
5824 LIBS=$ac_check_lib_save_LIBS
5826 echo "$as_me:$LINENO: result: $ac_cv_lib_intl_gettext" >&5
5827 echo "${ECHO_T}$ac_cv_lib_intl_gettext" >&6
5828 if test $ac_cv_lib_intl_gettext = yes; then
5829 cat >>confdefs.h <<_ACEOF
5830 #define HAVE_LIBINTL 1
5838 if test "$ac_cv_lib_c_accept" = no; then
5839 if test "$ac_cv_lib_socket_accept" = yes; then
5840 LIBS="$LIBS -lsocket"
5842 echo "Couldn't find a usable accept!" 1>&2
5846 if test "$ac_cv_lib_c_gethostbyname" = no; then
5847 if test "$ac_cv_lib_nsl_gethostbyname" = yes; then
5849 if test "$XTRALIBS_MGR" = "-lwrap -lnsl"; then
5850 XTRALIBS_MGR="-lwrap"
5853 echo "Couldn't find a usable gethostbyname!" 1>&2
5857 if test "$ac_cv_lib_c_openpty" = yes; then
5858 cat >>confdefs.h <<\_ACEOF
5859 #define HAVE_OPENPTY 1
5863 if test "$ac_cv_lib_util_openpty" = yes; then
5864 cat >>confdefs.h <<\_ACEOF
5865 #define HAVE_OPENPTY 1
5868 XTRALIBS_CTRL="-lutil"
5871 if test "$ac_cv_header_libintl_h" = yes; then
5872 if test "$ac_cv_lib_c_gettext" = no; then
5873 if test "$ac_cv_lib_intl_gettext" = yes; then
5874 XTRALIBS_MGR = "$XTRALIBS_MGR -lintl"
5876 echo "Have libintl.h but no usable gettext!" 1>&2
5886 if test "$BCRELAY" = "yes"; then
5887 if test "$BCRELAY" = "yes"; then
5891 echo "No BCrelay selected." 1>&2
5897 echo '==============================================================================='
5899 echo 'Configuration chosen:'
5902 if test "$BSDUSER_PPP" = "yes"; then
5903 echo 'BSD user-space PPPd.'
5905 if test "$SLIRP" = "yes"; then
5912 echo -n ' LIBWRAP security: '
5913 if test "$LIBWRAP" = "yes"; then
5919 echo -n ' Broadcast Relay: '
5920 if test "$BCRELAY" = "yes"; then
5926 cat >confcache <<\_ACEOF
5927 # This file is a shell script that caches the results of configure
5928 # tests run on this system so they can be shared between configure
5929 # scripts and configure runs, see configure's option --config-cache.
5930 # It is not useful on other systems. If it contains results you don't
5931 # want to keep, you may remove or edit it.
5933 # config.status only pays attention to the cache file if you give it
5934 # the --recheck option to rerun configure.
5936 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5937 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5942 # The following way of writing the cache mishandles newlines in values,
5943 # but we know of no workaround that is simple, portable, and efficient.
5944 # So, don't put newlines in cache variables' values.
5945 # Ultrix sh set writes to stderr and can't be redirected directly,
5946 # and sets the high bit in the cache file unless we assign to the vars.
5949 case `(ac_space=' '; set | grep ac_space) 2>&1` in
5951 # `set' does not quote correctly, so add quotes (double-quote
5952 # substitution turns \\\\ into \\, and sed turns \\ into \).
5955 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5958 # `set' quotes correctly as required by POSIX, so do not add quotes.
5960 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
5967 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5969 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5971 if diff $cache_file confcache >/dev/null 2>&1; then :; else
5972 if test -w $cache_file; then
5973 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
5974 cat confcache >$cache_file
5976 echo "not updating unwritable cache $cache_file"
5980 ac_config_files="$ac_config_files Makefile"
5981 cat >confcache <<\_ACEOF
5982 # This file is a shell script that caches the results of configure
5983 # tests run on this system so they can be shared between configure
5984 # scripts and configure runs, see configure's option --config-cache.
5985 # It is not useful on other systems. If it contains results you don't
5986 # want to keep, you may remove or edit it.
5988 # config.status only pays attention to the cache file if you give it
5989 # the --recheck option to rerun configure.
5991 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5992 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5997 # The following way of writing the cache mishandles newlines in values,
5998 # but we know of no workaround that is simple, portable, and efficient.
5999 # So, don't put newlines in cache variables' values.
6000 # Ultrix sh set writes to stderr and can't be redirected directly,
6001 # and sets the high bit in the cache file unless we assign to the vars.
6004 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6006 # `set' does not quote correctly, so add quotes (double-quote
6007 # substitution turns \\\\ into \\, and sed turns \\ into \).
6010 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6013 # `set' quotes correctly as required by POSIX, so do not add quotes.
6015 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6022 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6024 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6026 if diff $cache_file confcache >/dev/null 2>&1; then :; else
6027 if test -w $cache_file; then
6028 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6029 cat confcache >$cache_file
6031 echo "not updating unwritable cache $cache_file"
6036 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6037 # Let make expand exec_prefix.
6038 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6040 # VPATH may cause trouble with some makes, so we remove $(srcdir),
6041 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6042 # trailing colons and then remove the whole line if VPATH becomes empty
6043 # (actually we leave an empty line to preserve line numbers).
6044 if test "x$srcdir" = x.; then
6045 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6046 s/:*\$(srcdir):*/:/;
6047 s/:*\${srcdir}:*/:/;
6049 s/^\([^=]*=[ ]*\):*/\1/;
6055 DEFS=-DHAVE_CONFIG_H
6059 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6060 # 1. Remove the extension, and $U if already installed.
6061 ac_i=`echo "$ac_i" |
6062 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6064 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6065 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6069 LTLIBOBJS=$ac_ltlibobjs
6072 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6073 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6074 Usually this means the macro was only invoked conditionally." >&5
6075 echo "$as_me: error: conditional \"AMDEP\" was never defined.
6076 Usually this means the macro was only invoked conditionally." >&2;}
6077 { (exit 1); exit 1; }; }
6079 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6080 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6081 Usually this means the macro was only invoked conditionally." >&5
6082 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6083 Usually this means the macro was only invoked conditionally." >&2;}
6084 { (exit 1); exit 1; }; }
6087 : ${CONFIG_STATUS=./config.status}
6088 ac_clean_files_save=$ac_clean_files
6089 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6090 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6091 echo "$as_me: creating $CONFIG_STATUS" >&6;}
6092 cat >$CONFIG_STATUS <<_ACEOF
6094 # Generated by $as_me.
6095 # Run this file to recreate the current configuration.
6096 # Compiler output produced by configure, useful for debugging
6097 # configure, is in config.log if it exists.
6102 SHELL=\${CONFIG_SHELL-$SHELL}
6105 cat >>$CONFIG_STATUS <<\_ACEOF
6106 ## --------------------- ##
6107 ## M4sh Initialization. ##
6108 ## --------------------- ##
6110 # Be Bourne compatible
6111 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6114 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6115 # is contrary to our usage. Disable this feature.
6116 alias -g '${1+"$@"}'='"$@"'
6117 elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6120 DUALCASE=1; export DUALCASE # for MKS sh
6122 # Support unset when possible.
6123 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6130 # Work around bugs in pre-3.0 UWIN ksh.
6131 $as_unset ENV MAIL MAILPATH
6138 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6139 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6140 LC_TELEPHONE LC_TIME
6142 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6143 eval $as_var=C; export $as_var
6149 # Required to use basename.
6150 if expr a : '\(a\)' >/dev/null 2>&1; then
6156 if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6157 as_basename=basename
6163 # Name of the executable.
6164 as_me=`$as_basename "$0" ||
6165 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6166 X"$0" : 'X\(//\)$' \| \
6167 X"$0" : 'X\(/\)$' \| \
6168 . : '\(.\)' 2>/dev/null ||
6170 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
6171 /^X\/\(\/\/\)$/{ s//\1/; q; }
6172 /^X\/\(\/\).*/{ s//\1/; q; }
6176 # PATH needs CR, and LINENO needs CR and PATH.
6177 # Avoid depending upon Character Ranges.
6178 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6179 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6180 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6181 as_cr_digits='0123456789'
6182 as_cr_alnum=$as_cr_Letters$as_cr_digits
6184 # The user is always right.
6185 if test "${PATH_SEPARATOR+set}" != set; then
6186 echo "#! /bin/sh" >conf$$.sh
6187 echo "exit 0" >>conf$$.sh
6189 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
6200 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6201 test "x$as_lineno_1" != "x$as_lineno_2" &&
6202 test "x$as_lineno_3" = "x$as_lineno_2" || {
6203 # Find who we are. Look in the path if we contain no path at all
6206 *[\\/]* ) as_myself=$0 ;;
6207 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6211 test -z "$as_dir" && as_dir=.
6212 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
6217 # We did not find ourselves, most probably we were run as `sh COMMAND'
6218 # in which case we are not to be found in the path.
6219 if test "x$as_myself" = x; then
6222 if test ! -f "$as_myself"; then
6223 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
6224 echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
6225 { (exit 1); exit 1; }; }
6227 case $CONFIG_SHELL in
6229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6230 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
6233 test -z "$as_dir" && as_dir=.
6234 for as_base in sh bash ksh sh5; do
6237 if ("$as_dir/$as_base" -c '
6240 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
6241 test "x$as_lineno_1" != "x$as_lineno_2" &&
6242 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
6243 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
6244 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
6245 CONFIG_SHELL=$as_dir/$as_base
6247 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
6255 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
6256 # uniformly replaced by the line number. The first 'sed' inserts a
6257 # line-number line before each line; the second 'sed' does the real
6258 # work. The second script uses 'N' to pair each line-number line
6259 # with the numbered line, and appends trailing '-' during
6260 # substitution so that $LINENO is not a special case at line end.
6261 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
6262 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
6263 sed '=' <$as_myself |
6268 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
6271 s,^['$as_cr_digits']*\n,,
6273 chmod +x $as_me.lineno ||
6274 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
6275 echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
6276 { (exit 1); exit 1; }; }
6278 # Don't try to exec as it changes $[0], causing all sort of problems
6279 # (the dirname of $[0] is not the place where we might find the
6280 # original and so on. Autoconf is especially sensible to this).
6282 # Exit status is that of the last command.
6287 case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
6288 *c*,-n*) ECHO_N= ECHO_C='
6290 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
6291 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
6294 if expr a : '\(a\)' >/dev/null 2>&1; then
6300 rm -f conf$$ conf$$.exe conf$$.file
6302 if ln -s conf$$.file conf$$ 2>/dev/null; then
6303 # We could just check for DJGPP; but this test a) works b) is more generic
6304 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
6305 if test -f conf$$.exe; then
6306 # Don't use ln at all; we don't have any links
6311 elif ln conf$$.file conf$$ 2>/dev/null; then
6316 rm -f conf$$ conf$$.exe conf$$.file
6318 if mkdir -p . 2>/dev/null; then
6321 test -d ./-p && rmdir ./-p
6325 as_executable_p="test -f"
6327 # Sed expression to map a string onto a valid CPP name.
6328 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6330 # Sed expression to map a string onto a valid variable name.
6331 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6335 # We need space, tab and new line, in precisely that order.
6345 # Open the log real soon, to keep \$[0] and so on meaningful, and to
6346 # report actual input values of CONFIG_FILES etc. instead of their
6347 # values after options handling. Logging --version etc. is OK.
6351 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6352 ## Running $as_me. ##
6357 This file was extended by $as_me, which was
6358 generated by GNU Autoconf 2.59. Invocation command line was
6360 CONFIG_FILES = $CONFIG_FILES
6361 CONFIG_HEADERS = $CONFIG_HEADERS
6362 CONFIG_LINKS = $CONFIG_LINKS
6363 CONFIG_COMMANDS = $CONFIG_COMMANDS
6367 echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
6371 # Files that config.status was made for.
6372 if test -n "$ac_config_files"; then
6373 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
6376 if test -n "$ac_config_headers"; then
6377 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
6380 if test -n "$ac_config_links"; then
6381 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
6384 if test -n "$ac_config_commands"; then
6385 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
6388 cat >>$CONFIG_STATUS <<\_ACEOF
6391 \`$as_me' instantiates files from templates according to the
6392 current configuration.
6394 Usage: $0 [OPTIONS] [FILE]...
6396 -h, --help print this help, then exit
6397 -V, --version print version number, then exit
6398 -q, --quiet do not print progress messages
6399 -d, --debug don't remove temporary files
6400 --recheck update $as_me by reconfiguring in the same conditions
6401 --file=FILE[:TEMPLATE]
6402 instantiate the configuration file FILE
6403 --header=FILE[:TEMPLATE]
6404 instantiate the configuration header FILE
6406 Configuration files:
6409 Configuration headers:
6412 Configuration commands:
6415 Report bugs to <bug-autoconf@gnu.org>."
6418 cat >>$CONFIG_STATUS <<_ACEOF
6421 configured by $0, generated by GNU Autoconf 2.59,
6422 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
6424 Copyright (C) 2003 Free Software Foundation, Inc.
6425 This config.status script is free software; the Free Software Foundation
6426 gives unlimited permission to copy, distribute and modify it."
6431 cat >>$CONFIG_STATUS <<\_ACEOF
6432 # If no file are specified by the user, then we need to provide default
6433 # value. By we need to know if files were specified by the user.
6439 ac_option=`expr "x$1" : 'x\([^=]*\)='`
6440 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
6448 *) # This is not an option, so the user has probably given explicit
6451 ac_need_defaults=false;;
6455 # Handling of the options.
6457 cat >>$CONFIG_STATUS <<\_ACEOF
6458 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6460 --version | --vers* | -V )
6461 echo "$ac_cs_version"; exit 0 ;;
6463 # Conflict between --help and --header
6464 { { echo "$as_me:$LINENO: error: ambiguous option: $1
6465 Try \`$0 --help' for more information." >&5
6466 echo "$as_me: error: ambiguous option: $1
6467 Try \`$0 --help' for more information." >&2;}
6468 { (exit 1); exit 1; }; };;
6469 --help | --hel | -h )
6470 echo "$ac_cs_usage"; exit 0 ;;
6471 --debug | --d* | -d )
6473 --file | --fil | --fi | --f )
6475 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
6476 ac_need_defaults=false;;
6477 --header | --heade | --head | --hea )
6479 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
6480 ac_need_defaults=false;;
6481 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6482 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6486 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
6487 Try \`$0 --help' for more information." >&5
6488 echo "$as_me: error: unrecognized option: $1
6489 Try \`$0 --help' for more information." >&2;}
6490 { (exit 1); exit 1; }; } ;;
6492 *) ac_config_targets="$ac_config_targets $1" ;;
6498 ac_configure_extra_args=
6500 if $ac_cs_silent; then
6502 ac_configure_extra_args="$ac_configure_extra_args --silent"
6506 cat >>$CONFIG_STATUS <<_ACEOF
6507 if \$ac_cs_recheck; then
6508 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
6509 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6514 cat >>$CONFIG_STATUS <<_ACEOF
6516 # INIT-COMMANDS section.
6519 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6525 cat >>$CONFIG_STATUS <<\_ACEOF
6526 for ac_config_target in $ac_config_targets
6528 case "$ac_config_target" in
6529 # Handling of arguments.
6530 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6531 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6532 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6533 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
6534 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
6535 { (exit 1); exit 1; }; };;
6539 # If the user did not use the arguments to specify the items to instantiate,
6540 # then the envvar interface is used. Set only those that are not.
6541 # We use the long form for the default assignment because of an extremely
6542 # bizarre bug on SunOS 4.1.3.
6543 if $ac_need_defaults; then
6544 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6545 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6546 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6549 # Have a temporary directory for convenience. Make it in the build tree
6550 # simply because there is no reason to put it here, and in addition,
6551 # creating and moving files from /tmp can sometimes cause problems.
6552 # Create a temporary directory, and hook for its removal unless debugging.
6555 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
6556 trap '{ (exit 1); exit 1; }' 1 2 13 15
6559 # Create a (secure) tmp directory for tmp files.
6562 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
6563 test -n "$tmp" && test -d "$tmp"
6566 tmp=./confstat$$-$RANDOM
6567 (umask 077 && mkdir $tmp)
6570 echo "$me: cannot create a temporary directory in ." >&2
6571 { (exit 1); exit 1; }
6576 cat >>$CONFIG_STATUS <<_ACEOF
6579 # CONFIG_FILES section.
6582 # No need to generate the scripts if there are no CONFIG_FILES.
6583 # This happens for instance when ./config.status config.h
6584 if test -n "\$CONFIG_FILES"; then
6585 # Protect against being on the right side of a sed subst in config.status.
6586 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
6587 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
6588 s,@SHELL@,$SHELL,;t t
6589 s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
6590 s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
6591 s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
6592 s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
6593 s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
6594 s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
6595 s,@exec_prefix@,$exec_prefix,;t t
6596 s,@prefix@,$prefix,;t t
6597 s,@program_transform_name@,$program_transform_name,;t t
6598 s,@bindir@,$bindir,;t t
6599 s,@sbindir@,$sbindir,;t t
6600 s,@libexecdir@,$libexecdir,;t t
6601 s,@datadir@,$datadir,;t t
6602 s,@sysconfdir@,$sysconfdir,;t t
6603 s,@sharedstatedir@,$sharedstatedir,;t t
6604 s,@localstatedir@,$localstatedir,;t t
6605 s,@libdir@,$libdir,;t t
6606 s,@includedir@,$includedir,;t t
6607 s,@oldincludedir@,$oldincludedir,;t t
6608 s,@infodir@,$infodir,;t t
6609 s,@mandir@,$mandir,;t t
6610 s,@build_alias@,$build_alias,;t t
6611 s,@host_alias@,$host_alias,;t t
6612 s,@target_alias@,$target_alias,;t t
6614 s,@ECHO_C@,$ECHO_C,;t t
6615 s,@ECHO_N@,$ECHO_N,;t t
6616 s,@ECHO_T@,$ECHO_T,;t t
6618 s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
6619 s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
6620 s,@INSTALL_DATA@,$INSTALL_DATA,;t t
6621 s,@CYGPATH_W@,$CYGPATH_W,;t t
6622 s,@PACKAGE@,$PACKAGE,;t t
6623 s,@VERSION@,$VERSION,;t t
6624 s,@ACLOCAL@,$ACLOCAL,;t t
6625 s,@AUTOCONF@,$AUTOCONF,;t t
6626 s,@AUTOMAKE@,$AUTOMAKE,;t t
6627 s,@AUTOHEADER@,$AUTOHEADER,;t t
6628 s,@MAKEINFO@,$MAKEINFO,;t t
6629 s,@install_sh@,$install_sh,;t t
6630 s,@STRIP@,$STRIP,;t t
6631 s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
6632 s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
6633 s,@mkdir_p@,$mkdir_p,;t t
6635 s,@SET_MAKE@,$SET_MAKE,;t t
6636 s,@am__leading_dot@,$am__leading_dot,;t t
6637 s,@AMTAR@,$AMTAR,;t t
6638 s,@am__tar@,$am__tar,;t t
6639 s,@am__untar@,$am__untar,;t t
6641 s,@CFLAGS@,$CFLAGS,;t t
6642 s,@LDFLAGS@,$LDFLAGS,;t t
6643 s,@CPPFLAGS@,$CPPFLAGS,;t t
6644 s,@ac_ct_CC@,$ac_ct_CC,;t t
6645 s,@EXEEXT@,$EXEEXT,;t t
6646 s,@OBJEXT@,$OBJEXT,;t t
6647 s,@DEPDIR@,$DEPDIR,;t t
6648 s,@am__include@,$am__include,;t t
6649 s,@am__quote@,$am__quote,;t t
6650 s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
6651 s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
6652 s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
6653 s,@CCDEPMODE@,$CCDEPMODE,;t t
6654 s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
6655 s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
6656 s,@RANLIB@,$RANLIB,;t t
6657 s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
6660 s,@EGREP@,$EGREP,;t t
6661 s,@XTRALIBS_CTRL@,$XTRALIBS_CTRL,;t t
6662 s,@XTRALIBS_MGR@,$XTRALIBS_MGR,;t t
6663 s,@HAVE_OPENPTY@,$HAVE_OPENPTY,;t t
6664 s,@XTRA_PROG@,$XTRA_PROG,;t t
6665 s,@LIBOBJS@,$LIBOBJS,;t t
6666 s,@LTLIBOBJS@,$LTLIBOBJS,;t t
6671 cat >>$CONFIG_STATUS <<\_ACEOF
6672 # Split the substitutions into bite-sized pieces for seds with
6673 # small command number limits, like on Digital OSF/1 and HP-UX.
6675 ac_sed_frag=1 # Number of current file.
6676 ac_beg=1 # First line for current file.
6677 ac_end=$ac_max_sed_lines # Line after last line for current file.
6680 while $ac_more_lines; do
6681 if test $ac_beg -gt 1; then
6682 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6684 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
6686 if test ! -s $tmp/subs.frag; then
6689 # The purpose of the label and of the branching condition is to
6690 # speed up the sed processing (if there are no `@' at all, there
6691 # is no need to browse any of the substitutions).
6692 # These are the two extra sed commands mentioned above.
6694 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
6695 if test -z "$ac_sed_cmds"; then
6696 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
6698 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
6700 ac_sed_frag=`expr $ac_sed_frag + 1`
6702 ac_end=`expr $ac_end + $ac_max_sed_lines`
6705 if test -z "$ac_sed_cmds"; then
6708 fi # test -n "$CONFIG_FILES"
6711 cat >>$CONFIG_STATUS <<\_ACEOF
6712 for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
6713 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6715 - | *:- | *:-:* ) # input from stdin
6717 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6718 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6719 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6720 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6721 * ) ac_file_in=$ac_file.in ;;
6724 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
6725 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
6726 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6727 X"$ac_file" : 'X\(//\)[^/]' \| \
6728 X"$ac_file" : 'X\(//\)$' \| \
6729 X"$ac_file" : 'X\(/\)' \| \
6730 . : '\(.\)' 2>/dev/null ||
6732 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6733 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6734 /^X\(\/\/\)$/{ s//\1/; q; }
6735 /^X\(\/\).*/{ s//\1/; q; }
6737 { if $as_mkdir_p; then
6742 while test ! -d "$as_dir"; do
6743 as_dirs="$as_dir $as_dirs"
6744 as_dir=`(dirname "$as_dir") 2>/dev/null ||
6745 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6746 X"$as_dir" : 'X\(//\)[^/]' \| \
6747 X"$as_dir" : 'X\(//\)$' \| \
6748 X"$as_dir" : 'X\(/\)' \| \
6749 . : '\(.\)' 2>/dev/null ||
6751 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
6752 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
6753 /^X\(\/\/\)$/{ s//\1/; q; }
6754 /^X\(\/\).*/{ s//\1/; q; }
6757 test ! -n "$as_dirs" || mkdir $as_dirs
6758 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
6759 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
6760 { (exit 1); exit 1; }; }; }
6764 if test "$ac_dir" != .; then
6765 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
6766 # A "../" for each directory in $ac_dir_suffix.
6767 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
6769 ac_dir_suffix= ac_top_builddir=
6773 .) # No --srcdir option. We are building in place.
6775 if test -z "$ac_top_builddir"; then
6778 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
6780 [\\/]* | ?:[\\/]* ) # Absolute path.
6781 ac_srcdir=$srcdir$ac_dir_suffix;
6782 ac_top_srcdir=$srcdir ;;
6784 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
6785 ac_top_srcdir=$ac_top_builddir$srcdir ;;
6788 # Do not use `cd foo && pwd` to compute absolute paths, because
6789 # the directories may not exist.
6791 .) ac_abs_builddir="$ac_dir";;
6794 .) ac_abs_builddir=`pwd`;;
6795 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
6796 *) ac_abs_builddir=`pwd`/"$ac_dir";;
6799 case $ac_abs_builddir in
6800 .) ac_abs_top_builddir=${ac_top_builddir}.;;
6802 case ${ac_top_builddir}. in
6803 .) ac_abs_top_builddir=$ac_abs_builddir;;
6804 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
6805 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
6808 case $ac_abs_builddir in
6809 .) ac_abs_srcdir=$ac_srcdir;;
6812 .) ac_abs_srcdir=$ac_abs_builddir;;
6813 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
6814 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
6817 case $ac_abs_builddir in
6818 .) ac_abs_top_srcdir=$ac_top_srcdir;;
6820 case $ac_top_srcdir in
6821 .) ac_abs_top_srcdir=$ac_abs_builddir;;
6822 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
6823 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
6829 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6830 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
6833 if test x"$ac_file" != x-; then
6834 { echo "$as_me:$LINENO: creating $ac_file" >&5
6835 echo "$as_me: creating $ac_file" >&6;}
6838 # Let's still pretend it is `configure' which instantiates (i.e., don't
6839 # use $as_me), people would be surprised to read:
6840 # /* config.h. Generated by config.status. */
6841 if test x"$ac_file" = x-; then
6844 configure_input="$ac_file. "
6846 configure_input=$configure_input"Generated from `echo $ac_file_in |
6847 sed 's,.*/,,'` by configure."
6849 # First look for the input files in the build tree, otherwise in the
6851 ac_file_inputs=`IFS=:
6852 for f in $ac_file_in; do
6854 -) echo $tmp/stdin ;;
6856 # Absolute (can't be DOS-style, as IFS=:)
6857 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6858 echo "$as_me: error: cannot find input file: $f" >&2;}
6859 { (exit 1); exit 1; }; }
6862 if test -f "$f"; then
6865 elif test -f "$srcdir/$f"; then
6870 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6871 echo "$as_me: error: cannot find input file: $f" >&2;}
6872 { (exit 1); exit 1; }; }
6875 done` || { (exit 1); exit 1; }
6877 cat >>$CONFIG_STATUS <<_ACEOF
6881 cat >>$CONFIG_STATUS <<\_ACEOF
6883 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6884 s,@configure_input@,$configure_input,;t t
6885 s,@srcdir@,$ac_srcdir,;t t
6886 s,@abs_srcdir@,$ac_abs_srcdir,;t t
6887 s,@top_srcdir@,$ac_top_srcdir,;t t
6888 s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
6889 s,@builddir@,$ac_builddir,;t t
6890 s,@abs_builddir@,$ac_abs_builddir,;t t
6891 s,@top_builddir@,$ac_top_builddir,;t t
6892 s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
6893 s,@INSTALL@,$ac_INSTALL,;t t
6894 " $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
6896 if test x"$ac_file" != x-; then
6897 mv $tmp/out $ac_file
6905 cat >>$CONFIG_STATUS <<\_ACEOF
6908 # CONFIG_HEADER section.
6911 # These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
6912 # NAME is the cpp macro being defined and VALUE is the value it is being given.
6914 # ac_d sets the value in "#define NAME VALUE" lines.
6915 ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
6916 ac_dB='[ ].*$,\1#\2'
6919 # ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
6920 ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
6921 ac_uB='$,\1#\2define\3'
6925 for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
6926 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
6928 - | *:- | *:-:* ) # input from stdin
6930 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6931 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6932 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
6933 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
6934 * ) ac_file_in=$ac_file.in ;;
6937 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
6938 echo "$as_me: creating $ac_file" >&6;}
6940 # First look for the input files in the build tree, otherwise in the
6942 ac_file_inputs=`IFS=:
6943 for f in $ac_file_in; do
6945 -) echo $tmp/stdin ;;
6947 # Absolute (can't be DOS-style, as IFS=:)
6948 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6949 echo "$as_me: error: cannot find input file: $f" >&2;}
6950 { (exit 1); exit 1; }; }
6951 # Do quote $f, to prevent DOS paths from being IFS'd.
6954 if test -f "$f"; then
6957 elif test -f "$srcdir/$f"; then
6962 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
6963 echo "$as_me: error: cannot find input file: $f" >&2;}
6964 { (exit 1); exit 1; }; }
6967 done` || { (exit 1); exit 1; }
6968 # Remove the trailing spaces.
6969 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
6973 # Transform confdefs.h into two sed scripts, `conftest.defines' and
6974 # `conftest.undefs', that substitutes the proper values into
6975 # config.h.in to produce config.h. The first handles `#define'
6976 # templates, and the second `#undef' templates.
6977 # And first: Protect against being on the right side of a sed subst in
6978 # config.status. Protect against being in an unquoted here document
6980 rm -f conftest.defines conftest.undefs
6981 # Using a here document instead of a string reduces the quoting nightmare.
6982 # Putting comments in sed scripts is not portable.
6984 # `end' is used to avoid that the second main sed command (meant for
6985 # 0-ary CPP macros) applies to n-ary macro definitions.
6986 # See the Autoconf documentation for `clear'.
6987 cat >confdef2sed.sed <<\_ACEOF
6992 s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
6994 s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
6997 # If some macros were called several times there might be several times
6998 # the same #defines, which is useless. Nevertheless, we may not want to
6999 # sort them, since we want the *last* AC-DEFINE to be honored.
7000 uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7001 sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7002 rm -f confdef2sed.sed
7004 # This sed command replaces #undef with comments. This is necessary, for
7005 # example, in the case of _POSIX_SOURCE, which is predefined and required
7006 # on some systems where configure will not decide to define it.
7007 cat >>conftest.undefs <<\_ACEOF
7008 s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7011 # Break up conftest.defines because some shells have a limit on the size
7012 # of here documents, and old seds have small limits too (100 cmds).
7013 echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7014 echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7015 echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7016 echo ' :' >>$CONFIG_STATUS
7018 while grep . conftest.defines >/dev/null
7020 # Write a limited-size here document to $tmp/defines.sed.
7021 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7022 # Speed up: don't consider the non `#define' lines.
7023 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7024 # Work around the forget-to-reset-the-flag bug.
7025 echo 't clr' >>$CONFIG_STATUS
7026 echo ': clr' >>$CONFIG_STATUS
7027 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7029 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7033 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7034 rm -f conftest.defines
7035 mv conftest.tail conftest.defines
7037 rm -f conftest.defines
7038 echo ' fi # grep' >>$CONFIG_STATUS
7039 echo >>$CONFIG_STATUS
7041 # Break up conftest.undefs because some shells have a limit on the size
7042 # of here documents, and old seds have small limits too (100 cmds).
7043 echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7045 while grep . conftest.undefs >/dev/null
7047 # Write a limited-size here document to $tmp/undefs.sed.
7048 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7049 # Speed up: don't consider the non `#undef'
7050 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7051 # Work around the forget-to-reset-the-flag bug.
7052 echo 't clr' >>$CONFIG_STATUS
7053 echo ': clr' >>$CONFIG_STATUS
7054 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7056 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7060 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7061 rm -f conftest.undefs
7062 mv conftest.tail conftest.undefs
7064 rm -f conftest.undefs
7066 cat >>$CONFIG_STATUS <<\_ACEOF
7067 # Let's still pretend it is `configure' which instantiates (i.e., don't
7068 # use $as_me), people would be surprised to read:
7069 # /* config.h. Generated by config.status. */
7070 if test x"$ac_file" = x-; then
7071 echo "/* Generated by configure. */" >$tmp/config.h
7073 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7075 cat $tmp/in >>$tmp/config.h
7077 if test x"$ac_file" != x-; then
7078 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7079 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7080 echo "$as_me: $ac_file is unchanged" >&6;}
7082 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7083 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7084 X"$ac_file" : 'X\(//\)[^/]' \| \
7085 X"$ac_file" : 'X\(//\)$' \| \
7086 X"$ac_file" : 'X\(/\)' \| \
7087 . : '\(.\)' 2>/dev/null ||
7089 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7090 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7091 /^X\(\/\/\)$/{ s//\1/; q; }
7092 /^X\(\/\).*/{ s//\1/; q; }
7094 { if $as_mkdir_p; then
7099 while test ! -d "$as_dir"; do
7100 as_dirs="$as_dir $as_dirs"
7101 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7102 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7103 X"$as_dir" : 'X\(//\)[^/]' \| \
7104 X"$as_dir" : 'X\(//\)$' \| \
7105 X"$as_dir" : 'X\(/\)' \| \
7106 . : '\(.\)' 2>/dev/null ||
7108 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7109 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7110 /^X\(\/\/\)$/{ s//\1/; q; }
7111 /^X\(\/\).*/{ s//\1/; q; }
7114 test ! -n "$as_dirs" || mkdir $as_dirs
7115 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7116 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7117 { (exit 1); exit 1; }; }; }
7120 mv $tmp/config.h $ac_file
7126 # Compute $ac_file's index in $config_headers.
7128 for _am_header in $config_headers :; do
7130 $ac_file | $ac_file:* )
7133 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7136 echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7137 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7138 X$ac_file : 'X\(//\)[^/]' \| \
7139 X$ac_file : 'X\(//\)$' \| \
7140 X$ac_file : 'X\(/\)' \| \
7141 . : '\(.\)' 2>/dev/null ||
7143 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7144 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7145 /^X\(\/\/\)$/{ s//\1/; q; }
7146 /^X\(\/\).*/{ s//\1/; q; }
7147 s/.*/./; q'`/stamp-h$_am_stamp_count
7150 cat >>$CONFIG_STATUS <<\_ACEOF
7153 # CONFIG_COMMANDS section.
7155 for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
7156 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
7157 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
7158 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
7159 $as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7160 X"$ac_dest" : 'X\(//\)[^/]' \| \
7161 X"$ac_dest" : 'X\(//\)$' \| \
7162 X"$ac_dest" : 'X\(/\)' \| \
7163 . : '\(.\)' 2>/dev/null ||
7165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7166 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7167 /^X\(\/\/\)$/{ s//\1/; q; }
7168 /^X\(\/\).*/{ s//\1/; q; }
7170 { if $as_mkdir_p; then
7175 while test ! -d "$as_dir"; do
7176 as_dirs="$as_dir $as_dirs"
7177 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7179 X"$as_dir" : 'X\(//\)[^/]' \| \
7180 X"$as_dir" : 'X\(//\)$' \| \
7181 X"$as_dir" : 'X\(/\)' \| \
7182 . : '\(.\)' 2>/dev/null ||
7184 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7185 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7186 /^X\(\/\/\)$/{ s//\1/; q; }
7187 /^X\(\/\).*/{ s//\1/; q; }
7190 test ! -n "$as_dirs" || mkdir $as_dirs
7191 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7192 echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7193 { (exit 1); exit 1; }; }; }
7197 if test "$ac_dir" != .; then
7198 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7199 # A "../" for each directory in $ac_dir_suffix.
7200 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7202 ac_dir_suffix= ac_top_builddir=
7206 .) # No --srcdir option. We are building in place.
7208 if test -z "$ac_top_builddir"; then
7211 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7213 [\\/]* | ?:[\\/]* ) # Absolute path.
7214 ac_srcdir=$srcdir$ac_dir_suffix;
7215 ac_top_srcdir=$srcdir ;;
7217 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7218 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7221 # Do not use `cd foo && pwd` to compute absolute paths, because
7222 # the directories may not exist.
7224 .) ac_abs_builddir="$ac_dir";;
7227 .) ac_abs_builddir=`pwd`;;
7228 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7229 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7232 case $ac_abs_builddir in
7233 .) ac_abs_top_builddir=${ac_top_builddir}.;;
7235 case ${ac_top_builddir}. in
7236 .) ac_abs_top_builddir=$ac_abs_builddir;;
7237 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7238 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7241 case $ac_abs_builddir in
7242 .) ac_abs_srcdir=$ac_srcdir;;
7245 .) ac_abs_srcdir=$ac_abs_builddir;;
7246 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7247 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7250 case $ac_abs_builddir in
7251 .) ac_abs_top_srcdir=$ac_top_srcdir;;
7253 case $ac_top_srcdir in
7254 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7255 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7256 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7261 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
7262 echo "$as_me: executing $ac_dest commands" >&6;}
7264 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
7265 # Strip MF so we end up with the name of the file.
7266 mf=`echo "$mf" | sed -e 's/:.*$//'`
7267 # Check whether this is an Automake generated Makefile or not.
7268 # We used to match only the files named `Makefile.in', but
7269 # some people rename them; so instead we look at the file content.
7270 # Grep'ing the first line is not enough: some people post-process
7271 # each Makefile.in and add a new line on top of each file to say so.
7272 # So let's grep whole file.
7273 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
7274 dirpart=`(dirname "$mf") 2>/dev/null ||
7275 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7276 X"$mf" : 'X\(//\)[^/]' \| \
7277 X"$mf" : 'X\(//\)$' \| \
7278 X"$mf" : 'X\(/\)' \| \
7279 . : '\(.\)' 2>/dev/null ||
7281 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7282 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7283 /^X\(\/\/\)$/{ s//\1/; q; }
7284 /^X\(\/\).*/{ s//\1/; q; }
7289 # Extract the definition of DEPDIR, am__include, and am__quote
7290 # from the Makefile without running `make'.
7291 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7292 test -z "$DEPDIR" && continue
7293 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7294 test -z "am__include" && continue
7295 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7296 # When using ansi2knr, U may be empty or an underscore; expand it
7297 U=`sed -n 's/^U = //p' < "$mf"`
7298 # Find all dependency output files, they are included files with
7299 # $(DEPDIR) in their names. We invoke sed twice because it is the
7300 # simplest approach to changing $(DEPDIR) to its actual value in the
7302 for file in `sed -n "
7303 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7304 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
7305 # Make sure the directory exists.
7306 test -f "$dirpart/$file" && continue
7307 fdir=`(dirname "$file") 2>/dev/null ||
7308 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7309 X"$file" : 'X\(//\)[^/]' \| \
7310 X"$file" : 'X\(//\)$' \| \
7311 X"$file" : 'X\(/\)' \| \
7312 . : '\(.\)' 2>/dev/null ||
7314 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7315 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7316 /^X\(\/\/\)$/{ s//\1/; q; }
7317 /^X\(\/\).*/{ s//\1/; q; }
7319 { if $as_mkdir_p; then
7320 mkdir -p $dirpart/$fdir
7322 as_dir=$dirpart/$fdir
7324 while test ! -d "$as_dir"; do
7325 as_dirs="$as_dir $as_dirs"
7326 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7327 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7328 X"$as_dir" : 'X\(//\)[^/]' \| \
7329 X"$as_dir" : 'X\(//\)$' \| \
7330 X"$as_dir" : 'X\(/\)' \| \
7331 . : '\(.\)' 2>/dev/null ||
7333 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7334 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7335 /^X\(\/\/\)$/{ s//\1/; q; }
7336 /^X\(\/\).*/{ s//\1/; q; }
7339 test ! -n "$as_dirs" || mkdir $as_dirs
7340 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
7341 echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
7342 { (exit 1); exit 1; }; }; }
7344 # echo "creating $dirpart/$file"
7345 echo '# dummy' > "$dirpart/$file"
7353 cat >>$CONFIG_STATUS <<\_ACEOF
7355 { (exit 0); exit 0; }
7357 chmod +x $CONFIG_STATUS
7358 ac_clean_files=$ac_clean_files_save
7361 # configure is writing to config.log, and then calls config.status.
7362 # config.status does its own redirection, appending to config.log.
7363 # Unfortunately, on DOS this fails, as config.log is still kept open
7364 # by configure, so config.status won't be able to write to it; its
7365 # output is simply discarded. So we exec the FD to /dev/null,
7366 # effectively closing config.log, so it can be properly (re)opened and
7367 # appended to by config.status. When coming back to configure, we
7368 # need to make the FD available again.
7369 if test "$no_create" != yes; then
7371 ac_config_status_args=
7372 test "$silent" = yes &&
7373 ac_config_status_args="$ac_config_status_args --quiet"
7375 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7377 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7378 # would make configure fail if this is the last instruction.
7379 $ac_cs_success || { (exit 1); exit 1; }