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
645 program_transform_name
658 enable_option_checking
662 ac_precious_vars='build_alias
673 # Initialize some variables set by options.
675 ac_init_version=false
676 ac_unrecognized_opts=
678 # The variables have the same names as the options, with
679 # dashes changed to underlines.
687 program_transform_name=s,x,x,
695 # Installation directory options.
696 # These are left unexpanded so users can "make install exec_prefix=/foo"
697 # and all the variables that are supposed to be based on exec_prefix
698 # by default will actually change.
699 # Use braces instead of parens because sh, perl, etc. also accept them.
700 # (The list follows the same order as the GNU Coding Standards.)
701 bindir='${exec_prefix}/bin'
702 sbindir='${exec_prefix}/sbin'
703 libexecdir='${exec_prefix}/libexec'
704 datarootdir='${prefix}/share'
705 datadir='${datarootdir}'
706 sysconfdir='${prefix}/etc'
707 sharedstatedir='${prefix}/com'
708 localstatedir='${prefix}/var'
709 includedir='${prefix}/include'
710 oldincludedir='/usr/include'
711 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
712 infodir='${datarootdir}/info'
717 libdir='${exec_prefix}/lib'
718 localedir='${datarootdir}/locale'
719 mandir='${datarootdir}/man'
725 # If the previous option needs an argument, assign it.
726 if test -n "$ac_prev"; then
727 eval $ac_prev=\$ac_option
733 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
738 # Accept the important Cygnus configure options, so we can diagnose typos.
740 case $ac_dashdash$ac_option in
744 -bindir | --bindir | --bindi | --bind | --bin | --bi)
746 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
749 -build | --build | --buil | --bui | --bu)
750 ac_prev=build_alias ;;
751 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
752 build_alias=$ac_optarg ;;
754 -cache-file | --cache-file | --cache-fil | --cache-fi \
755 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
756 ac_prev=cache_file ;;
757 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
758 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
759 cache_file=$ac_optarg ;;
762 cache_file=config.cache ;;
764 -datadir | --datadir | --datadi | --datad)
766 -datadir=* | --datadir=* | --datadi=* | --datad=*)
767 datadir=$ac_optarg ;;
769 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
770 | --dataroo | --dataro | --datar)
771 ac_prev=datarootdir ;;
772 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
773 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
774 datarootdir=$ac_optarg ;;
776 -disable-* | --disable-*)
777 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
778 # Reject names that are not valid shell variable names.
779 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
780 as_fn_error $? "invalid feature name: $ac_useropt"
781 ac_useropt_orig=$ac_useropt
782 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
783 case $ac_user_opts in
787 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
788 ac_unrecognized_sep=', ';;
790 eval enable_$ac_useropt=no ;;
792 -docdir | --docdir | --docdi | --doc | --do)
794 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
797 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
799 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
802 -enable-* | --enable-*)
803 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
804 # Reject names that are not valid shell variable names.
805 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
806 as_fn_error $? "invalid feature name: $ac_useropt"
807 ac_useropt_orig=$ac_useropt
808 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
809 case $ac_user_opts in
813 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
814 ac_unrecognized_sep=', ';;
816 eval enable_$ac_useropt=\$ac_optarg ;;
818 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
819 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
820 | --exec | --exe | --ex)
821 ac_prev=exec_prefix ;;
822 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
823 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
824 | --exec=* | --exe=* | --ex=*)
825 exec_prefix=$ac_optarg ;;
827 -gas | --gas | --ga | --g)
828 # Obsolete; use --with-gas.
831 -help | --help | --hel | --he | -h)
833 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
834 ac_init_help=recursive ;;
835 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
836 ac_init_help=short ;;
838 -host | --host | --hos | --ho)
839 ac_prev=host_alias ;;
840 -host=* | --host=* | --hos=* | --ho=*)
841 host_alias=$ac_optarg ;;
843 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
845 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
847 htmldir=$ac_optarg ;;
849 -includedir | --includedir | --includedi | --included | --include \
850 | --includ | --inclu | --incl | --inc)
851 ac_prev=includedir ;;
852 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
853 | --includ=* | --inclu=* | --incl=* | --inc=*)
854 includedir=$ac_optarg ;;
856 -infodir | --infodir | --infodi | --infod | --info | --inf)
858 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
859 infodir=$ac_optarg ;;
861 -libdir | --libdir | --libdi | --libd)
863 -libdir=* | --libdir=* | --libdi=* | --libd=*)
866 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
867 | --libexe | --libex | --libe)
868 ac_prev=libexecdir ;;
869 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
870 | --libexe=* | --libex=* | --libe=*)
871 libexecdir=$ac_optarg ;;
873 -localedir | --localedir | --localedi | --localed | --locale)
875 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
876 localedir=$ac_optarg ;;
878 -localstatedir | --localstatedir | --localstatedi | --localstated \
879 | --localstate | --localstat | --localsta | --localst | --locals)
880 ac_prev=localstatedir ;;
881 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
882 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
883 localstatedir=$ac_optarg ;;
885 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
887 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
891 # Obsolete; use --without-fp.
894 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
895 | --no-cr | --no-c | -n)
898 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
899 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
902 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
903 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
904 | --oldin | --oldi | --old | --ol | --o)
905 ac_prev=oldincludedir ;;
906 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
907 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
908 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
909 oldincludedir=$ac_optarg ;;
911 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
913 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
916 -program-prefix | --program-prefix | --program-prefi | --program-pref \
917 | --program-pre | --program-pr | --program-p)
918 ac_prev=program_prefix ;;
919 -program-prefix=* | --program-prefix=* | --program-prefi=* \
920 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
921 program_prefix=$ac_optarg ;;
923 -program-suffix | --program-suffix | --program-suffi | --program-suff \
924 | --program-suf | --program-su | --program-s)
925 ac_prev=program_suffix ;;
926 -program-suffix=* | --program-suffix=* | --program-suffi=* \
927 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
928 program_suffix=$ac_optarg ;;
930 -program-transform-name | --program-transform-name \
931 | --program-transform-nam | --program-transform-na \
932 | --program-transform-n | --program-transform- \
933 | --program-transform | --program-transfor \
934 | --program-transfo | --program-transf \
935 | --program-trans | --program-tran \
936 | --progr-tra | --program-tr | --program-t)
937 ac_prev=program_transform_name ;;
938 -program-transform-name=* | --program-transform-name=* \
939 | --program-transform-nam=* | --program-transform-na=* \
940 | --program-transform-n=* | --program-transform-=* \
941 | --program-transform=* | --program-transfor=* \
942 | --program-transfo=* | --program-transf=* \
943 | --program-trans=* | --program-tran=* \
944 | --progr-tra=* | --program-tr=* | --program-t=*)
945 program_transform_name=$ac_optarg ;;
947 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
949 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
952 -psdir | --psdir | --psdi | --psd | --ps)
954 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
957 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
958 | -silent | --silent | --silen | --sile | --sil)
961 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
963 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
965 sbindir=$ac_optarg ;;
967 -sharedstatedir | --sharedstatedir | --sharedstatedi \
968 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
969 | --sharedst | --shareds | --shared | --share | --shar \
971 ac_prev=sharedstatedir ;;
972 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
973 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
974 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
976 sharedstatedir=$ac_optarg ;;
978 -site | --site | --sit)
980 -site=* | --site=* | --sit=*)
983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
988 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
989 | --syscon | --sysco | --sysc | --sys | --sy)
990 ac_prev=sysconfdir ;;
991 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
992 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
993 sysconfdir=$ac_optarg ;;
995 -target | --target | --targe | --targ | --tar | --ta | --t)
996 ac_prev=target_alias ;;
997 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
998 target_alias=$ac_optarg ;;
1000 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1003 -version | --version | --versio | --versi | --vers | -V)
1004 ac_init_version=: ;;
1007 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 as_fn_error $? "invalid package name: $ac_useropt"
1011 ac_useropt_orig=$ac_useropt
1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1018 ac_unrecognized_sep=', ';;
1020 eval with_$ac_useropt=\$ac_optarg ;;
1022 -without-* | --without-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid package name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval with_$ac_useropt=no ;;
1039 # Obsolete; use --with-x.
1042 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1043 | --x-incl | --x-inc | --x-in | --x-i)
1044 ac_prev=x_includes ;;
1045 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1046 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1047 x_includes=$ac_optarg ;;
1049 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1050 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1051 ac_prev=x_libraries ;;
1052 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1053 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1054 x_libraries=$ac_optarg ;;
1056 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1057 Try \`$0 --help' for more information"
1061 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1062 # Reject names that are not valid shell variable names.
1063 case $ac_envvar in #(
1064 '' | [0-9]* | *[!_$as_cr_alnum]* )
1065 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1067 eval $ac_envvar=\$ac_optarg
1068 export $ac_envvar ;;
1071 # FIXME: should be removed in autoconf 3.0.
1072 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1073 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1074 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1075 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1081 if test -n "$ac_prev"; then
1082 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1083 as_fn_error $? "missing argument to $ac_option"
1086 if test -n "$ac_unrecognized_opts"; then
1087 case $enable_option_checking in
1089 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1090 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1094 # Check all directory arguments for consistency.
1095 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096 datadir sysconfdir sharedstatedir localstatedir includedir \
1097 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098 libdir localedir mandir
1100 eval ac_val=\$$ac_var
1101 # Remove trailing slashes.
1104 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1105 eval $ac_var=\$ac_val;;
1107 # Be sure to have absolute directory names.
1109 [\\/$]* | ?:[\\/]* ) continue;;
1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1115 # There might be people who depend on the old broken behavior: `$host'
1116 # used to hold the argument of --host etc.
1117 # FIXME: To remove some day.
1120 target=$target_alias
1122 # FIXME: To remove some day.
1123 if test "x$host_alias" != x; then
1124 if test "x$build_alias" = x; then
1125 cross_compiling=maybe
1126 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1127 If a cross compiler is detected then cross compile mode will be used" >&2
1128 elif test "x$build_alias" != "x$host_alias"; then
1134 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1136 test "$silent" = yes && exec 6>/dev/null
1139 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1140 ac_ls_di=`ls -di .` &&
1141 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1142 as_fn_error $? "working directory cannot be determined"
1143 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1144 as_fn_error $? "pwd does not report name of working directory"
1147 # Find the source files, if location was not specified.
1148 if test -z "$srcdir"; then
1149 ac_srcdir_defaulted=yes
1150 # Try the directory containing this script, then the parent directory.
1151 ac_confdir=`$as_dirname -- "$as_myself" ||
1152 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1153 X"$as_myself" : 'X\(//\)[^/]' \| \
1154 X"$as_myself" : 'X\(//\)$' \| \
1155 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1156 $as_echo X"$as_myself" |
1157 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1175 if test ! -r "$srcdir/$ac_unique_file"; then
1179 ac_srcdir_defaulted=no
1181 if test ! -r "$srcdir/$ac_unique_file"; then
1182 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1183 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1185 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1187 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1189 # When building in place, set srcdir=.
1190 if test "$ac_abs_confdir" = "$ac_pwd"; then
1193 # Remove unnecessary trailing slashes from srcdir.
1194 # Double slashes in file names in object file debugging info
1195 # mess up M-x gdb in Emacs.
1197 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1199 for ac_var in $ac_precious_vars; do
1200 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_env_${ac_var}_value=\$${ac_var}
1202 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1203 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1207 # Report the --help message.
1209 if test "$ac_init_help" = "long"; then
1210 # Omit some internal or obsolete options to make the list less imposing.
1211 # This message is too long to be a string in the A/UX 3.1 sh.
1213 \`configure' configures mod_auth_gssapi 0.1 to adapt to many kinds of systems.
1215 Usage: $0 [OPTION]... [VAR=VALUE]...
1217 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1218 VAR=VALUE. See below for descriptions of some of the useful variables.
1220 Defaults for the options are specified in brackets.
1223 -h, --help display this help and exit
1224 --help=short display options specific to this package
1225 --help=recursive display the short help of all the included packages
1226 -V, --version display version information and exit
1227 -q, --quiet, --silent do not print \`checking ...' messages
1228 --cache-file=FILE cache test results in FILE [disabled]
1229 -C, --config-cache alias for \`--cache-file=config.cache'
1230 -n, --no-create do not create output files
1231 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1233 Installation directories:
1234 --prefix=PREFIX install architecture-independent files in PREFIX
1235 [$ac_default_prefix]
1236 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1239 By default, \`make install' will install all the files in
1240 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1241 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1242 for instance \`--prefix=\$HOME'.
1244 For better control, use the options below.
1246 Fine tuning of the installation directories:
1247 --bindir=DIR user executables [EPREFIX/bin]
1248 --sbindir=DIR system admin executables [EPREFIX/sbin]
1249 --libexecdir=DIR program executables [EPREFIX/libexec]
1250 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1251 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1252 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1253 --libdir=DIR object code libraries [EPREFIX/lib]
1254 --includedir=DIR C header files [PREFIX/include]
1255 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1256 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1257 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1258 --infodir=DIR info documentation [DATAROOTDIR/info]
1259 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1260 --mandir=DIR man documentation [DATAROOTDIR/man]
1261 --docdir=DIR documentation root [DATAROOTDIR/doc/mod_auth_gssapi]
1262 --htmldir=DIR html documentation [DOCDIR]
1263 --dvidir=DIR dvi documentation [DOCDIR]
1264 --pdfdir=DIR pdf documentation [DOCDIR]
1265 --psdir=DIR ps documentation [DOCDIR]
1272 if test -n "$ac_init_help"; then
1273 case $ac_init_help in
1274 short | recursive ) echo "Configuration of mod_auth_gssapi 0.1:";;
1279 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1280 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1281 --with-gss=dir use gss in dir
1282 --with-apache=dir use apache in dir
1284 Some influential environment variables:
1285 CC C compiler command
1286 CFLAGS C compiler flags
1287 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1288 nonstandard directory <lib dir>
1289 LIBS libraries to pass to the linker, e.g. -l<library>
1290 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1291 you have headers in a nonstandard directory <include dir>
1294 Use these variables to override the choices made by `configure' or to help
1295 it to find libraries and programs with nonstandard names/locations.
1297 Report bugs to <modauthkerb-developers@lists.sourceforge.net>.
1302 if test "$ac_init_help" = "recursive"; then
1303 # If there are subdirs, report their specific --help.
1304 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1305 test -d "$ac_dir" ||
1306 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1311 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1313 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1314 # A ".." for each directory in $ac_dir_suffix.
1315 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1316 case $ac_top_builddir_sub in
1317 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1318 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1321 ac_abs_top_builddir=$ac_pwd
1322 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1323 # for backward compatibility:
1324 ac_top_builddir=$ac_top_build_prefix
1327 .) # We are building in place.
1329 ac_top_srcdir=$ac_top_builddir_sub
1330 ac_abs_top_srcdir=$ac_pwd ;;
1331 [\\/]* | ?:[\\/]* ) # Absolute name.
1332 ac_srcdir=$srcdir$ac_dir_suffix;
1333 ac_top_srcdir=$srcdir
1334 ac_abs_top_srcdir=$srcdir ;;
1336 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1337 ac_top_srcdir=$ac_top_build_prefix$srcdir
1338 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1340 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1342 cd "$ac_dir" || { ac_status=$?; continue; }
1343 # Check for guested configure.
1344 if test -f "$ac_srcdir/configure.gnu"; then
1346 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1347 elif test -f "$ac_srcdir/configure"; then
1349 $SHELL "$ac_srcdir/configure" --help=recursive
1351 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1353 cd "$ac_pwd" || { ac_status=$?; break; }
1357 test -n "$ac_init_help" && exit $ac_status
1358 if $ac_init_version; then
1360 mod_auth_gssapi configure 0.1
1361 generated by GNU Autoconf 2.67
1363 Copyright (C) 2010 Free Software Foundation, Inc.
1364 This configure script is free software; the Free Software Foundation
1365 gives unlimited permission to copy, distribute and modify it.
1370 ## ------------------------ ##
1371 ## Autoconf initialization. ##
1372 ## ------------------------ ##
1374 # ac_fn_c_try_compile LINENO
1375 # --------------------------
1376 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1377 ac_fn_c_try_compile ()
1379 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1380 rm -f conftest.$ac_objext
1381 if { { ac_try="$ac_compile"
1383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1384 *) ac_try_echo=$ac_try;;
1386 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1387 $as_echo "$ac_try_echo"; } >&5
1388 (eval "$ac_compile") 2>conftest.err
1390 if test -s conftest.err; then
1391 grep -v '^ *+' conftest.err >conftest.er1
1392 cat conftest.er1 >&5
1393 mv -f conftest.er1 conftest.err
1395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1396 test $ac_status = 0; } && {
1397 test -z "$ac_c_werror_flag" ||
1398 test ! -s conftest.err
1399 } && test -s conftest.$ac_objext; then :
1402 $as_echo "$as_me: failed program was:" >&5
1403 sed 's/^/| /' conftest.$ac_ext >&5
1407 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1408 as_fn_set_status $ac_retval
1410 } # ac_fn_c_try_compile
1412 # ac_fn_c_try_cpp LINENO
1413 # ----------------------
1414 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1417 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1418 if { { ac_try="$ac_cpp conftest.$ac_ext"
1420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1421 *) ac_try_echo=$ac_try;;
1423 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1424 $as_echo "$ac_try_echo"; } >&5
1425 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1427 if test -s conftest.err; then
1428 grep -v '^ *+' conftest.err >conftest.er1
1429 cat conftest.er1 >&5
1430 mv -f conftest.er1 conftest.err
1432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1433 test $ac_status = 0; } > conftest.i && {
1434 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1435 test ! -s conftest.err
1439 $as_echo "$as_me: failed program was:" >&5
1440 sed 's/^/| /' conftest.$ac_ext >&5
1444 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1445 as_fn_set_status $ac_retval
1449 # ac_fn_c_try_run LINENO
1450 # ----------------------
1451 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1452 # that executables *can* be run.
1455 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1456 if { { ac_try="$ac_link"
1458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1459 *) ac_try_echo=$ac_try;;
1461 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1462 $as_echo "$ac_try_echo"; } >&5
1463 (eval "$ac_link") 2>&5
1465 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1466 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1467 { { case "(($ac_try" in
1468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1469 *) ac_try_echo=$ac_try;;
1471 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1472 $as_echo "$ac_try_echo"; } >&5
1473 (eval "$ac_try") 2>&5
1475 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1476 test $ac_status = 0; }; }; then :
1479 $as_echo "$as_me: program exited with status $ac_status" >&5
1480 $as_echo "$as_me: failed program was:" >&5
1481 sed 's/^/| /' conftest.$ac_ext >&5
1483 ac_retval=$ac_status
1485 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1486 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1487 as_fn_set_status $ac_retval
1491 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1492 # -------------------------------------------------------
1493 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1494 # the include files in INCLUDES and setting the cache variable VAR
1496 ac_fn_c_check_header_mongrel ()
1498 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1499 if eval "test \"\${$3+set}\"" = set; then :
1500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1501 $as_echo_n "checking for $2... " >&6; }
1502 if eval "test \"\${$3+set}\"" = set; then :
1503 $as_echo_n "(cached) " >&6
1506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1507 $as_echo "$ac_res" >&6; }
1509 # Is the header compilable?
1510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1511 $as_echo_n "checking $2 usability... " >&6; }
1512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1513 /* end confdefs.h. */
1517 if ac_fn_c_try_compile "$LINENO"; then :
1518 ac_header_compiler=yes
1520 ac_header_compiler=no
1522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1524 $as_echo "$ac_header_compiler" >&6; }
1526 # Is the header present?
1527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1528 $as_echo_n "checking $2 presence... " >&6; }
1529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1530 /* end confdefs.h. */
1533 if ac_fn_c_try_cpp "$LINENO"; then :
1534 ac_header_preproc=yes
1536 ac_header_preproc=no
1538 rm -f conftest.err conftest.i conftest.$ac_ext
1539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1540 $as_echo "$ac_header_preproc" >&6; }
1542 # So? What about this header?
1543 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1546 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1547 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1548 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1552 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1554 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1555 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1556 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1558 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1559 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1560 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1561 ( $as_echo "## ----------------------------------------------------------- ##
1562 ## Report this to modauthkerb-developers@lists.sourceforge.net ##
1563 ## ----------------------------------------------------------- ##"
1564 ) | sed "s/^/$as_me: WARNING: /" >&2
1567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1568 $as_echo_n "checking for $2... " >&6; }
1569 if eval "test \"\${$3+set}\"" = set; then :
1570 $as_echo_n "(cached) " >&6
1572 eval "$3=\$ac_header_compiler"
1575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1576 $as_echo "$ac_res" >&6; }
1578 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1580 } # ac_fn_c_check_header_mongrel
1582 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1583 # -------------------------------------------------------
1584 # Tests whether HEADER exists and can be compiled using the include files in
1585 # INCLUDES, setting the cache variable VAR accordingly.
1586 ac_fn_c_check_header_compile ()
1588 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1590 $as_echo_n "checking for $2... " >&6; }
1591 if eval "test \"\${$3+set}\"" = set; then :
1592 $as_echo_n "(cached) " >&6
1594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1595 /* end confdefs.h. */
1599 if ac_fn_c_try_compile "$LINENO"; then :
1604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1608 $as_echo "$ac_res" >&6; }
1609 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1611 } # ac_fn_c_check_header_compile
1613 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1614 # -------------------------------------------
1615 # Tests whether TYPE exists after having included INCLUDES, setting cache
1616 # variable VAR accordingly.
1617 ac_fn_c_check_type ()
1619 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1621 $as_echo_n "checking for $2... " >&6; }
1622 if eval "test \"\${$3+set}\"" = set; then :
1623 $as_echo_n "(cached) " >&6
1626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1627 /* end confdefs.h. */
1638 if ac_fn_c_try_compile "$LINENO"; then :
1639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1640 /* end confdefs.h. */
1651 if ac_fn_c_try_compile "$LINENO"; then :
1656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1662 $as_echo "$ac_res" >&6; }
1663 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1665 } # ac_fn_c_check_type
1667 # ac_fn_c_try_link LINENO
1668 # -----------------------
1669 # Try to link conftest.$ac_ext, and return whether this succeeded.
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 rm -f conftest.$ac_objext conftest$ac_exeext
1674 if { { ac_try="$ac_link"
1676 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1677 *) ac_try_echo=$ac_try;;
1679 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1680 $as_echo "$ac_try_echo"; } >&5
1681 (eval "$ac_link") 2>conftest.err
1683 if test -s conftest.err; then
1684 grep -v '^ *+' conftest.err >conftest.er1
1685 cat conftest.er1 >&5
1686 mv -f conftest.er1 conftest.err
1688 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1689 test $ac_status = 0; } && {
1690 test -z "$ac_c_werror_flag" ||
1691 test ! -s conftest.err
1692 } && test -s conftest$ac_exeext && {
1693 test "$cross_compiling" = yes ||
1694 $as_test_x conftest$ac_exeext
1698 $as_echo "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1703 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1704 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1705 # interfere with the next link command; also delete a directory that is
1706 # left behind by Apple's compiler. We do this before executing the actions.
1707 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1708 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1709 as_fn_set_status $ac_retval
1711 } # ac_fn_c_try_link
1712 cat >config.log <<_ACEOF
1713 This file contains any messages produced by compilers while
1714 running configure, to aid debugging if configure makes a mistake.
1716 It was created by mod_auth_gssapi $as_me 0.1, which was
1717 generated by GNU Autoconf 2.67. Invocation command line was
1729 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1730 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1731 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1732 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1733 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1735 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1736 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1738 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1739 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1740 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1741 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1742 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1743 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1744 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1748 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1752 test -z "$as_dir" && as_dir=.
1753 $as_echo "PATH: $as_dir"
1769 # Keep a trace of the command line.
1770 # Strip out --no-create and --no-recursion so they do not pile up.
1771 # Strip out --silent because we don't want to record it for future runs.
1772 # Also quote any args containing shell meta-characters.
1773 # Make two passes to allow for proper duplicate-argument suppression.
1777 ac_must_keep_next=false
1783 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1784 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1785 | -silent | --silent | --silen | --sile | --sil)
1788 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1791 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1793 as_fn_append ac_configure_args1 " '$ac_arg'"
1794 if test $ac_must_keep_next = true; then
1795 ac_must_keep_next=false # Got value, back to normal.
1798 *=* | --config-cache | -C | -disable-* | --disable-* \
1799 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1800 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1801 | -with-* | --with-* | -without-* | --without-* | --x)
1802 case "$ac_configure_args0 " in
1803 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1806 -* ) ac_must_keep_next=true ;;
1809 as_fn_append ac_configure_args " '$ac_arg'"
1814 { ac_configure_args0=; unset ac_configure_args0;}
1815 { ac_configure_args1=; unset ac_configure_args1;}
1817 # When interrupted or exit'd, cleanup temporary files, and complete
1818 # config.log. We remove comments because anyway the quotes in there
1819 # would cause problems or look ugly.
1820 # WARNING: Use '\'' to represent an apostrophe within the trap.
1821 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1822 trap 'exit_status=$?
1823 # Save into config.log some information that might help in debugging.
1827 $as_echo "## ---------------- ##
1828 ## Cache variables. ##
1829 ## ---------------- ##"
1831 # The following way of writing the cache mishandles newlines in values,
1833 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1834 eval ac_val=\$$ac_var
1838 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1839 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1842 _ | IFS | as_nl) ;; #(
1843 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1844 *) { eval $ac_var=; unset $ac_var;} ;;
1849 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1850 *${as_nl}ac_space=\ *)
1852 "s/'\''/'\''\\\\'\'''\''/g;
1853 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1856 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1863 $as_echo "## ----------------- ##
1864 ## Output variables. ##
1865 ## ----------------- ##"
1867 for ac_var in $ac_subst_vars
1869 eval ac_val=\$$ac_var
1871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873 $as_echo "$ac_var='\''$ac_val'\''"
1877 if test -n "$ac_subst_files"; then
1878 $as_echo "## ------------------- ##
1879 ## File substitutions. ##
1880 ## ------------------- ##"
1882 for ac_var in $ac_subst_files
1884 eval ac_val=\$$ac_var
1886 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1888 $as_echo "$ac_var='\''$ac_val'\''"
1893 if test -s confdefs.h; then
1894 $as_echo "## ----------- ##
1901 test "$ac_signal" != 0 &&
1902 $as_echo "$as_me: caught signal $ac_signal"
1903 $as_echo "$as_me: exit $exit_status"
1905 rm -f core *.core core.conftest.* &&
1906 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1909 for ac_signal in 1 2 13 15; do
1910 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1914 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1915 rm -f -r conftest* confdefs.h
1917 $as_echo "/* confdefs.h */" > confdefs.h
1919 # Predefined preprocessor variables.
1921 cat >>confdefs.h <<_ACEOF
1922 #define PACKAGE_NAME "$PACKAGE_NAME"
1925 cat >>confdefs.h <<_ACEOF
1926 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1929 cat >>confdefs.h <<_ACEOF
1930 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_STRING "$PACKAGE_STRING"
1937 cat >>confdefs.h <<_ACEOF
1938 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1941 cat >>confdefs.h <<_ACEOF
1942 #define PACKAGE_URL "$PACKAGE_URL"
1946 # Let the site file select an alternate cache file if it wants to.
1947 # Prefer an explicitly selected file to automatically selected ones.
1950 if test -n "$CONFIG_SITE"; then
1951 # We do not want a PATH search for config.site.
1952 case $CONFIG_SITE in #((
1953 -*) ac_site_file1=./$CONFIG_SITE;;
1954 */*) ac_site_file1=$CONFIG_SITE;;
1955 *) ac_site_file1=./$CONFIG_SITE;;
1957 elif test "x$prefix" != xNONE; then
1958 ac_site_file1=$prefix/share/config.site
1959 ac_site_file2=$prefix/etc/config.site
1961 ac_site_file1=$ac_default_prefix/share/config.site
1962 ac_site_file2=$ac_default_prefix/etc/config.site
1964 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1966 test "x$ac_site_file" = xNONE && continue
1967 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1969 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1970 sed 's/^/| /' "$ac_site_file" >&5
1972 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1973 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1974 as_fn_error $? "failed to load site script $ac_site_file
1975 See \`config.log' for more details" "$LINENO" 5 ; }
1979 if test -r "$cache_file"; then
1980 # Some versions of bash will fail to source /dev/null (special files
1981 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1982 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1983 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1984 $as_echo "$as_me: loading cache $cache_file" >&6;}
1986 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1987 *) . "./$cache_file";;
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1992 $as_echo "$as_me: creating cache $cache_file" >&6;}
1996 # Check that the precious variables saved in the cache have kept the same
1998 ac_cache_corrupted=false
1999 for ac_var in $ac_precious_vars; do
2000 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2001 eval ac_new_set=\$ac_env_${ac_var}_set
2002 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2003 eval ac_new_val=\$ac_env_${ac_var}_value
2004 case $ac_old_set,$ac_new_set in
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2007 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2008 ac_cache_corrupted=: ;;
2010 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2011 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2012 ac_cache_corrupted=: ;;
2015 if test "x$ac_old_val" != "x$ac_new_val"; then
2016 # differences in whitespace do not lead to failure.
2017 ac_old_val_w=`echo x $ac_old_val`
2018 ac_new_val_w=`echo x $ac_new_val`
2019 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2021 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2022 ac_cache_corrupted=:
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2025 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2026 eval $ac_var=\$ac_old_val
2028 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2029 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2031 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2034 # Pass precious variables to config.status.
2035 if test "$ac_new_set" = set; then
2037 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2038 *) ac_arg=$ac_var=$ac_new_val ;;
2040 case " $ac_configure_args " in
2041 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2042 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2046 if $ac_cache_corrupted; then
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2050 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2051 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2053 ## -------------------- ##
2054 ## Main body of script. ##
2055 ## -------------------- ##
2058 ac_cpp='$CPP $CPPFLAGS'
2059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2065 ac_config_headers="$ac_config_headers config.h"
2068 # Checks for programs.
2070 ac_cpp='$CPP $CPPFLAGS'
2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2074 if test -n "$ac_tool_prefix"; then
2075 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2076 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2078 $as_echo_n "checking for $ac_word... " >&6; }
2079 if test "${ac_cv_prog_CC+set}" = set; then :
2080 $as_echo_n "(cached) " >&6
2082 if test -n "$CC"; then
2083 ac_cv_prog_CC="$CC" # Let the user override the test.
2085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2089 test -z "$as_dir" && as_dir=.
2090 for ac_exec_ext in '' $ac_executable_extensions; do
2091 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2092 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2093 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 if test -n "$CC"; then
2104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2105 $as_echo "$CC" >&6; }
2107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2108 $as_echo "no" >&6; }
2113 if test -z "$ac_cv_prog_CC"; then
2115 # Extract the first word of "gcc", so it can be a program name with args.
2116 set dummy gcc; ac_word=$2
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2118 $as_echo_n "checking for $ac_word... " >&6; }
2119 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2120 $as_echo_n "(cached) " >&6
2122 if test -n "$ac_ct_CC"; then
2123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2132 ac_cv_prog_ac_ct_CC="gcc"
2133 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2142 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2143 if test -n "$ac_ct_CC"; then
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2145 $as_echo "$ac_ct_CC" >&6; }
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2148 $as_echo "no" >&6; }
2151 if test "x$ac_ct_CC" = x; then
2154 case $cross_compiling:$ac_tool_warned in
2156 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2157 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2158 ac_tool_warned=yes ;;
2166 if test -z "$CC"; then
2167 if test -n "$ac_tool_prefix"; then
2168 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2169 set dummy ${ac_tool_prefix}cc; ac_word=$2
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2171 $as_echo_n "checking for $ac_word... " >&6; }
2172 if test "${ac_cv_prog_CC+set}" = set; then :
2173 $as_echo_n "(cached) " >&6
2175 if test -n "$CC"; then
2176 ac_cv_prog_CC="$CC" # Let the user override the test.
2178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2182 test -z "$as_dir" && as_dir=.
2183 for ac_exec_ext in '' $ac_executable_extensions; do
2184 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2185 ac_cv_prog_CC="${ac_tool_prefix}cc"
2186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2196 if test -n "$CC"; then
2197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2198 $as_echo "$CC" >&6; }
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2201 $as_echo "no" >&6; }
2207 if test -z "$CC"; then
2208 # Extract the first word of "cc", so it can be a program name with args.
2209 set dummy cc; ac_word=$2
2210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2211 $as_echo_n "checking for $ac_word... " >&6; }
2212 if test "${ac_cv_prog_CC+set}" = set; then :
2213 $as_echo_n "(cached) " >&6
2215 if test -n "$CC"; then
2216 ac_cv_prog_CC="$CC" # Let the user override the test.
2219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2223 test -z "$as_dir" && as_dir=.
2224 for ac_exec_ext in '' $ac_executable_extensions; do
2225 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2226 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2227 ac_prog_rejected=yes
2231 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2238 if test $ac_prog_rejected = yes; then
2239 # We found a bogon in the path, so make sure we never use it.
2240 set dummy $ac_cv_prog_CC
2242 if test $# != 0; then
2243 # We chose a different compiler from the bogus one.
2244 # However, it has the same basename, so the bogon will be chosen
2245 # first if we set CC to just the basename; use the full file name.
2247 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2253 if test -n "$CC"; then
2254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2255 $as_echo "$CC" >&6; }
2257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2258 $as_echo "no" >&6; }
2263 if test -z "$CC"; then
2264 if test -n "$ac_tool_prefix"; then
2265 for ac_prog in cl.exe
2267 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2268 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2270 $as_echo_n "checking for $ac_word... " >&6; }
2271 if test "${ac_cv_prog_CC+set}" = set; then :
2272 $as_echo_n "(cached) " >&6
2274 if test -n "$CC"; then
2275 ac_cv_prog_CC="$CC" # Let the user override the test.
2277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2281 test -z "$as_dir" && as_dir=.
2282 for ac_exec_ext in '' $ac_executable_extensions; do
2283 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2284 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2285 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2295 if test -n "$CC"; then
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2297 $as_echo "$CC" >&6; }
2299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2300 $as_echo "no" >&6; }
2304 test -n "$CC" && break
2307 if test -z "$CC"; then
2309 for ac_prog in cl.exe
2311 # Extract the first word of "$ac_prog", so it can be a program name with args.
2312 set dummy $ac_prog; ac_word=$2
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2314 $as_echo_n "checking for $ac_word... " >&6; }
2315 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2316 $as_echo_n "(cached) " >&6
2318 if test -n "$ac_ct_CC"; then
2319 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2321 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2325 test -z "$as_dir" && as_dir=.
2326 for ac_exec_ext in '' $ac_executable_extensions; do
2327 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2328 ac_cv_prog_ac_ct_CC="$ac_prog"
2329 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2338 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2339 if test -n "$ac_ct_CC"; then
2340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2341 $as_echo "$ac_ct_CC" >&6; }
2343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2344 $as_echo "no" >&6; }
2348 test -n "$ac_ct_CC" && break
2351 if test "x$ac_ct_CC" = x; then
2354 case $cross_compiling:$ac_tool_warned in
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2357 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2358 ac_tool_warned=yes ;;
2367 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2368 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2369 as_fn_error $? "no acceptable C compiler found in \$PATH
2370 See \`config.log' for more details" "$LINENO" 5 ; }
2372 # Provide some information about the compiler.
2373 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2376 for ac_option in --version -v -V -qversion; do
2377 { { ac_try="$ac_compiler $ac_option >&5"
2379 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2380 *) ac_try_echo=$ac_try;;
2382 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2383 $as_echo "$ac_try_echo"; } >&5
2384 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2386 if test -s conftest.err; then
2388 ... rest of stderr output deleted ...
2389 10q' conftest.err >conftest.er1
2390 cat conftest.er1 >&5
2392 rm -f conftest.er1 conftest.err
2393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2394 test $ac_status = 0; }
2397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2398 /* end confdefs.h. */
2408 ac_clean_files_save=$ac_clean_files
2409 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2410 # Try to create an executable without -o first, disregard a.out.
2411 # It will help us diagnose broken compilers, and finding out an intuition
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2414 $as_echo_n "checking whether the C compiler works... " >&6; }
2415 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2417 # The possible output files:
2418 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2421 for ac_file in $ac_files
2424 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2425 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2430 if { { ac_try="$ac_link_default"
2432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2433 *) ac_try_echo=$ac_try;;
2435 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2436 $as_echo "$ac_try_echo"; } >&5
2437 (eval "$ac_link_default") 2>&5
2439 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2440 test $ac_status = 0; }; then :
2441 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2442 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2443 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2444 # so that the user can short-circuit this test for compilers unknown to
2446 for ac_file in $ac_files ''
2448 test -f "$ac_file" || continue
2450 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2453 # We found the default executable, but exeext='' is most
2457 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2459 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2461 # We set ac_cv_exeext here because the later test for it is not
2462 # safe: cross compilers may not add the suffix if given an `-o'
2463 # argument, so we may need to know it at that point already.
2464 # Even if this section looks crufty: it has the advantage of
2471 test "$ac_cv_exeext" = no && ac_cv_exeext=
2476 if test -z "$ac_file"; then :
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2478 $as_echo "no" >&6; }
2479 $as_echo "$as_me: failed program was:" >&5
2480 sed 's/^/| /' conftest.$ac_ext >&5
2482 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2483 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2484 as_fn_error 77 "C compiler cannot create executables
2485 See \`config.log' for more details" "$LINENO" 5 ; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2488 $as_echo "yes" >&6; }
2490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2491 $as_echo_n "checking for C compiler default output file name... " >&6; }
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2493 $as_echo "$ac_file" >&6; }
2494 ac_exeext=$ac_cv_exeext
2496 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2497 ac_clean_files=$ac_clean_files_save
2498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2499 $as_echo_n "checking for suffix of executables... " >&6; }
2500 if { { ac_try="$ac_link"
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2505 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2506 $as_echo "$ac_try_echo"; } >&5
2507 (eval "$ac_link") 2>&5
2509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2510 test $ac_status = 0; }; then :
2511 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2512 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2513 # work properly (i.e., refer to `conftest.exe'), while it won't with
2515 for ac_file in conftest.exe conftest conftest.*; do
2516 test -f "$ac_file" || continue
2518 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2519 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2525 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2526 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2527 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2528 See \`config.log' for more details" "$LINENO" 5 ; }
2530 rm -f conftest conftest$ac_cv_exeext
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2532 $as_echo "$ac_cv_exeext" >&6; }
2534 rm -f conftest.$ac_ext
2535 EXEEXT=$ac_cv_exeext
2537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2538 /* end confdefs.h. */
2543 FILE *f = fopen ("conftest.out", "w");
2544 return ferror (f) || fclose (f) != 0;
2550 ac_clean_files="$ac_clean_files conftest.out"
2551 # Check that the compiler produces executables we can run. If not, either
2552 # the compiler is broken, or we cross compile.
2553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2554 $as_echo_n "checking whether we are cross compiling... " >&6; }
2555 if test "$cross_compiling" != yes; then
2556 { { ac_try="$ac_link"
2558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2559 *) ac_try_echo=$ac_try;;
2561 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2562 $as_echo "$ac_try_echo"; } >&5
2563 (eval "$ac_link") 2>&5
2565 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2566 test $ac_status = 0; }
2567 if { ac_try='./conftest$ac_cv_exeext'
2568 { { case "(($ac_try" in
2569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2570 *) ac_try_echo=$ac_try;;
2572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2573 $as_echo "$ac_try_echo"; } >&5
2574 (eval "$ac_try") 2>&5
2576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2577 test $ac_status = 0; }; }; then
2580 if test "$cross_compiling" = maybe; then
2583 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2584 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2585 as_fn_error $? "cannot run C compiled programs.
2586 If you meant to cross compile, use \`--host'.
2587 See \`config.log' for more details" "$LINENO" 5 ; }
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2592 $as_echo "$cross_compiling" >&6; }
2594 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2595 ac_clean_files=$ac_clean_files_save
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2597 $as_echo_n "checking for suffix of object files... " >&6; }
2598 if test "${ac_cv_objext+set}" = set; then :
2599 $as_echo_n "(cached) " >&6
2601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2602 /* end confdefs.h. */
2612 rm -f conftest.o conftest.obj
2613 if { { ac_try="$ac_compile"
2615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2616 *) ac_try_echo=$ac_try;;
2618 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2619 $as_echo "$ac_try_echo"; } >&5
2620 (eval "$ac_compile") 2>&5
2622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2623 test $ac_status = 0; }; then :
2624 for ac_file in conftest.o conftest.obj conftest.*; do
2625 test -f "$ac_file" || continue;
2627 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2628 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2633 $as_echo "$as_me: failed program was:" >&5
2634 sed 's/^/| /' conftest.$ac_ext >&5
2636 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2637 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2638 as_fn_error $? "cannot compute suffix of object files: cannot compile
2639 See \`config.log' for more details" "$LINENO" 5 ; }
2641 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2644 $as_echo "$ac_cv_objext" >&6; }
2645 OBJEXT=$ac_cv_objext
2647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2648 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2649 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2650 $as_echo_n "(cached) " >&6
2652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2653 /* end confdefs.h. */
2666 if ac_fn_c_try_compile "$LINENO"; then :
2671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2672 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2676 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2677 if test $ac_compiler_gnu = yes; then
2682 ac_test_CFLAGS=${CFLAGS+set}
2683 ac_save_CFLAGS=$CFLAGS
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2685 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2686 if test "${ac_cv_prog_cc_g+set}" = set; then :
2687 $as_echo_n "(cached) " >&6
2689 ac_save_c_werror_flag=$ac_c_werror_flag
2690 ac_c_werror_flag=yes
2693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2694 /* end confdefs.h. */
2704 if ac_fn_c_try_compile "$LINENO"; then :
2708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2709 /* end confdefs.h. */
2719 if ac_fn_c_try_compile "$LINENO"; then :
2722 ac_c_werror_flag=$ac_save_c_werror_flag
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2735 if ac_fn_c_try_compile "$LINENO"; then :
2738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2743 ac_c_werror_flag=$ac_save_c_werror_flag
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2746 $as_echo "$ac_cv_prog_cc_g" >&6; }
2747 if test "$ac_test_CFLAGS" = set; then
2748 CFLAGS=$ac_save_CFLAGS
2749 elif test $ac_cv_prog_cc_g = yes; then
2750 if test "$GCC" = yes; then
2756 if test "$GCC" = yes; then
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2763 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2764 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2765 $as_echo_n "(cached) " >&6
2767 ac_cv_prog_cc_c89=no
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2773 #include <sys/types.h>
2774 #include <sys/stat.h>
2775 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2776 struct buf { int x; };
2777 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2778 static char *e (p, i)
2784 static char *f (char * (*g) (char **, int), char **p, ...)
2789 s = g (p, va_arg (v,int));
2794 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2795 function prototypes and stuff, but not '\xHH' hex character constants.
2796 These don't provoke an error unfortunately, instead are silently treated
2797 as 'x'. The following induces an error, until -std is added to get
2798 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2799 array size at least. It's necessary to write '\x00'==0 to get something
2800 that's true only with -std. */
2801 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2803 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2804 inside strings and character constants. */
2806 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2808 int test (int i, double x);
2809 struct s1 {int (*f) (int a);};
2810 struct s2 {int (*f) (double a);};
2811 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2817 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2822 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2823 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2825 CC="$ac_save_CC $ac_arg"
2826 if ac_fn_c_try_compile "$LINENO"; then :
2827 ac_cv_prog_cc_c89=$ac_arg
2829 rm -f core conftest.err conftest.$ac_objext
2830 test "x$ac_cv_prog_cc_c89" != "xno" && break
2832 rm -f conftest.$ac_ext
2837 case "x$ac_cv_prog_cc_c89" in
2839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2840 $as_echo "none needed" >&6; } ;;
2842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2843 $as_echo "unsupported" >&6; } ;;
2845 CC="$CC $ac_cv_prog_cc_c89"
2846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2847 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2849 if test "x$ac_cv_prog_cc_c89" != xno; then :
2854 ac_cpp='$CPP $CPPFLAGS'
2855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2860 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2862 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2863 if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
2864 $as_echo_n "(cached) " >&6
2866 cat >conftest.make <<\_ACEOF
2869 @echo '@@@%%%=$(MAKE)=@@@%%%'
2871 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2872 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2874 eval ac_cv_prog_make_${ac_make}_set=yes;;
2876 eval ac_cv_prog_make_${ac_make}_set=no;;
2880 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2882 $as_echo "yes" >&6; }
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2886 $as_echo "no" >&6; }
2887 SET_MAKE="MAKE=${MAKE-make}"
2891 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2892 if test -f "$ac_dir/install-sh"; then
2894 ac_install_sh="$ac_aux_dir/install-sh -c"
2896 elif test -f "$ac_dir/install.sh"; then
2898 ac_install_sh="$ac_aux_dir/install.sh -c"
2900 elif test -f "$ac_dir/shtool"; then
2902 ac_install_sh="$ac_aux_dir/shtool install -c"
2906 if test -z "$ac_aux_dir"; then
2907 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2910 # These three variables are undocumented and unsupported,
2911 # and are intended to be withdrawn in a future Autoconf release.
2912 # They can cause serious problems if a builder's source tree is in a directory
2913 # whose full name contains unusual characters.
2914 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2915 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2916 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2919 # Find a good install program. We prefer a C program (faster),
2920 # so one script is as good as another. But avoid the broken or
2921 # incompatible versions:
2922 # SysV /etc/install, /usr/sbin/install
2923 # SunOS /usr/etc/install
2924 # IRIX /sbin/install
2926 # AmigaOS /C/install, which installs bootblocks on floppy discs
2927 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2928 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2929 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2930 # OS/2's system install, which has a completely different semantic
2931 # ./install, which can be erroneously created by make from ./install.sh.
2932 # Reject install programs that cannot install multiple files.
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2934 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2935 if test -z "$INSTALL"; then
2936 if test "${ac_cv_path_install+set}" = set; then :
2937 $as_echo_n "(cached) " >&6
2939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2943 test -z "$as_dir" && as_dir=.
2944 # Account for people who put trailing slashes in PATH elements.
2945 case $as_dir/ in #((
2946 ./ | .// | /[cC]/* | \
2947 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2948 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2951 # OSF1 and SCO ODT 3.0 have their own names for install.
2952 # Don't use installbsd from OSF since it installs stuff as root
2954 for ac_prog in ginstall scoinst install; do
2955 for ac_exec_ext in '' $ac_executable_extensions; do
2956 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2957 if test $ac_prog = install &&
2958 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2959 # AIX install. It has an incompatible calling convention.
2961 elif test $ac_prog = install &&
2962 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2963 # program-specific install script used by HP pwplus--don't use.
2966 rm -rf conftest.one conftest.two conftest.dir
2967 echo one > conftest.one
2968 echo two > conftest.two
2970 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2971 test -s conftest.one && test -s conftest.two &&
2972 test -s conftest.dir/conftest.one &&
2973 test -s conftest.dir/conftest.two
2975 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2988 rm -rf conftest.one conftest.two conftest.dir
2991 if test "${ac_cv_path_install+set}" = set; then
2992 INSTALL=$ac_cv_path_install
2994 # As a last resort, use the slow shell script. Don't cache a
2995 # value for INSTALL within a source directory, because that will
2996 # break other packages using the cache if that directory is
2997 # removed, or if the value is a relative name.
2998 INSTALL=$ac_install_sh
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3002 $as_echo "$INSTALL" >&6; }
3004 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3005 # It thinks the first close brace ends the variable substitution.
3006 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3008 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3010 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3013 # Checks for header files.
3016 ac_cpp='$CPP $CPPFLAGS'
3017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3021 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3022 # On Suns, sometimes $CPP names a directory.
3023 if test -n "$CPP" && test -d "$CPP"; then
3026 if test -z "$CPP"; then
3027 if test "${ac_cv_prog_CPP+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3030 # Double quotes because CPP needs to be expanded
3031 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3034 for ac_c_preproc_warn_flag in '' yes
3036 # Use a header file that comes with gcc, so configuring glibc
3037 # with a fresh cross-compiler works.
3038 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3039 # <limits.h> exists even on freestanding compilers.
3040 # On the NeXT, cc -E runs the code through the compiler's parser,
3041 # not just through cpp. "Syntax error" is here to catch this case.
3042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3043 /* end confdefs.h. */
3045 # include <limits.h>
3047 # include <assert.h>
3051 if ac_fn_c_try_cpp "$LINENO"; then :
3054 # Broken: fails on valid input.
3057 rm -f conftest.err conftest.i conftest.$ac_ext
3059 # OK, works on sane cases. Now check whether nonexistent headers
3060 # can be detected and how.
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3063 #include <ac_nonexistent.h>
3065 if ac_fn_c_try_cpp "$LINENO"; then :
3066 # Broken: success on invalid input.
3069 # Passes both tests.
3073 rm -f conftest.err conftest.i conftest.$ac_ext
3076 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3077 rm -f conftest.i conftest.err conftest.$ac_ext
3078 if $ac_preproc_ok; then :
3090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3091 $as_echo "$CPP" >&6; }
3093 for ac_c_preproc_warn_flag in '' yes
3095 # Use a header file that comes with gcc, so configuring glibc
3096 # with a fresh cross-compiler works.
3097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3098 # <limits.h> exists even on freestanding compilers.
3099 # On the NeXT, cc -E runs the code through the compiler's parser,
3100 # not just through cpp. "Syntax error" is here to catch this case.
3101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3102 /* end confdefs.h. */
3104 # include <limits.h>
3106 # include <assert.h>
3110 if ac_fn_c_try_cpp "$LINENO"; then :
3113 # Broken: fails on valid input.
3116 rm -f conftest.err conftest.i conftest.$ac_ext
3118 # OK, works on sane cases. Now check whether nonexistent headers
3119 # can be detected and how.
3120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3121 /* end confdefs.h. */
3122 #include <ac_nonexistent.h>
3124 if ac_fn_c_try_cpp "$LINENO"; then :
3125 # Broken: success on invalid input.
3128 # Passes both tests.
3132 rm -f conftest.err conftest.i conftest.$ac_ext
3135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3136 rm -f conftest.i conftest.err conftest.$ac_ext
3137 if $ac_preproc_ok; then :
3140 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3141 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3142 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3143 See \`config.log' for more details" "$LINENO" 5 ; }
3147 ac_cpp='$CPP $CPPFLAGS'
3148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3154 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3155 if test "${ac_cv_path_GREP+set}" = set; then :
3156 $as_echo_n "(cached) " >&6
3158 if test -z "$GREP"; then
3159 ac_path_GREP_found=false
3160 # Loop through the user's path and test for each of PROGNAME-LIST
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3165 test -z "$as_dir" && as_dir=.
3166 for ac_prog in grep ggrep; do
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3169 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3170 # Check for GNU ac_path_GREP and select it if it is found.
3171 # Check for GNU $ac_path_GREP
3172 case `"$ac_path_GREP" --version 2>&1` in
3174 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3177 $as_echo_n 0123456789 >"conftest.in"
3180 cat "conftest.in" "conftest.in" >"conftest.tmp"
3181 mv "conftest.tmp" "conftest.in"
3182 cp "conftest.in" "conftest.nl"
3183 $as_echo 'GREP' >> "conftest.nl"
3184 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3185 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3186 as_fn_arith $ac_count + 1 && ac_count=$as_val
3187 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3188 # Best one so far, save it but keep looking for a better one
3189 ac_cv_path_GREP="$ac_path_GREP"
3190 ac_path_GREP_max=$ac_count
3192 # 10*(2^10) chars as input seems more than enough
3193 test $ac_count -gt 10 && break
3195 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3198 $ac_path_GREP_found && break 3
3203 if test -z "$ac_cv_path_GREP"; then
3204 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3207 ac_cv_path_GREP=$GREP
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3212 $as_echo "$ac_cv_path_GREP" >&6; }
3213 GREP="$ac_cv_path_GREP"
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3217 $as_echo_n "checking for egrep... " >&6; }
3218 if test "${ac_cv_path_EGREP+set}" = set; then :
3219 $as_echo_n "(cached) " >&6
3221 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3222 then ac_cv_path_EGREP="$GREP -E"
3224 if test -z "$EGREP"; then
3225 ac_path_EGREP_found=false
3226 # Loop through the user's path and test for each of PROGNAME-LIST
3227 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3228 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3231 test -z "$as_dir" && as_dir=.
3232 for ac_prog in egrep; do
3233 for ac_exec_ext in '' $ac_executable_extensions; do
3234 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3235 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3236 # Check for GNU ac_path_EGREP and select it if it is found.
3237 # Check for GNU $ac_path_EGREP
3238 case `"$ac_path_EGREP" --version 2>&1` in
3240 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3243 $as_echo_n 0123456789 >"conftest.in"
3246 cat "conftest.in" "conftest.in" >"conftest.tmp"
3247 mv "conftest.tmp" "conftest.in"
3248 cp "conftest.in" "conftest.nl"
3249 $as_echo 'EGREP' >> "conftest.nl"
3250 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3251 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3252 as_fn_arith $ac_count + 1 && ac_count=$as_val
3253 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3254 # Best one so far, save it but keep looking for a better one
3255 ac_cv_path_EGREP="$ac_path_EGREP"
3256 ac_path_EGREP_max=$ac_count
3258 # 10*(2^10) chars as input seems more than enough
3259 test $ac_count -gt 10 && break
3261 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3264 $ac_path_EGREP_found && break 3
3269 if test -z "$ac_cv_path_EGREP"; then
3270 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3273 ac_cv_path_EGREP=$EGREP
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3279 $as_echo "$ac_cv_path_EGREP" >&6; }
3280 EGREP="$ac_cv_path_EGREP"
3283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3284 $as_echo_n "checking for ANSI C header files... " >&6; }
3285 if test "${ac_cv_header_stdc+set}" = set; then :
3286 $as_echo_n "(cached) " >&6
3288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3289 /* end confdefs.h. */
3303 if ac_fn_c_try_compile "$LINENO"; then :
3304 ac_cv_header_stdc=yes
3306 ac_cv_header_stdc=no
3308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 if test $ac_cv_header_stdc = yes; then
3311 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3313 /* end confdefs.h. */
3317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3318 $EGREP "memchr" >/dev/null 2>&1; then :
3321 ac_cv_header_stdc=no
3327 if test $ac_cv_header_stdc = yes; then
3328 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3330 /* end confdefs.h. */
3334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3335 $EGREP "free" >/dev/null 2>&1; then :
3338 ac_cv_header_stdc=no
3344 if test $ac_cv_header_stdc = yes; then
3345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3346 if test "$cross_compiling" = yes; then :
3349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3350 /* end confdefs.h. */
3353 #if ((' ' & 0x0FF) == 0x020)
3354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3357 # define ISLOWER(c) \
3358 (('a' <= (c) && (c) <= 'i') \
3359 || ('j' <= (c) && (c) <= 'r') \
3360 || ('s' <= (c) && (c) <= 'z'))
3361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3369 for (i = 0; i < 256; i++)
3370 if (XOR (islower (i), ISLOWER (i))
3371 || toupper (i) != TOUPPER (i))
3376 if ac_fn_c_try_run "$LINENO"; then :
3379 ac_cv_header_stdc=no
3381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3382 conftest.$ac_objext conftest.beam conftest.$ac_ext
3387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3388 $as_echo "$ac_cv_header_stdc" >&6; }
3389 if test $ac_cv_header_stdc = yes; then
3391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3397 inttypes.h stdint.h unistd.h
3399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3403 cat >>confdefs.h <<_ACEOF
3404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3412 for ac_header in limits.h netdb.h stddef.h stdlib.h string.h unistd.h
3414 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3415 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3416 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3417 cat >>confdefs.h <<_ACEOF
3418 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3426 # Checks for typedefs, structures, and compiler characteristics.
3428 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3429 if test "x$ac_cv_type_size_t" = x""yes; then :
3433 cat >>confdefs.h <<_ACEOF
3434 #define size_t unsigned int
3439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
3440 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
3441 if test "${ac_cv_struct_tm+set}" = set; then :
3442 $as_echo_n "(cached) " >&6
3444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3445 /* end confdefs.h. */
3446 #include <sys/types.h>
3453 int *p = &tm.tm_sec;
3459 if ac_fn_c_try_compile "$LINENO"; then :
3460 ac_cv_struct_tm=time.h
3462 ac_cv_struct_tm=sys/time.h
3464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
3467 $as_echo "$ac_cv_struct_tm" >&6; }
3468 if test $ac_cv_struct_tm = sys/time.h; then
3470 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
3476 # GSS-API enviroment
3481 # Check whether --with-gss was given.
3482 if test "${with_gss+set}" = set; then :
3483 withval=$with_gss; with_gss="$withval"
3486 if test "x$with_gss" = "xyes" ; then
3490 ac_save_CPPFLAGS="$CPPFLAGS"
3491 ac_save_LDFLAGS="$LDFLAGS"
3492 ac_save_LIBS="$LIBS"
3494 if test -z "$GSS_CPPFLAGS"; then
3496 if test -n "with_gss"; then
3497 TMP_GSS_CPPFLAGS="-I$with_gss/include"
3499 CPPFLAGS="$CPPFLAGS $TMP_GSS_CPPFLAGS"
3500 for ac_header in gssapi.h
3502 ac_fn_c_check_header_mongrel "$LINENO" "gssapi.h" "ac_cv_header_gssapi_h" "$ac_includes_default"
3503 if test "x$ac_cv_header_gssapi_h" = x""yes; then :
3504 cat >>confdefs.h <<_ACEOF
3505 #define HAVE_GSSAPI_H 1
3507 GSS_CPPFLAGS="$TMP_GSS_CPPFLAGS"
3512 if test -z "$GSS_CPPFLAGS"; then
3513 for ac_header in gssapi/gssapi.h
3515 ac_fn_c_check_header_mongrel "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
3516 if test "x$ac_cv_header_gssapi_gssapi_h" = x""yes; then :
3517 cat >>confdefs.h <<_ACEOF
3518 #define HAVE_GSSAPI_GSSAPI_H 1
3520 GSS_CPPFLAGS="$TMP_GSS_CPPFLAGS"
3526 CPPFLAGS="$ac_save_CPPFLAGS"
3529 #if test "x$with_gss"="x"; then
3534 if test -z "$GSS_LDFLAGS"; then
3536 if test -n "$with_gss"; then
3537 # XXX think about lib64, etc
3538 TMP_GSS_LDFLAGS="-L $with_gss/lib"
3541 LIBS="$LIBS $TMP_GSS_LDFLAGS"
3542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_accept_sec_context in -lgssapi_krb5" >&5
3543 $as_echo_n "checking for gss_accept_sec_context in -lgssapi_krb5... " >&6; }
3544 if test "${ac_cv_lib_gssapi_krb5_gss_accept_sec_context+set}" = set; then :
3545 $as_echo_n "(cached) " >&6
3547 ac_check_lib_save_LIBS=$LIBS
3548 LIBS="-lgssapi_krb5 $LIBS"
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3552 /* Override any GCC internal prototype to avoid an error.
3553 Use char because int might match the return type of a GCC
3554 builtin and then its argument prototype would still apply. */
3558 char gss_accept_sec_context ();
3562 return gss_accept_sec_context ();
3567 if ac_fn_c_try_link "$LINENO"; then :
3568 ac_cv_lib_gssapi_krb5_gss_accept_sec_context=yes
3570 ac_cv_lib_gssapi_krb5_gss_accept_sec_context=no
3572 rm -f core conftest.err conftest.$ac_objext \
3573 conftest$ac_exeext conftest.$ac_ext
3574 LIBS=$ac_check_lib_save_LIBS
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_krb5_gss_accept_sec_context" >&5
3577 $as_echo "$ac_cv_lib_gssapi_krb5_gss_accept_sec_context" >&6; }
3578 if test "x$ac_cv_lib_gssapi_krb5_gss_accept_sec_context" = x""yes; then :
3580 LIBS="-lgssapi_krb5 $LIBS"
3582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gss_accept_sec_context in -lgssapi" >&5
3583 $as_echo_n "checking for gss_accept_sec_context in -lgssapi... " >&6; }
3584 if test "${ac_cv_lib_gssapi_gss_accept_sec_context+set}" = set; then :
3585 $as_echo_n "(cached) " >&6
3587 ac_check_lib_save_LIBS=$LIBS
3588 LIBS="-lgssapi $LIBS"
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3592 /* Override any GCC internal prototype to avoid an error.
3593 Use char because int might match the return type of a GCC
3594 builtin and then its argument prototype would still apply. */
3598 char gss_accept_sec_context ();
3602 return gss_accept_sec_context ();
3607 if ac_fn_c_try_link "$LINENO"; then :
3608 ac_cv_lib_gssapi_gss_accept_sec_context=yes
3610 ac_cv_lib_gssapi_gss_accept_sec_context=no
3612 rm -f core conftest.err conftest.$ac_objext \
3613 conftest$ac_exeext conftest.$ac_ext
3614 LIBS=$ac_check_lib_save_LIBS
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gssapi_gss_accept_sec_context" >&5
3617 $as_echo "$ac_cv_lib_gssapi_gss_accept_sec_context" >&6; }
3618 if test "x$ac_cv_lib_gssapi_gss_accept_sec_context" = x""yes; then :
3620 LIBS="$LIBS -lgssapi"
3622 LIBS="$ac_save_LIBS"
3627 if test -z "$found_gssapi"; then
3628 as_fn_error $? "failed to find a GSS-API library" "$LINENO" 5
3631 # If SPNEGO is supported by the gssapi libraries, we shouln't build our support.
3632 # SPNEGO is supported as of Heimdal 0.7, and MIT 1.5.
3633 gssapi_supports_spnego=""
3634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the GSSAPI libraries support SPNEGO" >&5
3635 $as_echo_n "checking whether the GSSAPI libraries support SPNEGO... " >&6; }
3637 ac_save_CFLAGS="$CFLAGS"
3638 CFLAGS="$GSS_CPPFLAGS"
3640 ac_save_LDFLAGS=$LDFLAGS
3641 LDFLAGS="$GSS_LDFLAGS"
3642 # to make sure the testing binary can be launched:
3643 if test -n "$with_gss"; then
3644 LDFLAGS="$LDFLAGS -Wl,-rpath -Wl,$with_gss/lib"
3646 if test "$cross_compiling" = yes; then :
3647 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3648 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3649 as_fn_error $? "cannot run test program while cross compiling
3650 See \`config.log' for more details" "$LINENO" 5 ; }
3652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3653 /* end confdefs.h. */
3657 int main(int argc, char** argv)
3659 OM_uint32 major_status, minor_status;
3660 gss_OID_set mech_set;
3661 gss_OID_desc spnego_oid_desc = {6, (void *)"\x2b\x06\x01\x05\x05\x02"};
3664 major_status = gss_indicate_mechs(&minor_status, &mech_set);
3665 if (GSS_ERROR(major_status))
3669 for (i=0; i < mech_set->count && !SPNEGO; i++) {
3670 gss_OID tmp_oid = &mech_set->elements[i];
3671 if (tmp_oid->length == spnego_oid_desc.length &&
3672 !memcmp(tmp_oid->elements, spnego_oid_desc.elements,
3678 gss_release_oid_set(&minor_status, &mech_set);
3683 if ac_fn_c_try_run "$LINENO"; then :
3684 if test $? -eq 0; then
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3686 $as_echo "yes" >&6; }
3688 $as_echo "#define GSSAPI_SUPPORTS_SPNEGO 1" >>confdefs.h
3690 gssapi_supports_spnego=yes
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3693 $as_echo "no" >&6; }
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3697 $as_echo "no" >&6; }
3700 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3701 conftest.$ac_objext conftest.beam conftest.$ac_ext
3705 CFLAGS="$ac_save_CFLAGS"
3706 LDFLAGS="$ac_save_LDFLAGS"
3708 if test -z "$gssapi_supports_spnego"; then
3710 spnegokrb5/asn1_MechType.c \
3711 spnegokrb5/asn1_MechTypeList.c \
3712 spnegokrb5/asn1_ContextFlags.c \
3713 spnegokrb5/asn1_NegTokenInit.c \
3714 spnegokrb5/asn1_NegTokenTarg.c \
3715 spnegokrb5/der_get.c \
3716 spnegokrb5/der_put.c \
3717 spnegokrb5/der_free.c \
3718 spnegokrb5/der_length.c \
3719 spnegokrb5/der_copy.c \
3720 spnegokrb5/timegm.c \
3721 spnegokrb5/init_sec_context.c \
3722 spnegokrb5/accept_sec_context.c \
3723 spnegokrb5/encapsulate.c \
3724 spnegokrb5/decapsulate.c \
3725 spnegokrb5/external.c"
3735 # Check whether --with-apache was given.
3736 if test "${with_apache+set}" = set; then :
3737 withval=$with_apache; with_apache="$withval"
3741 # Extract the first word of "apxs", so it can be a program name with args.
3742 set dummy apxs; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if test "${ac_cv_path_APXS+set}" = set; then :
3746 $as_echo_n "(cached) " >&6
3750 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
3753 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3754 as_dummy="$with_apache/bin:$with_apache/sbin:$PATH"
3755 for as_dir in $as_dummy
3758 test -z "$as_dir" && as_dir=.
3759 for ac_exec_ext in '' $ac_executable_extensions; do
3760 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3761 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3762 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3772 APXS=$ac_cv_path_APXS
3773 if test -n "$APXS"; then
3774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
3775 $as_echo "$APXS" >&6; }
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3778 $as_echo "no" >&6; }
3782 if test -z "$APXS"; then
3783 # Extract the first word of "apxs2", so it can be a program name with args.
3784 set dummy apxs2; ac_word=$2
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3786 $as_echo_n "checking for $ac_word... " >&6; }
3787 if test "${ac_cv_path_APXS+set}" = set; then :
3788 $as_echo_n "(cached) " >&6
3792 ac_cv_path_APXS="$APXS" # Let the user override the test with a path.
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3796 as_dummy="$with_apache/bin:$with_apache/sbin:$PATH"
3797 for as_dir in $as_dummy
3800 test -z "$as_dir" && as_dir=.
3801 for ac_exec_ext in '' $ac_executable_extensions; do
3802 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3803 ac_cv_path_APXS="$as_dir/$ac_word$ac_exec_ext"
3804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3814 APXS=$ac_cv_path_APXS
3815 if test -n "$APXS"; then
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $APXS" >&5
3817 $as_echo "$APXS" >&6; }
3819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3820 $as_echo "no" >&6; }
3824 if test -z "$APXS"; then
3825 as_fn_error $? "failed to find apache apxs executable" "$LINENO" 5
3830 ac_config_files="$ac_config_files Makefile"
3833 cat >confcache <<\_ACEOF
3834 # This file is a shell script that caches the results of configure
3835 # tests run on this system so they can be shared between configure
3836 # scripts and configure runs, see configure's option --config-cache.
3837 # It is not useful on other systems. If it contains results you don't
3838 # want to keep, you may remove or edit it.
3840 # config.status only pays attention to the cache file if you give it
3841 # the --recheck option to rerun configure.
3843 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3844 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3849 # The following way of writing the cache mishandles newlines in values,
3850 # but we know of no workaround that is simple, portable, and efficient.
3851 # So, we kill variables containing newlines.
3852 # Ultrix sh set writes to stderr and can't be redirected directly,
3853 # and sets the high bit in the cache file unless we assign to the vars.
3855 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3856 eval ac_val=\$$ac_var
3860 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3861 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3864 _ | IFS | as_nl) ;; #(
3865 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3866 *) { eval $ac_var=; unset $ac_var;} ;;
3872 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3873 *${as_nl}ac_space=\ *)
3874 # `set' does not quote correctly, so add quotes: double-quote
3875 # substitution turns \\\\ into \\, and sed turns \\ into \.
3878 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3881 # `set' quotes correctly as required by POSIX, so do not add quotes.
3882 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3891 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3893 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3895 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3896 if test -w "$cache_file"; then
3897 test "x$cache_file" != "x/dev/null" &&
3898 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3899 $as_echo "$as_me: updating cache $cache_file" >&6;}
3900 cat confcache >$cache_file
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3903 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3908 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3909 # Let make expand exec_prefix.
3910 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3912 DEFS=-DHAVE_CONFIG_H
3917 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3918 # 1. Remove the extension, and $U if already installed.
3919 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3920 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3921 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3922 # will be set to the directory where LIBOBJS objects are built.
3923 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3924 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3928 LTLIBOBJS=$ac_ltlibobjs
3932 : ${CONFIG_STATUS=./config.status}
3934 ac_clean_files_save=$ac_clean_files
3935 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3937 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3939 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3941 # Generated by $as_me.
3942 # Run this file to recreate the current configuration.
3943 # Compiler output produced by configure, useful for debugging
3944 # configure, is in config.log if it exists.
3950 SHELL=\${CONFIG_SHELL-$SHELL}
3953 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3954 ## -------------------- ##
3955 ## M4sh Initialization. ##
3956 ## -------------------- ##
3958 # Be more Bourne compatible
3959 DUALCASE=1; export DUALCASE # for MKS sh
3960 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3963 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3964 # is contrary to our usage. Disable this feature.
3965 alias -g '${1+"$@"}'='"$@"'
3966 setopt NO_GLOB_SUBST
3968 case `(set -o) 2>/dev/null` in #(
3980 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3981 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3982 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3983 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3984 # Prefer a ksh shell builtin over an external printf program on Solaris,
3985 # but without wasting forks for bash or zsh.
3986 if test -z "$BASH_VERSION$ZSH_VERSION" \
3987 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3988 as_echo='print -r --'
3989 as_echo_n='print -rn --'
3990 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3991 as_echo='printf %s\n'
3992 as_echo_n='printf %s'
3994 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3995 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3996 as_echo_n='/usr/ucb/echo -n'
3998 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3999 as_echo_n_body='eval
4003 expr "X$arg" : "X\\(.*\\)$as_nl";
4004 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4006 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4008 export as_echo_n_body
4009 as_echo_n='sh -c $as_echo_n_body as_echo'
4012 as_echo='sh -c $as_echo_body as_echo'
4015 # The user is always right.
4016 if test "${PATH_SEPARATOR+set}" != set; then
4018 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4019 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4026 # We need space, tab and new line, in precisely that order. Quoting is
4027 # there to prevent editors from complaining about space-tab.
4028 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4029 # splitting by setting IFS to empty value.)
4032 # Find who we are. Look in the path if we contain no directory separator.
4034 *[\\/]* ) as_myself=$0 ;;
4035 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4039 test -z "$as_dir" && as_dir=.
4040 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4046 # We did not find ourselves, most probably we were run as `sh COMMAND'
4047 # in which case we are not to be found in the path.
4048 if test "x$as_myself" = x; then
4051 if test ! -f "$as_myself"; then
4052 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4056 # Unset variables that we do not need and which cause bugs (e.g. in
4057 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4058 # suppresses any "Segmentation fault" message there. '((' could
4059 # trigger a bug in pdksh 5.2.14.
4060 for as_var in BASH_ENV ENV MAIL MAILPATH
4061 do eval test x\${$as_var+set} = xset \
4062 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4075 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4078 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4079 # ----------------------------------------
4080 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4081 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4082 # script with STATUS, using 1 if that was 0.
4085 as_status=$1; test $as_status -eq 0 && as_status=1
4087 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4088 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4090 $as_echo "$as_me: error: $2" >&2
4091 as_fn_exit $as_status
4095 # as_fn_set_status STATUS
4096 # -----------------------
4097 # Set $? to STATUS, without forking.
4101 } # as_fn_set_status
4105 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4115 # Portably unset VAR.
4118 { eval $1=; unset $1;}
4120 as_unset=as_fn_unset
4121 # as_fn_append VAR VALUE
4122 # ----------------------
4123 # Append the text in VALUE to the end of the definition contained in VAR. Take
4124 # advantage of any shell optimizations that allow amortized linear growth over
4125 # repeated appends, instead of the typical quadratic growth present in naive
4127 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4128 eval 'as_fn_append ()
4139 # as_fn_arith ARG...
4140 # ------------------
4141 # Perform arithmetic evaluation on the ARGs, and store the result in the
4142 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4143 # must be portable across $(()) and expr.
4144 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4145 eval 'as_fn_arith ()
4152 as_val=`expr "$@" || test $? -eq 1`
4157 if expr a : '\(a\)' >/dev/null 2>&1 &&
4158 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4164 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4165 as_basename=basename
4170 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4176 as_me=`$as_basename -- "$0" ||
4177 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4178 X"$0" : 'X\(//\)$' \| \
4179 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4181 sed '/^.*\/\([^/][^/]*\)\/*$/{
4195 # Avoid depending upon Character Ranges.
4196 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4197 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4198 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4199 as_cr_digits='0123456789'
4200 as_cr_alnum=$as_cr_Letters$as_cr_digits
4202 ECHO_C= ECHO_N= ECHO_T=
4203 case `echo -n x` in #(((((
4205 case `echo 'xy\c'` in
4206 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4208 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4215 rm -f conf$$ conf$$.exe conf$$.file
4216 if test -d conf$$.dir; then
4217 rm -f conf$$.dir/conf$$.file
4220 mkdir conf$$.dir 2>/dev/null
4222 if (echo >conf$$.file) 2>/dev/null; then
4223 if ln -s conf$$.file conf$$ 2>/dev/null; then
4225 # ... but there are two gotchas:
4226 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4227 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4228 # In both cases, we have to default to `cp -p'.
4229 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4231 elif ln conf$$.file conf$$ 2>/dev/null; then
4239 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4240 rmdir conf$$.dir 2>/dev/null
4245 # Create "$as_dir" as a directory, including parents if necessary.
4250 -*) as_dir=./$as_dir;;
4252 test -d "$as_dir" || eval $as_mkdir_p || {
4256 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4257 *) as_qdir=$as_dir;;
4259 as_dirs="'$as_qdir' $as_dirs"
4260 as_dir=`$as_dirname -- "$as_dir" ||
4261 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4262 X"$as_dir" : 'X\(//\)[^/]' \| \
4263 X"$as_dir" : 'X\(//\)$' \| \
4264 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4265 $as_echo X"$as_dir" |
4266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4283 test -d "$as_dir" && break
4285 test -z "$as_dirs" || eval "mkdir $as_dirs"
4286 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4290 if mkdir -p . 2>/dev/null; then
4291 as_mkdir_p='mkdir -p "$as_dir"'
4293 test -d ./-p && rmdir ./-p
4297 if test -x / >/dev/null 2>&1; then
4300 if ls -dL / >/dev/null 2>&1; then
4307 if test -d "$1"; then
4313 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4314 ???[sx]*):;;*)false;;esac;fi
4318 as_executable_p=$as_test_x
4320 # Sed expression to map a string onto a valid CPP name.
4321 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4323 # Sed expression to map a string onto a valid variable name.
4324 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4328 ## ----------------------------------- ##
4329 ## Main body of $CONFIG_STATUS script. ##
4330 ## ----------------------------------- ##
4332 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4334 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4335 # Save the log message, to keep $0 and so on meaningful, and to
4336 # report actual input values of CONFIG_FILES etc. instead of their
4337 # values after options handling.
4339 This file was extended by mod_auth_gssapi $as_me 0.1, which was
4340 generated by GNU Autoconf 2.67. Invocation command line was
4342 CONFIG_FILES = $CONFIG_FILES
4343 CONFIG_HEADERS = $CONFIG_HEADERS
4344 CONFIG_LINKS = $CONFIG_LINKS
4345 CONFIG_COMMANDS = $CONFIG_COMMANDS
4348 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4353 case $ac_config_files in *"
4354 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4357 case $ac_config_headers in *"
4358 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4363 # Files that config.status was made for.
4364 config_files="$ac_config_files"
4365 config_headers="$ac_config_headers"
4369 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4371 \`$as_me' instantiates files and other configuration actions
4372 from templates according to the current configuration. Unless the files
4373 and actions are specified as TAGs, all are instantiated by default.
4375 Usage: $0 [OPTION]... [TAG]...
4377 -h, --help print this help, then exit
4378 -V, --version print version number and configuration settings, then exit
4379 --config print configuration, then exit
4380 -q, --quiet, --silent
4381 do not print progress messages
4382 -d, --debug don't remove temporary files
4383 --recheck update $as_me by reconfiguring in the same conditions
4384 --file=FILE[:TEMPLATE]
4385 instantiate the configuration file FILE
4386 --header=FILE[:TEMPLATE]
4387 instantiate the configuration header FILE
4389 Configuration files:
4392 Configuration headers:
4395 Report bugs to <modauthkerb-developers@lists.sourceforge.net>."
4398 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4399 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4401 mod_auth_gssapi config.status 0.1
4402 configured by $0, generated by GNU Autoconf 2.67,
4403 with options \\"\$ac_cs_config\\"
4405 Copyright (C) 2010 Free Software Foundation, Inc.
4406 This config.status script is free software; the Free Software Foundation
4407 gives unlimited permission to copy, distribute and modify it."
4412 test -n "\$AWK" || AWK=awk
4415 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4416 # The default lists apply if the user does not specify any file.
4422 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4423 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4427 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4439 # Handling of the options.
4440 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4442 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4443 $as_echo "$ac_cs_version"; exit ;;
4444 --config | --confi | --conf | --con | --co | --c )
4445 $as_echo "$ac_cs_config"; exit ;;
4446 --debug | --debu | --deb | --de | --d | -d )
4448 --file | --fil | --fi | --f )
4451 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4452 '') as_fn_error $? "missing file argument" ;;
4454 as_fn_append CONFIG_FILES " '$ac_optarg'"
4455 ac_need_defaults=false;;
4456 --header | --heade | --head | --hea )
4459 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4461 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4462 ac_need_defaults=false;;
4464 # Conflict between --help and --header
4465 as_fn_error $? "ambiguous option: \`$1'
4466 Try \`$0 --help' for more information.";;
4467 --help | --hel | -h )
4468 $as_echo "$ac_cs_usage"; exit ;;
4469 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4470 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4474 -*) as_fn_error $? "unrecognized option: \`$1'
4475 Try \`$0 --help' for more information." ;;
4477 *) as_fn_append ac_config_targets " $1"
4478 ac_need_defaults=false ;;
4484 ac_configure_extra_args=
4486 if $ac_cs_silent; then
4488 ac_configure_extra_args="$ac_configure_extra_args --silent"
4492 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4493 if \$ac_cs_recheck; then
4494 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4496 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4497 CONFIG_SHELL='$SHELL'
4503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4507 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4508 ## Running $as_me. ##
4514 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4517 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4519 # Handling of arguments.
4520 for ac_config_target in $ac_config_targets
4522 case $ac_config_target in
4523 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4524 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4526 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
4531 # If the user did not use the arguments to specify the items to instantiate,
4532 # then the envvar interface is used. Set only those that are not.
4533 # We use the long form for the default assignment because of an extremely
4534 # bizarre bug on SunOS 4.1.3.
4535 if $ac_need_defaults; then
4536 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4537 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4540 # Have a temporary directory for convenience. Make it in the build tree
4541 # simply because there is no reason against having it here, and in addition,
4542 # creating and moving files from /tmp can sometimes cause problems.
4543 # Hook for its removal unless debugging.
4544 # Note that there is a small window in which the directory will not be cleaned:
4545 # after its creation but before its name has been assigned to `$tmp'.
4549 trap 'exit_status=$?
4550 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4552 trap 'as_fn_exit 1' 1 2 13 15
4554 # Create a (secure) tmp directory for tmp files.
4557 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4558 test -n "$tmp" && test -d "$tmp"
4561 tmp=./conf$$-$RANDOM
4562 (umask 077 && mkdir "$tmp")
4563 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4565 # Set up the scripts for CONFIG_FILES section.
4566 # No need to generate them if there are no CONFIG_FILES.
4567 # This happens for instance with `./config.status config.h'.
4568 if test -n "$CONFIG_FILES"; then
4571 ac_cr=`echo X | tr X '\015'`
4572 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4573 # But we know of no other shell where ac_cr would be empty at this
4574 # point, so we can use a bashism as a fallback.
4575 if test "x$ac_cr" = x; then
4576 eval ac_cr=\$\'\\r\'
4578 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4579 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4585 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4590 echo "cat >conf$$subs.awk <<_ACEOF" &&
4591 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4594 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4595 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4597 for ac_last_try in false false false false false :; do
4598 . ./conf$$subs.sh ||
4599 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4601 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4602 if test $ac_delim_n = $ac_delim_num; then
4604 elif $ac_last_try; then
4605 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4607 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4612 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4613 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4617 s/^/S["/; s/!.*/"]=/
4627 s/\(.\{148\}\)..*/\1/
4629 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4634 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4641 s/\(.\{148\}\)..*/\1/
4643 s/["\\]/\\&/g; s/^/"/; s/$/"/
4647 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4652 ' <conf$$subs.awk | sed '
4657 ' >>$CONFIG_STATUS || ac_write_fail=1
4658 rm -f conf$$subs.awk
4659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4661 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4662 for (key in S) S_is_set[key] = 1
4668 nfields = split(line, field, "@")
4670 len = length(field[1])
4671 for (i = 2; i < nfields; i++) {
4673 keylen = length(key)
4674 if (S_is_set[key]) {
4676 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4677 len += length(value) + length(field[++i])
4688 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4689 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4690 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4693 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4694 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4697 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4698 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4699 # trailing colons and then remove the whole line if VPATH becomes empty
4700 # (actually we leave an empty line to preserve line numbers).
4701 if test "x$srcdir" = x.; then
4702 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4720 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4721 fi # test -n "$CONFIG_FILES"
4723 # Set up the scripts for CONFIG_HEADERS section.
4724 # No need to generate them if there are no CONFIG_HEADERS.
4725 # This happens for instance with `./config.status Makefile'.
4726 if test -n "$CONFIG_HEADERS"; then
4727 cat >"$tmp/defines.awk" <<\_ACAWK ||
4731 # Transform confdefs.h into an awk script `defines.awk', embedded as
4732 # here-document in config.status, that substitutes the proper values into
4733 # config.h.in to produce config.h.
4735 # Create a delimiter string that does not exist in confdefs.h, to ease
4736 # handling of long lines.
4738 for ac_last_try in false false :; do
4739 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4740 if test -z "$ac_t"; then
4742 elif $ac_last_try; then
4743 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4745 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4749 # For the awk script, D is an array of macro values keyed by name,
4750 # likewise P contains macro parameters if any. Preserve backslash
4751 # newline sequences.
4753 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4755 s/.\{148\}/&'"$ac_delim"'/g
4758 s/^[ ]*#[ ]*define[ ][ ]*/ /
4765 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4767 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4771 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4772 D["\1"]=" \3\\\\\\n"\\/p
4774 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4779 s/.\{148\}/&'"$ac_delim"'/g
4784 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4787 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4789 ' <confdefs.h | sed '
4790 s/'"$ac_delim"'/"\\\
4791 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4794 for (key in D) D_is_set[key] = 1
4797 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4799 split(line, arg, " ")
4800 if (arg[1] == "#") {
4804 defundef = substr(arg[1], 2)
4807 split(mac1, mac2, "(") #)
4809 prefix = substr(line, 1, index(line, defundef) - 1)
4810 if (D_is_set[macro]) {
4811 # Preserve the white space surrounding the "#".
4812 print prefix "define", macro P[macro] D[macro]
4815 # Replace #undef with comments. This is necessary, for example,
4816 # in the case of _POSIX_SOURCE, which is predefined and required
4817 # on some systems where configure will not decide to define it.
4818 if (defundef == "undef") {
4819 print "/*", prefix defundef, macro, "*/"
4827 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4828 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4829 fi # test -n "$CONFIG_HEADERS"
4832 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4837 :[FHLC]) ac_mode=$ac_tag; continue;;
4839 case $ac_mode$ac_tag in
4841 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
4842 :[FH]-) ac_tag=-:-;;
4843 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4860 -) ac_f="$tmp/stdin";;
4861 *) # Look for the file first in the build tree, then in the source tree
4862 # (if the path is not absolute). The absolute path cannot be DOS-style,
4863 # because $ac_f cannot contain `:'.
4867 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4869 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
4871 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4872 as_fn_append ac_file_inputs " '$ac_f'"
4875 # Let's still pretend it is `configure' which instantiates (i.e., don't
4876 # use $as_me), people would be surprised to read:
4877 # /* config.h. Generated by config.status. */
4878 configure_input='Generated from '`
4879 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4881 if test x"$ac_file" != x-; then
4882 configure_input="$ac_file. $configure_input"
4883 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4884 $as_echo "$as_me: creating $ac_file" >&6;}
4886 # Neutralize special characters interpreted by sed in replacement strings.
4887 case $configure_input in #(
4888 *\&* | *\|* | *\\* )
4889 ac_sed_conf_input=`$as_echo "$configure_input" |
4890 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4891 *) ac_sed_conf_input=$configure_input;;
4895 *:-:* | *:-) cat >"$tmp/stdin" \
4896 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4901 ac_dir=`$as_dirname -- "$ac_file" ||
4902 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4903 X"$ac_file" : 'X\(//\)[^/]' \| \
4904 X"$ac_file" : 'X\(//\)$' \| \
4905 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4906 $as_echo X"$ac_file" |
4907 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4924 as_dir="$ac_dir"; as_fn_mkdir_p
4928 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4930 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4931 # A ".." for each directory in $ac_dir_suffix.
4932 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4933 case $ac_top_builddir_sub in
4934 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4935 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4938 ac_abs_top_builddir=$ac_pwd
4939 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4940 # for backward compatibility:
4941 ac_top_builddir=$ac_top_build_prefix
4944 .) # We are building in place.
4946 ac_top_srcdir=$ac_top_builddir_sub
4947 ac_abs_top_srcdir=$ac_pwd ;;
4948 [\\/]* | ?:[\\/]* ) # Absolute name.
4949 ac_srcdir=$srcdir$ac_dir_suffix;
4950 ac_top_srcdir=$srcdir
4951 ac_abs_top_srcdir=$srcdir ;;
4953 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4954 ac_top_srcdir=$ac_top_build_prefix$srcdir
4955 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4957 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4967 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4968 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4972 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4973 # If the template does not know about datarootdir, expand it.
4974 # FIXME: This hack should be removed a few years after 2.60.
4975 ac_datarootdir_hack=; ac_datarootdir_seen=
4986 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4987 *datarootdir*) ac_datarootdir_seen=yes;;
4988 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4990 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4993 ac_datarootdir_hack='
4994 s&@datadir@&$datadir&g
4995 s&@docdir@&$docdir&g
4996 s&@infodir@&$infodir&g
4997 s&@localedir@&$localedir&g
4998 s&@mandir@&$mandir&g
4999 s&\\\${datarootdir}&$datarootdir&g' ;;
5003 # Neutralize VPATH when `$srcdir' = `.'.
5004 # Shell code in configure.ac might set extrasub.
5005 # FIXME: do we really want to maintain this feature?
5006 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5007 ac_sed_extra="$ac_vpsub
5010 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5013 s|@configure_input@|$ac_sed_conf_input|;t t
5014 s&@top_builddir@&$ac_top_builddir_sub&;t t
5015 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5016 s&@srcdir@&$ac_srcdir&;t t
5017 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5018 s&@top_srcdir@&$ac_top_srcdir&;t t
5019 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5020 s&@builddir@&$ac_builddir&;t t
5021 s&@abs_builddir@&$ac_abs_builddir&;t t
5022 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5023 s&@INSTALL@&$ac_INSTALL&;t t
5024 $ac_datarootdir_hack
5026 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5027 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5029 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5030 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5031 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5033 which seems to be undefined. Please make sure it is defined" >&5
5034 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5035 which seems to be undefined. Please make sure it is defined" >&2;}
5039 -) cat "$tmp/out" && rm -f "$tmp/out";;
5040 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5042 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5048 if test x"$ac_file" != x-; then
5050 $as_echo "/* $configure_input */" \
5051 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5052 } >"$tmp/config.h" \
5053 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5054 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5056 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5059 mv "$tmp/config.h" "$ac_file" \
5060 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5063 $as_echo "/* $configure_input */" \
5064 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5065 || as_fn_error $? "could not create -" "$LINENO" 5
5077 ac_clean_files=$ac_clean_files_save
5079 test $ac_write_fail = 0 ||
5080 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5083 # configure is writing to config.log, and then calls config.status.
5084 # config.status does its own redirection, appending to config.log.
5085 # Unfortunately, on DOS this fails, as config.log is still kept open
5086 # by configure, so config.status won't be able to write to it; its
5087 # output is simply discarded. So we exec the FD to /dev/null,
5088 # effectively closing config.log, so it can be properly (re)opened and
5089 # appended to by config.status. When coming back to configure, we
5090 # need to make the FD available again.
5091 if test "$no_create" != yes; then
5093 ac_config_status_args=
5094 test "$silent" = yes &&
5095 ac_config_status_args="$ac_config_status_args --quiet"
5097 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5099 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5100 # would make configure fail if this is the last instruction.
5101 $ac_cs_success || as_fn_exit 1
5103 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5105 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}