2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 for nss-ldapd 0.6.2.
5 # Report bugs to <arthur@ch.tudelft.nl>.
7 # Copyright (C) 2006 Luke Howard
8 # Copyright (C) 2006 West Consulting
9 # Copyright (C) 2006, 2007, 2008 Arthur de Jong
11 # This configure script is derived from configure.ac which is free software;
12 # you can redistribute it and/or modify it under the terms of the GNU Lesser
13 # General Public License as published by the Free Software Foundation; either
14 # version 2.1 of the License, or (at your option) any later version. See the
15 # configure.ac file for more details.
17 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
18 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
19 # This configure script is free software; the Free Software Foundation
20 # gives unlimited permission to copy, distribute and modify it.
21 ## --------------------- ##
22 ## M4sh Initialization. ##
23 ## --------------------- ##
25 # Be more Bourne compatible
26 DUALCASE=1; export DUALCASE # for MKS sh
27 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
30 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
31 # is contrary to our usage. Disable this feature.
32 alias -g '${1+"$@"}'='"$@"'
35 case `(set -o) 2>/dev/null` in
36 *posix*) set -o posix ;;
45 # Avoid depending upon Character Ranges.
46 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
47 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
48 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49 as_cr_digits='0123456789'
50 as_cr_alnum=$as_cr_Letters$as_cr_digits
52 # The user is always right.
53 if test "${PATH_SEPARATOR+set}" != set; then
54 echo "#! /bin/sh" >conf$$.sh
55 echo "exit 0" >>conf$$.sh
57 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
65 # Support unset when possible.
66 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
74 # We need space, tab and new line, in precisely that order. Quoting is
75 # there to prevent editors from complaining about space-tab.
76 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
77 # splitting by setting IFS to empty value.)
82 # Find who we are. Look in the path if we contain no directory separator.
84 *[\\/]* ) as_myself=$0 ;;
85 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
89 test -z "$as_dir" && as_dir=.
90 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
96 # We did not find ourselves, most probably we were run as `sh COMMAND'
97 # in which case we are not to be found in the path.
98 if test "x$as_myself" = x; then
101 if test ! -f "$as_myself"; then
102 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
103 { (exit 1); exit 1; }
106 # Work around bugs in pre-3.0 UWIN ksh.
107 for as_var in ENV MAIL MAILPATH
108 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
116 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
117 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
120 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
121 eval $as_var=C; export $as_var
123 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
127 # Required to use basename.
128 if expr a : '\(a\)' >/dev/null 2>&1 &&
129 test "X`expr 00001 : '.*\(...\)'`" = X001; then
135 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
142 # Name of the executable.
143 as_me=`$as_basename -- "$0" ||
144 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
145 X"$0" : 'X\(//\)$' \| \
146 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
148 sed '/^.*\/\([^/][^/]*\)\/*$/{
166 if test "x$CONFIG_SHELL" = x; then
167 if (eval ":") 2>/dev/null; then
173 if test $as_have_required = yes && (eval ":
183 as_func_ret_success () {
186 as_func_ret_failure () {
191 if as_func_success; then
195 echo as_func_success failed.
198 if as_func_failure; then
200 echo as_func_failure succeeded.
203 if as_func_ret_success; then
207 echo as_func_ret_success failed.
210 if as_func_ret_failure; then
212 echo as_func_ret_failure succeeded.
215 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
219 echo positional parameters were not saved.
222 test \$exitcode = 0) || { (exit 1); exit 1; }
227 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
228 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
229 ") 2> /dev/null; then
233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
234 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
237 test -z "$as_dir" && as_dir=.
240 for as_base in sh bash ksh sh5; do
241 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
248 for as_shell in $as_candidate_shells $SHELL; do
249 # Try only shells that exist, to save several forks.
250 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
251 { ("$as_shell") 2> /dev/null <<\_ASEOF
252 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
255 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
256 # is contrary to our usage. Disable this feature.
257 alias -g '${1+"$@"}'='"$@"'
260 case `(set -o) 2>/dev/null` in
261 *posix*) set -o posix ;;
270 CONFIG_SHELL=$as_shell
272 if { "$as_shell" 2> /dev/null <<\_ASEOF
273 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
276 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
277 # is contrary to our usage. Disable this feature.
278 alias -g '${1+"$@"}'='"$@"'
281 case `(set -o) 2>/dev/null` in
282 *posix*) set -o posix ;;
298 as_func_ret_success () {
301 as_func_ret_failure () {
306 if as_func_success; then
310 echo as_func_success failed.
313 if as_func_failure; then
315 echo as_func_failure succeeded.
318 if as_func_ret_success; then
322 echo as_func_ret_success failed.
325 if as_func_ret_failure; then
327 echo as_func_ret_failure succeeded.
330 if ( set x; as_func_ret_success y && test x = "$1" ); then
334 echo positional parameters were not saved.
337 test $exitcode = 0) || { (exit 1); exit 1; }
342 test "x$as_lineno_1" != "x$as_lineno_2" &&
343 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
354 if test "x$CONFIG_SHELL" != x; then
355 for as_var in BASH_ENV ENV
356 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
359 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
363 if test $as_have_required = no; then
364 echo This script requires a shell more modern than all the
365 echo shells that I found on your system. Please install a
366 echo modern shell, or manually run the script under such a
367 echo shell if you do have one.
368 { (exit 1); exit 1; }
378 (eval "as_func_return () {
387 as_func_ret_success () {
390 as_func_ret_failure () {
395 if as_func_success; then
399 echo as_func_success failed.
402 if as_func_failure; then
404 echo as_func_failure succeeded.
407 if as_func_ret_success; then
411 echo as_func_ret_success failed.
414 if as_func_ret_failure; then
416 echo as_func_ret_failure succeeded.
419 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
423 echo positional parameters were not saved.
426 test \$exitcode = 0") || {
427 echo No shell found that supports shell functions.
428 echo Please tell autoconf@gnu.org about your system,
429 echo including any error possibly output before this
437 test "x$as_lineno_1" != "x$as_lineno_2" &&
438 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
440 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
441 # uniformly replaced by the line number. The first 'sed' inserts a
442 # line-number line after each line using $LINENO; the second 'sed'
443 # does the real work. The second script uses 'N' to pair each
444 # line-number line with the line containing $LINENO, and appends
445 # trailing '-' during substitution so that $LINENO is not a special
447 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
448 # scripts with optimization help from Paolo Bonzini. Blame Lee
449 # E. McMahon (1931-1989) for sed's syntax. :-)
461 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
465 chmod +x "$as_me.lineno" ||
466 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
467 { (exit 1); exit 1; }; }
469 # Don't try to exec as it changes $[0], causing all sort of problems
470 # (the dirname of $[0] is not the place where we might find the
471 # original and so on. Autoconf is especially sensitive to this).
473 # Exit status is that of the last command.
478 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
484 ECHO_C= ECHO_N= ECHO_T=
488 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
495 if expr a : '\(a\)' >/dev/null 2>&1 &&
496 test "X`expr 00001 : '.*\(...\)'`" = X001; then
502 rm -f conf$$ conf$$.exe conf$$.file
503 if test -d conf$$.dir; then
504 rm -f conf$$.dir/conf$$.file
510 if ln -s conf$$.file conf$$ 2>/dev/null; then
512 # ... but there are two gotchas:
513 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
514 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
515 # In both cases, we have to default to `cp -p'.
516 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
518 elif ln conf$$.file conf$$ 2>/dev/null; then
523 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
524 rmdir conf$$.dir 2>/dev/null
526 if mkdir -p . 2>/dev/null; then
529 test -d ./-p && rmdir ./-p
533 if test -x / >/dev/null 2>&1; then
536 if ls -dL / >/dev/null 2>&1; then
543 if test -d "$1"; then
549 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
550 ???[sx]*):;;*)false;;esac;fi
554 as_executable_p=$as_test_x
556 # Sed expression to map a string onto a valid CPP name.
557 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
559 # Sed expression to map a string onto a valid variable name.
560 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
564 exec 7<&0 </dev/null 6>&1
567 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
568 # so uname gets run too.
569 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574 ac_default_prefix=/usr/local
576 ac_config_libobj_dir=.
582 SHELL=${CONFIG_SHELL-/bin/sh}
584 # Identity of this package.
585 PACKAGE_NAME='nss-ldapd'
586 PACKAGE_TARNAME='nss-ldapd'
587 PACKAGE_VERSION='0.6.2'
588 PACKAGE_STRING='nss-ldapd 0.6.2'
589 PACKAGE_BUGREPORT='arthur@ch.tudelft.nl'
591 ac_unique_file="nslcd.h"
593 # Factoring default headers for most tests.
594 ac_includes_default="\
596 #ifdef HAVE_SYS_TYPES_H
597 # include <sys/types.h>
599 #ifdef HAVE_SYS_STAT_H
600 # include <sys/stat.h>
606 # ifdef HAVE_STDLIB_H
611 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
616 #ifdef HAVE_STRINGS_H
617 # include <strings.h>
619 #ifdef HAVE_INTTYPES_H
620 # include <inttypes.h>
629 ac_config_libobj_dir=compat
639 program_transform_name
694 INSTALL_STRIP_PROGRAM
737 ac_precious_vars='build_alias
748 # Initialize some variables set by options.
750 ac_init_version=false
751 # The variables have the same names as the options, with
752 # dashes changed to underlines.
760 program_transform_name=s,x,x,
768 # Installation directory options.
769 # These are left unexpanded so users can "make install exec_prefix=/foo"
770 # and all the variables that are supposed to be based on exec_prefix
771 # by default will actually change.
772 # Use braces instead of parens because sh, perl, etc. also accept them.
773 # (The list follows the same order as the GNU Coding Standards.)
774 bindir='${exec_prefix}/bin'
775 sbindir='${exec_prefix}/sbin'
776 libexecdir='${exec_prefix}/libexec'
777 datarootdir='${prefix}/share'
778 datadir='${datarootdir}'
779 sysconfdir='${prefix}/etc'
780 sharedstatedir='${prefix}/com'
781 localstatedir='${prefix}/var'
782 includedir='${prefix}/include'
783 oldincludedir='/usr/include'
784 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
785 infodir='${datarootdir}/info'
790 libdir='${exec_prefix}/lib'
791 localedir='${datarootdir}/locale'
792 mandir='${datarootdir}/man'
798 # If the previous option needs an argument, assign it.
799 if test -n "$ac_prev"; then
800 eval $ac_prev=\$ac_option
806 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
810 # Accept the important Cygnus configure options, so we can diagnose typos.
812 case $ac_dashdash$ac_option in
816 -bindir | --bindir | --bindi | --bind | --bin | --bi)
818 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
821 -build | --build | --buil | --bui | --bu)
822 ac_prev=build_alias ;;
823 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
824 build_alias=$ac_optarg ;;
826 -cache-file | --cache-file | --cache-fil | --cache-fi \
827 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
828 ac_prev=cache_file ;;
829 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
830 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
831 cache_file=$ac_optarg ;;
834 cache_file=config.cache ;;
836 -datadir | --datadir | --datadi | --datad)
838 -datadir=* | --datadir=* | --datadi=* | --datad=*)
839 datadir=$ac_optarg ;;
841 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
842 | --dataroo | --dataro | --datar)
843 ac_prev=datarootdir ;;
844 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
845 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
846 datarootdir=$ac_optarg ;;
848 -disable-* | --disable-*)
849 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
850 # Reject names that are not valid shell variable names.
851 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
852 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
853 { (exit 1); exit 1; }; }
854 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
855 eval enable_$ac_feature=no ;;
857 -docdir | --docdir | --docdi | --doc | --do)
859 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
862 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
864 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
867 -enable-* | --enable-*)
868 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
869 # Reject names that are not valid shell variable names.
870 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
871 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
872 { (exit 1); exit 1; }; }
873 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
874 eval enable_$ac_feature=\$ac_optarg ;;
876 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
877 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
878 | --exec | --exe | --ex)
879 ac_prev=exec_prefix ;;
880 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
881 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
882 | --exec=* | --exe=* | --ex=*)
883 exec_prefix=$ac_optarg ;;
885 -gas | --gas | --ga | --g)
886 # Obsolete; use --with-gas.
889 -help | --help | --hel | --he | -h)
891 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
892 ac_init_help=recursive ;;
893 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
894 ac_init_help=short ;;
896 -host | --host | --hos | --ho)
897 ac_prev=host_alias ;;
898 -host=* | --host=* | --hos=* | --ho=*)
899 host_alias=$ac_optarg ;;
901 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
903 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
905 htmldir=$ac_optarg ;;
907 -includedir | --includedir | --includedi | --included | --include \
908 | --includ | --inclu | --incl | --inc)
909 ac_prev=includedir ;;
910 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
911 | --includ=* | --inclu=* | --incl=* | --inc=*)
912 includedir=$ac_optarg ;;
914 -infodir | --infodir | --infodi | --infod | --info | --inf)
916 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
917 infodir=$ac_optarg ;;
919 -libdir | --libdir | --libdi | --libd)
921 -libdir=* | --libdir=* | --libdi=* | --libd=*)
924 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
925 | --libexe | --libex | --libe)
926 ac_prev=libexecdir ;;
927 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
928 | --libexe=* | --libex=* | --libe=*)
929 libexecdir=$ac_optarg ;;
931 -localedir | --localedir | --localedi | --localed | --locale)
933 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
934 localedir=$ac_optarg ;;
936 -localstatedir | --localstatedir | --localstatedi | --localstated \
937 | --localstate | --localstat | --localsta | --localst | --locals)
938 ac_prev=localstatedir ;;
939 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
940 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
941 localstatedir=$ac_optarg ;;
943 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
945 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
949 # Obsolete; use --without-fp.
952 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
953 | --no-cr | --no-c | -n)
956 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
957 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
960 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
961 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
962 | --oldin | --oldi | --old | --ol | --o)
963 ac_prev=oldincludedir ;;
964 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
965 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
966 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
967 oldincludedir=$ac_optarg ;;
969 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
971 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
974 -program-prefix | --program-prefix | --program-prefi | --program-pref \
975 | --program-pre | --program-pr | --program-p)
976 ac_prev=program_prefix ;;
977 -program-prefix=* | --program-prefix=* | --program-prefi=* \
978 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
979 program_prefix=$ac_optarg ;;
981 -program-suffix | --program-suffix | --program-suffi | --program-suff \
982 | --program-suf | --program-su | --program-s)
983 ac_prev=program_suffix ;;
984 -program-suffix=* | --program-suffix=* | --program-suffi=* \
985 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
986 program_suffix=$ac_optarg ;;
988 -program-transform-name | --program-transform-name \
989 | --program-transform-nam | --program-transform-na \
990 | --program-transform-n | --program-transform- \
991 | --program-transform | --program-transfor \
992 | --program-transfo | --program-transf \
993 | --program-trans | --program-tran \
994 | --progr-tra | --program-tr | --program-t)
995 ac_prev=program_transform_name ;;
996 -program-transform-name=* | --program-transform-name=* \
997 | --program-transform-nam=* | --program-transform-na=* \
998 | --program-transform-n=* | --program-transform-=* \
999 | --program-transform=* | --program-transfor=* \
1000 | --program-transfo=* | --program-transf=* \
1001 | --program-trans=* | --program-tran=* \
1002 | --progr-tra=* | --program-tr=* | --program-t=*)
1003 program_transform_name=$ac_optarg ;;
1005 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1007 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1008 pdfdir=$ac_optarg ;;
1010 -psdir | --psdir | --psdi | --psd | --ps)
1012 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1015 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1016 | -silent | --silent | --silen | --sile | --sil)
1019 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1021 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1023 sbindir=$ac_optarg ;;
1025 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1026 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1027 | --sharedst | --shareds | --shared | --share | --shar \
1029 ac_prev=sharedstatedir ;;
1030 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1031 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1032 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1034 sharedstatedir=$ac_optarg ;;
1036 -site | --site | --sit)
1038 -site=* | --site=* | --sit=*)
1041 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1043 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1044 srcdir=$ac_optarg ;;
1046 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1047 | --syscon | --sysco | --sysc | --sys | --sy)
1048 ac_prev=sysconfdir ;;
1049 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1050 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1051 sysconfdir=$ac_optarg ;;
1053 -target | --target | --targe | --targ | --tar | --ta | --t)
1054 ac_prev=target_alias ;;
1055 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1056 target_alias=$ac_optarg ;;
1058 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1061 -version | --version | --versio | --versi | --vers | -V)
1062 ac_init_version=: ;;
1065 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1066 # Reject names that are not valid shell variable names.
1067 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1068 { echo "$as_me: error: invalid package name: $ac_package" >&2
1069 { (exit 1); exit 1; }; }
1070 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1071 eval with_$ac_package=\$ac_optarg ;;
1073 -without-* | --without-*)
1074 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1075 # Reject names that are not valid shell variable names.
1076 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1077 { echo "$as_me: error: invalid package name: $ac_package" >&2
1078 { (exit 1); exit 1; }; }
1079 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1080 eval with_$ac_package=no ;;
1083 # Obsolete; use --with-x.
1086 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1087 | --x-incl | --x-inc | --x-in | --x-i)
1088 ac_prev=x_includes ;;
1089 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1090 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1091 x_includes=$ac_optarg ;;
1093 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1094 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1095 ac_prev=x_libraries ;;
1096 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1097 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1098 x_libraries=$ac_optarg ;;
1100 -*) { echo "$as_me: error: unrecognized option: $ac_option
1101 Try \`$0 --help' for more information." >&2
1102 { (exit 1); exit 1; }; }
1106 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1107 # Reject names that are not valid shell variable names.
1108 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1109 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1110 { (exit 1); exit 1; }; }
1111 eval $ac_envvar=\$ac_optarg
1112 export $ac_envvar ;;
1115 # FIXME: should be removed in autoconf 3.0.
1116 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1117 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1118 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1119 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1125 if test -n "$ac_prev"; then
1126 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1127 { echo "$as_me: error: missing argument to $ac_option" >&2
1128 { (exit 1); exit 1; }; }
1131 # Be sure to have absolute directory names.
1132 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1133 datadir sysconfdir sharedstatedir localstatedir includedir \
1134 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1135 libdir localedir mandir
1137 eval ac_val=\$$ac_var
1139 [\\/$]* | ?:[\\/]* ) continue;;
1140 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1142 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1143 { (exit 1); exit 1; }; }
1146 # There might be people who depend on the old broken behavior: `$host'
1147 # used to hold the argument of --host etc.
1148 # FIXME: To remove some day.
1151 target=$target_alias
1153 # FIXME: To remove some day.
1154 if test "x$host_alias" != x; then
1155 if test "x$build_alias" = x; then
1156 cross_compiling=maybe
1157 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1158 If a cross compiler is detected then cross compile mode will be used." >&2
1159 elif test "x$build_alias" != "x$host_alias"; then
1165 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1167 test "$silent" = yes && exec 6>/dev/null
1170 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1171 ac_ls_di=`ls -di .` &&
1172 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1173 { echo "$as_me: error: Working directory cannot be determined" >&2
1174 { (exit 1); exit 1; }; }
1175 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1176 { echo "$as_me: error: pwd does not report name of working directory" >&2
1177 { (exit 1); exit 1; }; }
1180 # Find the source files, if location was not specified.
1181 if test -z "$srcdir"; then
1182 ac_srcdir_defaulted=yes
1183 # Try the directory containing this script, then the parent directory.
1184 ac_confdir=`$as_dirname -- "$0" ||
1185 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1186 X"$0" : 'X\(//\)[^/]' \| \
1187 X"$0" : 'X\(//\)$' \| \
1188 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1190 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1208 if test ! -r "$srcdir/$ac_unique_file"; then
1212 ac_srcdir_defaulted=no
1214 if test ! -r "$srcdir/$ac_unique_file"; then
1215 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1216 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1217 { (exit 1); exit 1; }; }
1219 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1221 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1222 { (exit 1); exit 1; }; }
1224 # When building in place, set srcdir=.
1225 if test "$ac_abs_confdir" = "$ac_pwd"; then
1228 # Remove unnecessary trailing slashes from srcdir.
1229 # Double slashes in file names in object file debugging info
1230 # mess up M-x gdb in Emacs.
1232 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1234 for ac_var in $ac_precious_vars; do
1235 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1236 eval ac_env_${ac_var}_value=\$${ac_var}
1237 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1238 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1242 # Report the --help message.
1244 if test "$ac_init_help" = "long"; then
1245 # Omit some internal or obsolete options to make the list less imposing.
1246 # This message is too long to be a string in the A/UX 3.1 sh.
1248 \`configure' configures nss-ldapd 0.6.2 to adapt to many kinds of systems.
1250 Usage: $0 [OPTION]... [VAR=VALUE]...
1252 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1253 VAR=VALUE. See below for descriptions of some of the useful variables.
1255 Defaults for the options are specified in brackets.
1258 -h, --help display this help and exit
1259 --help=short display options specific to this package
1260 --help=recursive display the short help of all the included packages
1261 -V, --version display version information and exit
1262 -q, --quiet, --silent do not print \`checking...' messages
1263 --cache-file=FILE cache test results in FILE [disabled]
1264 -C, --config-cache alias for \`--cache-file=config.cache'
1265 -n, --no-create do not create output files
1266 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1268 Installation directories:
1269 --prefix=PREFIX install architecture-independent files in PREFIX
1270 [$ac_default_prefix]
1271 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1274 By default, \`make install' will install all the files in
1275 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1276 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1277 for instance \`--prefix=\$HOME'.
1279 For better control, use the options below.
1281 Fine tuning of the installation directories:
1282 --bindir=DIR user executables [EPREFIX/bin]
1283 --sbindir=DIR system admin executables [EPREFIX/sbin]
1284 --libexecdir=DIR program executables [EPREFIX/libexec]
1285 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1286 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1287 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1288 --libdir=DIR object code libraries [EPREFIX/lib]
1289 --includedir=DIR C header files [PREFIX/include]
1290 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1291 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1292 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1293 --infodir=DIR info documentation [DATAROOTDIR/info]
1294 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1295 --mandir=DIR man documentation [DATAROOTDIR/man]
1296 --docdir=DIR documentation root [DATAROOTDIR/doc/nss-ldapd]
1297 --htmldir=DIR html documentation [DOCDIR]
1298 --dvidir=DIR dvi documentation [DOCDIR]
1299 --pdfdir=DIR pdf documentation [DOCDIR]
1300 --psdir=DIR ps documentation [DOCDIR]
1306 --program-prefix=PREFIX prepend PREFIX to installed program names
1307 --program-suffix=SUFFIX append SUFFIX to installed program names
1308 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1311 --build=BUILD configure for building on BUILD [guessed]
1312 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1313 --target=TARGET configure for building compilers for TARGET [HOST]
1317 if test -n "$ac_init_help"; then
1318 case $ac_init_help in
1319 short | recursive ) echo "Configuration of nss-ldapd 0.6.2:";;
1324 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1325 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1326 --disable-dependency-tracking speeds up one-time build
1327 --enable-dependency-tracking do not reject slow dependency extractors
1328 --enable-debug enable extensive debugging and logging
1329 --enable-warnings enable extra compiler warnings (gcc)
1332 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1333 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1334 --with-ldap-lib=TYPE select ldap library
1335 (auto|netscape5|netscape4|netscape3|umich|openldap)
1337 --with-ldap-conf-file=PATH
1338 path to LDAP configuration file
1339 [/etc/nss-ldapd.conf]
1340 --with-nslcd-pidfile=PATH
1341 path to pidfile [/var/run/nslcd/nslcd.pid]
1342 --with-nslcd-socket=PATH
1343 path to socket [/var/run/nslcd/socket]
1345 Some influential environment variables:
1346 CC C compiler command
1347 CFLAGS C compiler flags
1348 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1349 nonstandard directory <lib dir>
1350 LIBS libraries to pass to the linker, e.g. -l<library>
1351 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1352 you have headers in a nonstandard directory <include dir>
1355 Use these variables to override the choices made by `configure' or to help
1356 it to find libraries and programs with nonstandard names/locations.
1358 Report bugs to <arthur@ch.tudelft.nl>.
1363 if test "$ac_init_help" = "recursive"; then
1364 # If there are subdirs, report their specific --help.
1365 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1366 test -d "$ac_dir" || continue
1370 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1372 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1373 # A ".." for each directory in $ac_dir_suffix.
1374 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1375 case $ac_top_builddir_sub in
1376 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1377 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1380 ac_abs_top_builddir=$ac_pwd
1381 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1382 # for backward compatibility:
1383 ac_top_builddir=$ac_top_build_prefix
1386 .) # We are building in place.
1388 ac_top_srcdir=$ac_top_builddir_sub
1389 ac_abs_top_srcdir=$ac_pwd ;;
1390 [\\/]* | ?:[\\/]* ) # Absolute name.
1391 ac_srcdir=$srcdir$ac_dir_suffix;
1392 ac_top_srcdir=$srcdir
1393 ac_abs_top_srcdir=$srcdir ;;
1395 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1396 ac_top_srcdir=$ac_top_build_prefix$srcdir
1397 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1399 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1401 cd "$ac_dir" || { ac_status=$?; continue; }
1402 # Check for guested configure.
1403 if test -f "$ac_srcdir/configure.gnu"; then
1405 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1406 elif test -f "$ac_srcdir/configure"; then
1408 $SHELL "$ac_srcdir/configure" --help=recursive
1410 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1412 cd "$ac_pwd" || { ac_status=$?; break; }
1416 test -n "$ac_init_help" && exit $ac_status
1417 if $ac_init_version; then
1419 nss-ldapd configure 0.6.2
1420 generated by GNU Autoconf 2.61
1422 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1423 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1424 This configure script is free software; the Free Software Foundation
1425 gives unlimited permission to copy, distribute and modify it.
1427 Copyright (C) 2006 Luke Howard
1428 Copyright (C) 2006 West Consulting
1429 Copyright (C) 2006, 2007, 2008 Arthur de Jong
1431 This configure script is derived from configure.ac which is free software;
1432 you can redistribute it and/or modify it under the terms of the GNU Lesser
1433 General Public License as published by the Free Software Foundation; either
1434 version 2.1 of the License, or (at your option) any later version. See the
1435 configure.ac file for more details.
1439 cat >config.log <<_ACEOF
1440 This file contains any messages produced by compilers while
1441 running configure, to aid debugging if configure makes a mistake.
1443 It was created by nss-ldapd $as_me 0.6.2, which was
1444 generated by GNU Autoconf 2.61. Invocation command line was
1456 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1457 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1458 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1459 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1460 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1462 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1463 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1465 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1466 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1467 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1468 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1469 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1470 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1471 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1475 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1479 test -z "$as_dir" && as_dir=.
1480 echo "PATH: $as_dir"
1496 # Keep a trace of the command line.
1497 # Strip out --no-create and --no-recursion so they do not pile up.
1498 # Strip out --silent because we don't want to record it for future runs.
1499 # Also quote any args containing shell meta-characters.
1500 # Make two passes to allow for proper duplicate-argument suppression.
1504 ac_must_keep_next=false
1510 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1511 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1512 | -silent | --silent | --silen | --sile | --sil)
1515 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1518 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1520 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1521 if test $ac_must_keep_next = true; then
1522 ac_must_keep_next=false # Got value, back to normal.
1525 *=* | --config-cache | -C | -disable-* | --disable-* \
1526 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1527 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1528 | -with-* | --with-* | -without-* | --without-* | --x)
1529 case "$ac_configure_args0 " in
1530 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1533 -* ) ac_must_keep_next=true ;;
1536 ac_configure_args="$ac_configure_args '$ac_arg'"
1541 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1542 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1544 # When interrupted or exit'd, cleanup temporary files, and complete
1545 # config.log. We remove comments because anyway the quotes in there
1546 # would cause problems or look ugly.
1547 # WARNING: Use '\'' to represent an apostrophe within the trap.
1548 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1549 trap 'exit_status=$?
1550 # Save into config.log some information that might help in debugging.
1555 ## ---------------- ##
1556 ## Cache variables. ##
1557 ## ---------------- ##
1560 # The following way of writing the cache mishandles newlines in values,
1562 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1563 eval ac_val=\$$ac_var
1567 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1568 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1571 _ | IFS | as_nl) ;; #(
1572 *) $as_unset $ac_var ;;
1577 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1578 *${as_nl}ac_space=\ *)
1580 "s/'\''/'\''\\\\'\'''\''/g;
1581 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1584 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1592 ## ----------------- ##
1593 ## Output variables. ##
1594 ## ----------------- ##
1597 for ac_var in $ac_subst_vars
1599 eval ac_val=\$$ac_var
1601 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1603 echo "$ac_var='\''$ac_val'\''"
1607 if test -n "$ac_subst_files"; then
1609 ## ------------------- ##
1610 ## File substitutions. ##
1611 ## ------------------- ##
1614 for ac_var in $ac_subst_files
1616 eval ac_val=\$$ac_var
1618 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1620 echo "$ac_var='\''$ac_val'\''"
1625 if test -s confdefs.h; then
1635 test "$ac_signal" != 0 &&
1636 echo "$as_me: caught signal $ac_signal"
1637 echo "$as_me: exit $exit_status"
1639 rm -f core *.core core.conftest.* &&
1640 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1643 for ac_signal in 1 2 13 15; do
1644 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1648 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1649 rm -f -r conftest* confdefs.h
1651 # Predefined preprocessor variables.
1653 cat >>confdefs.h <<_ACEOF
1654 #define PACKAGE_NAME "$PACKAGE_NAME"
1658 cat >>confdefs.h <<_ACEOF
1659 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1663 cat >>confdefs.h <<_ACEOF
1664 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1668 cat >>confdefs.h <<_ACEOF
1669 #define PACKAGE_STRING "$PACKAGE_STRING"
1673 cat >>confdefs.h <<_ACEOF
1674 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1678 # Let the site file select an alternate cache file if it wants to.
1679 # Prefer explicitly selected file to automatically selected ones.
1680 if test -n "$CONFIG_SITE"; then
1681 set x "$CONFIG_SITE"
1682 elif test "x$prefix" != xNONE; then
1683 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1685 set x "$ac_default_prefix/share/config.site" \
1686 "$ac_default_prefix/etc/config.site"
1691 if test -r "$ac_site_file"; then
1692 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1693 echo "$as_me: loading site script $ac_site_file" >&6;}
1694 sed 's/^/| /' "$ac_site_file" >&5
1699 if test -r "$cache_file"; then
1700 # Some versions of bash will fail to source /dev/null (special
1701 # files actually), so we avoid doing that.
1702 if test -f "$cache_file"; then
1703 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1704 echo "$as_me: loading cache $cache_file" >&6;}
1706 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1707 *) . "./$cache_file";;
1711 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1712 echo "$as_me: creating cache $cache_file" >&6;}
1716 # Check that the precious variables saved in the cache have kept the same
1718 ac_cache_corrupted=false
1719 for ac_var in $ac_precious_vars; do
1720 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1721 eval ac_new_set=\$ac_env_${ac_var}_set
1722 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1723 eval ac_new_val=\$ac_env_${ac_var}_value
1724 case $ac_old_set,$ac_new_set in
1726 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1727 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1728 ac_cache_corrupted=: ;;
1730 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1731 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1732 ac_cache_corrupted=: ;;
1735 if test "x$ac_old_val" != "x$ac_new_val"; then
1736 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1737 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1738 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1739 echo "$as_me: former value: $ac_old_val" >&2;}
1740 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1741 echo "$as_me: current value: $ac_new_val" >&2;}
1742 ac_cache_corrupted=:
1745 # Pass precious variables to config.status.
1746 if test "$ac_new_set" = set; then
1748 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1749 *) ac_arg=$ac_var=$ac_new_val ;;
1751 case " $ac_configure_args " in
1752 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1753 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1757 if $ac_cache_corrupted; then
1758 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1759 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1760 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1761 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1762 { (exit 1); exit 1; }; }
1790 ac_cpp='$CPP $CPPFLAGS'
1791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1796 RELEASE_MONTH="May 2008"
1801 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1802 if test -f "$ac_dir/install-sh"; then
1804 ac_install_sh="$ac_aux_dir/install-sh -c"
1806 elif test -f "$ac_dir/install.sh"; then
1808 ac_install_sh="$ac_aux_dir/install.sh -c"
1810 elif test -f "$ac_dir/shtool"; then
1812 ac_install_sh="$ac_aux_dir/shtool install -c"
1816 if test -z "$ac_aux_dir"; then
1817 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1818 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1819 { (exit 1); exit 1; }; }
1822 # These three variables are undocumented and unsupported,
1823 # and are intended to be withdrawn in a future Autoconf release.
1824 # They can cause serious problems if a builder's source tree is in a directory
1825 # whose full name contains unusual characters.
1826 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1827 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1828 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1831 # Make sure we can run config.sub.
1832 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
1833 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
1834 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
1835 { (exit 1); exit 1; }; }
1837 { echo "$as_me:$LINENO: checking build system type" >&5
1838 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
1839 if test "${ac_cv_build+set}" = set; then
1840 echo $ECHO_N "(cached) $ECHO_C" >&6
1842 ac_build_alias=$build_alias
1843 test "x$ac_build_alias" = x &&
1844 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
1845 test "x$ac_build_alias" = x &&
1846 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
1847 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
1848 { (exit 1); exit 1; }; }
1849 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
1850 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
1851 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
1852 { (exit 1); exit 1; }; }
1855 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
1856 echo "${ECHO_T}$ac_cv_build" >&6; }
1857 case $ac_cv_build in
1859 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
1860 echo "$as_me: error: invalid value of canonical build" >&2;}
1861 { (exit 1); exit 1; }; };;
1864 ac_save_IFS=$IFS; IFS='-'
1870 # Remember, the first character of IFS is used to create $*,
1871 # except with old shells:
1874 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
1877 { echo "$as_me:$LINENO: checking host system type" >&5
1878 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
1879 if test "${ac_cv_host+set}" = set; then
1880 echo $ECHO_N "(cached) $ECHO_C" >&6
1882 if test "x$host_alias" = x; then
1883 ac_cv_host=$ac_cv_build
1885 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
1886 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
1887 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
1888 { (exit 1); exit 1; }; }
1892 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
1893 echo "${ECHO_T}$ac_cv_host" >&6; }
1896 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
1897 echo "$as_me: error: invalid value of canonical host" >&2;}
1898 { (exit 1); exit 1; }; };;
1901 ac_save_IFS=$IFS; IFS='-'
1907 # Remember, the first character of IFS is used to create $*,
1908 # except with old shells:
1911 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
1914 { echo "$as_me:$LINENO: checking target system type" >&5
1915 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
1916 if test "${ac_cv_target+set}" = set; then
1917 echo $ECHO_N "(cached) $ECHO_C" >&6
1919 if test "x$target_alias" = x; then
1920 ac_cv_target=$ac_cv_host
1922 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
1923 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
1924 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
1925 { (exit 1); exit 1; }; }
1929 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
1930 echo "${ECHO_T}$ac_cv_target" >&6; }
1931 case $ac_cv_target in
1933 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
1934 echo "$as_me: error: invalid value of canonical target" >&2;}
1935 { (exit 1); exit 1; }; };;
1937 target=$ac_cv_target
1938 ac_save_IFS=$IFS; IFS='-'
1944 # Remember, the first character of IFS is used to create $*,
1945 # except with old shells:
1948 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
1951 # The aliases save the names the user supplied, while $host etc.
1952 # will get canonicalized.
1953 test -n "$target_alias" &&
1954 test "$program_prefix$program_suffix$program_transform_name" = \
1956 program_prefix=${target_alias}-
1959 # display notice and initialize automake
1960 { echo "$as_me:$LINENO: configuring nss-ldapd 0.6.2" >&5
1961 echo "$as_me: configuring nss-ldapd 0.6.2" >&6;}
1962 am__api_version='1.10'
1964 # Find a good install program. We prefer a C program (faster),
1965 # so one script is as good as another. But avoid the broken or
1966 # incompatible versions:
1967 # SysV /etc/install, /usr/sbin/install
1968 # SunOS /usr/etc/install
1969 # IRIX /sbin/install
1971 # AmigaOS /C/install, which installs bootblocks on floppy discs
1972 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1973 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1974 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1975 # OS/2's system install, which has a completely different semantic
1976 # ./install, which can be erroneously created by make from ./install.sh.
1977 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1978 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1979 if test -z "$INSTALL"; then
1980 if test "${ac_cv_path_install+set}" = set; then
1981 echo $ECHO_N "(cached) $ECHO_C" >&6
1983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1987 test -z "$as_dir" && as_dir=.
1988 # Account for people who put trailing slashes in PATH elements.
1990 ./ | .// | /cC/* | \
1991 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1992 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1995 # OSF1 and SCO ODT 3.0 have their own names for install.
1996 # Don't use installbsd from OSF since it installs stuff as root
1998 for ac_prog in ginstall scoinst install; do
1999 for ac_exec_ext in '' $ac_executable_extensions; do
2000 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2001 if test $ac_prog = install &&
2002 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2003 # AIX install. It has an incompatible calling convention.
2005 elif test $ac_prog = install &&
2006 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2007 # program-specific install script used by HP pwplus--don't use.
2010 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2023 if test "${ac_cv_path_install+set}" = set; then
2024 INSTALL=$ac_cv_path_install
2026 # As a last resort, use the slow shell script. Don't cache a
2027 # value for INSTALL within a source directory, because that will
2028 # break other packages using the cache if that directory is
2029 # removed, or if the value is a relative name.
2030 INSTALL=$ac_install_sh
2033 { echo "$as_me:$LINENO: result: $INSTALL" >&5
2034 echo "${ECHO_T}$INSTALL" >&6; }
2036 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2037 # It thinks the first close brace ends the variable substitution.
2038 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2040 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2042 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2044 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2045 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
2048 echo timestamp > conftest.file
2049 # Do `set' in a subshell so we don't clobber the current shell's
2050 # arguments. Must try -L first in case configure is actually a
2051 # symlink; some systems play weird games with the mod time of symlinks
2052 # (eg FreeBSD returns the mod time of the symlink's containing
2055 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
2056 if test "$*" = "X"; then
2058 set X `ls -t $srcdir/configure conftest.file`
2061 if test "$*" != "X $srcdir/configure conftest.file" \
2062 && test "$*" != "X conftest.file $srcdir/configure"; then
2064 # If neither matched, then we have a broken ls. This can happen
2065 # if, for instance, CONFIG_SHELL is bash and it inherits a
2066 # broken ls alias from the environment. This has actually
2067 # happened. Such a system could not be considered "sane".
2068 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2069 alias in your environment" >&5
2070 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2071 alias in your environment" >&2;}
2072 { (exit 1); exit 1; }; }
2075 test "$2" = conftest.file
2081 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2082 Check your system clock" >&5
2083 echo "$as_me: error: newly created file is older than distributed files!
2084 Check your system clock" >&2;}
2085 { (exit 1); exit 1; }; }
2087 { echo "$as_me:$LINENO: result: yes" >&5
2088 echo "${ECHO_T}yes" >&6; }
2089 test "$program_prefix" != NONE &&
2090 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2091 # Use a double $ so make ignores it.
2092 test "$program_suffix" != NONE &&
2093 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2094 # Double any \ or $. echo might interpret backslashes.
2095 # By default was `s,x,x', remove it if useless.
2096 cat <<\_ACEOF >conftest.sed
2097 s/[\\$]/&&/g;s/;s,x,x,$//
2099 program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
2102 # expand $ac_aux_dir to an absolute path
2103 am_aux_dir=`cd $ac_aux_dir && pwd`
2105 test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
2106 # Use eval to expand $SHELL
2107 if eval "$MISSING --run true"; then
2108 am_missing_run="$MISSING --run "
2111 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2112 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2115 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2116 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2117 if test -z "$MKDIR_P"; then
2118 if test "${ac_cv_path_mkdir+set}" = set; then
2119 echo $ECHO_N "(cached) $ECHO_C" >&6
2121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2122 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2125 test -z "$as_dir" && as_dir=.
2126 for ac_prog in mkdir gmkdir; do
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2129 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2130 'mkdir (GNU coreutils) '* | \
2131 'mkdir (coreutils) '* | \
2132 'mkdir (fileutils) '4.1*)
2133 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2143 if test "${ac_cv_path_mkdir+set}" = set; then
2144 MKDIR_P="$ac_cv_path_mkdir -p"
2146 # As a last resort, use the slow shell script. Don't cache a
2147 # value for MKDIR_P within a source directory, because that will
2148 # break other packages using the cache if that directory is
2149 # removed, or if the value is a relative name.
2150 test -d ./--version && rmdir ./--version
2151 MKDIR_P="$ac_install_sh -d"
2154 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2155 echo "${ECHO_T}$MKDIR_P" >&6; }
2159 [\\/$]* | ?:[\\/]*) ;;
2160 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2163 for ac_prog in gawk mawk nawk awk
2165 # Extract the first word of "$ac_prog", so it can be a program name with args.
2166 set dummy $ac_prog; ac_word=$2
2167 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2168 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2169 if test "${ac_cv_prog_AWK+set}" = set; then
2170 echo $ECHO_N "(cached) $ECHO_C" >&6
2172 if test -n "$AWK"; then
2173 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_AWK="$ac_prog"
2183 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 if test -n "$AWK"; then
2194 { echo "$as_me:$LINENO: result: $AWK" >&5
2195 echo "${ECHO_T}$AWK" >&6; }
2197 { echo "$as_me:$LINENO: result: no" >&5
2198 echo "${ECHO_T}no" >&6; }
2202 test -n "$AWK" && break
2205 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2206 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2207 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2208 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2209 echo $ECHO_N "(cached) $ECHO_C" >&6
2211 cat >conftest.make <<\_ACEOF
2214 @echo '@@@%%%=$(MAKE)=@@@%%%'
2216 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2217 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2219 eval ac_cv_prog_make_${ac_make}_set=yes;;
2221 eval ac_cv_prog_make_${ac_make}_set=no;;
2225 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2226 { echo "$as_me:$LINENO: result: yes" >&5
2227 echo "${ECHO_T}yes" >&6; }
2230 { echo "$as_me:$LINENO: result: no" >&5
2231 echo "${ECHO_T}no" >&6; }
2232 SET_MAKE="MAKE=${MAKE-make}"
2235 rm -rf .tst 2>/dev/null
2236 mkdir .tst 2>/dev/null
2237 if test -d .tst; then
2242 rmdir .tst 2>/dev/null
2244 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2245 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2246 # is not polluted with repeated "-I."
2247 am__isrc=' -I$(srcdir)'
2248 # test to see if srcdir already configured
2249 if test -f $srcdir/config.status; then
2250 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2251 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2252 { (exit 1); exit 1; }; }
2256 # test whether we have cygpath
2257 if test -z "$CYGPATH_W"; then
2258 if (cygpath --version) >/dev/null 2>/dev/null; then
2259 CYGPATH_W='cygpath -w'
2266 # Define the identity of the package.
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE "$PACKAGE"
2276 cat >>confdefs.h <<_ACEOF
2277 #define VERSION "$VERSION"
2280 # Some tools Automake needs.
2282 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2285 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2288 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2291 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2294 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2296 install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2298 # Installed binaries are usually stripped using `strip' when the user
2299 # run `make install-strip'. However `strip' might not be the right
2300 # tool to use in cross-compilation environments, therefore Automake
2301 # will honor the `STRIP' environment variable to overrule this program.
2302 if test "$cross_compiling" != no; then
2303 if test -n "$ac_tool_prefix"; then
2304 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2305 set dummy ${ac_tool_prefix}strip; ac_word=$2
2306 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2307 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2308 if test "${ac_cv_prog_STRIP+set}" = set; then
2309 echo $ECHO_N "(cached) $ECHO_C" >&6
2311 if test -n "$STRIP"; then
2312 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2322 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 STRIP=$ac_cv_prog_STRIP
2332 if test -n "$STRIP"; then
2333 { echo "$as_me:$LINENO: result: $STRIP" >&5
2334 echo "${ECHO_T}$STRIP" >&6; }
2336 { echo "$as_me:$LINENO: result: no" >&5
2337 echo "${ECHO_T}no" >&6; }
2342 if test -z "$ac_cv_prog_STRIP"; then
2344 # Extract the first word of "strip", so it can be a program name with args.
2345 set dummy strip; ac_word=$2
2346 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2347 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2348 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2349 echo $ECHO_N "(cached) $ECHO_C" >&6
2351 if test -n "$ac_ct_STRIP"; then
2352 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2354 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2358 test -z "$as_dir" && as_dir=.
2359 for ac_exec_ext in '' $ac_executable_extensions; do
2360 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2361 ac_cv_prog_ac_ct_STRIP="strip"
2362 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2371 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2372 if test -n "$ac_ct_STRIP"; then
2373 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2374 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2376 { echo "$as_me:$LINENO: result: no" >&5
2377 echo "${ECHO_T}no" >&6; }
2380 if test "x$ac_ct_STRIP" = x; then
2383 case $cross_compiling:$ac_tool_warned in
2385 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2386 whose name does not start with the host triplet. If you think this
2387 configuration is useful to you, please write to autoconf@gnu.org." >&5
2388 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2389 whose name does not start with the host triplet. If you think this
2390 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2391 ac_tool_warned=yes ;;
2396 STRIP="$ac_cv_prog_STRIP"
2400 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2402 # We need awk for the "check" target. The system "awk" is bad on
2404 # Always define AMTAR for backward compatibility.
2406 AMTAR=${AMTAR-"${am_missing_run}tar"}
2408 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2415 # create a config.h file (Automake will add -DHAVE_CONFIG_H)
2416 ac_config_headers="$ac_config_headers config.h"
2419 # check for programs
2421 ac_cpp='$CPP $CPPFLAGS'
2422 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2423 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2424 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2425 if test -n "$ac_tool_prefix"; then
2426 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2427 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2428 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2429 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2430 if test "${ac_cv_prog_CC+set}" = set; then
2431 echo $ECHO_N "(cached) $ECHO_C" >&6
2433 if test -n "$CC"; then
2434 ac_cv_prog_CC="$CC" # Let the user override the test.
2436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2440 test -z "$as_dir" && as_dir=.
2441 for ac_exec_ext in '' $ac_executable_extensions; do
2442 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2443 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2444 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2454 if test -n "$CC"; then
2455 { echo "$as_me:$LINENO: result: $CC" >&5
2456 echo "${ECHO_T}$CC" >&6; }
2458 { echo "$as_me:$LINENO: result: no" >&5
2459 echo "${ECHO_T}no" >&6; }
2464 if test -z "$ac_cv_prog_CC"; then
2466 # Extract the first word of "gcc", so it can be a program name with args.
2467 set dummy gcc; ac_word=$2
2468 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2469 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2470 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2471 echo $ECHO_N "(cached) $ECHO_C" >&6
2473 if test -n "$ac_ct_CC"; then
2474 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2480 test -z "$as_dir" && as_dir=.
2481 for ac_exec_ext in '' $ac_executable_extensions; do
2482 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2483 ac_cv_prog_ac_ct_CC="gcc"
2484 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2493 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2494 if test -n "$ac_ct_CC"; then
2495 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2496 echo "${ECHO_T}$ac_ct_CC" >&6; }
2498 { echo "$as_me:$LINENO: result: no" >&5
2499 echo "${ECHO_T}no" >&6; }
2502 if test "x$ac_ct_CC" = x; then
2505 case $cross_compiling:$ac_tool_warned in
2507 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2508 whose name does not start with the host triplet. If you think this
2509 configuration is useful to you, please write to autoconf@gnu.org." >&5
2510 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2511 whose name does not start with the host triplet. If you think this
2512 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2513 ac_tool_warned=yes ;;
2521 if test -z "$CC"; then
2522 if test -n "$ac_tool_prefix"; then
2523 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2524 set dummy ${ac_tool_prefix}cc; ac_word=$2
2525 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2526 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2527 if test "${ac_cv_prog_CC+set}" = set; then
2528 echo $ECHO_N "(cached) $ECHO_C" >&6
2530 if test -n "$CC"; then
2531 ac_cv_prog_CC="$CC" # Let the user override the test.
2533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2537 test -z "$as_dir" && as_dir=.
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2540 ac_cv_prog_CC="${ac_tool_prefix}cc"
2541 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2551 if test -n "$CC"; then
2552 { echo "$as_me:$LINENO: result: $CC" >&5
2553 echo "${ECHO_T}$CC" >&6; }
2555 { echo "$as_me:$LINENO: result: no" >&5
2556 echo "${ECHO_T}no" >&6; }
2562 if test -z "$CC"; then
2563 # Extract the first word of "cc", so it can be a program name with args.
2564 set dummy cc; ac_word=$2
2565 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2566 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2567 if test "${ac_cv_prog_CC+set}" = set; then
2568 echo $ECHO_N "(cached) $ECHO_C" >&6
2570 if test -n "$CC"; then
2571 ac_cv_prog_CC="$CC" # Let the user override the test.
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2578 test -z "$as_dir" && as_dir=.
2579 for ac_exec_ext in '' $ac_executable_extensions; do
2580 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2581 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2582 ac_prog_rejected=yes
2586 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2593 if test $ac_prog_rejected = yes; then
2594 # We found a bogon in the path, so make sure we never use it.
2595 set dummy $ac_cv_prog_CC
2597 if test $# != 0; then
2598 # We chose a different compiler from the bogus one.
2599 # However, it has the same basename, so the bogon will be chosen
2600 # first if we set CC to just the basename; use the full file name.
2602 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2608 if test -n "$CC"; then
2609 { echo "$as_me:$LINENO: result: $CC" >&5
2610 echo "${ECHO_T}$CC" >&6; }
2612 { echo "$as_me:$LINENO: result: no" >&5
2613 echo "${ECHO_T}no" >&6; }
2618 if test -z "$CC"; then
2619 if test -n "$ac_tool_prefix"; then
2620 for ac_prog in cl.exe
2622 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2623 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2624 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2625 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2626 if test "${ac_cv_prog_CC+set}" = set; then
2627 echo $ECHO_N "(cached) $ECHO_C" >&6
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC="$CC" # Let the user override the test.
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2636 test -z "$as_dir" && as_dir=.
2637 for ac_exec_ext in '' $ac_executable_extensions; do
2638 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2639 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2640 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2650 if test -n "$CC"; then
2651 { echo "$as_me:$LINENO: result: $CC" >&5
2652 echo "${ECHO_T}$CC" >&6; }
2654 { echo "$as_me:$LINENO: result: no" >&5
2655 echo "${ECHO_T}no" >&6; }
2659 test -n "$CC" && break
2662 if test -z "$CC"; then
2664 for ac_prog in cl.exe
2666 # Extract the first word of "$ac_prog", so it can be a program name with args.
2667 set dummy $ac_prog; ac_word=$2
2668 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2669 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2670 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2671 echo $ECHO_N "(cached) $ECHO_C" >&6
2673 if test -n "$ac_ct_CC"; then
2674 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2680 test -z "$as_dir" && as_dir=.
2681 for ac_exec_ext in '' $ac_executable_extensions; do
2682 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2683 ac_cv_prog_ac_ct_CC="$ac_prog"
2684 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2693 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2694 if test -n "$ac_ct_CC"; then
2695 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2696 echo "${ECHO_T}$ac_ct_CC" >&6; }
2698 { echo "$as_me:$LINENO: result: no" >&5
2699 echo "${ECHO_T}no" >&6; }
2703 test -n "$ac_ct_CC" && break
2706 if test "x$ac_ct_CC" = x; then
2709 case $cross_compiling:$ac_tool_warned in
2711 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2712 whose name does not start with the host triplet. If you think this
2713 configuration is useful to you, please write to autoconf@gnu.org." >&5
2714 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2715 whose name does not start with the host triplet. If you think this
2716 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2717 ac_tool_warned=yes ;;
2726 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2727 See \`config.log' for more details." >&5
2728 echo "$as_me: error: no acceptable C compiler found in \$PATH
2729 See \`config.log' for more details." >&2;}
2730 { (exit 1); exit 1; }; }
2732 # Provide some information about the compiler.
2733 echo "$as_me:$LINENO: checking for C compiler version" >&5
2734 ac_compiler=`set X $ac_compile; echo $2`
2735 { (ac_try="$ac_compiler --version >&5"
2737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2738 *) ac_try_echo=$ac_try;;
2740 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2741 (eval "$ac_compiler --version >&5") 2>&5
2743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2744 (exit $ac_status); }
2745 { (ac_try="$ac_compiler -v >&5"
2747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2748 *) ac_try_echo=$ac_try;;
2750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2751 (eval "$ac_compiler -v >&5") 2>&5
2753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2754 (exit $ac_status); }
2755 { (ac_try="$ac_compiler -V >&5"
2757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2758 *) ac_try_echo=$ac_try;;
2760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2761 (eval "$ac_compiler -V >&5") 2>&5
2763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2764 (exit $ac_status); }
2766 cat >conftest.$ac_ext <<_ACEOF
2769 cat confdefs.h >>conftest.$ac_ext
2770 cat >>conftest.$ac_ext <<_ACEOF
2771 /* end confdefs.h. */
2781 ac_clean_files_save=$ac_clean_files
2782 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2783 # Try to create an executable without -o first, disregard a.out.
2784 # It will help us diagnose broken compilers, and finding out an intuition
2786 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2787 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2788 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2790 # List of possible output files, starting from the most likely.
2791 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2792 # only as a last resort. b.out is created by i960 compilers.
2793 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2795 # The IRIX 6 linker writes into existing files which may not be
2796 # executable, retaining their permissions. Remove them first so a
2797 # subsequent execution test works.
2799 for ac_file in $ac_files
2802 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2803 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2808 if { (ac_try="$ac_link_default"
2810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2811 *) ac_try_echo=$ac_try;;
2813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2814 (eval "$ac_link_default") 2>&5
2816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2817 (exit $ac_status); }; then
2818 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2819 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2820 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2821 # so that the user can short-circuit this test for compilers unknown to
2823 for ac_file in $ac_files ''
2825 test -f "$ac_file" || continue
2827 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2830 # We found the default executable, but exeext='' is most
2834 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2836 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2838 # We set ac_cv_exeext here because the later test for it is not
2839 # safe: cross compilers may not add the suffix if given an `-o'
2840 # argument, so we may need to know it at that point already.
2841 # Even if this section looks crufty: it has the advantage of
2848 test "$ac_cv_exeext" = no && ac_cv_exeext=
2854 { echo "$as_me:$LINENO: result: $ac_file" >&5
2855 echo "${ECHO_T}$ac_file" >&6; }
2856 if test -z "$ac_file"; then
2857 echo "$as_me: failed program was:" >&5
2858 sed 's/^/| /' conftest.$ac_ext >&5
2860 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2861 See \`config.log' for more details." >&5
2862 echo "$as_me: error: C compiler cannot create executables
2863 See \`config.log' for more details." >&2;}
2864 { (exit 77); exit 77; }; }
2867 ac_exeext=$ac_cv_exeext
2869 # Check that the compiler produces executables we can run. If not, either
2870 # the compiler is broken, or we cross compile.
2871 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2872 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2873 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2874 # If not cross compiling, check that we can run a simple program.
2875 if test "$cross_compiling" != yes; then
2876 if { ac_try='./$ac_file'
2877 { (case "(($ac_try" in
2878 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2879 *) ac_try_echo=$ac_try;;
2881 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2882 (eval "$ac_try") 2>&5
2884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2885 (exit $ac_status); }; }; then
2888 if test "$cross_compiling" = maybe; then
2891 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2892 If you meant to cross compile, use \`--host'.
2893 See \`config.log' for more details." >&5
2894 echo "$as_me: error: cannot run C compiled programs.
2895 If you meant to cross compile, use \`--host'.
2896 See \`config.log' for more details." >&2;}
2897 { (exit 1); exit 1; }; }
2901 { echo "$as_me:$LINENO: result: yes" >&5
2902 echo "${ECHO_T}yes" >&6; }
2904 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2905 ac_clean_files=$ac_clean_files_save
2906 # Check that the compiler produces executables we can run. If not, either
2907 # the compiler is broken, or we cross compile.
2908 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2909 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2910 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2911 echo "${ECHO_T}$cross_compiling" >&6; }
2913 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2914 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2915 if { (ac_try="$ac_link"
2917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2918 *) ac_try_echo=$ac_try;;
2920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2921 (eval "$ac_link") 2>&5
2923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2924 (exit $ac_status); }; then
2925 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2926 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2927 # work properly (i.e., refer to `conftest.exe'), while it won't with
2929 for ac_file in conftest.exe conftest conftest.*; do
2930 test -f "$ac_file" || continue
2932 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2933 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2939 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2940 See \`config.log' for more details." >&5
2941 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2942 See \`config.log' for more details." >&2;}
2943 { (exit 1); exit 1; }; }
2946 rm -f conftest$ac_cv_exeext
2947 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2948 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2950 rm -f conftest.$ac_ext
2951 EXEEXT=$ac_cv_exeext
2953 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2954 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2955 if test "${ac_cv_objext+set}" = set; then
2956 echo $ECHO_N "(cached) $ECHO_C" >&6
2958 cat >conftest.$ac_ext <<_ACEOF
2961 cat confdefs.h >>conftest.$ac_ext
2962 cat >>conftest.$ac_ext <<_ACEOF
2963 /* end confdefs.h. */
2973 rm -f conftest.o conftest.obj
2974 if { (ac_try="$ac_compile"
2976 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2977 *) ac_try_echo=$ac_try;;
2979 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2980 (eval "$ac_compile") 2>&5
2982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2983 (exit $ac_status); }; then
2984 for ac_file in conftest.o conftest.obj conftest.*; do
2985 test -f "$ac_file" || continue;
2987 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2988 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2993 echo "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2996 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2997 See \`config.log' for more details." >&5
2998 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2999 See \`config.log' for more details." >&2;}
3000 { (exit 1); exit 1; }; }
3003 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3005 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3006 echo "${ECHO_T}$ac_cv_objext" >&6; }
3007 OBJEXT=$ac_cv_objext
3009 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3010 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3011 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3012 echo $ECHO_N "(cached) $ECHO_C" >&6
3014 cat >conftest.$ac_ext <<_ACEOF
3017 cat confdefs.h >>conftest.$ac_ext
3018 cat >>conftest.$ac_ext <<_ACEOF
3019 /* end confdefs.h. */
3032 rm -f conftest.$ac_objext
3033 if { (ac_try="$ac_compile"
3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3039 (eval "$ac_compile") 2>conftest.er1
3041 grep -v '^ *+' conftest.er1 >conftest.err
3043 cat conftest.err >&5
3044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3045 (exit $ac_status); } && {
3046 test -z "$ac_c_werror_flag" ||
3047 test ! -s conftest.err
3048 } && test -s conftest.$ac_objext; then
3051 echo "$as_me: failed program was:" >&5
3052 sed 's/^/| /' conftest.$ac_ext >&5
3057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3058 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3061 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3062 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3063 GCC=`test $ac_compiler_gnu = yes && echo yes`
3064 ac_test_CFLAGS=${CFLAGS+set}
3065 ac_save_CFLAGS=$CFLAGS
3066 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3067 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3068 if test "${ac_cv_prog_cc_g+set}" = set; then
3069 echo $ECHO_N "(cached) $ECHO_C" >&6
3071 ac_save_c_werror_flag=$ac_c_werror_flag
3072 ac_c_werror_flag=yes
3075 cat >conftest.$ac_ext <<_ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3090 rm -f conftest.$ac_objext
3091 if { (ac_try="$ac_compile"
3093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3094 *) ac_try_echo=$ac_try;;
3096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3097 (eval "$ac_compile") 2>conftest.er1
3099 grep -v '^ *+' conftest.er1 >conftest.err
3101 cat conftest.err >&5
3102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3103 (exit $ac_status); } && {
3104 test -z "$ac_c_werror_flag" ||
3105 test ! -s conftest.err
3106 } && test -s conftest.$ac_objext; then
3109 echo "$as_me: failed program was:" >&5
3110 sed 's/^/| /' conftest.$ac_ext >&5
3113 cat >conftest.$ac_ext <<_ACEOF
3116 cat confdefs.h >>conftest.$ac_ext
3117 cat >>conftest.$ac_ext <<_ACEOF
3118 /* end confdefs.h. */
3128 rm -f conftest.$ac_objext
3129 if { (ac_try="$ac_compile"
3131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3132 *) ac_try_echo=$ac_try;;
3134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3135 (eval "$ac_compile") 2>conftest.er1
3137 grep -v '^ *+' conftest.er1 >conftest.err
3139 cat conftest.err >&5
3140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3141 (exit $ac_status); } && {
3142 test -z "$ac_c_werror_flag" ||
3143 test ! -s conftest.err
3144 } && test -s conftest.$ac_objext; then
3147 echo "$as_me: failed program was:" >&5
3148 sed 's/^/| /' conftest.$ac_ext >&5
3150 ac_c_werror_flag=$ac_save_c_werror_flag
3152 cat >conftest.$ac_ext <<_ACEOF
3155 cat confdefs.h >>conftest.$ac_ext
3156 cat >>conftest.$ac_ext <<_ACEOF
3157 /* end confdefs.h. */
3167 rm -f conftest.$ac_objext
3168 if { (ac_try="$ac_compile"
3170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3171 *) ac_try_echo=$ac_try;;
3173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3174 (eval "$ac_compile") 2>conftest.er1
3176 grep -v '^ *+' conftest.er1 >conftest.err
3178 cat conftest.err >&5
3179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3180 (exit $ac_status); } && {
3181 test -z "$ac_c_werror_flag" ||
3182 test ! -s conftest.err
3183 } && test -s conftest.$ac_objext; then
3186 echo "$as_me: failed program was:" >&5
3187 sed 's/^/| /' conftest.$ac_ext >&5
3192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3199 ac_c_werror_flag=$ac_save_c_werror_flag
3201 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3202 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3203 if test "$ac_test_CFLAGS" = set; then
3204 CFLAGS=$ac_save_CFLAGS
3205 elif test $ac_cv_prog_cc_g = yes; then
3206 if test "$GCC" = yes; then
3212 if test "$GCC" = yes; then
3218 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3219 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3220 if test "${ac_cv_prog_cc_c89+set}" = set; then
3221 echo $ECHO_N "(cached) $ECHO_C" >&6
3223 ac_cv_prog_cc_c89=no
3225 cat >conftest.$ac_ext <<_ACEOF
3228 cat confdefs.h >>conftest.$ac_ext
3229 cat >>conftest.$ac_ext <<_ACEOF
3230 /* end confdefs.h. */
3233 #include <sys/types.h>
3234 #include <sys/stat.h>
3235 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3236 struct buf { int x; };
3237 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3238 static char *e (p, i)
3244 static char *f (char * (*g) (char **, int), char **p, ...)
3249 s = g (p, va_arg (v,int));
3254 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3255 function prototypes and stuff, but not '\xHH' hex character constants.
3256 These don't provoke an error unfortunately, instead are silently treated
3257 as 'x'. The following induces an error, until -std is added to get
3258 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3259 array size at least. It's necessary to write '\x00'==0 to get something
3260 that's true only with -std. */
3261 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3263 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3264 inside strings and character constants. */
3266 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3268 int test (int i, double x);
3269 struct s1 {int (*f) (int a);};
3270 struct s2 {int (*f) (double a);};
3271 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3277 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3282 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3283 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3285 CC="$ac_save_CC $ac_arg"
3286 rm -f conftest.$ac_objext
3287 if { (ac_try="$ac_compile"
3289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3290 *) ac_try_echo=$ac_try;;
3292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3293 (eval "$ac_compile") 2>conftest.er1
3295 grep -v '^ *+' conftest.er1 >conftest.err
3297 cat conftest.err >&5
3298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3299 (exit $ac_status); } && {
3300 test -z "$ac_c_werror_flag" ||
3301 test ! -s conftest.err
3302 } && test -s conftest.$ac_objext; then
3303 ac_cv_prog_cc_c89=$ac_arg
3305 echo "$as_me: failed program was:" >&5
3306 sed 's/^/| /' conftest.$ac_ext >&5
3311 rm -f core conftest.err conftest.$ac_objext
3312 test "x$ac_cv_prog_cc_c89" != "xno" && break
3314 rm -f conftest.$ac_ext
3319 case "x$ac_cv_prog_cc_c89" in
3321 { echo "$as_me:$LINENO: result: none needed" >&5
3322 echo "${ECHO_T}none needed" >&6; } ;;
3324 { echo "$as_me:$LINENO: result: unsupported" >&5
3325 echo "${ECHO_T}unsupported" >&6; } ;;
3327 CC="$CC $ac_cv_prog_cc_c89"
3328 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3329 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3334 ac_cpp='$CPP $CPPFLAGS'
3335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3338 DEPDIR="${am__leading_dot}deps"
3340 ac_config_commands="$ac_config_commands depfiles"
3343 am_make=${MAKE-make}
3344 cat > confinc << 'END'
3349 # If we don't find an include directive, just comment out the code.
3350 { echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
3351 echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
3355 # First try GNU make style include.
3356 echo "include confinc" > confmf
3357 # We grep out `Entering directory' and `Leaving directory'
3358 # messages which can occur if `w' ends up in MAKEFLAGS.
3359 # In particular we don't look at `^make:' because GNU make might
3360 # be invoked under some other name (usually "gmake"), in which
3361 # case it prints its new name instead of `make'.
3362 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3367 # Now try BSD make style include.
3368 if test "$am__include" = "#"; then
3369 echo '.include "confinc"' > confmf
3370 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3371 am__include=.include
3378 { echo "$as_me:$LINENO: result: $_am_result" >&5
3379 echo "${ECHO_T}$_am_result" >&6; }
3380 rm -f confinc confmf
3382 # Check whether --enable-dependency-tracking was given.
3383 if test "${enable_dependency_tracking+set}" = set; then
3384 enableval=$enable_dependency_tracking;
3387 if test "x$enable_dependency_tracking" != xno; then
3388 am_depcomp="$ac_aux_dir/depcomp"
3391 if test "x$enable_dependency_tracking" != xno; then
3401 depcc="$CC" am_compiler_list=
3403 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3404 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3405 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3406 echo $ECHO_N "(cached) $ECHO_C" >&6
3408 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3409 # We make a subdir and do the tests there. Otherwise we can end up
3410 # making bogus files that we don't know about and never remove. For
3411 # instance it was reported that on HP-UX the gcc test will end up
3412 # making a dummy file named `D' -- because `-MD' means `put the output
3415 # Copy depcomp to subdir because otherwise we won't find it if we're
3416 # using a relative directory.
3417 cp "$am_depcomp" conftest.dir
3419 # We will build objects and dependencies in a subdirectory because
3420 # it helps to detect inapplicable dependency modes. For instance
3421 # both Tru64's cc and ICC support -MD to output dependencies as a
3422 # side effect of compilation, but ICC will put the dependencies in
3423 # the current directory while Tru64 will put them in the object
3427 am_cv_CC_dependencies_compiler_type=none
3428 if test "$am_compiler_list" = ""; then
3429 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3431 for depmode in $am_compiler_list; do
3432 # Setup a source with many dependencies, because some compilers
3433 # like to wrap large dependency lists on column 80 (with \), and
3434 # we should not choose a depcomp mode which is confused by this.
3436 # We need to recreate these files for each test, as the compiler may
3437 # overwrite some of them when testing with obscure command lines.
3438 # This happens at least with the AIX C compiler.
3440 for i in 1 2 3 4 5 6; do
3441 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3442 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3443 # Solaris 8's {/usr,}/bin/sh.
3444 touch sub/conftst$i.h
3446 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3450 # after this tag, mechanisms are not by side-effect, so they'll
3451 # only be used when explicitly requested
3452 if test "x$enable_dependency_tracking" = xyes; then
3460 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3461 # mode. It turns out that the SunPro C++ compiler does not properly
3462 # handle `-M -o', and we need to detect this.
3463 if depmode=$depmode \
3464 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3465 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3466 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3467 >/dev/null 2>conftest.err &&
3468 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3469 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3470 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3471 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3472 # icc doesn't choke on unknown options, it will just issue warnings
3473 # or remarks (even with -Werror). So we grep stderr for any message
3474 # that says an option was ignored or not supported.
3475 # When given -MP, icc 7.0 and 7.1 complain thusly:
3476 # icc: Command line warning: ignoring option '-M'; no argument required
3477 # The diagnosis changed in icc 8.0:
3478 # icc: Command line remark: option '-MP' not supported
3479 if (grep 'ignoring option' conftest.err ||
3480 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3481 am_cv_CC_dependencies_compiler_type=$depmode
3490 am_cv_CC_dependencies_compiler_type=none
3494 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3495 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3496 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3499 test "x$enable_dependency_tracking" != xno \
3500 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3502 am__fastdepCC_FALSE='#'
3504 am__fastdepCC_TRUE='#'
3505 am__fastdepCC_FALSE=
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 { (ac_try="$ac_cpp conftest.$ac_ext"
3551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3552 *) ac_try_echo=$ac_try;;
3554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3555 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3557 grep -v '^ *+' conftest.er1 >conftest.err
3559 cat conftest.err >&5
3560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3561 (exit $ac_status); } >/dev/null && {
3562 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3563 test ! -s conftest.err
3567 echo "$as_me: failed program was:" >&5
3568 sed 's/^/| /' conftest.$ac_ext >&5
3570 # Broken: fails on valid input.
3574 rm -f conftest.err conftest.$ac_ext
3576 # OK, works on sane cases. Now check whether nonexistent headers
3577 # can be detected and how.
3578 cat >conftest.$ac_ext <<_ACEOF
3581 cat confdefs.h >>conftest.$ac_ext
3582 cat >>conftest.$ac_ext <<_ACEOF
3583 /* end confdefs.h. */
3584 #include <ac_nonexistent.h>
3586 if { (ac_try="$ac_cpp conftest.$ac_ext"
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3592 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3594 grep -v '^ *+' conftest.er1 >conftest.err
3596 cat conftest.err >&5
3597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3598 (exit $ac_status); } >/dev/null && {
3599 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3600 test ! -s conftest.err
3602 # Broken: success on invalid input.
3605 echo "$as_me: failed program was:" >&5
3606 sed 's/^/| /' conftest.$ac_ext >&5
3608 # Passes both tests.
3613 rm -f conftest.err conftest.$ac_ext
3616 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3617 rm -f conftest.err conftest.$ac_ext
3618 if $ac_preproc_ok; then
3630 { echo "$as_me:$LINENO: result: $CPP" >&5
3631 echo "${ECHO_T}$CPP" >&6; }
3633 for ac_c_preproc_warn_flag in '' yes
3635 # Use a header file that comes with gcc, so configuring glibc
3636 # with a fresh cross-compiler works.
3637 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3638 # <limits.h> exists even on freestanding compilers.
3639 # On the NeXT, cc -E runs the code through the compiler's parser,
3640 # not just through cpp. "Syntax error" is here to catch this case.
3641 cat >conftest.$ac_ext <<_ACEOF
3644 cat confdefs.h >>conftest.$ac_ext
3645 cat >>conftest.$ac_ext <<_ACEOF
3646 /* end confdefs.h. */
3648 # include <limits.h>
3650 # include <assert.h>
3654 if { (ac_try="$ac_cpp conftest.$ac_ext"
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3662 grep -v '^ *+' conftest.er1 >conftest.err
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } >/dev/null && {
3667 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3668 test ! -s conftest.err
3672 echo "$as_me: failed program was:" >&5
3673 sed 's/^/| /' conftest.$ac_ext >&5
3675 # Broken: fails on valid input.
3679 rm -f conftest.err conftest.$ac_ext
3681 # OK, works on sane cases. Now check whether nonexistent headers
3682 # can be detected and how.
3683 cat >conftest.$ac_ext <<_ACEOF
3686 cat confdefs.h >>conftest.$ac_ext
3687 cat >>conftest.$ac_ext <<_ACEOF
3688 /* end confdefs.h. */
3689 #include <ac_nonexistent.h>
3691 if { (ac_try="$ac_cpp conftest.$ac_ext"
3693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3694 *) ac_try_echo=$ac_try;;
3696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3697 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
3699 grep -v '^ *+' conftest.er1 >conftest.err
3701 cat conftest.err >&5
3702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3703 (exit $ac_status); } >/dev/null && {
3704 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
3705 test ! -s conftest.err
3707 # Broken: success on invalid input.
3710 echo "$as_me: failed program was:" >&5
3711 sed 's/^/| /' conftest.$ac_ext >&5
3713 # Passes both tests.
3718 rm -f conftest.err conftest.$ac_ext
3721 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3722 rm -f conftest.err conftest.$ac_ext
3723 if $ac_preproc_ok; then
3726 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3727 See \`config.log' for more details." >&5
3728 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3729 See \`config.log' for more details." >&2;}
3730 { (exit 1); exit 1; }; }
3734 ac_cpp='$CPP $CPPFLAGS'
3735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3739 # Find a good install program. We prefer a C program (faster),
3740 # so one script is as good as another. But avoid the broken or
3741 # incompatible versions:
3742 # SysV /etc/install, /usr/sbin/install
3743 # SunOS /usr/etc/install
3744 # IRIX /sbin/install
3746 # AmigaOS /C/install, which installs bootblocks on floppy discs
3747 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3748 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3749 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3750 # OS/2's system install, which has a completely different semantic
3751 # ./install, which can be erroneously created by make from ./install.sh.
3752 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3753 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3754 if test -z "$INSTALL"; then
3755 if test "${ac_cv_path_install+set}" = set; then
3756 echo $ECHO_N "(cached) $ECHO_C" >&6
3758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3762 test -z "$as_dir" && as_dir=.
3763 # Account for people who put trailing slashes in PATH elements.
3765 ./ | .// | /cC/* | \
3766 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3767 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3770 # OSF1 and SCO ODT 3.0 have their own names for install.
3771 # Don't use installbsd from OSF since it installs stuff as root
3773 for ac_prog in ginstall scoinst install; do
3774 for ac_exec_ext in '' $ac_executable_extensions; do
3775 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3776 if test $ac_prog = install &&
3777 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3778 # AIX install. It has an incompatible calling convention.
3780 elif test $ac_prog = install &&
3781 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3782 # program-specific install script used by HP pwplus--don't use.
3785 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3798 if test "${ac_cv_path_install+set}" = set; then
3799 INSTALL=$ac_cv_path_install
3801 # As a last resort, use the slow shell script. Don't cache a
3802 # value for INSTALL within a source directory, because that will
3803 # break other packages using the cache if that directory is
3804 # removed, or if the value is a relative name.
3805 INSTALL=$ac_install_sh
3808 { echo "$as_me:$LINENO: result: $INSTALL" >&5
3809 echo "${ECHO_T}$INSTALL" >&6; }
3811 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3812 # It thinks the first close brace ends the variable substitution.
3813 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3815 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3817 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3819 if test -n "$ac_tool_prefix"; then
3820 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
3821 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
3822 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3823 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3824 if test "${ac_cv_prog_RANLIB+set}" = set; then
3825 echo $ECHO_N "(cached) $ECHO_C" >&6
3827 if test -n "$RANLIB"; then
3828 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
3830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3834 test -z "$as_dir" && as_dir=.
3835 for ac_exec_ext in '' $ac_executable_extensions; do
3836 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3837 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
3838 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3847 RANLIB=$ac_cv_prog_RANLIB
3848 if test -n "$RANLIB"; then
3849 { echo "$as_me:$LINENO: result: $RANLIB" >&5
3850 echo "${ECHO_T}$RANLIB" >&6; }
3852 { echo "$as_me:$LINENO: result: no" >&5
3853 echo "${ECHO_T}no" >&6; }
3858 if test -z "$ac_cv_prog_RANLIB"; then
3859 ac_ct_RANLIB=$RANLIB
3860 # Extract the first word of "ranlib", so it can be a program name with args.
3861 set dummy ranlib; ac_word=$2
3862 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3863 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3864 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
3865 echo $ECHO_N "(cached) $ECHO_C" >&6
3867 if test -n "$ac_ct_RANLIB"; then
3868 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
3870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3874 test -z "$as_dir" && as_dir=.
3875 for ac_exec_ext in '' $ac_executable_extensions; do
3876 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3877 ac_cv_prog_ac_ct_RANLIB="ranlib"
3878 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3887 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
3888 if test -n "$ac_ct_RANLIB"; then
3889 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
3890 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
3892 { echo "$as_me:$LINENO: result: no" >&5
3893 echo "${ECHO_T}no" >&6; }
3896 if test "x$ac_ct_RANLIB" = x; then
3899 case $cross_compiling:$ac_tool_warned in
3901 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3902 whose name does not start with the host triplet. If you think this
3903 configuration is useful to you, please write to autoconf@gnu.org." >&5
3904 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3905 whose name does not start with the host triplet. If you think this
3906 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3907 ac_tool_warned=yes ;;
3909 RANLIB=$ac_ct_RANLIB
3912 RANLIB="$ac_cv_prog_RANLIB"
3915 if test "x$CC" != xcc; then
3916 { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
3917 echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
3919 { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
3920 echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
3922 set dummy $CC; ac_cc=`echo $2 |
3923 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3924 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
3925 echo $ECHO_N "(cached) $ECHO_C" >&6
3927 cat >conftest.$ac_ext <<_ACEOF
3930 cat confdefs.h >>conftest.$ac_ext
3931 cat >>conftest.$ac_ext <<_ACEOF
3932 /* end confdefs.h. */
3942 # Make sure it works both with $CC and with simple cc.
3943 # We do the test twice because some compilers refuse to overwrite an
3944 # existing .o file with -o, though they will create one.
3945 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3947 if { (case "(($ac_try" in
3948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3949 *) ac_try_echo=$ac_try;;
3951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3952 (eval "$ac_try") 2>&5
3954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3955 (exit $ac_status); } &&
3956 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3957 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3958 *) ac_try_echo=$ac_try;;
3960 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3961 (eval "$ac_try") 2>&5
3963 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3964 (exit $ac_status); };
3966 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3967 if test "x$CC" != xcc; then
3968 # Test first that cc exists at all.
3969 if { ac_try='cc -c conftest.$ac_ext >&5'
3970 { (case "(($ac_try" in
3971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3972 *) ac_try_echo=$ac_try;;
3974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3975 (eval "$ac_try") 2>&5
3977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3978 (exit $ac_status); }; }; then
3979 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3981 if { (case "(($ac_try" in
3982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3983 *) ac_try_echo=$ac_try;;
3985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3986 (eval "$ac_try") 2>&5
3988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3989 (exit $ac_status); } &&
3990 test -f conftest2.$ac_objext && { (case "(($ac_try" in
3991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3992 *) ac_try_echo=$ac_try;;
3994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3995 (eval "$ac_try") 2>&5
3997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3998 (exit $ac_status); };
4003 # cc exists but doesn't like -o.
4004 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4009 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4011 rm -f core conftest*
4014 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4015 { echo "$as_me:$LINENO: result: yes" >&5
4016 echo "${ECHO_T}yes" >&6; }
4018 { echo "$as_me:$LINENO: result: no" >&5
4019 echo "${ECHO_T}no" >&6; }
4021 cat >>confdefs.h <<\_ACEOF
4022 #define NO_MINUS_C_MINUS_O 1
4027 # FIXME: we rely on the cache variable name because
4028 # there is no other way.
4030 ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4031 if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
4032 # Losing compiler, so override with the script.
4033 # FIXME: It is wrong to rewrite CC.
4034 # But if we don't then we get into trouble of one sort or another.
4035 # A longer-term fix would be to have automake use am__CC in this case,
4036 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4037 CC="$am_aux_dir/compile $CC"
4042 cat >>confdefs.h <<\_ACEOF
4043 #define _GNU_SOURCE 1
4049 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4050 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4051 if test "${ac_cv_path_GREP+set}" = set; then
4052 echo $ECHO_N "(cached) $ECHO_C" >&6
4054 # Extract the first word of "grep ggrep" to use in msg output
4055 if test -z "$GREP"; then
4056 set dummy grep ggrep; ac_prog_name=$2
4057 if test "${ac_cv_path_GREP+set}" = set; then
4058 echo $ECHO_N "(cached) $ECHO_C" >&6
4060 ac_path_GREP_found=false
4061 # Loop through the user's path and test for each of PROGNAME-LIST
4062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4063 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4066 test -z "$as_dir" && as_dir=.
4067 for ac_prog in grep ggrep; do
4068 for ac_exec_ext in '' $ac_executable_extensions; do
4069 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4070 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4071 # Check for GNU ac_path_GREP and select it if it is found.
4072 # Check for GNU $ac_path_GREP
4073 case `"$ac_path_GREP" --version 2>&1` in
4075 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4078 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4081 cat "conftest.in" "conftest.in" >"conftest.tmp"
4082 mv "conftest.tmp" "conftest.in"
4083 cp "conftest.in" "conftest.nl"
4084 echo 'GREP' >> "conftest.nl"
4085 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4086 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4087 ac_count=`expr $ac_count + 1`
4088 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4089 # Best one so far, save it but keep looking for a better one
4090 ac_cv_path_GREP="$ac_path_GREP"
4091 ac_path_GREP_max=$ac_count
4093 # 10*(2^10) chars as input seems more than enough
4094 test $ac_count -gt 10 && break
4096 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4100 $ac_path_GREP_found && break 3
4110 GREP="$ac_cv_path_GREP"
4111 if test -z "$GREP"; then
4112 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4113 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4114 { (exit 1); exit 1; }; }
4118 ac_cv_path_GREP=$GREP
4123 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4124 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4125 GREP="$ac_cv_path_GREP"
4128 { echo "$as_me:$LINENO: checking for egrep" >&5
4129 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4130 if test "${ac_cv_path_EGREP+set}" = set; then
4131 echo $ECHO_N "(cached) $ECHO_C" >&6
4133 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4134 then ac_cv_path_EGREP="$GREP -E"
4136 # Extract the first word of "egrep" to use in msg output
4137 if test -z "$EGREP"; then
4138 set dummy egrep; ac_prog_name=$2
4139 if test "${ac_cv_path_EGREP+set}" = set; then
4140 echo $ECHO_N "(cached) $ECHO_C" >&6
4142 ac_path_EGREP_found=false
4143 # Loop through the user's path and test for each of PROGNAME-LIST
4144 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4145 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4148 test -z "$as_dir" && as_dir=.
4149 for ac_prog in egrep; do
4150 for ac_exec_ext in '' $ac_executable_extensions; do
4151 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4152 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4153 # Check for GNU ac_path_EGREP and select it if it is found.
4154 # Check for GNU $ac_path_EGREP
4155 case `"$ac_path_EGREP" --version 2>&1` in
4157 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4160 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4163 cat "conftest.in" "conftest.in" >"conftest.tmp"
4164 mv "conftest.tmp" "conftest.in"
4165 cp "conftest.in" "conftest.nl"
4166 echo 'EGREP' >> "conftest.nl"
4167 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4168 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4169 ac_count=`expr $ac_count + 1`
4170 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4171 # Best one so far, save it but keep looking for a better one
4172 ac_cv_path_EGREP="$ac_path_EGREP"
4173 ac_path_EGREP_max=$ac_count
4175 # 10*(2^10) chars as input seems more than enough
4176 test $ac_count -gt 10 && break
4178 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4182 $ac_path_EGREP_found && break 3
4192 EGREP="$ac_cv_path_EGREP"
4193 if test -z "$EGREP"; then
4194 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4195 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4196 { (exit 1); exit 1; }; }
4200 ac_cv_path_EGREP=$EGREP
4206 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4207 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4208 EGREP="$ac_cv_path_EGREP"
4212 { echo "$as_me:$LINENO: checking for AIX" >&5
4213 echo $ECHO_N "checking for AIX... $ECHO_C" >&6; }
4214 cat >conftest.$ac_ext <<_ACEOF
4217 cat confdefs.h >>conftest.$ac_ext
4218 cat >>conftest.$ac_ext <<_ACEOF
4219 /* end confdefs.h. */
4225 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4226 $EGREP "yes" >/dev/null 2>&1; then
4227 { echo "$as_me:$LINENO: result: yes" >&5
4228 echo "${ECHO_T}yes" >&6; }
4229 cat >>confdefs.h <<\_ACEOF
4230 #define _ALL_SOURCE 1
4234 { echo "$as_me:$LINENO: result: no" >&5
4235 echo "${ECHO_T}no" >&6; }
4240 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4241 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4242 if test "${ac_cv_header_stdc+set}" = set; then
4243 echo $ECHO_N "(cached) $ECHO_C" >&6
4245 cat >conftest.$ac_ext <<_ACEOF
4248 cat confdefs.h >>conftest.$ac_ext
4249 cat >>conftest.$ac_ext <<_ACEOF
4250 /* end confdefs.h. */
4264 rm -f conftest.$ac_objext
4265 if { (ac_try="$ac_compile"
4267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4268 *) ac_try_echo=$ac_try;;
4270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4271 (eval "$ac_compile") 2>conftest.er1
4273 grep -v '^ *+' conftest.er1 >conftest.err
4275 cat conftest.err >&5
4276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4277 (exit $ac_status); } && {
4278 test -z "$ac_c_werror_flag" ||
4279 test ! -s conftest.err
4280 } && test -s conftest.$ac_objext; then
4281 ac_cv_header_stdc=yes
4283 echo "$as_me: failed program was:" >&5
4284 sed 's/^/| /' conftest.$ac_ext >&5
4286 ac_cv_header_stdc=no
4289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4291 if test $ac_cv_header_stdc = yes; then
4292 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4293 cat >conftest.$ac_ext <<_ACEOF
4296 cat confdefs.h >>conftest.$ac_ext
4297 cat >>conftest.$ac_ext <<_ACEOF
4298 /* end confdefs.h. */
4302 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4303 $EGREP "memchr" >/dev/null 2>&1; then
4306 ac_cv_header_stdc=no
4312 if test $ac_cv_header_stdc = yes; then
4313 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4314 cat >conftest.$ac_ext <<_ACEOF
4317 cat confdefs.h >>conftest.$ac_ext
4318 cat >>conftest.$ac_ext <<_ACEOF
4319 /* end confdefs.h. */
4323 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4324 $EGREP "free" >/dev/null 2>&1; then
4327 ac_cv_header_stdc=no
4333 if test $ac_cv_header_stdc = yes; then
4334 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4335 if test "$cross_compiling" = yes; then
4338 cat >conftest.$ac_ext <<_ACEOF
4341 cat confdefs.h >>conftest.$ac_ext
4342 cat >>conftest.$ac_ext <<_ACEOF
4343 /* end confdefs.h. */
4346 #if ((' ' & 0x0FF) == 0x020)
4347 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4348 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4350 # define ISLOWER(c) \
4351 (('a' <= (c) && (c) <= 'i') \
4352 || ('j' <= (c) && (c) <= 'r') \
4353 || ('s' <= (c) && (c) <= 'z'))
4354 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4357 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4362 for (i = 0; i < 256; i++)
4363 if (XOR (islower (i), ISLOWER (i))
4364 || toupper (i) != TOUPPER (i))
4369 rm -f conftest$ac_exeext
4370 if { (ac_try="$ac_link"
4372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4373 *) ac_try_echo=$ac_try;;
4375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4376 (eval "$ac_link") 2>&5
4378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4380 { (case "(($ac_try" in
4381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4382 *) ac_try_echo=$ac_try;;
4384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4385 (eval "$ac_try") 2>&5
4387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4388 (exit $ac_status); }; }; then
4391 echo "$as_me: program exited with status $ac_status" >&5
4392 echo "$as_me: failed program was:" >&5
4393 sed 's/^/| /' conftest.$ac_ext >&5
4396 ac_cv_header_stdc=no
4398 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4404 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4405 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4406 if test $ac_cv_header_stdc = yes; then
4408 cat >>confdefs.h <<\_ACEOF
4409 #define STDC_HEADERS 1
4414 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4424 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4425 inttypes.h stdint.h unistd.h
4427 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4428 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4429 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4430 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4431 echo $ECHO_N "(cached) $ECHO_C" >&6
4433 cat >conftest.$ac_ext <<_ACEOF
4436 cat confdefs.h >>conftest.$ac_ext
4437 cat >>conftest.$ac_ext <<_ACEOF
4438 /* end confdefs.h. */
4439 $ac_includes_default
4441 #include <$ac_header>
4443 rm -f conftest.$ac_objext
4444 if { (ac_try="$ac_compile"
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4450 (eval "$ac_compile") 2>conftest.er1
4452 grep -v '^ *+' conftest.er1 >conftest.err
4454 cat conftest.err >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } && {
4457 test -z "$ac_c_werror_flag" ||
4458 test ! -s conftest.err
4459 } && test -s conftest.$ac_objext; then
4460 eval "$as_ac_Header=yes"
4462 echo "$as_me: failed program was:" >&5
4463 sed 's/^/| /' conftest.$ac_ext >&5
4465 eval "$as_ac_Header=no"
4468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4470 ac_res=`eval echo '${'$as_ac_Header'}'`
4471 { echo "$as_me:$LINENO: result: $ac_res" >&5
4472 echo "${ECHO_T}$ac_res" >&6; }
4473 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4474 cat >>confdefs.h <<_ACEOF
4475 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4483 if test "${ac_cv_header_minix_config_h+set}" = set; then
4484 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4485 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4486 if test "${ac_cv_header_minix_config_h+set}" = set; then
4487 echo $ECHO_N "(cached) $ECHO_C" >&6
4489 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4490 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4492 # Is the header compilable?
4493 { echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4494 echo $ECHO_N "checking minix/config.h usability... $ECHO_C" >&6; }
4495 cat >conftest.$ac_ext <<_ACEOF
4498 cat confdefs.h >>conftest.$ac_ext
4499 cat >>conftest.$ac_ext <<_ACEOF
4500 /* end confdefs.h. */
4501 $ac_includes_default
4502 #include <minix/config.h>
4504 rm -f conftest.$ac_objext
4505 if { (ac_try="$ac_compile"
4507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4508 *) ac_try_echo=$ac_try;;
4510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4511 (eval "$ac_compile") 2>conftest.er1
4513 grep -v '^ *+' conftest.er1 >conftest.err
4515 cat conftest.err >&5
4516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4517 (exit $ac_status); } && {
4518 test -z "$ac_c_werror_flag" ||
4519 test ! -s conftest.err
4520 } && test -s conftest.$ac_objext; then
4521 ac_header_compiler=yes
4523 echo "$as_me: failed program was:" >&5
4524 sed 's/^/| /' conftest.$ac_ext >&5
4526 ac_header_compiler=no
4529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4530 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4531 echo "${ECHO_T}$ac_header_compiler" >&6; }
4533 # Is the header present?
4534 { echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4535 echo $ECHO_N "checking minix/config.h presence... $ECHO_C" >&6; }
4536 cat >conftest.$ac_ext <<_ACEOF
4539 cat confdefs.h >>conftest.$ac_ext
4540 cat >>conftest.$ac_ext <<_ACEOF
4541 /* end confdefs.h. */
4542 #include <minix/config.h>
4544 if { (ac_try="$ac_cpp conftest.$ac_ext"
4546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4547 *) ac_try_echo=$ac_try;;
4549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4550 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4552 grep -v '^ *+' conftest.er1 >conftest.err
4554 cat conftest.err >&5
4555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4556 (exit $ac_status); } >/dev/null && {
4557 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4558 test ! -s conftest.err
4560 ac_header_preproc=yes
4562 echo "$as_me: failed program was:" >&5
4563 sed 's/^/| /' conftest.$ac_ext >&5
4565 ac_header_preproc=no
4568 rm -f conftest.err conftest.$ac_ext
4569 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4570 echo "${ECHO_T}$ac_header_preproc" >&6; }
4572 # So? What about this header?
4573 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4575 { echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4576 echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4577 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4578 echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4579 ac_header_preproc=yes
4582 { echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4583 echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4584 { echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4585 echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4586 { echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4587 echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4588 { echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4589 echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4590 { echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4591 echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4592 { echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4593 echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4595 ## ----------------------------------- ##
4596 ## Report this to arthur@ch.tudelft.nl ##
4597 ## ----------------------------------- ##
4599 ) | sed "s/^/$as_me: WARNING: /" >&2
4602 { echo "$as_me:$LINENO: checking for minix/config.h" >&5
4603 echo $ECHO_N "checking for minix/config.h... $ECHO_C" >&6; }
4604 if test "${ac_cv_header_minix_config_h+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 ac_cv_header_minix_config_h=$ac_header_preproc
4609 { echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4610 echo "${ECHO_T}$ac_cv_header_minix_config_h" >&6; }
4613 if test $ac_cv_header_minix_config_h = yes; then
4620 if test "$MINIX" = yes; then
4622 cat >>confdefs.h <<\_ACEOF
4623 #define _POSIX_SOURCE 1
4627 cat >>confdefs.h <<\_ACEOF
4628 #define _POSIX_1_SOURCE 2
4632 cat >>confdefs.h <<\_ACEOF
4648 { echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4649 echo $ECHO_N "checking whether it is safe to define __EXTENSIONS__... $ECHO_C" >&6; }
4650 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4651 echo $ECHO_N "(cached) $ECHO_C" >&6
4653 cat >conftest.$ac_ext <<_ACEOF
4656 cat confdefs.h >>conftest.$ac_ext
4657 cat >>conftest.$ac_ext <<_ACEOF
4658 /* end confdefs.h. */
4660 # define __EXTENSIONS__ 1
4661 $ac_includes_default
4670 rm -f conftest.$ac_objext
4671 if { (ac_try="$ac_compile"
4673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4674 *) ac_try_echo=$ac_try;;
4676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4677 (eval "$ac_compile") 2>conftest.er1
4679 grep -v '^ *+' conftest.er1 >conftest.err
4681 cat conftest.err >&5
4682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && {
4684 test -z "$ac_c_werror_flag" ||
4685 test ! -s conftest.err
4686 } && test -s conftest.$ac_objext; then
4687 ac_cv_safe_to_define___extensions__=yes
4689 echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.$ac_ext >&5
4692 ac_cv_safe_to_define___extensions__=no
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 { echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4698 echo "${ECHO_T}$ac_cv_safe_to_define___extensions__" >&6; }
4699 test $ac_cv_safe_to_define___extensions__ = yes &&
4700 cat >>confdefs.h <<\_ACEOF
4701 #define __EXTENSIONS__ 1
4704 cat >>confdefs.h <<\_ACEOF
4705 #define _POSIX_PTHREAD_SEMANTICS 1
4708 cat >>confdefs.h <<\_ACEOF
4709 #define _TANDEM_SOURCE 1
4714 # checks for tool to convert docbook to man
4715 for ac_prog in docbook2x-man
4717 # Extract the first word of "$ac_prog", so it can be a program name with args.
4718 set dummy $ac_prog; ac_word=$2
4719 { echo "$as_me:$LINENO: checking for $ac_word" >&5
4720 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
4721 if test "${ac_cv_path_DOCBOOK2X_MAN+set}" = set; then
4722 echo $ECHO_N "(cached) $ECHO_C" >&6
4724 case $DOCBOOK2X_MAN in
4726 ac_cv_path_DOCBOOK2X_MAN="$DOCBOOK2X_MAN" # Let the user override the test with a path.
4729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4733 test -z "$as_dir" && as_dir=.
4734 for ac_exec_ext in '' $ac_executable_extensions; do
4735 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
4736 ac_cv_path_DOCBOOK2X_MAN="$as_dir/$ac_word$ac_exec_ext"
4737 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 DOCBOOK2X_MAN=$ac_cv_path_DOCBOOK2X_MAN
4748 if test -n "$DOCBOOK2X_MAN"; then
4749 { echo "$as_me:$LINENO: result: $DOCBOOK2X_MAN" >&5
4750 echo "${ECHO_T}$DOCBOOK2X_MAN" >&6; }
4752 { echo "$as_me:$LINENO: result: no" >&5
4753 echo "${ECHO_T}no" >&6; }
4757 test -n "$DOCBOOK2X_MAN" && break
4760 if test "x${DOCBOOK2X_MAN}" = x
4762 { echo "$as_me:$LINENO: WARNING: docbook2x-man not found: not generating man pages" >&5
4763 echo "$as_me: WARNING: docbook2x-man not found: not generating man pages" >&2;}
4765 if test "x${DOCBOOK2X_MAN}" != x; then
4774 # start with default options
4778 # check for debugging options
4779 # Check whether --enable-debug was given.
4780 if test "${enable_debug+set}" = set; then
4781 enableval=$enable_debug; if test "x$enableval" != "xno" ; then CFLAGS="-g -DDEBUG $CFLAGS" ; fi
4787 # check for extra compiler warnings
4788 # Check whether --enable-warnings was given.
4789 if test "${enable_warnings+set}" = set; then
4790 enableval=$enable_warnings; if test "x$enableval" != "no"
4792 CFLAGS="$CFLAGS -pedantic -Wall -Wshadow -Wpointer-arith -Wcast-qual -Wcast-align -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Waggregate-return -Wmissing-declarations -Wunused -Wformat=2 -Wswitch-default -Wswitch-enum -Wfloat-equal -Wbad-function-cast -Wunreachable-code -Wredundant-decls"
4793 DESIRED_CFLAGS="$DESIRED_CFLAGS -Wextra -Wdeclaration-after-statement -Werror-implicit-function-declaration"
4799 cat >conftest.$ac_ext <<_ACEOF
4802 $CC -c conftest.c $CFLAGS $@ > /dev/null 2> /dev/null
4808 for flag in $DESIRED_CFLAGS
4810 { echo "$as_me:$LINENO: checking whether $CC accepts $flag" >&5
4811 echo $ECHO_N "checking whether $CC accepts $flag... $ECHO_C" >&6; }
4812 if test_gcc_flag $flag
4814 CFLAGS="$CFLAGS $flag"
4815 { echo "$as_me:$LINENO: result: yes" >&5
4816 echo "${ECHO_T}yes" >&6; }
4818 { echo "$as_me:$LINENO: result: no" >&5
4819 echo "${ECHO_T}no" >&6; }
4824 # Check whether --with-ldap-lib was given.
4825 if test "${with_ldap_lib+set}" = set; then
4826 withval=$with_ldap_lib;
4829 if test -z "$with_ldap_lib"
4835 # Check whether --with-ldap-conf-file was given.
4836 if test "${with_ldap_conf_file+set}" = set; then
4837 withval=$with_ldap_conf_file; NSS_LDAP_PATH_CONF="$with_ldap_conf_file"
4839 NSS_LDAP_PATH_CONF="/etc/nss-ldapd.conf"
4843 cat >>confdefs.h <<_ACEOF
4844 #define NSS_LDAP_PATH_CONF "$NSS_LDAP_PATH_CONF"
4850 # Check whether --with-nslcd-pidfile was given.
4851 if test "${with_nslcd_pidfile+set}" = set; then
4852 withval=$with_nslcd_pidfile; NSLCD_PIDFILE="$with_nslcd_pidfile"
4854 NSLCD_PIDFILE="/var/run/nslcd/nslcd.pid"
4858 cat >>confdefs.h <<_ACEOF
4859 #define NSLCD_PIDFILE "$NSLCD_PIDFILE"
4865 # Check whether --with-nslcd-socket was given.
4866 if test "${with_nslcd_socket+set}" = set; then
4867 withval=$with_nslcd_socket; NSLCD_SOCKET="$with_nslcd_socket"
4869 NSLCD_SOCKET="/var/run/nslcd/socket"
4873 cat >>confdefs.h <<_ACEOF
4874 #define NSLCD_SOCKET "$NSLCD_SOCKET"
4879 # checks for availability of header files
4881 for ac_header in lber.h
4883 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4885 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4886 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4887 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4888 echo $ECHO_N "(cached) $ECHO_C" >&6
4890 ac_res=`eval echo '${'$as_ac_Header'}'`
4891 { echo "$as_me:$LINENO: result: $ac_res" >&5
4892 echo "${ECHO_T}$ac_res" >&6; }
4894 # Is the header compilable?
4895 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
4896 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
4897 cat >conftest.$ac_ext <<_ACEOF
4900 cat confdefs.h >>conftest.$ac_ext
4901 cat >>conftest.$ac_ext <<_ACEOF
4902 /* end confdefs.h. */
4903 $ac_includes_default
4904 #include <$ac_header>
4906 rm -f conftest.$ac_objext
4907 if { (ac_try="$ac_compile"
4909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4910 *) ac_try_echo=$ac_try;;
4912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4913 (eval "$ac_compile") 2>conftest.er1
4915 grep -v '^ *+' conftest.er1 >conftest.err
4917 cat conftest.err >&5
4918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4919 (exit $ac_status); } && {
4920 test -z "$ac_c_werror_flag" ||
4921 test ! -s conftest.err
4922 } && test -s conftest.$ac_objext; then
4923 ac_header_compiler=yes
4925 echo "$as_me: failed program was:" >&5
4926 sed 's/^/| /' conftest.$ac_ext >&5
4928 ac_header_compiler=no
4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4932 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4933 echo "${ECHO_T}$ac_header_compiler" >&6; }
4935 # Is the header present?
4936 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
4937 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
4938 cat >conftest.$ac_ext <<_ACEOF
4941 cat confdefs.h >>conftest.$ac_ext
4942 cat >>conftest.$ac_ext <<_ACEOF
4943 /* end confdefs.h. */
4944 #include <$ac_header>
4946 if { (ac_try="$ac_cpp conftest.$ac_ext"
4948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4949 *) ac_try_echo=$ac_try;;
4951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4952 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4954 grep -v '^ *+' conftest.er1 >conftest.err
4956 cat conftest.err >&5
4957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4958 (exit $ac_status); } >/dev/null && {
4959 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4960 test ! -s conftest.err
4962 ac_header_preproc=yes
4964 echo "$as_me: failed program was:" >&5
4965 sed 's/^/| /' conftest.$ac_ext >&5
4967 ac_header_preproc=no
4970 rm -f conftest.err conftest.$ac_ext
4971 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4972 echo "${ECHO_T}$ac_header_preproc" >&6; }
4974 # So? What about this header?
4975 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4977 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4978 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4979 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4980 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4981 ac_header_preproc=yes
4984 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4985 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4986 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4987 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4988 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4989 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4990 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4991 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4992 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4993 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4994 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4995 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4997 ## ----------------------------------- ##
4998 ## Report this to arthur@ch.tudelft.nl ##
4999 ## ----------------------------------- ##
5001 ) | sed "s/^/$as_me: WARNING: /" >&2
5004 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5005 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5006 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5007 echo $ECHO_N "(cached) $ECHO_C" >&6
5009 eval "$as_ac_Header=\$ac_header_preproc"
5011 ac_res=`eval echo '${'$as_ac_Header'}'`
5012 { echo "$as_me:$LINENO: result: $ac_res" >&5
5013 echo "${ECHO_T}$ac_res" >&6; }
5016 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5017 cat >>confdefs.h <<_ACEOF
5018 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5026 for ac_header in ldap.h
5028 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5029 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5030 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5032 echo $ECHO_N "(cached) $ECHO_C" >&6
5034 cat >conftest.$ac_ext <<_ACEOF
5037 cat confdefs.h >>conftest.$ac_ext
5038 cat >>conftest.$ac_ext <<_ACEOF
5039 /* end confdefs.h. */
5046 #include <$ac_header>
5048 rm -f conftest.$ac_objext
5049 if { (ac_try="$ac_compile"
5051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5052 *) ac_try_echo=$ac_try;;
5054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5055 (eval "$ac_compile") 2>conftest.er1
5057 grep -v '^ *+' conftest.er1 >conftest.err
5059 cat conftest.err >&5
5060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5061 (exit $ac_status); } && {
5062 test -z "$ac_c_werror_flag" ||
5063 test ! -s conftest.err
5064 } && test -s conftest.$ac_objext; then
5065 eval "$as_ac_Header=yes"
5067 echo "$as_me: failed program was:" >&5
5068 sed 's/^/| /' conftest.$ac_ext >&5
5070 eval "$as_ac_Header=no"
5073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5075 ac_res=`eval echo '${'$as_ac_Header'}'`
5076 { echo "$as_me:$LINENO: result: $ac_res" >&5
5077 echo "${ECHO_T}$ac_res" >&6; }
5078 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5079 cat >>confdefs.h <<_ACEOF
5080 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5084 { { echo "$as_me:$LINENO: error: could not locate <ldap.h>" >&5
5085 echo "$as_me: error: could not locate <ldap.h>" >&2;}
5086 { (exit 1); exit 1; }; }
5092 for ac_header in ldap_ssl.h
5094 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5095 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5096 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5097 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5098 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5099 echo $ECHO_N "(cached) $ECHO_C" >&6
5101 ac_res=`eval echo '${'$as_ac_Header'}'`
5102 { echo "$as_me:$LINENO: result: $ac_res" >&5
5103 echo "${ECHO_T}$ac_res" >&6; }
5105 # Is the header compilable?
5106 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5107 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5108 cat >conftest.$ac_ext <<_ACEOF
5111 cat confdefs.h >>conftest.$ac_ext
5112 cat >>conftest.$ac_ext <<_ACEOF
5113 /* end confdefs.h. */
5114 $ac_includes_default
5115 #include <$ac_header>
5117 rm -f conftest.$ac_objext
5118 if { (ac_try="$ac_compile"
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5124 (eval "$ac_compile") 2>conftest.er1
5126 grep -v '^ *+' conftest.er1 >conftest.err
5128 cat conftest.err >&5
5129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5130 (exit $ac_status); } && {
5131 test -z "$ac_c_werror_flag" ||
5132 test ! -s conftest.err
5133 } && test -s conftest.$ac_objext; then
5134 ac_header_compiler=yes
5136 echo "$as_me: failed program was:" >&5
5137 sed 's/^/| /' conftest.$ac_ext >&5
5139 ac_header_compiler=no
5142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5143 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5144 echo "${ECHO_T}$ac_header_compiler" >&6; }
5146 # Is the header present?
5147 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5148 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5149 cat >conftest.$ac_ext <<_ACEOF
5152 cat confdefs.h >>conftest.$ac_ext
5153 cat >>conftest.$ac_ext <<_ACEOF
5154 /* end confdefs.h. */
5155 #include <$ac_header>
5157 if { (ac_try="$ac_cpp conftest.$ac_ext"
5159 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5160 *) ac_try_echo=$ac_try;;
5162 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5163 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5165 grep -v '^ *+' conftest.er1 >conftest.err
5167 cat conftest.err >&5
5168 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5169 (exit $ac_status); } >/dev/null && {
5170 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5171 test ! -s conftest.err
5173 ac_header_preproc=yes
5175 echo "$as_me: failed program was:" >&5
5176 sed 's/^/| /' conftest.$ac_ext >&5
5178 ac_header_preproc=no
5181 rm -f conftest.err conftest.$ac_ext
5182 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5183 echo "${ECHO_T}$ac_header_preproc" >&6; }
5185 # So? What about this header?
5186 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5188 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5189 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5190 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5191 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5192 ac_header_preproc=yes
5195 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5196 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5197 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5198 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5199 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5200 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5201 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5202 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5203 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5204 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5205 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5206 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5208 ## ----------------------------------- ##
5209 ## Report this to arthur@ch.tudelft.nl ##
5210 ## ----------------------------------- ##
5212 ) | sed "s/^/$as_me: WARNING: /" >&2
5215 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5216 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5217 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5218 echo $ECHO_N "(cached) $ECHO_C" >&6
5220 eval "$as_ac_Header=\$ac_header_preproc"
5222 ac_res=`eval echo '${'$as_ac_Header'}'`
5223 { echo "$as_me:$LINENO: result: $ac_res" >&5
5224 echo "${ECHO_T}$ac_res" >&6; }
5227 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5228 cat >>confdefs.h <<_ACEOF
5229 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5237 for ac_header in nss.h
5239 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5240 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5241 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5242 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5243 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5244 echo $ECHO_N "(cached) $ECHO_C" >&6
5246 ac_res=`eval echo '${'$as_ac_Header'}'`
5247 { echo "$as_me:$LINENO: result: $ac_res" >&5
5248 echo "${ECHO_T}$ac_res" >&6; }
5250 # Is the header compilable?
5251 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5252 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5253 cat >conftest.$ac_ext <<_ACEOF
5256 cat confdefs.h >>conftest.$ac_ext
5257 cat >>conftest.$ac_ext <<_ACEOF
5258 /* end confdefs.h. */
5259 $ac_includes_default
5260 #include <$ac_header>
5262 rm -f conftest.$ac_objext
5263 if { (ac_try="$ac_compile"
5265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5266 *) ac_try_echo=$ac_try;;
5268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5269 (eval "$ac_compile") 2>conftest.er1
5271 grep -v '^ *+' conftest.er1 >conftest.err
5273 cat conftest.err >&5
5274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5275 (exit $ac_status); } && {
5276 test -z "$ac_c_werror_flag" ||
5277 test ! -s conftest.err
5278 } && test -s conftest.$ac_objext; then
5279 ac_header_compiler=yes
5281 echo "$as_me: failed program was:" >&5
5282 sed 's/^/| /' conftest.$ac_ext >&5
5284 ac_header_compiler=no
5287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5288 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5289 echo "${ECHO_T}$ac_header_compiler" >&6; }
5291 # Is the header present?
5292 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5293 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5294 cat >conftest.$ac_ext <<_ACEOF
5297 cat confdefs.h >>conftest.$ac_ext
5298 cat >>conftest.$ac_ext <<_ACEOF
5299 /* end confdefs.h. */
5300 #include <$ac_header>
5302 if { (ac_try="$ac_cpp conftest.$ac_ext"
5304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5305 *) ac_try_echo=$ac_try;;
5307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5308 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5310 grep -v '^ *+' conftest.er1 >conftest.err
5312 cat conftest.err >&5
5313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5314 (exit $ac_status); } >/dev/null && {
5315 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5316 test ! -s conftest.err
5318 ac_header_preproc=yes
5320 echo "$as_me: failed program was:" >&5
5321 sed 's/^/| /' conftest.$ac_ext >&5
5323 ac_header_preproc=no
5326 rm -f conftest.err conftest.$ac_ext
5327 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5328 echo "${ECHO_T}$ac_header_preproc" >&6; }
5330 # So? What about this header?
5331 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5333 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5334 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5335 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5336 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5337 ac_header_preproc=yes
5340 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5341 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5342 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5343 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5344 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5345 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5346 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5347 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5348 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5349 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5350 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5351 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5353 ## ----------------------------------- ##
5354 ## Report this to arthur@ch.tudelft.nl ##
5355 ## ----------------------------------- ##
5357 ) | sed "s/^/$as_me: WARNING: /" >&2
5360 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5363 echo $ECHO_N "(cached) $ECHO_C" >&6
5365 eval "$as_ac_Header=\$ac_header_preproc"
5367 ac_res=`eval echo '${'$as_ac_Header'}'`
5368 { echo "$as_me:$LINENO: result: $ac_res" >&5
5369 echo "${ECHO_T}$ac_res" >&6; }
5372 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5373 cat >>confdefs.h <<_ACEOF
5374 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5382 for ac_header in pthread.h
5384 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5385 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5386 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5387 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5388 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5389 echo $ECHO_N "(cached) $ECHO_C" >&6
5391 ac_res=`eval echo '${'$as_ac_Header'}'`
5392 { echo "$as_me:$LINENO: result: $ac_res" >&5
5393 echo "${ECHO_T}$ac_res" >&6; }
5395 # Is the header compilable?
5396 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5397 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5398 cat >conftest.$ac_ext <<_ACEOF
5401 cat confdefs.h >>conftest.$ac_ext
5402 cat >>conftest.$ac_ext <<_ACEOF
5403 /* end confdefs.h. */
5404 $ac_includes_default
5405 #include <$ac_header>
5407 rm -f conftest.$ac_objext
5408 if { (ac_try="$ac_compile"
5410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5411 *) ac_try_echo=$ac_try;;
5413 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5414 (eval "$ac_compile") 2>conftest.er1
5416 grep -v '^ *+' conftest.er1 >conftest.err
5418 cat conftest.err >&5
5419 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5420 (exit $ac_status); } && {
5421 test -z "$ac_c_werror_flag" ||
5422 test ! -s conftest.err
5423 } && test -s conftest.$ac_objext; then
5424 ac_header_compiler=yes
5426 echo "$as_me: failed program was:" >&5
5427 sed 's/^/| /' conftest.$ac_ext >&5
5429 ac_header_compiler=no
5432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5433 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5434 echo "${ECHO_T}$ac_header_compiler" >&6; }
5436 # Is the header present?
5437 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5438 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5439 cat >conftest.$ac_ext <<_ACEOF
5442 cat confdefs.h >>conftest.$ac_ext
5443 cat >>conftest.$ac_ext <<_ACEOF
5444 /* end confdefs.h. */
5445 #include <$ac_header>
5447 if { (ac_try="$ac_cpp conftest.$ac_ext"
5449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5450 *) ac_try_echo=$ac_try;;
5452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5453 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5455 grep -v '^ *+' conftest.er1 >conftest.err
5457 cat conftest.err >&5
5458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5459 (exit $ac_status); } >/dev/null && {
5460 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5461 test ! -s conftest.err
5463 ac_header_preproc=yes
5465 echo "$as_me: failed program was:" >&5
5466 sed 's/^/| /' conftest.$ac_ext >&5
5468 ac_header_preproc=no
5471 rm -f conftest.err conftest.$ac_ext
5472 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5473 echo "${ECHO_T}$ac_header_preproc" >&6; }
5475 # So? What about this header?
5476 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5478 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5479 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5480 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5481 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5482 ac_header_preproc=yes
5485 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5486 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5487 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5488 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5489 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5490 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5491 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5492 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5493 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5494 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5495 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5496 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5498 ## ----------------------------------- ##
5499 ## Report this to arthur@ch.tudelft.nl ##
5500 ## ----------------------------------- ##
5502 ) | sed "s/^/$as_me: WARNING: /" >&2
5505 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5506 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5507 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5508 echo $ECHO_N "(cached) $ECHO_C" >&6
5510 eval "$as_ac_Header=\$ac_header_preproc"
5512 ac_res=`eval echo '${'$as_ac_Header'}'`
5513 { echo "$as_me:$LINENO: result: $ac_res" >&5
5514 echo "${ECHO_T}$ac_res" >&6; }
5517 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5518 cat >>confdefs.h <<_ACEOF
5519 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5527 for ac_header in shadow.h
5529 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5530 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5531 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5532 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5533 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5534 echo $ECHO_N "(cached) $ECHO_C" >&6
5536 ac_res=`eval echo '${'$as_ac_Header'}'`
5537 { echo "$as_me:$LINENO: result: $ac_res" >&5
5538 echo "${ECHO_T}$ac_res" >&6; }
5540 # Is the header compilable?
5541 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5542 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5543 cat >conftest.$ac_ext <<_ACEOF
5546 cat confdefs.h >>conftest.$ac_ext
5547 cat >>conftest.$ac_ext <<_ACEOF
5548 /* end confdefs.h. */
5549 $ac_includes_default
5550 #include <$ac_header>
5552 rm -f conftest.$ac_objext
5553 if { (ac_try="$ac_compile"
5555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5556 *) ac_try_echo=$ac_try;;
5558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5559 (eval "$ac_compile") 2>conftest.er1
5561 grep -v '^ *+' conftest.er1 >conftest.err
5563 cat conftest.err >&5
5564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5565 (exit $ac_status); } && {
5566 test -z "$ac_c_werror_flag" ||
5567 test ! -s conftest.err
5568 } && test -s conftest.$ac_objext; then
5569 ac_header_compiler=yes
5571 echo "$as_me: failed program was:" >&5
5572 sed 's/^/| /' conftest.$ac_ext >&5
5574 ac_header_compiler=no
5577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5578 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5579 echo "${ECHO_T}$ac_header_compiler" >&6; }
5581 # Is the header present?
5582 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5583 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5584 cat >conftest.$ac_ext <<_ACEOF
5587 cat confdefs.h >>conftest.$ac_ext
5588 cat >>conftest.$ac_ext <<_ACEOF
5589 /* end confdefs.h. */
5590 #include <$ac_header>
5592 if { (ac_try="$ac_cpp conftest.$ac_ext"
5594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5595 *) ac_try_echo=$ac_try;;
5597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5598 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5600 grep -v '^ *+' conftest.er1 >conftest.err
5602 cat conftest.err >&5
5603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5604 (exit $ac_status); } >/dev/null && {
5605 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5606 test ! -s conftest.err
5608 ac_header_preproc=yes
5610 echo "$as_me: failed program was:" >&5
5611 sed 's/^/| /' conftest.$ac_ext >&5
5613 ac_header_preproc=no
5616 rm -f conftest.err conftest.$ac_ext
5617 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5618 echo "${ECHO_T}$ac_header_preproc" >&6; }
5620 # So? What about this header?
5621 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5623 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5624 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5625 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5626 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5627 ac_header_preproc=yes
5630 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5631 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5632 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5633 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5634 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5635 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5636 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5637 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5638 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5639 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5640 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5641 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5643 ## ----------------------------------- ##
5644 ## Report this to arthur@ch.tudelft.nl ##
5645 ## ----------------------------------- ##
5647 ) | sed "s/^/$as_me: WARNING: /" >&2
5650 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5651 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5652 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5653 echo $ECHO_N "(cached) $ECHO_C" >&6
5655 eval "$as_ac_Header=\$ac_header_preproc"
5657 ac_res=`eval echo '${'$as_ac_Header'}'`
5658 { echo "$as_me:$LINENO: result: $ac_res" >&5
5659 echo "${ECHO_T}$ac_res" >&6; }
5662 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5663 cat >>confdefs.h <<_ACEOF
5664 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5672 for ac_header in aliases.h
5674 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5675 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5676 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5679 echo $ECHO_N "(cached) $ECHO_C" >&6
5681 ac_res=`eval echo '${'$as_ac_Header'}'`
5682 { echo "$as_me:$LINENO: result: $ac_res" >&5
5683 echo "${ECHO_T}$ac_res" >&6; }
5685 # Is the header compilable?
5686 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5687 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5688 cat >conftest.$ac_ext <<_ACEOF
5691 cat confdefs.h >>conftest.$ac_ext
5692 cat >>conftest.$ac_ext <<_ACEOF
5693 /* end confdefs.h. */
5694 $ac_includes_default
5695 #include <$ac_header>
5697 rm -f conftest.$ac_objext
5698 if { (ac_try="$ac_compile"
5700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5701 *) ac_try_echo=$ac_try;;
5703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5704 (eval "$ac_compile") 2>conftest.er1
5706 grep -v '^ *+' conftest.er1 >conftest.err
5708 cat conftest.err >&5
5709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5710 (exit $ac_status); } && {
5711 test -z "$ac_c_werror_flag" ||
5712 test ! -s conftest.err
5713 } && test -s conftest.$ac_objext; then
5714 ac_header_compiler=yes
5716 echo "$as_me: failed program was:" >&5
5717 sed 's/^/| /' conftest.$ac_ext >&5
5719 ac_header_compiler=no
5722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5723 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5724 echo "${ECHO_T}$ac_header_compiler" >&6; }
5726 # Is the header present?
5727 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5728 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5729 cat >conftest.$ac_ext <<_ACEOF
5732 cat confdefs.h >>conftest.$ac_ext
5733 cat >>conftest.$ac_ext <<_ACEOF
5734 /* end confdefs.h. */
5735 #include <$ac_header>
5737 if { (ac_try="$ac_cpp conftest.$ac_ext"
5739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5740 *) ac_try_echo=$ac_try;;
5742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5743 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5745 grep -v '^ *+' conftest.er1 >conftest.err
5747 cat conftest.err >&5
5748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5749 (exit $ac_status); } >/dev/null && {
5750 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5751 test ! -s conftest.err
5753 ac_header_preproc=yes
5755 echo "$as_me: failed program was:" >&5
5756 sed 's/^/| /' conftest.$ac_ext >&5
5758 ac_header_preproc=no
5761 rm -f conftest.err conftest.$ac_ext
5762 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5763 echo "${ECHO_T}$ac_header_preproc" >&6; }
5765 # So? What about this header?
5766 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5768 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5769 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5770 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5771 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5772 ac_header_preproc=yes
5775 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5776 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5777 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5778 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5779 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5780 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5781 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5782 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5783 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5784 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5785 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5786 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5788 ## ----------------------------------- ##
5789 ## Report this to arthur@ch.tudelft.nl ##
5790 ## ----------------------------------- ##
5792 ) | sed "s/^/$as_me: WARNING: /" >&2
5795 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5796 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5797 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5798 echo $ECHO_N "(cached) $ECHO_C" >&6
5800 eval "$as_ac_Header=\$ac_header_preproc"
5802 ac_res=`eval echo '${'$as_ac_Header'}'`
5803 { echo "$as_me:$LINENO: result: $ac_res" >&5
5804 echo "${ECHO_T}$ac_res" >&6; }
5807 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5808 cat >>confdefs.h <<_ACEOF
5809 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5817 for ac_header in netinet/ether.h
5819 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5820 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5821 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5822 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5823 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5824 echo $ECHO_N "(cached) $ECHO_C" >&6
5826 ac_res=`eval echo '${'$as_ac_Header'}'`
5827 { echo "$as_me:$LINENO: result: $ac_res" >&5
5828 echo "${ECHO_T}$ac_res" >&6; }
5830 # Is the header compilable?
5831 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5832 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5833 cat >conftest.$ac_ext <<_ACEOF
5836 cat confdefs.h >>conftest.$ac_ext
5837 cat >>conftest.$ac_ext <<_ACEOF
5838 /* end confdefs.h. */
5839 $ac_includes_default
5840 #include <$ac_header>
5842 rm -f conftest.$ac_objext
5843 if { (ac_try="$ac_compile"
5845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5846 *) ac_try_echo=$ac_try;;
5848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5849 (eval "$ac_compile") 2>conftest.er1
5851 grep -v '^ *+' conftest.er1 >conftest.err
5853 cat conftest.err >&5
5854 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5855 (exit $ac_status); } && {
5856 test -z "$ac_c_werror_flag" ||
5857 test ! -s conftest.err
5858 } && test -s conftest.$ac_objext; then
5859 ac_header_compiler=yes
5861 echo "$as_me: failed program was:" >&5
5862 sed 's/^/| /' conftest.$ac_ext >&5
5864 ac_header_compiler=no
5867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5868 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5869 echo "${ECHO_T}$ac_header_compiler" >&6; }
5871 # Is the header present?
5872 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5873 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5874 cat >conftest.$ac_ext <<_ACEOF
5877 cat confdefs.h >>conftest.$ac_ext
5878 cat >>conftest.$ac_ext <<_ACEOF
5879 /* end confdefs.h. */
5880 #include <$ac_header>
5882 if { (ac_try="$ac_cpp conftest.$ac_ext"
5884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5885 *) ac_try_echo=$ac_try;;
5887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5888 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5890 grep -v '^ *+' conftest.er1 >conftest.err
5892 cat conftest.err >&5
5893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5894 (exit $ac_status); } >/dev/null && {
5895 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
5896 test ! -s conftest.err
5898 ac_header_preproc=yes
5900 echo "$as_me: failed program was:" >&5
5901 sed 's/^/| /' conftest.$ac_ext >&5
5903 ac_header_preproc=no
5906 rm -f conftest.err conftest.$ac_ext
5907 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5908 echo "${ECHO_T}$ac_header_preproc" >&6; }
5910 # So? What about this header?
5911 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5913 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5914 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5915 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5916 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5917 ac_header_preproc=yes
5920 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5921 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5922 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5923 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5924 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5925 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5926 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5927 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5928 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5929 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5930 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5931 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5933 ## ----------------------------------- ##
5934 ## Report this to arthur@ch.tudelft.nl ##
5935 ## ----------------------------------- ##
5937 ) | sed "s/^/$as_me: WARNING: /" >&2
5940 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5941 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5942 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5943 echo $ECHO_N "(cached) $ECHO_C" >&6
5945 eval "$as_ac_Header=\$ac_header_preproc"
5947 ac_res=`eval echo '${'$as_ac_Header'}'`
5948 { echo "$as_me:$LINENO: result: $ac_res" >&5
5949 echo "${ECHO_T}$ac_res" >&6; }
5952 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5953 cat >>confdefs.h <<_ACEOF
5954 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5962 for ac_header in ctype.h
5964 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5965 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5966 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5967 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5968 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5969 echo $ECHO_N "(cached) $ECHO_C" >&6
5971 ac_res=`eval echo '${'$as_ac_Header'}'`
5972 { echo "$as_me:$LINENO: result: $ac_res" >&5
5973 echo "${ECHO_T}$ac_res" >&6; }
5975 # Is the header compilable?
5976 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5977 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5978 cat >conftest.$ac_ext <<_ACEOF
5981 cat confdefs.h >>conftest.$ac_ext
5982 cat >>conftest.$ac_ext <<_ACEOF
5983 /* end confdefs.h. */
5984 $ac_includes_default
5985 #include <$ac_header>
5987 rm -f conftest.$ac_objext
5988 if { (ac_try="$ac_compile"
5990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5991 *) ac_try_echo=$ac_try;;
5993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5994 (eval "$ac_compile") 2>conftest.er1
5996 grep -v '^ *+' conftest.er1 >conftest.err
5998 cat conftest.err >&5
5999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6000 (exit $ac_status); } && {
6001 test -z "$ac_c_werror_flag" ||
6002 test ! -s conftest.err
6003 } && test -s conftest.$ac_objext; then
6004 ac_header_compiler=yes
6006 echo "$as_me: failed program was:" >&5
6007 sed 's/^/| /' conftest.$ac_ext >&5
6009 ac_header_compiler=no
6012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6013 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6014 echo "${ECHO_T}$ac_header_compiler" >&6; }
6016 # Is the header present?
6017 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6018 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6019 cat >conftest.$ac_ext <<_ACEOF
6022 cat confdefs.h >>conftest.$ac_ext
6023 cat >>conftest.$ac_ext <<_ACEOF
6024 /* end confdefs.h. */
6025 #include <$ac_header>
6027 if { (ac_try="$ac_cpp conftest.$ac_ext"
6029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6030 *) ac_try_echo=$ac_try;;
6032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6033 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6035 grep -v '^ *+' conftest.er1 >conftest.err
6037 cat conftest.err >&5
6038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6039 (exit $ac_status); } >/dev/null && {
6040 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6041 test ! -s conftest.err
6043 ac_header_preproc=yes
6045 echo "$as_me: failed program was:" >&5
6046 sed 's/^/| /' conftest.$ac_ext >&5
6048 ac_header_preproc=no
6051 rm -f conftest.err conftest.$ac_ext
6052 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6053 echo "${ECHO_T}$ac_header_preproc" >&6; }
6055 # So? What about this header?
6056 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6058 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6059 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6060 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6061 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6062 ac_header_preproc=yes
6065 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6066 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6067 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6068 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6069 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6070 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6071 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6072 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6073 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6074 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6075 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6076 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6078 ## ----------------------------------- ##
6079 ## Report this to arthur@ch.tudelft.nl ##
6080 ## ----------------------------------- ##
6082 ) | sed "s/^/$as_me: WARNING: /" >&2
6085 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6086 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6087 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6088 echo $ECHO_N "(cached) $ECHO_C" >&6
6090 eval "$as_ac_Header=\$ac_header_preproc"
6092 ac_res=`eval echo '${'$as_ac_Header'}'`
6093 { echo "$as_me:$LINENO: result: $ac_res" >&5
6094 echo "${ECHO_T}$ac_res" >&6; }
6097 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6098 cat >>confdefs.h <<_ACEOF
6099 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6107 for ac_header in getopt.h
6109 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6110 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6111 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6112 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6113 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6114 echo $ECHO_N "(cached) $ECHO_C" >&6
6116 ac_res=`eval echo '${'$as_ac_Header'}'`
6117 { echo "$as_me:$LINENO: result: $ac_res" >&5
6118 echo "${ECHO_T}$ac_res" >&6; }
6120 # Is the header compilable?
6121 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6122 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6123 cat >conftest.$ac_ext <<_ACEOF
6126 cat confdefs.h >>conftest.$ac_ext
6127 cat >>conftest.$ac_ext <<_ACEOF
6128 /* end confdefs.h. */
6129 $ac_includes_default
6130 #include <$ac_header>
6132 rm -f conftest.$ac_objext
6133 if { (ac_try="$ac_compile"
6135 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6136 *) ac_try_echo=$ac_try;;
6138 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6139 (eval "$ac_compile") 2>conftest.er1
6141 grep -v '^ *+' conftest.er1 >conftest.err
6143 cat conftest.err >&5
6144 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6145 (exit $ac_status); } && {
6146 test -z "$ac_c_werror_flag" ||
6147 test ! -s conftest.err
6148 } && test -s conftest.$ac_objext; then
6149 ac_header_compiler=yes
6151 echo "$as_me: failed program was:" >&5
6152 sed 's/^/| /' conftest.$ac_ext >&5
6154 ac_header_compiler=no
6157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6158 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6159 echo "${ECHO_T}$ac_header_compiler" >&6; }
6161 # Is the header present?
6162 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6163 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6164 cat >conftest.$ac_ext <<_ACEOF
6167 cat confdefs.h >>conftest.$ac_ext
6168 cat >>conftest.$ac_ext <<_ACEOF
6169 /* end confdefs.h. */
6170 #include <$ac_header>
6172 if { (ac_try="$ac_cpp conftest.$ac_ext"
6174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6175 *) ac_try_echo=$ac_try;;
6177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6178 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6180 grep -v '^ *+' conftest.er1 >conftest.err
6182 cat conftest.err >&5
6183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6184 (exit $ac_status); } >/dev/null && {
6185 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6186 test ! -s conftest.err
6188 ac_header_preproc=yes
6190 echo "$as_me: failed program was:" >&5
6191 sed 's/^/| /' conftest.$ac_ext >&5
6193 ac_header_preproc=no
6196 rm -f conftest.err conftest.$ac_ext
6197 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6198 echo "${ECHO_T}$ac_header_preproc" >&6; }
6200 # So? What about this header?
6201 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6203 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6204 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6205 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6206 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6207 ac_header_preproc=yes
6210 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6211 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6212 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6213 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6214 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6215 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6216 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6217 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6218 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6219 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6220 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6221 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6223 ## ----------------------------------- ##
6224 ## Report this to arthur@ch.tudelft.nl ##
6225 ## ----------------------------------- ##
6227 ) | sed "s/^/$as_me: WARNING: /" >&2
6230 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6231 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6232 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6233 echo $ECHO_N "(cached) $ECHO_C" >&6
6235 eval "$as_ac_Header=\$ac_header_preproc"
6237 ac_res=`eval echo '${'$as_ac_Header'}'`
6238 { echo "$as_me:$LINENO: result: $ac_res" >&5
6239 echo "${ECHO_T}$ac_res" >&6; }
6242 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6243 cat >>confdefs.h <<_ACEOF
6244 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6252 for ac_header in sys/un.h
6254 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6255 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6256 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6257 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6258 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6259 echo $ECHO_N "(cached) $ECHO_C" >&6
6261 ac_res=`eval echo '${'$as_ac_Header'}'`
6262 { echo "$as_me:$LINENO: result: $ac_res" >&5
6263 echo "${ECHO_T}$ac_res" >&6; }
6265 # Is the header compilable?
6266 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6267 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6268 cat >conftest.$ac_ext <<_ACEOF
6271 cat confdefs.h >>conftest.$ac_ext
6272 cat >>conftest.$ac_ext <<_ACEOF
6273 /* end confdefs.h. */
6274 $ac_includes_default
6275 #include <$ac_header>
6277 rm -f conftest.$ac_objext
6278 if { (ac_try="$ac_compile"
6280 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6281 *) ac_try_echo=$ac_try;;
6283 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6284 (eval "$ac_compile") 2>conftest.er1
6286 grep -v '^ *+' conftest.er1 >conftest.err
6288 cat conftest.err >&5
6289 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6290 (exit $ac_status); } && {
6291 test -z "$ac_c_werror_flag" ||
6292 test ! -s conftest.err
6293 } && test -s conftest.$ac_objext; then
6294 ac_header_compiler=yes
6296 echo "$as_me: failed program was:" >&5
6297 sed 's/^/| /' conftest.$ac_ext >&5
6299 ac_header_compiler=no
6302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6303 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6304 echo "${ECHO_T}$ac_header_compiler" >&6; }
6306 # Is the header present?
6307 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6308 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6309 cat >conftest.$ac_ext <<_ACEOF
6312 cat confdefs.h >>conftest.$ac_ext
6313 cat >>conftest.$ac_ext <<_ACEOF
6314 /* end confdefs.h. */
6315 #include <$ac_header>
6317 if { (ac_try="$ac_cpp conftest.$ac_ext"
6319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6320 *) ac_try_echo=$ac_try;;
6322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6323 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6325 grep -v '^ *+' conftest.er1 >conftest.err
6327 cat conftest.err >&5
6328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6329 (exit $ac_status); } >/dev/null && {
6330 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6331 test ! -s conftest.err
6333 ac_header_preproc=yes
6335 echo "$as_me: failed program was:" >&5
6336 sed 's/^/| /' conftest.$ac_ext >&5
6338 ac_header_preproc=no
6341 rm -f conftest.err conftest.$ac_ext
6342 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6343 echo "${ECHO_T}$ac_header_preproc" >&6; }
6345 # So? What about this header?
6346 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6348 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6349 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6350 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6351 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6352 ac_header_preproc=yes
6355 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6356 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6357 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6358 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6359 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6360 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6361 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6362 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6363 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6364 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6365 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6366 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6368 ## ----------------------------------- ##
6369 ## Report this to arthur@ch.tudelft.nl ##
6370 ## ----------------------------------- ##
6372 ) | sed "s/^/$as_me: WARNING: /" >&2
6375 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6376 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6377 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6378 echo $ECHO_N "(cached) $ECHO_C" >&6
6380 eval "$as_ac_Header=\$ac_header_preproc"
6382 ac_res=`eval echo '${'$as_ac_Header'}'`
6383 { echo "$as_me:$LINENO: result: $ac_res" >&5
6384 echo "${ECHO_T}$ac_res" >&6; }
6387 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6388 cat >>confdefs.h <<_ACEOF
6389 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6398 for ac_header in sasl.h sasl/sasl.h
6400 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6401 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6402 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6403 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6404 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6405 echo $ECHO_N "(cached) $ECHO_C" >&6
6407 ac_res=`eval echo '${'$as_ac_Header'}'`
6408 { echo "$as_me:$LINENO: result: $ac_res" >&5
6409 echo "${ECHO_T}$ac_res" >&6; }
6411 # Is the header compilable?
6412 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6413 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6414 cat >conftest.$ac_ext <<_ACEOF
6417 cat confdefs.h >>conftest.$ac_ext
6418 cat >>conftest.$ac_ext <<_ACEOF
6419 /* end confdefs.h. */
6420 $ac_includes_default
6421 #include <$ac_header>
6423 rm -f conftest.$ac_objext
6424 if { (ac_try="$ac_compile"
6426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6427 *) ac_try_echo=$ac_try;;
6429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6430 (eval "$ac_compile") 2>conftest.er1
6432 grep -v '^ *+' conftest.er1 >conftest.err
6434 cat conftest.err >&5
6435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6436 (exit $ac_status); } && {
6437 test -z "$ac_c_werror_flag" ||
6438 test ! -s conftest.err
6439 } && test -s conftest.$ac_objext; then
6440 ac_header_compiler=yes
6442 echo "$as_me: failed program was:" >&5
6443 sed 's/^/| /' conftest.$ac_ext >&5
6445 ac_header_compiler=no
6448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6449 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6450 echo "${ECHO_T}$ac_header_compiler" >&6; }
6452 # Is the header present?
6453 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6454 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6455 cat >conftest.$ac_ext <<_ACEOF
6458 cat confdefs.h >>conftest.$ac_ext
6459 cat >>conftest.$ac_ext <<_ACEOF
6460 /* end confdefs.h. */
6461 #include <$ac_header>
6463 if { (ac_try="$ac_cpp conftest.$ac_ext"
6465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6466 *) ac_try_echo=$ac_try;;
6468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6469 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6471 grep -v '^ *+' conftest.er1 >conftest.err
6473 cat conftest.err >&5
6474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6475 (exit $ac_status); } >/dev/null && {
6476 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6477 test ! -s conftest.err
6479 ac_header_preproc=yes
6481 echo "$as_me: failed program was:" >&5
6482 sed 's/^/| /' conftest.$ac_ext >&5
6484 ac_header_preproc=no
6487 rm -f conftest.err conftest.$ac_ext
6488 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6489 echo "${ECHO_T}$ac_header_preproc" >&6; }
6491 # So? What about this header?
6492 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6494 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6495 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6496 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6497 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6498 ac_header_preproc=yes
6501 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6502 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6503 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6504 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6505 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6506 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6507 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6508 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6509 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6510 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6511 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6512 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6514 ## ----------------------------------- ##
6515 ## Report this to arthur@ch.tudelft.nl ##
6516 ## ----------------------------------- ##
6518 ) | sed "s/^/$as_me: WARNING: /" >&2
6521 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6522 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6523 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6524 echo $ECHO_N "(cached) $ECHO_C" >&6
6526 eval "$as_ac_Header=\$ac_header_preproc"
6528 ac_res=`eval echo '${'$as_ac_Header'}'`
6529 { echo "$as_me:$LINENO: result: $ac_res" >&5
6530 echo "${ECHO_T}$ac_res" >&6; }
6533 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6534 cat >>confdefs.h <<_ACEOF
6535 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6543 for ac_header in strings.h
6545 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6546 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6547 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6548 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6549 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6550 echo $ECHO_N "(cached) $ECHO_C" >&6
6552 ac_res=`eval echo '${'$as_ac_Header'}'`
6553 { echo "$as_me:$LINENO: result: $ac_res" >&5
6554 echo "${ECHO_T}$ac_res" >&6; }
6556 # Is the header compilable?
6557 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6558 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6559 cat >conftest.$ac_ext <<_ACEOF
6562 cat confdefs.h >>conftest.$ac_ext
6563 cat >>conftest.$ac_ext <<_ACEOF
6564 /* end confdefs.h. */
6565 $ac_includes_default
6566 #include <$ac_header>
6568 rm -f conftest.$ac_objext
6569 if { (ac_try="$ac_compile"
6571 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6572 *) ac_try_echo=$ac_try;;
6574 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6575 (eval "$ac_compile") 2>conftest.er1
6577 grep -v '^ *+' conftest.er1 >conftest.err
6579 cat conftest.err >&5
6580 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6581 (exit $ac_status); } && {
6582 test -z "$ac_c_werror_flag" ||
6583 test ! -s conftest.err
6584 } && test -s conftest.$ac_objext; then
6585 ac_header_compiler=yes
6587 echo "$as_me: failed program was:" >&5
6588 sed 's/^/| /' conftest.$ac_ext >&5
6590 ac_header_compiler=no
6593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6594 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6595 echo "${ECHO_T}$ac_header_compiler" >&6; }
6597 # Is the header present?
6598 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6599 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6600 cat >conftest.$ac_ext <<_ACEOF
6603 cat confdefs.h >>conftest.$ac_ext
6604 cat >>conftest.$ac_ext <<_ACEOF
6605 /* end confdefs.h. */
6606 #include <$ac_header>
6608 if { (ac_try="$ac_cpp conftest.$ac_ext"
6610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6611 *) ac_try_echo=$ac_try;;
6613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6614 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6616 grep -v '^ *+' conftest.er1 >conftest.err
6618 cat conftest.err >&5
6619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6620 (exit $ac_status); } >/dev/null && {
6621 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6622 test ! -s conftest.err
6624 ac_header_preproc=yes
6626 echo "$as_me: failed program was:" >&5
6627 sed 's/^/| /' conftest.$ac_ext >&5
6629 ac_header_preproc=no
6632 rm -f conftest.err conftest.$ac_ext
6633 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6634 echo "${ECHO_T}$ac_header_preproc" >&6; }
6636 # So? What about this header?
6637 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6639 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6640 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6641 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6642 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6643 ac_header_preproc=yes
6646 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6647 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6648 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6649 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6650 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6651 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6652 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6653 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6654 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6655 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6656 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6657 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6659 ## ----------------------------------- ##
6660 ## Report this to arthur@ch.tudelft.nl ##
6661 ## ----------------------------------- ##
6663 ) | sed "s/^/$as_me: WARNING: /" >&2
6666 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6667 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6668 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6669 echo $ECHO_N "(cached) $ECHO_C" >&6
6671 eval "$as_ac_Header=\$ac_header_preproc"
6673 ac_res=`eval echo '${'$as_ac_Header'}'`
6674 { echo "$as_me:$LINENO: result: $ac_res" >&5
6675 echo "${ECHO_T}$ac_res" >&6; }
6678 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6679 cat >>confdefs.h <<_ACEOF
6680 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6688 for ac_header in gssldap.h
6690 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6691 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6692 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6693 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6694 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6695 echo $ECHO_N "(cached) $ECHO_C" >&6
6697 ac_res=`eval echo '${'$as_ac_Header'}'`
6698 { echo "$as_me:$LINENO: result: $ac_res" >&5
6699 echo "${ECHO_T}$ac_res" >&6; }
6701 # Is the header compilable?
6702 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6703 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6704 cat >conftest.$ac_ext <<_ACEOF
6707 cat confdefs.h >>conftest.$ac_ext
6708 cat >>conftest.$ac_ext <<_ACEOF
6709 /* end confdefs.h. */
6710 $ac_includes_default
6711 #include <$ac_header>
6713 rm -f conftest.$ac_objext
6714 if { (ac_try="$ac_compile"
6716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6717 *) ac_try_echo=$ac_try;;
6719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6720 (eval "$ac_compile") 2>conftest.er1
6722 grep -v '^ *+' conftest.er1 >conftest.err
6724 cat conftest.err >&5
6725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6726 (exit $ac_status); } && {
6727 test -z "$ac_c_werror_flag" ||
6728 test ! -s conftest.err
6729 } && test -s conftest.$ac_objext; then
6730 ac_header_compiler=yes
6732 echo "$as_me: failed program was:" >&5
6733 sed 's/^/| /' conftest.$ac_ext >&5
6735 ac_header_compiler=no
6738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6739 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6740 echo "${ECHO_T}$ac_header_compiler" >&6; }
6742 # Is the header present?
6743 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6744 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6745 cat >conftest.$ac_ext <<_ACEOF
6748 cat confdefs.h >>conftest.$ac_ext
6749 cat >>conftest.$ac_ext <<_ACEOF
6750 /* end confdefs.h. */
6751 #include <$ac_header>
6753 if { (ac_try="$ac_cpp conftest.$ac_ext"
6755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6756 *) ac_try_echo=$ac_try;;
6758 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6759 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6761 grep -v '^ *+' conftest.er1 >conftest.err
6763 cat conftest.err >&5
6764 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6765 (exit $ac_status); } >/dev/null && {
6766 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6767 test ! -s conftest.err
6769 ac_header_preproc=yes
6771 echo "$as_me: failed program was:" >&5
6772 sed 's/^/| /' conftest.$ac_ext >&5
6774 ac_header_preproc=no
6777 rm -f conftest.err conftest.$ac_ext
6778 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6779 echo "${ECHO_T}$ac_header_preproc" >&6; }
6781 # So? What about this header?
6782 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6784 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6785 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6786 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6787 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6788 ac_header_preproc=yes
6791 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6792 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6793 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6794 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6795 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6796 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6797 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6798 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6799 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6800 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6801 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6802 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6804 ## ----------------------------------- ##
6805 ## Report this to arthur@ch.tudelft.nl ##
6806 ## ----------------------------------- ##
6808 ) | sed "s/^/$as_me: WARNING: /" >&2
6811 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6812 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6813 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6814 echo $ECHO_N "(cached) $ECHO_C" >&6
6816 eval "$as_ac_Header=\$ac_header_preproc"
6818 ac_res=`eval echo '${'$as_ac_Header'}'`
6819 { echo "$as_me:$LINENO: result: $ac_res" >&5
6820 echo "${ECHO_T}$ac_res" >&6; }
6823 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6824 cat >>confdefs.h <<_ACEOF
6825 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6833 for ac_header in gsssasl.h
6835 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6836 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6837 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6838 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6839 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6840 echo $ECHO_N "(cached) $ECHO_C" >&6
6842 ac_res=`eval echo '${'$as_ac_Header'}'`
6843 { echo "$as_me:$LINENO: result: $ac_res" >&5
6844 echo "${ECHO_T}$ac_res" >&6; }
6846 # Is the header compilable?
6847 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6848 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6849 cat >conftest.$ac_ext <<_ACEOF
6852 cat confdefs.h >>conftest.$ac_ext
6853 cat >>conftest.$ac_ext <<_ACEOF
6854 /* end confdefs.h. */
6855 $ac_includes_default
6856 #include <$ac_header>
6858 rm -f conftest.$ac_objext
6859 if { (ac_try="$ac_compile"
6861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6862 *) ac_try_echo=$ac_try;;
6864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6865 (eval "$ac_compile") 2>conftest.er1
6867 grep -v '^ *+' conftest.er1 >conftest.err
6869 cat conftest.err >&5
6870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6871 (exit $ac_status); } && {
6872 test -z "$ac_c_werror_flag" ||
6873 test ! -s conftest.err
6874 } && test -s conftest.$ac_objext; then
6875 ac_header_compiler=yes
6877 echo "$as_me: failed program was:" >&5
6878 sed 's/^/| /' conftest.$ac_ext >&5
6880 ac_header_compiler=no
6883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6884 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6885 echo "${ECHO_T}$ac_header_compiler" >&6; }
6887 # Is the header present?
6888 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6889 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6890 cat >conftest.$ac_ext <<_ACEOF
6893 cat confdefs.h >>conftest.$ac_ext
6894 cat >>conftest.$ac_ext <<_ACEOF
6895 /* end confdefs.h. */
6896 #include <$ac_header>
6898 if { (ac_try="$ac_cpp conftest.$ac_ext"
6900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6901 *) ac_try_echo=$ac_try;;
6903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6904 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6906 grep -v '^ *+' conftest.er1 >conftest.err
6908 cat conftest.err >&5
6909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6910 (exit $ac_status); } >/dev/null && {
6911 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
6912 test ! -s conftest.err
6914 ac_header_preproc=yes
6916 echo "$as_me: failed program was:" >&5
6917 sed 's/^/| /' conftest.$ac_ext >&5
6919 ac_header_preproc=no
6922 rm -f conftest.err conftest.$ac_ext
6923 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6924 echo "${ECHO_T}$ac_header_preproc" >&6; }
6926 # So? What about this header?
6927 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
6929 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6930 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6931 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6932 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6933 ac_header_preproc=yes
6936 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6937 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6938 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6939 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6940 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6941 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6942 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6943 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6944 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6945 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6946 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6947 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6949 ## ----------------------------------- ##
6950 ## Report this to arthur@ch.tudelft.nl ##
6951 ## ----------------------------------- ##
6953 ) | sed "s/^/$as_me: WARNING: /" >&2
6956 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6957 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6958 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6959 echo $ECHO_N "(cached) $ECHO_C" >&6
6961 eval "$as_ac_Header=\$ac_header_preproc"
6963 ac_res=`eval echo '${'$as_ac_Header'}'`
6964 { echo "$as_me:$LINENO: result: $ac_res" >&5
6965 echo "${ECHO_T}$ac_res" >&6; }
6968 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6969 cat >>confdefs.h <<_ACEOF
6970 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6979 for ac_header in gssapi/gssapi_krb5.h gssapi.h
6981 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6982 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6983 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6984 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6985 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6986 echo $ECHO_N "(cached) $ECHO_C" >&6
6988 ac_res=`eval echo '${'$as_ac_Header'}'`
6989 { echo "$as_me:$LINENO: result: $ac_res" >&5
6990 echo "${ECHO_T}$ac_res" >&6; }
6992 # Is the header compilable?
6993 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6994 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6995 cat >conftest.$ac_ext <<_ACEOF
6998 cat confdefs.h >>conftest.$ac_ext
6999 cat >>conftest.$ac_ext <<_ACEOF
7000 /* end confdefs.h. */
7001 $ac_includes_default
7002 #include <$ac_header>
7004 rm -f conftest.$ac_objext
7005 if { (ac_try="$ac_compile"
7007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7008 *) ac_try_echo=$ac_try;;
7010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7011 (eval "$ac_compile") 2>conftest.er1
7013 grep -v '^ *+' conftest.er1 >conftest.err
7015 cat conftest.err >&5
7016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7017 (exit $ac_status); } && {
7018 test -z "$ac_c_werror_flag" ||
7019 test ! -s conftest.err
7020 } && test -s conftest.$ac_objext; then
7021 ac_header_compiler=yes
7023 echo "$as_me: failed program was:" >&5
7024 sed 's/^/| /' conftest.$ac_ext >&5
7026 ac_header_compiler=no
7029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7030 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7031 echo "${ECHO_T}$ac_header_compiler" >&6; }
7033 # Is the header present?
7034 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7035 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7036 cat >conftest.$ac_ext <<_ACEOF
7039 cat confdefs.h >>conftest.$ac_ext
7040 cat >>conftest.$ac_ext <<_ACEOF
7041 /* end confdefs.h. */
7042 #include <$ac_header>
7044 if { (ac_try="$ac_cpp conftest.$ac_ext"
7046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7047 *) ac_try_echo=$ac_try;;
7049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7050 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7052 grep -v '^ *+' conftest.er1 >conftest.err
7054 cat conftest.err >&5
7055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7056 (exit $ac_status); } >/dev/null && {
7057 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7058 test ! -s conftest.err
7060 ac_header_preproc=yes
7062 echo "$as_me: failed program was:" >&5
7063 sed 's/^/| /' conftest.$ac_ext >&5
7065 ac_header_preproc=no
7068 rm -f conftest.err conftest.$ac_ext
7069 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7070 echo "${ECHO_T}$ac_header_preproc" >&6; }
7072 # So? What about this header?
7073 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7075 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7076 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7077 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7078 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7079 ac_header_preproc=yes
7082 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7083 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7084 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7085 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7086 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7087 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7088 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7089 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7090 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7091 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7092 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7093 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7095 ## ----------------------------------- ##
7096 ## Report this to arthur@ch.tudelft.nl ##
7097 ## ----------------------------------- ##
7099 ) | sed "s/^/$as_me: WARNING: /" >&2
7102 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7103 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7104 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7105 echo $ECHO_N "(cached) $ECHO_C" >&6
7107 eval "$as_ac_Header=\$ac_header_preproc"
7109 ac_res=`eval echo '${'$as_ac_Header'}'`
7110 { echo "$as_me:$LINENO: result: $ac_res" >&5
7111 echo "${ECHO_T}$ac_res" >&6; }
7114 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7115 cat >>confdefs.h <<_ACEOF
7116 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7124 for ac_header in grp.h
7126 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7127 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7128 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7129 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7130 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7131 echo $ECHO_N "(cached) $ECHO_C" >&6
7133 ac_res=`eval echo '${'$as_ac_Header'}'`
7134 { echo "$as_me:$LINENO: result: $ac_res" >&5
7135 echo "${ECHO_T}$ac_res" >&6; }
7137 # Is the header compilable?
7138 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7139 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7140 cat >conftest.$ac_ext <<_ACEOF
7143 cat confdefs.h >>conftest.$ac_ext
7144 cat >>conftest.$ac_ext <<_ACEOF
7145 /* end confdefs.h. */
7146 $ac_includes_default
7147 #include <$ac_header>
7149 rm -f conftest.$ac_objext
7150 if { (ac_try="$ac_compile"
7152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7153 *) ac_try_echo=$ac_try;;
7155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7156 (eval "$ac_compile") 2>conftest.er1
7158 grep -v '^ *+' conftest.er1 >conftest.err
7160 cat conftest.err >&5
7161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7162 (exit $ac_status); } && {
7163 test -z "$ac_c_werror_flag" ||
7164 test ! -s conftest.err
7165 } && test -s conftest.$ac_objext; then
7166 ac_header_compiler=yes
7168 echo "$as_me: failed program was:" >&5
7169 sed 's/^/| /' conftest.$ac_ext >&5
7171 ac_header_compiler=no
7174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7175 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7176 echo "${ECHO_T}$ac_header_compiler" >&6; }
7178 # Is the header present?
7179 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7180 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7181 cat >conftest.$ac_ext <<_ACEOF
7184 cat confdefs.h >>conftest.$ac_ext
7185 cat >>conftest.$ac_ext <<_ACEOF
7186 /* end confdefs.h. */
7187 #include <$ac_header>
7189 if { (ac_try="$ac_cpp conftest.$ac_ext"
7191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7192 *) ac_try_echo=$ac_try;;
7194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7197 grep -v '^ *+' conftest.er1 >conftest.err
7199 cat conftest.err >&5
7200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7201 (exit $ac_status); } >/dev/null && {
7202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7203 test ! -s conftest.err
7205 ac_header_preproc=yes
7207 echo "$as_me: failed program was:" >&5
7208 sed 's/^/| /' conftest.$ac_ext >&5
7210 ac_header_preproc=no
7213 rm -f conftest.err conftest.$ac_ext
7214 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7215 echo "${ECHO_T}$ac_header_preproc" >&6; }
7217 # So? What about this header?
7218 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7220 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7221 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7222 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7223 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7224 ac_header_preproc=yes
7227 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7228 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7229 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7230 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7231 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7232 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7233 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7234 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7235 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7236 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7237 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7238 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7240 ## ----------------------------------- ##
7241 ## Report this to arthur@ch.tudelft.nl ##
7242 ## ----------------------------------- ##
7244 ) | sed "s/^/$as_me: WARNING: /" >&2
7247 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7248 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7249 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7250 echo $ECHO_N "(cached) $ECHO_C" >&6
7252 eval "$as_ac_Header=\$ac_header_preproc"
7254 ac_res=`eval echo '${'$as_ac_Header'}'`
7255 { echo "$as_me:$LINENO: result: $ac_res" >&5
7256 echo "${ECHO_T}$ac_res" >&6; }
7259 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7260 cat >>confdefs.h <<_ACEOF
7261 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7269 for ac_header in sys/socket.h
7271 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7272 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7273 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7274 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7275 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7276 echo $ECHO_N "(cached) $ECHO_C" >&6
7278 ac_res=`eval echo '${'$as_ac_Header'}'`
7279 { echo "$as_me:$LINENO: result: $ac_res" >&5
7280 echo "${ECHO_T}$ac_res" >&6; }
7282 # Is the header compilable?
7283 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7284 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7285 cat >conftest.$ac_ext <<_ACEOF
7288 cat confdefs.h >>conftest.$ac_ext
7289 cat >>conftest.$ac_ext <<_ACEOF
7290 /* end confdefs.h. */
7291 $ac_includes_default
7292 #include <$ac_header>
7294 rm -f conftest.$ac_objext
7295 if { (ac_try="$ac_compile"
7297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7298 *) ac_try_echo=$ac_try;;
7300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7301 (eval "$ac_compile") 2>conftest.er1
7303 grep -v '^ *+' conftest.er1 >conftest.err
7305 cat conftest.err >&5
7306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7307 (exit $ac_status); } && {
7308 test -z "$ac_c_werror_flag" ||
7309 test ! -s conftest.err
7310 } && test -s conftest.$ac_objext; then
7311 ac_header_compiler=yes
7313 echo "$as_me: failed program was:" >&5
7314 sed 's/^/| /' conftest.$ac_ext >&5
7316 ac_header_compiler=no
7319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7320 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7321 echo "${ECHO_T}$ac_header_compiler" >&6; }
7323 # Is the header present?
7324 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7325 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7326 cat >conftest.$ac_ext <<_ACEOF
7329 cat confdefs.h >>conftest.$ac_ext
7330 cat >>conftest.$ac_ext <<_ACEOF
7331 /* end confdefs.h. */
7332 #include <$ac_header>
7334 if { (ac_try="$ac_cpp conftest.$ac_ext"
7336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7337 *) ac_try_echo=$ac_try;;
7339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7340 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7342 grep -v '^ *+' conftest.er1 >conftest.err
7344 cat conftest.err >&5
7345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7346 (exit $ac_status); } >/dev/null && {
7347 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7348 test ! -s conftest.err
7350 ac_header_preproc=yes
7352 echo "$as_me: failed program was:" >&5
7353 sed 's/^/| /' conftest.$ac_ext >&5
7355 ac_header_preproc=no
7358 rm -f conftest.err conftest.$ac_ext
7359 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7360 echo "${ECHO_T}$ac_header_preproc" >&6; }
7362 # So? What about this header?
7363 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7365 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7366 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7367 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7368 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7369 ac_header_preproc=yes
7372 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7373 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7374 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7375 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7376 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7377 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7378 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7379 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7380 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7381 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7382 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7383 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7385 ## ----------------------------------- ##
7386 ## Report this to arthur@ch.tudelft.nl ##
7387 ## ----------------------------------- ##
7389 ) | sed "s/^/$as_me: WARNING: /" >&2
7392 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7393 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7394 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7395 echo $ECHO_N "(cached) $ECHO_C" >&6
7397 eval "$as_ac_Header=\$ac_header_preproc"
7399 ac_res=`eval echo '${'$as_ac_Header'}'`
7400 { echo "$as_me:$LINENO: result: $ac_res" >&5
7401 echo "${ECHO_T}$ac_res" >&6; }
7404 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7405 cat >>confdefs.h <<_ACEOF
7406 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7414 for ac_header in sys/ucred.h
7416 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7417 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7421 echo $ECHO_N "(cached) $ECHO_C" >&6
7423 ac_res=`eval echo '${'$as_ac_Header'}'`
7424 { echo "$as_me:$LINENO: result: $ac_res" >&5
7425 echo "${ECHO_T}$ac_res" >&6; }
7427 # Is the header compilable?
7428 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7429 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7430 cat >conftest.$ac_ext <<_ACEOF
7433 cat confdefs.h >>conftest.$ac_ext
7434 cat >>conftest.$ac_ext <<_ACEOF
7435 /* end confdefs.h. */
7436 $ac_includes_default
7437 #include <$ac_header>
7439 rm -f conftest.$ac_objext
7440 if { (ac_try="$ac_compile"
7442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7443 *) ac_try_echo=$ac_try;;
7445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7446 (eval "$ac_compile") 2>conftest.er1
7448 grep -v '^ *+' conftest.er1 >conftest.err
7450 cat conftest.err >&5
7451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7452 (exit $ac_status); } && {
7453 test -z "$ac_c_werror_flag" ||
7454 test ! -s conftest.err
7455 } && test -s conftest.$ac_objext; then
7456 ac_header_compiler=yes
7458 echo "$as_me: failed program was:" >&5
7459 sed 's/^/| /' conftest.$ac_ext >&5
7461 ac_header_compiler=no
7464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7465 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7466 echo "${ECHO_T}$ac_header_compiler" >&6; }
7468 # Is the header present?
7469 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7470 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7471 cat >conftest.$ac_ext <<_ACEOF
7474 cat confdefs.h >>conftest.$ac_ext
7475 cat >>conftest.$ac_ext <<_ACEOF
7476 /* end confdefs.h. */
7477 #include <$ac_header>
7479 if { (ac_try="$ac_cpp conftest.$ac_ext"
7481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7482 *) ac_try_echo=$ac_try;;
7484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7485 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7487 grep -v '^ *+' conftest.er1 >conftest.err
7489 cat conftest.err >&5
7490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7491 (exit $ac_status); } >/dev/null && {
7492 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7493 test ! -s conftest.err
7495 ac_header_preproc=yes
7497 echo "$as_me: failed program was:" >&5
7498 sed 's/^/| /' conftest.$ac_ext >&5
7500 ac_header_preproc=no
7503 rm -f conftest.err conftest.$ac_ext
7504 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7505 echo "${ECHO_T}$ac_header_preproc" >&6; }
7507 # So? What about this header?
7508 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7510 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7511 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7512 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7513 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7514 ac_header_preproc=yes
7517 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7518 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7519 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7520 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7521 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7522 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7523 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7524 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7525 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7526 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7527 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7528 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7530 ## ----------------------------------- ##
7531 ## Report this to arthur@ch.tudelft.nl ##
7532 ## ----------------------------------- ##
7534 ) | sed "s/^/$as_me: WARNING: /" >&2
7537 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7538 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7539 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 eval "$as_ac_Header=\$ac_header_preproc"
7544 ac_res=`eval echo '${'$as_ac_Header'}'`
7545 { echo "$as_me:$LINENO: result: $ac_res" >&5
7546 echo "${ECHO_T}$ac_res" >&6; }
7549 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7550 cat >>confdefs.h <<_ACEOF
7551 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7559 for ac_header in ucred.h
7561 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7562 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7563 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7564 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7565 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7566 echo $ECHO_N "(cached) $ECHO_C" >&6
7568 ac_res=`eval echo '${'$as_ac_Header'}'`
7569 { echo "$as_me:$LINENO: result: $ac_res" >&5
7570 echo "${ECHO_T}$ac_res" >&6; }
7572 # Is the header compilable?
7573 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7574 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7575 cat >conftest.$ac_ext <<_ACEOF
7578 cat confdefs.h >>conftest.$ac_ext
7579 cat >>conftest.$ac_ext <<_ACEOF
7580 /* end confdefs.h. */
7581 $ac_includes_default
7582 #include <$ac_header>
7584 rm -f conftest.$ac_objext
7585 if { (ac_try="$ac_compile"
7587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7588 *) ac_try_echo=$ac_try;;
7590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7591 (eval "$ac_compile") 2>conftest.er1
7593 grep -v '^ *+' conftest.er1 >conftest.err
7595 cat conftest.err >&5
7596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7597 (exit $ac_status); } && {
7598 test -z "$ac_c_werror_flag" ||
7599 test ! -s conftest.err
7600 } && test -s conftest.$ac_objext; then
7601 ac_header_compiler=yes
7603 echo "$as_me: failed program was:" >&5
7604 sed 's/^/| /' conftest.$ac_ext >&5
7606 ac_header_compiler=no
7609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7610 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7611 echo "${ECHO_T}$ac_header_compiler" >&6; }
7613 # Is the header present?
7614 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7615 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7616 cat >conftest.$ac_ext <<_ACEOF
7619 cat confdefs.h >>conftest.$ac_ext
7620 cat >>conftest.$ac_ext <<_ACEOF
7621 /* end confdefs.h. */
7622 #include <$ac_header>
7624 if { (ac_try="$ac_cpp conftest.$ac_ext"
7626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7627 *) ac_try_echo=$ac_try;;
7629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7632 grep -v '^ *+' conftest.er1 >conftest.err
7634 cat conftest.err >&5
7635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7636 (exit $ac_status); } >/dev/null && {
7637 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
7638 test ! -s conftest.err
7640 ac_header_preproc=yes
7642 echo "$as_me: failed program was:" >&5
7643 sed 's/^/| /' conftest.$ac_ext >&5
7645 ac_header_preproc=no
7648 rm -f conftest.err conftest.$ac_ext
7649 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7650 echo "${ECHO_T}$ac_header_preproc" >&6; }
7652 # So? What about this header?
7653 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
7655 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7656 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7657 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7658 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7659 ac_header_preproc=yes
7662 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7663 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7664 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7665 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7666 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7667 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7668 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7669 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7670 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7671 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7672 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7673 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7675 ## ----------------------------------- ##
7676 ## Report this to arthur@ch.tudelft.nl ##
7677 ## ----------------------------------- ##
7679 ) | sed "s/^/$as_me: WARNING: /" >&2
7682 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7683 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7684 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7685 echo $ECHO_N "(cached) $ECHO_C" >&6
7687 eval "$as_ac_Header=\$ac_header_preproc"
7689 ac_res=`eval echo '${'$as_ac_Header'}'`
7690 { echo "$as_me:$LINENO: result: $ac_res" >&5
7691 echo "${ECHO_T}$ac_res" >&6; }
7694 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7695 cat >>confdefs.h <<_ACEOF
7696 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7704 # set up directory with compatibility replacement files
7707 # checks for availability of system libraries for nslcd
7710 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
7711 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
7712 if test "${ac_cv_search_gethostbyname+set}" = set; then
7713 echo $ECHO_N "(cached) $ECHO_C" >&6
7715 ac_func_search_save_LIBS=$LIBS
7716 cat >conftest.$ac_ext <<_ACEOF
7719 cat confdefs.h >>conftest.$ac_ext
7720 cat >>conftest.$ac_ext <<_ACEOF
7721 /* end confdefs.h. */
7723 /* Override any GCC internal prototype to avoid an error.
7724 Use char because int might match the return type of a GCC
7725 builtin and then its argument prototype would still apply. */
7729 char gethostbyname ();
7733 return gethostbyname ();
7738 for ac_lib in '' nsl socket; do
7739 if test -z "$ac_lib"; then
7740 ac_res="none required"
7743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7745 rm -f conftest.$ac_objext conftest$ac_exeext
7746 if { (ac_try="$ac_link"
7748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7749 *) ac_try_echo=$ac_try;;
7751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7752 (eval "$ac_link") 2>conftest.er1
7754 grep -v '^ *+' conftest.er1 >conftest.err
7756 cat conftest.err >&5
7757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7758 (exit $ac_status); } && {
7759 test -z "$ac_c_werror_flag" ||
7760 test ! -s conftest.err
7761 } && test -s conftest$ac_exeext &&
7762 $as_test_x conftest$ac_exeext; then
7763 ac_cv_search_gethostbyname=$ac_res
7765 echo "$as_me: failed program was:" >&5
7766 sed 's/^/| /' conftest.$ac_ext >&5
7771 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7773 if test "${ac_cv_search_gethostbyname+set}" = set; then
7777 if test "${ac_cv_search_gethostbyname+set}" = set; then
7780 ac_cv_search_gethostbyname=no
7783 LIBS=$ac_func_search_save_LIBS
7785 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
7786 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
7787 ac_res=$ac_cv_search_gethostbyname
7788 if test "$ac_res" != no; then
7789 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7793 { echo "$as_me:$LINENO: checking for library containing socket" >&5
7794 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
7795 if test "${ac_cv_search_socket+set}" = set; then
7796 echo $ECHO_N "(cached) $ECHO_C" >&6
7798 ac_func_search_save_LIBS=$LIBS
7799 cat >conftest.$ac_ext <<_ACEOF
7802 cat confdefs.h >>conftest.$ac_ext
7803 cat >>conftest.$ac_ext <<_ACEOF
7804 /* end confdefs.h. */
7806 /* Override any GCC internal prototype to avoid an error.
7807 Use char because int might match the return type of a GCC
7808 builtin and then its argument prototype would still apply. */
7821 for ac_lib in '' socket; do
7822 if test -z "$ac_lib"; then
7823 ac_res="none required"
7826 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7828 rm -f conftest.$ac_objext conftest$ac_exeext
7829 if { (ac_try="$ac_link"
7831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7832 *) ac_try_echo=$ac_try;;
7834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7835 (eval "$ac_link") 2>conftest.er1
7837 grep -v '^ *+' conftest.er1 >conftest.err
7839 cat conftest.err >&5
7840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7841 (exit $ac_status); } && {
7842 test -z "$ac_c_werror_flag" ||
7843 test ! -s conftest.err
7844 } && test -s conftest$ac_exeext &&
7845 $as_test_x conftest$ac_exeext; then
7846 ac_cv_search_socket=$ac_res
7848 echo "$as_me: failed program was:" >&5
7849 sed 's/^/| /' conftest.$ac_ext >&5
7854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7856 if test "${ac_cv_search_socket+set}" = set; then
7860 if test "${ac_cv_search_socket+set}" = set; then
7863 ac_cv_search_socket=no
7866 LIBS=$ac_func_search_save_LIBS
7868 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
7869 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
7870 ac_res=$ac_cv_search_socket
7871 if test "$ac_res" != no; then
7872 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7876 #AC_CHECK_LIB(resolv,main)
7880 # check for availability of system libraries for nss part
7882 LIBS="$nss_ldap_so_LIBS"
7883 { echo "$as_me:$LINENO: checking for library containing socket" >&5
7884 echo $ECHO_N "checking for library containing socket... $ECHO_C" >&6; }
7885 if test "${ac_cv_search_socket+set}" = set; then
7886 echo $ECHO_N "(cached) $ECHO_C" >&6
7888 ac_func_search_save_LIBS=$LIBS
7889 cat >conftest.$ac_ext <<_ACEOF
7892 cat confdefs.h >>conftest.$ac_ext
7893 cat >>conftest.$ac_ext <<_ACEOF
7894 /* end confdefs.h. */
7896 /* Override any GCC internal prototype to avoid an error.
7897 Use char because int might match the return type of a GCC
7898 builtin and then its argument prototype would still apply. */
7911 for ac_lib in '' socket; do
7912 if test -z "$ac_lib"; then
7913 ac_res="none required"
7916 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
7918 rm -f conftest.$ac_objext conftest$ac_exeext
7919 if { (ac_try="$ac_link"
7921 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7922 *) ac_try_echo=$ac_try;;
7924 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7925 (eval "$ac_link") 2>conftest.er1
7927 grep -v '^ *+' conftest.er1 >conftest.err
7929 cat conftest.err >&5
7930 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7931 (exit $ac_status); } && {
7932 test -z "$ac_c_werror_flag" ||
7933 test ! -s conftest.err
7934 } && test -s conftest$ac_exeext &&
7935 $as_test_x conftest$ac_exeext; then
7936 ac_cv_search_socket=$ac_res
7938 echo "$as_me: failed program was:" >&5
7939 sed 's/^/| /' conftest.$ac_ext >&5
7944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7946 if test "${ac_cv_search_socket+set}" = set; then
7950 if test "${ac_cv_search_socket+set}" = set; then
7953 ac_cv_search_socket=no
7956 LIBS=$ac_func_search_save_LIBS
7958 { echo "$as_me:$LINENO: result: $ac_cv_search_socket" >&5
7959 echo "${ECHO_T}$ac_cv_search_socket" >&6; }
7960 ac_res=$ac_cv_search_socket
7961 if test "$ac_res" != no; then
7962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
7966 nss_ldap_so_LIBS="$LIBS"
7969 # TODO: simplify the above since we need a correct LIBS for the following
7972 # checks for availability of functions
7974 for ac_func in sigaction
7976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7980 echo $ECHO_N "(cached) $ECHO_C" >&6
7982 cat >conftest.$ac_ext <<_ACEOF
7985 cat confdefs.h >>conftest.$ac_ext
7986 cat >>conftest.$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7990 #define $ac_func innocuous_$ac_func
7992 /* System header to define __stub macros and hopefully few prototypes,
7993 which can conflict with char $ac_func (); below.
7994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7995 <limits.h> exists even on freestanding compilers. */
7998 # include <limits.h>
8000 # include <assert.h>
8005 /* Override any GCC internal prototype to avoid an error.
8006 Use char because int might match the return type of a GCC
8007 builtin and then its argument prototype would still apply. */
8012 /* The GNU C library defines this for functions which it implements
8013 to always fail with ENOSYS. Some functions are actually named
8014 something starting with __ and the normal name is an alias. */
8015 #if defined __stub_$ac_func || defined __stub___$ac_func
8027 rm -f conftest.$ac_objext conftest$ac_exeext
8028 if { (ac_try="$ac_link"
8030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8031 *) ac_try_echo=$ac_try;;
8033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8034 (eval "$ac_link") 2>conftest.er1
8036 grep -v '^ *+' conftest.er1 >conftest.err
8038 cat conftest.err >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } && {
8041 test -z "$ac_c_werror_flag" ||
8042 test ! -s conftest.err
8043 } && test -s conftest$ac_exeext &&
8044 $as_test_x conftest$ac_exeext; then
8045 eval "$as_ac_var=yes"
8047 echo "$as_me: failed program was:" >&5
8048 sed 's/^/| /' conftest.$ac_ext >&5
8050 eval "$as_ac_var=no"
8053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8054 conftest$ac_exeext conftest.$ac_ext
8056 ac_res=`eval echo '${'$as_ac_var'}'`
8057 { echo "$as_me:$LINENO: result: $ac_res" >&5
8058 echo "${ECHO_T}$ac_res" >&6; }
8059 if test `eval echo '${'$as_ac_var'}'` = yes; then
8060 cat >>confdefs.h <<_ACEOF
8061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8068 for ac_func in snprintf
8070 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8071 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8072 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8073 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8074 echo $ECHO_N "(cached) $ECHO_C" >&6
8076 cat >conftest.$ac_ext <<_ACEOF
8079 cat confdefs.h >>conftest.$ac_ext
8080 cat >>conftest.$ac_ext <<_ACEOF
8081 /* end confdefs.h. */
8082 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8083 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8084 #define $ac_func innocuous_$ac_func
8086 /* System header to define __stub macros and hopefully few prototypes,
8087 which can conflict with char $ac_func (); below.
8088 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8089 <limits.h> exists even on freestanding compilers. */
8092 # include <limits.h>
8094 # include <assert.h>
8099 /* Override any GCC internal prototype to avoid an error.
8100 Use char because int might match the return type of a GCC
8101 builtin and then its argument prototype would still apply. */
8106 /* The GNU C library defines this for functions which it implements
8107 to always fail with ENOSYS. Some functions are actually named
8108 something starting with __ and the normal name is an alias. */
8109 #if defined __stub_$ac_func || defined __stub___$ac_func
8121 rm -f conftest.$ac_objext conftest$ac_exeext
8122 if { (ac_try="$ac_link"
8124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8125 *) ac_try_echo=$ac_try;;
8127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8128 (eval "$ac_link") 2>conftest.er1
8130 grep -v '^ *+' conftest.er1 >conftest.err
8132 cat conftest.err >&5
8133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8134 (exit $ac_status); } && {
8135 test -z "$ac_c_werror_flag" ||
8136 test ! -s conftest.err
8137 } && test -s conftest$ac_exeext &&
8138 $as_test_x conftest$ac_exeext; then
8139 eval "$as_ac_var=yes"
8141 echo "$as_me: failed program was:" >&5
8142 sed 's/^/| /' conftest.$ac_ext >&5
8144 eval "$as_ac_var=no"
8147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8148 conftest$ac_exeext conftest.$ac_ext
8150 ac_res=`eval echo '${'$as_ac_var'}'`
8151 { echo "$as_me:$LINENO: result: $ac_res" >&5
8152 echo "${ECHO_T}$ac_res" >&6; }
8153 if test `eval echo '${'$as_ac_var'}'` = yes; then
8154 cat >>confdefs.h <<_ACEOF
8155 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8162 for ac_func in gethostbyname
8164 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8165 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8166 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8167 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8168 echo $ECHO_N "(cached) $ECHO_C" >&6
8170 cat >conftest.$ac_ext <<_ACEOF
8173 cat confdefs.h >>conftest.$ac_ext
8174 cat >>conftest.$ac_ext <<_ACEOF
8175 /* end confdefs.h. */
8176 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8177 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8178 #define $ac_func innocuous_$ac_func
8180 /* System header to define __stub macros and hopefully few prototypes,
8181 which can conflict with char $ac_func (); below.
8182 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8183 <limits.h> exists even on freestanding compilers. */
8186 # include <limits.h>
8188 # include <assert.h>
8193 /* Override any GCC internal prototype to avoid an error.
8194 Use char because int might match the return type of a GCC
8195 builtin and then its argument prototype would still apply. */
8200 /* The GNU C library defines this for functions which it implements
8201 to always fail with ENOSYS. Some functions are actually named
8202 something starting with __ and the normal name is an alias. */
8203 #if defined __stub_$ac_func || defined __stub___$ac_func
8215 rm -f conftest.$ac_objext conftest$ac_exeext
8216 if { (ac_try="$ac_link"
8218 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8219 *) ac_try_echo=$ac_try;;
8221 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8222 (eval "$ac_link") 2>conftest.er1
8224 grep -v '^ *+' conftest.er1 >conftest.err
8226 cat conftest.err >&5
8227 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8228 (exit $ac_status); } && {
8229 test -z "$ac_c_werror_flag" ||
8230 test ! -s conftest.err
8231 } && test -s conftest$ac_exeext &&
8232 $as_test_x conftest$ac_exeext; then
8233 eval "$as_ac_var=yes"
8235 echo "$as_me: failed program was:" >&5
8236 sed 's/^/| /' conftest.$ac_ext >&5
8238 eval "$as_ac_var=no"
8241 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8242 conftest$ac_exeext conftest.$ac_ext
8244 ac_res=`eval echo '${'$as_ac_var'}'`
8245 { echo "$as_me:$LINENO: result: $ac_res" >&5
8246 echo "${ECHO_T}$ac_res" >&6; }
8247 if test `eval echo '${'$as_ac_var'}'` = yes; then
8248 cat >>confdefs.h <<_ACEOF
8249 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8256 for ac_func in setgroups
8258 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8259 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8260 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8261 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8262 echo $ECHO_N "(cached) $ECHO_C" >&6
8264 cat >conftest.$ac_ext <<_ACEOF
8267 cat confdefs.h >>conftest.$ac_ext
8268 cat >>conftest.$ac_ext <<_ACEOF
8269 /* end confdefs.h. */
8270 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8271 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8272 #define $ac_func innocuous_$ac_func
8274 /* System header to define __stub macros and hopefully few prototypes,
8275 which can conflict with char $ac_func (); below.
8276 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8277 <limits.h> exists even on freestanding compilers. */
8280 # include <limits.h>
8282 # include <assert.h>
8287 /* Override any GCC internal prototype to avoid an error.
8288 Use char because int might match the return type of a GCC
8289 builtin and then its argument prototype would still apply. */
8294 /* The GNU C library defines this for functions which it implements
8295 to always fail with ENOSYS. Some functions are actually named
8296 something starting with __ and the normal name is an alias. */
8297 #if defined __stub_$ac_func || defined __stub___$ac_func
8309 rm -f conftest.$ac_objext conftest$ac_exeext
8310 if { (ac_try="$ac_link"
8312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8313 *) ac_try_echo=$ac_try;;
8315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8316 (eval "$ac_link") 2>conftest.er1
8318 grep -v '^ *+' conftest.er1 >conftest.err
8320 cat conftest.err >&5
8321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8322 (exit $ac_status); } && {
8323 test -z "$ac_c_werror_flag" ||
8324 test ! -s conftest.err
8325 } && test -s conftest$ac_exeext &&
8326 $as_test_x conftest$ac_exeext; then
8327 eval "$as_ac_var=yes"
8329 echo "$as_me: failed program was:" >&5
8330 sed 's/^/| /' conftest.$ac_ext >&5
8332 eval "$as_ac_var=no"
8335 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8336 conftest$ac_exeext conftest.$ac_ext
8338 ac_res=`eval echo '${'$as_ac_var'}'`
8339 { echo "$as_me:$LINENO: result: $ac_res" >&5
8340 echo "${ECHO_T}$ac_res" >&6; }
8341 if test `eval echo '${'$as_ac_var'}'` = yes; then
8342 cat >>confdefs.h <<_ACEOF
8343 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8350 for ac_func in getpeereid
8352 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8353 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8354 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8355 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8356 echo $ECHO_N "(cached) $ECHO_C" >&6
8358 cat >conftest.$ac_ext <<_ACEOF
8361 cat confdefs.h >>conftest.$ac_ext
8362 cat >>conftest.$ac_ext <<_ACEOF
8363 /* end confdefs.h. */
8364 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8365 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8366 #define $ac_func innocuous_$ac_func
8368 /* System header to define __stub macros and hopefully few prototypes,
8369 which can conflict with char $ac_func (); below.
8370 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8371 <limits.h> exists even on freestanding compilers. */
8374 # include <limits.h>
8376 # include <assert.h>
8381 /* Override any GCC internal prototype to avoid an error.
8382 Use char because int might match the return type of a GCC
8383 builtin and then its argument prototype would still apply. */
8388 /* The GNU C library defines this for functions which it implements
8389 to always fail with ENOSYS. Some functions are actually named
8390 something starting with __ and the normal name is an alias. */
8391 #if defined __stub_$ac_func || defined __stub___$ac_func
8403 rm -f conftest.$ac_objext conftest$ac_exeext
8404 if { (ac_try="$ac_link"
8406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8407 *) ac_try_echo=$ac_try;;
8409 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8410 (eval "$ac_link") 2>conftest.er1
8412 grep -v '^ *+' conftest.er1 >conftest.err
8414 cat conftest.err >&5
8415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8416 (exit $ac_status); } && {
8417 test -z "$ac_c_werror_flag" ||
8418 test ! -s conftest.err
8419 } && test -s conftest$ac_exeext &&
8420 $as_test_x conftest$ac_exeext; then
8421 eval "$as_ac_var=yes"
8423 echo "$as_me: failed program was:" >&5
8424 sed 's/^/| /' conftest.$ac_ext >&5
8426 eval "$as_ac_var=no"
8429 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8430 conftest$ac_exeext conftest.$ac_ext
8432 ac_res=`eval echo '${'$as_ac_var'}'`
8433 { echo "$as_me:$LINENO: result: $ac_res" >&5
8434 echo "${ECHO_T}$ac_res" >&6; }
8435 if test `eval echo '${'$as_ac_var'}'` = yes; then
8436 cat >>confdefs.h <<_ACEOF
8437 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8444 for ac_func in getpeerucred
8446 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8447 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8448 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8449 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8450 echo $ECHO_N "(cached) $ECHO_C" >&6
8452 cat >conftest.$ac_ext <<_ACEOF
8455 cat confdefs.h >>conftest.$ac_ext
8456 cat >>conftest.$ac_ext <<_ACEOF
8457 /* end confdefs.h. */
8458 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8460 #define $ac_func innocuous_$ac_func
8462 /* System header to define __stub macros and hopefully few prototypes,
8463 which can conflict with char $ac_func (); below.
8464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8465 <limits.h> exists even on freestanding compilers. */
8468 # include <limits.h>
8470 # include <assert.h>
8475 /* Override any GCC internal prototype to avoid an error.
8476 Use char because int might match the return type of a GCC
8477 builtin and then its argument prototype would still apply. */
8482 /* The GNU C library defines this for functions which it implements
8483 to always fail with ENOSYS. Some functions are actually named
8484 something starting with __ and the normal name is an alias. */
8485 #if defined __stub_$ac_func || defined __stub___$ac_func
8497 rm -f conftest.$ac_objext conftest$ac_exeext
8498 if { (ac_try="$ac_link"
8500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8501 *) ac_try_echo=$ac_try;;
8503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8504 (eval "$ac_link") 2>conftest.er1
8506 grep -v '^ *+' conftest.er1 >conftest.err
8508 cat conftest.err >&5
8509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8510 (exit $ac_status); } && {
8511 test -z "$ac_c_werror_flag" ||
8512 test ! -s conftest.err
8513 } && test -s conftest$ac_exeext &&
8514 $as_test_x conftest$ac_exeext; then
8515 eval "$as_ac_var=yes"
8517 echo "$as_me: failed program was:" >&5
8518 sed 's/^/| /' conftest.$ac_ext >&5
8520 eval "$as_ac_var=no"
8523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8524 conftest$ac_exeext conftest.$ac_ext
8526 ac_res=`eval echo '${'$as_ac_var'}'`
8527 { echo "$as_me:$LINENO: result: $ac_res" >&5
8528 echo "${ECHO_T}$ac_res" >&6; }
8529 if test `eval echo '${'$as_ac_var'}'` = yes; then
8530 cat >>confdefs.h <<_ACEOF
8531 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8538 for ac_func in __nss_configure_lookup
8540 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8541 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8542 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8543 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8544 echo $ECHO_N "(cached) $ECHO_C" >&6
8546 cat >conftest.$ac_ext <<_ACEOF
8549 cat confdefs.h >>conftest.$ac_ext
8550 cat >>conftest.$ac_ext <<_ACEOF
8551 /* end confdefs.h. */
8552 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8553 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8554 #define $ac_func innocuous_$ac_func
8556 /* System header to define __stub macros and hopefully few prototypes,
8557 which can conflict with char $ac_func (); below.
8558 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8559 <limits.h> exists even on freestanding compilers. */
8562 # include <limits.h>
8564 # include <assert.h>
8569 /* Override any GCC internal prototype to avoid an error.
8570 Use char because int might match the return type of a GCC
8571 builtin and then its argument prototype would still apply. */
8576 /* The GNU C library defines this for functions which it implements
8577 to always fail with ENOSYS. Some functions are actually named
8578 something starting with __ and the normal name is an alias. */
8579 #if defined __stub_$ac_func || defined __stub___$ac_func
8591 rm -f conftest.$ac_objext conftest$ac_exeext
8592 if { (ac_try="$ac_link"
8594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8595 *) ac_try_echo=$ac_try;;
8597 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8598 (eval "$ac_link") 2>conftest.er1
8600 grep -v '^ *+' conftest.er1 >conftest.err
8602 cat conftest.err >&5
8603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8604 (exit $ac_status); } && {
8605 test -z "$ac_c_werror_flag" ||
8606 test ! -s conftest.err
8607 } && test -s conftest$ac_exeext &&
8608 $as_test_x conftest$ac_exeext; then
8609 eval "$as_ac_var=yes"
8611 echo "$as_me: failed program was:" >&5
8612 sed 's/^/| /' conftest.$ac_ext >&5
8614 eval "$as_ac_var=no"
8617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8618 conftest$ac_exeext conftest.$ac_ext
8620 ac_res=`eval echo '${'$as_ac_var'}'`
8621 { echo "$as_me:$LINENO: result: $ac_res" >&5
8622 echo "${ECHO_T}$ac_res" >&6; }
8623 if test `eval echo '${'$as_ac_var'}'` = yes; then
8624 cat >>confdefs.h <<_ACEOF
8625 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8633 # replace getopt_long() function if it is not on the system
8635 for ac_func in getopt_long
8637 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8638 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8639 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8640 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8641 echo $ECHO_N "(cached) $ECHO_C" >&6
8643 cat >conftest.$ac_ext <<_ACEOF
8646 cat confdefs.h >>conftest.$ac_ext
8647 cat >>conftest.$ac_ext <<_ACEOF
8648 /* end confdefs.h. */
8649 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8650 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8651 #define $ac_func innocuous_$ac_func
8653 /* System header to define __stub macros and hopefully few prototypes,
8654 which can conflict with char $ac_func (); below.
8655 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8656 <limits.h> exists even on freestanding compilers. */
8659 # include <limits.h>
8661 # include <assert.h>
8666 /* Override any GCC internal prototype to avoid an error.
8667 Use char because int might match the return type of a GCC
8668 builtin and then its argument prototype would still apply. */
8673 /* The GNU C library defines this for functions which it implements
8674 to always fail with ENOSYS. Some functions are actually named
8675 something starting with __ and the normal name is an alias. */
8676 #if defined __stub_$ac_func || defined __stub___$ac_func
8688 rm -f conftest.$ac_objext conftest$ac_exeext
8689 if { (ac_try="$ac_link"
8691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8692 *) ac_try_echo=$ac_try;;
8694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8695 (eval "$ac_link") 2>conftest.er1
8697 grep -v '^ *+' conftest.er1 >conftest.err
8699 cat conftest.err >&5
8700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8701 (exit $ac_status); } && {
8702 test -z "$ac_c_werror_flag" ||
8703 test ! -s conftest.err
8704 } && test -s conftest$ac_exeext &&
8705 $as_test_x conftest$ac_exeext; then
8706 eval "$as_ac_var=yes"
8708 echo "$as_me: failed program was:" >&5
8709 sed 's/^/| /' conftest.$ac_ext >&5
8711 eval "$as_ac_var=no"
8714 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8715 conftest$ac_exeext conftest.$ac_ext
8717 ac_res=`eval echo '${'$as_ac_var'}'`
8718 { echo "$as_me:$LINENO: result: $ac_res" >&5
8719 echo "${ECHO_T}$ac_res" >&6; }
8720 if test `eval echo '${'$as_ac_var'}'` = yes; then
8721 cat >>confdefs.h <<_ACEOF
8722 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8726 case " $LIBOBJS " in
8727 *" $ac_func.$ac_objext "* ) ;;
8728 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
8736 # replace daemon() function if it is not on the system
8737 { echo "$as_me:$LINENO: checking for library containing daemon" >&5
8738 echo $ECHO_N "checking for library containing daemon... $ECHO_C" >&6; }
8739 if test "${ac_cv_search_daemon+set}" = set; then
8740 echo $ECHO_N "(cached) $ECHO_C" >&6
8742 ac_func_search_save_LIBS=$LIBS
8743 cat >conftest.$ac_ext <<_ACEOF
8746 cat confdefs.h >>conftest.$ac_ext
8747 cat >>conftest.$ac_ext <<_ACEOF
8748 /* end confdefs.h. */
8750 /* Override any GCC internal prototype to avoid an error.
8751 Use char because int might match the return type of a GCC
8752 builtin and then its argument prototype would still apply. */
8765 for ac_lib in '' bsd; do
8766 if test -z "$ac_lib"; then
8767 ac_res="none required"
8770 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
8772 rm -f conftest.$ac_objext conftest$ac_exeext
8773 if { (ac_try="$ac_link"
8775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8776 *) ac_try_echo=$ac_try;;
8778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8779 (eval "$ac_link") 2>conftest.er1
8781 grep -v '^ *+' conftest.er1 >conftest.err
8783 cat conftest.err >&5
8784 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8785 (exit $ac_status); } && {
8786 test -z "$ac_c_werror_flag" ||
8787 test ! -s conftest.err
8788 } && test -s conftest$ac_exeext &&
8789 $as_test_x conftest$ac_exeext; then
8790 ac_cv_search_daemon=$ac_res
8792 echo "$as_me: failed program was:" >&5
8793 sed 's/^/| /' conftest.$ac_ext >&5
8798 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8800 if test "${ac_cv_search_daemon+set}" = set; then
8804 if test "${ac_cv_search_daemon+set}" = set; then
8807 ac_cv_search_daemon=no
8810 LIBS=$ac_func_search_save_LIBS
8812 { echo "$as_me:$LINENO: result: $ac_cv_search_daemon" >&5
8813 echo "${ECHO_T}$ac_cv_search_daemon" >&6; }
8814 ac_res=$ac_cv_search_daemon
8815 if test "$ac_res" != no; then
8816 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
8821 for ac_func in daemon
8823 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8824 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8825 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8826 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8827 echo $ECHO_N "(cached) $ECHO_C" >&6
8829 cat >conftest.$ac_ext <<_ACEOF
8832 cat confdefs.h >>conftest.$ac_ext
8833 cat >>conftest.$ac_ext <<_ACEOF
8834 /* end confdefs.h. */
8835 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8836 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8837 #define $ac_func innocuous_$ac_func
8839 /* System header to define __stub macros and hopefully few prototypes,
8840 which can conflict with char $ac_func (); below.
8841 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8842 <limits.h> exists even on freestanding compilers. */
8845 # include <limits.h>
8847 # include <assert.h>
8852 /* Override any GCC internal prototype to avoid an error.
8853 Use char because int might match the return type of a GCC
8854 builtin and then its argument prototype would still apply. */
8859 /* The GNU C library defines this for functions which it implements
8860 to always fail with ENOSYS. Some functions are actually named
8861 something starting with __ and the normal name is an alias. */
8862 #if defined __stub_$ac_func || defined __stub___$ac_func
8874 rm -f conftest.$ac_objext conftest$ac_exeext
8875 if { (ac_try="$ac_link"
8877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8878 *) ac_try_echo=$ac_try;;
8880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8881 (eval "$ac_link") 2>conftest.er1
8883 grep -v '^ *+' conftest.er1 >conftest.err
8885 cat conftest.err >&5
8886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8887 (exit $ac_status); } && {
8888 test -z "$ac_c_werror_flag" ||
8889 test ! -s conftest.err
8890 } && test -s conftest$ac_exeext &&
8891 $as_test_x conftest$ac_exeext; then
8892 eval "$as_ac_var=yes"
8894 echo "$as_me: failed program was:" >&5
8895 sed 's/^/| /' conftest.$ac_ext >&5
8897 eval "$as_ac_var=no"
8900 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
8901 conftest$ac_exeext conftest.$ac_ext
8903 ac_res=`eval echo '${'$as_ac_var'}'`
8904 { echo "$as_me:$LINENO: result: $ac_res" >&5
8905 echo "${ECHO_T}$ac_res" >&6; }
8906 if test `eval echo '${'$as_ac_var'}'` = yes; then
8907 cat >>confdefs.h <<_ACEOF
8908 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8912 case " $LIBOBJS " in
8913 *" $ac_func.$ac_objext "* ) ;;
8914 *) LIBOBJS="$LIBOBJS $ac_func.$ac_objext"
8922 # replace ether_ntoa_r() and ether_aton_r() if they are not found
8925 for ac_func in ether_aton_r ether_ntoa_r
8927 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8928 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8929 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8930 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8931 echo $ECHO_N "(cached) $ECHO_C" >&6
8933 cat >conftest.$ac_ext <<_ACEOF
8936 cat confdefs.h >>conftest.$ac_ext
8937 cat >>conftest.$ac_ext <<_ACEOF
8938 /* end confdefs.h. */
8939 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8940 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8941 #define $ac_func innocuous_$ac_func
8943 /* System header to define __stub macros and hopefully few prototypes,
8944 which can conflict with char $ac_func (); below.
8945 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8946 <limits.h> exists even on freestanding compilers. */
8949 # include <limits.h>
8951 # include <assert.h>
8956 /* Override any GCC internal prototype to avoid an error.
8957 Use char because int might match the return type of a GCC
8958 builtin and then its argument prototype would still apply. */
8963 /* The GNU C library defines this for functions which it implements
8964 to always fail with ENOSYS. Some functions are actually named
8965 something starting with __ and the normal name is an alias. */
8966 #if defined __stub_$ac_func || defined __stub___$ac_func
8978 rm -f conftest.$ac_objext conftest$ac_exeext
8979 if { (ac_try="$ac_link"
8981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8982 *) ac_try_echo=$ac_try;;
8984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8985 (eval "$ac_link") 2>conftest.er1
8987 grep -v '^ *+' conftest.er1 >conftest.err
8989 cat conftest.err >&5
8990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8991 (exit $ac_status); } && {
8992 test -z "$ac_c_werror_flag" ||
8993 test ! -s conftest.err
8994 } && test -s conftest$ac_exeext &&
8995 $as_test_x conftest$ac_exeext; then
8996 eval "$as_ac_var=yes"
8998 echo "$as_me: failed program was:" >&5
8999 sed 's/^/| /' conftest.$ac_ext >&5
9001 eval "$as_ac_var=no"
9004 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9005 conftest$ac_exeext conftest.$ac_ext
9007 ac_res=`eval echo '${'$as_ac_var'}'`
9008 { echo "$as_me:$LINENO: result: $ac_res" >&5
9009 echo "${ECHO_T}$ac_res" >&6; }
9010 if test `eval echo '${'$as_ac_var'}'` = yes; then
9011 cat >>confdefs.h <<_ACEOF
9012 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9018 for ac_func in ether_aton ether_ntoa
9020 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9021 { echo "$as_me:$LINENO: checking for $ac_func" >&5
9022 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
9023 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
9024 echo $ECHO_N "(cached) $ECHO_C" >&6
9026 cat >conftest.$ac_ext <<_ACEOF
9029 cat confdefs.h >>conftest.$ac_ext
9030 cat >>conftest.$ac_ext <<_ACEOF
9031 /* end confdefs.h. */
9032 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
9033 For example, HP-UX 11i <limits.h> declares gettimeofday. */
9034 #define $ac_func innocuous_$ac_func
9036 /* System header to define __stub macros and hopefully few prototypes,
9037 which can conflict with char $ac_func (); below.
9038 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
9039 <limits.h> exists even on freestanding compilers. */
9042 # include <limits.h>
9044 # include <assert.h>
9049 /* Override any GCC internal prototype to avoid an error.
9050 Use char because int might match the return type of a GCC
9051 builtin and then its argument prototype would still apply. */
9056 /* The GNU C library defines this for functions which it implements
9057 to always fail with ENOSYS. Some functions are actually named
9058 something starting with __ and the normal name is an alias. */
9059 #if defined __stub_$ac_func || defined __stub___$ac_func
9071 rm -f conftest.$ac_objext conftest$ac_exeext
9072 if { (ac_try="$ac_link"
9074 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9075 *) ac_try_echo=$ac_try;;
9077 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9078 (eval "$ac_link") 2>conftest.er1
9080 grep -v '^ *+' conftest.er1 >conftest.err
9082 cat conftest.err >&5
9083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9084 (exit $ac_status); } && {
9085 test -z "$ac_c_werror_flag" ||
9086 test ! -s conftest.err
9087 } && test -s conftest$ac_exeext &&
9088 $as_test_x conftest$ac_exeext; then
9089 eval "$as_ac_var=yes"
9091 echo "$as_me: failed program was:" >&5
9092 sed 's/^/| /' conftest.$ac_ext >&5
9094 eval "$as_ac_var=no"
9097 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9098 conftest$ac_exeext conftest.$ac_ext
9100 ac_res=`eval echo '${'$as_ac_var'}'`
9101 { echo "$as_me:$LINENO: result: $ac_res" >&5
9102 echo "${ECHO_T}$ac_res" >&6; }
9103 if test `eval echo '${'$as_ac_var'}'` = yes; then
9104 cat >>confdefs.h <<_ACEOF
9105 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
9111 case " $LIBOBJS " in
9112 *" ether.$ac_objext "* ) ;;
9113 *) LIBOBJS="$LIBOBJS ether.$ac_objext"
9122 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
9123 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
9124 if test "${ac_cv_c_const+set}" = set; then
9125 echo $ECHO_N "(cached) $ECHO_C" >&6
9127 cat >conftest.$ac_ext <<_ACEOF
9130 cat confdefs.h >>conftest.$ac_ext
9131 cat >>conftest.$ac_ext <<_ACEOF
9132 /* end confdefs.h. */
9137 /* FIXME: Include the comments suggested by Paul. */
9139 /* Ultrix mips cc rejects this. */
9140 typedef int charset[2];
9142 /* SunOS 4.1.1 cc rejects this. */
9143 char const *const *pcpcc;
9145 /* NEC SVR4.0.2 mips cc rejects this. */
9146 struct point {int x, y;};
9147 static struct point const zero = {0,0};
9148 /* AIX XL C 1.02.0.0 rejects this.
9149 It does not let you subtract one const X* pointer from another in
9150 an arm of an if-expression whose if-part is not a constant
9152 const char *g = "string";
9153 pcpcc = &g + (g ? g-g : 0);
9154 /* HPUX 7.0 cc rejects these. */
9156 ppc = (char**) pcpcc;
9157 pcpcc = (char const *const *) ppc;
9158 { /* SCO 3.2v4 cc rejects this. */
9160 char const *s = 0 ? (char *) 0 : (char const *) 0;
9165 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
9167 const int *foo = &x[0];
9170 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
9171 typedef const int *iptr;
9175 { /* AIX XL C 1.02.0.0 rejects this saying
9176 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
9177 struct s { int j; const int *ap[3]; };
9178 struct s *b; b->j = 5;
9180 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
9184 return !cs[0] && !zero.x;
9191 rm -f conftest.$ac_objext
9192 if { (ac_try="$ac_compile"
9194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9195 *) ac_try_echo=$ac_try;;
9197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9198 (eval "$ac_compile") 2>conftest.er1
9200 grep -v '^ *+' conftest.er1 >conftest.err
9202 cat conftest.err >&5
9203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9204 (exit $ac_status); } && {
9205 test -z "$ac_c_werror_flag" ||
9206 test ! -s conftest.err
9207 } && test -s conftest.$ac_objext; then
9210 echo "$as_me: failed program was:" >&5
9211 sed 's/^/| /' conftest.$ac_ext >&5
9216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9218 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
9219 echo "${ECHO_T}$ac_cv_c_const" >&6; }
9220 if test $ac_cv_c_const = no; then
9222 cat >>confdefs.h <<\_ACEOF
9228 { echo "$as_me:$LINENO: checking return type of signal handlers" >&5
9229 echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
9230 if test "${ac_cv_type_signal+set}" = set; then
9231 echo $ECHO_N "(cached) $ECHO_C" >&6
9233 cat >conftest.$ac_ext <<_ACEOF
9236 cat confdefs.h >>conftest.$ac_ext
9237 cat >>conftest.$ac_ext <<_ACEOF
9238 /* end confdefs.h. */
9239 #include <sys/types.h>
9245 return *(signal (0, 0)) (0) == 1;
9250 rm -f conftest.$ac_objext
9251 if { (ac_try="$ac_compile"
9253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9254 *) ac_try_echo=$ac_try;;
9256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9257 (eval "$ac_compile") 2>conftest.er1
9259 grep -v '^ *+' conftest.er1 >conftest.err
9261 cat conftest.err >&5
9262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9263 (exit $ac_status); } && {
9264 test -z "$ac_c_werror_flag" ||
9265 test ! -s conftest.err
9266 } && test -s conftest.$ac_objext; then
9267 ac_cv_type_signal=int
9269 echo "$as_me: failed program was:" >&5
9270 sed 's/^/| /' conftest.$ac_ext >&5
9272 ac_cv_type_signal=void
9275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9277 { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
9278 echo "${ECHO_T}$ac_cv_type_signal" >&6; }
9280 cat >>confdefs.h <<_ACEOF
9281 #define RETSIGTYPE $ac_cv_type_signal
9285 { echo "$as_me:$LINENO: checking for mode_t" >&5
9286 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
9287 if test "${ac_cv_type_mode_t+set}" = set; then
9288 echo $ECHO_N "(cached) $ECHO_C" >&6
9290 cat >conftest.$ac_ext <<_ACEOF
9293 cat confdefs.h >>conftest.$ac_ext
9294 cat >>conftest.$ac_ext <<_ACEOF
9295 /* end confdefs.h. */
9296 $ac_includes_default
9297 typedef mode_t ac__type_new_;
9301 if ((ac__type_new_ *) 0)
9303 if (sizeof (ac__type_new_))
9309 rm -f conftest.$ac_objext
9310 if { (ac_try="$ac_compile"
9312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9313 *) ac_try_echo=$ac_try;;
9315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9316 (eval "$ac_compile") 2>conftest.er1
9318 grep -v '^ *+' conftest.er1 >conftest.err
9320 cat conftest.err >&5
9321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9322 (exit $ac_status); } && {
9323 test -z "$ac_c_werror_flag" ||
9324 test ! -s conftest.err
9325 } && test -s conftest.$ac_objext; then
9326 ac_cv_type_mode_t=yes
9328 echo "$as_me: failed program was:" >&5
9329 sed 's/^/| /' conftest.$ac_ext >&5
9331 ac_cv_type_mode_t=no
9334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9336 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
9337 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
9338 if test $ac_cv_type_mode_t = yes; then
9342 cat >>confdefs.h <<_ACEOF
9348 { echo "$as_me:$LINENO: checking for size_t" >&5
9349 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
9350 if test "${ac_cv_type_size_t+set}" = set; then
9351 echo $ECHO_N "(cached) $ECHO_C" >&6
9353 cat >conftest.$ac_ext <<_ACEOF
9356 cat confdefs.h >>conftest.$ac_ext
9357 cat >>conftest.$ac_ext <<_ACEOF
9358 /* end confdefs.h. */
9359 $ac_includes_default
9360 typedef size_t ac__type_new_;
9364 if ((ac__type_new_ *) 0)
9366 if (sizeof (ac__type_new_))
9372 rm -f conftest.$ac_objext
9373 if { (ac_try="$ac_compile"
9375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9376 *) ac_try_echo=$ac_try;;
9378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9379 (eval "$ac_compile") 2>conftest.er1
9381 grep -v '^ *+' conftest.er1 >conftest.err
9383 cat conftest.err >&5
9384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9385 (exit $ac_status); } && {
9386 test -z "$ac_c_werror_flag" ||
9387 test ! -s conftest.err
9388 } && test -s conftest.$ac_objext; then
9389 ac_cv_type_size_t=yes
9391 echo "$as_me: failed program was:" >&5
9392 sed 's/^/| /' conftest.$ac_ext >&5
9394 ac_cv_type_size_t=no
9397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9399 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
9400 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
9401 if test $ac_cv_type_size_t = yes; then
9405 cat >>confdefs.h <<_ACEOF
9406 #define size_t unsigned int
9411 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
9412 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
9413 if test "${ac_cv_type_uid_t+set}" = set; then
9414 echo $ECHO_N "(cached) $ECHO_C" >&6
9416 cat >conftest.$ac_ext <<_ACEOF
9419 cat confdefs.h >>conftest.$ac_ext
9420 cat >>conftest.$ac_ext <<_ACEOF
9421 /* end confdefs.h. */
9422 #include <sys/types.h>
9425 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
9426 $EGREP "uid_t" >/dev/null 2>&1; then
9427 ac_cv_type_uid_t=yes
9434 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
9435 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
9436 if test $ac_cv_type_uid_t = no; then
9438 cat >>confdefs.h <<\_ACEOF
9443 cat >>confdefs.h <<\_ACEOF
9450 # check for support for the __thread keyword
9451 { echo "$as_me:$LINENO: checking whether $CC supports '__thread'" >&5
9452 echo $ECHO_N "checking whether $CC supports '__thread'... $ECHO_C" >&6; }
9453 if test "${mn_cv_c___thread_supported+set}" = set; then
9454 echo $ECHO_N "(cached) $ECHO_C" >&6
9456 cat >conftest.$ac_ext <<_ACEOF
9459 cat confdefs.h >>conftest.$ac_ext
9460 cat >>conftest.$ac_ext <<_ACEOF
9461 /* end confdefs.h. */
9471 rm -f conftest.$ac_objext
9472 if { (ac_try="$ac_compile"
9474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9475 *) ac_try_echo=$ac_try;;
9477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9478 (eval "$ac_compile") 2>conftest.er1
9480 grep -v '^ *+' conftest.er1 >conftest.err
9482 cat conftest.err >&5
9483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9484 (exit $ac_status); } && {
9485 test -z "$ac_c_werror_flag" ||
9486 test ! -s conftest.err
9487 } && test -s conftest.$ac_objext; then
9488 mn_cv_c___thread_supported=yes
9490 echo "$as_me: failed program was:" >&5
9491 sed 's/^/| /' conftest.$ac_ext >&5
9493 mn_cv_c___thread_supported=no
9496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9498 { echo "$as_me:$LINENO: result: $mn_cv_c___thread_supported" >&5
9499 echo "${ECHO_T}$mn_cv_c___thread_supported" >&6; }
9500 if test $mn_cv_c___thread_supported != yes
9502 { echo "$as_me:$LINENO: WARNING: $CC does not support '__thread' keyword" >&5
9503 echo "$as_me: WARNING: $CC does not support '__thread' keyword" >&2;}
9505 cat >>confdefs.h <<\_ACEOF
9511 # check for support for the struct ether_addr structure
9512 { echo "$as_me:$LINENO: checking for struct ether_addr" >&5
9513 echo $ECHO_N "checking for struct ether_addr... $ECHO_C" >&6; }
9514 if test "${ac_cv_type_struct_ether_addr+set}" = set; then
9515 echo $ECHO_N "(cached) $ECHO_C" >&6
9517 cat >conftest.$ac_ext <<_ACEOF
9520 cat confdefs.h >>conftest.$ac_ext
9521 cat >>conftest.$ac_ext <<_ACEOF
9522 /* end confdefs.h. */
9524 #include <sys/socket.h>
9526 #include <netinet/in.h>
9527 #include <netinet/if_ether.h>
9529 typedef struct ether_addr ac__type_new_;
9533 if ((ac__type_new_ *) 0)
9535 if (sizeof (ac__type_new_))
9541 rm -f conftest.$ac_objext
9542 if { (ac_try="$ac_compile"
9544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9545 *) ac_try_echo=$ac_try;;
9547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9548 (eval "$ac_compile") 2>conftest.er1
9550 grep -v '^ *+' conftest.er1 >conftest.err
9552 cat conftest.err >&5
9553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9554 (exit $ac_status); } && {
9555 test -z "$ac_c_werror_flag" ||
9556 test ! -s conftest.err
9557 } && test -s conftest.$ac_objext; then
9558 ac_cv_type_struct_ether_addr=yes
9560 echo "$as_me: failed program was:" >&5
9561 sed 's/^/| /' conftest.$ac_ext >&5
9563 ac_cv_type_struct_ether_addr=no
9566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9568 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_ether_addr" >&5
9569 echo "${ECHO_T}$ac_cv_type_struct_ether_addr" >&6; }
9570 if test $ac_cv_type_struct_ether_addr = yes; then
9572 cat >>confdefs.h <<\_ACEOF
9573 #define HAVE_STRUCT_ETHER_ADDR 1
9579 # check to see if socklen_t is defined
9580 { echo "$as_me:$LINENO: checking for socklen_t" >&5
9581 echo $ECHO_N "checking for socklen_t... $ECHO_C" >&6; }
9582 if test "${ac_cv_type_socklen_t+set}" = set; then
9583 echo $ECHO_N "(cached) $ECHO_C" >&6
9585 cat >conftest.$ac_ext <<_ACEOF
9588 cat confdefs.h >>conftest.$ac_ext
9589 cat >>conftest.$ac_ext <<_ACEOF
9590 /* end confdefs.h. */
9592 #include <sys/types.h>
9593 #include <sys/socket.h>
9595 typedef socklen_t ac__type_new_;
9599 if ((ac__type_new_ *) 0)
9601 if (sizeof (ac__type_new_))
9607 rm -f conftest.$ac_objext
9608 if { (ac_try="$ac_compile"
9610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9611 *) ac_try_echo=$ac_try;;
9613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9614 (eval "$ac_compile") 2>conftest.er1
9616 grep -v '^ *+' conftest.er1 >conftest.err
9618 cat conftest.err >&5
9619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9620 (exit $ac_status); } && {
9621 test -z "$ac_c_werror_flag" ||
9622 test ! -s conftest.err
9623 } && test -s conftest.$ac_objext; then
9624 ac_cv_type_socklen_t=yes
9626 echo "$as_me: failed program was:" >&5
9627 sed 's/^/| /' conftest.$ac_ext >&5
9629 ac_cv_type_socklen_t=no
9632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9634 { echo "$as_me:$LINENO: result: $ac_cv_type_socklen_t" >&5
9635 echo "${ECHO_T}$ac_cv_type_socklen_t" >&6; }
9636 if test $ac_cv_type_socklen_t = yes; then
9640 cat >>confdefs.h <<\_ACEOF
9641 #define socklen_t size_t
9647 # check to see if struct sockaddr_storage is defined
9648 { echo "$as_me:$LINENO: checking for struct sockaddr_storage" >&5
9649 echo $ECHO_N "checking for struct sockaddr_storage... $ECHO_C" >&6; }
9650 if test "${ac_cv_type_struct_sockaddr_storage+set}" = set; then
9651 echo $ECHO_N "(cached) $ECHO_C" >&6
9653 cat >conftest.$ac_ext <<_ACEOF
9656 cat confdefs.h >>conftest.$ac_ext
9657 cat >>conftest.$ac_ext <<_ACEOF
9658 /* end confdefs.h. */
9660 #include <sys/types.h>
9661 #include <sys/socket.h>
9663 typedef struct sockaddr_storage ac__type_new_;
9667 if ((ac__type_new_ *) 0)
9669 if (sizeof (ac__type_new_))
9675 rm -f conftest.$ac_objext
9676 if { (ac_try="$ac_compile"
9678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9679 *) ac_try_echo=$ac_try;;
9681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9682 (eval "$ac_compile") 2>conftest.er1
9684 grep -v '^ *+' conftest.er1 >conftest.err
9686 cat conftest.err >&5
9687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9688 (exit $ac_status); } && {
9689 test -z "$ac_c_werror_flag" ||
9690 test ! -s conftest.err
9691 } && test -s conftest.$ac_objext; then
9692 ac_cv_type_struct_sockaddr_storage=yes
9694 echo "$as_me: failed program was:" >&5
9695 sed 's/^/| /' conftest.$ac_ext >&5
9697 ac_cv_type_struct_sockaddr_storage=no
9700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9702 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_sockaddr_storage" >&5
9703 echo "${ECHO_T}$ac_cv_type_struct_sockaddr_storage" >&6; }
9704 if test $ac_cv_type_struct_sockaddr_storage = yes; then
9708 cat >>confdefs.h <<\_ACEOF
9709 #define sockaddr_storage sockaddr_in
9715 # check for support for the struct ucred structure
9716 { echo "$as_me:$LINENO: checking for struct ucred" >&5
9717 echo $ECHO_N "checking for struct ucred... $ECHO_C" >&6; }
9718 if test "${ac_cv_type_struct_ucred+set}" = set; then
9719 echo $ECHO_N "(cached) $ECHO_C" >&6
9721 cat >conftest.$ac_ext <<_ACEOF
9724 cat confdefs.h >>conftest.$ac_ext
9725 cat >>conftest.$ac_ext <<_ACEOF
9726 /* end confdefs.h. */
9728 #include <sys/socket.h>
9730 #include <sys/types.h>
9732 typedef struct ucred ac__type_new_;
9736 if ((ac__type_new_ *) 0)
9738 if (sizeof (ac__type_new_))
9744 rm -f conftest.$ac_objext
9745 if { (ac_try="$ac_compile"
9747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9748 *) ac_try_echo=$ac_try;;
9750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9751 (eval "$ac_compile") 2>conftest.er1
9753 grep -v '^ *+' conftest.er1 >conftest.err
9755 cat conftest.err >&5
9756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9757 (exit $ac_status); } && {
9758 test -z "$ac_c_werror_flag" ||
9759 test ! -s conftest.err
9760 } && test -s conftest.$ac_objext; then
9761 ac_cv_type_struct_ucred=yes
9763 echo "$as_me: failed program was:" >&5
9764 sed 's/^/| /' conftest.$ac_ext >&5
9766 ac_cv_type_struct_ucred=no
9769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9771 { echo "$as_me:$LINENO: result: $ac_cv_type_struct_ucred" >&5
9772 echo "${ECHO_T}$ac_cv_type_struct_ucred" >&6; }
9773 if test $ac_cv_type_struct_ucred = yes; then
9775 cat >>confdefs.h <<\_ACEOF
9776 #define HAVE_STRUCT_UCRED 1
9782 { echo "$as_me:$LINENO: checking for sasl_interact_t" >&5
9783 echo $ECHO_N "checking for sasl_interact_t... $ECHO_C" >&6; }
9784 if test "${ac_cv_type_sasl_interact_t+set}" = set; then
9785 echo $ECHO_N "(cached) $ECHO_C" >&6
9787 cat >conftest.$ac_ext <<_ACEOF
9790 cat confdefs.h >>conftest.$ac_ext
9791 cat >>conftest.$ac_ext <<_ACEOF
9792 /* end confdefs.h. */
9793 $ac_includes_default
9794 typedef sasl_interact_t ac__type_new_;
9798 if ((ac__type_new_ *) 0)
9800 if (sizeof (ac__type_new_))
9806 rm -f conftest.$ac_objext
9807 if { (ac_try="$ac_compile"
9809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9810 *) ac_try_echo=$ac_try;;
9812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9813 (eval "$ac_compile") 2>conftest.er1
9815 grep -v '^ *+' conftest.er1 >conftest.err
9817 cat conftest.err >&5
9818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9819 (exit $ac_status); } && {
9820 test -z "$ac_c_werror_flag" ||
9821 test ! -s conftest.err
9822 } && test -s conftest.$ac_objext; then
9823 ac_cv_type_sasl_interact_t=yes
9825 echo "$as_me: failed program was:" >&5
9826 sed 's/^/| /' conftest.$ac_ext >&5
9828 ac_cv_type_sasl_interact_t=no
9831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9833 { echo "$as_me:$LINENO: result: $ac_cv_type_sasl_interact_t" >&5
9834 echo "${ECHO_T}$ac_cv_type_sasl_interact_t" >&6; }
9835 if test $ac_cv_type_sasl_interact_t = yes; then
9837 cat >>confdefs.h <<\_ACEOF
9838 #define HAVE_SASL_INTERACT_T 1
9844 # checks for LDAP library
9847 save_CFLAGS="$CFLAGS"
9849 # check threading stuff
9854 ac_cpp='$CPP $CPPFLAGS'
9855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9861 # We used to check for pthread.h first, but this fails if pthread.h
9862 # requires special compiler flags (e.g. on True64 or Sequent).
9863 # It gets checked for in the link test anyway.
9865 # First of all, check if the user has set any of the PTHREAD_LIBS,
9866 # etcetera environment variables, and if threads linking works using
9868 if test x"$PTHREAD_LIBS$PTHREAD_CFLAGS" != x; then
9869 save_CFLAGS="$CFLAGS"
9870 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
9872 LIBS="$PTHREAD_LIBS $LIBS"
9873 { echo "$as_me:$LINENO: checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS" >&5
9874 echo $ECHO_N "checking for pthread_join in LIBS=$PTHREAD_LIBS with CFLAGS=$PTHREAD_CFLAGS... $ECHO_C" >&6; }
9875 cat >conftest.$ac_ext <<_ACEOF
9878 cat confdefs.h >>conftest.$ac_ext
9879 cat >>conftest.$ac_ext <<_ACEOF
9880 /* end confdefs.h. */
9882 /* Override any GCC internal prototype to avoid an error.
9883 Use char because int might match the return type of a GCC
9884 builtin and then its argument prototype would still apply. */
9888 char pthread_join ();
9892 return pthread_join ();
9897 rm -f conftest.$ac_objext conftest$ac_exeext
9898 if { (ac_try="$ac_link"
9900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9901 *) ac_try_echo=$ac_try;;
9903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9904 (eval "$ac_link") 2>conftest.er1
9906 grep -v '^ *+' conftest.er1 >conftest.err
9908 cat conftest.err >&5
9909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9910 (exit $ac_status); } && {
9911 test -z "$ac_c_werror_flag" ||
9912 test ! -s conftest.err
9913 } && test -s conftest$ac_exeext &&
9914 $as_test_x conftest$ac_exeext; then
9917 echo "$as_me: failed program was:" >&5
9918 sed 's/^/| /' conftest.$ac_ext >&5
9923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
9924 conftest$ac_exeext conftest.$ac_ext
9925 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
9926 echo "${ECHO_T}$acx_pthread_ok" >&6; }
9927 if test x"$acx_pthread_ok" = xno; then
9932 CFLAGS="$save_CFLAGS"
9935 # We must check for the threads library under a number of different
9936 # names; the ordering is very important because some systems
9937 # (e.g. DEC) have both -lpthread and -lpthreads, where one of the
9938 # libraries is broken (non-POSIX).
9940 # Create a list of thread flags to try. Items starting with a "-" are
9941 # C compiler flags, and other items are library names, except for "none"
9942 # which indicates that we try without any flags at all, and "pthread-config"
9943 # which is a program returning the flags for the Pth emulation library.
9945 acx_pthread_flags="pthreads none -Kthread -kthread lthread -pthread -pthreads -mthreads pthread --thread-safe -mt pthread-config"
9947 # The ordering *is* (sometimes) important. Some notes on the
9948 # individual items follow:
9950 # pthreads: AIX (must check this before -lpthread)
9951 # none: in case threads are in libc; should be tried before -Kthread and
9952 # other compiler flags to prevent continual compiler warnings
9953 # -Kthread: Sequent (threads in libc, but -Kthread needed for pthread.h)
9954 # -kthread: FreeBSD kernel threads (preferred to -pthread since SMP-able)
9955 # lthread: LinuxThreads port on FreeBSD (also preferred to -pthread)
9956 # -pthread: Linux/gcc (kernel threads), BSD/gcc (userland threads)
9957 # -pthreads: Solaris/gcc
9958 # -mthreads: Mingw32/gcc, Lynx/gcc
9959 # -mt: Sun Workshop C (may only link SunOS threads [-lthread], but it
9960 # doesn't hurt to check since this sometimes defines pthreads too;
9961 # also defines -D_REENTRANT)
9962 # ... -mt is also the pthreads flag for HP/aCC
9963 # pthread: Linux, etcetera
9964 # --thread-safe: KAI C++
9965 # pthread-config: use pthread-config program (for GNU Pth library)
9967 case "${host_cpu}-${host_os}" in
9970 # On Solaris (at least, for some versions), libc contains stubbed
9971 # (non-functional) versions of the pthreads routines, so link-based
9972 # tests will erroneously succeed. (We need to link with -pthreads/-mt/
9973 # -lpthread.) (The stubs are missing pthread_cleanup_push, or rather
9974 # a function called by this macro, so we could check for that, but
9975 # who knows whether they'll stub that too in a future libc.) So,
9976 # we'll just look for -pthreads and -lpthread first:
9978 acx_pthread_flags="-pthreads pthread -mt -pthread $acx_pthread_flags"
9982 if test x"$acx_pthread_ok" = xno; then
9983 for flag in $acx_pthread_flags; do
9987 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
9988 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
9992 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
9993 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
9994 PTHREAD_CFLAGS="$flag"
9998 # Extract the first word of "pthread-config", so it can be a program name with args.
9999 set dummy pthread-config; ac_word=$2
10000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10002 if test "${ac_cv_prog_acx_pthread_config+set}" = set; then
10003 echo $ECHO_N "(cached) $ECHO_C" >&6
10005 if test -n "$acx_pthread_config"; then
10006 ac_cv_prog_acx_pthread_config="$acx_pthread_config" # Let the user override the test.
10008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10009 for as_dir in $PATH
10012 test -z "$as_dir" && as_dir=.
10013 for ac_exec_ext in '' $ac_executable_extensions; do
10014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10015 ac_cv_prog_acx_pthread_config="yes"
10016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10023 test -z "$ac_cv_prog_acx_pthread_config" && ac_cv_prog_acx_pthread_config="no"
10026 acx_pthread_config=$ac_cv_prog_acx_pthread_config
10027 if test -n "$acx_pthread_config"; then
10028 { echo "$as_me:$LINENO: result: $acx_pthread_config" >&5
10029 echo "${ECHO_T}$acx_pthread_config" >&6; }
10031 { echo "$as_me:$LINENO: result: no" >&5
10032 echo "${ECHO_T}no" >&6; }
10036 if test x"$acx_pthread_config" = xno; then continue; fi
10037 PTHREAD_CFLAGS="`pthread-config --cflags`"
10038 PTHREAD_LIBS="`pthread-config --ldflags` `pthread-config --libs`"
10042 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
10043 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
10044 PTHREAD_LIBS="-l$flag"
10049 save_CFLAGS="$CFLAGS"
10050 LIBS="$PTHREAD_LIBS $LIBS"
10051 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
10053 # Check for various functions. We must include pthread.h,
10054 # since some functions may be macros. (On the Sequent, we
10055 # need a special flag -Kthread to make this header compile.)
10056 # We check for pthread_join because it is in -lpthread on IRIX
10057 # while pthread_create is in libc. We check for pthread_attr_init
10058 # due to DEC craziness with -lpthreads. We check for
10059 # pthread_cleanup_push because it is one of the few pthread
10060 # functions on Solaris that doesn't have a non-functional libc stub.
10061 # We try pthread_create on general principles.
10062 cat >conftest.$ac_ext <<_ACEOF
10065 cat confdefs.h >>conftest.$ac_ext
10066 cat >>conftest.$ac_ext <<_ACEOF
10067 /* end confdefs.h. */
10068 #include <pthread.h>
10072 pthread_t th; pthread_join(th, 0);
10073 pthread_attr_init(0); pthread_cleanup_push(0, 0);
10074 pthread_create(0,0,0,0); pthread_cleanup_pop(0);
10079 rm -f conftest.$ac_objext conftest$ac_exeext
10080 if { (ac_try="$ac_link"
10081 case "(($ac_try" in
10082 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10083 *) ac_try_echo=$ac_try;;
10085 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10086 (eval "$ac_link") 2>conftest.er1
10088 grep -v '^ *+' conftest.er1 >conftest.err
10090 cat conftest.err >&5
10091 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10092 (exit $ac_status); } && {
10093 test -z "$ac_c_werror_flag" ||
10094 test ! -s conftest.err
10095 } && test -s conftest$ac_exeext &&
10096 $as_test_x conftest$ac_exeext; then
10099 echo "$as_me: failed program was:" >&5
10100 sed 's/^/| /' conftest.$ac_ext >&5
10105 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10106 conftest$ac_exeext conftest.$ac_ext
10109 CFLAGS="$save_CFLAGS"
10111 { echo "$as_me:$LINENO: result: $acx_pthread_ok" >&5
10112 echo "${ECHO_T}$acx_pthread_ok" >&6; }
10113 if test "x$acx_pthread_ok" = xyes; then
10122 # Various other checks:
10123 if test "x$acx_pthread_ok" = xyes; then
10125 LIBS="$PTHREAD_LIBS $LIBS"
10126 save_CFLAGS="$CFLAGS"
10127 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
10129 # Detect AIX lossage: JOINABLE attribute is called UNDETACHED.
10130 { echo "$as_me:$LINENO: checking for joinable pthread attribute" >&5
10131 echo $ECHO_N "checking for joinable pthread attribute... $ECHO_C" >&6; }
10133 for attr in PTHREAD_CREATE_JOINABLE PTHREAD_CREATE_UNDETACHED; do
10134 cat >conftest.$ac_ext <<_ACEOF
10137 cat confdefs.h >>conftest.$ac_ext
10138 cat >>conftest.$ac_ext <<_ACEOF
10139 /* end confdefs.h. */
10140 #include <pthread.h>
10144 int attr=$attr; return attr;
10149 rm -f conftest.$ac_objext conftest$ac_exeext
10150 if { (ac_try="$ac_link"
10151 case "(($ac_try" in
10152 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10153 *) ac_try_echo=$ac_try;;
10155 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10156 (eval "$ac_link") 2>conftest.er1
10158 grep -v '^ *+' conftest.er1 >conftest.err
10160 cat conftest.err >&5
10161 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10162 (exit $ac_status); } && {
10163 test -z "$ac_c_werror_flag" ||
10164 test ! -s conftest.err
10165 } && test -s conftest$ac_exeext &&
10166 $as_test_x conftest$ac_exeext; then
10167 attr_name=$attr; break
10169 echo "$as_me: failed program was:" >&5
10170 sed 's/^/| /' conftest.$ac_ext >&5
10175 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10176 conftest$ac_exeext conftest.$ac_ext
10178 { echo "$as_me:$LINENO: result: $attr_name" >&5
10179 echo "${ECHO_T}$attr_name" >&6; }
10180 if test "$attr_name" != PTHREAD_CREATE_JOINABLE; then
10182 cat >>confdefs.h <<_ACEOF
10183 #define PTHREAD_CREATE_JOINABLE $attr_name
10188 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
10189 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
10191 case "${host_cpu}-${host_os}" in
10192 *-aix* | *-freebsd* | *-darwin*) flag="-D_THREAD_SAFE";;
10193 *solaris* | *-osf* | *-hpux*) flag="-D_REENTRANT";;
10195 { echo "$as_me:$LINENO: result: ${flag}" >&5
10196 echo "${ECHO_T}${flag}" >&6; }
10197 if test "x$flag" != xno; then
10198 PTHREAD_CFLAGS="$flag $PTHREAD_CFLAGS"
10202 CFLAGS="$save_CFLAGS"
10204 # More AIX lossage: must compile with xlc_r or cc_r
10205 if test x"$GCC" != xyes; then
10206 for ac_prog in xlc_r cc_r
10208 # Extract the first word of "$ac_prog", so it can be a program name with args.
10209 set dummy $ac_prog; ac_word=$2
10210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
10211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
10212 if test "${ac_cv_prog_PTHREAD_CC+set}" = set; then
10213 echo $ECHO_N "(cached) $ECHO_C" >&6
10215 if test -n "$PTHREAD_CC"; then
10216 ac_cv_prog_PTHREAD_CC="$PTHREAD_CC" # Let the user override the test.
10218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10219 for as_dir in $PATH
10222 test -z "$as_dir" && as_dir=.
10223 for ac_exec_ext in '' $ac_executable_extensions; do
10224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
10225 ac_cv_prog_PTHREAD_CC="$ac_prog"
10226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
10235 PTHREAD_CC=$ac_cv_prog_PTHREAD_CC
10236 if test -n "$PTHREAD_CC"; then
10237 { echo "$as_me:$LINENO: result: $PTHREAD_CC" >&5
10238 echo "${ECHO_T}$PTHREAD_CC" >&6; }
10240 { echo "$as_me:$LINENO: result: no" >&5
10241 echo "${ECHO_T}no" >&6; }
10245 test -n "$PTHREAD_CC" && break
10247 test -n "$PTHREAD_CC" || PTHREAD_CC="${CC}"
10260 # Finally, execute ACTION-IF-FOUND/ACTION-IF-NOT-FOUND:
10261 if test x"$acx_pthread_ok" = xyes; then
10263 cat >>confdefs.h <<\_ACEOF
10264 #define HAVE_PTHREAD 1
10270 { { echo "$as_me:$LINENO: error: no support for pthreads" >&5
10271 echo "$as_me: error: no support for pthreads" >&2;}
10272 { (exit 1); exit 1; }; }
10275 ac_cpp='$CPP $CPPFLAGS'
10276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10282 for ac_func in pthread_atfork
10284 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10285 { echo "$as_me:$LINENO: checking for $ac_func" >&5
10286 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
10287 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
10288 echo $ECHO_N "(cached) $ECHO_C" >&6
10290 cat >conftest.$ac_ext <<_ACEOF
10293 cat confdefs.h >>conftest.$ac_ext
10294 cat >>conftest.$ac_ext <<_ACEOF
10295 /* end confdefs.h. */
10296 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
10297 For example, HP-UX 11i <limits.h> declares gettimeofday. */
10298 #define $ac_func innocuous_$ac_func
10300 /* System header to define __stub macros and hopefully few prototypes,
10301 which can conflict with char $ac_func (); below.
10302 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
10303 <limits.h> exists even on freestanding compilers. */
10306 # include <limits.h>
10308 # include <assert.h>
10313 /* Override any GCC internal prototype to avoid an error.
10314 Use char because int might match the return type of a GCC
10315 builtin and then its argument prototype would still apply. */
10320 /* The GNU C library defines this for functions which it implements
10321 to always fail with ENOSYS. Some functions are actually named
10322 something starting with __ and the normal name is an alias. */
10323 #if defined __stub_$ac_func || defined __stub___$ac_func
10330 return $ac_func ();
10335 rm -f conftest.$ac_objext conftest$ac_exeext
10336 if { (ac_try="$ac_link"
10337 case "(($ac_try" in
10338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10339 *) ac_try_echo=$ac_try;;
10341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10342 (eval "$ac_link") 2>conftest.er1
10344 grep -v '^ *+' conftest.er1 >conftest.err
10346 cat conftest.err >&5
10347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10348 (exit $ac_status); } && {
10349 test -z "$ac_c_werror_flag" ||
10350 test ! -s conftest.err
10351 } && test -s conftest$ac_exeext &&
10352 $as_test_x conftest$ac_exeext; then
10353 eval "$as_ac_var=yes"
10355 echo "$as_me: failed program was:" >&5
10356 sed 's/^/| /' conftest.$ac_ext >&5
10358 eval "$as_ac_var=no"
10361 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10362 conftest$ac_exeext conftest.$ac_ext
10364 ac_res=`eval echo '${'$as_ac_var'}'`
10365 { echo "$as_me:$LINENO: result: $ac_res" >&5
10366 echo "${ECHO_T}$ac_res" >&6; }
10367 if test `eval echo '${'$as_ac_var'}'` = yes; then
10368 cat >>confdefs.h <<_ACEOF
10369 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
10376 LIBS="$PTHREAD_LIBS $LIBS"
10377 CFLAGS="$CFLAGS $PTHREAD_CFLAGS"
10379 { echo "$as_me:$LINENO: checking for gss_krb5_ccache_name in -lgssapi" >&5
10380 echo $ECHO_N "checking for gss_krb5_ccache_name in -lgssapi... $ECHO_C" >&6; }
10381 if test "${ac_cv_lib_gssapi_gss_krb5_ccache_name+set}" = set; then
10382 echo $ECHO_N "(cached) $ECHO_C" >&6
10384 ac_check_lib_save_LIBS=$LIBS
10385 LIBS="-lgssapi $LIBS $LIBS"
10386 cat >conftest.$ac_ext <<_ACEOF
10389 cat confdefs.h >>conftest.$ac_ext
10390 cat >>conftest.$ac_ext <<_ACEOF
10391 /* end confdefs.h. */
10393 /* Override any GCC internal prototype to avoid an error.
10394 Use char because int might match the return type of a GCC
10395 builtin and then its argument prototype would still apply. */
10399 char gss_krb5_ccache_name ();
10403 return gss_krb5_ccache_name ();
10408 rm -f conftest.$ac_objext conftest$ac_exeext
10409 if { (ac_try="$ac_link"
10410 case "(($ac_try" in
10411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10412 *) ac_try_echo=$ac_try;;
10414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10415 (eval "$ac_link") 2>conftest.er1
10417 grep -v '^ *+' conftest.er1 >conftest.err
10419 cat conftest.err >&5
10420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10421 (exit $ac_status); } && {
10422 test -z "$ac_c_werror_flag" ||
10423 test ! -s conftest.err
10424 } && test -s conftest$ac_exeext &&
10425 $as_test_x conftest$ac_exeext; then
10426 ac_cv_lib_gssapi_gss_krb5_ccache_name=yes
10428 echo "$as_me: failed program was:" >&5
10429 sed 's/^/| /' conftest.$ac_ext >&5
10431 ac_cv_lib_gssapi_gss_krb5_ccache_name=no
10434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10435 conftest$ac_exeext conftest.$ac_ext
10436 LIBS=$ac_check_lib_save_LIBS
10438 { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_gss_krb5_ccache_name" >&5
10439 echo "${ECHO_T}$ac_cv_lib_gssapi_gss_krb5_ccache_name" >&6; }
10440 if test $ac_cv_lib_gssapi_gss_krb5_ccache_name = yes; then
10441 LIBS="-lgssapi $LIBS" found_gssapi_lib=yes
10444 if test -z "$found_gssapi_lib"
10446 { echo "$as_me:$LINENO: checking for gss_krb5_ccache_name in -lgssapi_krb5" >&5
10447 echo $ECHO_N "checking for gss_krb5_ccache_name in -lgssapi_krb5... $ECHO_C" >&6; }
10448 if test "${ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name+set}" = set; then
10449 echo $ECHO_N "(cached) $ECHO_C" >&6
10451 ac_check_lib_save_LIBS=$LIBS
10452 LIBS="-lgssapi_krb5 $LIBS $LIBS"
10453 cat >conftest.$ac_ext <<_ACEOF
10456 cat confdefs.h >>conftest.$ac_ext
10457 cat >>conftest.$ac_ext <<_ACEOF
10458 /* end confdefs.h. */
10460 /* Override any GCC internal prototype to avoid an error.
10461 Use char because int might match the return type of a GCC
10462 builtin and then its argument prototype would still apply. */
10466 char gss_krb5_ccache_name ();
10470 return gss_krb5_ccache_name ();
10475 rm -f conftest.$ac_objext conftest$ac_exeext
10476 if { (ac_try="$ac_link"
10477 case "(($ac_try" in
10478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10479 *) ac_try_echo=$ac_try;;
10481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10482 (eval "$ac_link") 2>conftest.er1
10484 grep -v '^ *+' conftest.er1 >conftest.err
10486 cat conftest.err >&5
10487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10488 (exit $ac_status); } && {
10489 test -z "$ac_c_werror_flag" ||
10490 test ! -s conftest.err
10491 } && test -s conftest$ac_exeext &&
10492 $as_test_x conftest$ac_exeext; then
10493 ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name=yes
10495 echo "$as_me: failed program was:" >&5
10496 sed 's/^/| /' conftest.$ac_ext >&5
10498 ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name=no
10501 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10502 conftest$ac_exeext conftest.$ac_ext
10503 LIBS=$ac_check_lib_save_LIBS
10505 { echo "$as_me:$LINENO: result: $ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name" >&5
10506 echo "${ECHO_T}$ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name" >&6; }
10507 if test $ac_cv_lib_gssapi_krb5_gss_krb5_ccache_name = yes; then
10508 LIBS="-lgssapi_krb5 $LIBS"
10513 if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = umich -o $with_ldap_lib = openldap \)
10515 { echo "$as_me:$LINENO: checking for library containing ldap_search_ext" >&5
10516 echo $ECHO_N "checking for library containing ldap_search_ext... $ECHO_C" >&6; }
10517 if test "${ac_cv_search_ldap_search_ext+set}" = set; then
10518 echo $ECHO_N "(cached) $ECHO_C" >&6
10520 ac_func_search_save_LIBS=$LIBS
10521 cat >conftest.$ac_ext <<_ACEOF
10524 cat confdefs.h >>conftest.$ac_ext
10525 cat >>conftest.$ac_ext <<_ACEOF
10526 /* end confdefs.h. */
10528 /* Override any GCC internal prototype to avoid an error.
10529 Use char because int might match the return type of a GCC
10530 builtin and then its argument prototype would still apply. */
10534 char ldap_search_ext ();
10538 return ldap_search_ext ();
10543 for ac_lib in '' ldap_r ldap; do
10544 if test -z "$ac_lib"; then
10545 ac_res="none required"
10548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
10550 rm -f conftest.$ac_objext conftest$ac_exeext
10551 if { (ac_try="$ac_link"
10552 case "(($ac_try" in
10553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10554 *) ac_try_echo=$ac_try;;
10556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10557 (eval "$ac_link") 2>conftest.er1
10559 grep -v '^ *+' conftest.er1 >conftest.err
10561 cat conftest.err >&5
10562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10563 (exit $ac_status); } && {
10564 test -z "$ac_c_werror_flag" ||
10565 test ! -s conftest.err
10566 } && test -s conftest$ac_exeext &&
10567 $as_test_x conftest$ac_exeext; then
10568 ac_cv_search_ldap_search_ext=$ac_res
10570 echo "$as_me: failed program was:" >&5
10571 sed 's/^/| /' conftest.$ac_ext >&5
10576 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10578 if test "${ac_cv_search_ldap_search_ext+set}" = set; then
10582 if test "${ac_cv_search_ldap_search_ext+set}" = set; then
10585 ac_cv_search_ldap_search_ext=no
10587 rm conftest.$ac_ext
10588 LIBS=$ac_func_search_save_LIBS
10590 { echo "$as_me:$LINENO: result: $ac_cv_search_ldap_search_ext" >&5
10591 echo "${ECHO_T}$ac_cv_search_ldap_search_ext" >&6; }
10592 ac_res=$ac_cv_search_ldap_search_ext
10593 if test "$ac_res" != no; then
10594 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
10599 if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape5 \)
10601 { echo "$as_me:$LINENO: checking for main in -lldap50" >&5
10602 echo $ECHO_N "checking for main in -lldap50... $ECHO_C" >&6; }
10603 if test "${ac_cv_lib_ldap50_main+set}" = set; then
10604 echo $ECHO_N "(cached) $ECHO_C" >&6
10606 ac_check_lib_save_LIBS=$LIBS
10607 LIBS="-lldap50 -lpthread $LIBS"
10608 cat >conftest.$ac_ext <<_ACEOF
10611 cat confdefs.h >>conftest.$ac_ext
10612 cat >>conftest.$ac_ext <<_ACEOF
10613 /* end confdefs.h. */
10624 rm -f conftest.$ac_objext conftest$ac_exeext
10625 if { (ac_try="$ac_link"
10626 case "(($ac_try" in
10627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10628 *) ac_try_echo=$ac_try;;
10630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10631 (eval "$ac_link") 2>conftest.er1
10633 grep -v '^ *+' conftest.er1 >conftest.err
10635 cat conftest.err >&5
10636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10637 (exit $ac_status); } && {
10638 test -z "$ac_c_werror_flag" ||
10639 test ! -s conftest.err
10640 } && test -s conftest$ac_exeext &&
10641 $as_test_x conftest$ac_exeext; then
10642 ac_cv_lib_ldap50_main=yes
10644 echo "$as_me: failed program was:" >&5
10645 sed 's/^/| /' conftest.$ac_ext >&5
10647 ac_cv_lib_ldap50_main=no
10650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10651 conftest$ac_exeext conftest.$ac_ext
10652 LIBS=$ac_check_lib_save_LIBS
10654 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap50_main" >&5
10655 echo "${ECHO_T}$ac_cv_lib_ldap50_main" >&6; }
10656 if test $ac_cv_lib_ldap50_main = yes; then
10657 LIBS="-lldap50 -lssldap50 -lssl3 -lnss3 -lnspr4 -lprldap50 -lplc4 -lplds4 $LIBS" found_ldap_lib=yes need_pthread=yes
10661 if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape4 \)
10663 { echo "$as_me:$LINENO: checking for main in -lldapssl41" >&5
10664 echo $ECHO_N "checking for main in -lldapssl41... $ECHO_C" >&6; }
10665 if test "${ac_cv_lib_ldapssl41_main+set}" = set; then
10666 echo $ECHO_N "(cached) $ECHO_C" >&6
10668 ac_check_lib_save_LIBS=$LIBS
10669 LIBS="-lldapssl41 -lpthread $LIBS"
10670 cat >conftest.$ac_ext <<_ACEOF
10673 cat confdefs.h >>conftest.$ac_ext
10674 cat >>conftest.$ac_ext <<_ACEOF
10675 /* end confdefs.h. */
10686 rm -f conftest.$ac_objext conftest$ac_exeext
10687 if { (ac_try="$ac_link"
10688 case "(($ac_try" in
10689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10690 *) ac_try_echo=$ac_try;;
10692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10693 (eval "$ac_link") 2>conftest.er1
10695 grep -v '^ *+' conftest.er1 >conftest.err
10697 cat conftest.err >&5
10698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10699 (exit $ac_status); } && {
10700 test -z "$ac_c_werror_flag" ||
10701 test ! -s conftest.err
10702 } && test -s conftest$ac_exeext &&
10703 $as_test_x conftest$ac_exeext; then
10704 ac_cv_lib_ldapssl41_main=yes
10706 echo "$as_me: failed program was:" >&5
10707 sed 's/^/| /' conftest.$ac_ext >&5
10709 ac_cv_lib_ldapssl41_main=no
10712 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10713 conftest$ac_exeext conftest.$ac_ext
10714 LIBS=$ac_check_lib_save_LIBS
10716 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldapssl41_main" >&5
10717 echo "${ECHO_T}$ac_cv_lib_ldapssl41_main" >&6; }
10718 if test $ac_cv_lib_ldapssl41_main = yes; then
10719 LIBS="-lldapssl41 -lplc3 -lplds3 -lnspr3 $LIBS" found_ldap_lib=yes need_pthread=yes
10722 if test -z "$found_ldap_lib"
10724 { echo "$as_me:$LINENO: checking for main in -lldapssl40" >&5
10725 echo $ECHO_N "checking for main in -lldapssl40... $ECHO_C" >&6; }
10726 if test "${ac_cv_lib_ldapssl40_main+set}" = set; then
10727 echo $ECHO_N "(cached) $ECHO_C" >&6
10729 ac_check_lib_save_LIBS=$LIBS
10730 LIBS="-lldapssl40 -lpthread $LIBS"
10731 cat >conftest.$ac_ext <<_ACEOF
10734 cat confdefs.h >>conftest.$ac_ext
10735 cat >>conftest.$ac_ext <<_ACEOF
10736 /* end confdefs.h. */
10747 rm -f conftest.$ac_objext conftest$ac_exeext
10748 if { (ac_try="$ac_link"
10749 case "(($ac_try" in
10750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10751 *) ac_try_echo=$ac_try;;
10753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10754 (eval "$ac_link") 2>conftest.er1
10756 grep -v '^ *+' conftest.er1 >conftest.err
10758 cat conftest.err >&5
10759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10760 (exit $ac_status); } && {
10761 test -z "$ac_c_werror_flag" ||
10762 test ! -s conftest.err
10763 } && test -s conftest$ac_exeext &&
10764 $as_test_x conftest$ac_exeext; then
10765 ac_cv_lib_ldapssl40_main=yes
10767 echo "$as_me: failed program was:" >&5
10768 sed 's/^/| /' conftest.$ac_ext >&5
10770 ac_cv_lib_ldapssl40_main=no
10773 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10774 conftest$ac_exeext conftest.$ac_ext
10775 LIBS=$ac_check_lib_save_LIBS
10777 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldapssl40_main" >&5
10778 echo "${ECHO_T}$ac_cv_lib_ldapssl40_main" >&6; }
10779 if test $ac_cv_lib_ldapssl40_main = yes; then
10780 LIBS="-lldapssl40 $LIBS" found_ldap_lib=yes need_pthread=yes
10784 if test -z "$found_ldap_lib"
10786 { echo "$as_me:$LINENO: checking for main in -lldap41" >&5
10787 echo $ECHO_N "checking for main in -lldap41... $ECHO_C" >&6; }
10788 if test "${ac_cv_lib_ldap41_main+set}" = set; then
10789 echo $ECHO_N "(cached) $ECHO_C" >&6
10791 ac_check_lib_save_LIBS=$LIBS
10792 LIBS="-lldap41 $LIBS"
10793 cat >conftest.$ac_ext <<_ACEOF
10796 cat confdefs.h >>conftest.$ac_ext
10797 cat >>conftest.$ac_ext <<_ACEOF
10798 /* end confdefs.h. */
10809 rm -f conftest.$ac_objext conftest$ac_exeext
10810 if { (ac_try="$ac_link"
10811 case "(($ac_try" in
10812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10813 *) ac_try_echo=$ac_try;;
10815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10816 (eval "$ac_link") 2>conftest.er1
10818 grep -v '^ *+' conftest.er1 >conftest.err
10820 cat conftest.err >&5
10821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10822 (exit $ac_status); } && {
10823 test -z "$ac_c_werror_flag" ||
10824 test ! -s conftest.err
10825 } && test -s conftest$ac_exeext &&
10826 $as_test_x conftest$ac_exeext; then
10827 ac_cv_lib_ldap41_main=yes
10829 echo "$as_me: failed program was:" >&5
10830 sed 's/^/| /' conftest.$ac_ext >&5
10832 ac_cv_lib_ldap41_main=no
10835 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10836 conftest$ac_exeext conftest.$ac_ext
10837 LIBS=$ac_check_lib_save_LIBS
10839 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap41_main" >&5
10840 echo "${ECHO_T}$ac_cv_lib_ldap41_main" >&6; }
10841 if test $ac_cv_lib_ldap41_main = yes; then
10842 LIBS="-lldap41 $LIBS" found_ldap_lib=yes need_pthread=no
10846 if test -z "$found_ldap_lib"
10848 { echo "$as_me:$LINENO: checking for main in -lldap40" >&5
10849 echo $ECHO_N "checking for main in -lldap40... $ECHO_C" >&6; }
10850 if test "${ac_cv_lib_ldap40_main+set}" = set; then
10851 echo $ECHO_N "(cached) $ECHO_C" >&6
10853 ac_check_lib_save_LIBS=$LIBS
10854 LIBS="-lldap40 $LIBS"
10855 cat >conftest.$ac_ext <<_ACEOF
10858 cat confdefs.h >>conftest.$ac_ext
10859 cat >>conftest.$ac_ext <<_ACEOF
10860 /* end confdefs.h. */
10871 rm -f conftest.$ac_objext conftest$ac_exeext
10872 if { (ac_try="$ac_link"
10873 case "(($ac_try" in
10874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10875 *) ac_try_echo=$ac_try;;
10877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10878 (eval "$ac_link") 2>conftest.er1
10880 grep -v '^ *+' conftest.er1 >conftest.err
10882 cat conftest.err >&5
10883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10884 (exit $ac_status); } && {
10885 test -z "$ac_c_werror_flag" ||
10886 test ! -s conftest.err
10887 } && test -s conftest$ac_exeext &&
10888 $as_test_x conftest$ac_exeext; then
10889 ac_cv_lib_ldap40_main=yes
10891 echo "$as_me: failed program was:" >&5
10892 sed 's/^/| /' conftest.$ac_ext >&5
10894 ac_cv_lib_ldap40_main=no
10897 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10898 conftest$ac_exeext conftest.$ac_ext
10899 LIBS=$ac_check_lib_save_LIBS
10901 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldap40_main" >&5
10902 echo "${ECHO_T}$ac_cv_lib_ldap40_main" >&6; }
10903 if test $ac_cv_lib_ldap40_main = yes; then
10904 LIBS="-lldap40 $LIBS" found_ldap_lib=yes need_pthread=no
10909 if test -z "$found_ldap_lib" -a \( $with_ldap_lib = auto -o $with_ldap_lib = netscape3 \)
10911 { echo "$as_me:$LINENO: checking for main in -lldapssl30" >&5
10912 echo $ECHO_N "checking for main in -lldapssl30... $ECHO_C" >&6; }
10913 if test "${ac_cv_lib_ldapssl30_main+set}" = set; then
10914 echo $ECHO_N "(cached) $ECHO_C" >&6
10916 ac_check_lib_save_LIBS=$LIBS
10917 LIBS="-lldapssl30 -lpthread $LIBS"
10918 cat >conftest.$ac_ext <<_ACEOF
10921 cat confdefs.h >>conftest.$ac_ext
10922 cat >>conftest.$ac_ext <<_ACEOF
10923 /* end confdefs.h. */
10934 rm -f conftest.$ac_objext conftest$ac_exeext
10935 if { (ac_try="$ac_link"
10936 case "(($ac_try" in
10937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10938 *) ac_try_echo=$ac_try;;
10940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10941 (eval "$ac_link") 2>conftest.er1
10943 grep -v '^ *+' conftest.er1 >conftest.err
10945 cat conftest.err >&5
10946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10947 (exit $ac_status); } && {
10948 test -z "$ac_c_werror_flag" ||
10949 test ! -s conftest.err
10950 } && test -s conftest$ac_exeext &&
10951 $as_test_x conftest$ac_exeext; then
10952 ac_cv_lib_ldapssl30_main=yes
10954 echo "$as_me: failed program was:" >&5
10955 sed 's/^/| /' conftest.$ac_ext >&5
10957 ac_cv_lib_ldapssl30_main=no
10960 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10961 conftest$ac_exeext conftest.$ac_ext
10962 LIBS=$ac_check_lib_save_LIBS
10964 { echo "$as_me:$LINENO: result: $ac_cv_lib_ldapssl30_main" >&5
10965 echo "${ECHO_T}$ac_cv_lib_ldapssl30_main" >&6; }
10966 if test $ac_cv_lib_ldapssl30_main = yes; then
10967 LIBS="-lldapssl30 $LIBS" found_ldap_lib=yes need_pthread=yes
10971 if test -z "$found_ldap_lib"
10973 { { echo "$as_me:$LINENO: error: could not locate a valid LDAP library" >&5
10974 echo "$as_me: error: could not locate a valid LDAP library" >&2;}
10975 { (exit 1); exit 1; }; }
10977 if test "$need_pthread" = "yes"
10980 { echo "$as_me:$LINENO: checking for main in -lpthread" >&5
10981 echo $ECHO_N "checking for main in -lpthread... $ECHO_C" >&6; }
10982 if test "${ac_cv_lib_pthread_main+set}" = set; then
10983 echo $ECHO_N "(cached) $ECHO_C" >&6
10985 ac_check_lib_save_LIBS=$LIBS
10986 LIBS="-lpthread $LIBS"
10987 cat >conftest.$ac_ext <<_ACEOF
10990 cat confdefs.h >>conftest.$ac_ext
10991 cat >>conftest.$ac_ext <<_ACEOF
10992 /* end confdefs.h. */
11003 rm -f conftest.$ac_objext conftest$ac_exeext
11004 if { (ac_try="$ac_link"
11005 case "(($ac_try" in
11006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11007 *) ac_try_echo=$ac_try;;
11009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11010 (eval "$ac_link") 2>conftest.er1
11012 grep -v '^ *+' conftest.er1 >conftest.err
11014 cat conftest.err >&5
11015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11016 (exit $ac_status); } && {
11017 test -z "$ac_c_werror_flag" ||
11018 test ! -s conftest.err
11019 } && test -s conftest$ac_exeext &&
11020 $as_test_x conftest$ac_exeext; then
11021 ac_cv_lib_pthread_main=yes
11023 echo "$as_me: failed program was:" >&5
11024 sed 's/^/| /' conftest.$ac_ext >&5
11026 ac_cv_lib_pthread_main=no
11029 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11030 conftest$ac_exeext conftest.$ac_ext
11031 LIBS=$ac_check_lib_save_LIBS
11033 { echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_main" >&5
11034 echo "${ECHO_T}$ac_cv_lib_pthread_main" >&6; }
11035 if test $ac_cv_lib_pthread_main = yes; then
11036 cat >>confdefs.h <<_ACEOF
11037 #define HAVE_LIBPTHREAD 1
11040 LIBS="-lpthread $LIBS"
11045 { echo "$as_me:$LINENO: checking for ldap_gss_bind in -lgssldap" >&5
11046 echo $ECHO_N "checking for ldap_gss_bind in -lgssldap... $ECHO_C" >&6; }
11047 if test "${ac_cv_lib_gssldap_ldap_gss_bind+set}" = set; then
11048 echo $ECHO_N "(cached) $ECHO_C" >&6
11050 ac_check_lib_save_LIBS=$LIBS
11051 LIBS="-lgssldap $LIBS $LIBS"
11052 cat >conftest.$ac_ext <<_ACEOF
11055 cat confdefs.h >>conftest.$ac_ext
11056 cat >>conftest.$ac_ext <<_ACEOF
11057 /* end confdefs.h. */
11059 /* Override any GCC internal prototype to avoid an error.
11060 Use char because int might match the return type of a GCC
11061 builtin and then its argument prototype would still apply. */
11065 char ldap_gss_bind ();
11069 return ldap_gss_bind ();
11074 rm -f conftest.$ac_objext conftest$ac_exeext
11075 if { (ac_try="$ac_link"
11076 case "(($ac_try" in
11077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11078 *) ac_try_echo=$ac_try;;
11080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11081 (eval "$ac_link") 2>conftest.er1
11083 grep -v '^ *+' conftest.er1 >conftest.err
11085 cat conftest.err >&5
11086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11087 (exit $ac_status); } && {
11088 test -z "$ac_c_werror_flag" ||
11089 test ! -s conftest.err
11090 } && test -s conftest$ac_exeext &&
11091 $as_test_x conftest$ac_exeext; then
11092 ac_cv_lib_gssldap_ldap_gss_bind=yes
11094 echo "$as_me: failed program was:" >&5
11095 sed 's/^/| /' conftest.$ac_ext >&5
11097 ac_cv_lib_gssldap_ldap_gss_bind=no
11100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11101 conftest$ac_exeext conftest.$ac_ext
11102 LIBS=$ac_check_lib_save_LIBS
11104 { echo "$as_me:$LINENO: result: $ac_cv_lib_gssldap_ldap_gss_bind" >&5
11105 echo "${ECHO_T}$ac_cv_lib_gssldap_ldap_gss_bind" >&6; }
11106 if test $ac_cv_lib_gssldap_ldap_gss_bind = yes; then
11107 LIBS="-lgssldap $LIBS"
11111 { echo "$as_me:$LINENO: checking for sasl_client_init in -lsasl2" >&5
11112 echo $ECHO_N "checking for sasl_client_init in -lsasl2... $ECHO_C" >&6; }
11113 if test "${ac_cv_lib_sasl2_sasl_client_init+set}" = set; then
11114 echo $ECHO_N "(cached) $ECHO_C" >&6
11116 ac_check_lib_save_LIBS=$LIBS
11117 LIBS="-lsasl2 $LIBS"
11118 cat >conftest.$ac_ext <<_ACEOF
11121 cat confdefs.h >>conftest.$ac_ext
11122 cat >>conftest.$ac_ext <<_ACEOF
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11131 char sasl_client_init ();
11135 return sasl_client_init ();
11140 rm -f conftest.$ac_objext conftest$ac_exeext
11141 if { (ac_try="$ac_link"
11142 case "(($ac_try" in
11143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11144 *) ac_try_echo=$ac_try;;
11146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11147 (eval "$ac_link") 2>conftest.er1
11149 grep -v '^ *+' conftest.er1 >conftest.err
11151 cat conftest.err >&5
11152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11153 (exit $ac_status); } && {
11154 test -z "$ac_c_werror_flag" ||
11155 test ! -s conftest.err
11156 } && test -s conftest$ac_exeext &&
11157 $as_test_x conftest$ac_exeext; then
11158 ac_cv_lib_sasl2_sasl_client_init=yes
11160 echo "$as_me: failed program was:" >&5
11161 sed 's/^/| /' conftest.$ac_ext >&5
11163 ac_cv_lib_sasl2_sasl_client_init=no
11166 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11167 conftest$ac_exeext conftest.$ac_ext
11168 LIBS=$ac_check_lib_save_LIBS
11170 { echo "$as_me:$LINENO: result: $ac_cv_lib_sasl2_sasl_client_init" >&5
11171 echo "${ECHO_T}$ac_cv_lib_sasl2_sasl_client_init" >&6; }
11172 if test $ac_cv_lib_sasl2_sasl_client_init = yes; then
11173 cat >>confdefs.h <<_ACEOF
11174 #define HAVE_LIBSASL2 1
11177 LIBS="-lsasl2 $LIBS"
11183 for ac_func in sasl_auxprop_request
11185 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11186 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11187 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11188 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11189 echo $ECHO_N "(cached) $ECHO_C" >&6
11191 cat >conftest.$ac_ext <<_ACEOF
11194 cat confdefs.h >>conftest.$ac_ext
11195 cat >>conftest.$ac_ext <<_ACEOF
11196 /* end confdefs.h. */
11197 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11198 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11199 #define $ac_func innocuous_$ac_func
11201 /* System header to define __stub macros and hopefully few prototypes,
11202 which can conflict with char $ac_func (); below.
11203 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11204 <limits.h> exists even on freestanding compilers. */
11207 # include <limits.h>
11209 # include <assert.h>
11214 /* Override any GCC internal prototype to avoid an error.
11215 Use char because int might match the return type of a GCC
11216 builtin and then its argument prototype would still apply. */
11221 /* The GNU C library defines this for functions which it implements
11222 to always fail with ENOSYS. Some functions are actually named
11223 something starting with __ and the normal name is an alias. */
11224 #if defined __stub_$ac_func || defined __stub___$ac_func
11231 return $ac_func ();
11236 rm -f conftest.$ac_objext conftest$ac_exeext
11237 if { (ac_try="$ac_link"
11238 case "(($ac_try" in
11239 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11240 *) ac_try_echo=$ac_try;;
11242 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11243 (eval "$ac_link") 2>conftest.er1
11245 grep -v '^ *+' conftest.er1 >conftest.err
11247 cat conftest.err >&5
11248 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11249 (exit $ac_status); } && {
11250 test -z "$ac_c_werror_flag" ||
11251 test ! -s conftest.err
11252 } && test -s conftest$ac_exeext &&
11253 $as_test_x conftest$ac_exeext; then
11254 eval "$as_ac_var=yes"
11256 echo "$as_me: failed program was:" >&5
11257 sed 's/^/| /' conftest.$ac_ext >&5
11259 eval "$as_ac_var=no"
11262 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11263 conftest$ac_exeext conftest.$ac_ext
11265 ac_res=`eval echo '${'$as_ac_var'}'`
11266 { echo "$as_me:$LINENO: result: $ac_res" >&5
11267 echo "${ECHO_T}$ac_res" >&6; }
11268 if test `eval echo '${'$as_ac_var'}'` = yes; then
11269 cat >>confdefs.h <<_ACEOF
11270 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11277 for ac_func in gss_krb5_ccache_name
11279 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11280 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11281 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11282 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11283 echo $ECHO_N "(cached) $ECHO_C" >&6
11285 cat >conftest.$ac_ext <<_ACEOF
11288 cat confdefs.h >>conftest.$ac_ext
11289 cat >>conftest.$ac_ext <<_ACEOF
11290 /* end confdefs.h. */
11291 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11292 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11293 #define $ac_func innocuous_$ac_func
11295 /* System header to define __stub macros and hopefully few prototypes,
11296 which can conflict with char $ac_func (); below.
11297 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11298 <limits.h> exists even on freestanding compilers. */
11301 # include <limits.h>
11303 # include <assert.h>
11308 /* Override any GCC internal prototype to avoid an error.
11309 Use char because int might match the return type of a GCC
11310 builtin and then its argument prototype would still apply. */
11315 /* The GNU C library defines this for functions which it implements
11316 to always fail with ENOSYS. Some functions are actually named
11317 something starting with __ and the normal name is an alias. */
11318 #if defined __stub_$ac_func || defined __stub___$ac_func
11325 return $ac_func ();
11330 rm -f conftest.$ac_objext conftest$ac_exeext
11331 if { (ac_try="$ac_link"
11332 case "(($ac_try" in
11333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11334 *) ac_try_echo=$ac_try;;
11336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11337 (eval "$ac_link") 2>conftest.er1
11339 grep -v '^ *+' conftest.er1 >conftest.err
11341 cat conftest.err >&5
11342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11343 (exit $ac_status); } && {
11344 test -z "$ac_c_werror_flag" ||
11345 test ! -s conftest.err
11346 } && test -s conftest$ac_exeext &&
11347 $as_test_x conftest$ac_exeext; then
11348 eval "$as_ac_var=yes"
11350 echo "$as_me: failed program was:" >&5
11351 sed 's/^/| /' conftest.$ac_ext >&5
11353 eval "$as_ac_var=no"
11356 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11357 conftest$ac_exeext conftest.$ac_ext
11359 ac_res=`eval echo '${'$as_ac_var'}'`
11360 { echo "$as_me:$LINENO: result: $ac_res" >&5
11361 echo "${ECHO_T}$ac_res" >&6; }
11362 if test `eval echo '${'$as_ac_var'}'` = yes; then
11363 cat >>confdefs.h <<_ACEOF
11364 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11374 for ac_func in ldap_parse_result ldap_memfree ldap_controls_free ldap_control_free
11376 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11377 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11378 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11379 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11380 echo $ECHO_N "(cached) $ECHO_C" >&6
11382 cat >conftest.$ac_ext <<_ACEOF
11385 cat confdefs.h >>conftest.$ac_ext
11386 cat >>conftest.$ac_ext <<_ACEOF
11387 /* end confdefs.h. */
11388 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11389 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11390 #define $ac_func innocuous_$ac_func
11392 /* System header to define __stub macros and hopefully few prototypes,
11393 which can conflict with char $ac_func (); below.
11394 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11395 <limits.h> exists even on freestanding compilers. */
11398 # include <limits.h>
11400 # include <assert.h>
11405 /* Override any GCC internal prototype to avoid an error.
11406 Use char because int might match the return type of a GCC
11407 builtin and then its argument prototype would still apply. */
11412 /* The GNU C library defines this for functions which it implements
11413 to always fail with ENOSYS. Some functions are actually named
11414 something starting with __ and the normal name is an alias. */
11415 #if defined __stub_$ac_func || defined __stub___$ac_func
11422 return $ac_func ();
11427 rm -f conftest.$ac_objext conftest$ac_exeext
11428 if { (ac_try="$ac_link"
11429 case "(($ac_try" in
11430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11431 *) ac_try_echo=$ac_try;;
11433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11434 (eval "$ac_link") 2>conftest.er1
11436 grep -v '^ *+' conftest.er1 >conftest.err
11438 cat conftest.err >&5
11439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11440 (exit $ac_status); } && {
11441 test -z "$ac_c_werror_flag" ||
11442 test ! -s conftest.err
11443 } && test -s conftest$ac_exeext &&
11444 $as_test_x conftest$ac_exeext; then
11445 eval "$as_ac_var=yes"
11447 echo "$as_me: failed program was:" >&5
11448 sed 's/^/| /' conftest.$ac_ext >&5
11450 eval "$as_ac_var=no"
11453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11454 conftest$ac_exeext conftest.$ac_ext
11456 ac_res=`eval echo '${'$as_ac_var'}'`
11457 { echo "$as_me:$LINENO: result: $ac_res" >&5
11458 echo "${ECHO_T}$ac_res" >&6; }
11459 if test `eval echo '${'$as_ac_var'}'` = yes; then
11460 cat >>confdefs.h <<_ACEOF
11461 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11471 for ac_func in ldap_explode_dn ldap_explode_rdn ldap_set_option ldap_get_option
11473 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11474 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11475 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11476 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11477 echo $ECHO_N "(cached) $ECHO_C" >&6
11479 cat >conftest.$ac_ext <<_ACEOF
11482 cat confdefs.h >>conftest.$ac_ext
11483 cat >>conftest.$ac_ext <<_ACEOF
11484 /* end confdefs.h. */
11485 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11486 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11487 #define $ac_func innocuous_$ac_func
11489 /* System header to define __stub macros and hopefully few prototypes,
11490 which can conflict with char $ac_func (); below.
11491 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11492 <limits.h> exists even on freestanding compilers. */
11495 # include <limits.h>
11497 # include <assert.h>
11502 /* Override any GCC internal prototype to avoid an error.
11503 Use char because int might match the return type of a GCC
11504 builtin and then its argument prototype would still apply. */
11509 /* The GNU C library defines this for functions which it implements
11510 to always fail with ENOSYS. Some functions are actually named
11511 something starting with __ and the normal name is an alias. */
11512 #if defined __stub_$ac_func || defined __stub___$ac_func
11519 return $ac_func ();
11524 rm -f conftest.$ac_objext conftest$ac_exeext
11525 if { (ac_try="$ac_link"
11526 case "(($ac_try" in
11527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11528 *) ac_try_echo=$ac_try;;
11530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11531 (eval "$ac_link") 2>conftest.er1
11533 grep -v '^ *+' conftest.er1 >conftest.err
11535 cat conftest.err >&5
11536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537 (exit $ac_status); } && {
11538 test -z "$ac_c_werror_flag" ||
11539 test ! -s conftest.err
11540 } && test -s conftest$ac_exeext &&
11541 $as_test_x conftest$ac_exeext; then
11542 eval "$as_ac_var=yes"
11544 echo "$as_me: failed program was:" >&5
11545 sed 's/^/| /' conftest.$ac_ext >&5
11547 eval "$as_ac_var=no"
11550 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11551 conftest$ac_exeext conftest.$ac_ext
11553 ac_res=`eval echo '${'$as_ac_var'}'`
11554 { echo "$as_me:$LINENO: result: $ac_res" >&5
11555 echo "${ECHO_T}$ac_res" >&6; }
11556 if test `eval echo '${'$as_ac_var'}'` = yes; then
11557 cat >>confdefs.h <<_ACEOF
11558 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11568 for ac_func in ldap_abandon ldap_simple_bind_s ldap_unbind ldap_set_rebind_proc
11570 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11571 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11572 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11573 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11574 echo $ECHO_N "(cached) $ECHO_C" >&6
11576 cat >conftest.$ac_ext <<_ACEOF
11579 cat confdefs.h >>conftest.$ac_ext
11580 cat >>conftest.$ac_ext <<_ACEOF
11581 /* end confdefs.h. */
11582 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11584 #define $ac_func innocuous_$ac_func
11586 /* System header to define __stub macros and hopefully few prototypes,
11587 which can conflict with char $ac_func (); below.
11588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11589 <limits.h> exists even on freestanding compilers. */
11592 # include <limits.h>
11594 # include <assert.h>
11599 /* Override any GCC internal prototype to avoid an error.
11600 Use char because int might match the return type of a GCC
11601 builtin and then its argument prototype would still apply. */
11606 /* The GNU C library defines this for functions which it implements
11607 to always fail with ENOSYS. Some functions are actually named
11608 something starting with __ and the normal name is an alias. */
11609 #if defined __stub_$ac_func || defined __stub___$ac_func
11616 return $ac_func ();
11621 rm -f conftest.$ac_objext conftest$ac_exeext
11622 if { (ac_try="$ac_link"
11623 case "(($ac_try" in
11624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11625 *) ac_try_echo=$ac_try;;
11627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11628 (eval "$ac_link") 2>conftest.er1
11630 grep -v '^ *+' conftest.er1 >conftest.err
11632 cat conftest.err >&5
11633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11634 (exit $ac_status); } && {
11635 test -z "$ac_c_werror_flag" ||
11636 test ! -s conftest.err
11637 } && test -s conftest$ac_exeext &&
11638 $as_test_x conftest$ac_exeext; then
11639 eval "$as_ac_var=yes"
11641 echo "$as_me: failed program was:" >&5
11642 sed 's/^/| /' conftest.$ac_ext >&5
11644 eval "$as_ac_var=no"
11647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11648 conftest$ac_exeext conftest.$ac_ext
11650 ac_res=`eval echo '${'$as_ac_var'}'`
11651 { echo "$as_me:$LINENO: result: $ac_res" >&5
11652 echo "${ECHO_T}$ac_res" >&6; }
11653 if test `eval echo '${'$as_ac_var'}'` = yes; then
11654 cat >>confdefs.h <<_ACEOF
11655 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11664 for ac_func in ldap_sasl_interactive_bind_s ldap_initialize ldap_search_ext
11666 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11667 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11668 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11669 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11670 echo $ECHO_N "(cached) $ECHO_C" >&6
11672 cat >conftest.$ac_ext <<_ACEOF
11675 cat confdefs.h >>conftest.$ac_ext
11676 cat >>conftest.$ac_ext <<_ACEOF
11677 /* end confdefs.h. */
11678 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11679 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11680 #define $ac_func innocuous_$ac_func
11682 /* System header to define __stub macros and hopefully few prototypes,
11683 which can conflict with char $ac_func (); below.
11684 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11685 <limits.h> exists even on freestanding compilers. */
11688 # include <limits.h>
11690 # include <assert.h>
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11702 /* The GNU C library defines this for functions which it implements
11703 to always fail with ENOSYS. Some functions are actually named
11704 something starting with __ and the normal name is an alias. */
11705 #if defined __stub_$ac_func || defined __stub___$ac_func
11712 return $ac_func ();
11717 rm -f conftest.$ac_objext conftest$ac_exeext
11718 if { (ac_try="$ac_link"
11719 case "(($ac_try" in
11720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11721 *) ac_try_echo=$ac_try;;
11723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11724 (eval "$ac_link") 2>conftest.er1
11726 grep -v '^ *+' conftest.er1 >conftest.err
11728 cat conftest.err >&5
11729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11730 (exit $ac_status); } && {
11731 test -z "$ac_c_werror_flag" ||
11732 test ! -s conftest.err
11733 } && test -s conftest$ac_exeext &&
11734 $as_test_x conftest$ac_exeext; then
11735 eval "$as_ac_var=yes"
11737 echo "$as_me: failed program was:" >&5
11738 sed 's/^/| /' conftest.$ac_ext >&5
11740 eval "$as_ac_var=no"
11743 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11744 conftest$ac_exeext conftest.$ac_ext
11746 ac_res=`eval echo '${'$as_ac_var'}'`
11747 { echo "$as_me:$LINENO: result: $ac_res" >&5
11748 echo "${ECHO_T}$ac_res" >&6; }
11749 if test `eval echo '${'$as_ac_var'}'` = yes; then
11750 cat >>confdefs.h <<_ACEOF
11751 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11758 for ac_func in ldap_create_control
11760 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11761 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11762 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11763 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11764 echo $ECHO_N "(cached) $ECHO_C" >&6
11766 cat >conftest.$ac_ext <<_ACEOF
11769 cat confdefs.h >>conftest.$ac_ext
11770 cat >>conftest.$ac_ext <<_ACEOF
11771 /* end confdefs.h. */
11772 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11773 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11774 #define $ac_func innocuous_$ac_func
11776 /* System header to define __stub macros and hopefully few prototypes,
11777 which can conflict with char $ac_func (); below.
11778 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11779 <limits.h> exists even on freestanding compilers. */
11782 # include <limits.h>
11784 # include <assert.h>
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11796 /* The GNU C library defines this for functions which it implements
11797 to always fail with ENOSYS. Some functions are actually named
11798 something starting with __ and the normal name is an alias. */
11799 #if defined __stub_$ac_func || defined __stub___$ac_func
11806 return $ac_func ();
11811 rm -f conftest.$ac_objext conftest$ac_exeext
11812 if { (ac_try="$ac_link"
11813 case "(($ac_try" in
11814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11815 *) ac_try_echo=$ac_try;;
11817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11818 (eval "$ac_link") 2>conftest.er1
11820 grep -v '^ *+' conftest.er1 >conftest.err
11822 cat conftest.err >&5
11823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11824 (exit $ac_status); } && {
11825 test -z "$ac_c_werror_flag" ||
11826 test ! -s conftest.err
11827 } && test -s conftest$ac_exeext &&
11828 $as_test_x conftest$ac_exeext; then
11829 eval "$as_ac_var=yes"
11831 echo "$as_me: failed program was:" >&5
11832 sed 's/^/| /' conftest.$ac_ext >&5
11834 eval "$as_ac_var=no"
11837 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11838 conftest$ac_exeext conftest.$ac_ext
11840 ac_res=`eval echo '${'$as_ac_var'}'`
11841 { echo "$as_me:$LINENO: result: $ac_res" >&5
11842 echo "${ECHO_T}$ac_res" >&6; }
11843 if test `eval echo '${'$as_ac_var'}'` = yes; then
11844 cat >>confdefs.h <<_ACEOF
11845 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11853 for ac_func in ldap_domain2hostlist ldap_domain2dn
11855 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11856 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11857 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11858 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11859 echo $ECHO_N "(cached) $ECHO_C" >&6
11861 cat >conftest.$ac_ext <<_ACEOF
11864 cat confdefs.h >>conftest.$ac_ext
11865 cat >>conftest.$ac_ext <<_ACEOF
11866 /* end confdefs.h. */
11867 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11868 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11869 #define $ac_func innocuous_$ac_func
11871 /* System header to define __stub macros and hopefully few prototypes,
11872 which can conflict with char $ac_func (); below.
11873 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11874 <limits.h> exists even on freestanding compilers. */
11877 # include <limits.h>
11879 # include <assert.h>
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11891 /* The GNU C library defines this for functions which it implements
11892 to always fail with ENOSYS. Some functions are actually named
11893 something starting with __ and the normal name is an alias. */
11894 #if defined __stub_$ac_func || defined __stub___$ac_func
11901 return $ac_func ();
11906 rm -f conftest.$ac_objext conftest$ac_exeext
11907 if { (ac_try="$ac_link"
11908 case "(($ac_try" in
11909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11910 *) ac_try_echo=$ac_try;;
11912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11913 (eval "$ac_link") 2>conftest.er1
11915 grep -v '^ *+' conftest.er1 >conftest.err
11917 cat conftest.err >&5
11918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11919 (exit $ac_status); } && {
11920 test -z "$ac_c_werror_flag" ||
11921 test ! -s conftest.err
11922 } && test -s conftest$ac_exeext &&
11923 $as_test_x conftest$ac_exeext; then
11924 eval "$as_ac_var=yes"
11926 echo "$as_me: failed program was:" >&5
11927 sed 's/^/| /' conftest.$ac_ext >&5
11929 eval "$as_ac_var=no"
11932 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11933 conftest$ac_exeext conftest.$ac_ext
11935 ac_res=`eval echo '${'$as_ac_var'}'`
11936 { echo "$as_me:$LINENO: result: $ac_res" >&5
11937 echo "${ECHO_T}$ac_res" >&6; }
11938 if test `eval echo '${'$as_ac_var'}'` = yes; then
11939 cat >>confdefs.h <<_ACEOF
11940 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
11949 for ac_func in ldap_get_values ldap_value_free ldap_get_dn
11951 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
11952 { echo "$as_me:$LINENO: checking for $ac_func" >&5
11953 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
11954 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
11955 echo $ECHO_N "(cached) $ECHO_C" >&6
11957 cat >conftest.$ac_ext <<_ACEOF
11960 cat confdefs.h >>conftest.$ac_ext
11961 cat >>conftest.$ac_ext <<_ACEOF
11962 /* end confdefs.h. */
11963 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
11964 For example, HP-UX 11i <limits.h> declares gettimeofday. */
11965 #define $ac_func innocuous_$ac_func
11967 /* System header to define __stub macros and hopefully few prototypes,
11968 which can conflict with char $ac_func (); below.
11969 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
11970 <limits.h> exists even on freestanding compilers. */
11973 # include <limits.h>
11975 # include <assert.h>
11980 /* Override any GCC internal prototype to avoid an error.
11981 Use char because int might match the return type of a GCC
11982 builtin and then its argument prototype would still apply. */
11987 /* The GNU C library defines this for functions which it implements
11988 to always fail with ENOSYS. Some functions are actually named
11989 something starting with __ and the normal name is an alias. */
11990 #if defined __stub_$ac_func || defined __stub___$ac_func
11997 return $ac_func ();
12002 rm -f conftest.$ac_objext conftest$ac_exeext
12003 if { (ac_try="$ac_link"
12004 case "(($ac_try" in
12005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12006 *) ac_try_echo=$ac_try;;
12008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12009 (eval "$ac_link") 2>conftest.er1
12011 grep -v '^ *+' conftest.er1 >conftest.err
12013 cat conftest.err >&5
12014 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12015 (exit $ac_status); } && {
12016 test -z "$ac_c_werror_flag" ||
12017 test ! -s conftest.err
12018 } && test -s conftest$ac_exeext &&
12019 $as_test_x conftest$ac_exeext; then
12020 eval "$as_ac_var=yes"
12022 echo "$as_me: failed program was:" >&5
12023 sed 's/^/| /' conftest.$ac_ext >&5
12025 eval "$as_ac_var=no"
12028 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12029 conftest$ac_exeext conftest.$ac_ext
12031 ac_res=`eval echo '${'$as_ac_var'}'`
12032 { echo "$as_me:$LINENO: result: $ac_res" >&5
12033 echo "${ECHO_T}$ac_res" >&6; }
12034 if test `eval echo '${'$as_ac_var'}'` = yes; then
12035 cat >>confdefs.h <<_ACEOF
12036 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12045 for ac_func in ldap_err2string ldap_msgfree ldap_result
12047 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12048 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12049 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12050 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12051 echo $ECHO_N "(cached) $ECHO_C" >&6
12053 cat >conftest.$ac_ext <<_ACEOF
12056 cat confdefs.h >>conftest.$ac_ext
12057 cat >>conftest.$ac_ext <<_ACEOF
12058 /* end confdefs.h. */
12059 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12060 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12061 #define $ac_func innocuous_$ac_func
12063 /* System header to define __stub macros and hopefully few prototypes,
12064 which can conflict with char $ac_func (); below.
12065 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12066 <limits.h> exists even on freestanding compilers. */
12069 # include <limits.h>
12071 # include <assert.h>
12076 /* Override any GCC internal prototype to avoid an error.
12077 Use char because int might match the return type of a GCC
12078 builtin and then its argument prototype would still apply. */
12083 /* The GNU C library defines this for functions which it implements
12084 to always fail with ENOSYS. Some functions are actually named
12085 something starting with __ and the normal name is an alias. */
12086 #if defined __stub_$ac_func || defined __stub___$ac_func
12093 return $ac_func ();
12098 rm -f conftest.$ac_objext conftest$ac_exeext
12099 if { (ac_try="$ac_link"
12100 case "(($ac_try" in
12101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12102 *) ac_try_echo=$ac_try;;
12104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12105 (eval "$ac_link") 2>conftest.er1
12107 grep -v '^ *+' conftest.er1 >conftest.err
12109 cat conftest.err >&5
12110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12111 (exit $ac_status); } && {
12112 test -z "$ac_c_werror_flag" ||
12113 test ! -s conftest.err
12114 } && test -s conftest$ac_exeext &&
12115 $as_test_x conftest$ac_exeext; then
12116 eval "$as_ac_var=yes"
12118 echo "$as_me: failed program was:" >&5
12119 sed 's/^/| /' conftest.$ac_ext >&5
12121 eval "$as_ac_var=no"
12124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12125 conftest$ac_exeext conftest.$ac_ext
12127 ac_res=`eval echo '${'$as_ac_var'}'`
12128 { echo "$as_me:$LINENO: result: $ac_res" >&5
12129 echo "${ECHO_T}$ac_res" >&6; }
12130 if test `eval echo '${'$as_ac_var'}'` = yes; then
12131 cat >>confdefs.h <<_ACEOF
12132 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12139 # replace ldap_create_page_control() and ldap_parse_page_control()
12142 for ac_func in ldap_create_page_control ldap_parse_page_control
12144 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
12145 { echo "$as_me:$LINENO: checking for $ac_func" >&5
12146 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
12147 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
12148 echo $ECHO_N "(cached) $ECHO_C" >&6
12150 cat >conftest.$ac_ext <<_ACEOF
12153 cat confdefs.h >>conftest.$ac_ext
12154 cat >>conftest.$ac_ext <<_ACEOF
12155 /* end confdefs.h. */
12156 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
12157 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12158 #define $ac_func innocuous_$ac_func
12160 /* System header to define __stub macros and hopefully few prototypes,
12161 which can conflict with char $ac_func (); below.
12162 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12163 <limits.h> exists even on freestanding compilers. */
12166 # include <limits.h>
12168 # include <assert.h>
12173 /* Override any GCC internal prototype to avoid an error.
12174 Use char because int might match the return type of a GCC
12175 builtin and then its argument prototype would still apply. */
12180 /* The GNU C library defines this for functions which it implements
12181 to always fail with ENOSYS. Some functions are actually named
12182 something starting with __ and the normal name is an alias. */
12183 #if defined __stub_$ac_func || defined __stub___$ac_func
12190 return $ac_func ();
12195 rm -f conftest.$ac_objext conftest$ac_exeext
12196 if { (ac_try="$ac_link"
12197 case "(($ac_try" in
12198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12199 *) ac_try_echo=$ac_try;;
12201 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12202 (eval "$ac_link") 2>conftest.er1
12204 grep -v '^ *+' conftest.er1 >conftest.err
12206 cat conftest.err >&5
12207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12208 (exit $ac_status); } && {
12209 test -z "$ac_c_werror_flag" ||
12210 test ! -s conftest.err
12211 } && test -s conftest$ac_exeext &&
12212 $as_test_x conftest$ac_exeext; then
12213 eval "$as_ac_var=yes"
12215 echo "$as_me: failed program was:" >&5
12216 sed 's/^/| /' conftest.$ac_ext >&5
12218 eval "$as_ac_var=no"
12221 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12222 conftest$ac_exeext conftest.$ac_ext
12224 ac_res=`eval echo '${'$as_ac_var'}'`
12225 { echo "$as_me:$LINENO: result: $ac_res" >&5
12226 echo "${ECHO_T}$ac_res" >&6; }
12227 if test `eval echo '${'$as_ac_var'}'` = yes; then
12228 cat >>confdefs.h <<_ACEOF
12229 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
12233 case " $LIBOBJS " in
12234 *" pagectrl.$ac_objext "* ) ;;
12235 *) LIBOBJS="$LIBOBJS pagectrl.$ac_objext"
12243 # check the number of arguments that ldap_set_rebind_proc() uses
12244 { echo "$as_me:$LINENO: checking number of arguments to ldap_set_rebind_proc" >&5
12245 echo $ECHO_N "checking number of arguments to ldap_set_rebind_proc... $ECHO_C" >&6; }
12246 if test "${nss_ldapd_cv_ldap_set_rebind_proc+set}" = set; then
12247 echo $ECHO_N "(cached) $ECHO_C" >&6
12249 cat >conftest.$ac_ext <<_ACEOF
12252 cat confdefs.h >>conftest.$ac_ext
12253 cat >>conftest.$ac_ext <<_ACEOF
12254 /* end confdefs.h. */
12261 ldap_set_rebind_proc(0, 0, 0);
12266 rm -f conftest.$ac_objext
12267 if { (ac_try="$ac_compile"
12268 case "(($ac_try" in
12269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12270 *) ac_try_echo=$ac_try;;
12272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
12273 (eval "$ac_compile") 2>conftest.er1
12275 grep -v '^ *+' conftest.er1 >conftest.err
12277 cat conftest.err >&5
12278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
12279 (exit $ac_status); } && {
12280 test -z "$ac_c_werror_flag" ||
12281 test ! -s conftest.err
12282 } && test -s conftest.$ac_objext; then
12283 nss_ldapd_cv_ldap_set_rebind_proc=3
12285 echo "$as_me: failed program was:" >&5
12286 sed 's/^/| /' conftest.$ac_ext >&5
12288 nss_ldapd_cv_ldap_set_rebind_proc=2
12291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12293 { echo "$as_me:$LINENO: result: $nss_ldapd_cv_ldap_set_rebind_proc" >&5
12294 echo "${ECHO_T}$nss_ldapd_cv_ldap_set_rebind_proc" >&6; }
12296 cat >>confdefs.h <<_ACEOF
12297 #define LDAP_SET_REBIND_PROC_ARGS $nss_ldapd_cv_ldap_set_rebind_proc
12301 CFLAGS="$save_CFLAGS"
12309 ac_config_files="$ac_config_files Makefile compat/Makefile common/Makefile nss/Makefile nslcd/Makefile man/Makefile tests/Makefile"
12311 cat >confcache <<\_ACEOF
12312 # This file is a shell script that caches the results of configure
12313 # tests run on this system so they can be shared between configure
12314 # scripts and configure runs, see configure's option --config-cache.
12315 # It is not useful on other systems. If it contains results you don't
12316 # want to keep, you may remove or edit it.
12318 # config.status only pays attention to the cache file if you give it
12319 # the --recheck option to rerun configure.
12321 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12322 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12323 # following values.
12327 # The following way of writing the cache mishandles newlines in values,
12328 # but we know of no workaround that is simple, portable, and efficient.
12329 # So, we kill variables containing newlines.
12330 # Ultrix sh set writes to stderr and can't be redirected directly,
12331 # and sets the high bit in the cache file unless we assign to the vars.
12333 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12334 eval ac_val=\$$ac_var
12338 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12339 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12342 _ | IFS | as_nl) ;; #(
12343 *) $as_unset $ac_var ;;
12349 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12350 *${as_nl}ac_space=\ *)
12351 # `set' does not quote correctly, so add quotes (double-quote
12352 # substitution turns \\\\ into \\, and sed turns \\ into \).
12355 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12358 # `set' quotes correctly as required by POSIX, so do not add quotes.
12359 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12368 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12370 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12372 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12373 if test -w "$cache_file"; then
12374 test "x$cache_file" != "x/dev/null" &&
12375 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12376 echo "$as_me: updating cache $cache_file" >&6;}
12377 cat confcache >$cache_file
12379 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12380 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12385 test "x$prefix" = xNONE && prefix=$ac_default_prefix
12386 # Let make expand exec_prefix.
12387 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
12389 DEFS=-DHAVE_CONFIG_H
12393 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
12394 # 1. Remove the extension, and $U if already installed.
12395 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
12396 ac_i=`echo "$ac_i" | sed "$ac_script"`
12397 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
12398 # will be set to the directory where LIBOBJS objects are built.
12399 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
12400 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
12402 LIBOBJS=$ac_libobjs
12404 LTLIBOBJS=$ac_ltlibobjs
12407 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
12408 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
12409 Usually this means the macro was only invoked conditionally." >&5
12410 echo "$as_me: error: conditional \"AMDEP\" was never defined.
12411 Usually this means the macro was only invoked conditionally." >&2;}
12412 { (exit 1); exit 1; }; }
12414 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
12415 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
12416 Usually this means the macro was only invoked conditionally." >&5
12417 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
12418 Usually this means the macro was only invoked conditionally." >&2;}
12419 { (exit 1); exit 1; }; }
12421 if test -z "${GENMAN_TRUE}" && test -z "${GENMAN_FALSE}"; then
12422 { { echo "$as_me:$LINENO: error: conditional \"GENMAN\" was never defined.
12423 Usually this means the macro was only invoked conditionally." >&5
12424 echo "$as_me: error: conditional \"GENMAN\" was never defined.
12425 Usually this means the macro was only invoked conditionally." >&2;}
12426 { (exit 1); exit 1; }; }
12429 : ${CONFIG_STATUS=./config.status}
12430 ac_clean_files_save=$ac_clean_files
12431 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
12432 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
12433 echo "$as_me: creating $CONFIG_STATUS" >&6;}
12434 cat >$CONFIG_STATUS <<_ACEOF
12436 # Generated by $as_me.
12437 # Run this file to recreate the current configuration.
12438 # Compiler output produced by configure, useful for debugging
12439 # configure, is in config.log if it exists.
12442 ac_cs_recheck=false
12444 SHELL=\${CONFIG_SHELL-$SHELL}
12447 cat >>$CONFIG_STATUS <<\_ACEOF
12448 ## --------------------- ##
12449 ## M4sh Initialization. ##
12450 ## --------------------- ##
12452 # Be more Bourne compatible
12453 DUALCASE=1; export DUALCASE # for MKS sh
12454 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
12457 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
12458 # is contrary to our usage. Disable this feature.
12459 alias -g '${1+"$@"}'='"$@"'
12460 setopt NO_GLOB_SUBST
12462 case `(set -o) 2>/dev/null` in
12463 *posix*) set -o posix ;;
12472 # Avoid depending upon Character Ranges.
12473 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
12474 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
12475 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
12476 as_cr_digits='0123456789'
12477 as_cr_alnum=$as_cr_Letters$as_cr_digits
12479 # The user is always right.
12480 if test "${PATH_SEPARATOR+set}" != set; then
12481 echo "#! /bin/sh" >conf$$.sh
12482 echo "exit 0" >>conf$$.sh
12484 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
12492 # Support unset when possible.
12493 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
12501 # We need space, tab and new line, in precisely that order. Quoting is
12502 # there to prevent editors from complaining about space-tab.
12503 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
12504 # splitting by setting IFS to empty value.)
12509 # Find who we are. Look in the path if we contain no directory separator.
12511 *[\\/]* ) as_myself=$0 ;;
12512 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12513 for as_dir in $PATH
12516 test -z "$as_dir" && as_dir=.
12517 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
12523 # We did not find ourselves, most probably we were run as `sh COMMAND'
12524 # in which case we are not to be found in the path.
12525 if test "x$as_myself" = x; then
12528 if test ! -f "$as_myself"; then
12529 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
12530 { (exit 1); exit 1; }
12533 # Work around bugs in pre-3.0 UWIN ksh.
12534 for as_var in ENV MAIL MAILPATH
12535 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12543 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
12544 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
12545 LC_TELEPHONE LC_TIME
12547 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
12548 eval $as_var=C; export $as_var
12550 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
12554 # Required to use basename.
12555 if expr a : '\(a\)' >/dev/null 2>&1 &&
12556 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12562 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
12563 as_basename=basename
12569 # Name of the executable.
12570 as_me=`$as_basename -- "$0" ||
12571 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
12572 X"$0" : 'X\(//\)$' \| \
12573 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
12575 sed '/^.*\/\([^/][^/]*\)\/*$/{
12594 as_lineno_1=$LINENO
12595 as_lineno_2=$LINENO
12596 test "x$as_lineno_1" != "x$as_lineno_2" &&
12597 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
12599 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
12600 # uniformly replaced by the line number. The first 'sed' inserts a
12601 # line-number line after each line using $LINENO; the second 'sed'
12602 # does the real work. The second script uses 'N' to pair each
12603 # line-number line with the line containing $LINENO, and appends
12604 # trailing '-' during substitution so that $LINENO is not a special
12605 # case at line end.
12606 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
12607 # scripts with optimization help from Paolo Bonzini. Blame Lee
12608 # E. McMahon (1931-1989) for sed's syntax. :-)
12620 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
12623 ' >$as_me.lineno &&
12624 chmod +x "$as_me.lineno" ||
12625 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
12626 { (exit 1); exit 1; }; }
12628 # Don't try to exec as it changes $[0], causing all sort of problems
12629 # (the dirname of $[0] is not the place where we might find the
12630 # original and so on. Autoconf is especially sensitive to this).
12631 . "./$as_me.lineno"
12632 # Exit status is that of the last command.
12637 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
12643 ECHO_C= ECHO_N= ECHO_T=
12644 case `echo -n x` in
12646 case `echo 'x\c'` in
12647 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
12654 if expr a : '\(a\)' >/dev/null 2>&1 &&
12655 test "X`expr 00001 : '.*\(...\)'`" = X001; then
12661 rm -f conf$$ conf$$.exe conf$$.file
12662 if test -d conf$$.dir; then
12663 rm -f conf$$.dir/conf$$.file
12669 if ln -s conf$$.file conf$$ 2>/dev/null; then
12671 # ... but there are two gotchas:
12672 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
12673 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
12674 # In both cases, we have to default to `cp -p'.
12675 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
12677 elif ln conf$$.file conf$$ 2>/dev/null; then
12682 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
12683 rmdir conf$$.dir 2>/dev/null
12685 if mkdir -p . 2>/dev/null; then
12688 test -d ./-p && rmdir ./-p
12692 if test -x / >/dev/null 2>&1; then
12693 as_test_x='test -x'
12695 if ls -dL / >/dev/null 2>&1; then
12702 if test -d "$1"; then
12708 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
12709 ???[sx]*):;;*)false;;esac;fi
12713 as_executable_p=$as_test_x
12715 # Sed expression to map a string onto a valid CPP name.
12716 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
12718 # Sed expression to map a string onto a valid variable name.
12719 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
12724 # Save the log message, to keep $[0] and so on meaningful, and to
12725 # report actual input values of CONFIG_FILES etc. instead of their
12726 # values after options handling.
12728 This file was extended by nss-ldapd $as_me 0.6.2, which was
12729 generated by GNU Autoconf 2.61. Invocation command line was
12731 CONFIG_FILES = $CONFIG_FILES
12732 CONFIG_HEADERS = $CONFIG_HEADERS
12733 CONFIG_LINKS = $CONFIG_LINKS
12734 CONFIG_COMMANDS = $CONFIG_COMMANDS
12737 on `(hostname || uname -n) 2>/dev/null | sed 1q`
12742 cat >>$CONFIG_STATUS <<_ACEOF
12743 # Files that config.status was made for.
12744 config_files="$ac_config_files"
12745 config_headers="$ac_config_headers"
12746 config_commands="$ac_config_commands"
12750 cat >>$CONFIG_STATUS <<\_ACEOF
12752 \`$as_me' instantiates files from templates according to the
12753 current configuration.
12755 Usage: $0 [OPTIONS] [FILE]...
12757 -h, --help print this help, then exit
12758 -V, --version print version number and configuration settings, then exit
12759 -q, --quiet do not print progress messages
12760 -d, --debug don't remove temporary files
12761 --recheck update $as_me by reconfiguring in the same conditions
12762 --file=FILE[:TEMPLATE]
12763 instantiate the configuration file FILE
12764 --header=FILE[:TEMPLATE]
12765 instantiate the configuration header FILE
12767 Configuration files:
12770 Configuration headers:
12773 Configuration commands:
12776 Report bugs to <bug-autoconf@gnu.org>."
12779 cat >>$CONFIG_STATUS <<_ACEOF
12781 nss-ldapd config.status 0.6.2
12782 configured by $0, generated by GNU Autoconf 2.61,
12783 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
12785 Copyright (C) 2006 Free Software Foundation, Inc.
12786 This config.status script is free software; the Free Software Foundation
12787 gives unlimited permission to copy, distribute and modify it."
12795 cat >>$CONFIG_STATUS <<\_ACEOF
12796 # If no file are specified by the user, then we need to provide default
12797 # value. By we need to know if files were specified by the user.
12803 ac_option=`expr "X$1" : 'X\([^=]*\)='`
12804 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
12815 # Handling of the options.
12816 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
12818 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
12819 echo "$ac_cs_version"; exit ;;
12820 --debug | --debu | --deb | --de | --d | -d )
12822 --file | --fil | --fi | --f )
12824 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
12825 ac_need_defaults=false;;
12826 --header | --heade | --head | --hea )
12828 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
12829 ac_need_defaults=false;;
12831 # Conflict between --help and --header
12832 { echo "$as_me: error: ambiguous option: $1
12833 Try \`$0 --help' for more information." >&2
12834 { (exit 1); exit 1; }; };;
12835 --help | --hel | -h )
12836 echo "$ac_cs_usage"; exit ;;
12837 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
12838 | -silent | --silent | --silen | --sile | --sil | --si | --s)
12841 # This is an error.
12842 -*) { echo "$as_me: error: unrecognized option: $1
12843 Try \`$0 --help' for more information." >&2
12844 { (exit 1); exit 1; }; } ;;
12846 *) ac_config_targets="$ac_config_targets $1"
12847 ac_need_defaults=false ;;
12853 ac_configure_extra_args=
12855 if $ac_cs_silent; then
12857 ac_configure_extra_args="$ac_configure_extra_args --silent"
12861 cat >>$CONFIG_STATUS <<_ACEOF
12862 if \$ac_cs_recheck; then
12863 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
12864 CONFIG_SHELL=$SHELL
12865 export CONFIG_SHELL
12866 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
12870 cat >>$CONFIG_STATUS <<\_ACEOF
12874 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
12875 ## Running $as_me. ##
12881 cat >>$CONFIG_STATUS <<_ACEOF
12885 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
12889 cat >>$CONFIG_STATUS <<\_ACEOF
12891 # Handling of arguments.
12892 for ac_config_target in $ac_config_targets
12894 case $ac_config_target in
12895 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
12896 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
12897 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12898 "compat/Makefile") CONFIG_FILES="$CONFIG_FILES compat/Makefile" ;;
12899 "common/Makefile") CONFIG_FILES="$CONFIG_FILES common/Makefile" ;;
12900 "nss/Makefile") CONFIG_FILES="$CONFIG_FILES nss/Makefile" ;;
12901 "nslcd/Makefile") CONFIG_FILES="$CONFIG_FILES nslcd/Makefile" ;;
12902 "man/Makefile") CONFIG_FILES="$CONFIG_FILES man/Makefile" ;;
12903 "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
12905 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12906 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12907 { (exit 1); exit 1; }; };;
12912 # If the user did not use the arguments to specify the items to instantiate,
12913 # then the envvar interface is used. Set only those that are not.
12914 # We use the long form for the default assignment because of an extremely
12915 # bizarre bug on SunOS 4.1.3.
12916 if $ac_need_defaults; then
12917 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
12918 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
12919 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
12922 # Have a temporary directory for convenience. Make it in the build tree
12923 # simply because there is no reason against having it here, and in addition,
12924 # creating and moving files from /tmp can sometimes cause problems.
12925 # Hook for its removal unless debugging.
12926 # Note that there is a small window in which the directory will not be cleaned:
12927 # after its creation but before its name has been assigned to `$tmp'.
12931 trap 'exit_status=$?
12932 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
12934 trap '{ (exit 1); exit 1; }' 1 2 13 15
12936 # Create a (secure) tmp directory for tmp files.
12939 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
12940 test -n "$tmp" && test -d "$tmp"
12943 tmp=./conf$$-$RANDOM
12944 (umask 077 && mkdir "$tmp")
12947 echo "$me: cannot create a temporary directory in ." >&2
12948 { (exit 1); exit 1; }
12952 # Set up the sed scripts for CONFIG_FILES section.
12955 # No need to generate the scripts if there are no CONFIG_FILES.
12956 # This happens for instance when ./config.status config.h
12957 if test -n "$CONFIG_FILES"; then
12964 for ac_last_try in false false false false false :; do
12965 cat >conf$$subs.sed <<_ACEOF
12966 SHELL!$SHELL$ac_delim
12967 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
12968 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
12969 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
12970 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
12971 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
12972 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
12973 exec_prefix!$exec_prefix$ac_delim
12974 prefix!$prefix$ac_delim
12975 program_transform_name!$program_transform_name$ac_delim
12976 bindir!$bindir$ac_delim
12977 sbindir!$sbindir$ac_delim
12978 libexecdir!$libexecdir$ac_delim
12979 datarootdir!$datarootdir$ac_delim
12980 datadir!$datadir$ac_delim
12981 sysconfdir!$sysconfdir$ac_delim
12982 sharedstatedir!$sharedstatedir$ac_delim
12983 localstatedir!$localstatedir$ac_delim
12984 includedir!$includedir$ac_delim
12985 oldincludedir!$oldincludedir$ac_delim
12986 docdir!$docdir$ac_delim
12987 infodir!$infodir$ac_delim
12988 htmldir!$htmldir$ac_delim
12989 dvidir!$dvidir$ac_delim
12990 pdfdir!$pdfdir$ac_delim
12991 psdir!$psdir$ac_delim
12992 libdir!$libdir$ac_delim
12993 localedir!$localedir$ac_delim
12994 mandir!$mandir$ac_delim
12995 DEFS!$DEFS$ac_delim
12996 ECHO_C!$ECHO_C$ac_delim
12997 ECHO_N!$ECHO_N$ac_delim
12998 ECHO_T!$ECHO_T$ac_delim
12999 LIBS!$LIBS$ac_delim
13000 build_alias!$build_alias$ac_delim
13001 host_alias!$host_alias$ac_delim
13002 target_alias!$target_alias$ac_delim
13003 RELEASE_MONTH!$RELEASE_MONTH$ac_delim
13004 build!$build$ac_delim
13005 build_cpu!$build_cpu$ac_delim
13006 build_vendor!$build_vendor$ac_delim
13007 build_os!$build_os$ac_delim
13008 host!$host$ac_delim
13009 host_cpu!$host_cpu$ac_delim
13010 host_vendor!$host_vendor$ac_delim
13011 host_os!$host_os$ac_delim
13012 target!$target$ac_delim
13013 target_cpu!$target_cpu$ac_delim
13014 target_vendor!$target_vendor$ac_delim
13015 target_os!$target_os$ac_delim
13016 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
13017 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
13018 INSTALL_DATA!$INSTALL_DATA$ac_delim
13019 am__isrc!$am__isrc$ac_delim
13020 CYGPATH_W!$CYGPATH_W$ac_delim
13021 PACKAGE!$PACKAGE$ac_delim
13022 VERSION!$VERSION$ac_delim
13023 ACLOCAL!$ACLOCAL$ac_delim
13024 AUTOCONF!$AUTOCONF$ac_delim
13025 AUTOMAKE!$AUTOMAKE$ac_delim
13026 AUTOHEADER!$AUTOHEADER$ac_delim
13027 MAKEINFO!$MAKEINFO$ac_delim
13028 install_sh!$install_sh$ac_delim
13029 STRIP!$STRIP$ac_delim
13030 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
13031 mkdir_p!$mkdir_p$ac_delim
13033 SET_MAKE!$SET_MAKE$ac_delim
13034 am__leading_dot!$am__leading_dot$ac_delim
13035 AMTAR!$AMTAR$ac_delim
13036 am__tar!$am__tar$ac_delim
13037 am__untar!$am__untar$ac_delim
13039 CFLAGS!$CFLAGS$ac_delim
13040 LDFLAGS!$LDFLAGS$ac_delim
13041 CPPFLAGS!$CPPFLAGS$ac_delim
13042 ac_ct_CC!$ac_ct_CC$ac_delim
13043 EXEEXT!$EXEEXT$ac_delim
13044 OBJEXT!$OBJEXT$ac_delim
13045 DEPDIR!$DEPDIR$ac_delim
13046 am__include!$am__include$ac_delim
13047 am__quote!$am__quote$ac_delim
13048 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
13049 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
13050 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
13051 CCDEPMODE!$CCDEPMODE$ac_delim
13052 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
13053 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
13055 RANLIB!$RANLIB$ac_delim
13056 GREP!$GREP$ac_delim
13057 EGREP!$EGREP$ac_delim
13058 DOCBOOK2X_MAN!$DOCBOOK2X_MAN$ac_delim
13059 GENMAN_TRUE!$GENMAN_TRUE$ac_delim
13060 GENMAN_FALSE!$GENMAN_FALSE$ac_delim
13061 NSS_LDAP_PATH_CONF!$NSS_LDAP_PATH_CONF$ac_delim
13062 NSLCD_PIDFILE!$NSLCD_PIDFILE$ac_delim
13065 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
13067 elif $ac_last_try; then
13068 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13069 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13070 { (exit 1); exit 1; }; }
13072 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13076 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13077 if test -n "$ac_eof"; then
13078 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13079 ac_eof=`expr $ac_eof + 1`
13082 cat >>$CONFIG_STATUS <<_ACEOF
13083 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
13084 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13087 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13088 s/^/s,@/; s/!/@,|#_!!_#|/
13091 s/'"$ac_delim"'$/,g/; t
13093 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13094 ' >>$CONFIG_STATUS <conf$$subs.sed
13095 rm -f conf$$subs.sed
13096 cat >>$CONFIG_STATUS <<_ACEOF
13102 for ac_last_try in false false false false false :; do
13103 cat >conf$$subs.sed <<_ACEOF
13104 NSLCD_SOCKET!$NSLCD_SOCKET$ac_delim
13105 LIBOBJS!$LIBOBJS$ac_delim
13106 acx_pthread_config!$acx_pthread_config$ac_delim
13107 PTHREAD_CC!$PTHREAD_CC$ac_delim
13108 PTHREAD_LIBS!$PTHREAD_LIBS$ac_delim
13109 PTHREAD_CFLAGS!$PTHREAD_CFLAGS$ac_delim
13110 nss_ldap_so_LIBS!$nss_ldap_so_LIBS$ac_delim
13111 nslcd_LIBS!$nslcd_LIBS$ac_delim
13112 LTLIBOBJS!$LTLIBOBJS$ac_delim
13115 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
13117 elif $ac_last_try; then
13118 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
13119 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
13120 { (exit 1); exit 1; }; }
13122 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
13126 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
13127 if test -n "$ac_eof"; then
13128 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
13129 ac_eof=`expr $ac_eof + 1`
13132 cat >>$CONFIG_STATUS <<_ACEOF
13133 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
13134 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
13137 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
13138 s/^/s,@/; s/!/@,|#_!!_#|/
13141 s/'"$ac_delim"'$/,g/; t
13143 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
13144 ' >>$CONFIG_STATUS <conf$$subs.sed
13145 rm -f conf$$subs.sed
13146 cat >>$CONFIG_STATUS <<_ACEOF
13153 # VPATH may cause trouble with some makes, so we remove $(srcdir),
13154 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
13155 # trailing colons and then remove the whole line if VPATH becomes empty
13156 # (actually we leave an empty line to preserve line numbers).
13157 if test "x$srcdir" = x.; then
13158 ac_vpsub='/^[ ]*VPATH[ ]*=/{
13159 s/:*\$(srcdir):*/:/
13160 s/:*\${srcdir}:*/:/
13162 s/^\([^=]*=[ ]*\):*/\1/
13168 cat >>$CONFIG_STATUS <<\_ACEOF
13169 fi # test -n "$CONFIG_FILES"
13172 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
13175 :[FHLC]) ac_mode=$ac_tag; continue;;
13177 case $ac_mode$ac_tag in
13179 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
13180 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
13181 { (exit 1); exit 1; }; };;
13182 :[FH]-) ac_tag=-:-;;
13183 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
13200 -) ac_f="$tmp/stdin";;
13201 *) # Look for the file first in the build tree, then in the source tree
13202 # (if the path is not absolute). The absolute path cannot be DOS-style,
13203 # because $ac_f cannot contain `:'.
13207 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
13209 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
13210 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
13211 { (exit 1); exit 1; }; };;
13213 ac_file_inputs="$ac_file_inputs $ac_f"
13216 # Let's still pretend it is `configure' which instantiates (i.e., don't
13217 # use $as_me), people would be surprised to read:
13218 # /* config.h. Generated by config.status. */
13219 configure_input="Generated from "`IFS=:
13220 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
13221 if test x"$ac_file" != x-; then
13222 configure_input="$ac_file. $configure_input"
13223 { echo "$as_me:$LINENO: creating $ac_file" >&5
13224 echo "$as_me: creating $ac_file" >&6;}
13228 *:-:* | *:-) cat >"$tmp/stdin";;
13233 ac_dir=`$as_dirname -- "$ac_file" ||
13234 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13235 X"$ac_file" : 'X\(//\)[^/]' \| \
13236 X"$ac_file" : 'X\(//\)$' \| \
13237 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
13239 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13243 /^X\(\/\/\)[^/].*/{
13258 -*) as_dir=./$as_dir;;
13260 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13264 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13265 *) as_qdir=$as_dir;;
13267 as_dirs="'$as_qdir' $as_dirs"
13268 as_dir=`$as_dirname -- "$as_dir" ||
13269 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13270 X"$as_dir" : 'X\(//\)[^/]' \| \
13271 X"$as_dir" : 'X\(//\)$' \| \
13272 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13274 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13278 /^X\(\/\/\)[^/].*/{
13291 test -d "$as_dir" && break
13293 test -z "$as_dirs" || eval "mkdir $as_dirs"
13294 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13295 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13296 { (exit 1); exit 1; }; }; }
13300 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
13302 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
13303 # A ".." for each directory in $ac_dir_suffix.
13304 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
13305 case $ac_top_builddir_sub in
13306 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
13307 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
13310 ac_abs_top_builddir=$ac_pwd
13311 ac_abs_builddir=$ac_pwd$ac_dir_suffix
13312 # for backward compatibility:
13313 ac_top_builddir=$ac_top_build_prefix
13316 .) # We are building in place.
13318 ac_top_srcdir=$ac_top_builddir_sub
13319 ac_abs_top_srcdir=$ac_pwd ;;
13320 [\\/]* | ?:[\\/]* ) # Absolute name.
13321 ac_srcdir=$srcdir$ac_dir_suffix;
13322 ac_top_srcdir=$srcdir
13323 ac_abs_top_srcdir=$srcdir ;;
13324 *) # Relative name.
13325 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
13326 ac_top_srcdir=$ac_top_build_prefix$srcdir
13327 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
13329 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
13339 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
13340 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
13342 ac_MKDIR_P=$MKDIR_P
13344 [\\/$]* | ?:[\\/]* ) ;;
13345 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
13349 cat >>$CONFIG_STATUS <<\_ACEOF
13350 # If the template does not know about datarootdir, expand it.
13351 # FIXME: This hack should be removed a few years after 2.60.
13352 ac_datarootdir_hack=; ac_datarootdir_seen=
13354 case `sed -n '/datarootdir/ {
13363 ' $ac_file_inputs` in
13364 *datarootdir*) ac_datarootdir_seen=yes;;
13365 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
13366 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
13367 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
13369 cat >>$CONFIG_STATUS <<_ACEOF
13370 ac_datarootdir_hack='
13371 s&@datadir@&$datadir&g
13372 s&@docdir@&$docdir&g
13373 s&@infodir@&$infodir&g
13374 s&@localedir@&$localedir&g
13375 s&@mandir@&$mandir&g
13376 s&\\\${datarootdir}&$datarootdir&g' ;;
13380 # Neutralize VPATH when `$srcdir' = `.'.
13381 # Shell code in configure.ac might set extrasub.
13382 # FIXME: do we really want to maintain this feature?
13383 cat >>$CONFIG_STATUS <<_ACEOF
13387 cat >>$CONFIG_STATUS <<\_ACEOF
13389 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
13390 s&@configure_input@&$configure_input&;t t
13391 s&@top_builddir@&$ac_top_builddir_sub&;t t
13392 s&@srcdir@&$ac_srcdir&;t t
13393 s&@abs_srcdir@&$ac_abs_srcdir&;t t
13394 s&@top_srcdir@&$ac_top_srcdir&;t t
13395 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
13396 s&@builddir@&$ac_builddir&;t t
13397 s&@abs_builddir@&$ac_abs_builddir&;t t
13398 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
13399 s&@INSTALL@&$ac_INSTALL&;t t
13400 s&@MKDIR_P@&$ac_MKDIR_P&;t t
13401 $ac_datarootdir_hack
13402 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
13404 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
13405 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
13406 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
13407 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13408 which seems to be undefined. Please make sure it is defined." >&5
13409 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
13410 which seems to be undefined. Please make sure it is defined." >&2;}
13414 -) cat "$tmp/out"; rm -f "$tmp/out";;
13415 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
13424 # Transform confdefs.h into a sed script `conftest.defines', that
13425 # substitutes the proper values into config.h.in to produce config.h.
13426 rm -f conftest.defines conftest.tail
13427 # First, append a space to every undef/define line, to ease matching.
13428 echo 's/$/ /' >conftest.defines
13429 # Then, protect against being on the right side of a sed subst, or in
13430 # an unquoted here document, in config.status. If some macros were
13431 # called several times there might be several #defines for the same
13432 # symbol, which is useless. But do not sort them, since the last
13433 # AC_DEFINE must be honored.
13434 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
13435 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
13436 # NAME is the cpp macro being defined, VALUE is the value it is being given.
13437 # PARAMS is the parameter list in the macro definition--in most cases, it's
13438 # just an empty string.
13439 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
13440 ac_dB='\\)[ (].*,\\1define\\2'
13448 s/^[ ]*#[ ]*define[ ][ ]*//
13453 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
13454 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
13455 ' >>conftest.defines
13457 # Remove the space that was appended to ease matching.
13458 # Then replace #undef with comments. This is necessary, for
13459 # example, in the case of _POSIX_SOURCE, which is predefined and required
13460 # on some systems where configure will not decide to define it.
13461 # (The regexp can be short, since the line contains either #define or #undef.)
13463 s,^[ #]*u.*,/* & */,' >>conftest.defines
13465 # Break up conftest.defines:
13466 ac_max_sed_lines=50
13468 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
13469 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
13470 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
13472 ac_in='$ac_file_inputs'
13473 ac_out='"$tmp/out1"'
13474 ac_nxt='"$tmp/out2"'
13478 # Write a here document:
13479 cat >>$CONFIG_STATUS <<_ACEOF
13480 # First, check the format of the line:
13481 cat >"\$tmp/defines.sed" <<\\CEOF
13482 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
13483 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
13487 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
13489 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
13490 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
13491 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
13492 grep . conftest.tail >/dev/null || break
13493 rm -f conftest.defines
13494 mv conftest.tail conftest.defines
13496 rm -f conftest.defines conftest.tail
13498 echo "ac_result=$ac_in" >>$CONFIG_STATUS
13499 cat >>$CONFIG_STATUS <<\_ACEOF
13500 if test x"$ac_file" != x-; then
13501 echo "/* $configure_input */" >"$tmp/config.h"
13502 cat "$ac_result" >>"$tmp/config.h"
13503 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
13504 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
13505 echo "$as_me: $ac_file is unchanged" >&6;}
13508 mv "$tmp/config.h" $ac_file
13511 echo "/* $configure_input */"
13515 # Compute $ac_file's index in $config_headers.
13518 for _am_header in $config_headers :; do
13519 case $_am_header in
13520 $_am_arg | $_am_arg:* )
13523 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
13526 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
13527 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13528 X"$_am_arg" : 'X\(//\)[^/]' \| \
13529 X"$_am_arg" : 'X\(//\)$' \| \
13530 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
13532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13536 /^X\(\/\/\)[^/].*/{
13548 s/.*/./; q'`/stamp-h$_am_stamp_count
13551 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
13552 echo "$as_me: executing $ac_file commands" >&6;}
13557 case $ac_file$ac_mode in
13558 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
13559 # Strip MF so we end up with the name of the file.
13560 mf=`echo "$mf" | sed -e 's/:.*$//'`
13561 # Check whether this is an Automake generated Makefile or not.
13562 # We used to match only the files named `Makefile.in', but
13563 # some people rename them; so instead we look at the file content.
13564 # Grep'ing the first line is not enough: some people post-process
13565 # each Makefile.in and add a new line on top of each file to say so.
13566 # Grep'ing the whole file is not good either: AIX grep has a line
13567 # limit of 2048, but all sed's we know have understand at least 4000.
13568 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
13569 dirpart=`$as_dirname -- "$mf" ||
13570 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13571 X"$mf" : 'X\(//\)[^/]' \| \
13572 X"$mf" : 'X\(//\)$' \| \
13573 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
13575 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13579 /^X\(\/\/\)[^/].*/{
13595 # Extract the definition of DEPDIR, am__include, and am__quote
13596 # from the Makefile without running `make'.
13597 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
13598 test -z "$DEPDIR" && continue
13599 am__include=`sed -n 's/^am__include = //p' < "$mf"`
13600 test -z "am__include" && continue
13601 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
13602 # When using ansi2knr, U may be empty or an underscore; expand it
13603 U=`sed -n 's/^U = //p' < "$mf"`
13604 # Find all dependency output files, they are included files with
13605 # $(DEPDIR) in their names. We invoke sed twice because it is the
13606 # simplest approach to changing $(DEPDIR) to its actual value in the
13608 for file in `sed -n "
13609 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
13610 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
13611 # Make sure the directory exists.
13612 test -f "$dirpart/$file" && continue
13613 fdir=`$as_dirname -- "$file" ||
13614 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13615 X"$file" : 'X\(//\)[^/]' \| \
13616 X"$file" : 'X\(//\)$' \| \
13617 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
13619 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13623 /^X\(\/\/\)[^/].*/{
13636 { as_dir=$dirpart/$fdir
13638 -*) as_dir=./$as_dir;;
13640 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
13644 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
13645 *) as_qdir=$as_dir;;
13647 as_dirs="'$as_qdir' $as_dirs"
13648 as_dir=`$as_dirname -- "$as_dir" ||
13649 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
13650 X"$as_dir" : 'X\(//\)[^/]' \| \
13651 X"$as_dir" : 'X\(//\)$' \| \
13652 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
13654 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
13658 /^X\(\/\/\)[^/].*/{
13671 test -d "$as_dir" && break
13673 test -z "$as_dirs" || eval "mkdir $as_dirs"
13674 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
13675 echo "$as_me: error: cannot create directory $as_dir" >&2;}
13676 { (exit 1); exit 1; }; }; }
13677 # echo "creating $dirpart/$file"
13678 echo '# dummy' > "$dirpart/$file"
13687 { (exit 0); exit 0; }
13689 chmod +x $CONFIG_STATUS
13690 ac_clean_files=$ac_clean_files_save
13693 # configure is writing to config.log, and then calls config.status.
13694 # config.status does its own redirection, appending to config.log.
13695 # Unfortunately, on DOS this fails, as config.log is still kept open
13696 # by configure, so config.status won't be able to write to it; its
13697 # output is simply discarded. So we exec the FD to /dev/null,
13698 # effectively closing config.log, so it can be properly (re)opened and
13699 # appended to by config.status. When coming back to configure, we
13700 # need to make the FD available again.
13701 if test "$no_create" != yes; then
13703 ac_config_status_args=
13704 test "$silent" = yes &&
13705 ac_config_status_args="$ac_config_status_args --quiet"
13707 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
13709 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
13710 # would make configure fail if this is the last instruction.
13711 $ac_cs_success || { (exit 1); exit 1; }