2 # From configure.in Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.61.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
8 # This configure script is free software; the Free Software Foundation
9 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 # Be more Bourne compatible
15 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
41 # The user is always right.
42 if test "${PATH_SEPARATOR+set}" != set; then
43 echo "#! /bin/sh" >conf$$.sh
44 echo "exit 0" >>conf$$.sh
46 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
54 # Support unset when possible.
55 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
63 # We need space, tab and new line, in precisely that order. Quoting is
64 # there to prevent editors from complaining about space-tab.
65 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
66 # splitting by setting IFS to empty value.)
71 # Find who we are. Look in the path if we contain no directory separator.
73 *[\\/]* ) as_myself=$0 ;;
74 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78 test -z "$as_dir" && as_dir=.
79 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
85 # We did not find ourselves, most probably we were run as `sh COMMAND'
86 # in which case we are not to be found in the path.
87 if test "x$as_myself" = x; then
90 if test ! -f "$as_myself"; then
91 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
95 # Work around bugs in pre-3.0 UWIN ksh.
96 for as_var in ENV MAIL MAILPATH
97 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
105 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
106 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
109 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
110 eval $as_var=C; export $as_var
112 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
116 # Required to use basename.
117 if expr a : '\(a\)' >/dev/null 2>&1 &&
118 test "X`expr 00001 : '.*\(...\)'`" = X001; then
124 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
131 # Name of the executable.
132 as_me=`$as_basename -- "$0" ||
133 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
134 X"$0" : 'X\(//\)$' \| \
135 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
137 sed '/^.*\/\([^/][^/]*\)\/*$/{
155 if test "x$CONFIG_SHELL" = x; then
156 if (eval ":") 2>/dev/null; then
162 if test $as_have_required = yes && (eval ":
172 as_func_ret_success () {
175 as_func_ret_failure () {
180 if as_func_success; then
184 echo as_func_success failed.
187 if as_func_failure; then
189 echo as_func_failure succeeded.
192 if as_func_ret_success; then
196 echo as_func_ret_success failed.
199 if as_func_ret_failure; then
201 echo as_func_ret_failure succeeded.
204 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
208 echo positional parameters were not saved.
211 test \$exitcode = 0) || { (exit 1); exit 1; }
216 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
217 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
218 ") 2> /dev/null; then
222 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
223 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
226 test -z "$as_dir" && as_dir=.
229 for as_base in sh bash ksh sh5; do
230 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
237 for as_shell in $as_candidate_shells $SHELL; do
238 # Try only shells that exist, to save several forks.
239 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
240 { ("$as_shell") 2> /dev/null <<\_ASEOF
241 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
244 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
245 # is contrary to our usage. Disable this feature.
246 alias -g '${1+"$@"}'='"$@"'
249 case `(set -o) 2>/dev/null` in
250 *posix*) set -o posix ;;
259 CONFIG_SHELL=$as_shell
261 if { "$as_shell" 2> /dev/null <<\_ASEOF
262 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
265 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
266 # is contrary to our usage. Disable this feature.
267 alias -g '${1+"$@"}'='"$@"'
270 case `(set -o) 2>/dev/null` in
271 *posix*) set -o posix ;;
287 as_func_ret_success () {
290 as_func_ret_failure () {
295 if as_func_success; then
299 echo as_func_success failed.
302 if as_func_failure; then
304 echo as_func_failure succeeded.
307 if as_func_ret_success; then
311 echo as_func_ret_success failed.
314 if as_func_ret_failure; then
316 echo as_func_ret_failure succeeded.
319 if ( set x; as_func_ret_success y && test x = "$1" ); then
323 echo positional parameters were not saved.
326 test $exitcode = 0) || { (exit 1); exit 1; }
331 test "x$as_lineno_1" != "x$as_lineno_2" &&
332 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
343 if test "x$CONFIG_SHELL" != x; then
344 for as_var in BASH_ENV ENV
345 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
348 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
352 if test $as_have_required = no; then
353 echo This script requires a shell more modern than all the
354 echo shells that I found on your system. Please install a
355 echo modern shell, or manually run the script under such a
356 echo shell if you do have one.
357 { (exit 1); exit 1; }
367 (eval "as_func_return () {
376 as_func_ret_success () {
379 as_func_ret_failure () {
384 if as_func_success; then
388 echo as_func_success failed.
391 if as_func_failure; then
393 echo as_func_failure succeeded.
396 if as_func_ret_success; then
400 echo as_func_ret_success failed.
403 if as_func_ret_failure; then
405 echo as_func_ret_failure succeeded.
408 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
412 echo positional parameters were not saved.
415 test \$exitcode = 0") || {
416 echo No shell found that supports shell functions.
417 echo Please tell autoconf@gnu.org about your system,
418 echo including any error possibly output before this
426 test "x$as_lineno_1" != "x$as_lineno_2" &&
427 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
429 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
430 # uniformly replaced by the line number. The first 'sed' inserts a
431 # line-number line after each line using $LINENO; the second 'sed'
432 # does the real work. The second script uses 'N' to pair each
433 # line-number line with the line containing $LINENO, and appends
434 # trailing '-' during substitution so that $LINENO is not a special
436 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
437 # scripts with optimization help from Paolo Bonzini. Blame Lee
438 # E. McMahon (1931-1989) for sed's syntax. :-)
450 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
454 chmod +x "$as_me.lineno" ||
455 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
456 { (exit 1); exit 1; }; }
458 # Don't try to exec as it changes $[0], causing all sort of problems
459 # (the dirname of $[0] is not the place where we might find the
460 # original and so on. Autoconf is especially sensitive to this).
462 # Exit status is that of the last command.
467 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
473 ECHO_C= ECHO_N= ECHO_T=
477 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
484 if expr a : '\(a\)' >/dev/null 2>&1 &&
485 test "X`expr 00001 : '.*\(...\)'`" = X001; then
491 rm -f conf$$ conf$$.exe conf$$.file
492 if test -d conf$$.dir; then
493 rm -f conf$$.dir/conf$$.file
499 if ln -s conf$$.file conf$$ 2>/dev/null; then
501 # ... but there are two gotchas:
502 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
503 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
504 # In both cases, we have to default to `cp -p'.
505 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
507 elif ln conf$$.file conf$$ 2>/dev/null; then
512 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
513 rmdir conf$$.dir 2>/dev/null
515 if mkdir -p . 2>/dev/null; then
518 test -d ./-p && rmdir ./-p
522 if test -x / >/dev/null 2>&1; then
525 if ls -dL / >/dev/null 2>&1; then
532 if test -d "$1"; then
538 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
539 ???[sx]*):;;*)false;;esac;fi
543 as_executable_p=$as_test_x
545 # Sed expression to map a string onto a valid CPP name.
546 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
548 # Sed expression to map a string onto a valid variable name.
549 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
553 exec 7<&0 </dev/null 6>&1
556 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
557 # so uname gets run too.
558 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
563 ac_default_prefix=/usr/local
565 ac_config_libobj_dir=.
571 SHELL=${CONFIG_SHELL-/bin/sh}
573 # Identity of this package.
580 ac_unique_file="rlm_krb5.c"
590 program_transform_name
632 ac_precious_vars='build_alias
643 # Initialize some variables set by options.
645 ac_init_version=false
646 # The variables have the same names as the options, with
647 # dashes changed to underlines.
655 program_transform_name=s,x,x,
663 # Installation directory options.
664 # These are left unexpanded so users can "make install exec_prefix=/foo"
665 # and all the variables that are supposed to be based on exec_prefix
666 # by default will actually change.
667 # Use braces instead of parens because sh, perl, etc. also accept them.
668 # (The list follows the same order as the GNU Coding Standards.)
669 bindir='${exec_prefix}/bin'
670 sbindir='${exec_prefix}/sbin'
671 libexecdir='${exec_prefix}/libexec'
672 datarootdir='${prefix}/share'
673 datadir='${datarootdir}'
674 sysconfdir='${prefix}/etc'
675 sharedstatedir='${prefix}/com'
676 localstatedir='${prefix}/var'
677 includedir='${prefix}/include'
678 oldincludedir='/usr/include'
679 docdir='${datarootdir}/doc/${PACKAGE}'
680 infodir='${datarootdir}/info'
685 libdir='${exec_prefix}/lib'
686 localedir='${datarootdir}/locale'
687 mandir='${datarootdir}/man'
693 # If the previous option needs an argument, assign it.
694 if test -n "$ac_prev"; then
695 eval $ac_prev=\$ac_option
701 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
705 # Accept the important Cygnus configure options, so we can diagnose typos.
707 case $ac_dashdash$ac_option in
711 -bindir | --bindir | --bindi | --bind | --bin | --bi)
713 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
716 -build | --build | --buil | --bui | --bu)
717 ac_prev=build_alias ;;
718 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
719 build_alias=$ac_optarg ;;
721 -cache-file | --cache-file | --cache-fil | --cache-fi \
722 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
723 ac_prev=cache_file ;;
724 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
725 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
726 cache_file=$ac_optarg ;;
729 cache_file=config.cache ;;
731 -datadir | --datadir | --datadi | --datad)
733 -datadir=* | --datadir=* | --datadi=* | --datad=*)
734 datadir=$ac_optarg ;;
736 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
737 | --dataroo | --dataro | --datar)
738 ac_prev=datarootdir ;;
739 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
740 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
741 datarootdir=$ac_optarg ;;
743 -disable-* | --disable-*)
744 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
745 # Reject names that are not valid shell variable names.
746 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
747 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
748 { (exit 1); exit 1; }; }
749 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
750 eval enable_$ac_feature=no ;;
752 -docdir | --docdir | --docdi | --doc | --do)
754 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
757 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
759 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
762 -enable-* | --enable-*)
763 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
764 # Reject names that are not valid shell variable names.
765 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
766 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
767 { (exit 1); exit 1; }; }
768 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
769 eval enable_$ac_feature=\$ac_optarg ;;
771 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
772 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
773 | --exec | --exe | --ex)
774 ac_prev=exec_prefix ;;
775 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
776 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
777 | --exec=* | --exe=* | --ex=*)
778 exec_prefix=$ac_optarg ;;
780 -gas | --gas | --ga | --g)
781 # Obsolete; use --with-gas.
784 -help | --help | --hel | --he | -h)
786 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
787 ac_init_help=recursive ;;
788 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
789 ac_init_help=short ;;
791 -host | --host | --hos | --ho)
792 ac_prev=host_alias ;;
793 -host=* | --host=* | --hos=* | --ho=*)
794 host_alias=$ac_optarg ;;
796 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
798 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
800 htmldir=$ac_optarg ;;
802 -includedir | --includedir | --includedi | --included | --include \
803 | --includ | --inclu | --incl | --inc)
804 ac_prev=includedir ;;
805 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
806 | --includ=* | --inclu=* | --incl=* | --inc=*)
807 includedir=$ac_optarg ;;
809 -infodir | --infodir | --infodi | --infod | --info | --inf)
811 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
812 infodir=$ac_optarg ;;
814 -libdir | --libdir | --libdi | --libd)
816 -libdir=* | --libdir=* | --libdi=* | --libd=*)
819 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
820 | --libexe | --libex | --libe)
821 ac_prev=libexecdir ;;
822 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
823 | --libexe=* | --libex=* | --libe=*)
824 libexecdir=$ac_optarg ;;
826 -localedir | --localedir | --localedi | --localed | --locale)
828 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
829 localedir=$ac_optarg ;;
831 -localstatedir | --localstatedir | --localstatedi | --localstated \
832 | --localstate | --localstat | --localsta | --localst | --locals)
833 ac_prev=localstatedir ;;
834 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
835 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
836 localstatedir=$ac_optarg ;;
838 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
840 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
844 # Obsolete; use --without-fp.
847 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
848 | --no-cr | --no-c | -n)
851 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
855 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
856 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
857 | --oldin | --oldi | --old | --ol | --o)
858 ac_prev=oldincludedir ;;
859 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
860 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
861 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
862 oldincludedir=$ac_optarg ;;
864 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
866 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
869 -program-prefix | --program-prefix | --program-prefi | --program-pref \
870 | --program-pre | --program-pr | --program-p)
871 ac_prev=program_prefix ;;
872 -program-prefix=* | --program-prefix=* | --program-prefi=* \
873 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
874 program_prefix=$ac_optarg ;;
876 -program-suffix | --program-suffix | --program-suffi | --program-suff \
877 | --program-suf | --program-su | --program-s)
878 ac_prev=program_suffix ;;
879 -program-suffix=* | --program-suffix=* | --program-suffi=* \
880 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
881 program_suffix=$ac_optarg ;;
883 -program-transform-name | --program-transform-name \
884 | --program-transform-nam | --program-transform-na \
885 | --program-transform-n | --program-transform- \
886 | --program-transform | --program-transfor \
887 | --program-transfo | --program-transf \
888 | --program-trans | --program-tran \
889 | --progr-tra | --program-tr | --program-t)
890 ac_prev=program_transform_name ;;
891 -program-transform-name=* | --program-transform-name=* \
892 | --program-transform-nam=* | --program-transform-na=* \
893 | --program-transform-n=* | --program-transform-=* \
894 | --program-transform=* | --program-transfor=* \
895 | --program-transfo=* | --program-transf=* \
896 | --program-trans=* | --program-tran=* \
897 | --progr-tra=* | --program-tr=* | --program-t=*)
898 program_transform_name=$ac_optarg ;;
900 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
902 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
905 -psdir | --psdir | --psdi | --psd | --ps)
907 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
910 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
911 | -silent | --silent | --silen | --sile | --sil)
914 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
916 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
918 sbindir=$ac_optarg ;;
920 -sharedstatedir | --sharedstatedir | --sharedstatedi \
921 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
922 | --sharedst | --shareds | --shared | --share | --shar \
924 ac_prev=sharedstatedir ;;
925 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
926 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
927 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
929 sharedstatedir=$ac_optarg ;;
931 -site | --site | --sit)
933 -site=* | --site=* | --sit=*)
936 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
938 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
941 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
942 | --syscon | --sysco | --sysc | --sys | --sy)
943 ac_prev=sysconfdir ;;
944 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
945 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
946 sysconfdir=$ac_optarg ;;
948 -target | --target | --targe | --targ | --tar | --ta | --t)
949 ac_prev=target_alias ;;
950 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
951 target_alias=$ac_optarg ;;
953 -v | -verbose | --verbose | --verbos | --verbo | --verb)
956 -version | --version | --versio | --versi | --vers | -V)
960 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
963 { echo "$as_me: error: invalid package name: $ac_package" >&2
964 { (exit 1); exit 1; }; }
965 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
966 eval with_$ac_package=\$ac_optarg ;;
968 -without-* | --without-*)
969 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
970 # Reject names that are not valid shell variable names.
971 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
972 { echo "$as_me: error: invalid package name: $ac_package" >&2
973 { (exit 1); exit 1; }; }
974 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
975 eval with_$ac_package=no ;;
978 # Obsolete; use --with-x.
981 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
982 | --x-incl | --x-inc | --x-in | --x-i)
983 ac_prev=x_includes ;;
984 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
985 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
986 x_includes=$ac_optarg ;;
988 -x-libraries | --x-libraries | --x-librarie | --x-librari \
989 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
990 ac_prev=x_libraries ;;
991 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
992 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
993 x_libraries=$ac_optarg ;;
995 -*) { echo "$as_me: error: unrecognized option: $ac_option
996 Try \`$0 --help' for more information." >&2
997 { (exit 1); exit 1; }; }
1001 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1002 # Reject names that are not valid shell variable names.
1003 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1004 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1005 { (exit 1); exit 1; }; }
1006 eval $ac_envvar=\$ac_optarg
1007 export $ac_envvar ;;
1010 # FIXME: should be removed in autoconf 3.0.
1011 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1012 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1013 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1014 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1020 if test -n "$ac_prev"; then
1021 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1022 { echo "$as_me: error: missing argument to $ac_option" >&2
1023 { (exit 1); exit 1; }; }
1026 # Be sure to have absolute directory names.
1027 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1028 datadir sysconfdir sharedstatedir localstatedir includedir \
1029 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1030 libdir localedir mandir
1032 eval ac_val=\$$ac_var
1034 [\\/$]* | ?:[\\/]* ) continue;;
1035 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1037 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1038 { (exit 1); exit 1; }; }
1041 # There might be people who depend on the old broken behavior: `$host'
1042 # used to hold the argument of --host etc.
1043 # FIXME: To remove some day.
1046 target=$target_alias
1048 # FIXME: To remove some day.
1049 if test "x$host_alias" != x; then
1050 if test "x$build_alias" = x; then
1051 cross_compiling=maybe
1052 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1053 If a cross compiler is detected then cross compile mode will be used." >&2
1054 elif test "x$build_alias" != "x$host_alias"; then
1060 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1062 test "$silent" = yes && exec 6>/dev/null
1065 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1066 ac_ls_di=`ls -di .` &&
1067 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1068 { echo "$as_me: error: Working directory cannot be determined" >&2
1069 { (exit 1); exit 1; }; }
1070 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1071 { echo "$as_me: error: pwd does not report name of working directory" >&2
1072 { (exit 1); exit 1; }; }
1075 # Find the source files, if location was not specified.
1076 if test -z "$srcdir"; then
1077 ac_srcdir_defaulted=yes
1078 # Try the directory containing this script, then the parent directory.
1079 ac_confdir=`$as_dirname -- "$0" ||
1080 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1081 X"$0" : 'X\(//\)[^/]' \| \
1082 X"$0" : 'X\(//\)$' \| \
1083 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1085 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1103 if test ! -r "$srcdir/$ac_unique_file"; then
1107 ac_srcdir_defaulted=no
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1110 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1111 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1112 { (exit 1); exit 1; }; }
1114 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1116 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1117 { (exit 1); exit 1; }; }
1119 # When building in place, set srcdir=.
1120 if test "$ac_abs_confdir" = "$ac_pwd"; then
1123 # Remove unnecessary trailing slashes from srcdir.
1124 # Double slashes in file names in object file debugging info
1125 # mess up M-x gdb in Emacs.
1127 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1129 for ac_var in $ac_precious_vars; do
1130 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1131 eval ac_env_${ac_var}_value=\$${ac_var}
1132 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1133 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1137 # Report the --help message.
1139 if test "$ac_init_help" = "long"; then
1140 # Omit some internal or obsolete options to make the list less imposing.
1141 # This message is too long to be a string in the A/UX 3.1 sh.
1143 \`configure' configures this package to adapt to many kinds of systems.
1145 Usage: $0 [OPTION]... [VAR=VALUE]...
1147 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1148 VAR=VALUE. See below for descriptions of some of the useful variables.
1150 Defaults for the options are specified in brackets.
1153 -h, --help display this help and exit
1154 --help=short display options specific to this package
1155 --help=recursive display the short help of all the included packages
1156 -V, --version display version information and exit
1157 -q, --quiet, --silent do not print \`checking...' messages
1158 --cache-file=FILE cache test results in FILE [disabled]
1159 -C, --config-cache alias for \`--cache-file=config.cache'
1160 -n, --no-create do not create output files
1161 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1163 Installation directories:
1164 --prefix=PREFIX install architecture-independent files in PREFIX
1165 [$ac_default_prefix]
1166 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1169 By default, \`make install' will install all the files in
1170 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1171 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1172 for instance \`--prefix=\$HOME'.
1174 For better control, use the options below.
1176 Fine tuning of the installation directories:
1177 --bindir=DIR user executables [EPREFIX/bin]
1178 --sbindir=DIR system admin executables [EPREFIX/sbin]
1179 --libexecdir=DIR program executables [EPREFIX/libexec]
1180 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1181 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1182 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1183 --libdir=DIR object code libraries [EPREFIX/lib]
1184 --includedir=DIR C header files [PREFIX/include]
1185 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1186 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1187 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1188 --infodir=DIR info documentation [DATAROOTDIR/info]
1189 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1190 --mandir=DIR man documentation [DATAROOTDIR/man]
1191 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1192 --htmldir=DIR html documentation [DOCDIR]
1193 --dvidir=DIR dvi documentation [DOCDIR]
1194 --pdfdir=DIR pdf documentation [DOCDIR]
1195 --psdir=DIR ps documentation [DOCDIR]
1202 if test -n "$ac_init_help"; then
1207 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1208 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1209 --enable-heimdal-krb5 Enable if you have heimdal krb5
1212 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1213 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1214 --with-rlm-krb5-lib-dir=DIR Directory for krb5 library files
1215 --with-rlm-krb5-include-dir=DIR Directory for krb5 include files
1217 Some influential environment variables:
1218 CC C compiler command
1219 CFLAGS C compiler flags
1220 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1221 nonstandard directory <lib dir>
1222 LIBS libraries to pass to the linker, e.g. -l<library>
1223 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1224 you have headers in a nonstandard directory <include dir>
1227 Use these variables to override the choices made by `configure' or to help
1228 it to find libraries and programs with nonstandard names/locations.
1234 if test "$ac_init_help" = "recursive"; then
1235 # If there are subdirs, report their specific --help.
1236 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1237 test -d "$ac_dir" || continue
1241 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1243 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1244 # A ".." for each directory in $ac_dir_suffix.
1245 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1246 case $ac_top_builddir_sub in
1247 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1248 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1251 ac_abs_top_builddir=$ac_pwd
1252 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1253 # for backward compatibility:
1254 ac_top_builddir=$ac_top_build_prefix
1257 .) # We are building in place.
1259 ac_top_srcdir=$ac_top_builddir_sub
1260 ac_abs_top_srcdir=$ac_pwd ;;
1261 [\\/]* | ?:[\\/]* ) # Absolute name.
1262 ac_srcdir=$srcdir$ac_dir_suffix;
1263 ac_top_srcdir=$srcdir
1264 ac_abs_top_srcdir=$srcdir ;;
1266 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1267 ac_top_srcdir=$ac_top_build_prefix$srcdir
1268 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1270 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1272 cd "$ac_dir" || { ac_status=$?; continue; }
1273 # Check for guested configure.
1274 if test -f "$ac_srcdir/configure.gnu"; then
1276 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1277 elif test -f "$ac_srcdir/configure"; then
1279 $SHELL "$ac_srcdir/configure" --help=recursive
1281 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1283 cd "$ac_pwd" || { ac_status=$?; break; }
1287 test -n "$ac_init_help" && exit $ac_status
1288 if $ac_init_version; then
1291 generated by GNU Autoconf 2.61
1293 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1294 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1295 This configure script is free software; the Free Software Foundation
1296 gives unlimited permission to copy, distribute and modify it.
1300 cat >config.log <<_ACEOF
1301 This file contains any messages produced by compilers while
1302 running configure, to aid debugging if configure makes a mistake.
1304 It was created by $as_me, which was
1305 generated by GNU Autoconf 2.61. Invocation command line was
1317 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1318 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1319 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1320 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1321 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1323 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1324 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1326 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1327 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1328 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1329 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1330 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1331 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1332 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1340 test -z "$as_dir" && as_dir=.
1341 echo "PATH: $as_dir"
1357 # Keep a trace of the command line.
1358 # Strip out --no-create and --no-recursion so they do not pile up.
1359 # Strip out --silent because we don't want to record it for future runs.
1360 # Also quote any args containing shell meta-characters.
1361 # Make two passes to allow for proper duplicate-argument suppression.
1365 ac_must_keep_next=false
1371 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1373 | -silent | --silent | --silen | --sile | --sil)
1376 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1379 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1381 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1382 if test $ac_must_keep_next = true; then
1383 ac_must_keep_next=false # Got value, back to normal.
1386 *=* | --config-cache | -C | -disable-* | --disable-* \
1387 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1388 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1389 | -with-* | --with-* | -without-* | --without-* | --x)
1390 case "$ac_configure_args0 " in
1391 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1394 -* ) ac_must_keep_next=true ;;
1397 ac_configure_args="$ac_configure_args '$ac_arg'"
1402 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1403 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1405 # When interrupted or exit'd, cleanup temporary files, and complete
1406 # config.log. We remove comments because anyway the quotes in there
1407 # would cause problems or look ugly.
1408 # WARNING: Use '\'' to represent an apostrophe within the trap.
1409 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1410 trap 'exit_status=$?
1411 # Save into config.log some information that might help in debugging.
1416 ## ---------------- ##
1417 ## Cache variables. ##
1418 ## ---------------- ##
1421 # The following way of writing the cache mishandles newlines in values,
1423 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1424 eval ac_val=\$$ac_var
1428 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1429 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1432 _ | IFS | as_nl) ;; #(
1433 *) $as_unset $ac_var ;;
1438 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1439 *${as_nl}ac_space=\ *)
1441 "s/'\''/'\''\\\\'\'''\''/g;
1442 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1445 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1453 ## ----------------- ##
1454 ## Output variables. ##
1455 ## ----------------- ##
1458 for ac_var in $ac_subst_vars
1460 eval ac_val=\$$ac_var
1462 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1464 echo "$ac_var='\''$ac_val'\''"
1468 if test -n "$ac_subst_files"; then
1470 ## ------------------- ##
1471 ## File substitutions. ##
1472 ## ------------------- ##
1475 for ac_var in $ac_subst_files
1477 eval ac_val=\$$ac_var
1479 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1481 echo "$ac_var='\''$ac_val'\''"
1486 if test -s confdefs.h; then
1496 test "$ac_signal" != 0 &&
1497 echo "$as_me: caught signal $ac_signal"
1498 echo "$as_me: exit $exit_status"
1500 rm -f core *.core core.conftest.* &&
1501 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1504 for ac_signal in 1 2 13 15; do
1505 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1509 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1510 rm -f -r conftest* confdefs.h
1512 # Predefined preprocessor variables.
1514 cat >>confdefs.h <<_ACEOF
1515 #define PACKAGE_NAME "$PACKAGE_NAME"
1519 cat >>confdefs.h <<_ACEOF
1520 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1524 cat >>confdefs.h <<_ACEOF
1525 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1529 cat >>confdefs.h <<_ACEOF
1530 #define PACKAGE_STRING "$PACKAGE_STRING"
1534 cat >>confdefs.h <<_ACEOF
1535 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1539 # Let the site file select an alternate cache file if it wants to.
1540 # Prefer explicitly selected file to automatically selected ones.
1541 if test -n "$CONFIG_SITE"; then
1542 set x "$CONFIG_SITE"
1543 elif test "x$prefix" != xNONE; then
1544 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1546 set x "$ac_default_prefix/share/config.site" \
1547 "$ac_default_prefix/etc/config.site"
1552 if test -r "$ac_site_file"; then
1553 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1554 echo "$as_me: loading site script $ac_site_file" >&6;}
1555 sed 's/^/| /' "$ac_site_file" >&5
1560 if test -r "$cache_file"; then
1561 # Some versions of bash will fail to source /dev/null (special
1562 # files actually), so we avoid doing that.
1563 if test -f "$cache_file"; then
1564 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1565 echo "$as_me: loading cache $cache_file" >&6;}
1567 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1568 *) . "./$cache_file";;
1572 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1573 echo "$as_me: creating cache $cache_file" >&6;}
1577 # Check that the precious variables saved in the cache have kept the same
1579 ac_cache_corrupted=false
1580 for ac_var in $ac_precious_vars; do
1581 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1582 eval ac_new_set=\$ac_env_${ac_var}_set
1583 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1584 eval ac_new_val=\$ac_env_${ac_var}_value
1585 case $ac_old_set,$ac_new_set in
1587 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1588 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1589 ac_cache_corrupted=: ;;
1591 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1592 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1593 ac_cache_corrupted=: ;;
1596 if test "x$ac_old_val" != "x$ac_new_val"; then
1597 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1598 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1599 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1600 echo "$as_me: former value: $ac_old_val" >&2;}
1601 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1602 echo "$as_me: current value: $ac_new_val" >&2;}
1603 ac_cache_corrupted=:
1606 # Pass precious variables to config.status.
1607 if test "$ac_new_set" = set; then
1609 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1610 *) ac_arg=$ac_var=$ac_new_val ;;
1612 case " $ac_configure_args " in
1613 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1614 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1618 if $ac_cache_corrupted; then
1619 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1620 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1621 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1622 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1623 { (exit 1); exit 1; }; }
1643 ac_cpp='$CPP $CPPFLAGS'
1644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1652 if test x$with_rlm_krb5 != xno; then
1655 ac_cpp='$CPP $CPPFLAGS'
1656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1659 if test -n "$ac_tool_prefix"; then
1660 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1661 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1662 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1663 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1664 if test "${ac_cv_prog_CC+set}" = set; then
1665 echo $ECHO_N "(cached) $ECHO_C" >&6
1667 if test -n "$CC"; then
1668 ac_cv_prog_CC="$CC" # Let the user override the test.
1670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1674 test -z "$as_dir" && as_dir=.
1675 for ac_exec_ext in '' $ac_executable_extensions; do
1676 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1677 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1678 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1688 if test -n "$CC"; then
1689 { echo "$as_me:$LINENO: result: $CC" >&5
1690 echo "${ECHO_T}$CC" >&6; }
1692 { echo "$as_me:$LINENO: result: no" >&5
1693 echo "${ECHO_T}no" >&6; }
1698 if test -z "$ac_cv_prog_CC"; then
1700 # Extract the first word of "gcc", so it can be a program name with args.
1701 set dummy gcc; ac_word=$2
1702 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1703 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1704 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1705 echo $ECHO_N "(cached) $ECHO_C" >&6
1707 if test -n "$ac_ct_CC"; then
1708 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1710 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1714 test -z "$as_dir" && as_dir=.
1715 for ac_exec_ext in '' $ac_executable_extensions; do
1716 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1717 ac_cv_prog_ac_ct_CC="gcc"
1718 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1727 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1728 if test -n "$ac_ct_CC"; then
1729 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1730 echo "${ECHO_T}$ac_ct_CC" >&6; }
1732 { echo "$as_me:$LINENO: result: no" >&5
1733 echo "${ECHO_T}no" >&6; }
1736 if test "x$ac_ct_CC" = x; then
1739 case $cross_compiling:$ac_tool_warned in
1741 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1742 whose name does not start with the host triplet. If you think this
1743 configuration is useful to you, please write to autoconf@gnu.org." >&5
1744 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1745 whose name does not start with the host triplet. If you think this
1746 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1747 ac_tool_warned=yes ;;
1755 if test -z "$CC"; then
1756 if test -n "$ac_tool_prefix"; then
1757 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1758 set dummy ${ac_tool_prefix}cc; ac_word=$2
1759 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1760 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1761 if test "${ac_cv_prog_CC+set}" = set; then
1762 echo $ECHO_N "(cached) $ECHO_C" >&6
1764 if test -n "$CC"; then
1765 ac_cv_prog_CC="$CC" # Let the user override the test.
1767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1771 test -z "$as_dir" && as_dir=.
1772 for ac_exec_ext in '' $ac_executable_extensions; do
1773 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1774 ac_cv_prog_CC="${ac_tool_prefix}cc"
1775 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1785 if test -n "$CC"; then
1786 { echo "$as_me:$LINENO: result: $CC" >&5
1787 echo "${ECHO_T}$CC" >&6; }
1789 { echo "$as_me:$LINENO: result: no" >&5
1790 echo "${ECHO_T}no" >&6; }
1796 if test -z "$CC"; then
1797 # Extract the first word of "cc", so it can be a program name with args.
1798 set dummy cc; ac_word=$2
1799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1801 if test "${ac_cv_prog_CC+set}" = set; then
1802 echo $ECHO_N "(cached) $ECHO_C" >&6
1804 if test -n "$CC"; then
1805 ac_cv_prog_CC="$CC" # Let the user override the test.
1808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1812 test -z "$as_dir" && as_dir=.
1813 for ac_exec_ext in '' $ac_executable_extensions; do
1814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1815 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1816 ac_prog_rejected=yes
1820 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1827 if test $ac_prog_rejected = yes; then
1828 # We found a bogon in the path, so make sure we never use it.
1829 set dummy $ac_cv_prog_CC
1831 if test $# != 0; then
1832 # We chose a different compiler from the bogus one.
1833 # However, it has the same basename, so the bogon will be chosen
1834 # first if we set CC to just the basename; use the full file name.
1836 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1842 if test -n "$CC"; then
1843 { echo "$as_me:$LINENO: result: $CC" >&5
1844 echo "${ECHO_T}$CC" >&6; }
1846 { echo "$as_me:$LINENO: result: no" >&5
1847 echo "${ECHO_T}no" >&6; }
1852 if test -z "$CC"; then
1853 if test -n "$ac_tool_prefix"; then
1854 for ac_prog in cl.exe
1856 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1857 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1858 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1859 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1860 if test "${ac_cv_prog_CC+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1863 if test -n "$CC"; then
1864 ac_cv_prog_CC="$CC" # Let the user override the test.
1866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1870 test -z "$as_dir" && as_dir=.
1871 for ac_exec_ext in '' $ac_executable_extensions; do
1872 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1873 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1884 if test -n "$CC"; then
1885 { echo "$as_me:$LINENO: result: $CC" >&5
1886 echo "${ECHO_T}$CC" >&6; }
1888 { echo "$as_me:$LINENO: result: no" >&5
1889 echo "${ECHO_T}no" >&6; }
1893 test -n "$CC" && break
1896 if test -z "$CC"; then
1898 for ac_prog in cl.exe
1900 # Extract the first word of "$ac_prog", so it can be a program name with args.
1901 set dummy $ac_prog; ac_word=$2
1902 { echo "$as_me:$LINENO: checking for $ac_word" >&5
1903 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
1904 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1905 echo $ECHO_N "(cached) $ECHO_C" >&6
1907 if test -n "$ac_ct_CC"; then
1908 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1914 test -z "$as_dir" && as_dir=.
1915 for ac_exec_ext in '' $ac_executable_extensions; do
1916 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1917 ac_cv_prog_ac_ct_CC="$ac_prog"
1918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1927 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1928 if test -n "$ac_ct_CC"; then
1929 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1930 echo "${ECHO_T}$ac_ct_CC" >&6; }
1932 { echo "$as_me:$LINENO: result: no" >&5
1933 echo "${ECHO_T}no" >&6; }
1937 test -n "$ac_ct_CC" && break
1940 if test "x$ac_ct_CC" = x; then
1943 case $cross_compiling:$ac_tool_warned in
1945 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
1946 whose name does not start with the host triplet. If you think this
1947 configuration is useful to you, please write to autoconf@gnu.org." >&5
1948 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
1949 whose name does not start with the host triplet. If you think this
1950 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
1951 ac_tool_warned=yes ;;
1960 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
1961 See \`config.log' for more details." >&5
1962 echo "$as_me: error: no acceptable C compiler found in \$PATH
1963 See \`config.log' for more details." >&2;}
1964 { (exit 1); exit 1; }; }
1966 # Provide some information about the compiler.
1967 echo "$as_me:$LINENO: checking for C compiler version" >&5
1968 ac_compiler=`set X $ac_compile; echo $2`
1969 { (ac_try="$ac_compiler --version >&5"
1971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1972 *) ac_try_echo=$ac_try;;
1974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1975 (eval "$ac_compiler --version >&5") 2>&5
1977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1978 (exit $ac_status); }
1979 { (ac_try="$ac_compiler -v >&5"
1981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1982 *) ac_try_echo=$ac_try;;
1984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1985 (eval "$ac_compiler -v >&5") 2>&5
1987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1988 (exit $ac_status); }
1989 { (ac_try="$ac_compiler -V >&5"
1991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1992 *) ac_try_echo=$ac_try;;
1994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1995 (eval "$ac_compiler -V >&5") 2>&5
1997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
1998 (exit $ac_status); }
2000 cat >conftest.$ac_ext <<_ACEOF
2003 cat confdefs.h >>conftest.$ac_ext
2004 cat >>conftest.$ac_ext <<_ACEOF
2005 /* end confdefs.h. */
2015 ac_clean_files_save=$ac_clean_files
2016 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2017 # Try to create an executable without -o first, disregard a.out.
2018 # It will help us diagnose broken compilers, and finding out an intuition
2020 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2021 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
2022 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2024 # List of possible output files, starting from the most likely.
2025 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2026 # only as a last resort. b.out is created by i960 compilers.
2027 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2029 # The IRIX 6 linker writes into existing files which may not be
2030 # executable, retaining their permissions. Remove them first so a
2031 # subsequent execution test works.
2033 for ac_file in $ac_files
2036 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2037 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2042 if { (ac_try="$ac_link_default"
2044 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2045 *) ac_try_echo=$ac_try;;
2047 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2048 (eval "$ac_link_default") 2>&5
2050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2051 (exit $ac_status); }; then
2052 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2053 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2054 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2055 # so that the user can short-circuit this test for compilers unknown to
2057 for ac_file in $ac_files ''
2059 test -f "$ac_file" || continue
2061 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2064 # We found the default executable, but exeext='' is most
2068 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2070 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2072 # We set ac_cv_exeext here because the later test for it is not
2073 # safe: cross compilers may not add the suffix if given an `-o'
2074 # argument, so we may need to know it at that point already.
2075 # Even if this section looks crufty: it has the advantage of
2082 test "$ac_cv_exeext" = no && ac_cv_exeext=
2088 { echo "$as_me:$LINENO: result: $ac_file" >&5
2089 echo "${ECHO_T}$ac_file" >&6; }
2090 if test -z "$ac_file"; then
2091 echo "$as_me: failed program was:" >&5
2092 sed 's/^/| /' conftest.$ac_ext >&5
2094 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
2095 See \`config.log' for more details." >&5
2096 echo "$as_me: error: C compiler cannot create executables
2097 See \`config.log' for more details." >&2;}
2098 { (exit 77); exit 77; }; }
2101 ac_exeext=$ac_cv_exeext
2103 # Check that the compiler produces executables we can run. If not, either
2104 # the compiler is broken, or we cross compile.
2105 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2106 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
2107 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2108 # If not cross compiling, check that we can run a simple program.
2109 if test "$cross_compiling" != yes; then
2110 if { ac_try='./$ac_file'
2111 { (case "(($ac_try" in
2112 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2113 *) ac_try_echo=$ac_try;;
2115 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2116 (eval "$ac_try") 2>&5
2118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2119 (exit $ac_status); }; }; then
2122 if test "$cross_compiling" = maybe; then
2125 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2126 If you meant to cross compile, use \`--host'.
2127 See \`config.log' for more details." >&5
2128 echo "$as_me: error: cannot run C compiled programs.
2129 If you meant to cross compile, use \`--host'.
2130 See \`config.log' for more details." >&2;}
2131 { (exit 1); exit 1; }; }
2135 { echo "$as_me:$LINENO: result: yes" >&5
2136 echo "${ECHO_T}yes" >&6; }
2138 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2139 ac_clean_files=$ac_clean_files_save
2140 # Check that the compiler produces executables we can run. If not, either
2141 # the compiler is broken, or we cross compile.
2142 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2143 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2144 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2145 echo "${ECHO_T}$cross_compiling" >&6; }
2147 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2148 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2149 if { (ac_try="$ac_link"
2151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2152 *) ac_try_echo=$ac_try;;
2154 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2155 (eval "$ac_link") 2>&5
2157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2158 (exit $ac_status); }; then
2159 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2160 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2161 # work properly (i.e., refer to `conftest.exe'), while it won't with
2163 for ac_file in conftest.exe conftest conftest.*; do
2164 test -f "$ac_file" || continue
2166 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2167 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2173 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2174 See \`config.log' for more details." >&5
2175 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2176 See \`config.log' for more details." >&2;}
2177 { (exit 1); exit 1; }; }
2180 rm -f conftest$ac_cv_exeext
2181 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2182 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2184 rm -f conftest.$ac_ext
2185 EXEEXT=$ac_cv_exeext
2187 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2188 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2189 if test "${ac_cv_objext+set}" = set; then
2190 echo $ECHO_N "(cached) $ECHO_C" >&6
2192 cat >conftest.$ac_ext <<_ACEOF
2195 cat confdefs.h >>conftest.$ac_ext
2196 cat >>conftest.$ac_ext <<_ACEOF
2197 /* end confdefs.h. */
2207 rm -f conftest.o conftest.obj
2208 if { (ac_try="$ac_compile"
2210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2211 *) ac_try_echo=$ac_try;;
2213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2214 (eval "$ac_compile") 2>&5
2216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2217 (exit $ac_status); }; then
2218 for ac_file in conftest.o conftest.obj conftest.*; do
2219 test -f "$ac_file" || continue;
2221 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2222 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2227 echo "$as_me: failed program was:" >&5
2228 sed 's/^/| /' conftest.$ac_ext >&5
2230 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2231 See \`config.log' for more details." >&5
2232 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2233 See \`config.log' for more details." >&2;}
2234 { (exit 1); exit 1; }; }
2237 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2239 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2240 echo "${ECHO_T}$ac_cv_objext" >&6; }
2241 OBJEXT=$ac_cv_objext
2243 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2244 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
2245 if test "${ac_cv_c_compiler_gnu+set}" = set; then
2246 echo $ECHO_N "(cached) $ECHO_C" >&6
2248 cat >conftest.$ac_ext <<_ACEOF
2251 cat confdefs.h >>conftest.$ac_ext
2252 cat >>conftest.$ac_ext <<_ACEOF
2253 /* end confdefs.h. */
2266 rm -f conftest.$ac_objext
2267 if { (ac_try="$ac_compile"
2269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2270 *) ac_try_echo=$ac_try;;
2272 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2273 (eval "$ac_compile") 2>conftest.er1
2275 grep -v '^ *+' conftest.er1 >conftest.err
2277 cat conftest.err >&5
2278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2279 (exit $ac_status); } && {
2280 test -z "$ac_c_werror_flag" ||
2281 test ! -s conftest.err
2282 } && test -s conftest.$ac_objext; then
2285 echo "$as_me: failed program was:" >&5
2286 sed 's/^/| /' conftest.$ac_ext >&5
2291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2292 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2295 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2296 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
2297 GCC=`test $ac_compiler_gnu = yes && echo yes`
2298 ac_test_CFLAGS=${CFLAGS+set}
2299 ac_save_CFLAGS=$CFLAGS
2300 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2301 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
2302 if test "${ac_cv_prog_cc_g+set}" = set; then
2303 echo $ECHO_N "(cached) $ECHO_C" >&6
2305 ac_save_c_werror_flag=$ac_c_werror_flag
2306 ac_c_werror_flag=yes
2309 cat >conftest.$ac_ext <<_ACEOF
2312 cat confdefs.h >>conftest.$ac_ext
2313 cat >>conftest.$ac_ext <<_ACEOF
2314 /* end confdefs.h. */
2324 rm -f conftest.$ac_objext
2325 if { (ac_try="$ac_compile"
2327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2328 *) ac_try_echo=$ac_try;;
2330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2331 (eval "$ac_compile") 2>conftest.er1
2333 grep -v '^ *+' conftest.er1 >conftest.err
2335 cat conftest.err >&5
2336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2337 (exit $ac_status); } && {
2338 test -z "$ac_c_werror_flag" ||
2339 test ! -s conftest.err
2340 } && test -s conftest.$ac_objext; then
2343 echo "$as_me: failed program was:" >&5
2344 sed 's/^/| /' conftest.$ac_ext >&5
2347 cat >conftest.$ac_ext <<_ACEOF
2350 cat confdefs.h >>conftest.$ac_ext
2351 cat >>conftest.$ac_ext <<_ACEOF
2352 /* end confdefs.h. */
2362 rm -f conftest.$ac_objext
2363 if { (ac_try="$ac_compile"
2365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2366 *) ac_try_echo=$ac_try;;
2368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2369 (eval "$ac_compile") 2>conftest.er1
2371 grep -v '^ *+' conftest.er1 >conftest.err
2373 cat conftest.err >&5
2374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2375 (exit $ac_status); } && {
2376 test -z "$ac_c_werror_flag" ||
2377 test ! -s conftest.err
2378 } && test -s conftest.$ac_objext; then
2381 echo "$as_me: failed program was:" >&5
2382 sed 's/^/| /' conftest.$ac_ext >&5
2384 ac_c_werror_flag=$ac_save_c_werror_flag
2386 cat >conftest.$ac_ext <<_ACEOF
2389 cat confdefs.h >>conftest.$ac_ext
2390 cat >>conftest.$ac_ext <<_ACEOF
2391 /* end confdefs.h. */
2401 rm -f conftest.$ac_objext
2402 if { (ac_try="$ac_compile"
2404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2405 *) ac_try_echo=$ac_try;;
2407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2408 (eval "$ac_compile") 2>conftest.er1
2410 grep -v '^ *+' conftest.er1 >conftest.err
2412 cat conftest.err >&5
2413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2414 (exit $ac_status); } && {
2415 test -z "$ac_c_werror_flag" ||
2416 test ! -s conftest.err
2417 } && test -s conftest.$ac_objext; then
2420 echo "$as_me: failed program was:" >&5
2421 sed 's/^/| /' conftest.$ac_ext >&5
2426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2433 ac_c_werror_flag=$ac_save_c_werror_flag
2435 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2436 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
2437 if test "$ac_test_CFLAGS" = set; then
2438 CFLAGS=$ac_save_CFLAGS
2439 elif test $ac_cv_prog_cc_g = yes; then
2440 if test "$GCC" = yes; then
2446 if test "$GCC" = yes; then
2452 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
2453 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
2454 if test "${ac_cv_prog_cc_c89+set}" = set; then
2455 echo $ECHO_N "(cached) $ECHO_C" >&6
2457 ac_cv_prog_cc_c89=no
2459 cat >conftest.$ac_ext <<_ACEOF
2462 cat confdefs.h >>conftest.$ac_ext
2463 cat >>conftest.$ac_ext <<_ACEOF
2464 /* end confdefs.h. */
2467 #include <sys/types.h>
2468 #include <sys/stat.h>
2469 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2470 struct buf { int x; };
2471 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2472 static char *e (p, i)
2478 static char *f (char * (*g) (char **, int), char **p, ...)
2483 s = g (p, va_arg (v,int));
2488 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2489 function prototypes and stuff, but not '\xHH' hex character constants.
2490 These don't provoke an error unfortunately, instead are silently treated
2491 as 'x'. The following induces an error, until -std is added to get
2492 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2493 array size at least. It's necessary to write '\x00'==0 to get something
2494 that's true only with -std. */
2495 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2497 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2498 inside strings and character constants. */
2500 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2502 int test (int i, double x);
2503 struct s1 {int (*f) (int a);};
2504 struct s2 {int (*f) (double a);};
2505 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2511 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2516 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2517 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2519 CC="$ac_save_CC $ac_arg"
2520 rm -f conftest.$ac_objext
2521 if { (ac_try="$ac_compile"
2523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2524 *) ac_try_echo=$ac_try;;
2526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2527 (eval "$ac_compile") 2>conftest.er1
2529 grep -v '^ *+' conftest.er1 >conftest.err
2531 cat conftest.err >&5
2532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2533 (exit $ac_status); } && {
2534 test -z "$ac_c_werror_flag" ||
2535 test ! -s conftest.err
2536 } && test -s conftest.$ac_objext; then
2537 ac_cv_prog_cc_c89=$ac_arg
2539 echo "$as_me: failed program was:" >&5
2540 sed 's/^/| /' conftest.$ac_ext >&5
2545 rm -f core conftest.err conftest.$ac_objext
2546 test "x$ac_cv_prog_cc_c89" != "xno" && break
2548 rm -f conftest.$ac_ext
2553 case "x$ac_cv_prog_cc_c89" in
2555 { echo "$as_me:$LINENO: result: none needed" >&5
2556 echo "${ECHO_T}none needed" >&6; } ;;
2558 { echo "$as_me:$LINENO: result: unsupported" >&5
2559 echo "${ECHO_T}unsupported" >&6; } ;;
2561 CC="$CC $ac_cv_prog_cc_c89"
2562 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
2563 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
2568 ac_cpp='$CPP $CPPFLAGS'
2569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2574 ac_cpp='$CPP $CPPFLAGS'
2575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2578 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
2579 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
2580 # On Suns, sometimes $CPP names a directory.
2581 if test -n "$CPP" && test -d "$CPP"; then
2584 if test -z "$CPP"; then
2585 if test "${ac_cv_prog_CPP+set}" = set; then
2586 echo $ECHO_N "(cached) $ECHO_C" >&6
2588 # Double quotes because CPP needs to be expanded
2589 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2592 for ac_c_preproc_warn_flag in '' yes
2594 # Use a header file that comes with gcc, so configuring glibc
2595 # with a fresh cross-compiler works.
2596 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2597 # <limits.h> exists even on freestanding compilers.
2598 # On the NeXT, cc -E runs the code through the compiler's parser,
2599 # not just through cpp. "Syntax error" is here to catch this case.
2600 cat >conftest.$ac_ext <<_ACEOF
2603 cat confdefs.h >>conftest.$ac_ext
2604 cat >>conftest.$ac_ext <<_ACEOF
2605 /* end confdefs.h. */
2607 # include <limits.h>
2609 # include <assert.h>
2613 if { (ac_try="$ac_cpp conftest.$ac_ext"
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2619 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2621 grep -v '^ *+' conftest.er1 >conftest.err
2623 cat conftest.err >&5
2624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2625 (exit $ac_status); } >/dev/null && {
2626 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2627 test ! -s conftest.err
2631 echo "$as_me: failed program was:" >&5
2632 sed 's/^/| /' conftest.$ac_ext >&5
2634 # Broken: fails on valid input.
2638 rm -f conftest.err conftest.$ac_ext
2640 # OK, works on sane cases. Now check whether nonexistent headers
2641 # can be detected and how.
2642 cat >conftest.$ac_ext <<_ACEOF
2645 cat confdefs.h >>conftest.$ac_ext
2646 cat >>conftest.$ac_ext <<_ACEOF
2647 /* end confdefs.h. */
2648 #include <ac_nonexistent.h>
2650 if { (ac_try="$ac_cpp conftest.$ac_ext"
2652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2653 *) ac_try_echo=$ac_try;;
2655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2658 grep -v '^ *+' conftest.er1 >conftest.err
2660 cat conftest.err >&5
2661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2662 (exit $ac_status); } >/dev/null && {
2663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2664 test ! -s conftest.err
2666 # Broken: success on invalid input.
2669 echo "$as_me: failed program was:" >&5
2670 sed 's/^/| /' conftest.$ac_ext >&5
2672 # Passes both tests.
2677 rm -f conftest.err conftest.$ac_ext
2680 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2681 rm -f conftest.err conftest.$ac_ext
2682 if $ac_preproc_ok; then
2694 { echo "$as_me:$LINENO: result: $CPP" >&5
2695 echo "${ECHO_T}$CPP" >&6; }
2697 for ac_c_preproc_warn_flag in '' yes
2699 # Use a header file that comes with gcc, so configuring glibc
2700 # with a fresh cross-compiler works.
2701 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2702 # <limits.h> exists even on freestanding compilers.
2703 # On the NeXT, cc -E runs the code through the compiler's parser,
2704 # not just through cpp. "Syntax error" is here to catch this case.
2705 cat >conftest.$ac_ext <<_ACEOF
2708 cat confdefs.h >>conftest.$ac_ext
2709 cat >>conftest.$ac_ext <<_ACEOF
2710 /* end confdefs.h. */
2712 # include <limits.h>
2714 # include <assert.h>
2718 if { (ac_try="$ac_cpp conftest.$ac_ext"
2720 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2721 *) ac_try_echo=$ac_try;;
2723 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2724 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
2726 grep -v '^ *+' conftest.er1 >conftest.err
2728 cat conftest.err >&5
2729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2730 (exit $ac_status); } >/dev/null && {
2731 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2732 test ! -s conftest.err
2736 echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 # Broken: fails on valid input.
2743 rm -f conftest.err conftest.$ac_ext
2745 # OK, works on sane cases. Now check whether nonexistent headers
2746 # can be detected and how.
2747 cat >conftest.$ac_ext <<_ACEOF
2750 cat confdefs.h >>conftest.$ac_ext
2751 cat >>conftest.$ac_ext <<_ACEOF
2752 /* end confdefs.h. */
2753 #include <ac_nonexistent.h>
2755 if { (ac_try="$ac_cpp conftest.$ac_ext"
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_cpp conftest.$ac_ext") 2>conftest.er1
2763 grep -v '^ *+' conftest.er1 >conftest.err
2765 cat conftest.err >&5
2766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2767 (exit $ac_status); } >/dev/null && {
2768 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2769 test ! -s conftest.err
2771 # Broken: success on invalid input.
2774 echo "$as_me: failed program was:" >&5
2775 sed 's/^/| /' conftest.$ac_ext >&5
2777 # Passes both tests.
2782 rm -f conftest.err conftest.$ac_ext
2785 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2786 rm -f conftest.err conftest.$ac_ext
2787 if $ac_preproc_ok; then
2790 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
2791 See \`config.log' for more details." >&5
2792 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
2793 See \`config.log' for more details." >&2;}
2794 { (exit 1); exit 1; }; }
2798 ac_cpp='$CPP $CPPFLAGS'
2799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2806 # Check whether --with-rlm-krb5-lib-dir was given.
2807 if test "${with_rlm_krb5_lib_dir+set}" = set; then
2808 withval=$with_rlm_krb5_lib_dir; case "$withval" in
2810 { { echo "$as_me:$LINENO: error: Need rlm-krb5-lib-dir" >&5
2811 echo "$as_me: error: Need rlm-krb5-lib-dir" >&2;}
2812 { (exit 1); exit 1; }; }
2817 rlm_krb5_lib_dir="$withval"
2826 # Check whether --with-rlm-krb5-include-dir was given.
2827 if test "${with_rlm_krb5_include_dir+set}" = set; then
2828 withval=$with_rlm_krb5_include_dir; case "$withval" in
2830 { { echo "$as_me:$LINENO: error: Need rlm-krb5-include-dir" >&5
2831 echo "$as_me: error: Need rlm-krb5-include-dir" >&2;}
2832 { (exit 1); exit 1; }; }
2837 rlm_krb5_include_dir="$withval"
2844 # Check whether --enable-heimdal-krb5 was given.
2845 if test "${enable_heimdal_krb5+set}" = set; then
2846 enableval=$enable_heimdal_krb5; case "$enableval" in
2848 krb5_h_cflags="-DHEIMDAL_KRB5"
2855 smart_try_dir=$rlm_krb5_include_dir
2859 ac_safe=`echo "krb5.h" | sed 'y%./+-%__pm%'`
2860 { echo "$as_me:$LINENO: checking for krb5.h" >&5
2861 echo $ECHO_N "checking for krb5.h... $ECHO_C" >&6; }
2863 old_CFLAGS="$CFLAGS"
2867 if test "x$smart_try_dir" != "x"; then
2868 for try in $smart_try_dir; do
2869 CFLAGS="$old_CFLAGS -I$try"
2870 cat >conftest.$ac_ext <<_ACEOF
2873 cat confdefs.h >>conftest.$ac_ext
2874 cat >>conftest.$ac_ext <<_ACEOF
2875 /* end confdefs.h. */
2886 rm -f conftest.$ac_objext
2887 if { (ac_try="$ac_compile"
2889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2890 *) ac_try_echo=$ac_try;;
2892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2893 (eval "$ac_compile") 2>conftest.er1
2895 grep -v '^ *+' conftest.er1 >conftest.err
2897 cat conftest.err >&5
2898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2899 (exit $ac_status); } && {
2900 test -z "$ac_c_werror_flag" ||
2901 test ! -s conftest.err
2902 } && test -s conftest.$ac_objext; then
2903 smart_include="-I$try"
2905 echo "$as_me: failed program was:" >&5
2906 sed 's/^/| /' conftest.$ac_ext >&5
2911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2912 if test "x$smart_include" != "x"; then
2916 CFLAGS="$old_CFLAGS"
2919 if test "x$smart_include" = "x"; then
2920 cat >conftest.$ac_ext <<_ACEOF
2923 cat confdefs.h >>conftest.$ac_ext
2924 cat >>conftest.$ac_ext <<_ACEOF
2925 /* end confdefs.h. */
2936 rm -f conftest.$ac_objext
2937 if { (ac_try="$ac_compile"
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2943 (eval "$ac_compile") 2>conftest.er1
2945 grep -v '^ *+' conftest.er1 >conftest.err
2947 cat conftest.err >&5
2948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2949 (exit $ac_status); } && {
2950 test -z "$ac_c_werror_flag" ||
2951 test ! -s conftest.err
2952 } && test -s conftest.$ac_objext; then
2955 echo "$as_me: failed program was:" >&5
2956 sed 's/^/| /' conftest.$ac_ext >&5
2961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2964 if test "x$smart_include" = "x"; then
2967 if test "x$LOCATE" != "x"; then
2971 for x in `${LOCATE} $file 2>/dev/null`; do
2972 base=`echo $x | sed "s%/${file}%%"`
2973 if test "x$x" = "x$base"; then
2977 dir=`${DIRNAME} $x 2>/dev/null`
2978 exclude=`echo ${dir} | ${GREP} /home`
2979 if test "x$exclude" != "x"; then
2983 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
2984 if test "x$already" = "x"; then
2990 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
2993 for try in $smart_include_dir /usr/local/include /opt/include; do
2994 CFLAGS="$old_CFLAGS -I$try"
2995 cat >conftest.$ac_ext <<_ACEOF
2998 cat confdefs.h >>conftest.$ac_ext
2999 cat >>conftest.$ac_ext <<_ACEOF
3000 /* end confdefs.h. */
3011 rm -f conftest.$ac_objext
3012 if { (ac_try="$ac_compile"
3014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3015 *) ac_try_echo=$ac_try;;
3017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3018 (eval "$ac_compile") 2>conftest.er1
3020 grep -v '^ *+' conftest.er1 >conftest.err
3022 cat conftest.err >&5
3023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3024 (exit $ac_status); } && {
3025 test -z "$ac_c_werror_flag" ||
3026 test ! -s conftest.err
3027 } && test -s conftest.$ac_objext; then
3028 smart_include="-I$try"
3030 echo "$as_me: failed program was:" >&5
3031 sed 's/^/| /' conftest.$ac_ext >&5
3036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3037 if test "x$smart_include" != "x"; then
3041 CFLAGS="$old_CFLAGS"
3044 if test "x$smart_include" != "x"; then
3045 { echo "$as_me:$LINENO: result: yes" >&5
3046 echo "${ECHO_T}yes" >&6; }
3047 eval "ac_cv_header_$ac_safe=yes"
3048 CFLAGS="$old_CFLAGS $smart_include"
3049 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
3051 { echo "$as_me:$LINENO: result: no" >&5
3052 echo "${ECHO_T}no" >&6; }
3055 if test "$ac_cv_header_krb5_h" != "yes"; then
3060 smart_try_dir=$rlm_krb5_lib_dir
3063 sm_lib_safe=`echo "k5crypto" | sed 'y%./+-%__p_%'`
3064 sm_func_safe=`echo "krb5_encrypt_data" | sed 'y%./+-%__p_%'`
3065 { echo "$as_me:$LINENO: checking for krb5_encrypt_data in -lk5crypto" >&5
3066 echo $ECHO_N "checking for krb5_encrypt_data in -lk5crypto... $ECHO_C" >&6; }
3072 if test "x$smart_try_dir" != "x"; then
3073 for try in $smart_try_dir; do
3074 LIBS="-L$try -lk5crypto $old_LIBS"
3075 cat >conftest.$ac_ext <<_ACEOF
3078 cat confdefs.h >>conftest.$ac_ext
3079 cat >>conftest.$ac_ext <<_ACEOF
3080 /* end confdefs.h. */
3081 extern char krb5_encrypt_data();
3090 rm -f conftest.$ac_objext conftest$ac_exeext
3091 if { (ac_try="$ac_link"
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_link") 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_exeext &&
3107 $as_test_x conftest$ac_exeext; then
3108 smart_lib="-L$try -lk5crypto"
3110 echo "$as_me: failed program was:" >&5
3111 sed 's/^/| /' conftest.$ac_ext >&5
3116 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3117 conftest$ac_exeext conftest.$ac_ext
3118 if test "x$smart_lib" != "x"; then
3125 if test "x$smart_lib" = "x"; then
3126 LIBS="-lk5crypto $old_LIBS"
3127 cat >conftest.$ac_ext <<_ACEOF
3130 cat confdefs.h >>conftest.$ac_ext
3131 cat >>conftest.$ac_ext <<_ACEOF
3132 /* end confdefs.h. */
3133 extern char krb5_encrypt_data();
3142 rm -f conftest.$ac_objext conftest$ac_exeext
3143 if { (ac_try="$ac_link"
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3149 (eval "$ac_link") 2>conftest.er1
3151 grep -v '^ *+' conftest.er1 >conftest.err
3153 cat conftest.err >&5
3154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3155 (exit $ac_status); } && {
3156 test -z "$ac_c_werror_flag" ||
3157 test ! -s conftest.err
3158 } && test -s conftest$ac_exeext &&
3159 $as_test_x conftest$ac_exeext; then
3160 smart_lib="-lk5crypto"
3162 echo "$as_me: failed program was:" >&5
3163 sed 's/^/| /' conftest.$ac_ext >&5
3168 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3169 conftest$ac_exeext conftest.$ac_ext
3173 if test "x$smart_lib" = "x"; then
3176 if test "x$LOCATE" != "x"; then
3178 file=libk5crypto${libltdl_cv_shlibext}
3180 for x in `${LOCATE} $file 2>/dev/null`; do
3181 base=`echo $x | sed "s%/${file}%%"`
3182 if test "x$x" = "x$base"; then
3186 dir=`${DIRNAME} $x 2>/dev/null`
3187 exclude=`echo ${dir} | ${GREP} /home`
3188 if test "x$exclude" != "x"; then
3192 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3193 if test "x$already" = "x"; then
3199 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3203 if test "x$LOCATE" != "x"; then
3207 for x in `${LOCATE} $file 2>/dev/null`; do
3208 base=`echo $x | sed "s%/${file}%%"`
3209 if test "x$x" = "x$base"; then
3213 dir=`${DIRNAME} $x 2>/dev/null`
3214 exclude=`echo ${dir} | ${GREP} /home`
3215 if test "x$exclude" != "x"; then
3219 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3220 if test "x$already" = "x"; then
3226 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3229 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3230 LIBS="-L$try -lk5crypto $old_LIBS"
3231 cat >conftest.$ac_ext <<_ACEOF
3234 cat confdefs.h >>conftest.$ac_ext
3235 cat >>conftest.$ac_ext <<_ACEOF
3236 /* end confdefs.h. */
3237 extern char krb5_encrypt_data();
3246 rm -f conftest.$ac_objext conftest$ac_exeext
3247 if { (ac_try="$ac_link"
3249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3250 *) ac_try_echo=$ac_try;;
3252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3253 (eval "$ac_link") 2>conftest.er1
3255 grep -v '^ *+' conftest.er1 >conftest.err
3257 cat conftest.err >&5
3258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3259 (exit $ac_status); } && {
3260 test -z "$ac_c_werror_flag" ||
3261 test ! -s conftest.err
3262 } && test -s conftest$ac_exeext &&
3263 $as_test_x conftest$ac_exeext; then
3264 smart_lib="-L$try -lk5crypto"
3266 echo "$as_me: failed program was:" >&5
3267 sed 's/^/| /' conftest.$ac_ext >&5
3272 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3273 conftest$ac_exeext conftest.$ac_ext
3274 if test "x$smart_lib" != "x"; then
3281 if test "x$smart_lib" != "x"; then
3282 { echo "$as_me:$LINENO: result: yes" >&5
3283 echo "${ECHO_T}yes" >&6; }
3284 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3285 LIBS="$smart_lib $old_LIBS"
3286 SMART_LIBS="$smart_lib $SMART_LIBS"
3288 { echo "$as_me:$LINENO: result: no" >&5
3289 echo "${ECHO_T}no" >&6; }
3292 if test "x$ac_cv_lib_k5crypto_krb5_encrypt_data" = xyes; then
3293 krb5libcrypto="-lk5crypto"
3296 if test "x$krb5libcrypto" = x; then
3299 sm_lib_safe=`echo "crypto" | sed 'y%./+-%__p_%'`
3300 sm_func_safe=`echo "DH_new" | sed 'y%./+-%__p_%'`
3301 { echo "$as_me:$LINENO: checking for DH_new in -lcrypto" >&5
3302 echo $ECHO_N "checking for DH_new in -lcrypto... $ECHO_C" >&6; }
3308 if test "x$smart_try_dir" != "x"; then
3309 for try in $smart_try_dir; do
3310 LIBS="-L$try -lcrypto $old_LIBS"
3311 cat >conftest.$ac_ext <<_ACEOF
3314 cat confdefs.h >>conftest.$ac_ext
3315 cat >>conftest.$ac_ext <<_ACEOF
3316 /* end confdefs.h. */
3317 extern char DH_new();
3326 rm -f conftest.$ac_objext conftest$ac_exeext
3327 if { (ac_try="$ac_link"
3329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3330 *) ac_try_echo=$ac_try;;
3332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3333 (eval "$ac_link") 2>conftest.er1
3335 grep -v '^ *+' conftest.er1 >conftest.err
3337 cat conftest.err >&5
3338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3339 (exit $ac_status); } && {
3340 test -z "$ac_c_werror_flag" ||
3341 test ! -s conftest.err
3342 } && test -s conftest$ac_exeext &&
3343 $as_test_x conftest$ac_exeext; then
3344 smart_lib="-L$try -lcrypto"
3346 echo "$as_me: failed program was:" >&5
3347 sed 's/^/| /' conftest.$ac_ext >&5
3352 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3353 conftest$ac_exeext conftest.$ac_ext
3354 if test "x$smart_lib" != "x"; then
3361 if test "x$smart_lib" = "x"; then
3362 LIBS="-lcrypto $old_LIBS"
3363 cat >conftest.$ac_ext <<_ACEOF
3366 cat confdefs.h >>conftest.$ac_ext
3367 cat >>conftest.$ac_ext <<_ACEOF
3368 /* end confdefs.h. */
3369 extern char DH_new();
3378 rm -f conftest.$ac_objext conftest$ac_exeext
3379 if { (ac_try="$ac_link"
3381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3382 *) ac_try_echo=$ac_try;;
3384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3385 (eval "$ac_link") 2>conftest.er1
3387 grep -v '^ *+' conftest.er1 >conftest.err
3389 cat conftest.err >&5
3390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3391 (exit $ac_status); } && {
3392 test -z "$ac_c_werror_flag" ||
3393 test ! -s conftest.err
3394 } && test -s conftest$ac_exeext &&
3395 $as_test_x conftest$ac_exeext; then
3396 smart_lib="-lcrypto"
3398 echo "$as_me: failed program was:" >&5
3399 sed 's/^/| /' conftest.$ac_ext >&5
3404 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3405 conftest$ac_exeext conftest.$ac_ext
3409 if test "x$smart_lib" = "x"; then
3412 if test "x$LOCATE" != "x"; then
3414 file=libcrypto${libltdl_cv_shlibext}
3416 for x in `${LOCATE} $file 2>/dev/null`; do
3417 base=`echo $x | sed "s%/${file}%%"`
3418 if test "x$x" = "x$base"; then
3422 dir=`${DIRNAME} $x 2>/dev/null`
3423 exclude=`echo ${dir} | ${GREP} /home`
3424 if test "x$exclude" != "x"; then
3428 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3429 if test "x$already" = "x"; then
3435 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3439 if test "x$LOCATE" != "x"; then
3443 for x in `${LOCATE} $file 2>/dev/null`; do
3444 base=`echo $x | sed "s%/${file}%%"`
3445 if test "x$x" = "x$base"; then
3449 dir=`${DIRNAME} $x 2>/dev/null`
3450 exclude=`echo ${dir} | ${GREP} /home`
3451 if test "x$exclude" != "x"; then
3455 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3456 if test "x$already" = "x"; then
3462 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3465 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3466 LIBS="-L$try -lcrypto $old_LIBS"
3467 cat >conftest.$ac_ext <<_ACEOF
3470 cat confdefs.h >>conftest.$ac_ext
3471 cat >>conftest.$ac_ext <<_ACEOF
3472 /* end confdefs.h. */
3473 extern char DH_new();
3482 rm -f conftest.$ac_objext conftest$ac_exeext
3483 if { (ac_try="$ac_link"
3485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3486 *) ac_try_echo=$ac_try;;
3488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3489 (eval "$ac_link") 2>conftest.er1
3491 grep -v '^ *+' conftest.er1 >conftest.err
3493 cat conftest.err >&5
3494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3495 (exit $ac_status); } && {
3496 test -z "$ac_c_werror_flag" ||
3497 test ! -s conftest.err
3498 } && test -s conftest$ac_exeext &&
3499 $as_test_x conftest$ac_exeext; then
3500 smart_lib="-L$try -lcrypto"
3502 echo "$as_me: failed program was:" >&5
3503 sed 's/^/| /' conftest.$ac_ext >&5
3508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3509 conftest$ac_exeext conftest.$ac_ext
3510 if test "x$smart_lib" != "x"; then
3517 if test "x$smart_lib" != "x"; then
3518 { echo "$as_me:$LINENO: result: yes" >&5
3519 echo "${ECHO_T}yes" >&6; }
3520 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3521 LIBS="$smart_lib $old_LIBS"
3522 SMART_LIBS="$smart_lib $SMART_LIBS"
3524 { echo "$as_me:$LINENO: result: no" >&5
3525 echo "${ECHO_T}no" >&6; }
3528 if test "x$ac_cv_lib_crypto_DH_new" = xyes; then
3529 krb5libcrypto="-lcrypto"
3533 if test "x$krb5libcrypto" = x; then
3534 { echo "$as_me:$LINENO: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!" >&5
3535 echo "$as_me: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!" >&2;}
3540 sm_lib_safe=`echo "com_err" | sed 'y%./+-%__p_%'`
3541 sm_func_safe=`echo "set_com_err_hook" | sed 'y%./+-%__p_%'`
3542 { echo "$as_me:$LINENO: checking for set_com_err_hook in -lcom_err" >&5
3543 echo $ECHO_N "checking for set_com_err_hook in -lcom_err... $ECHO_C" >&6; }
3549 if test "x$smart_try_dir" != "x"; then
3550 for try in $smart_try_dir; do
3551 LIBS="-L$try -lcom_err $old_LIBS"
3552 cat >conftest.$ac_ext <<_ACEOF
3555 cat confdefs.h >>conftest.$ac_ext
3556 cat >>conftest.$ac_ext <<_ACEOF
3557 /* end confdefs.h. */
3558 extern char set_com_err_hook();
3567 rm -f conftest.$ac_objext conftest$ac_exeext
3568 if { (ac_try="$ac_link"
3570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3571 *) ac_try_echo=$ac_try;;
3573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3574 (eval "$ac_link") 2>conftest.er1
3576 grep -v '^ *+' conftest.er1 >conftest.err
3578 cat conftest.err >&5
3579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3580 (exit $ac_status); } && {
3581 test -z "$ac_c_werror_flag" ||
3582 test ! -s conftest.err
3583 } && test -s conftest$ac_exeext &&
3584 $as_test_x conftest$ac_exeext; then
3585 smart_lib="-L$try -lcom_err"
3587 echo "$as_me: failed program was:" >&5
3588 sed 's/^/| /' conftest.$ac_ext >&5
3593 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3594 conftest$ac_exeext conftest.$ac_ext
3595 if test "x$smart_lib" != "x"; then
3602 if test "x$smart_lib" = "x"; then
3603 LIBS="-lcom_err $old_LIBS"
3604 cat >conftest.$ac_ext <<_ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3609 /* end confdefs.h. */
3610 extern char set_com_err_hook();
3619 rm -f conftest.$ac_objext conftest$ac_exeext
3620 if { (ac_try="$ac_link"
3622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3623 *) ac_try_echo=$ac_try;;
3625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3626 (eval "$ac_link") 2>conftest.er1
3628 grep -v '^ *+' conftest.er1 >conftest.err
3630 cat conftest.err >&5
3631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3632 (exit $ac_status); } && {
3633 test -z "$ac_c_werror_flag" ||
3634 test ! -s conftest.err
3635 } && test -s conftest$ac_exeext &&
3636 $as_test_x conftest$ac_exeext; then
3637 smart_lib="-lcom_err"
3639 echo "$as_me: failed program was:" >&5
3640 sed 's/^/| /' conftest.$ac_ext >&5
3645 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3646 conftest$ac_exeext conftest.$ac_ext
3650 if test "x$smart_lib" = "x"; then
3653 if test "x$LOCATE" != "x"; then
3655 file=libcom_err${libltdl_cv_shlibext}
3657 for x in `${LOCATE} $file 2>/dev/null`; do
3658 base=`echo $x | sed "s%/${file}%%"`
3659 if test "x$x" = "x$base"; then
3663 dir=`${DIRNAME} $x 2>/dev/null`
3664 exclude=`echo ${dir} | ${GREP} /home`
3665 if test "x$exclude" != "x"; then
3669 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3670 if test "x$already" = "x"; then
3676 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3680 if test "x$LOCATE" != "x"; then
3684 for x in `${LOCATE} $file 2>/dev/null`; do
3685 base=`echo $x | sed "s%/${file}%%"`
3686 if test "x$x" = "x$base"; then
3690 dir=`${DIRNAME} $x 2>/dev/null`
3691 exclude=`echo ${dir} | ${GREP} /home`
3692 if test "x$exclude" != "x"; then
3696 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3697 if test "x$already" = "x"; then
3703 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3706 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3707 LIBS="-L$try -lcom_err $old_LIBS"
3708 cat >conftest.$ac_ext <<_ACEOF
3711 cat confdefs.h >>conftest.$ac_ext
3712 cat >>conftest.$ac_ext <<_ACEOF
3713 /* end confdefs.h. */
3714 extern char set_com_err_hook();
3723 rm -f conftest.$ac_objext conftest$ac_exeext
3724 if { (ac_try="$ac_link"
3726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3727 *) ac_try_echo=$ac_try;;
3729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3730 (eval "$ac_link") 2>conftest.er1
3732 grep -v '^ *+' conftest.er1 >conftest.err
3734 cat conftest.err >&5
3735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3736 (exit $ac_status); } && {
3737 test -z "$ac_c_werror_flag" ||
3738 test ! -s conftest.err
3739 } && test -s conftest$ac_exeext &&
3740 $as_test_x conftest$ac_exeext; then
3741 smart_lib="-L$try -lcom_err"
3743 echo "$as_me: failed program was:" >&5
3744 sed 's/^/| /' conftest.$ac_ext >&5
3749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3750 conftest$ac_exeext conftest.$ac_ext
3751 if test "x$smart_lib" != "x"; then
3758 if test "x$smart_lib" != "x"; then
3759 { echo "$as_me:$LINENO: result: yes" >&5
3760 echo "${ECHO_T}yes" >&6; }
3761 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3762 LIBS="$smart_lib $old_LIBS"
3763 SMART_LIBS="$smart_lib $SMART_LIBS"
3765 { echo "$as_me:$LINENO: result: no" >&5
3766 echo "${ECHO_T}no" >&6; }
3769 if test "x$ac_cv_lib_com_err_set_com_err_hook" != xyes; then
3770 { echo "$as_me:$LINENO: WARNING: the comm_err library isn't found!" >&5
3771 echo "$as_me: WARNING: the comm_err library isn't found!" >&2;}
3776 sm_lib_safe=`echo "krb5" | sed 'y%./+-%__p_%'`
3777 sm_func_safe=`echo "krb5_init_context" | sed 'y%./+-%__p_%'`
3778 { echo "$as_me:$LINENO: checking for krb5_init_context in -lkrb5" >&5
3779 echo $ECHO_N "checking for krb5_init_context in -lkrb5... $ECHO_C" >&6; }
3785 if test "x$smart_try_dir" != "x"; then
3786 for try in $smart_try_dir; do
3787 LIBS="-L$try -lkrb5 $old_LIBS"
3788 cat >conftest.$ac_ext <<_ACEOF
3791 cat confdefs.h >>conftest.$ac_ext
3792 cat >>conftest.$ac_ext <<_ACEOF
3793 /* end confdefs.h. */
3794 extern char krb5_init_context();
3803 rm -f conftest.$ac_objext conftest$ac_exeext
3804 if { (ac_try="$ac_link"
3806 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3807 *) ac_try_echo=$ac_try;;
3809 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3810 (eval "$ac_link") 2>conftest.er1
3812 grep -v '^ *+' conftest.er1 >conftest.err
3814 cat conftest.err >&5
3815 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3816 (exit $ac_status); } && {
3817 test -z "$ac_c_werror_flag" ||
3818 test ! -s conftest.err
3819 } && test -s conftest$ac_exeext &&
3820 $as_test_x conftest$ac_exeext; then
3821 smart_lib="-L$try -lkrb5"
3823 echo "$as_me: failed program was:" >&5
3824 sed 's/^/| /' conftest.$ac_ext >&5
3829 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3830 conftest$ac_exeext conftest.$ac_ext
3831 if test "x$smart_lib" != "x"; then
3838 if test "x$smart_lib" = "x"; then
3839 LIBS="-lkrb5 $old_LIBS"
3840 cat >conftest.$ac_ext <<_ACEOF
3843 cat confdefs.h >>conftest.$ac_ext
3844 cat >>conftest.$ac_ext <<_ACEOF
3845 /* end confdefs.h. */
3846 extern char krb5_init_context();
3855 rm -f conftest.$ac_objext conftest$ac_exeext
3856 if { (ac_try="$ac_link"
3858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3859 *) ac_try_echo=$ac_try;;
3861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3862 (eval "$ac_link") 2>conftest.er1
3864 grep -v '^ *+' conftest.er1 >conftest.err
3866 cat conftest.err >&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); } && {
3869 test -z "$ac_c_werror_flag" ||
3870 test ! -s conftest.err
3871 } && test -s conftest$ac_exeext &&
3872 $as_test_x conftest$ac_exeext; then
3875 echo "$as_me: failed program was:" >&5
3876 sed 's/^/| /' conftest.$ac_ext >&5
3881 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3882 conftest$ac_exeext conftest.$ac_ext
3886 if test "x$smart_lib" = "x"; then
3889 if test "x$LOCATE" != "x"; then
3891 file=libkrb5${libltdl_cv_shlibext}
3893 for x in `${LOCATE} $file 2>/dev/null`; do
3894 base=`echo $x | sed "s%/${file}%%"`
3895 if test "x$x" = "x$base"; then
3899 dir=`${DIRNAME} $x 2>/dev/null`
3900 exclude=`echo ${dir} | ${GREP} /home`
3901 if test "x$exclude" != "x"; then
3905 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3906 if test "x$already" = "x"; then
3912 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3916 if test "x$LOCATE" != "x"; then
3920 for x in `${LOCATE} $file 2>/dev/null`; do
3921 base=`echo $x | sed "s%/${file}%%"`
3922 if test "x$x" = "x$base"; then
3926 dir=`${DIRNAME} $x 2>/dev/null`
3927 exclude=`echo ${dir} | ${GREP} /home`
3928 if test "x$exclude" != "x"; then
3932 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3933 if test "x$already" = "x"; then
3939 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3942 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3943 LIBS="-L$try -lkrb5 $old_LIBS"
3944 cat >conftest.$ac_ext <<_ACEOF
3947 cat confdefs.h >>conftest.$ac_ext
3948 cat >>conftest.$ac_ext <<_ACEOF
3949 /* end confdefs.h. */
3950 extern char krb5_init_context();
3959 rm -f conftest.$ac_objext conftest$ac_exeext
3960 if { (ac_try="$ac_link"
3962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3963 *) ac_try_echo=$ac_try;;
3965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3966 (eval "$ac_link") 2>conftest.er1
3968 grep -v '^ *+' conftest.er1 >conftest.err
3970 cat conftest.err >&5
3971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3972 (exit $ac_status); } && {
3973 test -z "$ac_c_werror_flag" ||
3974 test ! -s conftest.err
3975 } && test -s conftest$ac_exeext &&
3976 $as_test_x conftest$ac_exeext; then
3977 smart_lib="-L$try -lkrb5"
3979 echo "$as_me: failed program was:" >&5
3980 sed 's/^/| /' conftest.$ac_ext >&5
3985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
3986 conftest$ac_exeext conftest.$ac_ext
3987 if test "x$smart_lib" != "x"; then
3994 if test "x$smart_lib" != "x"; then
3995 { echo "$as_me:$LINENO: result: yes" >&5
3996 echo "${ECHO_T}yes" >&6; }
3997 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3998 LIBS="$smart_lib $old_LIBS"
3999 SMART_LIBS="$smart_lib $SMART_LIBS"
4001 { echo "$as_me:$LINENO: result: no" >&5
4002 echo "${ECHO_T}no" >&6; }
4005 if test "x$ac_cv_lib_krb5_krb5_init_context" != xyes; then
4012 echo \*\*\* module rlm_krb5 is disabled.
4015 if test x"$fail" != x""; then
4016 if test x"${enable_strict_dependencies}" = x"yes"; then
4017 { { echo "$as_me:$LINENO: error: set --without-rlm_krb5 to disable it explicitly." >&5
4018 echo "$as_me: error: set --without-rlm_krb5 to disable it explicitly." >&2;}
4019 { (exit 1); exit 1; }; }
4021 { echo "$as_me:$LINENO: WARNING: silently not building rlm_krb5." >&5
4022 echo "$as_me: WARNING: silently not building rlm_krb5." >&2;}
4023 { echo "$as_me:$LINENO: WARNING: FAILURE: rlm_krb5 requires: $fail." >&5
4024 echo "$as_me: WARNING: FAILURE: rlm_krb5 requires: $fail." >&2;};
4029 krb5_ldflags=$SMART_LIBS
4030 krb5_cflags="${krb5_h_cflags} $SMART_CFLAGS"
4036 unset ac_cv_env_LIBS_set
4037 unset ac_cv_env_LIBS_value
4039 ac_config_files="$ac_config_files Makefile all.mk"
4041 cat >confcache <<\_ACEOF
4042 # This file is a shell script that caches the results of configure
4043 # tests run on this system so they can be shared between configure
4044 # scripts and configure runs, see configure's option --config-cache.
4045 # It is not useful on other systems. If it contains results you don't
4046 # want to keep, you may remove or edit it.
4048 # config.status only pays attention to the cache file if you give it
4049 # the --recheck option to rerun configure.
4051 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4052 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4057 # The following way of writing the cache mishandles newlines in values,
4058 # but we know of no workaround that is simple, portable, and efficient.
4059 # So, we kill variables containing newlines.
4060 # Ultrix sh set writes to stderr and can't be redirected directly,
4061 # and sets the high bit in the cache file unless we assign to the vars.
4063 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4064 eval ac_val=\$$ac_var
4068 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
4069 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
4072 _ | IFS | as_nl) ;; #(
4073 *) $as_unset $ac_var ;;
4079 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4080 *${as_nl}ac_space=\ *)
4081 # `set' does not quote correctly, so add quotes (double-quote
4082 # substitution turns \\\\ into \\, and sed turns \\ into \).
4085 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4088 # `set' quotes correctly as required by POSIX, so do not add quotes.
4089 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4098 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4100 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4102 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4103 if test -w "$cache_file"; then
4104 test "x$cache_file" != "x/dev/null" &&
4105 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
4106 echo "$as_me: updating cache $cache_file" >&6;}
4107 cat confcache >$cache_file
4109 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
4110 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4115 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4116 # Let make expand exec_prefix.
4117 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4119 # Transform confdefs.h into DEFS.
4120 # Protect against shell expansion while executing Makefile rules.
4121 # Protect against Makefile macro expansion.
4123 # If the first sed substitution is executed (which looks for macros that
4124 # take arguments), then branch to the quote section. Otherwise,
4125 # look for a macro that doesn't take arguments.
4129 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
4131 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
4135 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
4148 DEFS=`sed -n "$ac_script" confdefs.h`
4153 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4154 # 1. Remove the extension, and $U if already installed.
4155 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4156 ac_i=`echo "$ac_i" | sed "$ac_script"`
4157 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4158 # will be set to the directory where LIBOBJS objects are built.
4159 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4160 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
4164 LTLIBOBJS=$ac_ltlibobjs
4168 : ${CONFIG_STATUS=./config.status}
4169 ac_clean_files_save=$ac_clean_files
4170 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4171 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
4172 echo "$as_me: creating $CONFIG_STATUS" >&6;}
4173 cat >$CONFIG_STATUS <<_ACEOF
4175 # Generated by $as_me.
4176 # Run this file to recreate the current configuration.
4177 # Compiler output produced by configure, useful for debugging
4178 # configure, is in config.log if it exists.
4183 SHELL=\${CONFIG_SHELL-$SHELL}
4186 cat >>$CONFIG_STATUS <<\_ACEOF
4187 ## --------------------- ##
4188 ## M4sh Initialization. ##
4189 ## --------------------- ##
4191 # Be more Bourne compatible
4192 DUALCASE=1; export DUALCASE # for MKS sh
4193 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
4196 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
4197 # is contrary to our usage. Disable this feature.
4198 alias -g '${1+"$@"}'='"$@"'
4199 setopt NO_GLOB_SUBST
4201 case `(set -o) 2>/dev/null` in
4202 *posix*) set -o posix ;;
4211 # Avoid depending upon Character Ranges.
4212 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4213 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4214 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4215 as_cr_digits='0123456789'
4216 as_cr_alnum=$as_cr_Letters$as_cr_digits
4218 # The user is always right.
4219 if test "${PATH_SEPARATOR+set}" != set; then
4220 echo "#! /bin/sh" >conf$$.sh
4221 echo "exit 0" >>conf$$.sh
4223 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
4231 # Support unset when possible.
4232 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
4240 # We need space, tab and new line, in precisely that order. Quoting is
4241 # there to prevent editors from complaining about space-tab.
4242 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4243 # splitting by setting IFS to empty value.)
4248 # Find who we are. Look in the path if we contain no directory separator.
4250 *[\\/]* ) as_myself=$0 ;;
4251 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4255 test -z "$as_dir" && as_dir=.
4256 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4262 # We did not find ourselves, most probably we were run as `sh COMMAND'
4263 # in which case we are not to be found in the path.
4264 if test "x$as_myself" = x; then
4267 if test ! -f "$as_myself"; then
4268 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4269 { (exit 1); exit 1; }
4272 # Work around bugs in pre-3.0 UWIN ksh.
4273 for as_var in ENV MAIL MAILPATH
4274 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4282 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
4283 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
4284 LC_TELEPHONE LC_TIME
4286 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
4287 eval $as_var=C; export $as_var
4289 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
4293 # Required to use basename.
4294 if expr a : '\(a\)' >/dev/null 2>&1 &&
4295 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4301 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4302 as_basename=basename
4308 # Name of the executable.
4309 as_me=`$as_basename -- "$0" ||
4310 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4311 X"$0" : 'X\(//\)$' \| \
4312 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4314 sed '/^.*\/\([^/][^/]*\)\/*$/{
4335 test "x$as_lineno_1" != "x$as_lineno_2" &&
4336 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
4338 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
4339 # uniformly replaced by the line number. The first 'sed' inserts a
4340 # line-number line after each line using $LINENO; the second 'sed'
4341 # does the real work. The second script uses 'N' to pair each
4342 # line-number line with the line containing $LINENO, and appends
4343 # trailing '-' during substitution so that $LINENO is not a special
4345 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
4346 # scripts with optimization help from Paolo Bonzini. Blame Lee
4347 # E. McMahon (1931-1989) for sed's syntax. :-)
4359 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
4363 chmod +x "$as_me.lineno" ||
4364 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
4365 { (exit 1); exit 1; }; }
4367 # Don't try to exec as it changes $[0], causing all sort of problems
4368 # (the dirname of $[0] is not the place where we might find the
4369 # original and so on. Autoconf is especially sensitive to this).
4371 # Exit status is that of the last command.
4376 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4382 ECHO_C= ECHO_N= ECHO_T=
4385 case `echo 'x\c'` in
4386 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4393 if expr a : '\(a\)' >/dev/null 2>&1 &&
4394 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4400 rm -f conf$$ conf$$.exe conf$$.file
4401 if test -d conf$$.dir; then
4402 rm -f conf$$.dir/conf$$.file
4408 if ln -s conf$$.file conf$$ 2>/dev/null; then
4410 # ... but there are two gotchas:
4411 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4412 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4413 # In both cases, we have to default to `cp -p'.
4414 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4416 elif ln conf$$.file conf$$ 2>/dev/null; then
4421 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4422 rmdir conf$$.dir 2>/dev/null
4424 if mkdir -p . 2>/dev/null; then
4427 test -d ./-p && rmdir ./-p
4431 if test -x / >/dev/null 2>&1; then
4434 if ls -dL / >/dev/null 2>&1; then
4441 if test -d "$1"; then
4447 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
4448 ???[sx]*):;;*)false;;esac;fi
4452 as_executable_p=$as_test_x
4454 # Sed expression to map a string onto a valid CPP name.
4455 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4457 # Sed expression to map a string onto a valid variable name.
4458 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4463 # Save the log message, to keep $[0] and so on meaningful, and to
4464 # report actual input values of CONFIG_FILES etc. instead of their
4465 # values after options handling.
4467 This file was extended by $as_me, which was
4468 generated by GNU Autoconf 2.61. Invocation command line was
4470 CONFIG_FILES = $CONFIG_FILES
4471 CONFIG_HEADERS = $CONFIG_HEADERS
4472 CONFIG_LINKS = $CONFIG_LINKS
4473 CONFIG_COMMANDS = $CONFIG_COMMANDS
4476 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4481 cat >>$CONFIG_STATUS <<_ACEOF
4482 # Files that config.status was made for.
4483 config_files="$ac_config_files"
4487 cat >>$CONFIG_STATUS <<\_ACEOF
4489 \`$as_me' instantiates files from templates according to the
4490 current configuration.
4492 Usage: $0 [OPTIONS] [FILE]...
4494 -h, --help print this help, then exit
4495 -V, --version print version number and configuration settings, then exit
4496 -q, --quiet do not print progress messages
4497 -d, --debug don't remove temporary files
4498 --recheck update $as_me by reconfiguring in the same conditions
4499 --file=FILE[:TEMPLATE]
4500 instantiate the configuration file FILE
4502 Configuration files:
4505 Report bugs to <bug-autoconf@gnu.org>."
4508 cat >>$CONFIG_STATUS <<_ACEOF
4511 configured by $0, generated by GNU Autoconf 2.61,
4512 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4514 Copyright (C) 2006 Free Software Foundation, Inc.
4515 This config.status script is free software; the Free Software Foundation
4516 gives unlimited permission to copy, distribute and modify it."
4522 cat >>$CONFIG_STATUS <<\_ACEOF
4523 # If no file are specified by the user, then we need to provide default
4524 # value. By we need to know if files were specified by the user.
4530 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4531 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4542 # Handling of the options.
4543 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4545 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4546 echo "$ac_cs_version"; exit ;;
4547 --debug | --debu | --deb | --de | --d | -d )
4549 --file | --fil | --fi | --f )
4551 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
4552 ac_need_defaults=false;;
4553 --he | --h | --help | --hel | -h )
4554 echo "$ac_cs_usage"; exit ;;
4555 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4556 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4560 -*) { echo "$as_me: error: unrecognized option: $1
4561 Try \`$0 --help' for more information." >&2
4562 { (exit 1); exit 1; }; } ;;
4564 *) ac_config_targets="$ac_config_targets $1"
4565 ac_need_defaults=false ;;
4571 ac_configure_extra_args=
4573 if $ac_cs_silent; then
4575 ac_configure_extra_args="$ac_configure_extra_args --silent"
4579 cat >>$CONFIG_STATUS <<_ACEOF
4580 if \$ac_cs_recheck; then
4581 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
4584 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4588 cat >>$CONFIG_STATUS <<\_ACEOF
4592 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4593 ## Running $as_me. ##
4599 cat >>$CONFIG_STATUS <<_ACEOF
4602 cat >>$CONFIG_STATUS <<\_ACEOF
4604 # Handling of arguments.
4605 for ac_config_target in $ac_config_targets
4607 case $ac_config_target in
4608 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4610 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
4611 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
4612 { (exit 1); exit 1; }; };;
4617 # If the user did not use the arguments to specify the items to instantiate,
4618 # then the envvar interface is used. Set only those that are not.
4619 # We use the long form for the default assignment because of an extremely
4620 # bizarre bug on SunOS 4.1.3.
4621 if $ac_need_defaults; then
4622 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4625 # Have a temporary directory for convenience. Make it in the build tree
4626 # simply because there is no reason against having it here, and in addition,
4627 # creating and moving files from /tmp can sometimes cause problems.
4628 # Hook for its removal unless debugging.
4629 # Note that there is a small window in which the directory will not be cleaned:
4630 # after its creation but before its name has been assigned to `$tmp'.
4634 trap 'exit_status=$?
4635 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4637 trap '{ (exit 1); exit 1; }' 1 2 13 15
4639 # Create a (secure) tmp directory for tmp files.
4642 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4643 test -n "$tmp" && test -d "$tmp"
4646 tmp=./conf$$-$RANDOM
4647 (umask 077 && mkdir "$tmp")
4650 echo "$me: cannot create a temporary directory in ." >&2
4651 { (exit 1); exit 1; }
4655 # Set up the sed scripts for CONFIG_FILES section.
4658 # No need to generate the scripts if there are no CONFIG_FILES.
4659 # This happens for instance when ./config.status config.h
4660 if test -n "$CONFIG_FILES"; then
4667 for ac_last_try in false false false false false :; do
4668 cat >conf$$subs.sed <<_ACEOF
4669 SHELL!$SHELL$ac_delim
4670 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
4671 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
4672 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
4673 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
4674 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
4675 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
4676 exec_prefix!$exec_prefix$ac_delim
4677 prefix!$prefix$ac_delim
4678 program_transform_name!$program_transform_name$ac_delim
4679 bindir!$bindir$ac_delim
4680 sbindir!$sbindir$ac_delim
4681 libexecdir!$libexecdir$ac_delim
4682 datarootdir!$datarootdir$ac_delim
4683 datadir!$datadir$ac_delim
4684 sysconfdir!$sysconfdir$ac_delim
4685 sharedstatedir!$sharedstatedir$ac_delim
4686 localstatedir!$localstatedir$ac_delim
4687 includedir!$includedir$ac_delim
4688 oldincludedir!$oldincludedir$ac_delim
4689 docdir!$docdir$ac_delim
4690 infodir!$infodir$ac_delim
4691 htmldir!$htmldir$ac_delim
4692 dvidir!$dvidir$ac_delim
4693 pdfdir!$pdfdir$ac_delim
4694 psdir!$psdir$ac_delim
4695 libdir!$libdir$ac_delim
4696 localedir!$localedir$ac_delim
4697 mandir!$mandir$ac_delim
4699 ECHO_C!$ECHO_C$ac_delim
4700 ECHO_N!$ECHO_N$ac_delim
4701 ECHO_T!$ECHO_T$ac_delim
4703 build_alias!$build_alias$ac_delim
4704 host_alias!$host_alias$ac_delim
4705 target_alias!$target_alias$ac_delim
4707 CFLAGS!$CFLAGS$ac_delim
4708 LDFLAGS!$LDFLAGS$ac_delim
4709 CPPFLAGS!$CPPFLAGS$ac_delim
4710 ac_ct_CC!$ac_ct_CC$ac_delim
4711 EXEEXT!$EXEEXT$ac_delim
4712 OBJEXT!$OBJEXT$ac_delim
4714 krb5_cflags!$krb5_cflags$ac_delim
4715 krb5_ldflags!$krb5_ldflags$ac_delim
4716 targetname!$targetname$ac_delim
4717 LIBOBJS!$LIBOBJS$ac_delim
4718 LTLIBOBJS!$LTLIBOBJS$ac_delim
4721 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 50; then
4723 elif $ac_last_try; then
4724 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
4725 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
4726 { (exit 1); exit 1; }; }
4728 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4732 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
4733 if test -n "$ac_eof"; then
4734 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
4735 ac_eof=`expr $ac_eof + 1`
4738 cat >>$CONFIG_STATUS <<_ACEOF
4739 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
4740 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
4743 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
4744 s/^/s,@/; s/!/@,|#_!!_#|/
4747 s/'"$ac_delim"'$/,g/; t
4749 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
4750 ' >>$CONFIG_STATUS <conf$$subs.sed
4751 rm -f conf$$subs.sed
4752 cat >>$CONFIG_STATUS <<_ACEOF
4759 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4760 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4761 # trailing colons and then remove the whole line if VPATH becomes empty
4762 # (actually we leave an empty line to preserve line numbers).
4763 if test "x$srcdir" = x.; then
4764 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4768 s/^\([^=]*=[ ]*\):*/\1/
4774 cat >>$CONFIG_STATUS <<\_ACEOF
4775 fi # test -n "$CONFIG_FILES"
4778 for ac_tag in :F $CONFIG_FILES
4781 :[FHLC]) ac_mode=$ac_tag; continue;;
4783 case $ac_mode$ac_tag in
4785 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
4786 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
4787 { (exit 1); exit 1; }; };;
4788 :[FH]-) ac_tag=-:-;;
4789 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4806 -) ac_f="$tmp/stdin";;
4807 *) # Look for the file first in the build tree, then in the source tree
4808 # (if the path is not absolute). The absolute path cannot be DOS-style,
4809 # because $ac_f cannot contain `:'.
4813 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4815 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
4816 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
4817 { (exit 1); exit 1; }; };;
4819 ac_file_inputs="$ac_file_inputs $ac_f"
4822 # Let's still pretend it is `configure' which instantiates (i.e., don't
4823 # use $as_me), people would be surprised to read:
4824 # /* config.h. Generated by config.status. */
4825 configure_input="Generated from "`IFS=:
4826 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
4827 if test x"$ac_file" != x-; then
4828 configure_input="$ac_file. $configure_input"
4829 { echo "$as_me:$LINENO: creating $ac_file" >&5
4830 echo "$as_me: creating $ac_file" >&6;}
4834 *:-:* | *:-) cat >"$tmp/stdin";;
4839 ac_dir=`$as_dirname -- "$ac_file" ||
4840 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4841 X"$ac_file" : 'X\(//\)[^/]' \| \
4842 X"$ac_file" : 'X\(//\)$' \| \
4843 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4845 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4864 -*) as_dir=./$as_dir;;
4866 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
4870 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
4871 *) as_qdir=$as_dir;;
4873 as_dirs="'$as_qdir' $as_dirs"
4874 as_dir=`$as_dirname -- "$as_dir" ||
4875 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4876 X"$as_dir" : 'X\(//\)[^/]' \| \
4877 X"$as_dir" : 'X\(//\)$' \| \
4878 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4880 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4897 test -d "$as_dir" && break
4899 test -z "$as_dirs" || eval "mkdir $as_dirs"
4900 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
4901 echo "$as_me: error: cannot create directory $as_dir" >&2;}
4902 { (exit 1); exit 1; }; }; }
4906 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4908 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
4909 # A ".." for each directory in $ac_dir_suffix.
4910 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
4911 case $ac_top_builddir_sub in
4912 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4913 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4916 ac_abs_top_builddir=$ac_pwd
4917 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4918 # for backward compatibility:
4919 ac_top_builddir=$ac_top_build_prefix
4922 .) # We are building in place.
4924 ac_top_srcdir=$ac_top_builddir_sub
4925 ac_abs_top_srcdir=$ac_pwd ;;
4926 [\\/]* | ?:[\\/]* ) # Absolute name.
4927 ac_srcdir=$srcdir$ac_dir_suffix;
4928 ac_top_srcdir=$srcdir
4929 ac_abs_top_srcdir=$srcdir ;;
4931 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4932 ac_top_srcdir=$ac_top_build_prefix$srcdir
4933 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4935 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4946 cat >>$CONFIG_STATUS <<\_ACEOF
4947 # If the template does not know about datarootdir, expand it.
4948 # FIXME: This hack should be removed a few years after 2.60.
4949 ac_datarootdir_hack=; ac_datarootdir_seen=
4951 case `sed -n '/datarootdir/ {
4960 ' $ac_file_inputs` in
4961 *datarootdir*) ac_datarootdir_seen=yes;;
4962 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4963 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4964 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4966 cat >>$CONFIG_STATUS <<_ACEOF
4967 ac_datarootdir_hack='
4968 s&@datadir@&$datadir&g
4969 s&@docdir@&$docdir&g
4970 s&@infodir@&$infodir&g
4971 s&@localedir@&$localedir&g
4972 s&@mandir@&$mandir&g
4973 s&\\\${datarootdir}&$datarootdir&g' ;;
4977 # Neutralize VPATH when `$srcdir' = `.'.
4978 # Shell code in configure.ac might set extrasub.
4979 # FIXME: do we really want to maintain this feature?
4980 cat >>$CONFIG_STATUS <<_ACEOF
4984 cat >>$CONFIG_STATUS <<\_ACEOF
4986 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4987 s&@configure_input@&$configure_input&;t t
4988 s&@top_builddir@&$ac_top_builddir_sub&;t t
4989 s&@srcdir@&$ac_srcdir&;t t
4990 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4991 s&@top_srcdir@&$ac_top_srcdir&;t t
4992 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4993 s&@builddir@&$ac_builddir&;t t
4994 s&@abs_builddir@&$ac_abs_builddir&;t t
4995 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4996 $ac_datarootdir_hack
4997 " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out
4999 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5000 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5001 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5002 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5003 which seems to be undefined. Please make sure it is defined." >&5
5004 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5005 which seems to be undefined. Please make sure it is defined." >&2;}
5009 -) cat "$tmp/out"; rm -f "$tmp/out";;
5010 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
5021 { (exit 0); exit 0; }
5023 chmod +x $CONFIG_STATUS
5024 ac_clean_files=$ac_clean_files_save
5027 # configure is writing to config.log, and then calls config.status.
5028 # config.status does its own redirection, appending to config.log.
5029 # Unfortunately, on DOS this fails, as config.log is still kept open
5030 # by configure, so config.status won't be able to write to it; its
5031 # output is simply discarded. So we exec the FD to /dev/null,
5032 # effectively closing config.log, so it can be properly (re)opened and
5033 # appended to by config.status. When coming back to configure, we
5034 # need to make the FD available again.
5035 if test "$no_create" != yes; then
5037 ac_config_status_args=
5038 test "$silent" = yes &&
5039 ac_config_status_args="$ac_config_status_args --quiet"
5041 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5043 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5044 # would make configure fail if this is the last instruction.
5045 $ac_cs_success || { (exit 1); exit 1; }