2 # From configure.in Revision.
3 # Guess values for system-dependent variables and create Makefiles.
4 # Generated by GNU Autoconf 2.69.
7 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22 # is contrary to our usage. Disable this feature.
23 alias -g '${1+"$@"}'='"$@"'
26 case `(set -o) 2>/dev/null` in #(
38 # Printing a long string crashes Solaris 7 /usr/bin/printf.
39 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
42 # Prefer a ksh shell builtin over an external printf program on Solaris,
43 # but without wasting forks for bash or zsh.
44 if test -z "$BASH_VERSION$ZSH_VERSION" \
45 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo_n='print -rn --'
48 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
53 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
54 as_echo_n='/usr/ucb/echo -n'
56 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
61 expr "X$arg" : "X\\(.*\\)$as_nl";
62 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 as_echo_n='sh -c $as_echo_n_body as_echo'
70 as_echo='sh -c $as_echo_body as_echo'
73 # The user is always right.
74 if test "${PATH_SEPARATOR+set}" != set; then
76 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
77 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
84 # We need space, tab and new line, in precisely that order. Quoting is
85 # there to prevent editors from complaining about space-tab.
86 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
87 # splitting by setting IFS to empty value.)
90 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 # Use a proper internal environment variable to ensure we don't fall
137 # into an infinite loop, continuously re-executing ourselves.
138 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
139 _as_can_reexec=no; export _as_can_reexec;
140 # We cannot yet assume a decent shell, so we have to provide a
141 # neutralization value for shells without unset; and this also
142 # works around shells that cannot unset nonexistent variables.
143 # Preserve -v and -x to the replacement shell.
146 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 *v*x* | *x*v* ) as_opts=-vx ;;
153 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
154 # Admittedly, this is quite paranoid, since all the known shells bail
155 # out after a failed `exec'.
156 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
159 # We don't want this to propagate to other subprocesses.
160 { _as_can_reexec=; unset _as_can_reexec;}
161 if test "x$CONFIG_SHELL" = x; then
162 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
165 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
166 # is contrary to our usage. Disable this feature.
167 alias -g '\${1+\"\$@\"}'='\"\$@\"'
170 case \`(set -o) 2>/dev/null\` in #(
178 as_required="as_fn_return () { (exit \$1); }
179 as_fn_success () { as_fn_return 0; }
180 as_fn_failure () { as_fn_return 1; }
181 as_fn_ret_success () { return 0; }
182 as_fn_ret_failure () { return 1; }
185 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
186 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
187 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
188 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
189 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 exitcode=1; echo positional parameters were not saved.
194 test x\$exitcode = x0 || exit 1
196 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
197 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
198 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
199 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
585 ac_unique_file="rlm_krb5.c"
586 ac_subst_vars='LTLIBOBJS
626 program_transform_name
639 enable_option_checking
640 with_rlm_krb5_lib_dir
641 with_rlm_krb5_include_dir
644 ac_precious_vars='build_alias
655 # Initialize some variables set by options.
657 ac_init_version=false
658 ac_unrecognized_opts=
660 # The variables have the same names as the options, with
661 # dashes changed to underlines.
669 program_transform_name=s,x,x,
677 # Installation directory options.
678 # These are left unexpanded so users can "make install exec_prefix=/foo"
679 # and all the variables that are supposed to be based on exec_prefix
680 # by default will actually change.
681 # Use braces instead of parens because sh, perl, etc. also accept them.
682 # (The list follows the same order as the GNU Coding Standards.)
683 bindir='${exec_prefix}/bin'
684 sbindir='${exec_prefix}/sbin'
685 libexecdir='${exec_prefix}/libexec'
686 datarootdir='${prefix}/share'
687 datadir='${datarootdir}'
688 sysconfdir='${prefix}/etc'
689 sharedstatedir='${prefix}/com'
690 localstatedir='${prefix}/var'
691 includedir='${prefix}/include'
692 oldincludedir='/usr/include'
693 docdir='${datarootdir}/doc/${PACKAGE}'
694 infodir='${datarootdir}/info'
699 libdir='${exec_prefix}/lib'
700 localedir='${datarootdir}/locale'
701 mandir='${datarootdir}/man'
707 # If the previous option needs an argument, assign it.
708 if test -n "$ac_prev"; then
709 eval $ac_prev=\$ac_option
715 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
720 # Accept the important Cygnus configure options, so we can diagnose typos.
722 case $ac_dashdash$ac_option in
726 -bindir | --bindir | --bindi | --bind | --bin | --bi)
728 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
731 -build | --build | --buil | --bui | --bu)
732 ac_prev=build_alias ;;
733 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
734 build_alias=$ac_optarg ;;
736 -cache-file | --cache-file | --cache-fil | --cache-fi \
737 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
738 ac_prev=cache_file ;;
739 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
740 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
741 cache_file=$ac_optarg ;;
744 cache_file=config.cache ;;
746 -datadir | --datadir | --datadi | --datad)
748 -datadir=* | --datadir=* | --datadi=* | --datad=*)
749 datadir=$ac_optarg ;;
751 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
752 | --dataroo | --dataro | --datar)
753 ac_prev=datarootdir ;;
754 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
755 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
756 datarootdir=$ac_optarg ;;
758 -disable-* | --disable-*)
759 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
760 # Reject names that are not valid shell variable names.
761 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
762 as_fn_error $? "invalid feature name: $ac_useropt"
763 ac_useropt_orig=$ac_useropt
764 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
765 case $ac_user_opts in
769 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
770 ac_unrecognized_sep=', ';;
772 eval enable_$ac_useropt=no ;;
774 -docdir | --docdir | --docdi | --doc | --do)
776 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
779 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
781 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
784 -enable-* | --enable-*)
785 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
788 as_fn_error $? "invalid feature name: $ac_useropt"
789 ac_useropt_orig=$ac_useropt
790 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
796 ac_unrecognized_sep=', ';;
798 eval enable_$ac_useropt=\$ac_optarg ;;
800 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
801 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
802 | --exec | --exe | --ex)
803 ac_prev=exec_prefix ;;
804 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
805 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
806 | --exec=* | --exe=* | --ex=*)
807 exec_prefix=$ac_optarg ;;
809 -gas | --gas | --ga | --g)
810 # Obsolete; use --with-gas.
813 -help | --help | --hel | --he | -h)
815 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
816 ac_init_help=recursive ;;
817 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
818 ac_init_help=short ;;
820 -host | --host | --hos | --ho)
821 ac_prev=host_alias ;;
822 -host=* | --host=* | --hos=* | --ho=*)
823 host_alias=$ac_optarg ;;
825 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
827 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
829 htmldir=$ac_optarg ;;
831 -includedir | --includedir | --includedi | --included | --include \
832 | --includ | --inclu | --incl | --inc)
833 ac_prev=includedir ;;
834 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
835 | --includ=* | --inclu=* | --incl=* | --inc=*)
836 includedir=$ac_optarg ;;
838 -infodir | --infodir | --infodi | --infod | --info | --inf)
840 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
841 infodir=$ac_optarg ;;
843 -libdir | --libdir | --libdi | --libd)
845 -libdir=* | --libdir=* | --libdi=* | --libd=*)
848 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
849 | --libexe | --libex | --libe)
850 ac_prev=libexecdir ;;
851 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
852 | --libexe=* | --libex=* | --libe=*)
853 libexecdir=$ac_optarg ;;
855 -localedir | --localedir | --localedi | --localed | --locale)
857 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
858 localedir=$ac_optarg ;;
860 -localstatedir | --localstatedir | --localstatedi | --localstated \
861 | --localstate | --localstat | --localsta | --localst | --locals)
862 ac_prev=localstatedir ;;
863 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
864 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
865 localstatedir=$ac_optarg ;;
867 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
869 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
873 # Obsolete; use --without-fp.
876 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
877 | --no-cr | --no-c | -n)
880 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
881 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
884 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
885 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
886 | --oldin | --oldi | --old | --ol | --o)
887 ac_prev=oldincludedir ;;
888 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
889 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
890 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
891 oldincludedir=$ac_optarg ;;
893 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
895 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
898 -program-prefix | --program-prefix | --program-prefi | --program-pref \
899 | --program-pre | --program-pr | --program-p)
900 ac_prev=program_prefix ;;
901 -program-prefix=* | --program-prefix=* | --program-prefi=* \
902 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
903 program_prefix=$ac_optarg ;;
905 -program-suffix | --program-suffix | --program-suffi | --program-suff \
906 | --program-suf | --program-su | --program-s)
907 ac_prev=program_suffix ;;
908 -program-suffix=* | --program-suffix=* | --program-suffi=* \
909 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
910 program_suffix=$ac_optarg ;;
912 -program-transform-name | --program-transform-name \
913 | --program-transform-nam | --program-transform-na \
914 | --program-transform-n | --program-transform- \
915 | --program-transform | --program-transfor \
916 | --program-transfo | --program-transf \
917 | --program-trans | --program-tran \
918 | --progr-tra | --program-tr | --program-t)
919 ac_prev=program_transform_name ;;
920 -program-transform-name=* | --program-transform-name=* \
921 | --program-transform-nam=* | --program-transform-na=* \
922 | --program-transform-n=* | --program-transform-=* \
923 | --program-transform=* | --program-transfor=* \
924 | --program-transfo=* | --program-transf=* \
925 | --program-trans=* | --program-tran=* \
926 | --progr-tra=* | --program-tr=* | --program-t=*)
927 program_transform_name=$ac_optarg ;;
929 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
931 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
934 -psdir | --psdir | --psdi | --psd | --ps)
936 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
939 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
940 | -silent | --silent | --silen | --sile | --sil)
943 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
945 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
947 sbindir=$ac_optarg ;;
949 -sharedstatedir | --sharedstatedir | --sharedstatedi \
950 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
951 | --sharedst | --shareds | --shared | --share | --shar \
953 ac_prev=sharedstatedir ;;
954 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
955 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
956 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
958 sharedstatedir=$ac_optarg ;;
960 -site | --site | --sit)
962 -site=* | --site=* | --sit=*)
965 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
967 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
970 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
971 | --syscon | --sysco | --sysc | --sys | --sy)
972 ac_prev=sysconfdir ;;
973 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
974 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
975 sysconfdir=$ac_optarg ;;
977 -target | --target | --targe | --targ | --tar | --ta | --t)
978 ac_prev=target_alias ;;
979 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
980 target_alias=$ac_optarg ;;
982 -v | -verbose | --verbose | --verbos | --verbo | --verb)
985 -version | --version | --versio | --versi | --vers | -V)
989 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
990 # Reject names that are not valid shell variable names.
991 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
992 as_fn_error $? "invalid package name: $ac_useropt"
993 ac_useropt_orig=$ac_useropt
994 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
995 case $ac_user_opts in
999 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1000 ac_unrecognized_sep=', ';;
1002 eval with_$ac_useropt=\$ac_optarg ;;
1004 -without-* | --without-*)
1005 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008 as_fn_error $? "invalid package name: $ac_useropt"
1009 ac_useropt_orig=$ac_useropt
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1018 eval with_$ac_useropt=no ;;
1021 # Obsolete; use --with-x.
1024 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1025 | --x-incl | --x-inc | --x-in | --x-i)
1026 ac_prev=x_includes ;;
1027 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1028 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1029 x_includes=$ac_optarg ;;
1031 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1032 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1033 ac_prev=x_libraries ;;
1034 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1035 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1036 x_libraries=$ac_optarg ;;
1038 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1039 Try \`$0 --help' for more information"
1043 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1044 # Reject names that are not valid shell variable names.
1045 case $ac_envvar in #(
1046 '' | [0-9]* | *[!_$as_cr_alnum]* )
1047 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1049 eval $ac_envvar=\$ac_optarg
1050 export $ac_envvar ;;
1053 # FIXME: should be removed in autoconf 3.0.
1054 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1055 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1056 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1057 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1063 if test -n "$ac_prev"; then
1064 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1065 as_fn_error $? "missing argument to $ac_option"
1068 if test -n "$ac_unrecognized_opts"; then
1069 case $enable_option_checking in
1071 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1072 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1076 # Check all directory arguments for consistency.
1077 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1078 datadir sysconfdir sharedstatedir localstatedir includedir \
1079 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1080 libdir localedir mandir
1082 eval ac_val=\$$ac_var
1083 # Remove trailing slashes.
1086 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1087 eval $ac_var=\$ac_val;;
1089 # Be sure to have absolute directory names.
1091 [\\/$]* | ?:[\\/]* ) continue;;
1092 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1094 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1097 # There might be people who depend on the old broken behavior: `$host'
1098 # used to hold the argument of --host etc.
1099 # FIXME: To remove some day.
1102 target=$target_alias
1104 # FIXME: To remove some day.
1105 if test "x$host_alias" != x; then
1106 if test "x$build_alias" = x; then
1107 cross_compiling=maybe
1108 elif test "x$build_alias" != "x$host_alias"; then
1114 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1116 test "$silent" = yes && exec 6>/dev/null
1119 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1120 ac_ls_di=`ls -di .` &&
1121 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1122 as_fn_error $? "working directory cannot be determined"
1123 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1124 as_fn_error $? "pwd does not report name of working directory"
1127 # Find the source files, if location was not specified.
1128 if test -z "$srcdir"; then
1129 ac_srcdir_defaulted=yes
1130 # Try the directory containing this script, then the parent directory.
1131 ac_confdir=`$as_dirname -- "$as_myself" ||
1132 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1133 X"$as_myself" : 'X\(//\)[^/]' \| \
1134 X"$as_myself" : 'X\(//\)$' \| \
1135 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1136 $as_echo X"$as_myself" |
1137 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1155 if test ! -r "$srcdir/$ac_unique_file"; then
1159 ac_srcdir_defaulted=no
1161 if test ! -r "$srcdir/$ac_unique_file"; then
1162 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1163 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1165 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1167 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1169 # When building in place, set srcdir=.
1170 if test "$ac_abs_confdir" = "$ac_pwd"; then
1173 # Remove unnecessary trailing slashes from srcdir.
1174 # Double slashes in file names in object file debugging info
1175 # mess up M-x gdb in Emacs.
1177 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1179 for ac_var in $ac_precious_vars; do
1180 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1181 eval ac_env_${ac_var}_value=\$${ac_var}
1182 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1183 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1187 # Report the --help message.
1189 if test "$ac_init_help" = "long"; then
1190 # Omit some internal or obsolete options to make the list less imposing.
1191 # This message is too long to be a string in the A/UX 3.1 sh.
1193 \`configure' configures this package to adapt to many kinds of systems.
1195 Usage: $0 [OPTION]... [VAR=VALUE]...
1197 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1198 VAR=VALUE. See below for descriptions of some of the useful variables.
1200 Defaults for the options are specified in brackets.
1203 -h, --help display this help and exit
1204 --help=short display options specific to this package
1205 --help=recursive display the short help of all the included packages
1206 -V, --version display version information and exit
1207 -q, --quiet, --silent do not print \`checking ...' messages
1208 --cache-file=FILE cache test results in FILE [disabled]
1209 -C, --config-cache alias for \`--cache-file=config.cache'
1210 -n, --no-create do not create output files
1211 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1213 Installation directories:
1214 --prefix=PREFIX install architecture-independent files in PREFIX
1215 [$ac_default_prefix]
1216 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1219 By default, \`make install' will install all the files in
1220 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1221 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1222 for instance \`--prefix=\$HOME'.
1224 For better control, use the options below.
1226 Fine tuning of the installation directories:
1227 --bindir=DIR user executables [EPREFIX/bin]
1228 --sbindir=DIR system admin executables [EPREFIX/sbin]
1229 --libexecdir=DIR program executables [EPREFIX/libexec]
1230 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1231 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1232 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1233 --libdir=DIR object code libraries [EPREFIX/lib]
1234 --includedir=DIR C header files [PREFIX/include]
1235 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1236 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1237 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1238 --infodir=DIR info documentation [DATAROOTDIR/info]
1239 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1240 --mandir=DIR man documentation [DATAROOTDIR/man]
1241 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1242 --htmldir=DIR html documentation [DOCDIR]
1243 --dvidir=DIR dvi documentation [DOCDIR]
1244 --pdfdir=DIR pdf documentation [DOCDIR]
1245 --psdir=DIR ps documentation [DOCDIR]
1252 if test -n "$ac_init_help"; then
1257 --disable-option-checking ignore unrecognized --enable/--with options
1258 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1259 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1260 --enable-heimdal-krb5 Enable if you have heimdal krb5
1263 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1264 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1265 --with-rlm-krb5-lib-dir=DIR Directory for krb5 library files
1266 --with-rlm-krb5-include-dir=DIR Directory for krb5 include files
1268 Some influential environment variables:
1269 CC C compiler command
1270 CFLAGS C compiler flags
1271 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1272 nonstandard directory <lib dir>
1273 LIBS libraries to pass to the linker, e.g. -l<library>
1274 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1275 you have headers in a nonstandard directory <include dir>
1278 Use these variables to override the choices made by `configure' or to help
1279 it to find libraries and programs with nonstandard names/locations.
1281 Report bugs to the package provider.
1286 if test "$ac_init_help" = "recursive"; then
1287 # If there are subdirs, report their specific --help.
1288 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1289 test -d "$ac_dir" ||
1290 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1295 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1297 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1298 # A ".." for each directory in $ac_dir_suffix.
1299 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1300 case $ac_top_builddir_sub in
1301 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1302 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1305 ac_abs_top_builddir=$ac_pwd
1306 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1307 # for backward compatibility:
1308 ac_top_builddir=$ac_top_build_prefix
1311 .) # We are building in place.
1313 ac_top_srcdir=$ac_top_builddir_sub
1314 ac_abs_top_srcdir=$ac_pwd ;;
1315 [\\/]* | ?:[\\/]* ) # Absolute name.
1316 ac_srcdir=$srcdir$ac_dir_suffix;
1317 ac_top_srcdir=$srcdir
1318 ac_abs_top_srcdir=$srcdir ;;
1320 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1321 ac_top_srcdir=$ac_top_build_prefix$srcdir
1322 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1324 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1326 cd "$ac_dir" || { ac_status=$?; continue; }
1327 # Check for guested configure.
1328 if test -f "$ac_srcdir/configure.gnu"; then
1330 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1331 elif test -f "$ac_srcdir/configure"; then
1333 $SHELL "$ac_srcdir/configure" --help=recursive
1335 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1337 cd "$ac_pwd" || { ac_status=$?; break; }
1341 test -n "$ac_init_help" && exit $ac_status
1342 if $ac_init_version; then
1345 generated by GNU Autoconf 2.69
1347 Copyright (C) 2012 Free Software Foundation, Inc.
1348 This configure script is free software; the Free Software Foundation
1349 gives unlimited permission to copy, distribute and modify it.
1354 ## ------------------------ ##
1355 ## Autoconf initialization. ##
1356 ## ------------------------ ##
1358 # ac_fn_c_try_compile LINENO
1359 # --------------------------
1360 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1361 ac_fn_c_try_compile ()
1363 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1364 rm -f conftest.$ac_objext
1365 if { { ac_try="$ac_compile"
1367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1368 *) ac_try_echo=$ac_try;;
1370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1371 $as_echo "$ac_try_echo"; } >&5
1372 (eval "$ac_compile") 2>conftest.err
1374 if test -s conftest.err; then
1375 grep -v '^ *+' conftest.err >conftest.er1
1376 cat conftest.er1 >&5
1377 mv -f conftest.er1 conftest.err
1379 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1380 test $ac_status = 0; } && {
1381 test -z "$ac_c_werror_flag" ||
1382 test ! -s conftest.err
1383 } && test -s conftest.$ac_objext; then :
1386 $as_echo "$as_me: failed program was:" >&5
1387 sed 's/^/| /' conftest.$ac_ext >&5
1391 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1392 as_fn_set_status $ac_retval
1394 } # ac_fn_c_try_compile
1396 # ac_fn_c_try_cpp LINENO
1397 # ----------------------
1398 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1402 if { { ac_try="$ac_cpp conftest.$ac_ext"
1404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1405 *) ac_try_echo=$ac_try;;
1407 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1408 $as_echo "$ac_try_echo"; } >&5
1409 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1411 if test -s conftest.err; then
1412 grep -v '^ *+' conftest.err >conftest.er1
1413 cat conftest.er1 >&5
1414 mv -f conftest.er1 conftest.err
1416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1417 test $ac_status = 0; } > conftest.i && {
1418 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1419 test ! -s conftest.err
1423 $as_echo "$as_me: failed program was:" >&5
1424 sed 's/^/| /' conftest.$ac_ext >&5
1428 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1429 as_fn_set_status $ac_retval
1433 # ac_fn_c_try_link LINENO
1434 # -----------------------
1435 # Try to link conftest.$ac_ext, and return whether this succeeded.
1438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1439 rm -f conftest.$ac_objext conftest$ac_exeext
1440 if { { ac_try="$ac_link"
1442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1443 *) ac_try_echo=$ac_try;;
1445 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1446 $as_echo "$ac_try_echo"; } >&5
1447 (eval "$ac_link") 2>conftest.err
1449 if test -s conftest.err; then
1450 grep -v '^ *+' conftest.err >conftest.er1
1451 cat conftest.er1 >&5
1452 mv -f conftest.er1 conftest.err
1454 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1455 test $ac_status = 0; } && {
1456 test -z "$ac_c_werror_flag" ||
1457 test ! -s conftest.err
1458 } && test -s conftest$ac_exeext && {
1459 test "$cross_compiling" = yes ||
1460 test -x conftest$ac_exeext
1464 $as_echo "$as_me: failed program was:" >&5
1465 sed 's/^/| /' conftest.$ac_ext >&5
1469 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1470 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1471 # interfere with the next link command; also delete a directory that is
1472 # left behind by Apple's compiler. We do this before executing the actions.
1473 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1474 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1475 as_fn_set_status $ac_retval
1477 } # ac_fn_c_try_link
1478 cat >config.log <<_ACEOF
1479 This file contains any messages produced by compilers while
1480 running configure, to aid debugging if configure makes a mistake.
1482 It was created by $as_me, which was
1483 generated by GNU Autoconf 2.69. Invocation command line was
1495 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1496 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1497 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1498 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1499 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1501 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1502 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1504 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1505 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1506 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1507 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1508 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1509 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1510 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1518 test -z "$as_dir" && as_dir=.
1519 $as_echo "PATH: $as_dir"
1535 # Keep a trace of the command line.
1536 # Strip out --no-create and --no-recursion so they do not pile up.
1537 # Strip out --silent because we don't want to record it for future runs.
1538 # Also quote any args containing shell meta-characters.
1539 # Make two passes to allow for proper duplicate-argument suppression.
1543 ac_must_keep_next=false
1549 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1550 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1551 | -silent | --silent | --silen | --sile | --sil)
1554 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1557 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1559 as_fn_append ac_configure_args1 " '$ac_arg'"
1560 if test $ac_must_keep_next = true; then
1561 ac_must_keep_next=false # Got value, back to normal.
1564 *=* | --config-cache | -C | -disable-* | --disable-* \
1565 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1566 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1567 | -with-* | --with-* | -without-* | --without-* | --x)
1568 case "$ac_configure_args0 " in
1569 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1572 -* ) ac_must_keep_next=true ;;
1575 as_fn_append ac_configure_args " '$ac_arg'"
1580 { ac_configure_args0=; unset ac_configure_args0;}
1581 { ac_configure_args1=; unset ac_configure_args1;}
1583 # When interrupted or exit'd, cleanup temporary files, and complete
1584 # config.log. We remove comments because anyway the quotes in there
1585 # would cause problems or look ugly.
1586 # WARNING: Use '\'' to represent an apostrophe within the trap.
1587 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1588 trap 'exit_status=$?
1589 # Save into config.log some information that might help in debugging.
1593 $as_echo "## ---------------- ##
1594 ## Cache variables. ##
1595 ## ---------------- ##"
1597 # The following way of writing the cache mishandles newlines in values,
1599 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1600 eval ac_val=\$$ac_var
1604 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1605 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1608 _ | IFS | as_nl) ;; #(
1609 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1610 *) { eval $ac_var=; unset $ac_var;} ;;
1615 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1616 *${as_nl}ac_space=\ *)
1618 "s/'\''/'\''\\\\'\'''\''/g;
1619 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1622 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1629 $as_echo "## ----------------- ##
1630 ## Output variables. ##
1631 ## ----------------- ##"
1633 for ac_var in $ac_subst_vars
1635 eval ac_val=\$$ac_var
1637 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1639 $as_echo "$ac_var='\''$ac_val'\''"
1643 if test -n "$ac_subst_files"; then
1644 $as_echo "## ------------------- ##
1645 ## File substitutions. ##
1646 ## ------------------- ##"
1648 for ac_var in $ac_subst_files
1650 eval ac_val=\$$ac_var
1652 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1654 $as_echo "$ac_var='\''$ac_val'\''"
1659 if test -s confdefs.h; then
1660 $as_echo "## ----------- ##
1667 test "$ac_signal" != 0 &&
1668 $as_echo "$as_me: caught signal $ac_signal"
1669 $as_echo "$as_me: exit $exit_status"
1671 rm -f core *.core core.conftest.* &&
1672 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1675 for ac_signal in 1 2 13 15; do
1676 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1680 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1681 rm -f -r conftest* confdefs.h
1683 $as_echo "/* confdefs.h */" > confdefs.h
1685 # Predefined preprocessor variables.
1687 cat >>confdefs.h <<_ACEOF
1688 #define PACKAGE_NAME "$PACKAGE_NAME"
1691 cat >>confdefs.h <<_ACEOF
1692 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1695 cat >>confdefs.h <<_ACEOF
1696 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1699 cat >>confdefs.h <<_ACEOF
1700 #define PACKAGE_STRING "$PACKAGE_STRING"
1703 cat >>confdefs.h <<_ACEOF
1704 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1707 cat >>confdefs.h <<_ACEOF
1708 #define PACKAGE_URL "$PACKAGE_URL"
1712 # Let the site file select an alternate cache file if it wants to.
1713 # Prefer an explicitly selected file to automatically selected ones.
1716 if test -n "$CONFIG_SITE"; then
1717 # We do not want a PATH search for config.site.
1718 case $CONFIG_SITE in #((
1719 -*) ac_site_file1=./$CONFIG_SITE;;
1720 */*) ac_site_file1=$CONFIG_SITE;;
1721 *) ac_site_file1=./$CONFIG_SITE;;
1723 elif test "x$prefix" != xNONE; then
1724 ac_site_file1=$prefix/share/config.site
1725 ac_site_file2=$prefix/etc/config.site
1727 ac_site_file1=$ac_default_prefix/share/config.site
1728 ac_site_file2=$ac_default_prefix/etc/config.site
1730 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1732 test "x$ac_site_file" = xNONE && continue
1733 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1734 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1735 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1736 sed 's/^/| /' "$ac_site_file" >&5
1738 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1739 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1740 as_fn_error $? "failed to load site script $ac_site_file
1741 See \`config.log' for more details" "$LINENO" 5; }
1745 if test -r "$cache_file"; then
1746 # Some versions of bash will fail to source /dev/null (special files
1747 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1748 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1749 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1750 $as_echo "$as_me: loading cache $cache_file" >&6;}
1752 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1753 *) . "./$cache_file";;
1757 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1758 $as_echo "$as_me: creating cache $cache_file" >&6;}
1762 # Check that the precious variables saved in the cache have kept the same
1764 ac_cache_corrupted=false
1765 for ac_var in $ac_precious_vars; do
1766 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1767 eval ac_new_set=\$ac_env_${ac_var}_set
1768 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1769 eval ac_new_val=\$ac_env_${ac_var}_value
1770 case $ac_old_set,$ac_new_set in
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1773 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1774 ac_cache_corrupted=: ;;
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1777 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1778 ac_cache_corrupted=: ;;
1781 if test "x$ac_old_val" != "x$ac_new_val"; then
1782 # differences in whitespace do not lead to failure.
1783 ac_old_val_w=`echo x $ac_old_val`
1784 ac_new_val_w=`echo x $ac_new_val`
1785 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1787 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1788 ac_cache_corrupted=:
1790 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1791 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1792 eval $ac_var=\$ac_old_val
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1795 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1796 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1797 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1800 # Pass precious variables to config.status.
1801 if test "$ac_new_set" = set; then
1803 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1804 *) ac_arg=$ac_var=$ac_new_val ;;
1806 case " $ac_configure_args " in
1807 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1808 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1812 if $ac_cache_corrupted; then
1813 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1814 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1815 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1816 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1817 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1819 ## -------------------- ##
1820 ## Main body of script. ##
1821 ## -------------------- ##
1824 ac_cpp='$CPP $CPPFLAGS'
1825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1833 if test x$with_rlm_krb5 != xno; then
1836 ac_cpp='$CPP $CPPFLAGS'
1837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1840 if test -n "$ac_tool_prefix"; then
1841 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1842 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1844 $as_echo_n "checking for $ac_word... " >&6; }
1845 if ${ac_cv_prog_CC+:} false; then :
1846 $as_echo_n "(cached) " >&6
1848 if test -n "$CC"; then
1849 ac_cv_prog_CC="$CC" # Let the user override the test.
1851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1855 test -z "$as_dir" && as_dir=.
1856 for ac_exec_ext in '' $ac_executable_extensions; do
1857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1858 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1869 if test -n "$CC"; then
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1871 $as_echo "$CC" >&6; }
1873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1874 $as_echo "no" >&6; }
1879 if test -z "$ac_cv_prog_CC"; then
1881 # Extract the first word of "gcc", so it can be a program name with args.
1882 set dummy gcc; ac_word=$2
1883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1884 $as_echo_n "checking for $ac_word... " >&6; }
1885 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1886 $as_echo_n "(cached) " >&6
1888 if test -n "$ac_ct_CC"; then
1889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1895 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do
1897 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1898 ac_cv_prog_ac_ct_CC="gcc"
1899 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1908 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1909 if test -n "$ac_ct_CC"; then
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1911 $as_echo "$ac_ct_CC" >&6; }
1913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1914 $as_echo "no" >&6; }
1917 if test "x$ac_ct_CC" = x; then
1920 case $cross_compiling:$ac_tool_warned in
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1923 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1924 ac_tool_warned=yes ;;
1932 if test -z "$CC"; then
1933 if test -n "$ac_tool_prefix"; then
1934 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1935 set dummy ${ac_tool_prefix}cc; ac_word=$2
1936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1937 $as_echo_n "checking for $ac_word... " >&6; }
1938 if ${ac_cv_prog_CC+:} false; then :
1939 $as_echo_n "(cached) " >&6
1941 if test -n "$CC"; then
1942 ac_cv_prog_CC="$CC" # Let the user override the test.
1944 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1948 test -z "$as_dir" && as_dir=.
1949 for ac_exec_ext in '' $ac_executable_extensions; do
1950 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1951 ac_cv_prog_CC="${ac_tool_prefix}cc"
1952 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1962 if test -n "$CC"; then
1963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1964 $as_echo "$CC" >&6; }
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1967 $as_echo "no" >&6; }
1973 if test -z "$CC"; then
1974 # Extract the first word of "cc", so it can be a program name with args.
1975 set dummy cc; ac_word=$2
1976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1977 $as_echo_n "checking for $ac_word... " >&6; }
1978 if ${ac_cv_prog_CC+:} false; then :
1979 $as_echo_n "(cached) " >&6
1981 if test -n "$CC"; then
1982 ac_cv_prog_CC="$CC" # Let the user override the test.
1985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1989 test -z "$as_dir" && as_dir=.
1990 for ac_exec_ext in '' $ac_executable_extensions; do
1991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1992 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1993 ac_prog_rejected=yes
1997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2004 if test $ac_prog_rejected = yes; then
2005 # We found a bogon in the path, so make sure we never use it.
2006 set dummy $ac_cv_prog_CC
2008 if test $# != 0; then
2009 # We chose a different compiler from the bogus one.
2010 # However, it has the same basename, so the bogon will be chosen
2011 # first if we set CC to just the basename; use the full file name.
2013 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2019 if test -n "$CC"; then
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2021 $as_echo "$CC" >&6; }
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2024 $as_echo "no" >&6; }
2029 if test -z "$CC"; then
2030 if test -n "$ac_tool_prefix"; then
2031 for ac_prog in cl.exe
2033 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2034 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2036 $as_echo_n "checking for $ac_word... " >&6; }
2037 if ${ac_cv_prog_CC+:} false; then :
2038 $as_echo_n "(cached) " >&6
2040 if test -n "$CC"; then
2041 ac_cv_prog_CC="$CC" # Let the user override the test.
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 test -z "$as_dir" && as_dir=.
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2050 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 if test -n "$CC"; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2063 $as_echo "$CC" >&6; }
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2066 $as_echo "no" >&6; }
2070 test -n "$CC" && break
2073 if test -z "$CC"; then
2075 for ac_prog in cl.exe
2077 # Extract the first word of "$ac_prog", so it can be a program name with args.
2078 set dummy $ac_prog; ac_word=$2
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2080 $as_echo_n "checking for $ac_word... " >&6; }
2081 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2082 $as_echo_n "(cached) " >&6
2084 if test -n "$ac_ct_CC"; then
2085 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2091 test -z "$as_dir" && as_dir=.
2092 for ac_exec_ext in '' $ac_executable_extensions; do
2093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2094 ac_cv_prog_ac_ct_CC="$ac_prog"
2095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2104 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2105 if test -n "$ac_ct_CC"; then
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2107 $as_echo "$ac_ct_CC" >&6; }
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2110 $as_echo "no" >&6; }
2114 test -n "$ac_ct_CC" && break
2117 if test "x$ac_ct_CC" = x; then
2120 case $cross_compiling:$ac_tool_warned in
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2124 ac_tool_warned=yes ;;
2133 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2135 as_fn_error $? "no acceptable C compiler found in \$PATH
2136 See \`config.log' for more details" "$LINENO" 5; }
2138 # Provide some information about the compiler.
2139 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2142 for ac_option in --version -v -V -qversion; do
2143 { { ac_try="$ac_compiler $ac_option >&5"
2145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2146 *) ac_try_echo=$ac_try;;
2148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2149 $as_echo "$ac_try_echo"; } >&5
2150 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2152 if test -s conftest.err; then
2154 ... rest of stderr output deleted ...
2155 10q' conftest.err >conftest.er1
2156 cat conftest.er1 >&5
2158 rm -f conftest.er1 conftest.err
2159 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2160 test $ac_status = 0; }
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2174 ac_clean_files_save=$ac_clean_files
2175 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2176 # Try to create an executable without -o first, disregard a.out.
2177 # It will help us diagnose broken compilers, and finding out an intuition
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2180 $as_echo_n "checking whether the C compiler works... " >&6; }
2181 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2183 # The possible output files:
2184 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2187 for ac_file in $ac_files
2190 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2191 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2196 if { { ac_try="$ac_link_default"
2198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2199 *) ac_try_echo=$ac_try;;
2201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2202 $as_echo "$ac_try_echo"; } >&5
2203 (eval "$ac_link_default") 2>&5
2205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2206 test $ac_status = 0; }; then :
2207 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2208 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2209 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2210 # so that the user can short-circuit this test for compilers unknown to
2212 for ac_file in $ac_files ''
2214 test -f "$ac_file" || continue
2216 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2219 # We found the default executable, but exeext='' is most
2223 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2225 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2227 # We set ac_cv_exeext here because the later test for it is not
2228 # safe: cross compilers may not add the suffix if given an `-o'
2229 # argument, so we may need to know it at that point already.
2230 # Even if this section looks crufty: it has the advantage of
2237 test "$ac_cv_exeext" = no && ac_cv_exeext=
2242 if test -z "$ac_file"; then :
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2244 $as_echo "no" >&6; }
2245 $as_echo "$as_me: failed program was:" >&5
2246 sed 's/^/| /' conftest.$ac_ext >&5
2248 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2249 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2250 as_fn_error 77 "C compiler cannot create executables
2251 See \`config.log' for more details" "$LINENO" 5; }
2253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2254 $as_echo "yes" >&6; }
2256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2257 $as_echo_n "checking for C compiler default output file name... " >&6; }
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2259 $as_echo "$ac_file" >&6; }
2260 ac_exeext=$ac_cv_exeext
2262 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2263 ac_clean_files=$ac_clean_files_save
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2265 $as_echo_n "checking for suffix of executables... " >&6; }
2266 if { { ac_try="$ac_link"
2268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2269 *) ac_try_echo=$ac_try;;
2271 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2272 $as_echo "$ac_try_echo"; } >&5
2273 (eval "$ac_link") 2>&5
2275 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2276 test $ac_status = 0; }; then :
2277 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2278 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2279 # work properly (i.e., refer to `conftest.exe'), while it won't with
2281 for ac_file in conftest.exe conftest conftest.*; do
2282 test -f "$ac_file" || continue
2284 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2285 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2291 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2292 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2293 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2294 See \`config.log' for more details" "$LINENO" 5; }
2296 rm -f conftest conftest$ac_cv_exeext
2297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2298 $as_echo "$ac_cv_exeext" >&6; }
2300 rm -f conftest.$ac_ext
2301 EXEEXT=$ac_cv_exeext
2303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2304 /* end confdefs.h. */
2309 FILE *f = fopen ("conftest.out", "w");
2310 return ferror (f) || fclose (f) != 0;
2316 ac_clean_files="$ac_clean_files conftest.out"
2317 # Check that the compiler produces executables we can run. If not, either
2318 # the compiler is broken, or we cross compile.
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2320 $as_echo_n "checking whether we are cross compiling... " >&6; }
2321 if test "$cross_compiling" != yes; then
2322 { { ac_try="$ac_link"
2324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2325 *) ac_try_echo=$ac_try;;
2327 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2328 $as_echo "$ac_try_echo"; } >&5
2329 (eval "$ac_link") 2>&5
2331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2332 test $ac_status = 0; }
2333 if { ac_try='./conftest$ac_cv_exeext'
2334 { { case "(($ac_try" in
2335 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2336 *) ac_try_echo=$ac_try;;
2338 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2339 $as_echo "$ac_try_echo"; } >&5
2340 (eval "$ac_try") 2>&5
2342 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2343 test $ac_status = 0; }; }; then
2346 if test "$cross_compiling" = maybe; then
2349 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2350 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2351 as_fn_error $? "cannot run C compiled programs.
2352 If you meant to cross compile, use \`--host'.
2353 See \`config.log' for more details" "$LINENO" 5; }
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2358 $as_echo "$cross_compiling" >&6; }
2360 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2361 ac_clean_files=$ac_clean_files_save
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2363 $as_echo_n "checking for suffix of object files... " >&6; }
2364 if ${ac_cv_objext+:} false; then :
2365 $as_echo_n "(cached) " >&6
2367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2368 /* end confdefs.h. */
2378 rm -f conftest.o conftest.obj
2379 if { { ac_try="$ac_compile"
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2385 $as_echo "$ac_try_echo"; } >&5
2386 (eval "$ac_compile") 2>&5
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2389 test $ac_status = 0; }; then :
2390 for ac_file in conftest.o conftest.obj conftest.*; do
2391 test -f "$ac_file" || continue;
2393 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2394 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2399 $as_echo "$as_me: failed program was:" >&5
2400 sed 's/^/| /' conftest.$ac_ext >&5
2402 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2403 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2404 as_fn_error $? "cannot compute suffix of object files: cannot compile
2405 See \`config.log' for more details" "$LINENO" 5; }
2407 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2410 $as_echo "$ac_cv_objext" >&6; }
2411 OBJEXT=$ac_cv_objext
2413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2414 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2415 if ${ac_cv_c_compiler_gnu+:} false; then :
2416 $as_echo_n "(cached) " >&6
2418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2419 /* end confdefs.h. */
2432 if ac_fn_c_try_compile "$LINENO"; then :
2437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2438 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2442 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2443 if test $ac_compiler_gnu = yes; then
2448 ac_test_CFLAGS=${CFLAGS+set}
2449 ac_save_CFLAGS=$CFLAGS
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2451 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2452 if ${ac_cv_prog_cc_g+:} false; then :
2453 $as_echo_n "(cached) " >&6
2455 ac_save_c_werror_flag=$ac_c_werror_flag
2456 ac_c_werror_flag=yes
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2470 if ac_fn_c_try_compile "$LINENO"; then :
2474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2475 /* end confdefs.h. */
2485 if ac_fn_c_try_compile "$LINENO"; then :
2488 ac_c_werror_flag=$ac_save_c_werror_flag
2490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2491 /* end confdefs.h. */
2501 if ac_fn_c_try_compile "$LINENO"; then :
2504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2509 ac_c_werror_flag=$ac_save_c_werror_flag
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2512 $as_echo "$ac_cv_prog_cc_g" >&6; }
2513 if test "$ac_test_CFLAGS" = set; then
2514 CFLAGS=$ac_save_CFLAGS
2515 elif test $ac_cv_prog_cc_g = yes; then
2516 if test "$GCC" = yes; then
2522 if test "$GCC" = yes; then
2528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2529 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2530 if ${ac_cv_prog_cc_c89+:} false; then :
2531 $as_echo_n "(cached) " >&6
2533 ac_cv_prog_cc_c89=no
2535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2536 /* end confdefs.h. */
2540 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2541 struct buf { int x; };
2542 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2543 static char *e (p, i)
2549 static char *f (char * (*g) (char **, int), char **p, ...)
2554 s = g (p, va_arg (v,int));
2559 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2560 function prototypes and stuff, but not '\xHH' hex character constants.
2561 These don't provoke an error unfortunately, instead are silently treated
2562 as 'x'. The following induces an error, until -std is added to get
2563 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2564 array size at least. It's necessary to write '\x00'==0 to get something
2565 that's true only with -std. */
2566 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2568 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2569 inside strings and character constants. */
2571 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2573 int test (int i, double x);
2574 struct s1 {int (*f) (int a);};
2575 struct s2 {int (*f) (double a);};
2576 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2582 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2587 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2588 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2590 CC="$ac_save_CC $ac_arg"
2591 if ac_fn_c_try_compile "$LINENO"; then :
2592 ac_cv_prog_cc_c89=$ac_arg
2594 rm -f core conftest.err conftest.$ac_objext
2595 test "x$ac_cv_prog_cc_c89" != "xno" && break
2597 rm -f conftest.$ac_ext
2602 case "x$ac_cv_prog_cc_c89" in
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2605 $as_echo "none needed" >&6; } ;;
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2608 $as_echo "unsupported" >&6; } ;;
2610 CC="$CC $ac_cv_prog_cc_c89"
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2612 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2614 if test "x$ac_cv_prog_cc_c89" != xno; then :
2619 ac_cpp='$CPP $CPPFLAGS'
2620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2625 ac_cpp='$CPP $CPPFLAGS'
2626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2630 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2631 # On Suns, sometimes $CPP names a directory.
2632 if test -n "$CPP" && test -d "$CPP"; then
2635 if test -z "$CPP"; then
2636 if ${ac_cv_prog_CPP+:} false; then :
2637 $as_echo_n "(cached) " >&6
2639 # Double quotes because CPP needs to be expanded
2640 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2643 for ac_c_preproc_warn_flag in '' yes
2645 # Use a header file that comes with gcc, so configuring glibc
2646 # with a fresh cross-compiler works.
2647 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2648 # <limits.h> exists even on freestanding compilers.
2649 # On the NeXT, cc -E runs the code through the compiler's parser,
2650 # not just through cpp. "Syntax error" is here to catch this case.
2651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2652 /* end confdefs.h. */
2654 # include <limits.h>
2656 # include <assert.h>
2660 if ac_fn_c_try_cpp "$LINENO"; then :
2663 # Broken: fails on valid input.
2666 rm -f conftest.err conftest.i conftest.$ac_ext
2668 # OK, works on sane cases. Now check whether nonexistent headers
2669 # can be detected and how.
2670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2671 /* end confdefs.h. */
2672 #include <ac_nonexistent.h>
2674 if ac_fn_c_try_cpp "$LINENO"; then :
2675 # Broken: success on invalid input.
2678 # Passes both tests.
2682 rm -f conftest.err conftest.i conftest.$ac_ext
2685 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2686 rm -f conftest.i conftest.err conftest.$ac_ext
2687 if $ac_preproc_ok; then :
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2700 $as_echo "$CPP" >&6; }
2702 for ac_c_preproc_warn_flag in '' yes
2704 # Use a header file that comes with gcc, so configuring glibc
2705 # with a fresh cross-compiler works.
2706 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2707 # <limits.h> exists even on freestanding compilers.
2708 # On the NeXT, cc -E runs the code through the compiler's parser,
2709 # not just through cpp. "Syntax error" is here to catch this case.
2710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2711 /* end confdefs.h. */
2713 # include <limits.h>
2715 # include <assert.h>
2719 if ac_fn_c_try_cpp "$LINENO"; then :
2722 # Broken: fails on valid input.
2725 rm -f conftest.err conftest.i conftest.$ac_ext
2727 # OK, works on sane cases. Now check whether nonexistent headers
2728 # can be detected and how.
2729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2730 /* end confdefs.h. */
2731 #include <ac_nonexistent.h>
2733 if ac_fn_c_try_cpp "$LINENO"; then :
2734 # Broken: success on invalid input.
2737 # Passes both tests.
2741 rm -f conftest.err conftest.i conftest.$ac_ext
2744 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2745 rm -f conftest.i conftest.err conftest.$ac_ext
2746 if $ac_preproc_ok; then :
2749 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2750 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2751 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
2752 See \`config.log' for more details" "$LINENO" 5; }
2756 ac_cpp='$CPP $CPPFLAGS'
2757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2764 # Check whether --with-rlm-krb5-lib-dir was given.
2765 if test "${with_rlm_krb5_lib_dir+set}" = set; then :
2766 withval=$with_rlm_krb5_lib_dir; case "$withval" in
2768 as_fn_error $? "Need rlm-krb5-lib-dir" "$LINENO" 5
2773 rlm_krb5_lib_dir="$withval"
2782 # Check whether --with-rlm-krb5-include-dir was given.
2783 if test "${with_rlm_krb5_include_dir+set}" = set; then :
2784 withval=$with_rlm_krb5_include_dir; case "$withval" in
2786 as_fn_error $? "Need rlm-krb5-include-dir" "$LINENO" 5
2791 rlm_krb5_include_dir="$withval"
2798 # Check whether --enable-heimdal-krb5 was given.
2799 if test "${enable_heimdal_krb5+set}" = set; then :
2800 enableval=$enable_heimdal_krb5; case "$enableval" in
2802 krb5_h_cflags="-DHEIMDAL_KRB5"
2809 smart_try_dir=$rlm_krb5_include_dir
2813 ac_safe=`echo "krb5.h" | sed 'y%./+-%__pm%'`
2814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
2815 $as_echo_n "checking for krb5.h... " >&6; }
2817 old_CFLAGS="$CFLAGS"
2821 if test "x$smart_try_dir" != "x"; then
2822 for try in $smart_try_dir; do
2823 CFLAGS="$old_CFLAGS -I$try"
2824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2825 /* end confdefs.h. */
2836 if ac_fn_c_try_compile "$LINENO"; then :
2837 smart_include="-I$try"
2841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2842 if test "x$smart_include" != "x"; then
2846 CFLAGS="$old_CFLAGS"
2849 if test "x$smart_include" = "x"; then
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2862 if ac_fn_c_try_compile "$LINENO"; then :
2867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2870 if test "x$smart_include" = "x"; then
2873 if test "x$LOCATE" != "x"; then
2877 for x in `${LOCATE} $file 2>/dev/null`; do
2878 base=`echo $x | sed "s%/${file}%%"`
2879 if test "x$x" = "x$base"; then
2883 dir=`${DIRNAME} $x 2>/dev/null`
2884 exclude=`echo ${dir} | ${GREP} /home`
2885 if test "x$exclude" != "x"; then
2889 already=`echo \$smart_include_dir ${DIRS} | ${GREP} ${dir}`
2890 if test "x$already" = "x"; then
2896 eval "smart_include_dir=\"\$smart_include_dir $DIRS\""
2899 for try in $smart_include_dir /usr/local/include /opt/include; do
2900 CFLAGS="$old_CFLAGS -I$try"
2901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2902 /* end confdefs.h. */
2913 if ac_fn_c_try_compile "$LINENO"; then :
2914 smart_include="-I$try"
2918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2919 if test "x$smart_include" != "x"; then
2923 CFLAGS="$old_CFLAGS"
2926 if test "x$smart_include" != "x"; then
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2928 $as_echo "yes" >&6; }
2929 eval "ac_cv_header_$ac_safe=yes"
2930 CFLAGS="$old_CFLAGS $smart_include"
2931 SMART_CFLAGS="$SMART_CFLAGS $smart_include"
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2934 $as_echo "no" >&6; }
2937 if test "$ac_cv_header_krb5_h" != "yes"; then
2942 smart_try_dir=$rlm_krb5_lib_dir
2945 sm_lib_safe=`echo "k5crypto" | sed 'y%./+-%__p_%'`
2946 sm_func_safe=`echo "krb5_encrypt_data" | sed 'y%./+-%__p_%'`
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_encrypt_data in -lk5crypto" >&5
2948 $as_echo_n "checking for krb5_encrypt_data in -lk5crypto... " >&6; }
2954 if test "x$smart_try_dir" != "x"; then
2955 for try in $smart_try_dir; do
2956 LIBS="-L$try -lk5crypto $old_LIBS"
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2959 extern char krb5_encrypt_data();
2968 if ac_fn_c_try_link "$LINENO"; then :
2969 smart_lib="-L$try -lk5crypto"
2971 rm -f core conftest.err conftest.$ac_objext \
2972 conftest$ac_exeext conftest.$ac_ext
2973 if test "x$smart_lib" != "x"; then
2980 if test "x$smart_lib" = "x"; then
2981 LIBS="-lk5crypto $old_LIBS"
2982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2983 /* end confdefs.h. */
2984 extern char krb5_encrypt_data();
2993 if ac_fn_c_try_link "$LINENO"; then :
2994 smart_lib="-lk5crypto"
2996 rm -f core conftest.err conftest.$ac_objext \
2997 conftest$ac_exeext conftest.$ac_ext
3001 if test "x$smart_lib" = "x"; then
3004 if test "x$LOCATE" != "x"; then
3006 file=libk5crypto${libltdl_cv_shlibext}
3008 for x in `${LOCATE} $file 2>/dev/null`; do
3009 base=`echo $x | sed "s%/${file}%%"`
3010 if test "x$x" = "x$base"; then
3014 dir=`${DIRNAME} $x 2>/dev/null`
3015 exclude=`echo ${dir} | ${GREP} /home`
3016 if test "x$exclude" != "x"; then
3020 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3021 if test "x$already" = "x"; then
3027 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3031 if test "x$LOCATE" != "x"; then
3035 for x in `${LOCATE} $file 2>/dev/null`; do
3036 base=`echo $x | sed "s%/${file}%%"`
3037 if test "x$x" = "x$base"; then
3041 dir=`${DIRNAME} $x 2>/dev/null`
3042 exclude=`echo ${dir} | ${GREP} /home`
3043 if test "x$exclude" != "x"; then
3047 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3048 if test "x$already" = "x"; then
3054 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3057 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3058 LIBS="-L$try -lk5crypto $old_LIBS"
3059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3060 /* end confdefs.h. */
3061 extern char krb5_encrypt_data();
3070 if ac_fn_c_try_link "$LINENO"; then :
3071 smart_lib="-L$try -lk5crypto"
3073 rm -f core conftest.err conftest.$ac_objext \
3074 conftest$ac_exeext conftest.$ac_ext
3075 if test "x$smart_lib" != "x"; then
3082 if test "x$smart_lib" != "x"; then
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3084 $as_echo "yes" >&6; }
3085 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3086 LIBS="$smart_lib $old_LIBS"
3087 SMART_LIBS="$smart_lib $SMART_LIBS"
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3090 $as_echo "no" >&6; }
3093 if test "x$ac_cv_lib_k5crypto_krb5_encrypt_data" = xyes; then
3094 krb5libcrypto="-lk5crypto"
3097 if test "x$krb5libcrypto" = x; then
3100 sm_lib_safe=`echo "crypto" | sed 'y%./+-%__p_%'`
3101 sm_func_safe=`echo "DH_new" | sed 'y%./+-%__p_%'`
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DH_new in -lcrypto" >&5
3103 $as_echo_n "checking for DH_new in -lcrypto... " >&6; }
3109 if test "x$smart_try_dir" != "x"; then
3110 for try in $smart_try_dir; do
3111 LIBS="-L$try -lcrypto $old_LIBS"
3112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3113 /* end confdefs.h. */
3114 extern char DH_new();
3123 if ac_fn_c_try_link "$LINENO"; then :
3124 smart_lib="-L$try -lcrypto"
3126 rm -f core conftest.err conftest.$ac_objext \
3127 conftest$ac_exeext conftest.$ac_ext
3128 if test "x$smart_lib" != "x"; then
3135 if test "x$smart_lib" = "x"; then
3136 LIBS="-lcrypto $old_LIBS"
3137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3138 /* end confdefs.h. */
3139 extern char DH_new();
3148 if ac_fn_c_try_link "$LINENO"; then :
3149 smart_lib="-lcrypto"
3151 rm -f core conftest.err conftest.$ac_objext \
3152 conftest$ac_exeext conftest.$ac_ext
3156 if test "x$smart_lib" = "x"; then
3159 if test "x$LOCATE" != "x"; then
3161 file=libcrypto${libltdl_cv_shlibext}
3163 for x in `${LOCATE} $file 2>/dev/null`; do
3164 base=`echo $x | sed "s%/${file}%%"`
3165 if test "x$x" = "x$base"; then
3169 dir=`${DIRNAME} $x 2>/dev/null`
3170 exclude=`echo ${dir} | ${GREP} /home`
3171 if test "x$exclude" != "x"; then
3175 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3176 if test "x$already" = "x"; then
3182 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3186 if test "x$LOCATE" != "x"; then
3190 for x in `${LOCATE} $file 2>/dev/null`; do
3191 base=`echo $x | sed "s%/${file}%%"`
3192 if test "x$x" = "x$base"; then
3196 dir=`${DIRNAME} $x 2>/dev/null`
3197 exclude=`echo ${dir} | ${GREP} /home`
3198 if test "x$exclude" != "x"; then
3202 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3203 if test "x$already" = "x"; then
3209 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3212 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3213 LIBS="-L$try -lcrypto $old_LIBS"
3214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3215 /* end confdefs.h. */
3216 extern char DH_new();
3225 if ac_fn_c_try_link "$LINENO"; then :
3226 smart_lib="-L$try -lcrypto"
3228 rm -f core conftest.err conftest.$ac_objext \
3229 conftest$ac_exeext conftest.$ac_ext
3230 if test "x$smart_lib" != "x"; then
3237 if test "x$smart_lib" != "x"; then
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3239 $as_echo "yes" >&6; }
3240 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3241 LIBS="$smart_lib $old_LIBS"
3242 SMART_LIBS="$smart_lib $SMART_LIBS"
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3245 $as_echo "no" >&6; }
3248 if test "x$ac_cv_lib_crypto_DH_new" = xyes; then
3249 krb5libcrypto="-lcrypto"
3253 if test "x$krb5libcrypto" = x; then
3254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!" >&5
3255 $as_echo "$as_me: WARNING: neither krb5 'k5crypto' nor 'crypto' libraries are found!" >&2;}
3260 sm_lib_safe=`echo "com_err" | sed 'y%./+-%__p_%'`
3261 sm_func_safe=`echo "set_com_err_hook" | sed 'y%./+-%__p_%'`
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for set_com_err_hook in -lcom_err" >&5
3263 $as_echo_n "checking for set_com_err_hook in -lcom_err... " >&6; }
3269 if test "x$smart_try_dir" != "x"; then
3270 for try in $smart_try_dir; do
3271 LIBS="-L$try -lcom_err $old_LIBS"
3272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3273 /* end confdefs.h. */
3274 extern char set_com_err_hook();
3283 if ac_fn_c_try_link "$LINENO"; then :
3284 smart_lib="-L$try -lcom_err"
3286 rm -f core conftest.err conftest.$ac_objext \
3287 conftest$ac_exeext conftest.$ac_ext
3288 if test "x$smart_lib" != "x"; then
3295 if test "x$smart_lib" = "x"; then
3296 LIBS="-lcom_err $old_LIBS"
3297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3298 /* end confdefs.h. */
3299 extern char set_com_err_hook();
3308 if ac_fn_c_try_link "$LINENO"; then :
3309 smart_lib="-lcom_err"
3311 rm -f core conftest.err conftest.$ac_objext \
3312 conftest$ac_exeext conftest.$ac_ext
3316 if test "x$smart_lib" = "x"; then
3319 if test "x$LOCATE" != "x"; then
3321 file=libcom_err${libltdl_cv_shlibext}
3323 for x in `${LOCATE} $file 2>/dev/null`; do
3324 base=`echo $x | sed "s%/${file}%%"`
3325 if test "x$x" = "x$base"; then
3329 dir=`${DIRNAME} $x 2>/dev/null`
3330 exclude=`echo ${dir} | ${GREP} /home`
3331 if test "x$exclude" != "x"; then
3335 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3336 if test "x$already" = "x"; then
3342 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3346 if test "x$LOCATE" != "x"; then
3350 for x in `${LOCATE} $file 2>/dev/null`; do
3351 base=`echo $x | sed "s%/${file}%%"`
3352 if test "x$x" = "x$base"; then
3356 dir=`${DIRNAME} $x 2>/dev/null`
3357 exclude=`echo ${dir} | ${GREP} /home`
3358 if test "x$exclude" != "x"; then
3362 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3363 if test "x$already" = "x"; then
3369 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3372 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3373 LIBS="-L$try -lcom_err $old_LIBS"
3374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3375 /* end confdefs.h. */
3376 extern char set_com_err_hook();
3385 if ac_fn_c_try_link "$LINENO"; then :
3386 smart_lib="-L$try -lcom_err"
3388 rm -f core conftest.err conftest.$ac_objext \
3389 conftest$ac_exeext conftest.$ac_ext
3390 if test "x$smart_lib" != "x"; then
3397 if test "x$smart_lib" != "x"; then
3398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3399 $as_echo "yes" >&6; }
3400 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3401 LIBS="$smart_lib $old_LIBS"
3402 SMART_LIBS="$smart_lib $SMART_LIBS"
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3405 $as_echo "no" >&6; }
3408 if test "x$ac_cv_lib_com_err_set_com_err_hook" != xyes; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the comm_err library isn't found!" >&5
3410 $as_echo "$as_me: WARNING: the comm_err library isn't found!" >&2;}
3415 sm_lib_safe=`echo "krb5" | sed 'y%./+-%__p_%'`
3416 sm_func_safe=`echo "krb5_init_context" | sed 'y%./+-%__p_%'`
3417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
3418 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
3424 if test "x$smart_try_dir" != "x"; then
3425 for try in $smart_try_dir; do
3426 LIBS="-L$try -lkrb5 $old_LIBS"
3427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3428 /* end confdefs.h. */
3429 extern char krb5_init_context();
3438 if ac_fn_c_try_link "$LINENO"; then :
3439 smart_lib="-L$try -lkrb5"
3441 rm -f core conftest.err conftest.$ac_objext \
3442 conftest$ac_exeext conftest.$ac_ext
3443 if test "x$smart_lib" != "x"; then
3450 if test "x$smart_lib" = "x"; then
3451 LIBS="-lkrb5 $old_LIBS"
3452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3453 /* end confdefs.h. */
3454 extern char krb5_init_context();
3463 if ac_fn_c_try_link "$LINENO"; then :
3466 rm -f core conftest.err conftest.$ac_objext \
3467 conftest$ac_exeext conftest.$ac_ext
3471 if test "x$smart_lib" = "x"; then
3474 if test "x$LOCATE" != "x"; then
3476 file=libkrb5${libltdl_cv_shlibext}
3478 for x in `${LOCATE} $file 2>/dev/null`; do
3479 base=`echo $x | sed "s%/${file}%%"`
3480 if test "x$x" = "x$base"; then
3484 dir=`${DIRNAME} $x 2>/dev/null`
3485 exclude=`echo ${dir} | ${GREP} /home`
3486 if test "x$exclude" != "x"; then
3490 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3491 if test "x$already" = "x"; then
3497 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3501 if test "x$LOCATE" != "x"; then
3505 for x in `${LOCATE} $file 2>/dev/null`; do
3506 base=`echo $x | sed "s%/${file}%%"`
3507 if test "x$x" = "x$base"; then
3511 dir=`${DIRNAME} $x 2>/dev/null`
3512 exclude=`echo ${dir} | ${GREP} /home`
3513 if test "x$exclude" != "x"; then
3517 already=`echo \$smart_lib_dir ${DIRS} | ${GREP} ${dir}`
3518 if test "x$already" = "x"; then
3524 eval "smart_lib_dir=\"\$smart_lib_dir $DIRS\""
3527 for try in $smart_lib_dir /usr/local/lib /opt/lib; do
3528 LIBS="-L$try -lkrb5 $old_LIBS"
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3531 extern char krb5_init_context();
3540 if ac_fn_c_try_link "$LINENO"; then :
3541 smart_lib="-L$try -lkrb5"
3543 rm -f core conftest.err conftest.$ac_objext \
3544 conftest$ac_exeext conftest.$ac_ext
3545 if test "x$smart_lib" != "x"; then
3552 if test "x$smart_lib" != "x"; then
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3554 $as_echo "yes" >&6; }
3555 eval "ac_cv_lib_${sm_lib_safe}_${sm_func_safe}=yes"
3556 LIBS="$smart_lib $old_LIBS"
3557 SMART_LIBS="$smart_lib $SMART_LIBS"
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3560 $as_echo "no" >&6; }
3563 if test "x$ac_cv_lib_krb5_krb5_init_context" != xyes; then
3570 echo \*\*\* module rlm_krb5 is disabled.
3573 if test x"$fail" != x""; then
3574 if test x"${enable_strict_dependencies}" = x"yes"; then
3575 as_fn_error $? "set --without-rlm_krb5 to disable it explicitly." "$LINENO" 5
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: silently not building rlm_krb5." >&5
3578 $as_echo "$as_me: WARNING: silently not building rlm_krb5." >&2;}
3579 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: FAILURE: rlm_krb5 requires: $fail." >&5
3580 $as_echo "$as_me: WARNING: FAILURE: rlm_krb5 requires: $fail." >&2;};
3585 krb5_ldflags=$SMART_LIBS
3586 krb5_cflags="${krb5_h_cflags} $SMART_CFLAGS"
3592 unset ac_cv_env_LIBS_set
3593 unset ac_cv_env_LIBS_value
3595 ac_config_files="$ac_config_files all.mk"
3597 cat >confcache <<\_ACEOF
3598 # This file is a shell script that caches the results of configure
3599 # tests run on this system so they can be shared between configure
3600 # scripts and configure runs, see configure's option --config-cache.
3601 # It is not useful on other systems. If it contains results you don't
3602 # want to keep, you may remove or edit it.
3604 # config.status only pays attention to the cache file if you give it
3605 # the --recheck option to rerun configure.
3607 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3608 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3613 # The following way of writing the cache mishandles newlines in values,
3614 # but we know of no workaround that is simple, portable, and efficient.
3615 # So, we kill variables containing newlines.
3616 # Ultrix sh set writes to stderr and can't be redirected directly,
3617 # and sets the high bit in the cache file unless we assign to the vars.
3619 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3620 eval ac_val=\$$ac_var
3624 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3625 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3628 _ | IFS | as_nl) ;; #(
3629 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3630 *) { eval $ac_var=; unset $ac_var;} ;;
3636 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3637 *${as_nl}ac_space=\ *)
3638 # `set' does not quote correctly, so add quotes: double-quote
3639 # substitution turns \\\\ into \\, and sed turns \\ into \.
3642 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3645 # `set' quotes correctly as required by POSIX, so do not add quotes.
3646 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3655 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3657 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3659 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3660 if test -w "$cache_file"; then
3661 if test "x$cache_file" != "x/dev/null"; then
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3663 $as_echo "$as_me: updating cache $cache_file" >&6;}
3664 if test ! -f "$cache_file" || test -h "$cache_file"; then
3665 cat confcache >"$cache_file"
3667 case $cache_file in #(
3669 mv -f confcache "$cache_file"$$ &&
3670 mv -f "$cache_file"$$ "$cache_file" ;; #(
3672 mv -f confcache "$cache_file" ;;
3677 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3678 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3683 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3684 # Let make expand exec_prefix.
3685 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3687 # Transform confdefs.h into DEFS.
3688 # Protect against shell expansion while executing Makefile rules.
3689 # Protect against Makefile macro expansion.
3691 # If the first sed substitution is executed (which looks for macros that
3692 # take arguments), then branch to the quote section. Otherwise,
3693 # look for a macro that doesn't take arguments.
3703 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3705 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3709 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3722 DEFS=`sed -n "$ac_script" confdefs.h`
3728 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3729 # 1. Remove the extension, and $U if already installed.
3730 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3731 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3732 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3733 # will be set to the directory where LIBOBJS objects are built.
3734 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3735 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3739 LTLIBOBJS=$ac_ltlibobjs
3743 : "${CONFIG_STATUS=./config.status}"
3745 ac_clean_files_save=$ac_clean_files
3746 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3748 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3750 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3752 # Generated by $as_me.
3753 # Run this file to recreate the current configuration.
3754 # Compiler output produced by configure, useful for debugging
3755 # configure, is in config.log if it exists.
3761 SHELL=\${CONFIG_SHELL-$SHELL}
3764 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3765 ## -------------------- ##
3766 ## M4sh Initialization. ##
3767 ## -------------------- ##
3769 # Be more Bourne compatible
3770 DUALCASE=1; export DUALCASE # for MKS sh
3771 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3774 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3775 # is contrary to our usage. Disable this feature.
3776 alias -g '${1+"$@"}'='"$@"'
3777 setopt NO_GLOB_SUBST
3779 case `(set -o) 2>/dev/null` in #(
3791 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3792 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3793 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3794 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3795 # Prefer a ksh shell builtin over an external printf program on Solaris,
3796 # but without wasting forks for bash or zsh.
3797 if test -z "$BASH_VERSION$ZSH_VERSION" \
3798 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3799 as_echo='print -r --'
3800 as_echo_n='print -rn --'
3801 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3802 as_echo='printf %s\n'
3803 as_echo_n='printf %s'
3805 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3806 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3807 as_echo_n='/usr/ucb/echo -n'
3809 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3810 as_echo_n_body='eval
3814 expr "X$arg" : "X\\(.*\\)$as_nl";
3815 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3817 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3819 export as_echo_n_body
3820 as_echo_n='sh -c $as_echo_n_body as_echo'
3823 as_echo='sh -c $as_echo_body as_echo'
3826 # The user is always right.
3827 if test "${PATH_SEPARATOR+set}" != set; then
3829 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3830 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3837 # We need space, tab and new line, in precisely that order. Quoting is
3838 # there to prevent editors from complaining about space-tab.
3839 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3840 # splitting by setting IFS to empty value.)
3843 # Find who we are. Look in the path if we contain no directory separator.
3846 *[\\/]* ) as_myself=$0 ;;
3847 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3851 test -z "$as_dir" && as_dir=.
3852 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3858 # We did not find ourselves, most probably we were run as `sh COMMAND'
3859 # in which case we are not to be found in the path.
3860 if test "x$as_myself" = x; then
3863 if test ! -f "$as_myself"; then
3864 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3868 # Unset variables that we do not need and which cause bugs (e.g. in
3869 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3870 # suppresses any "Segmentation fault" message there. '((' could
3871 # trigger a bug in pdksh 5.2.14.
3872 for as_var in BASH_ENV ENV MAIL MAILPATH
3873 do eval test x\${$as_var+set} = xset \
3874 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3887 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3890 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3891 # ----------------------------------------
3892 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3893 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3894 # script with STATUS, using 1 if that was 0.
3897 as_status=$1; test $as_status -eq 0 && as_status=1
3899 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3900 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3902 $as_echo "$as_me: error: $2" >&2
3903 as_fn_exit $as_status
3907 # as_fn_set_status STATUS
3908 # -----------------------
3909 # Set $? to STATUS, without forking.
3913 } # as_fn_set_status
3917 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3927 # Portably unset VAR.
3930 { eval $1=; unset $1;}
3932 as_unset=as_fn_unset
3933 # as_fn_append VAR VALUE
3934 # ----------------------
3935 # Append the text in VALUE to the end of the definition contained in VAR. Take
3936 # advantage of any shell optimizations that allow amortized linear growth over
3937 # repeated appends, instead of the typical quadratic growth present in naive
3939 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3940 eval 'as_fn_append ()
3951 # as_fn_arith ARG...
3952 # ------------------
3953 # Perform arithmetic evaluation on the ARGs, and store the result in the
3954 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3955 # must be portable across $(()) and expr.
3956 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3957 eval 'as_fn_arith ()
3964 as_val=`expr "$@" || test $? -eq 1`
3969 if expr a : '\(a\)' >/dev/null 2>&1 &&
3970 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3976 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3977 as_basename=basename
3982 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3988 as_me=`$as_basename -- "$0" ||
3989 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3990 X"$0" : 'X\(//\)$' \| \
3991 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3993 sed '/^.*\/\([^/][^/]*\)\/*$/{
4007 # Avoid depending upon Character Ranges.
4008 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4009 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4010 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4011 as_cr_digits='0123456789'
4012 as_cr_alnum=$as_cr_Letters$as_cr_digits
4014 ECHO_C= ECHO_N= ECHO_T=
4015 case `echo -n x` in #(((((
4017 case `echo 'xy\c'` in
4018 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4020 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4027 rm -f conf$$ conf$$.exe conf$$.file
4028 if test -d conf$$.dir; then
4029 rm -f conf$$.dir/conf$$.file
4032 mkdir conf$$.dir 2>/dev/null
4034 if (echo >conf$$.file) 2>/dev/null; then
4035 if ln -s conf$$.file conf$$ 2>/dev/null; then
4037 # ... but there are two gotchas:
4038 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4039 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4040 # In both cases, we have to default to `cp -pR'.
4041 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4043 elif ln conf$$.file conf$$ 2>/dev/null; then
4051 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4052 rmdir conf$$.dir 2>/dev/null
4057 # Create "$as_dir" as a directory, including parents if necessary.
4062 -*) as_dir=./$as_dir;;
4064 test -d "$as_dir" || eval $as_mkdir_p || {
4068 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4069 *) as_qdir=$as_dir;;
4071 as_dirs="'$as_qdir' $as_dirs"
4072 as_dir=`$as_dirname -- "$as_dir" ||
4073 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4074 X"$as_dir" : 'X\(//\)[^/]' \| \
4075 X"$as_dir" : 'X\(//\)$' \| \
4076 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4077 $as_echo X"$as_dir" |
4078 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4095 test -d "$as_dir" && break
4097 test -z "$as_dirs" || eval "mkdir $as_dirs"
4098 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4102 if mkdir -p . 2>/dev/null; then
4103 as_mkdir_p='mkdir -p "$as_dir"'
4105 test -d ./-p && rmdir ./-p
4110 # as_fn_executable_p FILE
4111 # -----------------------
4112 # Test if FILE is an executable regular file.
4113 as_fn_executable_p ()
4115 test -f "$1" && test -x "$1"
4116 } # as_fn_executable_p
4118 as_executable_p=as_fn_executable_p
4120 # Sed expression to map a string onto a valid CPP name.
4121 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4123 # Sed expression to map a string onto a valid variable name.
4124 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4128 ## ----------------------------------- ##
4129 ## Main body of $CONFIG_STATUS script. ##
4130 ## ----------------------------------- ##
4132 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4134 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4135 # Save the log message, to keep $0 and so on meaningful, and to
4136 # report actual input values of CONFIG_FILES etc. instead of their
4137 # values after options handling.
4139 This file was extended by $as_me, which was
4140 generated by GNU Autoconf 2.69. Invocation command line was
4142 CONFIG_FILES = $CONFIG_FILES
4143 CONFIG_HEADERS = $CONFIG_HEADERS
4144 CONFIG_LINKS = $CONFIG_LINKS
4145 CONFIG_COMMANDS = $CONFIG_COMMANDS
4148 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4153 case $ac_config_files in *"
4154 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4160 # Files that config.status was made for.
4161 config_files="$ac_config_files"
4165 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4167 \`$as_me' instantiates files and other configuration actions
4168 from templates according to the current configuration. Unless the files
4169 and actions are specified as TAGs, all are instantiated by default.
4171 Usage: $0 [OPTION]... [TAG]...
4173 -h, --help print this help, then exit
4174 -V, --version print version number and configuration settings, then exit
4175 --config print configuration, then exit
4176 -q, --quiet, --silent
4177 do not print progress messages
4178 -d, --debug don't remove temporary files
4179 --recheck update $as_me by reconfiguring in the same conditions
4180 --file=FILE[:TEMPLATE]
4181 instantiate the configuration file FILE
4183 Configuration files:
4186 Report bugs to the package provider."
4189 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4190 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4193 configured by $0, generated by GNU Autoconf 2.69,
4194 with options \\"\$ac_cs_config\\"
4196 Copyright (C) 2012 Free Software Foundation, Inc.
4197 This config.status script is free software; the Free Software Foundation
4198 gives unlimited permission to copy, distribute and modify it."
4202 test -n "\$AWK" || AWK=awk
4205 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4206 # The default lists apply if the user does not specify any file.
4212 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4213 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4217 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4229 # Handling of the options.
4230 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4232 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4233 $as_echo "$ac_cs_version"; exit ;;
4234 --config | --confi | --conf | --con | --co | --c )
4235 $as_echo "$ac_cs_config"; exit ;;
4236 --debug | --debu | --deb | --de | --d | -d )
4238 --file | --fil | --fi | --f )
4241 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4242 '') as_fn_error $? "missing file argument" ;;
4244 as_fn_append CONFIG_FILES " '$ac_optarg'"
4245 ac_need_defaults=false;;
4246 --he | --h | --help | --hel | -h )
4247 $as_echo "$ac_cs_usage"; exit ;;
4248 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4249 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4253 -*) as_fn_error $? "unrecognized option: \`$1'
4254 Try \`$0 --help' for more information." ;;
4256 *) as_fn_append ac_config_targets " $1"
4257 ac_need_defaults=false ;;
4263 ac_configure_extra_args=
4265 if $ac_cs_silent; then
4267 ac_configure_extra_args="$ac_configure_extra_args --silent"
4271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4272 if \$ac_cs_recheck; then
4273 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4275 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4276 CONFIG_SHELL='$SHELL'
4282 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4286 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4287 ## Running $as_me. ##
4293 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4296 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4298 # Handling of arguments.
4299 for ac_config_target in $ac_config_targets
4301 case $ac_config_target in
4302 "all.mk") CONFIG_FILES="$CONFIG_FILES all.mk" ;;
4304 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4309 # If the user did not use the arguments to specify the items to instantiate,
4310 # then the envvar interface is used. Set only those that are not.
4311 # We use the long form for the default assignment because of an extremely
4312 # bizarre bug on SunOS 4.1.3.
4313 if $ac_need_defaults; then
4314 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4317 # Have a temporary directory for convenience. Make it in the build tree
4318 # simply because there is no reason against having it here, and in addition,
4319 # creating and moving files from /tmp can sometimes cause problems.
4320 # Hook for its removal unless debugging.
4321 # Note that there is a small window in which the directory will not be cleaned:
4322 # after its creation but before its name has been assigned to `$tmp'.
4326 trap 'exit_status=$?
4328 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4330 trap 'as_fn_exit 1' 1 2 13 15
4332 # Create a (secure) tmp directory for tmp files.
4335 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4339 tmp=./conf$$-$RANDOM
4340 (umask 077 && mkdir "$tmp")
4341 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4344 # Set up the scripts for CONFIG_FILES section.
4345 # No need to generate them if there are no CONFIG_FILES.
4346 # This happens for instance with `./config.status config.h'.
4347 if test -n "$CONFIG_FILES"; then
4350 ac_cr=`echo X | tr X '\015'`
4351 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4352 # But we know of no other shell where ac_cr would be empty at this
4353 # point, so we can use a bashism as a fallback.
4354 if test "x$ac_cr" = x; then
4355 eval ac_cr=\$\'\\r\'
4357 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4358 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4364 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4369 echo "cat >conf$$subs.awk <<_ACEOF" &&
4370 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4373 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4374 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4376 for ac_last_try in false false false false false :; do
4377 . ./conf$$subs.sh ||
4378 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4380 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4381 if test $ac_delim_n = $ac_delim_num; then
4383 elif $ac_last_try; then
4384 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4386 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4392 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4396 s/^/S["/; s/!.*/"]=/
4406 s/\(.\{148\}\)..*/\1/
4408 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4413 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4420 s/\(.\{148\}\)..*/\1/
4422 s/["\\]/\\&/g; s/^/"/; s/$/"/
4426 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4431 ' <conf$$subs.awk | sed '
4436 ' >>$CONFIG_STATUS || ac_write_fail=1
4437 rm -f conf$$subs.awk
4438 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4440 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4441 for (key in S) S_is_set[key] = 1
4447 nfields = split(line, field, "@")
4449 len = length(field[1])
4450 for (i = 2; i < nfields; i++) {
4452 keylen = length(key)
4453 if (S_is_set[key]) {
4455 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4456 len += length(value) + length(field[++i])
4467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4468 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4469 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4472 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4473 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4476 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4477 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4478 # trailing colons and then remove the whole line if VPATH becomes empty
4479 # (actually we leave an empty line to preserve line numbers).
4480 if test "x$srcdir" = x.; then
4481 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4499 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4500 fi # test -n "$CONFIG_FILES"
4503 eval set X " :F $CONFIG_FILES "
4508 :[FHLC]) ac_mode=$ac_tag; continue;;
4510 case $ac_mode$ac_tag in
4512 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4513 :[FH]-) ac_tag=-:-;;
4514 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4531 -) ac_f="$ac_tmp/stdin";;
4532 *) # Look for the file first in the build tree, then in the source tree
4533 # (if the path is not absolute). The absolute path cannot be DOS-style,
4534 # because $ac_f cannot contain `:'.
4538 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4540 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4542 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4543 as_fn_append ac_file_inputs " '$ac_f'"
4546 # Let's still pretend it is `configure' which instantiates (i.e., don't
4547 # use $as_me), people would be surprised to read:
4548 # /* config.h. Generated by config.status. */
4549 configure_input='Generated from '`
4550 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4552 if test x"$ac_file" != x-; then
4553 configure_input="$ac_file. $configure_input"
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4555 $as_echo "$as_me: creating $ac_file" >&6;}
4557 # Neutralize special characters interpreted by sed in replacement strings.
4558 case $configure_input in #(
4559 *\&* | *\|* | *\\* )
4560 ac_sed_conf_input=`$as_echo "$configure_input" |
4561 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4562 *) ac_sed_conf_input=$configure_input;;
4566 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4572 ac_dir=`$as_dirname -- "$ac_file" ||
4573 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4574 X"$ac_file" : 'X\(//\)[^/]' \| \
4575 X"$ac_file" : 'X\(//\)$' \| \
4576 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4577 $as_echo X"$ac_file" |
4578 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4595 as_dir="$ac_dir"; as_fn_mkdir_p
4599 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4601 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4602 # A ".." for each directory in $ac_dir_suffix.
4603 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4604 case $ac_top_builddir_sub in
4605 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4606 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4609 ac_abs_top_builddir=$ac_pwd
4610 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4611 # for backward compatibility:
4612 ac_top_builddir=$ac_top_build_prefix
4615 .) # We are building in place.
4617 ac_top_srcdir=$ac_top_builddir_sub
4618 ac_abs_top_srcdir=$ac_pwd ;;
4619 [\\/]* | ?:[\\/]* ) # Absolute name.
4620 ac_srcdir=$srcdir$ac_dir_suffix;
4621 ac_top_srcdir=$srcdir
4622 ac_abs_top_srcdir=$srcdir ;;
4624 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4625 ac_top_srcdir=$ac_top_build_prefix$srcdir
4626 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4628 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4639 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4640 # If the template does not know about datarootdir, expand it.
4641 # FIXME: This hack should be removed a few years after 2.60.
4642 ac_datarootdir_hack=; ac_datarootdir_seen=
4653 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4654 *datarootdir*) ac_datarootdir_seen=yes;;
4655 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4656 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4657 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4659 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4660 ac_datarootdir_hack='
4661 s&@datadir@&$datadir&g
4662 s&@docdir@&$docdir&g
4663 s&@infodir@&$infodir&g
4664 s&@localedir@&$localedir&g
4665 s&@mandir@&$mandir&g
4666 s&\\\${datarootdir}&$datarootdir&g' ;;
4670 # Neutralize VPATH when `$srcdir' = `.'.
4671 # Shell code in configure.ac might set extrasub.
4672 # FIXME: do we really want to maintain this feature?
4673 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4674 ac_sed_extra="$ac_vpsub
4677 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4679 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4680 s|@configure_input@|$ac_sed_conf_input|;t t
4681 s&@top_builddir@&$ac_top_builddir_sub&;t t
4682 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4683 s&@srcdir@&$ac_srcdir&;t t
4684 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4685 s&@top_srcdir@&$ac_top_srcdir&;t t
4686 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4687 s&@builddir@&$ac_builddir&;t t
4688 s&@abs_builddir@&$ac_abs_builddir&;t t
4689 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4690 $ac_datarootdir_hack
4692 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4693 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4695 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4696 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4697 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4698 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4700 which seems to be undefined. Please make sure it is defined" >&5
4701 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4702 which seems to be undefined. Please make sure it is defined" >&2;}
4704 rm -f "$ac_tmp/stdin"
4706 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4707 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4709 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4721 ac_clean_files=$ac_clean_files_save
4723 test $ac_write_fail = 0 ||
4724 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4727 # configure is writing to config.log, and then calls config.status.
4728 # config.status does its own redirection, appending to config.log.
4729 # Unfortunately, on DOS this fails, as config.log is still kept open
4730 # by configure, so config.status won't be able to write to it; its
4731 # output is simply discarded. So we exec the FD to /dev/null,
4732 # effectively closing config.log, so it can be properly (re)opened and
4733 # appended to by config.status. When coming back to configure, we
4734 # need to make the FD available again.
4735 if test "$no_create" != yes; then
4737 ac_config_status_args=
4738 test "$silent" = yes &&
4739 ac_config_status_args="$ac_config_status_args --quiet"
4741 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4743 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4744 # would make configure fail if this is the last instruction.
4745 $ac_cs_success || as_fn_exit 1
4747 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4749 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}