2 # From configure.in Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.67 for mod_auth_gssapi 0.1.
6 # Report bugs to <modauthkerb-developers@lists.sourceforge.net>.
9 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
10 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
14 # This configure script is free software; the Free Software Foundation
15 # gives unlimited permission to copy, distribute and modify it.
16 ## -------------------- ##
17 ## M4sh Initialization. ##
18 ## -------------------- ##
20 # Be more Bourne compatible
21 DUALCASE=1; export DUALCASE # for MKS sh
22 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
30 case `(set -o) 2>/dev/null` in #(
42 # Printing a long string crashes Solaris 7 /usr/bin/printf.
43 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
45 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
46 # Prefer a ksh shell builtin over an external printf program on Solaris,
47 # but without wasting forks for bash or zsh.
48 if test -z "$BASH_VERSION$ZSH_VERSION" \
49 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
51 as_echo_n='print -rn --'
52 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
56 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
57 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
58 as_echo_n='/usr/ucb/echo -n'
60 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
65 expr "X$arg" : "X\\(.*\\)$as_nl";
66 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
68 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
71 as_echo_n='sh -c $as_echo_n_body as_echo'
74 as_echo='sh -c $as_echo_body as_echo'
77 # The user is always right.
78 if test "${PATH_SEPARATOR+set}" != set; then
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
88 # We need space, tab and new line, in precisely that order. Quoting is
89 # there to prevent editors from complaining about space-tab.
90 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
91 # splitting by setting IFS to empty value.)
94 # Find who we are. Look in the path if we contain no directory separator.
96 *[\\/]* ) as_myself=$0 ;;
97 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
101 test -z "$as_dir" && as_dir=.
102 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
108 # We did not find ourselves, most probably we were run as `sh COMMAND'
109 # in which case we are not to be found in the path.
110 if test "x$as_myself" = x; then
113 if test ! -f "$as_myself"; then
114 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 # Unset variables that we do not need and which cause bugs (e.g. in
119 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
120 # suppresses any "Segmentation fault" message there. '((' could
121 # trigger a bug in pdksh 5.2.14.
122 for as_var in BASH_ENV ENV MAIL MAILPATH
123 do eval test x\${$as_var+set} = xset \
124 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
137 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
139 if test "x$CONFIG_SHELL" = x; then
140 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
143 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
144 # is contrary to our usage. Disable this feature.
145 alias -g '\${1+\"\$@\"}'='\"\$@\"'
148 case \`(set -o) 2>/dev/null\` in #(
156 as_required="as_fn_return () { (exit \$1); }
157 as_fn_success () { as_fn_return 0; }
158 as_fn_failure () { as_fn_return 1; }
159 as_fn_ret_success () { return 0; }
160 as_fn_ret_failure () { return 1; }
163 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
164 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
165 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
166 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
167 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
170 exitcode=1; echo positional parameters were not saved.
172 test x\$exitcode = x0 || exit 1"
173 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
174 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
175 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
176 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
177 test \$(( 1 + 1 )) = 2 || exit 1"
178 if (eval "$as_required") 2>/dev/null; then :
183 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
188 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
191 test -z "$as_dir" && as_dir=.
195 for as_base in sh bash ksh sh5; do
196 # Try only shells that exist, to save several forks.
197 as_shell=$as_dir/$as_base
198 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
199 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 CONFIG_SHELL=$as_shell as_have_required=yes
201 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
209 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
210 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
211 CONFIG_SHELL=$SHELL as_have_required=yes
216 if test "x$CONFIG_SHELL" != x; then :
217 # We cannot yet assume a decent shell, so we have to provide a
218 # neutralization value for shells without unset; and this also
219 # works around shells that cannot unset nonexistent variables.
222 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
224 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
227 if test x$as_have_required = xno; then :
228 $as_echo "$0: This script requires a shell more modern than all"
229 $as_echo "$0: the shells that I found on your system."
230 if test x${ZSH_VERSION+set} = xset ; then
231 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
232 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
234 $as_echo "$0: Please tell bug-autoconf@gnu.org and
235 $0: modauthkerb-developers@lists.sourceforge.net about your
236 $0: system, including any error possibly output before this
237 $0: message. Then install a modern shell, or manually run
238 $0: the script under such a shell if you do have one."
244 SHELL=${CONFIG_SHELL-/bin/sh}
246 # Unset more variables known to interfere with behavior of common tools.
247 CLICOLOR_FORCE= GREP_OPTIONS=
248 unset CLICOLOR_FORCE GREP_OPTIONS
250 ## --------------------- ##
251 ## M4sh Shell Functions. ##
252 ## --------------------- ##
255 # Portably unset VAR.
258 { eval $1=; unset $1;}
262 # as_fn_set_status STATUS
263 # -----------------------
264 # Set $? to STATUS, without forking.
272 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
282 # Create "$as_dir" as a directory, including parents if necessary.
287 -*) as_dir=./$as_dir;;
289 test -d "$as_dir" || eval $as_mkdir_p || {
293 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
296 as_dirs="'$as_qdir' $as_dirs"
297 as_dir=`$as_dirname -- "$as_dir" ||
298 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
299 X"$as_dir" : 'X\(//\)[^/]' \| \
300 X"$as_dir" : 'X\(//\)$' \| \
301 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
302 $as_echo X"$as_dir" |
303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
320 test -d "$as_dir" && break
322 test -z "$as_dirs" || eval "mkdir $as_dirs"
323 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
327 # as_fn_append VAR VALUE
328 # ----------------------
329 # Append the text in VALUE to the end of the definition contained in VAR. Take
330 # advantage of any shell optimizations that allow amortized linear growth over
331 # repeated appends, instead of the typical quadratic growth present in naive
333 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
334 eval 'as_fn_append ()
347 # Perform arithmetic evaluation on the ARGs, and store the result in the
348 # global $as_val. Take advantage of shells that can avoid forks. The arguments
349 # must be portable across $(()) and expr.
350 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
358 as_val=`expr "$@" || test $? -eq 1`
363 # as_fn_error STATUS ERROR [LINENO LOG_FD]
364 # ----------------------------------------
365 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
366 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
367 # script with STATUS, using 1 if that was 0.
370 as_status=$1; test $as_status -eq 0 && as_status=1
372 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
373 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
375 $as_echo "$as_me: error: $2" >&2
376 as_fn_exit $as_status
379 if expr a : '\(a\)' >/dev/null 2>&1 &&
380 test "X`expr 00001 : '.*\(...\)'`" = X001; then
386 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
392 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
398 as_me=`$as_basename -- "$0" ||
399 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
400 X"$0" : 'X\(//\)$' \| \
401 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
403 sed '/^.*\/\([^/][^/]*\)\/*$/{
417 # Avoid depending upon Character Ranges.
418 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
419 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
420 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
421 as_cr_digits='0123456789'
422 as_cr_alnum=$as_cr_Letters$as_cr_digits
425 as_lineno_1=$LINENO as_lineno_1a=$LINENO
426 as_lineno_2=$LINENO as_lineno_2a=$LINENO
427 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
428 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
429 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
441 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 chmod +x "$as_me.lineno" ||
446 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
448 # Don't try to exec as it changes $[0], causing all sort of problems
449 # (the dirname of $[0] is not the place where we might find the
450 # original and so on. Autoconf is especially sensitive to this).
452 # Exit status is that of the last command.
456 ECHO_C= ECHO_N= ECHO_T=
457 case `echo -n x` in #(((((
459 case `echo 'xy\c'` in
460 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
462 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
469 rm -f conf$$ conf$$.exe conf$$.file
470 if test -d conf$$.dir; then
471 rm -f conf$$.dir/conf$$.file
474 mkdir conf$$.dir 2>/dev/null
476 if (echo >conf$$.file) 2>/dev/null; then
477 if ln -s conf$$.file conf$$ 2>/dev/null; then
479 # ... but there are two gotchas:
480 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
481 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
482 # In both cases, we have to default to `cp -p'.
483 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
485 elif ln conf$$.file conf$$ 2>/dev/null; then
493 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
494 rmdir conf$$.dir 2>/dev/null
496 if mkdir -p . 2>/dev/null; then
497 as_mkdir_p='mkdir -p "$as_dir"'
499 test -d ./-p && rmdir ./-p
503 if test -x / >/dev/null 2>&1; then
506 if ls -dL / >/dev/null 2>&1; then
513 if test -d "$1"; then
519 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
520 ???[sx]*):;;*)false;;esac;fi
524 as_executable_p=$as_test_x
526 # Sed expression to map a string onto a valid CPP name.
527 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
529 # Sed expression to map a string onto a valid variable name.
530 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
533 test -n "$DJDIR" || exec 7<&0 </dev/null
537 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
538 # so uname gets run too.
539 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544 ac_default_prefix=/usr/local
546 ac_config_libobj_dir=.
553 # Identity of this package.
554 PACKAGE_NAME='mod_auth_gssapi'
555 PACKAGE_TARNAME='mod_auth_gssapi'
556 PACKAGE_VERSION='0.1'
557 PACKAGE_STRING='mod_auth_gssapi 0.1'
558 PACKAGE_BUGREPORT='modauthkerb-developers@lists.sourceforge.net'
561 ac_unique_file="mod_auth_gssapi.c"
562 # Factoring default headers for most tests.
563 ac_includes_default="\
565 #ifdef HAVE_SYS_TYPES_H
566 # include <sys/types.h>
568 #ifdef HAVE_SYS_STAT_H
569 # include <sys/stat.h>
575 # ifdef HAVE_STDLIB_H
580 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 #ifdef HAVE_STRINGS_H
586 # include <strings.h>
588 #ifdef HAVE_INTTYPES_H
589 # include <inttypes.h>
598 ac_subst_vars='LTLIBOBJS
642 program_transform_name
655 enable_option_checking
659 ac_precious_vars='build_alias
670 # Initialize some variables set by options.
672 ac_init_version=false
673 ac_unrecognized_opts=
675 # The variables have the same names as the options, with
676 # dashes changed to underlines.
684 program_transform_name=s,x,x,
692 # Installation directory options.
693 # These are left unexpanded so users can "make install exec_prefix=/foo"
694 # and all the variables that are supposed to be based on exec_prefix
695 # by default will actually change.
696 # Use braces instead of parens because sh, perl, etc. also accept them.
697 # (The list follows the same order as the GNU Coding Standards.)
698 bindir='${exec_prefix}/bin'
699 sbindir='${exec_prefix}/sbin'
700 libexecdir='${exec_prefix}/libexec'
701 datarootdir='${prefix}/share'
702 datadir='${datarootdir}'
703 sysconfdir='${prefix}/etc'
704 sharedstatedir='${prefix}/com'
705 localstatedir='${prefix}/var'
706 includedir='${prefix}/include'
707 oldincludedir='/usr/include'
708 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
709 infodir='${datarootdir}/info'
714 libdir='${exec_prefix}/lib'
715 localedir='${datarootdir}/locale'
716 mandir='${datarootdir}/man'
722 # If the previous option needs an argument, assign it.
723 if test -n "$ac_prev"; then
724 eval $ac_prev=\$ac_option
730 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
735 # Accept the important Cygnus configure options, so we can diagnose typos.
737 case $ac_dashdash$ac_option in
741 -bindir | --bindir | --bindi | --bind | --bin | --bi)
743 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
746 -build | --build | --buil | --bui | --bu)
747 ac_prev=build_alias ;;
748 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
749 build_alias=$ac_optarg ;;
751 -cache-file | --cache-file | --cache-fil | --cache-fi \
752 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
753 ac_prev=cache_file ;;
754 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
755 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
756 cache_file=$ac_optarg ;;
759 cache_file=config.cache ;;
761 -datadir | --datadir | --datadi | --datad)
763 -datadir=* | --datadir=* | --datadi=* | --datad=*)
764 datadir=$ac_optarg ;;
766 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
767 | --dataroo | --dataro | --datar)
768 ac_prev=datarootdir ;;
769 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
770 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
771 datarootdir=$ac_optarg ;;
773 -disable-* | --disable-*)
774 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
775 # Reject names that are not valid shell variable names.
776 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
777 as_fn_error $? "invalid feature name: $ac_useropt"
778 ac_useropt_orig=$ac_useropt
779 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
780 case $ac_user_opts in
784 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
785 ac_unrecognized_sep=', ';;
787 eval enable_$ac_useropt=no ;;
789 -docdir | --docdir | --docdi | --doc | --do)
791 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
794 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
796 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
799 -enable-* | --enable-*)
800 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
801 # Reject names that are not valid shell variable names.
802 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
803 as_fn_error $? "invalid feature name: $ac_useropt"
804 ac_useropt_orig=$ac_useropt
805 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
806 case $ac_user_opts in
810 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
811 ac_unrecognized_sep=', ';;
813 eval enable_$ac_useropt=\$ac_optarg ;;
815 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
816 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
817 | --exec | --exe | --ex)
818 ac_prev=exec_prefix ;;
819 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
820 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
821 | --exec=* | --exe=* | --ex=*)
822 exec_prefix=$ac_optarg ;;
824 -gas | --gas | --ga | --g)
825 # Obsolete; use --with-gas.
828 -help | --help | --hel | --he | -h)
830 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
831 ac_init_help=recursive ;;
832 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
833 ac_init_help=short ;;
835 -host | --host | --hos | --ho)
836 ac_prev=host_alias ;;
837 -host=* | --host=* | --hos=* | --ho=*)
838 host_alias=$ac_optarg ;;
840 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
842 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
844 htmldir=$ac_optarg ;;
846 -includedir | --includedir | --includedi | --included | --include \
847 | --includ | --inclu | --incl | --inc)
848 ac_prev=includedir ;;
849 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
850 | --includ=* | --inclu=* | --incl=* | --inc=*)
851 includedir=$ac_optarg ;;
853 -infodir | --infodir | --infodi | --infod | --info | --inf)
855 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
856 infodir=$ac_optarg ;;
858 -libdir | --libdir | --libdi | --libd)
860 -libdir=* | --libdir=* | --libdi=* | --libd=*)
863 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
864 | --libexe | --libex | --libe)
865 ac_prev=libexecdir ;;
866 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
867 | --libexe=* | --libex=* | --libe=*)
868 libexecdir=$ac_optarg ;;
870 -localedir | --localedir | --localedi | --localed | --locale)
872 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
873 localedir=$ac_optarg ;;
875 -localstatedir | --localstatedir | --localstatedi | --localstated \
876 | --localstate | --localstat | --localsta | --localst | --locals)
877 ac_prev=localstatedir ;;
878 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
879 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
880 localstatedir=$ac_optarg ;;
882 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
884 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
888 # Obsolete; use --without-fp.
891 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
892 | --no-cr | --no-c | -n)
895 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
896 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
899 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
900 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
901 | --oldin | --oldi | --old | --ol | --o)
902 ac_prev=oldincludedir ;;
903 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
904 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
905 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
906 oldincludedir=$ac_optarg ;;
908 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
910 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
913 -program-prefix | --program-prefix | --program-prefi | --program-pref \
914 | --program-pre | --program-pr | --program-p)
915 ac_prev=program_prefix ;;
916 -program-prefix=* | --program-prefix=* | --program-prefi=* \
917 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
918 program_prefix=$ac_optarg ;;
920 -program-suffix | --program-suffix | --program-suffi | --program-suff \
921 | --program-suf | --program-su | --program-s)
922 ac_prev=program_suffix ;;
923 -program-suffix=* | --program-suffix=* | --program-suffi=* \
924 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
925 program_suffix=$ac_optarg ;;
927 -program-transform-name | --program-transform-name \
928 | --program-transform-nam | --program-transform-na \
929 | --program-transform-n | --program-transform- \
930 | --program-transform | --program-transfor \
931 | --program-transfo | --program-transf \
932 | --program-trans | --program-tran \
933 | --progr-tra | --program-tr | --program-t)
934 ac_prev=program_transform_name ;;
935 -program-transform-name=* | --program-transform-name=* \
936 | --program-transform-nam=* | --program-transform-na=* \
937 | --program-transform-n=* | --program-transform-=* \
938 | --program-transform=* | --program-transfor=* \
939 | --program-transfo=* | --program-transf=* \
940 | --program-trans=* | --program-tran=* \
941 | --progr-tra=* | --program-tr=* | --program-t=*)
942 program_transform_name=$ac_optarg ;;
944 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
946 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
949 -psdir | --psdir | --psdi | --psd | --ps)
951 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
954 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
955 | -silent | --silent | --silen | --sile | --sil)
958 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
960 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
962 sbindir=$ac_optarg ;;
964 -sharedstatedir | --sharedstatedir | --sharedstatedi \
965 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
966 | --sharedst | --shareds | --shared | --share | --shar \
968 ac_prev=sharedstatedir ;;
969 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
970 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
971 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
973 sharedstatedir=$ac_optarg ;;
975 -site | --site | --sit)
977 -site=* | --site=* | --sit=*)
980 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
982 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
985 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
986 | --syscon | --sysco | --sysc | --sys | --sy)
987 ac_prev=sysconfdir ;;
988 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
989 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
990 sysconfdir=$ac_optarg ;;
992 -target | --target | --targe | --targ | --tar | --ta | --t)
993 ac_prev=target_alias ;;
994 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
995 target_alias=$ac_optarg ;;
997 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1000 -version | --version | --versio | --versi | --vers | -V)
1001 ac_init_version=: ;;
1004 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1005 # Reject names that are not valid shell variable names.
1006 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1007 as_fn_error $? "invalid package name: $ac_useropt"
1008 ac_useropt_orig=$ac_useropt
1009 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1010 case $ac_user_opts in
1014 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1015 ac_unrecognized_sep=', ';;
1017 eval with_$ac_useropt=\$ac_optarg ;;
1019 -without-* | --without-*)
1020 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1021 # Reject names that are not valid shell variable names.
1022 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1023 as_fn_error $? "invalid package name: $ac_useropt"
1024 ac_useropt_orig=$ac_useropt
1025 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1026 case $ac_user_opts in
1030 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1031 ac_unrecognized_sep=', ';;
1033 eval with_$ac_useropt=no ;;
1036 # Obsolete; use --with-x.
1039 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1040 | --x-incl | --x-inc | --x-in | --x-i)
1041 ac_prev=x_includes ;;
1042 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1043 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1044 x_includes=$ac_optarg ;;
1046 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1047 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1048 ac_prev=x_libraries ;;
1049 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1050 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1051 x_libraries=$ac_optarg ;;
1053 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1054 Try \`$0 --help' for more information"
1058 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1059 # Reject names that are not valid shell variable names.
1060 case $ac_envvar in #(
1061 '' | [0-9]* | *[!_$as_cr_alnum]* )
1062 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1064 eval $ac_envvar=\$ac_optarg
1065 export $ac_envvar ;;
1068 # FIXME: should be removed in autoconf 3.0.
1069 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1070 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1071 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1072 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1078 if test -n "$ac_prev"; then
1079 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1080 as_fn_error $? "missing argument to $ac_option"
1083 if test -n "$ac_unrecognized_opts"; then
1084 case $enable_option_checking in
1086 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1087 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1091 # Check all directory arguments for consistency.
1092 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1093 datadir sysconfdir sharedstatedir localstatedir includedir \
1094 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1095 libdir localedir mandir
1097 eval ac_val=\$$ac_var
1098 # Remove trailing slashes.
1101 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1102 eval $ac_var=\$ac_val;;
1104 # Be sure to have absolute directory names.
1106 [\\/$]* | ?:[\\/]* ) continue;;
1107 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1109 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1112 # There might be people who depend on the old broken behavior: `$host'
1113 # used to hold the argument of --host etc.
1114 # FIXME: To remove some day.
1117 target=$target_alias
1119 # FIXME: To remove some day.
1120 if test "x$host_alias" != x; then
1121 if test "x$build_alias" = x; then
1122 cross_compiling=maybe
1123 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1124 If a cross compiler is detected then cross compile mode will be used" >&2
1125 elif test "x$build_alias" != "x$host_alias"; then
1131 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1133 test "$silent" = yes && exec 6>/dev/null
1136 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1137 ac_ls_di=`ls -di .` &&
1138 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1139 as_fn_error $? "working directory cannot be determined"
1140 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1141 as_fn_error $? "pwd does not report name of working directory"
1144 # Find the source files, if location was not specified.
1145 if test -z "$srcdir"; then
1146 ac_srcdir_defaulted=yes
1147 # Try the directory containing this script, then the parent directory.
1148 ac_confdir=`$as_dirname -- "$as_myself" ||
1149 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1150 X"$as_myself" : 'X\(//\)[^/]' \| \
1151 X"$as_myself" : 'X\(//\)$' \| \
1152 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1153 $as_echo X"$as_myself" |
1154 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1172 if test ! -r "$srcdir/$ac_unique_file"; then
1176 ac_srcdir_defaulted=no
1178 if test ! -r "$srcdir/$ac_unique_file"; then
1179 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1180 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1182 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1186 # When building in place, set srcdir=.
1187 if test "$ac_abs_confdir" = "$ac_pwd"; then
1190 # Remove unnecessary trailing slashes from srcdir.
1191 # Double slashes in file names in object file debugging info
1192 # mess up M-x gdb in Emacs.
1194 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196 for ac_var in $ac_precious_vars; do
1197 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1198 eval ac_env_${ac_var}_value=\$${ac_var}
1199 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1200 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1204 # Report the --help message.
1206 if test "$ac_init_help" = "long"; then
1207 # Omit some internal or obsolete options to make the list less imposing.
1208 # This message is too long to be a string in the A/UX 3.1 sh.
1210 \`configure' configures mod_auth_gssapi 0.1 to adapt to many kinds of systems.
1212 Usage: $0 [OPTION]... [VAR=VALUE]...
1214 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1215 VAR=VALUE. See below for descriptions of some of the useful variables.
1217 Defaults for the options are specified in brackets.
1220 -h, --help display this help and exit
1221 --help=short display options specific to this package
1222 --help=recursive display the short help of all the included packages
1223 -V, --version display version information and exit
1224 -q, --quiet, --silent do not print \`checking ...' messages
1225 --cache-file=FILE cache test results in FILE [disabled]
1226 -C, --config-cache alias for \`--cache-file=config.cache'
1227 -n, --no-create do not create output files
1228 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1230 Installation directories:
1231 --prefix=PREFIX install architecture-independent files in PREFIX
1232 [$ac_default_prefix]
1233 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1236 By default, \`make install' will install all the files in
1237 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1238 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1239 for instance \`--prefix=\$HOME'.
1241 For better control, use the options below.
1243 Fine tuning of the installation directories:
1244 --bindir=DIR user executables [EPREFIX/bin]
1245 --sbindir=DIR system admin executables [EPREFIX/sbin]
1246 --libexecdir=DIR program executables [EPREFIX/libexec]
1247 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1248 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1249 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1250 --libdir=DIR object code libraries [EPREFIX/lib]
1251 --includedir=DIR C header files [PREFIX/include]
1252 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1253 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1254 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1255 --infodir=DIR info documentation [DATAROOTDIR/info]
1256 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1257 --mandir=DIR man documentation [DATAROOTDIR/man]
1258 --docdir=DIR documentation root [DATAROOTDIR/doc/mod_auth_gssapi]
1259 --htmldir=DIR html documentation [DOCDIR]
1260 --dvidir=DIR dvi documentation [DOCDIR]
1261 --pdfdir=DIR pdf documentation [DOCDIR]
1262 --psdir=DIR ps documentation [DOCDIR]
1269 if test -n "$ac_init_help"; then
1270 case $ac_init_help in
1271 short | recursive ) echo "Configuration of mod_auth_gssapi 0.1:";;
1276 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1277 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1278 --with-gss=dir use gss in dir
1279 --with-apache=dir use apache in dir
1281 Some influential environment variables:
1282 CC C compiler command
1283 CFLAGS C compiler flags
1284 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1285 nonstandard directory <lib dir>
1286 LIBS libraries to pass to the linker, e.g. -l<library>
1287 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1288 you have headers in a nonstandard directory <include dir>
1291 Use these variables to override the choices made by `configure' or to help
1292 it to find libraries and programs with nonstandard names/locations.
1294 Report bugs to <modauthkerb-developers@lists.sourceforge.net>.
1299 if test "$ac_init_help" = "recursive"; then
1300 # If there are subdirs, report their specific --help.
1301 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302 test -d "$ac_dir" ||
1303 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1310 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1311 # A ".." for each directory in $ac_dir_suffix.
1312 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1313 case $ac_top_builddir_sub in
1314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1318 ac_abs_top_builddir=$ac_pwd
1319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320 # for backward compatibility:
1321 ac_top_builddir=$ac_top_build_prefix
1324 .) # We are building in place.
1326 ac_top_srcdir=$ac_top_builddir_sub
1327 ac_abs_top_srcdir=$ac_pwd ;;
1328 [\\/]* | ?:[\\/]* ) # Absolute name.
1329 ac_srcdir=$srcdir$ac_dir_suffix;
1330 ac_top_srcdir=$srcdir
1331 ac_abs_top_srcdir=$srcdir ;;
1333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334 ac_top_srcdir=$ac_top_build_prefix$srcdir
1335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1339 cd "$ac_dir" || { ac_status=$?; continue; }
1340 # Check for guested configure.
1341 if test -f "$ac_srcdir/configure.gnu"; then
1343 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344 elif test -f "$ac_srcdir/configure"; then
1346 $SHELL "$ac_srcdir/configure" --help=recursive
1348 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1350 cd "$ac_pwd" || { ac_status=$?; break; }
1354 test -n "$ac_init_help" && exit $ac_status
1355 if $ac_init_version; then
1357 mod_auth_gssapi configure 0.1
1358 generated by GNU Autoconf 2.67
1360 Copyright (C) 2010 Free Software Foundation, Inc.
1361 This configure script is free software; the Free Software Foundation
1362 gives unlimited permission to copy, distribute and modify it.
1367 ## ------------------------ ##
1368 ## Autoconf initialization. ##
1369 ## ------------------------ ##
1371 # ac_fn_c_try_compile LINENO
1372 # --------------------------
1373 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1374 ac_fn_c_try_compile ()
1376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1377 rm -f conftest.$ac_objext
1378 if { { ac_try="$ac_compile"
1380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1381 *) ac_try_echo=$ac_try;;
1383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1384 $as_echo "$ac_try_echo"; } >&5
1385 (eval "$ac_compile") 2>conftest.err
1387 if test -s conftest.err; then
1388 grep -v '^ *+' conftest.err >conftest.er1
1389 cat conftest.er1 >&5
1390 mv -f conftest.er1 conftest.err
1392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1393 test $ac_status = 0; } && {
1394 test -z "$ac_c_werror_flag" ||
1395 test ! -s conftest.err
1396 } && test -s conftest.$ac_objext; then :
1399 $as_echo "$as_me: failed program was:" >&5
1400 sed 's/^/| /' conftest.$ac_ext >&5
1404 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1405 as_fn_set_status $ac_retval
1407 } # ac_fn_c_try_compile
1409 # ac_fn_c_try_cpp LINENO
1410 # ----------------------
1411 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1415 if { { ac_try="$ac_cpp conftest.$ac_ext"
1417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418 *) ac_try_echo=$ac_try;;
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1424 if test -s conftest.err; then
1425 grep -v '^ *+' conftest.err >conftest.er1
1426 cat conftest.er1 >&5
1427 mv -f conftest.er1 conftest.err
1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430 test $ac_status = 0; } > conftest.i && {
1431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1432 test ! -s conftest.err
1436 $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1441 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1442 as_fn_set_status $ac_retval
1446 # ac_fn_c_try_run LINENO
1447 # ----------------------
1448 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1449 # that executables *can* be run.
1452 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1453 if { { ac_try="$ac_link"
1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_link") 2>&5
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1464 { { case "(($ac_try" in
1465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1466 *) ac_try_echo=$ac_try;;
1468 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1469 $as_echo "$ac_try_echo"; } >&5
1470 (eval "$ac_try") 2>&5
1472 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1473 test $ac_status = 0; }; }; then :
1476 $as_echo "$as_me: program exited with status $ac_status" >&5
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1480 ac_retval=$ac_status
1482 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1483 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1484 as_fn_set_status $ac_retval
1488 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1489 # -------------------------------------------------------
1490 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1491 # the include files in INCLUDES and setting the cache variable VAR
1493 ac_fn_c_check_header_mongrel ()
1495 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1496 if eval "test \"\${$3+set}\"" = set; then :
1497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1498 $as_echo_n "checking for $2... " >&6; }
1499 if eval "test \"\${$3+set}\"" = set; then :
1500 $as_echo_n "(cached) " >&6
1503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1504 $as_echo "$ac_res" >&6; }
1506 # Is the header compilable?
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1508 $as_echo_n "checking $2 usability... " >&6; }
1509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1510 /* end confdefs.h. */
1514 if ac_fn_c_try_compile "$LINENO"; then :
1515 ac_header_compiler=yes
1517 ac_header_compiler=no
1519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1521 $as_echo "$ac_header_compiler" >&6; }
1523 # Is the header present?
1524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1525 $as_echo_n "checking $2 presence... " >&6; }
1526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1527 /* end confdefs.h. */
1530 if ac_fn_c_try_cpp "$LINENO"; then :
1531 ac_header_preproc=yes
1533 ac_header_preproc=no
1535 rm -f conftest.err conftest.i conftest.$ac_ext
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1537 $as_echo "$ac_header_preproc" >&6; }
1539 # So? What about this header?
1540 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1543 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1544 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1545 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1549 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1550 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1551 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1553 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1555 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1558 ( $as_echo "## ----------------------------------------------------------- ##
1559 ## Report this to modauthkerb-developers@lists.sourceforge.net ##
1560 ## ----------------------------------------------------------- ##"
1561 ) | sed "s/^/$as_me: WARNING: /" >&2
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1565 $as_echo_n "checking for $2... " >&6; }
1566 if eval "test \"\${$3+set}\"" = set; then :
1567 $as_echo_n "(cached) " >&6
1569 eval "$3=\$ac_header_compiler"
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1573 $as_echo "$ac_res" >&6; }
1575 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1577 } # ac_fn_c_check_header_mongrel
1579 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1580 # -------------------------------------------------------
1581 # Tests whether HEADER exists and can be compiled using the include files in
1582 # INCLUDES, setting the cache variable VAR accordingly.
1583 ac_fn_c_check_header_compile ()
1585 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1587 $as_echo_n "checking for $2... " >&6; }
1588 if eval "test \"\${$3+set}\"" = set; then :
1589 $as_echo_n "(cached) " >&6
1591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592 /* end confdefs.h. */
1596 if ac_fn_c_try_compile "$LINENO"; then :
1601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1605 $as_echo "$ac_res" >&6; }
1606 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1608 } # ac_fn_c_check_header_compile
1610 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1611 # -------------------------------------------
1612 # Tests whether TYPE exists after having included INCLUDES, setting cache
1613 # variable VAR accordingly.
1614 ac_fn_c_check_type ()
1616 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1618 $as_echo_n "checking for $2... " >&6; }
1619 if eval "test \"\${$3+set}\"" = set; then :
1620 $as_echo_n "(cached) " >&6
1623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1624 /* end confdefs.h. */
1635 if ac_fn_c_try_compile "$LINENO"; then :
1636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1637 /* end confdefs.h. */
1648 if ac_fn_c_try_compile "$LINENO"; then :
1653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1659 $as_echo "$ac_res" >&6; }
1660 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1662 } # ac_fn_c_check_type
1664 # ac_fn_c_try_link LINENO
1665 # -----------------------
1666 # Try to link conftest.$ac_ext, and return whether this succeeded.
1669 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1670 rm -f conftest.$ac_objext conftest$ac_exeext
1671 if { { ac_try="$ac_link"
1673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1674 *) ac_try_echo=$ac_try;;
1676 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1677 $as_echo "$ac_try_echo"; } >&5
1678 (eval "$ac_link") 2>conftest.err
1680 if test -s conftest.err; then
1681 grep -v '^ *+' conftest.err >conftest.er1
1682 cat conftest.er1 >&5
1683 mv -f conftest.er1 conftest.err
1685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1686 test $ac_status = 0; } && {
1687 test -z "$ac_c_werror_flag" ||
1688 test ! -s conftest.err
1689 } && test -s conftest$ac_exeext && {
1690 test "$cross_compiling" = yes ||
1691 $as_test_x conftest$ac_exeext
1695 $as_echo "$as_me: failed program was:" >&5
1696 sed 's/^/| /' conftest.$ac_ext >&5
1700 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1701 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1702 # interfere with the next link command; also delete a directory that is
1703 # left behind by Apple's compiler. We do this before executing the actions.
1704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1706 as_fn_set_status $ac_retval
1708 } # ac_fn_c_try_link
1709 cat >config.log <<_ACEOF
1710 This file contains any messages produced by compilers while
1711 running configure, to aid debugging if configure makes a mistake.
1713 It was created by mod_auth_gssapi $as_me 0.1, which was
1714 generated by GNU Autoconf 2.67. Invocation command line was
1726 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1727 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1728 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1729 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1730 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1732 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1733 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1735 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1736 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1737 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1738 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1739 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1740 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1741 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749 test -z "$as_dir" && as_dir=.
1750 $as_echo "PATH: $as_dir"
1766 # Keep a trace of the command line.
1767 # Strip out --no-create and --no-recursion so they do not pile up.
1768 # Strip out --silent because we don't want to record it for future runs.
1769 # Also quote any args containing shell meta-characters.
1770 # Make two passes to allow for proper duplicate-argument suppression.
1774 ac_must_keep_next=false
1780 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1781 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1782 | -silent | --silent | --silen | --sile | --sil)
1785 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1788 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1790 as_fn_append ac_configure_args1 " '$ac_arg'"
1791 if test $ac_must_keep_next = true; then
1792 ac_must_keep_next=false # Got value, back to normal.
1795 *=* | --config-cache | -C | -disable-* | --disable-* \
1796 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1797 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1798 | -with-* | --with-* | -without-* | --without-* | --x)
1799 case "$ac_configure_args0 " in
1800 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1803 -* ) ac_must_keep_next=true ;;
1806 as_fn_append ac_configure_args " '$ac_arg'"
1811 { ac_configure_args0=; unset ac_configure_args0;}
1812 { ac_configure_args1=; unset ac_configure_args1;}
1814 # When interrupted or exit'd, cleanup temporary files, and complete
1815 # config.log. We remove comments because anyway the quotes in there
1816 # would cause problems or look ugly.
1817 # WARNING: Use '\'' to represent an apostrophe within the trap.
1818 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1819 trap 'exit_status=$?
1820 # Save into config.log some information that might help in debugging.
1824 $as_echo "## ---------------- ##
1825 ## Cache variables. ##
1826 ## ---------------- ##"
1828 # The following way of writing the cache mishandles newlines in values,
1830 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1831 eval ac_val=\$$ac_var
1835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1839 _ | IFS | as_nl) ;; #(
1840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1841 *) { eval $ac_var=; unset $ac_var;} ;;
1846 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1847 *${as_nl}ac_space=\ *)
1849 "s/'\''/'\''\\\\'\'''\''/g;
1850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1860 $as_echo "## ----------------- ##
1861 ## Output variables. ##
1862 ## ----------------- ##"
1864 for ac_var in $ac_subst_vars
1866 eval ac_val=\$$ac_var
1868 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1870 $as_echo "$ac_var='\''$ac_val'\''"
1874 if test -n "$ac_subst_files"; then
1875 $as_echo "## ------------------- ##
1876 ## File substitutions. ##
1877 ## ------------------- ##"
1879 for ac_var in $ac_subst_files
1881 eval ac_val=\$$ac_var
1883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1885 $as_echo "$ac_var='\''$ac_val'\''"
1890 if test -s confdefs.h; then
1891 $as_echo "## ----------- ##
1898 test "$ac_signal" != 0 &&
1899 $as_echo "$as_me: caught signal $ac_signal"
1900 $as_echo "$as_me: exit $exit_status"
1902 rm -f core *.core core.conftest.* &&
1903 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1906 for ac_signal in 1 2 13 15; do
1907 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1911 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1912 rm -f -r conftest* confdefs.h
1914 $as_echo "/* confdefs.h */" > confdefs.h
1916 # Predefined preprocessor variables.
1918 cat >>confdefs.h <<_ACEOF
1919 #define PACKAGE_NAME "$PACKAGE_NAME"
1922 cat >>confdefs.h <<_ACEOF
1923 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1926 cat >>confdefs.h <<_ACEOF
1927 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1930 cat >>confdefs.h <<_ACEOF
1931 #define PACKAGE_STRING "$PACKAGE_STRING"
1934 cat >>confdefs.h <<_ACEOF
1935 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1938 cat >>confdefs.h <<_ACEOF
1939 #define PACKAGE_URL "$PACKAGE_URL"
1943 # Let the site file select an alternate cache file if it wants to.
1944 # Prefer an explicitly selected file to automatically selected ones.
1947 if test -n "$CONFIG_SITE"; then
1948 # We do not want a PATH search for config.site.
1949 case $CONFIG_SITE in #((
1950 -*) ac_site_file1=./$CONFIG_SITE;;
1951 */*) ac_site_file1=$CONFIG_SITE;;
1952 *) ac_site_file1=./$CONFIG_SITE;;
1954 elif test "x$prefix" != xNONE; then
1955 ac_site_file1=$prefix/share/config.site
1956 ac_site_file2=$prefix/etc/config.site
1958 ac_site_file1=$ac_default_prefix/share/config.site
1959 ac_site_file2=$ac_default_prefix/etc/config.site
1961 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1963 test "x$ac_site_file" = xNONE && continue
1964 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1966 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1967 sed 's/^/| /' "$ac_site_file" >&5
1969 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1970 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1971 as_fn_error $? "failed to load site script $ac_site_file
1972 See \`config.log' for more details" "$LINENO" 5 ; }
1976 if test -r "$cache_file"; then
1977 # Some versions of bash will fail to source /dev/null (special files
1978 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1979 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1981 $as_echo "$as_me: loading cache $cache_file" >&6;}
1983 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1984 *) . "./$cache_file";;
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1989 $as_echo "$as_me: creating cache $cache_file" >&6;}
1993 # Check that the precious variables saved in the cache have kept the same
1995 ac_cache_corrupted=false
1996 for ac_var in $ac_precious_vars; do
1997 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1998 eval ac_new_set=\$ac_env_${ac_var}_set
1999 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2000 eval ac_new_val=\$ac_env_${ac_var}_value
2001 case $ac_old_set,$ac_new_set in
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2004 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2005 ac_cache_corrupted=: ;;
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2008 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2009 ac_cache_corrupted=: ;;
2012 if test "x$ac_old_val" != "x$ac_new_val"; then
2013 # differences in whitespace do not lead to failure.
2014 ac_old_val_w=`echo x $ac_old_val`
2015 ac_new_val_w=`echo x $ac_new_val`
2016 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2018 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2019 ac_cache_corrupted=:
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2022 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2023 eval $ac_var=\$ac_old_val
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2026 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2028 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2031 # Pass precious variables to config.status.
2032 if test "$ac_new_set" = set; then
2034 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2035 *) ac_arg=$ac_var=$ac_new_val ;;
2037 case " $ac_configure_args " in
2038 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2039 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2043 if $ac_cache_corrupted; then
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2045 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2046 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2047 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2048 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2050 ## -------------------- ##
2051 ## Main body of script. ##
2052 ## -------------------- ##
2055 ac_cpp='$CPP $CPPFLAGS'
2056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2062 ac_config_headers="$ac_config_headers config.h"
2065 # Checks for programs.
2067 ac_cpp='$CPP $CPPFLAGS'
2068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2071 if test -n "$ac_tool_prefix"; then
2072 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2073 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2075 $as_echo_n "checking for $ac_word... " >&6; }
2076 if test "${ac_cv_prog_CC+set}" = set; then :
2077 $as_echo_n "(cached) " >&6
2079 if test -n "$CC"; then
2080 ac_cv_prog_CC="$CC" # Let the user override the test.
2082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2086 test -z "$as_dir" && as_dir=.
2087 for ac_exec_ext in '' $ac_executable_extensions; do
2088 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2089 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2100 if test -n "$CC"; then
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2102 $as_echo "$CC" >&6; }
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2105 $as_echo "no" >&6; }
2110 if test -z "$ac_cv_prog_CC"; then
2112 # Extract the first word of "gcc", so it can be a program name with args.
2113 set dummy gcc; ac_word=$2
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2117 $as_echo_n "(cached) " >&6
2119 if test -n "$ac_ct_CC"; then
2120 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 ac_cv_prog_ac_ct_CC="gcc"
2130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2139 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2140 if test -n "$ac_ct_CC"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2142 $as_echo "$ac_ct_CC" >&6; }
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145 $as_echo "no" >&6; }
2148 if test "x$ac_ct_CC" = x; then
2151 case $cross_compiling:$ac_tool_warned in
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2154 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2155 ac_tool_warned=yes ;;
2163 if test -z "$CC"; then
2164 if test -n "$ac_tool_prefix"; then
2165 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2166 set dummy ${ac_tool_prefix}cc; ac_word=$2
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2168 $as_echo_n "checking for $ac_word... " >&6; }
2169 if test "${ac_cv_prog_CC+set}" = set; then :
2170 $as_echo_n "(cached) " >&6
2172 if test -n "$CC"; then
2173 ac_cv_prog_CC="$CC" # Let the user override the test.
2175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2179 test -z "$as_dir" && as_dir=.
2180 for ac_exec_ext in '' $ac_executable_extensions; do
2181 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2182 ac_cv_prog_CC="${ac_tool_prefix}cc"
2183 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2193 if test -n "$CC"; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2195 $as_echo "$CC" >&6; }
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2198 $as_echo "no" >&6; }
2204 if test -z "$CC"; then
2205 # Extract the first word of "cc", so it can be a program name with args.
2206 set dummy cc; ac_word=$2
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2208 $as_echo_n "checking for $ac_word... " >&6; }
2209 if test "${ac_cv_prog_CC+set}" = set; then :
2210 $as_echo_n "(cached) " >&6
2212 if test -n "$CC"; then
2213 ac_cv_prog_CC="$CC" # Let the user override the test.
2216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2220 test -z "$as_dir" && as_dir=.
2221 for ac_exec_ext in '' $ac_executable_extensions; do
2222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2223 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2224 ac_prog_rejected=yes
2228 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 if test $ac_prog_rejected = yes; then
2236 # We found a bogon in the path, so make sure we never use it.
2237 set dummy $ac_cv_prog_CC
2239 if test $# != 0; then
2240 # We chose a different compiler from the bogus one.
2241 # However, it has the same basename, so the bogon will be chosen
2242 # first if we set CC to just the basename; use the full file name.
2244 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2250 if test -n "$CC"; then
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2252 $as_echo "$CC" >&6; }
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2255 $as_echo "no" >&6; }
2260 if test -z "$CC"; then
2261 if test -n "$ac_tool_prefix"; then
2262 for ac_prog in cl.exe
2264 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2265 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2267 $as_echo_n "checking for $ac_word... " >&6; }
2268 if test "${ac_cv_prog_CC+set}" = set; then :
2269 $as_echo_n "(cached) " >&6
2271 if test -n "$CC"; then
2272 ac_cv_prog_CC="$CC" # Let the user override the test.
2274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2278 test -z "$as_dir" && as_dir=.
2279 for ac_exec_ext in '' $ac_executable_extensions; do
2280 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2281 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2282 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2292 if test -n "$CC"; then
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2294 $as_echo "$CC" >&6; }
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2297 $as_echo "no" >&6; }
2301 test -n "$CC" && break
2304 if test -z "$CC"; then
2306 for ac_prog in cl.exe
2308 # Extract the first word of "$ac_prog", so it can be a program name with args.
2309 set dummy $ac_prog; ac_word=$2
2310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2311 $as_echo_n "checking for $ac_word... " >&6; }
2312 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2313 $as_echo_n "(cached) " >&6
2315 if test -n "$ac_ct_CC"; then
2316 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2322 test -z "$as_dir" && as_dir=.
2323 for ac_exec_ext in '' $ac_executable_extensions; do
2324 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2325 ac_cv_prog_ac_ct_CC="$ac_prog"
2326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2335 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2336 if test -n "$ac_ct_CC"; then
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2338 $as_echo "$ac_ct_CC" >&6; }
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2341 $as_echo "no" >&6; }
2345 test -n "$ac_ct_CC" && break
2348 if test "x$ac_ct_CC" = x; then
2351 case $cross_compiling:$ac_tool_warned in
2353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2354 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2355 ac_tool_warned=yes ;;
2364 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2365 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2366 as_fn_error $? "no acceptable C compiler found in \$PATH
2367 See \`config.log' for more details" "$LINENO" 5 ; }
2369 # Provide some information about the compiler.
2370 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2373 for ac_option in --version -v -V -qversion; do
2374 { { ac_try="$ac_compiler $ac_option >&5"
2376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2377 *) ac_try_echo=$ac_try;;
2379 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2380 $as_echo "$ac_try_echo"; } >&5
2381 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2383 if test -s conftest.err; then
2385 ... rest of stderr output deleted ...
2386 10q' conftest.err >conftest.er1
2387 cat conftest.er1 >&5
2389 rm -f conftest.er1 conftest.err
2390 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2391 test $ac_status = 0; }
2394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2395 /* end confdefs.h. */
2405 ac_clean_files_save=$ac_clean_files
2406 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2407 # Try to create an executable without -o first, disregard a.out.
2408 # It will help us diagnose broken compilers, and finding out an intuition
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2411 $as_echo_n "checking whether the C compiler works... " >&6; }
2412 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2414 # The possible output files:
2415 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2418 for ac_file in $ac_files
2421 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2422 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2427 if { { ac_try="$ac_link_default"
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2433 $as_echo "$ac_try_echo"; } >&5
2434 (eval "$ac_link_default") 2>&5
2436 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2437 test $ac_status = 0; }; then :
2438 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2439 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2440 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2441 # so that the user can short-circuit this test for compilers unknown to
2443 for ac_file in $ac_files ''
2445 test -f "$ac_file" || continue
2447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2450 # We found the default executable, but exeext='' is most
2454 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2456 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2458 # We set ac_cv_exeext here because the later test for it is not
2459 # safe: cross compilers may not add the suffix if given an `-o'
2460 # argument, so we may need to know it at that point already.
2461 # Even if this section looks crufty: it has the advantage of
2468 test "$ac_cv_exeext" = no && ac_cv_exeext=
2473 if test -z "$ac_file"; then :
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2475 $as_echo "no" >&6; }
2476 $as_echo "$as_me: failed program was:" >&5
2477 sed 's/^/| /' conftest.$ac_ext >&5
2479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2481 as_fn_error 77 "C compiler cannot create executables
2482 See \`config.log' for more details" "$LINENO" 5 ; }
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2485 $as_echo "yes" >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2488 $as_echo_n "checking for C compiler default output file name... " >&6; }
2489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2490 $as_echo "$ac_file" >&6; }
2491 ac_exeext=$ac_cv_exeext
2493 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2494 ac_clean_files=$ac_clean_files_save
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2496 $as_echo_n "checking for suffix of executables... " >&6; }
2497 if { { ac_try="$ac_link"
2499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2500 *) ac_try_echo=$ac_try;;
2502 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2503 $as_echo "$ac_try_echo"; } >&5
2504 (eval "$ac_link") 2>&5
2506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2507 test $ac_status = 0; }; then :
2508 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2509 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2510 # work properly (i.e., refer to `conftest.exe'), while it won't with
2512 for ac_file in conftest.exe conftest conftest.*; do
2513 test -f "$ac_file" || continue
2515 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2516 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2524 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2525 See \`config.log' for more details" "$LINENO" 5 ; }
2527 rm -f conftest conftest$ac_cv_exeext
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2529 $as_echo "$ac_cv_exeext" >&6; }
2531 rm -f conftest.$ac_ext
2532 EXEEXT=$ac_cv_exeext
2534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2535 /* end confdefs.h. */
2540 FILE *f = fopen ("conftest.out", "w");
2541 return ferror (f) || fclose (f) != 0;
2547 ac_clean_files="$ac_clean_files conftest.out"
2548 # Check that the compiler produces executables we can run. If not, either
2549 # the compiler is broken, or we cross compile.
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2551 $as_echo_n "checking whether we are cross compiling... " >&6; }
2552 if test "$cross_compiling" != yes; then
2553 { { ac_try="$ac_link"
2555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2556 *) ac_try_echo=$ac_try;;
2558 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2559 $as_echo "$ac_try_echo"; } >&5
2560 (eval "$ac_link") 2>&5
2562 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2563 test $ac_status = 0; }
2564 if { ac_try='./conftest$ac_cv_exeext'
2565 { { case "(($ac_try" in
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2569 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2570 $as_echo "$ac_try_echo"; } >&5
2571 (eval "$ac_try") 2>&5
2573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2574 test $ac_status = 0; }; }; then
2577 if test "$cross_compiling" = maybe; then
2580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2582 as_fn_error $? "cannot run C compiled programs.
2583 If you meant to cross compile, use \`--host'.
2584 See \`config.log' for more details" "$LINENO" 5 ; }
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2589 $as_echo "$cross_compiling" >&6; }
2591 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2592 ac_clean_files=$ac_clean_files_save
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2594 $as_echo_n "checking for suffix of object files... " >&6; }
2595 if test "${ac_cv_objext+set}" = set; then :
2596 $as_echo_n "(cached) " >&6
2598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2599 /* end confdefs.h. */
2609 rm -f conftest.o conftest.obj
2610 if { { ac_try="$ac_compile"
2612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2613 *) ac_try_echo=$ac_try;;
2615 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2616 $as_echo "$ac_try_echo"; } >&5
2617 (eval "$ac_compile") 2>&5
2619 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2620 test $ac_status = 0; }; then :
2621 for ac_file in conftest.o conftest.obj conftest.*; do
2622 test -f "$ac_file" || continue;
2624 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2625 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2630 $as_echo "$as_me: failed program was:" >&5
2631 sed 's/^/| /' conftest.$ac_ext >&5
2633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2635 as_fn_error $? "cannot compute suffix of object files: cannot compile
2636 See \`config.log' for more details" "$LINENO" 5 ; }
2638 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2641 $as_echo "$ac_cv_objext" >&6; }
2642 OBJEXT=$ac_cv_objext
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2645 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2646 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2647 $as_echo_n "(cached) " >&6
2649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2650 /* end confdefs.h. */
2663 if ac_fn_c_try_compile "$LINENO"; then :
2668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2669 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2673 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2674 if test $ac_compiler_gnu = yes; then
2679 ac_test_CFLAGS=${CFLAGS+set}
2680 ac_save_CFLAGS=$CFLAGS
2681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2682 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2683 if test "${ac_cv_prog_cc_g+set}" = set; then :
2684 $as_echo_n "(cached) " >&6
2686 ac_save_c_werror_flag=$ac_c_werror_flag
2687 ac_c_werror_flag=yes
2690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2691 /* end confdefs.h. */
2701 if ac_fn_c_try_compile "$LINENO"; then :
2705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706 /* end confdefs.h. */
2716 if ac_fn_c_try_compile "$LINENO"; then :
2719 ac_c_werror_flag=$ac_save_c_werror_flag
2721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2722 /* end confdefs.h. */
2732 if ac_fn_c_try_compile "$LINENO"; then :
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 ac_c_werror_flag=$ac_save_c_werror_flag
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2743 $as_echo "$ac_cv_prog_cc_g" >&6; }
2744 if test "$ac_test_CFLAGS" = set; then
2745 CFLAGS=$ac_save_CFLAGS
2746 elif test $ac_cv_prog_cc_g = yes; then
2747 if test "$GCC" = yes; then
2753 if test "$GCC" = yes; then
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2760 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2761 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2762 $as_echo_n "(cached) " >&6
2764 ac_cv_prog_cc_c89=no
2766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2767 /* end confdefs.h. */
2770 #include <sys/types.h>
2771 #include <sys/stat.h>
2772 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2773 struct buf { int x; };
2774 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2775 static char *e (p, i)
2781 static char *f (char * (*g) (char **, int), char **p, ...)
2786 s = g (p, va_arg (v,int));
2791 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2792 function prototypes and stuff, but not '\xHH' hex character constants.
2793 These don't provoke an error unfortunately, instead are silently treated
2794 as 'x'. The following induces an error, until -std is added to get
2795 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2796 array size at least. It's necessary to write '\x00'==0 to get something
2797 that's true only with -std. */
2798 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2800 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2801 inside strings and character constants. */
2803 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2805 int test (int i, double x);
2806 struct s1 {int (*f) (int a);};
2807 struct s2 {int (*f) (double a);};
2808 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2814 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2819 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2820 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2822 CC="$ac_save_CC $ac_arg"
2823 if ac_fn_c_try_compile "$LINENO"; then :
2824 ac_cv_prog_cc_c89=$ac_arg
2826 rm -f core conftest.err conftest.$ac_objext
2827 test "x$ac_cv_prog_cc_c89" != "xno" && break
2829 rm -f conftest.$ac_ext
2834 case "x$ac_cv_prog_cc_c89" in
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2837 $as_echo "none needed" >&6; } ;;
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2840 $as_echo "unsupported" >&6; } ;;
2842 CC="$CC $ac_cv_prog_cc_c89"
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2844 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2846 if test "x$ac_cv_prog_cc_c89" != xno; then :
2851 ac_cpp='$CPP $CPPFLAGS'
2852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2857 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2859 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2860 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2861 $as_echo_n "(cached) " >&6
2863 cat >conftest.make <<\_ACEOF
2866 @echo '@@@%%%=$(MAKE)=@@@%%%'
2868 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2869 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2871 eval ac_cv_prog_make_${ac_make}_set=yes;;
2873 eval ac_cv_prog_make_${ac_make}_set=no;;
2877 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2879 $as_echo "yes" >&6; }
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2883 $as_echo "no" >&6; }
2884 SET_MAKE="MAKE=${MAKE-make}"
2888 # Checks for header files.
2891 ac_cpp='$CPP $CPPFLAGS'
2892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2896 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2897 # On Suns, sometimes $CPP names a directory.
2898 if test -n "$CPP" && test -d "$CPP"; then
2901 if test -z "$CPP"; then
2902 if test "${ac_cv_prog_CPP+set}" = set; then :
2903 $as_echo_n "(cached) " >&6
2905 # Double quotes because CPP needs to be expanded
2906 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2909 for ac_c_preproc_warn_flag in '' yes
2911 # Use a header file that comes with gcc, so configuring glibc
2912 # with a fresh cross-compiler works.
2913 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2914 # <limits.h> exists even on freestanding compilers.
2915 # On the NeXT, cc -E runs the code through the compiler's parser,
2916 # not just through cpp. "Syntax error" is here to catch this case.
2917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2918 /* end confdefs.h. */
2920 # include <limits.h>
2922 # include <assert.h>
2926 if ac_fn_c_try_cpp "$LINENO"; then :
2929 # Broken: fails on valid input.
2932 rm -f conftest.err conftest.i conftest.$ac_ext
2934 # OK, works on sane cases. Now check whether nonexistent headers
2935 # can be detected and how.
2936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2937 /* end confdefs.h. */
2938 #include <ac_nonexistent.h>
2940 if ac_fn_c_try_cpp "$LINENO"; then :
2941 # Broken: success on invalid input.
2944 # Passes both tests.
2948 rm -f conftest.err conftest.i conftest.$ac_ext
2951 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2952 rm -f conftest.i conftest.err conftest.$ac_ext
2953 if $ac_preproc_ok; then :
2965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2966 $as_echo "$CPP" >&6; }
2968 for ac_c_preproc_warn_flag in '' yes
2970 # Use a header file that comes with gcc, so configuring glibc
2971 # with a fresh cross-compiler works.
2972 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2973 # <limits.h> exists even on freestanding compilers.
2974 # On the NeXT, cc -E runs the code through the compiler's parser,
2975 # not just through cpp. "Syntax error" is here to catch this case.
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2979 # include <limits.h>
2981 # include <assert.h>
2985 if ac_fn_c_try_cpp "$LINENO"; then :
2988 # Broken: fails on valid input.
2991 rm -f conftest.err conftest.i conftest.$ac_ext
2993 # OK, works on sane cases. Now check whether nonexistent headers
2994 # can be detected and how.
2995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2996 /* end confdefs.h. */
2997 #include <ac_nonexistent.h>
2999 if ac_fn_c_try_cpp "$LINENO"; then :
3000 # Broken: success on invalid input.
3003 # Passes both tests.
3007 rm -f conftest.err conftest.i conftest.$ac_ext
3010 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3011 rm -f conftest.i conftest.err conftest.$ac_ext
3012 if $ac_preproc_ok; then :
3015 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3016 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3017 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3018 See \`config.log' for more details" "$LINENO" 5 ; }
3022 ac_cpp='$CPP $CPPFLAGS'
3023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3029 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3030 if test "${ac_cv_path_GREP+set}" = set; then :
3031 $as_echo_n "(cached) " >&6
3033 if test -z "$GREP"; then
3034 ac_path_GREP_found=false
3035 # Loop through the user's path and test for each of PROGNAME-LIST
3036 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3037 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3040 test -z "$as_dir" && as_dir=.
3041 for ac_prog in grep ggrep; do
3042 for ac_exec_ext in '' $ac_executable_extensions; do
3043 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3044 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3045 # Check for GNU ac_path_GREP and select it if it is found.
3046 # Check for GNU $ac_path_GREP
3047 case `"$ac_path_GREP" --version 2>&1` in
3049 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3052 $as_echo_n 0123456789 >"conftest.in"
3055 cat "conftest.in" "conftest.in" >"conftest.tmp"
3056 mv "conftest.tmp" "conftest.in"
3057 cp "conftest.in" "conftest.nl"
3058 $as_echo 'GREP' >> "conftest.nl"
3059 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3060 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3061 as_fn_arith $ac_count + 1 && ac_count=$as_val
3062 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3063 # Best one so far, save it but keep looking for a better one
3064 ac_cv_path_GREP="$ac_path_GREP"
3065 ac_path_GREP_max=$ac_count
3067 # 10*(2^10) chars as input seems more than enough
3068 test $ac_count -gt 10 && break
3070 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3073 $ac_path_GREP_found && break 3
3078 if test -z "$ac_cv_path_GREP"; then
3079 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3082 ac_cv_path_GREP=$GREP
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3087 $as_echo "$ac_cv_path_GREP" >&6; }
3088 GREP="$ac_cv_path_GREP"
3091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3092 $as_echo_n "checking for egrep... " >&6; }
3093 if test "${ac_cv_path_EGREP+set}" = set; then :
3094 $as_echo_n "(cached) " >&6
3096 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3097 then ac_cv_path_EGREP="$GREP -E"
3099 if test -z "$EGREP"; then
3100 ac_path_EGREP_found=false
3101 # Loop through the user's path and test for each of PROGNAME-LIST
3102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3103 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3106 test -z "$as_dir" && as_dir=.
3107 for ac_prog in egrep; do
3108 for ac_exec_ext in '' $ac_executable_extensions; do
3109 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3110 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3111 # Check for GNU ac_path_EGREP and select it if it is found.
3112 # Check for GNU $ac_path_EGREP
3113 case `"$ac_path_EGREP" --version 2>&1` in
3115 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3118 $as_echo_n 0123456789 >"conftest.in"
3121 cat "conftest.in" "conftest.in" >"conftest.tmp"
3122 mv "conftest.tmp" "conftest.in"
3123 cp "conftest.in" "conftest.nl"
3124 $as_echo 'EGREP' >> "conftest.nl"
3125 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3126 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3127 as_fn_arith $ac_count + 1 && ac_count=$as_val
3128 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3129 # Best one so far, save it but keep looking for a better one
3130 ac_cv_path_EGREP="$ac_path_EGREP"
3131 ac_path_EGREP_max=$ac_count
3133 # 10*(2^10) chars as input seems more than enough
3134 test $ac_count -gt 10 && break
3136 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3139 $ac_path_EGREP_found && break 3
3144 if test -z "$ac_cv_path_EGREP"; then
3145 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3148 ac_cv_path_EGREP=$EGREP
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3154 $as_echo "$ac_cv_path_EGREP" >&6; }
3155 EGREP="$ac_cv_path_EGREP"
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3159 $as_echo_n "checking for ANSI C header files... " >&6; }
3160 if test "${ac_cv_header_stdc+set}" = set; then :
3161 $as_echo_n "(cached) " >&6
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3178 if ac_fn_c_try_compile "$LINENO"; then :
3179 ac_cv_header_stdc=yes
3181 ac_cv_header_stdc=no
3183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3185 if test $ac_cv_header_stdc = yes; then
3186 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3188 /* end confdefs.h. */
3192 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3193 $EGREP "memchr" >/dev/null 2>&1; then :
3196 ac_cv_header_stdc=no
3202 if test $ac_cv_header_stdc = yes; then
3203 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3205 /* end confdefs.h. */
3209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3210 $EGREP "free" >/dev/null 2>&1; then :
3213 ac_cv_header_stdc=no
3219 if test $ac_cv_header_stdc = yes; then
3220 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3221 if test "$cross_compiling" = yes; then :
3224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3225 /* end confdefs.h. */
3228 #if ((' ' & 0x0FF) == 0x020)
3229 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3230 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3232 # define ISLOWER(c) \
3233 (('a' <= (c) && (c) <= 'i') \
3234 || ('j' <= (c) && (c) <= 'r') \
3235 || ('s' <= (c) && (c) <= 'z'))
3236 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3239 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3244 for (i = 0; i < 256; i++)
3245 if (XOR (islower (i), ISLOWER (i))
3246 || toupper (i) != TOUPPER (i))
3251 if ac_fn_c_try_run "$LINENO"; then :
3254 ac_cv_header_stdc=no
3256 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3257 conftest.$ac_objext conftest.beam conftest.$ac_ext
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3263 $as_echo "$ac_cv_header_stdc" >&6; }
3264 if test $ac_cv_header_stdc = yes; then
3266 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3270 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3271 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3272 inttypes.h stdint.h unistd.h
3274 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3275 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3277 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3278 cat >>confdefs.h <<_ACEOF
3279 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3287 for ac_header in limits.h netdb.h stddef.h stdlib.h string.h unistd.h
3289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3292 cat >>confdefs.h <<_ACEOF
3293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3301 # Checks for typedefs, structures, and compiler characteristics.
3303 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3304 if test "x$ac_cv_type_size_t" = x""yes; then :
3308 cat >>confdefs.h <<_ACEOF
3309 #define size_t unsigned int
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
3315 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
3316 if test "${ac_cv_struct_tm+set}" = set; then :
3317 $as_echo_n "(cached) " >&6
3319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3320 /* end confdefs.h. */
3321 #include <sys/types.h>
3328 int *p = &tm.tm_sec;
3334 if ac_fn_c_try_compile "$LINENO"; then :
3335 ac_cv_struct_tm=time.h
3337 ac_cv_struct_tm=sys/time.h
3339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
3342 $as_echo "$ac_cv_struct_tm" >&6; }
3343 if test $ac_cv_struct_tm = sys/time.h; then
3345 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
3351 # GSS-API enviroment
3356 # Check whether --with-gss was given.
3357 if test "${with_gss+set}" = set; then :
3358 withval=$with_gss; with_gss="$withval"
3361 if test "x$with_gss" = "xyes" ; then
3365 ac_save_CPPFLAGS="$CPPFLAGS"
3366 ac_save_LDFLAGS="$LDFLAGS"
3367 ac_save_LIBS="$LIBS"
3369 if test -z "$GSS_CPPFLAGS"; then
3371 if test -n "with_gss"; then
3372 TMP_GSS_CPPFLAGS="-I$with_gss/include"
3374 CPPFLAGS="$CPPFLAGS $TMP_GSS_CPPFLAGS"
3375 for ac_header in gssapi.h
3377 ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
3378 if test "x$ac_cv_header_gssapi_h" = x""yes; then :
3379 cat >>confdefs.h <<_ACEOF
3380 #define HAVE_GSSAPI_H 1
3382 GSS_CPPFLAGS="$TMP_GSS_CPPFLAGS"
3387 if test -z "$GSS_CPPFLAGS"; then
3388 for ac_header in gssapi/gssapi.h
3390 ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
3391 if test "x$ac_cv_header_gssapi_gssapi_h" = x""yes; then :
3392 cat >>confdefs.h <<_ACEOF
3393 #define HAVE_GSSAPI_GSSAPI_H 1
3395 GSS_CPPFLAGS="$TMP_GSS_CPPFLAGS"
3401 CPPFLAGS="$ac_save_CPPFLAGS"
3404 #if test "x$with_gss"="x"; then
3409 if test -z "$GSS_LDFLAGS"; then
3411 if test -n "$with_gss"; then
3412 # XXX think about lib64, etc
3413 TMP_GSS_LDFLAGS="-L $with_gss/lib"
3416 LIBS="$LIBS $TMP_GSS_LDFLAGS"
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_accept_sec_context in -lgssapi_krb5" >&5
3418 $as_echo_n "checking for gss_accept_sec_context in -lgssapi_krb5... " >&6; }
3419 if test "${ac_cv_lib_gssapi_krb5_gss_accept_sec_context+set}" = set; then :
3420 $as_echo_n "(cached) " >&6
3422 ac_check_lib_save_LIBS=$LIBS
3423 LIBS="-lgssapi_krb5 $LIBS"
3424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3425 /* end confdefs.h. */
3427 /* Override any GCC internal prototype to avoid an error.
3428 Use char because int might match the return type of a GCC
3429 builtin and then its argument prototype would still apply. */
3433 char gss_accept_sec_context ();
3437 return gss_accept_sec_context ();
3442 if ac_fn_c_try_link "$LINENO"; then :
3443 ac_cv_lib_gssapi_krb5_gss_accept_sec_context=yes
3445 ac_cv_lib_gssapi_krb5_gss_accept_sec_context=no
3447 rm -f core conftest.err conftest.$ac_objext \
3448 conftest$ac_exeext conftest.$ac_ext
3449 LIBS=$ac_check_lib_save_LIBS
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_accept_sec_context" >&5
3452 $as_echo "$ac_cv_lib_gssapi_krb5_gss_accept_sec_context" >&6; }
3453 if test "x$ac_cv_lib_gssapi_krb5_gss_accept_sec_context" = x""yes; then :
3455 LIBS="-lgssapi_krb5 $LIBS"
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_accept_sec_context in -lgssapi" >&5
3458 $as_echo_n "checking for gss_accept_sec_context in -lgssapi... " >&6; }
3459 if test "${ac_cv_lib_gssapi_gss_accept_sec_context+set}" = set; then :
3460 $as_echo_n "(cached) " >&6
3462 ac_check_lib_save_LIBS=$LIBS
3463 LIBS="-lgssapi $LIBS"
3464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3465 /* end confdefs.h. */
3467 /* Override any GCC internal prototype to avoid an error.
3468 Use char because int might match the return type of a GCC
3469 builtin and then its argument prototype would still apply. */
3473 char gss_accept_sec_context ();
3477 return gss_accept_sec_context ();
3482 if ac_fn_c_try_link "$LINENO"; then :
3483 ac_cv_lib_gssapi_gss_accept_sec_context=yes
3485 ac_cv_lib_gssapi_gss_accept_sec_context=no
3487 rm -f core conftest.err conftest.$ac_objext \
3488 conftest$ac_exeext conftest.$ac_ext
3489 LIBS=$ac_check_lib_save_LIBS
3491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_gss_accept_sec_context" >&5
3492 $as_echo "$ac_cv_lib_gssapi_gss_accept_sec_context" >&6; }
3493 if test "x$ac_cv_lib_gssapi_gss_accept_sec_context" = x""yes; then :
3495 LIBS="$LIBS -lgssapi"
3497 LIBS="$ac_save_LIBS"
3502 if test -z "$found_gssapi"; then
3503 as_fn_error $? "failed to find a GSS-API library" "$LINENO" 5
3506 # If SPNEGO is supported by the gssapi libraries, we shouln't build our support.
3507 # SPNEGO is supported as of Heimdal 0.7, and MIT 1.5.
3508 gssapi_supports_spnego=""
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GSSAPI libraries support SPNEGO" >&5
3510 $as_echo_n "checking whether the GSSAPI libraries support SPNEGO... " >&6; }
3512 ac_save_CFLAGS="$CFLAGS"
3513 CFLAGS="$GSS_CPPFLAGS"
3515 ac_save_LDFLAGS=$LDFLAGS
3516 LDFLAGS="$GSS_LDFLAGS"
3517 # to make sure the testing binary can be launched:
3518 if test -n "$with_gss"; then
3519 LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,$with_gss/lib"
3521 if test "$cross_compiling" = yes; then :
3522 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3523 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3524 as_fn_error $? "cannot run test program while cross compiling
3525 See \`config.log' for more details" "$LINENO" 5 ; }
3527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3528 /* end confdefs.h. */
3532 int main(int argc, char** argv)
3534 OM_uint32 major_status, minor_status;
3535 gss_OID_set mech_set;
3536 gss_OID_desc spnego_oid_desc = {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
3539 major_status = gss_indicate_mechs(&minor_status, &mech_set);
3540 if (GSS_ERROR(major_status))
3544 for (i=0; i < mech_set->count && !SPNEGO; i++) {
3545 gss_OID tmp_oid = &mech_set->elements[i];
3546 if (tmp_oid->length == spnego_oid_desc.length &&
3547 !memcmp(tmp_oid->elements, spnego_oid_desc.elements,
3553 gss_release_oid_set(&minor_status, &mech_set);
3558 if ac_fn_c_try_run "$LINENO"; then :
3559 if test $? -eq 0; then
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3561 $as_echo "yes" >&6; }
3563 $as_echo "#define GSSAPI_SUPPORTS_SPNEGO 1" >>confdefs.h
3565 gssapi_supports_spnego=yes
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3568 $as_echo "no" >&6; }
3571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3572 $as_echo "no" >&6; }
3575 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3576 conftest.$ac_objext conftest.beam conftest.$ac_ext
3580 CFLAGS="$ac_save_CFLAGS"
3581 LDFLAGS="$ac_save_LDFLAGS"
3583 if test -z "$gssapi_supports_spnego"; then
3585 spnegokrb5/asn1_MechType.c \
3586 spnegokrb5/asn1_MechTypeList.c \
3587 spnegokrb5/asn1_ContextFlags.c \
3588 spnegokrb5/asn1_NegTokenInit.c \
3589 spnegokrb5/asn1_NegTokenTarg.c \
3590 spnegokrb5/der_get.c \
3591 spnegokrb5/der_put.c \
3592 spnegokrb5/der_free.c \
3593 spnegokrb5/der_length.c \
3594 spnegokrb5/der_copy.c \
3595 spnegokrb5/timegm.c \
3596 spnegokrb5/init_sec_context.c \
3597 spnegokrb5/accept_sec_context.c \
3598 spnegokrb5/encapsulate.c \
3599 spnegokrb5/decapsulate.c \
3600 spnegokrb5/external.c"
3610 # Check whether --with-apache was given.
3611 if test "${with_apache+set}" = set; then :
3612 withval=$with_apache; with_apache="$withval"
3616 # Extract the first word of "apxs", so it can be a program name with args.
3617 set dummy apxs; ac_word=$2
3618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3619 $as_echo_n "checking for $ac_word... " >&6; }
3620 if test "${ac_cv_path_APXS+set}" = set; then :
3621 $as_echo_n "(cached) " >&6
3625 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
3628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3629 as_dummy="$with_apache/bin:$with_apache/sbin:$PATH"
3630 for as_dir in $as_dummy
3633 test -z "$as_dir" && as_dir=.
3634 for ac_exec_ext in '' $ac_executable_extensions; do
3635 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3636 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3647 APXS=$ac_cv_path_APXS
3648 if test -n "$APXS"; then
3649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
3650 $as_echo "$APXS" >&6; }
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3653 $as_echo "no" >&6; }
3657 if test -z "$APXS"; then
3658 # Extract the first word of "apxs2", so it can be a program name with args.
3659 set dummy apxs2; ac_word=$2
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3661 $as_echo_n "checking for $ac_word... " >&6; }
3662 if test "${ac_cv_path_APXS+set}" = set; then :
3663 $as_echo_n "(cached) " >&6
3667 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
3670 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3671 as_dummy="$with_apache/bin:$with_apache/sbin:$PATH"
3672 for as_dir in $as_dummy
3675 test -z "$as_dir" && as_dir=.
3676 for ac_exec_ext in '' $ac_executable_extensions; do
3677 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3678 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3689 APXS=$ac_cv_path_APXS
3690 if test -n "$APXS"; then
3691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
3692 $as_echo "$APXS" >&6; }
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3695 $as_echo "no" >&6; }
3699 if test -z "$APXS"; then
3700 as_fn_error $? "failed to find apache apxs executable" "$LINENO" 5
3705 ac_config_files="$ac_config_files Makefile"
3708 cat >confcache <<\_ACEOF
3709 # This file is a shell script that caches the results of configure
3710 # tests run on this system so they can be shared between configure
3711 # scripts and configure runs, see configure's option --config-cache.
3712 # It is not useful on other systems. If it contains results you don't
3713 # want to keep, you may remove or edit it.
3715 # config.status only pays attention to the cache file if you give it
3716 # the --recheck option to rerun configure.
3718 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3719 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3724 # The following way of writing the cache mishandles newlines in values,
3725 # but we know of no workaround that is simple, portable, and efficient.
3726 # So, we kill variables containing newlines.
3727 # Ultrix sh set writes to stderr and can't be redirected directly,
3728 # and sets the high bit in the cache file unless we assign to the vars.
3730 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3731 eval ac_val=\$$ac_var
3735 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3736 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3739 _ | IFS | as_nl) ;; #(
3740 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3741 *) { eval $ac_var=; unset $ac_var;} ;;
3747 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3748 *${as_nl}ac_space=\ *)
3749 # `set' does not quote correctly, so add quotes: double-quote
3750 # substitution turns \\\\ into \\, and sed turns \\ into \.
3753 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3756 # `set' quotes correctly as required by POSIX, so do not add quotes.
3757 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3766 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3768 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3770 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3771 if test -w "$cache_file"; then
3772 test "x$cache_file" != "x/dev/null" &&
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3774 $as_echo "$as_me: updating cache $cache_file" >&6;}
3775 cat confcache >$cache_file
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3778 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3783 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3784 # Let make expand exec_prefix.
3785 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3787 DEFS=-DHAVE_CONFIG_H
3792 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3793 # 1. Remove the extension, and $U if already installed.
3794 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3795 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3796 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3797 # will be set to the directory where LIBOBJS objects are built.
3798 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3799 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3803 LTLIBOBJS=$ac_ltlibobjs
3807 : ${CONFIG_STATUS=./config.status}
3809 ac_clean_files_save=$ac_clean_files
3810 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3812 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3814 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3816 # Generated by $as_me.
3817 # Run this file to recreate the current configuration.
3818 # Compiler output produced by configure, useful for debugging
3819 # configure, is in config.log if it exists.
3825 SHELL=\${CONFIG_SHELL-$SHELL}
3828 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3829 ## -------------------- ##
3830 ## M4sh Initialization. ##
3831 ## -------------------- ##
3833 # Be more Bourne compatible
3834 DUALCASE=1; export DUALCASE # for MKS sh
3835 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3838 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3839 # is contrary to our usage. Disable this feature.
3840 alias -g '${1+"$@"}'='"$@"'
3841 setopt NO_GLOB_SUBST
3843 case `(set -o) 2>/dev/null` in #(
3855 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3856 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3857 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3858 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3859 # Prefer a ksh shell builtin over an external printf program on Solaris,
3860 # but without wasting forks for bash or zsh.
3861 if test -z "$BASH_VERSION$ZSH_VERSION" \
3862 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3863 as_echo='print -r --'
3864 as_echo_n='print -rn --'
3865 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3866 as_echo='printf %s\n'
3867 as_echo_n='printf %s'
3869 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3870 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3871 as_echo_n='/usr/ucb/echo -n'
3873 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3874 as_echo_n_body='eval
3878 expr "X$arg" : "X\\(.*\\)$as_nl";
3879 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3881 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3883 export as_echo_n_body
3884 as_echo_n='sh -c $as_echo_n_body as_echo'
3887 as_echo='sh -c $as_echo_body as_echo'
3890 # The user is always right.
3891 if test "${PATH_SEPARATOR+set}" != set; then
3893 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3894 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3901 # We need space, tab and new line, in precisely that order. Quoting is
3902 # there to prevent editors from complaining about space-tab.
3903 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3904 # splitting by setting IFS to empty value.)
3907 # Find who we are. Look in the path if we contain no directory separator.
3909 *[\\/]* ) as_myself=$0 ;;
3910 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3914 test -z "$as_dir" && as_dir=.
3915 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3921 # We did not find ourselves, most probably we were run as `sh COMMAND'
3922 # in which case we are not to be found in the path.
3923 if test "x$as_myself" = x; then
3926 if test ! -f "$as_myself"; then
3927 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3931 # Unset variables that we do not need and which cause bugs (e.g. in
3932 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3933 # suppresses any "Segmentation fault" message there. '((' could
3934 # trigger a bug in pdksh 5.2.14.
3935 for as_var in BASH_ENV ENV MAIL MAILPATH
3936 do eval test x\${$as_var+set} = xset \
3937 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3950 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3953 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3954 # ----------------------------------------
3955 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3956 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3957 # script with STATUS, using 1 if that was 0.
3960 as_status=$1; test $as_status -eq 0 && as_status=1
3962 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3963 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3965 $as_echo "$as_me: error: $2" >&2
3966 as_fn_exit $as_status
3970 # as_fn_set_status STATUS
3971 # -----------------------
3972 # Set $? to STATUS, without forking.
3976 } # as_fn_set_status
3980 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3990 # Portably unset VAR.
3993 { eval $1=; unset $1;}
3995 as_unset=as_fn_unset
3996 # as_fn_append VAR VALUE
3997 # ----------------------
3998 # Append the text in VALUE to the end of the definition contained in VAR. Take
3999 # advantage of any shell optimizations that allow amortized linear growth over
4000 # repeated appends, instead of the typical quadratic growth present in naive
4002 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4003 eval 'as_fn_append ()
4014 # as_fn_arith ARG...
4015 # ------------------
4016 # Perform arithmetic evaluation on the ARGs, and store the result in the
4017 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4018 # must be portable across $(()) and expr.
4019 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4020 eval 'as_fn_arith ()
4027 as_val=`expr "$@" || test $? -eq 1`
4032 if expr a : '\(a\)' >/dev/null 2>&1 &&
4033 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4039 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4040 as_basename=basename
4045 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4051 as_me=`$as_basename -- "$0" ||
4052 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4053 X"$0" : 'X\(//\)$' \| \
4054 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4056 sed '/^.*\/\([^/][^/]*\)\/*$/{
4070 # Avoid depending upon Character Ranges.
4071 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4072 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4073 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4074 as_cr_digits='0123456789'
4075 as_cr_alnum=$as_cr_Letters$as_cr_digits
4077 ECHO_C= ECHO_N= ECHO_T=
4078 case `echo -n x` in #(((((
4080 case `echo 'xy\c'` in
4081 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4083 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4090 rm -f conf$$ conf$$.exe conf$$.file
4091 if test -d conf$$.dir; then
4092 rm -f conf$$.dir/conf$$.file
4095 mkdir conf$$.dir 2>/dev/null
4097 if (echo >conf$$.file) 2>/dev/null; then
4098 if ln -s conf$$.file conf$$ 2>/dev/null; then
4100 # ... but there are two gotchas:
4101 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4102 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4103 # In both cases, we have to default to `cp -p'.
4104 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4106 elif ln conf$$.file conf$$ 2>/dev/null; then
4114 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4115 rmdir conf$$.dir 2>/dev/null
4120 # Create "$as_dir" as a directory, including parents if necessary.
4125 -*) as_dir=./$as_dir;;
4127 test -d "$as_dir" || eval $as_mkdir_p || {
4131 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4132 *) as_qdir=$as_dir;;
4134 as_dirs="'$as_qdir' $as_dirs"
4135 as_dir=`$as_dirname -- "$as_dir" ||
4136 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4137 X"$as_dir" : 'X\(//\)[^/]' \| \
4138 X"$as_dir" : 'X\(//\)$' \| \
4139 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4140 $as_echo X"$as_dir" |
4141 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4158 test -d "$as_dir" && break
4160 test -z "$as_dirs" || eval "mkdir $as_dirs"
4161 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4165 if mkdir -p . 2>/dev/null; then
4166 as_mkdir_p='mkdir -p "$as_dir"'
4168 test -d ./-p && rmdir ./-p
4172 if test -x / >/dev/null 2>&1; then
4175 if ls -dL / >/dev/null 2>&1; then
4182 if test -d "$1"; then
4188 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4189 ???[sx]*):;;*)false;;esac;fi
4193 as_executable_p=$as_test_x
4195 # Sed expression to map a string onto a valid CPP name.
4196 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4198 # Sed expression to map a string onto a valid variable name.
4199 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4203 ## ----------------------------------- ##
4204 ## Main body of $CONFIG_STATUS script. ##
4205 ## ----------------------------------- ##
4207 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4209 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4210 # Save the log message, to keep $0 and so on meaningful, and to
4211 # report actual input values of CONFIG_FILES etc. instead of their
4212 # values after options handling.
4214 This file was extended by mod_auth_gssapi $as_me 0.1, which was
4215 generated by GNU Autoconf 2.67. Invocation command line was
4217 CONFIG_FILES = $CONFIG_FILES
4218 CONFIG_HEADERS = $CONFIG_HEADERS
4219 CONFIG_LINKS = $CONFIG_LINKS
4220 CONFIG_COMMANDS = $CONFIG_COMMANDS
4223 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4228 case $ac_config_files in *"
4229 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4232 case $ac_config_headers in *"
4233 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4238 # Files that config.status was made for.
4239 config_files="$ac_config_files"
4240 config_headers="$ac_config_headers"
4244 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4246 \`$as_me' instantiates files and other configuration actions
4247 from templates according to the current configuration. Unless the files
4248 and actions are specified as TAGs, all are instantiated by default.
4250 Usage: $0 [OPTION]... [TAG]...
4252 -h, --help print this help, then exit
4253 -V, --version print version number and configuration settings, then exit
4254 --config print configuration, then exit
4255 -q, --quiet, --silent
4256 do not print progress messages
4257 -d, --debug don't remove temporary files
4258 --recheck update $as_me by reconfiguring in the same conditions
4259 --file=FILE[:TEMPLATE]
4260 instantiate the configuration file FILE
4261 --header=FILE[:TEMPLATE]
4262 instantiate the configuration header FILE
4264 Configuration files:
4267 Configuration headers:
4270 Report bugs to <modauthkerb-developers@lists.sourceforge.net>."
4273 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4274 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4276 mod_auth_gssapi config.status 0.1
4277 configured by $0, generated by GNU Autoconf 2.67,
4278 with options \\"\$ac_cs_config\\"
4280 Copyright (C) 2010 Free Software Foundation, Inc.
4281 This config.status script is free software; the Free Software Foundation
4282 gives unlimited permission to copy, distribute and modify it."
4286 test -n "\$AWK" || AWK=awk
4289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4290 # The default lists apply if the user does not specify any file.
4296 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4297 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4301 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4313 # Handling of the options.
4314 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4316 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4317 $as_echo "$ac_cs_version"; exit ;;
4318 --config | --confi | --conf | --con | --co | --c )
4319 $as_echo "$ac_cs_config"; exit ;;
4320 --debug | --debu | --deb | --de | --d | -d )
4322 --file | --fil | --fi | --f )
4325 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4326 '') as_fn_error $? "missing file argument" ;;
4328 as_fn_append CONFIG_FILES " '$ac_optarg'"
4329 ac_need_defaults=false;;
4330 --header | --heade | --head | --hea )
4333 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4335 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4336 ac_need_defaults=false;;
4338 # Conflict between --help and --header
4339 as_fn_error $? "ambiguous option: \`$1'
4340 Try \`$0 --help' for more information.";;
4341 --help | --hel | -h )
4342 $as_echo "$ac_cs_usage"; exit ;;
4343 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4344 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4348 -*) as_fn_error $? "unrecognized option: \`$1'
4349 Try \`$0 --help' for more information." ;;
4351 *) as_fn_append ac_config_targets " $1"
4352 ac_need_defaults=false ;;
4358 ac_configure_extra_args=
4360 if $ac_cs_silent; then
4362 ac_configure_extra_args="$ac_configure_extra_args --silent"
4366 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4367 if \$ac_cs_recheck; then
4368 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4370 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4371 CONFIG_SHELL='$SHELL'
4377 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4381 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4382 ## Running $as_me. ##
4388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4393 # Handling of arguments.
4394 for ac_config_target in $ac_config_targets
4396 case $ac_config_target in
4397 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4398 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4400 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4405 # If the user did not use the arguments to specify the items to instantiate,
4406 # then the envvar interface is used. Set only those that are not.
4407 # We use the long form for the default assignment because of an extremely
4408 # bizarre bug on SunOS 4.1.3.
4409 if $ac_need_defaults; then
4410 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4411 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4414 # Have a temporary directory for convenience. Make it in the build tree
4415 # simply because there is no reason against having it here, and in addition,
4416 # creating and moving files from /tmp can sometimes cause problems.
4417 # Hook for its removal unless debugging.
4418 # Note that there is a small window in which the directory will not be cleaned:
4419 # after its creation but before its name has been assigned to `$tmp'.
4423 trap 'exit_status=$?
4424 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4426 trap 'as_fn_exit 1' 1 2 13 15
4428 # Create a (secure) tmp directory for tmp files.
4431 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4432 test -n "$tmp" && test -d "$tmp"
4435 tmp=./conf$$-$RANDOM
4436 (umask 077 && mkdir "$tmp")
4437 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4439 # Set up the scripts for CONFIG_FILES section.
4440 # No need to generate them if there are no CONFIG_FILES.
4441 # This happens for instance with `./config.status config.h'.
4442 if test -n "$CONFIG_FILES"; then
4445 ac_cr=`echo X | tr X '\015'`
4446 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4447 # But we know of no other shell where ac_cr would be empty at this
4448 # point, so we can use a bashism as a fallback.
4449 if test "x$ac_cr" = x; then
4450 eval ac_cr=\$\'\\r\'
4452 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4453 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4459 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4464 echo "cat >conf$$subs.awk <<_ACEOF" &&
4465 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4468 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4469 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4471 for ac_last_try in false false false false false :; do
4472 . ./conf$$subs.sh ||
4473 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4475 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4476 if test $ac_delim_n = $ac_delim_num; then
4478 elif $ac_last_try; then
4479 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4481 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4486 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4487 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4491 s/^/S["/; s/!.*/"]=/
4501 s/\(.\{148\}\)..*/\1/
4503 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4508 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4515 s/\(.\{148\}\)..*/\1/
4517 s/["\\]/\\&/g; s/^/"/; s/$/"/
4521 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4526 ' <conf$$subs.awk | sed '
4531 ' >>$CONFIG_STATUS || ac_write_fail=1
4532 rm -f conf$$subs.awk
4533 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4535 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4536 for (key in S) S_is_set[key] = 1
4542 nfields = split(line, field, "@")
4544 len = length(field[1])
4545 for (i = 2; i < nfields; i++) {
4547 keylen = length(key)
4548 if (S_is_set[key]) {
4550 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4551 len += length(value) + length(field[++i])
4562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4563 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4564 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4567 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4568 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4571 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4572 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4573 # trailing colons and then remove the whole line if VPATH becomes empty
4574 # (actually we leave an empty line to preserve line numbers).
4575 if test "x$srcdir" = x.; then
4576 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4594 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4595 fi # test -n "$CONFIG_FILES"
4597 # Set up the scripts for CONFIG_HEADERS section.
4598 # No need to generate them if there are no CONFIG_HEADERS.
4599 # This happens for instance with `./config.status Makefile'.
4600 if test -n "$CONFIG_HEADERS"; then
4601 cat >"$tmp/defines.awk" <<\_ACAWK ||
4605 # Transform confdefs.h into an awk script `defines.awk', embedded as
4606 # here-document in config.status, that substitutes the proper values into
4607 # config.h.in to produce config.h.
4609 # Create a delimiter string that does not exist in confdefs.h, to ease
4610 # handling of long lines.
4612 for ac_last_try in false false :; do
4613 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4614 if test -z "$ac_t"; then
4616 elif $ac_last_try; then
4617 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4619 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4623 # For the awk script, D is an array of macro values keyed by name,
4624 # likewise P contains macro parameters if any. Preserve backslash
4625 # newline sequences.
4627 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4629 s/.\{148\}/&'"$ac_delim"'/g
4632 s/^[ ]*#[ ]*define[ ][ ]*/ /
4639 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4641 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4645 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4646 D["\1"]=" \3\\\\\\n"\\/p
4648 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4653 s/.\{148\}/&'"$ac_delim"'/g
4658 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4661 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4663 ' <confdefs.h | sed '
4664 s/'"$ac_delim"'/"\\\
4665 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4668 for (key in D) D_is_set[key] = 1
4671 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4673 split(line, arg, " ")
4674 if (arg[1] == "#") {
4678 defundef = substr(arg[1], 2)
4681 split(mac1, mac2, "(") #)
4683 prefix = substr(line, 1, index(line, defundef) - 1)
4684 if (D_is_set[macro]) {
4685 # Preserve the white space surrounding the "#".
4686 print prefix "define", macro P[macro] D[macro]
4689 # Replace #undef with comments. This is necessary, for example,
4690 # in the case of _POSIX_SOURCE, which is predefined and required
4691 # on some systems where configure will not decide to define it.
4692 if (defundef == "undef") {
4693 print "/*", prefix defundef, macro, "*/"
4701 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4702 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4703 fi # test -n "$CONFIG_HEADERS"
4706 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4711 :[FHLC]) ac_mode=$ac_tag; continue;;
4713 case $ac_mode$ac_tag in
4715 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4716 :[FH]-) ac_tag=-:-;;
4717 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4734 -) ac_f="$tmp/stdin";;
4735 *) # Look for the file first in the build tree, then in the source tree
4736 # (if the path is not absolute). The absolute path cannot be DOS-style,
4737 # because $ac_f cannot contain `:'.
4741 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4743 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4745 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4746 as_fn_append ac_file_inputs " '$ac_f'"
4749 # Let's still pretend it is `configure' which instantiates (i.e., don't
4750 # use $as_me), people would be surprised to read:
4751 # /* config.h. Generated by config.status. */
4752 configure_input='Generated from '`
4753 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4755 if test x"$ac_file" != x-; then
4756 configure_input="$ac_file. $configure_input"
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4758 $as_echo "$as_me: creating $ac_file" >&6;}
4760 # Neutralize special characters interpreted by sed in replacement strings.
4761 case $configure_input in #(
4762 *\&* | *\|* | *\\* )
4763 ac_sed_conf_input=`$as_echo "$configure_input" |
4764 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4765 *) ac_sed_conf_input=$configure_input;;
4769 *:-:* | *:-) cat >"$tmp/stdin" \
4770 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4775 ac_dir=`$as_dirname -- "$ac_file" ||
4776 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4777 X"$ac_file" : 'X\(//\)[^/]' \| \
4778 X"$ac_file" : 'X\(//\)$' \| \
4779 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4780 $as_echo X"$ac_file" |
4781 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4798 as_dir="$ac_dir"; as_fn_mkdir_p
4802 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4804 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4805 # A ".." for each directory in $ac_dir_suffix.
4806 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4807 case $ac_top_builddir_sub in
4808 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4809 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4812 ac_abs_top_builddir=$ac_pwd
4813 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4814 # for backward compatibility:
4815 ac_top_builddir=$ac_top_build_prefix
4818 .) # We are building in place.
4820 ac_top_srcdir=$ac_top_builddir_sub
4821 ac_abs_top_srcdir=$ac_pwd ;;
4822 [\\/]* | ?:[\\/]* ) # Absolute name.
4823 ac_srcdir=$srcdir$ac_dir_suffix;
4824 ac_top_srcdir=$srcdir
4825 ac_abs_top_srcdir=$srcdir ;;
4827 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4828 ac_top_srcdir=$ac_top_build_prefix$srcdir
4829 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4831 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4842 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4843 # If the template does not know about datarootdir, expand it.
4844 # FIXME: This hack should be removed a few years after 2.60.
4845 ac_datarootdir_hack=; ac_datarootdir_seen=
4856 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4857 *datarootdir*) ac_datarootdir_seen=yes;;
4858 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4859 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4860 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4863 ac_datarootdir_hack='
4864 s&@datadir@&$datadir&g
4865 s&@docdir@&$docdir&g
4866 s&@infodir@&$infodir&g
4867 s&@localedir@&$localedir&g
4868 s&@mandir@&$mandir&g
4869 s&\\\${datarootdir}&$datarootdir&g' ;;
4873 # Neutralize VPATH when `$srcdir' = `.'.
4874 # Shell code in configure.ac might set extrasub.
4875 # FIXME: do we really want to maintain this feature?
4876 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4877 ac_sed_extra="$ac_vpsub
4880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4882 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4883 s|@configure_input@|$ac_sed_conf_input|;t t
4884 s&@top_builddir@&$ac_top_builddir_sub&;t t
4885 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4886 s&@srcdir@&$ac_srcdir&;t t
4887 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4888 s&@top_srcdir@&$ac_top_srcdir&;t t
4889 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4890 s&@builddir@&$ac_builddir&;t t
4891 s&@abs_builddir@&$ac_abs_builddir&;t t
4892 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4893 $ac_datarootdir_hack
4895 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4896 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4898 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4899 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4900 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4902 which seems to be undefined. Please make sure it is defined" >&5
4903 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4904 which seems to be undefined. Please make sure it is defined" >&2;}
4908 -) cat "$tmp/out" && rm -f "$tmp/out";;
4909 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4911 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4917 if test x"$ac_file" != x-; then
4919 $as_echo "/* $configure_input */" \
4920 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4921 } >"$tmp/config.h" \
4922 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4923 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4924 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4925 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4928 mv "$tmp/config.h" "$ac_file" \
4929 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4932 $as_echo "/* $configure_input */" \
4933 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4934 || as_fn_error $? "could not create -" "$LINENO" 5
4946 ac_clean_files=$ac_clean_files_save
4948 test $ac_write_fail = 0 ||
4949 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4952 # configure is writing to config.log, and then calls config.status.
4953 # config.status does its own redirection, appending to config.log.
4954 # Unfortunately, on DOS this fails, as config.log is still kept open
4955 # by configure, so config.status won't be able to write to it; its
4956 # output is simply discarded. So we exec the FD to /dev/null,
4957 # effectively closing config.log, so it can be properly (re)opened and
4958 # appended to by config.status. When coming back to configure, we
4959 # need to make the FD available again.
4960 if test "$no_create" != yes; then
4962 ac_config_status_args=
4963 test "$silent" = yes &&
4964 ac_config_status_args="$ac_config_status_args --quiet"
4966 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4968 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4969 # would make configure fail if this is the last instruction.
4970 $ac_cs_success || as_fn_exit 1
4972 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4974 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}