2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for krb5-strength 2.1.
5 # Report bugs to <rra@stanford.edu>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and rra@stanford.edu
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='krb5-strength'
592 PACKAGE_TARNAME='krb5-strength'
593 PACKAGE_VERSION='2.1'
594 PACKAGE_STRING='krb5-strength 2.1'
595 PACKAGE_BUGREPORT='rra@stanford.edu'
598 ac_config_libobj_dir=portable
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
640 KRB5_USES_COM_ERR_FALSE
641 KRB5_USES_COM_ERR_TRUE
646 EMBEDDED_CRACKLIB_FALSE
647 EMBEDDED_CRACKLIB_TRUE
702 MAINTAINER_MODE_FALSE
716 INSTALL_STRIP_PROGRAM
758 program_transform_name
771 enable_option_checking
773 enable_maintainer_mode
774 enable_dependency_tracking
787 with_cracklib_include
792 enable_reduced_depends
794 ac_precious_vars='build_alias
806 # Initialize some variables set by options.
808 ac_init_version=false
809 ac_unrecognized_opts=
811 # The variables have the same names as the options, with
812 # dashes changed to underlines.
820 program_transform_name=s,x,x,
828 # Installation directory options.
829 # These are left unexpanded so users can "make install exec_prefix=/foo"
830 # and all the variables that are supposed to be based on exec_prefix
831 # by default will actually change.
832 # Use braces instead of parens because sh, perl, etc. also accept them.
833 # (The list follows the same order as the GNU Coding Standards.)
834 bindir='${exec_prefix}/bin'
835 sbindir='${exec_prefix}/sbin'
836 libexecdir='${exec_prefix}/libexec'
837 datarootdir='${prefix}/share'
838 datadir='${datarootdir}'
839 sysconfdir='${prefix}/etc'
840 sharedstatedir='${prefix}/com'
841 localstatedir='${prefix}/var'
842 includedir='${prefix}/include'
843 oldincludedir='/usr/include'
844 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
845 infodir='${datarootdir}/info'
850 libdir='${exec_prefix}/lib'
851 localedir='${datarootdir}/locale'
852 mandir='${datarootdir}/man'
858 # If the previous option needs an argument, assign it.
859 if test -n "$ac_prev"; then
860 eval $ac_prev=\$ac_option
866 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
871 # Accept the important Cygnus configure options, so we can diagnose typos.
873 case $ac_dashdash$ac_option in
877 -bindir | --bindir | --bindi | --bind | --bin | --bi)
879 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
882 -build | --build | --buil | --bui | --bu)
883 ac_prev=build_alias ;;
884 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
885 build_alias=$ac_optarg ;;
887 -cache-file | --cache-file | --cache-fil | --cache-fi \
888 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
889 ac_prev=cache_file ;;
890 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
891 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
892 cache_file=$ac_optarg ;;
895 cache_file=config.cache ;;
897 -datadir | --datadir | --datadi | --datad)
899 -datadir=* | --datadir=* | --datadi=* | --datad=*)
900 datadir=$ac_optarg ;;
902 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
903 | --dataroo | --dataro | --datar)
904 ac_prev=datarootdir ;;
905 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
906 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
907 datarootdir=$ac_optarg ;;
909 -disable-* | --disable-*)
910 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
911 # Reject names that are not valid shell variable names.
912 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
913 as_fn_error $? "invalid feature name: $ac_useropt"
914 ac_useropt_orig=$ac_useropt
915 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
916 case $ac_user_opts in
920 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
921 ac_unrecognized_sep=', ';;
923 eval enable_$ac_useropt=no ;;
925 -docdir | --docdir | --docdi | --doc | --do)
927 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
930 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
932 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
935 -enable-* | --enable-*)
936 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
937 # Reject names that are not valid shell variable names.
938 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
939 as_fn_error $? "invalid feature name: $ac_useropt"
940 ac_useropt_orig=$ac_useropt
941 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
942 case $ac_user_opts in
946 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
947 ac_unrecognized_sep=', ';;
949 eval enable_$ac_useropt=\$ac_optarg ;;
951 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
952 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
953 | --exec | --exe | --ex)
954 ac_prev=exec_prefix ;;
955 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
956 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
957 | --exec=* | --exe=* | --ex=*)
958 exec_prefix=$ac_optarg ;;
960 -gas | --gas | --ga | --g)
961 # Obsolete; use --with-gas.
964 -help | --help | --hel | --he | -h)
966 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
967 ac_init_help=recursive ;;
968 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
969 ac_init_help=short ;;
971 -host | --host | --hos | --ho)
972 ac_prev=host_alias ;;
973 -host=* | --host=* | --hos=* | --ho=*)
974 host_alias=$ac_optarg ;;
976 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
978 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
980 htmldir=$ac_optarg ;;
982 -includedir | --includedir | --includedi | --included | --include \
983 | --includ | --inclu | --incl | --inc)
984 ac_prev=includedir ;;
985 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
986 | --includ=* | --inclu=* | --incl=* | --inc=*)
987 includedir=$ac_optarg ;;
989 -infodir | --infodir | --infodi | --infod | --info | --inf)
991 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
992 infodir=$ac_optarg ;;
994 -libdir | --libdir | --libdi | --libd)
996 -libdir=* | --libdir=* | --libdi=* | --libd=*)
999 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1000 | --libexe | --libex | --libe)
1001 ac_prev=libexecdir ;;
1002 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1003 | --libexe=* | --libex=* | --libe=*)
1004 libexecdir=$ac_optarg ;;
1006 -localedir | --localedir | --localedi | --localed | --locale)
1007 ac_prev=localedir ;;
1008 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1009 localedir=$ac_optarg ;;
1011 -localstatedir | --localstatedir | --localstatedi | --localstated \
1012 | --localstate | --localstat | --localsta | --localst | --locals)
1013 ac_prev=localstatedir ;;
1014 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1015 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1016 localstatedir=$ac_optarg ;;
1018 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1020 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1021 mandir=$ac_optarg ;;
1023 -nfp | --nfp | --nf)
1024 # Obsolete; use --without-fp.
1027 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1028 | --no-cr | --no-c | -n)
1031 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1032 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1035 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1036 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1037 | --oldin | --oldi | --old | --ol | --o)
1038 ac_prev=oldincludedir ;;
1039 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1040 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1041 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1042 oldincludedir=$ac_optarg ;;
1044 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1046 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1047 prefix=$ac_optarg ;;
1049 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1050 | --program-pre | --program-pr | --program-p)
1051 ac_prev=program_prefix ;;
1052 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1053 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1054 program_prefix=$ac_optarg ;;
1056 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1057 | --program-suf | --program-su | --program-s)
1058 ac_prev=program_suffix ;;
1059 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1060 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1061 program_suffix=$ac_optarg ;;
1063 -program-transform-name | --program-transform-name \
1064 | --program-transform-nam | --program-transform-na \
1065 | --program-transform-n | --program-transform- \
1066 | --program-transform | --program-transfor \
1067 | --program-transfo | --program-transf \
1068 | --program-trans | --program-tran \
1069 | --progr-tra | --program-tr | --program-t)
1070 ac_prev=program_transform_name ;;
1071 -program-transform-name=* | --program-transform-name=* \
1072 | --program-transform-nam=* | --program-transform-na=* \
1073 | --program-transform-n=* | --program-transform-=* \
1074 | --program-transform=* | --program-transfor=* \
1075 | --program-transfo=* | --program-transf=* \
1076 | --program-trans=* | --program-tran=* \
1077 | --progr-tra=* | --program-tr=* | --program-t=*)
1078 program_transform_name=$ac_optarg ;;
1080 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1082 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1083 pdfdir=$ac_optarg ;;
1085 -psdir | --psdir | --psdi | --psd | --ps)
1087 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1090 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1091 | -silent | --silent | --silen | --sile | --sil)
1094 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1096 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1098 sbindir=$ac_optarg ;;
1100 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1101 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1102 | --sharedst | --shareds | --shared | --share | --shar \
1104 ac_prev=sharedstatedir ;;
1105 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1106 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1107 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1109 sharedstatedir=$ac_optarg ;;
1111 -site | --site | --sit)
1113 -site=* | --site=* | --sit=*)
1116 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1118 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1119 srcdir=$ac_optarg ;;
1121 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1122 | --syscon | --sysco | --sysc | --sys | --sy)
1123 ac_prev=sysconfdir ;;
1124 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1125 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1126 sysconfdir=$ac_optarg ;;
1128 -target | --target | --targe | --targ | --tar | --ta | --t)
1129 ac_prev=target_alias ;;
1130 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1131 target_alias=$ac_optarg ;;
1133 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1136 -version | --version | --versio | --versi | --vers | -V)
1137 ac_init_version=: ;;
1140 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1141 # Reject names that are not valid shell variable names.
1142 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1143 as_fn_error $? "invalid package name: $ac_useropt"
1144 ac_useropt_orig=$ac_useropt
1145 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1146 case $ac_user_opts in
1150 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1151 ac_unrecognized_sep=', ';;
1153 eval with_$ac_useropt=\$ac_optarg ;;
1155 -without-* | --without-*)
1156 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1159 as_fn_error $? "invalid package name: $ac_useropt"
1160 ac_useropt_orig=$ac_useropt
1161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1162 case $ac_user_opts in
1166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1167 ac_unrecognized_sep=', ';;
1169 eval with_$ac_useropt=no ;;
1172 # Obsolete; use --with-x.
1175 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1176 | --x-incl | --x-inc | --x-in | --x-i)
1177 ac_prev=x_includes ;;
1178 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1179 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1180 x_includes=$ac_optarg ;;
1182 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1183 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1184 ac_prev=x_libraries ;;
1185 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1186 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1187 x_libraries=$ac_optarg ;;
1189 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1190 Try \`$0 --help' for more information"
1194 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1195 # Reject names that are not valid shell variable names.
1196 case $ac_envvar in #(
1197 '' | [0-9]* | *[!_$as_cr_alnum]* )
1198 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1200 eval $ac_envvar=\$ac_optarg
1201 export $ac_envvar ;;
1204 # FIXME: should be removed in autoconf 3.0.
1205 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1206 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1207 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1208 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1214 if test -n "$ac_prev"; then
1215 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1216 as_fn_error $? "missing argument to $ac_option"
1219 if test -n "$ac_unrecognized_opts"; then
1220 case $enable_option_checking in
1222 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1223 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1227 # Check all directory arguments for consistency.
1228 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1229 datadir sysconfdir sharedstatedir localstatedir includedir \
1230 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1231 libdir localedir mandir
1233 eval ac_val=\$$ac_var
1234 # Remove trailing slashes.
1237 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1238 eval $ac_var=\$ac_val;;
1240 # Be sure to have absolute directory names.
1242 [\\/$]* | ?:[\\/]* ) continue;;
1243 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1245 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1248 # There might be people who depend on the old broken behavior: `$host'
1249 # used to hold the argument of --host etc.
1250 # FIXME: To remove some day.
1253 target=$target_alias
1255 # FIXME: To remove some day.
1256 if test "x$host_alias" != x; then
1257 if test "x$build_alias" = x; then
1258 cross_compiling=maybe
1259 elif test "x$build_alias" != "x$host_alias"; then
1265 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1267 test "$silent" = yes && exec 6>/dev/null
1270 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1271 ac_ls_di=`ls -di .` &&
1272 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1273 as_fn_error $? "working directory cannot be determined"
1274 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1275 as_fn_error $? "pwd does not report name of working directory"
1278 # Find the source files, if location was not specified.
1279 if test -z "$srcdir"; then
1280 ac_srcdir_defaulted=yes
1281 # Try the directory containing this script, then the parent directory.
1282 ac_confdir=`$as_dirname -- "$as_myself" ||
1283 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1284 X"$as_myself" : 'X\(//\)[^/]' \| \
1285 X"$as_myself" : 'X\(//\)$' \| \
1286 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1287 $as_echo X"$as_myself" |
1288 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1306 if test ! -r "$srcdir/$ac_unique_file"; then
1310 ac_srcdir_defaulted=no
1312 if test ! -r "$srcdir/$ac_unique_file"; then
1313 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1314 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1316 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1318 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1320 # When building in place, set srcdir=.
1321 if test "$ac_abs_confdir" = "$ac_pwd"; then
1324 # Remove unnecessary trailing slashes from srcdir.
1325 # Double slashes in file names in object file debugging info
1326 # mess up M-x gdb in Emacs.
1328 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1330 for ac_var in $ac_precious_vars; do
1331 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1332 eval ac_env_${ac_var}_value=\$${ac_var}
1333 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1334 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1338 # Report the --help message.
1340 if test "$ac_init_help" = "long"; then
1341 # Omit some internal or obsolete options to make the list less imposing.
1342 # This message is too long to be a string in the A/UX 3.1 sh.
1344 \`configure' configures krb5-strength 2.1 to adapt to many kinds of systems.
1346 Usage: $0 [OPTION]... [VAR=VALUE]...
1348 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1349 VAR=VALUE. See below for descriptions of some of the useful variables.
1351 Defaults for the options are specified in brackets.
1354 -h, --help display this help and exit
1355 --help=short display options specific to this package
1356 --help=recursive display the short help of all the included packages
1357 -V, --version display version information and exit
1358 -q, --quiet, --silent do not print \`checking ...' messages
1359 --cache-file=FILE cache test results in FILE [disabled]
1360 -C, --config-cache alias for \`--cache-file=config.cache'
1361 -n, --no-create do not create output files
1362 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1364 Installation directories:
1365 --prefix=PREFIX install architecture-independent files in PREFIX
1366 [$ac_default_prefix]
1367 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1370 By default, \`make install' will install all the files in
1371 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1372 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1373 for instance \`--prefix=\$HOME'.
1375 For better control, use the options below.
1377 Fine tuning of the installation directories:
1378 --bindir=DIR user executables [EPREFIX/bin]
1379 --sbindir=DIR system admin executables [EPREFIX/sbin]
1380 --libexecdir=DIR program executables [EPREFIX/libexec]
1381 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1382 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1383 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1384 --libdir=DIR object code libraries [EPREFIX/lib]
1385 --includedir=DIR C header files [PREFIX/include]
1386 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1387 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1388 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1389 --infodir=DIR info documentation [DATAROOTDIR/info]
1390 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1391 --mandir=DIR man documentation [DATAROOTDIR/man]
1392 --docdir=DIR documentation root [DATAROOTDIR/doc/krb5-strength]
1393 --htmldir=DIR html documentation [DOCDIR]
1394 --dvidir=DIR dvi documentation [DOCDIR]
1395 --pdfdir=DIR pdf documentation [DOCDIR]
1396 --psdir=DIR ps documentation [DOCDIR]
1402 --program-prefix=PREFIX prepend PREFIX to installed program names
1403 --program-suffix=SUFFIX append SUFFIX to installed program names
1404 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1407 --build=BUILD configure for building on BUILD [guessed]
1408 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1412 if test -n "$ac_init_help"; then
1413 case $ac_init_help in
1414 short | recursive ) echo "Configuration of krb5-strength 2.1:";;
1419 --disable-option-checking ignore unrecognized --enable/--with options
1420 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1421 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1422 --enable-silent-rules less verbose build output (undo: "make V=1")
1423 --disable-silent-rules verbose build output (undo: "make V=0")
1424 --enable-maintainer-mode
1425 enable make rules and dependencies not useful (and
1426 sometimes confusing) to the casual installer
1427 --enable-dependency-tracking
1428 do not reject slow dependency extractors
1429 --disable-dependency-tracking
1430 speeds up one-time build
1431 --disable-largefile omit support for large files
1432 --enable-static[=PKGS] build static libraries [default=no]
1433 --enable-shared[=PKGS] build shared libraries [default=yes]
1434 --enable-fast-install[=PKGS]
1435 optimize for fast installation [default=yes]
1436 --disable-libtool-lock avoid locking (might break parallel builds)
1437 --enable-reduced-depends
1438 Try to minimize shared library dependencies
1441 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1442 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1443 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1445 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1446 --with-sysroot=DIR Search for dependent libraries within DIR
1447 (or the compiler's sysroot if not specified).
1448 --with-tinycdb[=DIR] Location of TinyCDB headers and libraries
1449 --with-tinycdb-include=DIR
1450 Location of TinyCDB headers
1451 --with-tinycdb-lib=DIR Location of TinyCDB libraries
1452 --with-cracklib[=DIR] Use system CrackLib instead of embedded copy
1453 --with-cracklib-include=DIR
1454 Location of CrackLib headers
1455 --with-cracklib-lib=DIR Location of cracklib libraries
1456 --with-krb5=DIR Location of Kerberos headers and libraries
1457 --with-krb5-include=DIR Location of Kerberos headers
1458 --with-krb5-lib=DIR Location of Kerberos libraries
1460 Some influential environment variables:
1461 CC C compiler command
1462 CFLAGS C compiler flags
1463 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1464 nonstandard directory <lib dir>
1465 LIBS libraries to pass to the linker, e.g. -l<library>
1466 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1467 you have headers in a nonstandard directory <include dir>
1472 Use these variables to override the choices made by `configure' or to help
1473 it to find libraries and programs with nonstandard names/locations.
1475 Report bugs to <rra@stanford.edu>.
1480 if test "$ac_init_help" = "recursive"; then
1481 # If there are subdirs, report their specific --help.
1482 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1483 test -d "$ac_dir" ||
1484 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1489 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1491 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1492 # A ".." for each directory in $ac_dir_suffix.
1493 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1494 case $ac_top_builddir_sub in
1495 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1496 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1499 ac_abs_top_builddir=$ac_pwd
1500 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1501 # for backward compatibility:
1502 ac_top_builddir=$ac_top_build_prefix
1505 .) # We are building in place.
1507 ac_top_srcdir=$ac_top_builddir_sub
1508 ac_abs_top_srcdir=$ac_pwd ;;
1509 [\\/]* | ?:[\\/]* ) # Absolute name.
1510 ac_srcdir=$srcdir$ac_dir_suffix;
1511 ac_top_srcdir=$srcdir
1512 ac_abs_top_srcdir=$srcdir ;;
1514 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1515 ac_top_srcdir=$ac_top_build_prefix$srcdir
1516 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1518 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1520 cd "$ac_dir" || { ac_status=$?; continue; }
1521 # Check for guested configure.
1522 if test -f "$ac_srcdir/configure.gnu"; then
1524 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1525 elif test -f "$ac_srcdir/configure"; then
1527 $SHELL "$ac_srcdir/configure" --help=recursive
1529 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1531 cd "$ac_pwd" || { ac_status=$?; break; }
1535 test -n "$ac_init_help" && exit $ac_status
1536 if $ac_init_version; then
1538 krb5-strength configure 2.1
1539 generated by GNU Autoconf 2.69
1541 Copyright (C) 2012 Free Software Foundation, Inc.
1542 This configure script is free software; the Free Software Foundation
1543 gives unlimited permission to copy, distribute and modify it.
1548 ## ------------------------ ##
1549 ## Autoconf initialization. ##
1550 ## ------------------------ ##
1552 # ac_fn_c_try_compile LINENO
1553 # --------------------------
1554 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1555 ac_fn_c_try_compile ()
1557 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1558 rm -f conftest.$ac_objext
1559 if { { ac_try="$ac_compile"
1561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1562 *) ac_try_echo=$ac_try;;
1564 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1565 $as_echo "$ac_try_echo"; } >&5
1566 (eval "$ac_compile") 2>conftest.err
1568 if test -s conftest.err; then
1569 grep -v '^ *+' conftest.err >conftest.er1
1570 cat conftest.er1 >&5
1571 mv -f conftest.er1 conftest.err
1573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1574 test $ac_status = 0; } && {
1575 test -z "$ac_c_werror_flag" ||
1576 test ! -s conftest.err
1577 } && test -s conftest.$ac_objext; then :
1580 $as_echo "$as_me: failed program was:" >&5
1581 sed 's/^/| /' conftest.$ac_ext >&5
1585 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1586 as_fn_set_status $ac_retval
1588 } # ac_fn_c_try_compile
1590 # ac_fn_c_try_cpp LINENO
1591 # ----------------------
1592 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1595 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1596 if { { ac_try="$ac_cpp conftest.$ac_ext"
1598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1599 *) ac_try_echo=$ac_try;;
1601 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1602 $as_echo "$ac_try_echo"; } >&5
1603 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1605 if test -s conftest.err; then
1606 grep -v '^ *+' conftest.err >conftest.er1
1607 cat conftest.er1 >&5
1608 mv -f conftest.er1 conftest.err
1610 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1611 test $ac_status = 0; } > conftest.i && {
1612 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1613 test ! -s conftest.err
1617 $as_echo "$as_me: failed program was:" >&5
1618 sed 's/^/| /' conftest.$ac_ext >&5
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 as_fn_set_status $ac_retval
1627 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1628 # -------------------------------------------------------
1629 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1630 # the include files in INCLUDES and setting the cache variable VAR
1632 ac_fn_c_check_header_mongrel ()
1634 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1635 if eval \${$3+:} false; then :
1636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1637 $as_echo_n "checking for $2... " >&6; }
1638 if eval \${$3+:} false; then :
1639 $as_echo_n "(cached) " >&6
1642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1643 $as_echo "$ac_res" >&6; }
1645 # Is the header compilable?
1646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1647 $as_echo_n "checking $2 usability... " >&6; }
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1653 if ac_fn_c_try_compile "$LINENO"; then :
1654 ac_header_compiler=yes
1656 ac_header_compiler=no
1658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1660 $as_echo "$ac_header_compiler" >&6; }
1662 # Is the header present?
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1664 $as_echo_n "checking $2 presence... " >&6; }
1665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1666 /* end confdefs.h. */
1669 if ac_fn_c_try_cpp "$LINENO"; then :
1670 ac_header_preproc=yes
1672 ac_header_preproc=no
1674 rm -f conftest.err conftest.i conftest.$ac_ext
1675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1676 $as_echo "$ac_header_preproc" >&6; }
1678 # So? What about this header?
1679 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1681 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1682 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1684 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1688 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1689 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1690 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1692 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1694 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1696 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1697 ( $as_echo "## ------------------------------- ##
1698 ## Report this to rra@stanford.edu ##
1699 ## ------------------------------- ##"
1700 ) | sed "s/^/$as_me: WARNING: /" >&2
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1704 $as_echo_n "checking for $2... " >&6; }
1705 if eval \${$3+:} false; then :
1706 $as_echo_n "(cached) " >&6
1708 eval "$3=\$ac_header_compiler"
1711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1712 $as_echo "$ac_res" >&6; }
1714 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1716 } # ac_fn_c_check_header_mongrel
1718 # ac_fn_c_try_run LINENO
1719 # ----------------------
1720 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1721 # that executables *can* be run.
1724 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1725 if { { ac_try="$ac_link"
1727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1728 *) ac_try_echo=$ac_try;;
1730 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1731 $as_echo "$ac_try_echo"; } >&5
1732 (eval "$ac_link") 2>&5
1734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1735 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1736 { { case "(($ac_try" in
1737 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1738 *) ac_try_echo=$ac_try;;
1740 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1741 $as_echo "$ac_try_echo"; } >&5
1742 (eval "$ac_try") 2>&5
1744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1745 test $ac_status = 0; }; }; then :
1748 $as_echo "$as_me: program exited with status $ac_status" >&5
1749 $as_echo "$as_me: failed program was:" >&5
1750 sed 's/^/| /' conftest.$ac_ext >&5
1752 ac_retval=$ac_status
1754 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1755 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1756 as_fn_set_status $ac_retval
1760 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1761 # -------------------------------------------------------
1762 # Tests whether HEADER exists and can be compiled using the include files in
1763 # INCLUDES, setting the cache variable VAR accordingly.
1764 ac_fn_c_check_header_compile ()
1766 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1768 $as_echo_n "checking for $2... " >&6; }
1769 if eval \${$3+:} false; then :
1770 $as_echo_n "(cached) " >&6
1772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1773 /* end confdefs.h. */
1777 if ac_fn_c_try_compile "$LINENO"; then :
1782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1786 $as_echo "$ac_res" >&6; }
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 } # ac_fn_c_check_header_compile
1791 # ac_fn_c_try_link LINENO
1792 # -----------------------
1793 # Try to link conftest.$ac_ext, and return whether this succeeded.
1796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797 rm -f conftest.$ac_objext conftest$ac_exeext
1798 if { { ac_try="$ac_link"
1800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1801 *) ac_try_echo=$ac_try;;
1803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1804 $as_echo "$ac_try_echo"; } >&5
1805 (eval "$ac_link") 2>conftest.err
1807 if test -s conftest.err; then
1808 grep -v '^ *+' conftest.err >conftest.er1
1809 cat conftest.er1 >&5
1810 mv -f conftest.er1 conftest.err
1812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1813 test $ac_status = 0; } && {
1814 test -z "$ac_c_werror_flag" ||
1815 test ! -s conftest.err
1816 } && test -s conftest$ac_exeext && {
1817 test "$cross_compiling" = yes ||
1818 test -x conftest$ac_exeext
1822 $as_echo "$as_me: failed program was:" >&5
1823 sed 's/^/| /' conftest.$ac_ext >&5
1827 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1828 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1829 # interfere with the next link command; also delete a directory that is
1830 # left behind by Apple's compiler. We do this before executing the actions.
1831 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1832 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1833 as_fn_set_status $ac_retval
1835 } # ac_fn_c_try_link
1837 # ac_fn_c_check_func LINENO FUNC VAR
1838 # ----------------------------------
1839 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1840 ac_fn_c_check_func ()
1842 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1844 $as_echo_n "checking for $2... " >&6; }
1845 if eval \${$3+:} false; then :
1846 $as_echo_n "(cached) " >&6
1848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1849 /* end confdefs.h. */
1850 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1852 #define $2 innocuous_$2
1854 /* System header to define __stub macros and hopefully few prototypes,
1855 which can conflict with char $2 (); below.
1856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1857 <limits.h> exists even on freestanding compilers. */
1860 # include <limits.h>
1862 # include <assert.h>
1867 /* Override any GCC internal prototype to avoid an error.
1868 Use char because int might match the return type of a GCC
1869 builtin and then its argument prototype would still apply. */
1874 /* The GNU C library defines this for functions which it implements
1875 to always fail with ENOSYS. Some functions are actually named
1876 something starting with __ and the normal name is an alias. */
1877 #if defined __stub_$2 || defined __stub___$2
1889 if ac_fn_c_try_link "$LINENO"; then :
1894 rm -f core conftest.err conftest.$ac_objext \
1895 conftest$ac_exeext conftest.$ac_ext
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1899 $as_echo "$ac_res" >&6; }
1900 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1902 } # ac_fn_c_check_func
1904 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1905 # --------------------------------------------
1906 # Tries to find the compile-time value of EXPR in a program that includes
1907 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1909 ac_fn_c_compute_int ()
1911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1912 if test "$cross_compiling" = yes; then
1913 # Depending upon the size, compute the lo and hi bounds.
1914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1915 /* end confdefs.h. */
1920 static int test_array [1 - 2 * !(($2) >= 0)];
1922 return test_array [0];
1928 if ac_fn_c_try_compile "$LINENO"; then :
1931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1932 /* end confdefs.h. */
1937 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1939 return test_array [0];
1945 if ac_fn_c_try_compile "$LINENO"; then :
1946 ac_hi=$ac_mid; break
1948 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1949 if test $ac_lo -le $ac_mid; then
1953 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1964 static int test_array [1 - 2 * !(($2) < 0)];
1966 return test_array [0];
1972 if ac_fn_c_try_compile "$LINENO"; then :
1975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1976 /* end confdefs.h. */
1981 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1983 return test_array [0];
1989 if ac_fn_c_try_compile "$LINENO"; then :
1990 ac_lo=$ac_mid; break
1992 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
1993 if test $ac_mid -le $ac_hi; then
1997 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
1999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 # Binary search between lo and hi bounds.
2008 while test "x$ac_lo" != "x$ac_hi"; do
2009 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2011 /* end confdefs.h. */
2016 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2018 return test_array [0];
2024 if ac_fn_c_try_compile "$LINENO"; then :
2027 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2032 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2037 /* end confdefs.h. */
2039 static long int longval () { return $2; }
2040 static unsigned long int ulongval () { return $2; }
2047 FILE *f = fopen ("conftest.val", "w");
2052 long int i = longval ();
2055 fprintf (f, "%ld", i);
2059 unsigned long int i = ulongval ();
2062 fprintf (f, "%lu", i);
2064 /* Do not output a trailing newline, as this causes \r\n confusion
2065 on some platforms. */
2066 return ferror (f) || fclose (f) != 0;
2072 if ac_fn_c_try_run "$LINENO"; then :
2073 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2077 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2078 conftest.$ac_objext conftest.beam conftest.$ac_ext
2082 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2083 as_fn_set_status $ac_retval
2085 } # ac_fn_c_compute_int
2087 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2088 # -------------------------------------------
2089 # Tests whether TYPE exists after having included INCLUDES, setting cache
2090 # variable VAR accordingly.
2091 ac_fn_c_check_type ()
2093 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2095 $as_echo_n "checking for $2... " >&6; }
2096 if eval \${$3+:} false; then :
2097 $as_echo_n "(cached) " >&6
2100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2101 /* end confdefs.h. */
2112 if ac_fn_c_try_compile "$LINENO"; then :
2113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2114 /* end confdefs.h. */
2125 if ac_fn_c_try_compile "$LINENO"; then :
2130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2136 $as_echo "$ac_res" >&6; }
2137 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2139 } # ac_fn_c_check_type
2141 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2142 # ---------------------------------------------
2143 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2145 ac_fn_c_check_decl ()
2147 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2148 as_decl_name=`echo $2|sed 's/ *(.*//'`
2149 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2151 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2152 if eval \${$3+:} false; then :
2153 $as_echo_n "(cached) " >&6
2155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2156 /* end confdefs.h. */
2161 #ifndef $as_decl_name
2163 (void) $as_decl_use;
2165 (void) $as_decl_name;
2173 if ac_fn_c_try_compile "$LINENO"; then :
2178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2182 $as_echo "$ac_res" >&6; }
2183 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2185 } # ac_fn_c_check_decl
2187 # ac_fn_c_find_uintX_t LINENO BITS VAR
2188 # ------------------------------------
2189 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2191 ac_fn_c_find_uintX_t ()
2193 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2195 $as_echo_n "checking for uint$2_t... " >&6; }
2196 if eval \${$3+:} false; then :
2197 $as_echo_n "(cached) " >&6
2200 # Order is important - never check a type that is potentially smaller
2201 # than half of the expected target width.
2202 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2203 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2206 $ac_includes_default
2210 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2212 return test_array [0];
2218 if ac_fn_c_try_compile "$LINENO"; then :
2223 eval "$3=\$ac_type" ;;
2226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2227 if eval test \"x\$"$3"\" = x"no"; then :
2235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2236 $as_echo "$ac_res" >&6; }
2237 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239 } # ac_fn_c_find_uintX_t
2240 cat >config.log <<_ACEOF
2241 This file contains any messages produced by compilers while
2242 running configure, to aid debugging if configure makes a mistake.
2244 It was created by krb5-strength $as_me 2.1, which was
2245 generated by GNU Autoconf 2.69. Invocation command line was
2257 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2258 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2259 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2260 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2261 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2263 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2264 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2266 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2267 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2268 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2269 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2270 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2271 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2272 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2280 test -z "$as_dir" && as_dir=.
2281 $as_echo "PATH: $as_dir"
2297 # Keep a trace of the command line.
2298 # Strip out --no-create and --no-recursion so they do not pile up.
2299 # Strip out --silent because we don't want to record it for future runs.
2300 # Also quote any args containing shell meta-characters.
2301 # Make two passes to allow for proper duplicate-argument suppression.
2305 ac_must_keep_next=false
2311 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2313 | -silent | --silent | --silen | --sile | --sil)
2316 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2319 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2321 as_fn_append ac_configure_args1 " '$ac_arg'"
2322 if test $ac_must_keep_next = true; then
2323 ac_must_keep_next=false # Got value, back to normal.
2326 *=* | --config-cache | -C | -disable-* | --disable-* \
2327 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2328 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2329 | -with-* | --with-* | -without-* | --without-* | --x)
2330 case "$ac_configure_args0 " in
2331 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2334 -* ) ac_must_keep_next=true ;;
2337 as_fn_append ac_configure_args " '$ac_arg'"
2342 { ac_configure_args0=; unset ac_configure_args0;}
2343 { ac_configure_args1=; unset ac_configure_args1;}
2345 # When interrupted or exit'd, cleanup temporary files, and complete
2346 # config.log. We remove comments because anyway the quotes in there
2347 # would cause problems or look ugly.
2348 # WARNING: Use '\'' to represent an apostrophe within the trap.
2349 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2350 trap 'exit_status=$?
2351 # Save into config.log some information that might help in debugging.
2355 $as_echo "## ---------------- ##
2356 ## Cache variables. ##
2357 ## ---------------- ##"
2359 # The following way of writing the cache mishandles newlines in values,
2361 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2362 eval ac_val=\$$ac_var
2366 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2367 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2370 _ | IFS | as_nl) ;; #(
2371 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2372 *) { eval $ac_var=; unset $ac_var;} ;;
2377 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2378 *${as_nl}ac_space=\ *)
2380 "s/'\''/'\''\\\\'\'''\''/g;
2381 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2384 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2391 $as_echo "## ----------------- ##
2392 ## Output variables. ##
2393 ## ----------------- ##"
2395 for ac_var in $ac_subst_vars
2397 eval ac_val=\$$ac_var
2399 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2401 $as_echo "$ac_var='\''$ac_val'\''"
2405 if test -n "$ac_subst_files"; then
2406 $as_echo "## ------------------- ##
2407 ## File substitutions. ##
2408 ## ------------------- ##"
2410 for ac_var in $ac_subst_files
2412 eval ac_val=\$$ac_var
2414 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2416 $as_echo "$ac_var='\''$ac_val'\''"
2421 if test -s confdefs.h; then
2422 $as_echo "## ----------- ##
2429 test "$ac_signal" != 0 &&
2430 $as_echo "$as_me: caught signal $ac_signal"
2431 $as_echo "$as_me: exit $exit_status"
2433 rm -f core *.core core.conftest.* &&
2434 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2437 for ac_signal in 1 2 13 15; do
2438 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2442 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2443 rm -f -r conftest* confdefs.h
2445 $as_echo "/* confdefs.h */" > confdefs.h
2447 # Predefined preprocessor variables.
2449 cat >>confdefs.h <<_ACEOF
2450 #define PACKAGE_NAME "$PACKAGE_NAME"
2453 cat >>confdefs.h <<_ACEOF
2454 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2457 cat >>confdefs.h <<_ACEOF
2458 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2461 cat >>confdefs.h <<_ACEOF
2462 #define PACKAGE_STRING "$PACKAGE_STRING"
2465 cat >>confdefs.h <<_ACEOF
2466 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2469 cat >>confdefs.h <<_ACEOF
2470 #define PACKAGE_URL "$PACKAGE_URL"
2474 # Let the site file select an alternate cache file if it wants to.
2475 # Prefer an explicitly selected file to automatically selected ones.
2478 if test -n "$CONFIG_SITE"; then
2479 # We do not want a PATH search for config.site.
2480 case $CONFIG_SITE in #((
2481 -*) ac_site_file1=./$CONFIG_SITE;;
2482 */*) ac_site_file1=$CONFIG_SITE;;
2483 *) ac_site_file1=./$CONFIG_SITE;;
2485 elif test "x$prefix" != xNONE; then
2486 ac_site_file1=$prefix/share/config.site
2487 ac_site_file2=$prefix/etc/config.site
2489 ac_site_file1=$ac_default_prefix/share/config.site
2490 ac_site_file2=$ac_default_prefix/etc/config.site
2492 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2494 test "x$ac_site_file" = xNONE && continue
2495 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2496 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2497 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2498 sed 's/^/| /' "$ac_site_file" >&5
2500 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2501 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2502 as_fn_error $? "failed to load site script $ac_site_file
2503 See \`config.log' for more details" "$LINENO" 5; }
2507 if test -r "$cache_file"; then
2508 # Some versions of bash will fail to source /dev/null (special files
2509 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2510 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2511 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2512 $as_echo "$as_me: loading cache $cache_file" >&6;}
2514 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2515 *) . "./$cache_file";;
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2520 $as_echo "$as_me: creating cache $cache_file" >&6;}
2524 # Check that the precious variables saved in the cache have kept the same
2526 ac_cache_corrupted=false
2527 for ac_var in $ac_precious_vars; do
2528 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2529 eval ac_new_set=\$ac_env_${ac_var}_set
2530 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2531 eval ac_new_val=\$ac_env_${ac_var}_value
2532 case $ac_old_set,$ac_new_set in
2534 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2535 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2536 ac_cache_corrupted=: ;;
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2539 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2540 ac_cache_corrupted=: ;;
2543 if test "x$ac_old_val" != "x$ac_new_val"; then
2544 # differences in whitespace do not lead to failure.
2545 ac_old_val_w=`echo x $ac_old_val`
2546 ac_new_val_w=`echo x $ac_new_val`
2547 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2549 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2550 ac_cache_corrupted=:
2552 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2553 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2554 eval $ac_var=\$ac_old_val
2556 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2557 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2559 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2562 # Pass precious variables to config.status.
2563 if test "$ac_new_set" = set; then
2565 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2566 *) ac_arg=$ac_var=$ac_new_val ;;
2568 case " $ac_configure_args " in
2569 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2570 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2574 if $ac_cache_corrupted; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2576 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2577 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2578 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2579 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2581 ## -------------------- ##
2582 ## Main body of script. ##
2583 ## -------------------- ##
2586 ac_cpp='$CPP $CPPFLAGS'
2587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2593 for ac_dir in build-aux "$srcdir"/build-aux; do
2594 if test -f "$ac_dir/install-sh"; then
2596 ac_install_sh="$ac_aux_dir/install-sh -c"
2598 elif test -f "$ac_dir/install.sh"; then
2600 ac_install_sh="$ac_aux_dir/install.sh -c"
2602 elif test -f "$ac_dir/shtool"; then
2604 ac_install_sh="$ac_aux_dir/shtool install -c"
2608 if test -z "$ac_aux_dir"; then
2609 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2612 # These three variables are undocumented and unsupported,
2613 # and are intended to be withdrawn in a future Autoconf release.
2614 # They can cause serious problems if a builder's source tree is in a directory
2615 # whose full name contains unusual characters.
2616 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2617 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2618 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2623 am__api_version='1.14'
2625 # Find a good install program. We prefer a C program (faster),
2626 # so one script is as good as another. But avoid the broken or
2627 # incompatible versions:
2628 # SysV /etc/install, /usr/sbin/install
2629 # SunOS /usr/etc/install
2630 # IRIX /sbin/install
2632 # AmigaOS /C/install, which installs bootblocks on floppy discs
2633 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2634 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2635 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2636 # OS/2's system install, which has a completely different semantic
2637 # ./install, which can be erroneously created by make from ./install.sh.
2638 # Reject install programs that cannot install multiple files.
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2640 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2641 if test -z "$INSTALL"; then
2642 if ${ac_cv_path_install+:} false; then :
2643 $as_echo_n "(cached) " >&6
2645 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2649 test -z "$as_dir" && as_dir=.
2650 # Account for people who put trailing slashes in PATH elements.
2651 case $as_dir/ in #((
2652 ./ | .// | /[cC]/* | \
2653 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2654 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2657 # OSF1 and SCO ODT 3.0 have their own names for install.
2658 # Don't use installbsd from OSF since it installs stuff as root
2660 for ac_prog in ginstall scoinst install; do
2661 for ac_exec_ext in '' $ac_executable_extensions; do
2662 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2663 if test $ac_prog = install &&
2664 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2665 # AIX install. It has an incompatible calling convention.
2667 elif test $ac_prog = install &&
2668 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2669 # program-specific install script used by HP pwplus--don't use.
2672 rm -rf conftest.one conftest.two conftest.dir
2673 echo one > conftest.one
2674 echo two > conftest.two
2676 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2677 test -s conftest.one && test -s conftest.two &&
2678 test -s conftest.dir/conftest.one &&
2679 test -s conftest.dir/conftest.two
2681 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2694 rm -rf conftest.one conftest.two conftest.dir
2697 if test "${ac_cv_path_install+set}" = set; then
2698 INSTALL=$ac_cv_path_install
2700 # As a last resort, use the slow shell script. Don't cache a
2701 # value for INSTALL within a source directory, because that will
2702 # break other packages using the cache if that directory is
2703 # removed, or if the value is a relative name.
2704 INSTALL=$ac_install_sh
2707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2708 $as_echo "$INSTALL" >&6; }
2710 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2711 # It thinks the first close brace ends the variable substitution.
2712 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2714 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2716 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2719 $as_echo_n "checking whether build environment is sane... " >&6; }
2720 # Reject unsafe characters in $srcdir or the absolute working directory
2721 # name. Accept space and tab only in the latter.
2725 *[\\\"\#\$\&\'\`$am_lf]*)
2726 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2729 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2730 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2733 # Do 'set' in a subshell so we don't clobber the current shell's
2734 # arguments. Must try -L first in case configure is actually a
2735 # symlink; some systems play weird games with the mod time of symlinks
2736 # (eg FreeBSD returns the mod time of the symlink's containing
2740 for am_try in 1 2; do
2741 echo "timestamp, slept: $am_has_slept" > conftest.file
2742 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2743 if test "$*" = "X"; then
2745 set X `ls -t "$srcdir/configure" conftest.file`
2747 if test "$*" != "X $srcdir/configure conftest.file" \
2748 && test "$*" != "X conftest.file $srcdir/configure"; then
2750 # If neither matched, then we have a broken ls. This can happen
2751 # if, for instance, CONFIG_SHELL is bash and it inherits a
2752 # broken ls alias from the environment. This has actually
2753 # happened. Such a system could not be considered "sane".
2754 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2755 alias in your environment" "$LINENO" 5
2757 if test "$2" = conftest.file || test $am_try -eq 2; then
2764 test "$2" = conftest.file
2770 as_fn_error $? "newly created file is older than distributed files!
2771 Check your system clock" "$LINENO" 5
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2774 $as_echo "yes" >&6; }
2775 # If we didn't sleep, we still need to ensure time stamps of config.status and
2776 # generated files are strictly newer.
2778 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2785 test "$program_prefix" != NONE &&
2786 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2787 # Use a double $ so make ignores it.
2788 test "$program_suffix" != NONE &&
2789 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2790 # Double any \ or $.
2791 # By default was `s,x,x', remove it if useless.
2792 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2793 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2795 # expand $ac_aux_dir to an absolute path
2796 am_aux_dir=`cd $ac_aux_dir && pwd`
2798 if test x"${MISSING+set}" != xset; then
2801 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2803 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2806 # Use eval to expand $SHELL
2807 if eval "$MISSING --is-lightweight"; then
2808 am_missing_run="$MISSING "
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2812 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2815 if test x"${install_sh}" != xset; then
2818 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2820 install_sh="\${SHELL} $am_aux_dir/install-sh"
2824 # Installed binaries are usually stripped using 'strip' when the user
2825 # run "make install-strip". However 'strip' might not be the right
2826 # tool to use in cross-compilation environments, therefore Automake
2827 # will honor the 'STRIP' environment variable to overrule this program.
2828 if test "$cross_compiling" != no; then
2829 if test -n "$ac_tool_prefix"; then
2830 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2831 set dummy ${ac_tool_prefix}strip; ac_word=$2
2832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2833 $as_echo_n "checking for $ac_word... " >&6; }
2834 if ${ac_cv_prog_STRIP+:} false; then :
2835 $as_echo_n "(cached) " >&6
2837 if test -n "$STRIP"; then
2838 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2844 test -z "$as_dir" && as_dir=.
2845 for ac_exec_ext in '' $ac_executable_extensions; do
2846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2847 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2857 STRIP=$ac_cv_prog_STRIP
2858 if test -n "$STRIP"; then
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2860 $as_echo "$STRIP" >&6; }
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2863 $as_echo "no" >&6; }
2868 if test -z "$ac_cv_prog_STRIP"; then
2870 # Extract the first word of "strip", so it can be a program name with args.
2871 set dummy strip; ac_word=$2
2872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2873 $as_echo_n "checking for $ac_word... " >&6; }
2874 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2875 $as_echo_n "(cached) " >&6
2877 if test -n "$ac_ct_STRIP"; then
2878 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2884 test -z "$as_dir" && as_dir=.
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_ac_ct_STRIP="strip"
2888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2897 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2898 if test -n "$ac_ct_STRIP"; then
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2900 $as_echo "$ac_ct_STRIP" >&6; }
2902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 $as_echo "no" >&6; }
2906 if test "x$ac_ct_STRIP" = x; then
2909 case $cross_compiling:$ac_tool_warned in
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2913 ac_tool_warned=yes ;;
2918 STRIP="$ac_cv_prog_STRIP"
2922 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2925 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2926 if test -z "$MKDIR_P"; then
2927 if ${ac_cv_path_mkdir+:} false; then :
2928 $as_echo_n "(cached) " >&6
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2931 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2934 test -z "$as_dir" && as_dir=.
2935 for ac_prog in mkdir gmkdir; do
2936 for ac_exec_ext in '' $ac_executable_extensions; do
2937 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2938 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2939 'mkdir (GNU coreutils) '* | \
2940 'mkdir (coreutils) '* | \
2941 'mkdir (fileutils) '4.1*)
2942 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2952 test -d ./--version && rmdir ./--version
2953 if test "${ac_cv_path_mkdir+set}" = set; then
2954 MKDIR_P="$ac_cv_path_mkdir -p"
2956 # As a last resort, use the slow shell script. Don't cache a
2957 # value for MKDIR_P within a source directory, because that will
2958 # break other packages using the cache if that directory is
2959 # removed, or if the value is a relative name.
2960 MKDIR_P="$ac_install_sh -d"
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2964 $as_echo "$MKDIR_P" >&6; }
2966 for ac_prog in gawk mawk nawk awk
2968 # Extract the first word of "$ac_prog", so it can be a program name with args.
2969 set dummy $ac_prog; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_AWK+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$AWK"; then
2976 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_AWK="$ac_prog"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2996 if test -n "$AWK"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2998 $as_echo "$AWK" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3005 test -n "$AWK" && break
3008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3009 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3011 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3012 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3013 $as_echo_n "(cached) " >&6
3015 cat >conftest.make <<\_ACEOF
3018 @echo '@@@%%%=$(MAKE)=@@@%%%'
3020 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3021 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3023 eval ac_cv_prog_make_${ac_make}_set=yes;;
3025 eval ac_cv_prog_make_${ac_make}_set=no;;
3029 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3031 $as_echo "yes" >&6; }
3034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3035 $as_echo "no" >&6; }
3036 SET_MAKE="MAKE=${MAKE-make}"
3039 rm -rf .tst 2>/dev/null
3040 mkdir .tst 2>/dev/null
3041 if test -d .tst; then
3046 rmdir .tst 2>/dev/null
3048 # Check whether --enable-silent-rules was given.
3049 if test "${enable_silent_rules+set}" = set; then :
3050 enableval=$enable_silent_rules;
3053 case $enable_silent_rules in # (((
3054 yes) AM_DEFAULT_VERBOSITY=0;;
3055 no) AM_DEFAULT_VERBOSITY=1;;
3056 *) AM_DEFAULT_VERBOSITY=1;;
3058 am_make=${MAKE-make}
3059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3060 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3061 if ${am_cv_make_support_nested_variables+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 if $as_echo 'TRUE=$(BAR$(V))
3070 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3071 am_cv_make_support_nested_variables=yes
3073 am_cv_make_support_nested_variables=no
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3077 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3078 if test $am_cv_make_support_nested_variables = yes; then
3080 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3082 AM_V=$AM_DEFAULT_VERBOSITY
3083 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3087 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3088 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3089 # is not polluted with repeated "-I."
3090 am__isrc=' -I$(srcdir)'
3091 # test to see if srcdir already configured
3092 if test -f $srcdir/config.status; then
3093 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3097 # test whether we have cygpath
3098 if test -z "$CYGPATH_W"; then
3099 if (cygpath --version) >/dev/null 2>/dev/null; then
3100 CYGPATH_W='cygpath -w'
3107 # Define the identity of the package.
3108 PACKAGE='krb5-strength'
3112 cat >>confdefs.h <<_ACEOF
3113 #define PACKAGE "$PACKAGE"
3117 cat >>confdefs.h <<_ACEOF
3118 #define VERSION "$VERSION"
3121 # Some tools Automake needs.
3123 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3126 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3129 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3132 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3135 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3137 # For better backward compatibility. To be removed once Automake 1.9.x
3138 # dies out for good. For more background, see:
3139 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3140 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3141 mkdir_p='$(MKDIR_P)'
3143 # We need awk for the "check" target. The system "awk" is bad on
3145 # Always define AMTAR for backward compatibility. Yes, it's still used
3146 # in the wild :-( We should find a proper way to deprecate it ...
3150 # We'll loop over all known methods to create a tar archive until one works.
3151 _am_tools='gnutar pax cpio none'
3153 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3160 # POSIX will say in a future version that running "rm -f" with no argument
3161 # is OK; and we want to be able to make that assumption in our Makefile
3162 # recipes. So use an aggressive probe to check that the usage we want is
3163 # actually supported "in the wild" to an acceptable degree.
3164 # See automake bug#10828.
3165 # To make any issue more visible, cause the running configure to be aborted
3166 # by default if the 'rm' program in use doesn't match our expectations; the
3167 # user can still override this though.
3168 if rm -f && rm -fr && rm -rf; then : OK; else
3172 Your 'rm' program seems unable to run without file operands specified
3173 on the command line, even when the '-f' option is present. This is contrary
3174 to the behaviour of most rm programs out there, and not conforming with
3175 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3177 Please tell bug-automake@gnu.org about your system, including the value
3178 of your $PATH and any error possibly output before this message. This
3179 can help us improve future automake versions.
3182 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3183 echo 'Configuration will proceed anyway, since you have set the' >&2
3184 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3188 Aborting the configuration process, to ensure you take notice of the issue.
3190 You can download and install GNU coreutils to get an 'rm' implementation
3191 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3193 If you want to complete the configuration process using your problematic
3194 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3195 to "yes", and re-run configure.
3198 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3203 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3204 # Check whether --enable-maintainer-mode was given.
3205 if test "${enable_maintainer_mode+set}" = set; then :
3206 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3208 USE_MAINTAINER_MODE=no
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3212 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3213 if test $USE_MAINTAINER_MODE = yes; then
3214 MAINTAINER_MODE_TRUE=
3215 MAINTAINER_MODE_FALSE='#'
3217 MAINTAINER_MODE_TRUE='#'
3218 MAINTAINER_MODE_FALSE=
3221 MAINT=$MAINTAINER_MODE_TRUE
3226 ac_cpp='$CPP $CPPFLAGS'
3227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3230 if test -n "$ac_tool_prefix"; then
3231 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3232 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_CC+:} false; then :
3236 $as_echo_n "(cached) " >&6
3238 if test -n "$CC"; then
3239 ac_cv_prog_CC="$CC" # Let the user override the test.
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir=.
3246 for ac_exec_ext in '' $ac_executable_extensions; do
3247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 if test -n "$CC"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3261 $as_echo "$CC" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3269 if test -z "$ac_cv_prog_CC"; then
3271 # Extract the first word of "gcc", so it can be a program name with args.
3272 set dummy gcc; ac_word=$2
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3274 $as_echo_n "checking for $ac_word... " >&6; }
3275 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3276 $as_echo_n "(cached) " >&6
3278 if test -n "$ac_ct_CC"; then
3279 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3285 test -z "$as_dir" && as_dir=.
3286 for ac_exec_ext in '' $ac_executable_extensions; do
3287 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3288 ac_cv_prog_ac_ct_CC="gcc"
3289 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3299 if test -n "$ac_ct_CC"; then
3300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3301 $as_echo "$ac_ct_CC" >&6; }
3303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3304 $as_echo "no" >&6; }
3307 if test "x$ac_ct_CC" = x; then
3310 case $cross_compiling:$ac_tool_warned in
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3313 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3314 ac_tool_warned=yes ;;
3322 if test -z "$CC"; then
3323 if test -n "$ac_tool_prefix"; then
3324 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3325 set dummy ${ac_tool_prefix}cc; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if ${ac_cv_prog_CC+:} false; then :
3329 $as_echo_n "(cached) " >&6
3331 if test -n "$CC"; then
3332 ac_cv_prog_CC="$CC" # Let the user override the test.
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3341 ac_cv_prog_CC="${ac_tool_prefix}cc"
3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 if test -n "$CC"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3354 $as_echo "$CC" >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3363 if test -z "$CC"; then
3364 # Extract the first word of "cc", so it can be a program name with args.
3365 set dummy cc; ac_word=$2
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3367 $as_echo_n "checking for $ac_word... " >&6; }
3368 if ${ac_cv_prog_CC+:} false; then :
3369 $as_echo_n "(cached) " >&6
3371 if test -n "$CC"; then
3372 ac_cv_prog_CC="$CC" # Let the user override the test.
3375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 test -z "$as_dir" && as_dir=.
3380 for ac_exec_ext in '' $ac_executable_extensions; do
3381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3382 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3383 ac_prog_rejected=yes
3387 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3394 if test $ac_prog_rejected = yes; then
3395 # We found a bogon in the path, so make sure we never use it.
3396 set dummy $ac_cv_prog_CC
3398 if test $# != 0; then
3399 # We chose a different compiler from the bogus one.
3400 # However, it has the same basename, so the bogon will be chosen
3401 # first if we set CC to just the basename; use the full file name.
3403 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3409 if test -n "$CC"; then
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3411 $as_echo "$CC" >&6; }
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3414 $as_echo "no" >&6; }
3419 if test -z "$CC"; then
3420 if test -n "$ac_tool_prefix"; then
3421 for ac_prog in cl.exe
3423 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3424 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3426 $as_echo_n "checking for $ac_word... " >&6; }
3427 if ${ac_cv_prog_CC+:} false; then :
3428 $as_echo_n "(cached) " >&6
3430 if test -n "$CC"; then
3431 ac_cv_prog_CC="$CC" # Let the user override the test.
3433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3437 test -z "$as_dir" && as_dir=.
3438 for ac_exec_ext in '' $ac_executable_extensions; do
3439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3440 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3451 if test -n "$CC"; then
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3453 $as_echo "$CC" >&6; }
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3456 $as_echo "no" >&6; }
3460 test -n "$CC" && break
3463 if test -z "$CC"; then
3465 for ac_prog in cl.exe
3467 # Extract the first word of "$ac_prog", so it can be a program name with args.
3468 set dummy $ac_prog; ac_word=$2
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3470 $as_echo_n "checking for $ac_word... " >&6; }
3471 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3472 $as_echo_n "(cached) " >&6
3474 if test -n "$ac_ct_CC"; then
3475 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3481 test -z "$as_dir" && as_dir=.
3482 for ac_exec_ext in '' $ac_executable_extensions; do
3483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3484 ac_cv_prog_ac_ct_CC="$ac_prog"
3485 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3494 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3495 if test -n "$ac_ct_CC"; then
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3497 $as_echo "$ac_ct_CC" >&6; }
3499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3500 $as_echo "no" >&6; }
3504 test -n "$ac_ct_CC" && break
3507 if test "x$ac_ct_CC" = x; then
3510 case $cross_compiling:$ac_tool_warned in
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3513 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3514 ac_tool_warned=yes ;;
3523 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3524 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3525 as_fn_error $? "no acceptable C compiler found in \$PATH
3526 See \`config.log' for more details" "$LINENO" 5; }
3528 # Provide some information about the compiler.
3529 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3532 for ac_option in --version -v -V -qversion; do
3533 { { ac_try="$ac_compiler $ac_option >&5"
3535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3536 *) ac_try_echo=$ac_try;;
3538 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3539 $as_echo "$ac_try_echo"; } >&5
3540 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3542 if test -s conftest.err; then
3544 ... rest of stderr output deleted ...
3545 10q' conftest.err >conftest.er1
3546 cat conftest.er1 >&5
3548 rm -f conftest.er1 conftest.err
3549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3550 test $ac_status = 0; }
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3564 ac_clean_files_save=$ac_clean_files
3565 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3566 # Try to create an executable without -o first, disregard a.out.
3567 # It will help us diagnose broken compilers, and finding out an intuition
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3570 $as_echo_n "checking whether the C compiler works... " >&6; }
3571 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3573 # The possible output files:
3574 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3577 for ac_file in $ac_files
3580 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3581 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3586 if { { ac_try="$ac_link_default"
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_link_default") 2>&5
3595 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3596 test $ac_status = 0; }; then :
3597 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3598 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3599 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3600 # so that the user can short-circuit this test for compilers unknown to
3602 for ac_file in $ac_files ''
3604 test -f "$ac_file" || continue
3606 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3609 # We found the default executable, but exeext='' is most
3613 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3615 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3617 # We set ac_cv_exeext here because the later test for it is not
3618 # safe: cross compilers may not add the suffix if given an `-o'
3619 # argument, so we may need to know it at that point already.
3620 # Even if this section looks crufty: it has the advantage of
3627 test "$ac_cv_exeext" = no && ac_cv_exeext=
3632 if test -z "$ac_file"; then :
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3634 $as_echo "no" >&6; }
3635 $as_echo "$as_me: failed program was:" >&5
3636 sed 's/^/| /' conftest.$ac_ext >&5
3638 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3639 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3640 as_fn_error 77 "C compiler cannot create executables
3641 See \`config.log' for more details" "$LINENO" 5; }
3643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3644 $as_echo "yes" >&6; }
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3647 $as_echo_n "checking for C compiler default output file name... " >&6; }
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3649 $as_echo "$ac_file" >&6; }
3650 ac_exeext=$ac_cv_exeext
3652 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3653 ac_clean_files=$ac_clean_files_save
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3655 $as_echo_n "checking for suffix of executables... " >&6; }
3656 if { { ac_try="$ac_link"
3658 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3659 *) ac_try_echo=$ac_try;;
3661 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3662 $as_echo "$ac_try_echo"; } >&5
3663 (eval "$ac_link") 2>&5
3665 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3666 test $ac_status = 0; }; then :
3667 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3668 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3669 # work properly (i.e., refer to `conftest.exe'), while it won't with
3671 for ac_file in conftest.exe conftest conftest.*; do
3672 test -f "$ac_file" || continue
3674 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3675 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3681 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3682 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3683 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3684 See \`config.log' for more details" "$LINENO" 5; }
3686 rm -f conftest conftest$ac_cv_exeext
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3688 $as_echo "$ac_cv_exeext" >&6; }
3690 rm -f conftest.$ac_ext
3691 EXEEXT=$ac_cv_exeext
3693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3694 /* end confdefs.h. */
3699 FILE *f = fopen ("conftest.out", "w");
3700 return ferror (f) || fclose (f) != 0;
3706 ac_clean_files="$ac_clean_files conftest.out"
3707 # Check that the compiler produces executables we can run. If not, either
3708 # the compiler is broken, or we cross compile.
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3710 $as_echo_n "checking whether we are cross compiling... " >&6; }
3711 if test "$cross_compiling" != yes; then
3712 { { ac_try="$ac_link"
3714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3715 *) ac_try_echo=$ac_try;;
3717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3718 $as_echo "$ac_try_echo"; } >&5
3719 (eval "$ac_link") 2>&5
3721 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3722 test $ac_status = 0; }
3723 if { ac_try='./conftest$ac_cv_exeext'
3724 { { case "(($ac_try" in
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3729 $as_echo "$ac_try_echo"; } >&5
3730 (eval "$ac_try") 2>&5
3732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3733 test $ac_status = 0; }; }; then
3736 if test "$cross_compiling" = maybe; then
3739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3741 as_fn_error $? "cannot run C compiled programs.
3742 If you meant to cross compile, use \`--host'.
3743 See \`config.log' for more details" "$LINENO" 5; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3748 $as_echo "$cross_compiling" >&6; }
3750 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3751 ac_clean_files=$ac_clean_files_save
3752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3753 $as_echo_n "checking for suffix of object files... " >&6; }
3754 if ${ac_cv_objext+:} false; then :
3755 $as_echo_n "(cached) " >&6
3757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3758 /* end confdefs.h. */
3768 rm -f conftest.o conftest.obj
3769 if { { ac_try="$ac_compile"
3771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3772 *) ac_try_echo=$ac_try;;
3774 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3775 $as_echo "$ac_try_echo"; } >&5
3776 (eval "$ac_compile") 2>&5
3778 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3779 test $ac_status = 0; }; then :
3780 for ac_file in conftest.o conftest.obj conftest.*; do
3781 test -f "$ac_file" || continue;
3783 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3784 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3789 $as_echo "$as_me: failed program was:" >&5
3790 sed 's/^/| /' conftest.$ac_ext >&5
3792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 as_fn_error $? "cannot compute suffix of object files: cannot compile
3795 See \`config.log' for more details" "$LINENO" 5; }
3797 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3800 $as_echo "$ac_cv_objext" >&6; }
3801 OBJEXT=$ac_cv_objext
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3804 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3805 if ${ac_cv_c_compiler_gnu+:} false; then :
3806 $as_echo_n "(cached) " >&6
3808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3809 /* end confdefs.h. */
3822 if ac_fn_c_try_compile "$LINENO"; then :
3827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3828 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3832 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3833 if test $ac_compiler_gnu = yes; then
3838 ac_test_CFLAGS=${CFLAGS+set}
3839 ac_save_CFLAGS=$CFLAGS
3840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3841 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3842 if ${ac_cv_prog_cc_g+:} false; then :
3843 $as_echo_n "(cached) " >&6
3845 ac_save_c_werror_flag=$ac_c_werror_flag
3846 ac_c_werror_flag=yes
3849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3850 /* end confdefs.h. */
3860 if ac_fn_c_try_compile "$LINENO"; then :
3864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3865 /* end confdefs.h. */
3875 if ac_fn_c_try_compile "$LINENO"; then :
3878 ac_c_werror_flag=$ac_save_c_werror_flag
3880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3881 /* end confdefs.h. */
3891 if ac_fn_c_try_compile "$LINENO"; then :
3894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3899 ac_c_werror_flag=$ac_save_c_werror_flag
3901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3902 $as_echo "$ac_cv_prog_cc_g" >&6; }
3903 if test "$ac_test_CFLAGS" = set; then
3904 CFLAGS=$ac_save_CFLAGS
3905 elif test $ac_cv_prog_cc_g = yes; then
3906 if test "$GCC" = yes; then
3912 if test "$GCC" = yes; then
3918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3919 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3920 if ${ac_cv_prog_cc_c89+:} false; then :
3921 $as_echo_n "(cached) " >&6
3923 ac_cv_prog_cc_c89=no
3925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3926 /* end confdefs.h. */
3930 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3931 struct buf { int x; };
3932 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3933 static char *e (p, i)
3939 static char *f (char * (*g) (char **, int), char **p, ...)
3944 s = g (p, va_arg (v,int));
3949 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3950 function prototypes and stuff, but not '\xHH' hex character constants.
3951 These don't provoke an error unfortunately, instead are silently treated
3952 as 'x'. The following induces an error, until -std is added to get
3953 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3954 array size at least. It's necessary to write '\x00'==0 to get something
3955 that's true only with -std. */
3956 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3958 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3959 inside strings and character constants. */
3961 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3963 int test (int i, double x);
3964 struct s1 {int (*f) (int a);};
3965 struct s2 {int (*f) (double a);};
3966 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3972 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3977 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3978 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3980 CC="$ac_save_CC $ac_arg"
3981 if ac_fn_c_try_compile "$LINENO"; then :
3982 ac_cv_prog_cc_c89=$ac_arg
3984 rm -f core conftest.err conftest.$ac_objext
3985 test "x$ac_cv_prog_cc_c89" != "xno" && break
3987 rm -f conftest.$ac_ext
3992 case "x$ac_cv_prog_cc_c89" in
3994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3995 $as_echo "none needed" >&6; } ;;
3997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3998 $as_echo "unsupported" >&6; } ;;
4000 CC="$CC $ac_cv_prog_cc_c89"
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4002 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4004 if test "x$ac_cv_prog_cc_c89" != xno; then :
4009 ac_cpp='$CPP $CPPFLAGS'
4010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4015 ac_cpp='$CPP $CPPFLAGS'
4016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4020 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4021 if ${am_cv_prog_cc_c_o+:} false; then :
4022 $as_echo_n "(cached) " >&6
4024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4025 /* end confdefs.h. */
4035 # Make sure it works both with $CC and with simple cc.
4036 # Following AC_PROG_CC_C_O, we do the test twice because some
4037 # compilers refuse to overwrite an existing .o file with -o,
4038 # though they will create one.
4039 am_cv_prog_cc_c_o=yes
4041 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4042 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4045 (exit $ac_status); } \
4046 && test -f conftest2.$ac_objext; then
4049 am_cv_prog_cc_c_o=no
4053 rm -f core conftest*
4056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4057 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4058 if test "$am_cv_prog_cc_c_o" != yes; then
4059 # Losing compiler, so override with the script.
4060 # FIXME: It is wrong to rewrite CC.
4061 # But if we don't then we get into trouble of one sort or another.
4062 # A longer-term fix would be to have automake use am__CC in this case,
4063 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4064 CC="$am_aux_dir/compile $CC"
4067 ac_cpp='$CPP $CPPFLAGS'
4068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4072 DEPDIR="${am__leading_dot}deps"
4074 ac_config_commands="$ac_config_commands depfiles"
4077 am_make=${MAKE-make}
4078 cat > confinc << 'END'
4080 @echo this is the am__doit target
4083 # If we don't find an include directive, just comment out the code.
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4085 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4089 # First try GNU make style include.
4090 echo "include confinc" > confmf
4091 # Ignore all kinds of additional output from 'make'.
4092 case `$am_make -s -f confmf 2> /dev/null` in #(
4093 *the\ am__doit\ target*)
4099 # Now try BSD make style include.
4100 if test "$am__include" = "#"; then
4101 echo '.include "confinc"' > confmf
4102 case `$am_make -s -f confmf 2> /dev/null` in #(
4103 *the\ am__doit\ target*)
4104 am__include=.include
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4113 $as_echo "$_am_result" >&6; }
4114 rm -f confinc confmf
4116 # Check whether --enable-dependency-tracking was given.
4117 if test "${enable_dependency_tracking+set}" = set; then :
4118 enableval=$enable_dependency_tracking;
4121 if test "x$enable_dependency_tracking" != xno; then
4122 am_depcomp="$ac_aux_dir/depcomp"
4126 if test "x$enable_dependency_tracking" != xno; then
4136 depcc="$CC" am_compiler_list=
4138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4139 $as_echo_n "checking dependency style of $depcc... " >&6; }
4140 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4141 $as_echo_n "(cached) " >&6
4143 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4144 # We make a subdir and do the tests there. Otherwise we can end up
4145 # making bogus files that we don't know about and never remove. For
4146 # instance it was reported that on HP-UX the gcc test will end up
4147 # making a dummy file named 'D' -- because '-MD' means "put the output
4151 # Copy depcomp to subdir because otherwise we won't find it if we're
4152 # using a relative directory.
4153 cp "$am_depcomp" conftest.dir
4155 # We will build objects and dependencies in a subdirectory because
4156 # it helps to detect inapplicable dependency modes. For instance
4157 # both Tru64's cc and ICC support -MD to output dependencies as a
4158 # side effect of compilation, but ICC will put the dependencies in
4159 # the current directory while Tru64 will put them in the object
4163 am_cv_CC_dependencies_compiler_type=none
4164 if test "$am_compiler_list" = ""; then
4165 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4168 case " $depcc " in #(
4169 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4172 for depmode in $am_compiler_list; do
4173 # Setup a source with many dependencies, because some compilers
4174 # like to wrap large dependency lists on column 80 (with \), and
4175 # we should not choose a depcomp mode which is confused by this.
4177 # We need to recreate these files for each test, as the compiler may
4178 # overwrite some of them when testing with obscure command lines.
4179 # This happens at least with the AIX C compiler.
4181 for i in 1 2 3 4 5 6; do
4182 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4183 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4184 # Solaris 10 /bin/sh.
4185 echo '/* dummy */' > sub/conftst$i.h
4187 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4189 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4190 # mode. It turns out that the SunPro C++ compiler does not properly
4191 # handle '-M -o', and we need to detect this. Also, some Intel
4192 # versions had trouble with output in subdirs.
4193 am__obj=sub/conftest.${OBJEXT-o}
4194 am__minus_obj="-o $am__obj"
4197 # This depmode causes a compiler race in universal mode.
4198 test "$am__universal" = false || continue
4201 # After this tag, mechanisms are not by side-effect, so they'll
4202 # only be used when explicitly requested.
4203 if test "x$enable_dependency_tracking" = xyes; then
4209 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4210 # This compiler won't grok '-c -o', but also, the minuso test has
4211 # not run yet. These depmodes are late enough in the game, and
4212 # so weak that their functioning should not be impacted.
4213 am__obj=conftest.${OBJEXT-o}
4218 if depmode=$depmode \
4219 source=sub/conftest.c object=$am__obj \
4220 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4221 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4222 >/dev/null 2>conftest.err &&
4223 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4224 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4225 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4226 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4227 # icc doesn't choke on unknown options, it will just issue warnings
4228 # or remarks (even with -Werror). So we grep stderr for any message
4229 # that says an option was ignored or not supported.
4230 # When given -MP, icc 7.0 and 7.1 complain thusly:
4231 # icc: Command line warning: ignoring option '-M'; no argument required
4232 # The diagnosis changed in icc 8.0:
4233 # icc: Command line remark: option '-MP' not supported
4234 if (grep 'ignoring option' conftest.err ||
4235 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4236 am_cv_CC_dependencies_compiler_type=$depmode
4245 am_cv_CC_dependencies_compiler_type=none
4249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4250 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4251 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4254 test "x$enable_dependency_tracking" != xno \
4255 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4257 am__fastdepCC_FALSE='#'
4259 am__fastdepCC_TRUE='#'
4260 am__fastdepCC_FALSE=
4266 ac_cpp='$CPP $CPPFLAGS'
4267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4271 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4272 # On Suns, sometimes $CPP names a directory.
4273 if test -n "$CPP" && test -d "$CPP"; then
4276 if test -z "$CPP"; then
4277 if ${ac_cv_prog_CPP+:} false; then :
4278 $as_echo_n "(cached) " >&6
4280 # Double quotes because CPP needs to be expanded
4281 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4284 for ac_c_preproc_warn_flag in '' yes
4286 # Use a header file that comes with gcc, so configuring glibc
4287 # with a fresh cross-compiler works.
4288 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4289 # <limits.h> exists even on freestanding compilers.
4290 # On the NeXT, cc -E runs the code through the compiler's parser,
4291 # not just through cpp. "Syntax error" is here to catch this case.
4292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4293 /* end confdefs.h. */
4295 # include <limits.h>
4297 # include <assert.h>
4301 if ac_fn_c_try_cpp "$LINENO"; then :
4304 # Broken: fails on valid input.
4307 rm -f conftest.err conftest.i conftest.$ac_ext
4309 # OK, works on sane cases. Now check whether nonexistent headers
4310 # can be detected and how.
4311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4312 /* end confdefs.h. */
4313 #include <ac_nonexistent.h>
4315 if ac_fn_c_try_cpp "$LINENO"; then :
4316 # Broken: success on invalid input.
4319 # Passes both tests.
4323 rm -f conftest.err conftest.i conftest.$ac_ext
4326 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4327 rm -f conftest.i conftest.err conftest.$ac_ext
4328 if $ac_preproc_ok; then :
4340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4341 $as_echo "$CPP" >&6; }
4343 for ac_c_preproc_warn_flag in '' yes
4345 # Use a header file that comes with gcc, so configuring glibc
4346 # with a fresh cross-compiler works.
4347 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4348 # <limits.h> exists even on freestanding compilers.
4349 # On the NeXT, cc -E runs the code through the compiler's parser,
4350 # not just through cpp. "Syntax error" is here to catch this case.
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4354 # include <limits.h>
4356 # include <assert.h>
4360 if ac_fn_c_try_cpp "$LINENO"; then :
4363 # Broken: fails on valid input.
4366 rm -f conftest.err conftest.i conftest.$ac_ext
4368 # OK, works on sane cases. Now check whether nonexistent headers
4369 # can be detected and how.
4370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4371 /* end confdefs.h. */
4372 #include <ac_nonexistent.h>
4374 if ac_fn_c_try_cpp "$LINENO"; then :
4375 # Broken: success on invalid input.
4378 # Passes both tests.
4382 rm -f conftest.err conftest.i conftest.$ac_ext
4385 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4386 rm -f conftest.i conftest.err conftest.$ac_ext
4387 if $ac_preproc_ok; then :
4390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4392 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4393 See \`config.log' for more details" "$LINENO" 5; }
4397 ac_cpp='$CPP $CPPFLAGS'
4398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4404 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4405 if ${ac_cv_path_GREP+:} false; then :
4406 $as_echo_n "(cached) " >&6
4408 if test -z "$GREP"; then
4409 ac_path_GREP_found=false
4410 # Loop through the user's path and test for each of PROGNAME-LIST
4411 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4412 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4415 test -z "$as_dir" && as_dir=.
4416 for ac_prog in grep ggrep; do
4417 for ac_exec_ext in '' $ac_executable_extensions; do
4418 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4419 as_fn_executable_p "$ac_path_GREP" || continue
4420 # Check for GNU ac_path_GREP and select it if it is found.
4421 # Check for GNU $ac_path_GREP
4422 case `"$ac_path_GREP" --version 2>&1` in
4424 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4427 $as_echo_n 0123456789 >"conftest.in"
4430 cat "conftest.in" "conftest.in" >"conftest.tmp"
4431 mv "conftest.tmp" "conftest.in"
4432 cp "conftest.in" "conftest.nl"
4433 $as_echo 'GREP' >> "conftest.nl"
4434 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4435 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4436 as_fn_arith $ac_count + 1 && ac_count=$as_val
4437 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4438 # Best one so far, save it but keep looking for a better one
4439 ac_cv_path_GREP="$ac_path_GREP"
4440 ac_path_GREP_max=$ac_count
4442 # 10*(2^10) chars as input seems more than enough
4443 test $ac_count -gt 10 && break
4445 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4448 $ac_path_GREP_found && break 3
4453 if test -z "$ac_cv_path_GREP"; then
4454 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4457 ac_cv_path_GREP=$GREP
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4462 $as_echo "$ac_cv_path_GREP" >&6; }
4463 GREP="$ac_cv_path_GREP"
4466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4467 $as_echo_n "checking for egrep... " >&6; }
4468 if ${ac_cv_path_EGREP+:} false; then :
4469 $as_echo_n "(cached) " >&6
4471 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4472 then ac_cv_path_EGREP="$GREP -E"
4474 if test -z "$EGREP"; then
4475 ac_path_EGREP_found=false
4476 # Loop through the user's path and test for each of PROGNAME-LIST
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4481 test -z "$as_dir" && as_dir=.
4482 for ac_prog in egrep; do
4483 for ac_exec_ext in '' $ac_executable_extensions; do
4484 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4485 as_fn_executable_p "$ac_path_EGREP" || continue
4486 # Check for GNU ac_path_EGREP and select it if it is found.
4487 # Check for GNU $ac_path_EGREP
4488 case `"$ac_path_EGREP" --version 2>&1` in
4490 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4493 $as_echo_n 0123456789 >"conftest.in"
4496 cat "conftest.in" "conftest.in" >"conftest.tmp"
4497 mv "conftest.tmp" "conftest.in"
4498 cp "conftest.in" "conftest.nl"
4499 $as_echo 'EGREP' >> "conftest.nl"
4500 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4501 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4502 as_fn_arith $ac_count + 1 && ac_count=$as_val
4503 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4504 # Best one so far, save it but keep looking for a better one
4505 ac_cv_path_EGREP="$ac_path_EGREP"
4506 ac_path_EGREP_max=$ac_count
4508 # 10*(2^10) chars as input seems more than enough
4509 test $ac_count -gt 10 && break
4511 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4514 $ac_path_EGREP_found && break 3
4519 if test -z "$ac_cv_path_EGREP"; then
4520 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4523 ac_cv_path_EGREP=$EGREP
4528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4529 $as_echo "$ac_cv_path_EGREP" >&6; }
4530 EGREP="$ac_cv_path_EGREP"
4533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4534 $as_echo_n "checking for ANSI C header files... " >&6; }
4535 if ${ac_cv_header_stdc+:} false; then :
4536 $as_echo_n "(cached) " >&6
4538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4539 /* end confdefs.h. */
4553 if ac_fn_c_try_compile "$LINENO"; then :
4554 ac_cv_header_stdc=yes
4556 ac_cv_header_stdc=no
4558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4560 if test $ac_cv_header_stdc = yes; then
4561 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4563 /* end confdefs.h. */
4567 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4568 $EGREP "memchr" >/dev/null 2>&1; then :
4571 ac_cv_header_stdc=no
4577 if test $ac_cv_header_stdc = yes; then
4578 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4580 /* end confdefs.h. */
4584 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4585 $EGREP "free" >/dev/null 2>&1; then :
4588 ac_cv_header_stdc=no
4594 if test $ac_cv_header_stdc = yes; then
4595 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4596 if test "$cross_compiling" = yes; then :
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4603 #if ((' ' & 0x0FF) == 0x020)
4604 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4605 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4607 # define ISLOWER(c) \
4608 (('a' <= (c) && (c) <= 'i') \
4609 || ('j' <= (c) && (c) <= 'r') \
4610 || ('s' <= (c) && (c) <= 'z'))
4611 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4614 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4619 for (i = 0; i < 256; i++)
4620 if (XOR (islower (i), ISLOWER (i))
4621 || toupper (i) != TOUPPER (i))
4626 if ac_fn_c_try_run "$LINENO"; then :
4629 ac_cv_header_stdc=no
4631 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4632 conftest.$ac_objext conftest.beam conftest.$ac_ext
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4638 $as_echo "$ac_cv_header_stdc" >&6; }
4639 if test $ac_cv_header_stdc = yes; then
4641 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4645 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4646 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4647 inttypes.h stdint.h unistd.h
4649 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4650 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4652 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4653 cat >>confdefs.h <<_ACEOF
4654 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4663 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4664 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4671 if test "$MINIX" = yes; then
4673 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4676 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4679 $as_echo "#define _MINIX 1" >>confdefs.h
4684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4685 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4686 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4687 $as_echo_n "(cached) " >&6
4689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4690 /* end confdefs.h. */
4692 # define __EXTENSIONS__ 1
4693 $ac_includes_default
4702 if ac_fn_c_try_compile "$LINENO"; then :
4703 ac_cv_safe_to_define___extensions__=yes
4705 ac_cv_safe_to_define___extensions__=no
4707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4710 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4711 test $ac_cv_safe_to_define___extensions__ = yes &&
4712 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4714 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4716 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4718 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4720 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4723 # Check whether --enable-largefile was given.
4724 if test "${enable_largefile+set}" = set; then :
4725 enableval=$enable_largefile;
4728 if test "$enable_largefile" != no; then
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4731 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4732 if ${ac_cv_sys_largefile_CC+:} false; then :
4733 $as_echo_n "(cached) " >&6
4735 ac_cv_sys_largefile_CC=no
4736 if test "$GCC" != yes; then
4739 # IRIX 6.2 and later do not support large files by default,
4740 # so use the C compiler's -n32 option if that helps.
4741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4742 /* end confdefs.h. */
4743 #include <sys/types.h>
4744 /* Check that off_t can represent 2**63 - 1 correctly.
4745 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4746 since some C++ compilers masquerading as C compilers
4747 incorrectly reject 9223372036854775807. */
4748 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4749 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4750 && LARGE_OFF_T % 2147483647 == 1)
4760 if ac_fn_c_try_compile "$LINENO"; then :
4763 rm -f core conftest.err conftest.$ac_objext
4765 if ac_fn_c_try_compile "$LINENO"; then :
4766 ac_cv_sys_largefile_CC=' -n32'; break
4768 rm -f core conftest.err conftest.$ac_objext
4772 rm -f conftest.$ac_ext
4775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4776 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4777 if test "$ac_cv_sys_largefile_CC" != no; then
4778 CC=$CC$ac_cv_sys_largefile_CC
4781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4782 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4783 if ${ac_cv_sys_file_offset_bits+:} false; then :
4784 $as_echo_n "(cached) " >&6
4787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4788 /* end confdefs.h. */
4789 #include <sys/types.h>
4790 /* Check that off_t can represent 2**63 - 1 correctly.
4791 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4792 since some C++ compilers masquerading as C compilers
4793 incorrectly reject 9223372036854775807. */
4794 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4795 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4796 && LARGE_OFF_T % 2147483647 == 1)
4806 if ac_fn_c_try_compile "$LINENO"; then :
4807 ac_cv_sys_file_offset_bits=no; break
4809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4811 /* end confdefs.h. */
4812 #define _FILE_OFFSET_BITS 64
4813 #include <sys/types.h>
4814 /* Check that off_t can represent 2**63 - 1 correctly.
4815 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4816 since some C++ compilers masquerading as C compilers
4817 incorrectly reject 9223372036854775807. */
4818 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4819 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4820 && LARGE_OFF_T % 2147483647 == 1)
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 ac_cv_sys_file_offset_bits=64; break
4833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4834 ac_cv_sys_file_offset_bits=unknown
4838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4839 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4840 case $ac_cv_sys_file_offset_bits in #(
4843 cat >>confdefs.h <<_ACEOF
4844 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4849 if test $ac_cv_sys_file_offset_bits = unknown; then
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4851 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4852 if ${ac_cv_sys_large_files+:} false; then :
4853 $as_echo_n "(cached) " >&6
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4858 #include <sys/types.h>
4859 /* Check that off_t can represent 2**63 - 1 correctly.
4860 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4861 since some C++ compilers masquerading as C compilers
4862 incorrectly reject 9223372036854775807. */
4863 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4864 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4865 && LARGE_OFF_T % 2147483647 == 1)
4875 if ac_fn_c_try_compile "$LINENO"; then :
4876 ac_cv_sys_large_files=no; break
4878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4880 /* end confdefs.h. */
4881 #define _LARGE_FILES 1
4882 #include <sys/types.h>
4883 /* Check that off_t can represent 2**63 - 1 correctly.
4884 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4885 since some C++ compilers masquerading as C compilers
4886 incorrectly reject 9223372036854775807. */
4887 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4888 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4889 && LARGE_OFF_T % 2147483647 == 1)
4899 if ac_fn_c_try_compile "$LINENO"; then :
4900 ac_cv_sys_large_files=1; break
4902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4903 ac_cv_sys_large_files=unknown
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4908 $as_echo "$ac_cv_sys_large_files" >&6; }
4909 case $ac_cv_sys_large_files in #(
4912 cat >>confdefs.h <<_ACEOF
4913 #define _LARGE_FILES $ac_cv_sys_large_files
4925 if test -n "$ac_tool_prefix"; then
4926 for ac_prog in ar lib "link -lib"
4928 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4929 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4931 $as_echo_n "checking for $ac_word... " >&6; }
4932 if ${ac_cv_prog_AR+:} false; then :
4933 $as_echo_n "(cached) " >&6
4935 if test -n "$AR"; then
4936 ac_cv_prog_AR="$AR" # Let the user override the test.
4938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4942 test -z "$as_dir" && as_dir=.
4943 for ac_exec_ext in '' $ac_executable_extensions; do
4944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4945 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4956 if test -n "$AR"; then
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4958 $as_echo "$AR" >&6; }
4960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4961 $as_echo "no" >&6; }
4965 test -n "$AR" && break
4968 if test -z "$AR"; then
4970 for ac_prog in ar lib "link -lib"
4972 # Extract the first word of "$ac_prog", so it can be a program name with args.
4973 set dummy $ac_prog; ac_word=$2
4974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4975 $as_echo_n "checking for $ac_word... " >&6; }
4976 if ${ac_cv_prog_ac_ct_AR+:} false; then :
4977 $as_echo_n "(cached) " >&6
4979 if test -n "$ac_ct_AR"; then
4980 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4986 test -z "$as_dir" && as_dir=.
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_ac_ct_AR="$ac_prog"
4990 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4999 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5000 if test -n "$ac_ct_AR"; then
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5002 $as_echo "$ac_ct_AR" >&6; }
5004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 $as_echo "no" >&6; }
5009 test -n "$ac_ct_AR" && break
5012 if test "x$ac_ct_AR" = x; then
5015 case $cross_compiling:$ac_tool_warned in
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5018 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5019 ac_tool_warned=yes ;;
5027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5028 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5029 if ${am_cv_ar_interface+:} false; then :
5030 $as_echo_n "(cached) " >&6
5033 ac_cpp='$CPP $CPPFLAGS'
5034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5038 am_cv_ar_interface=ar
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 int some_variable = 0;
5043 if ac_fn_c_try_compile "$LINENO"; then :
5044 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5045 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5046 (eval $am_ar_try) 2>&5
5048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5049 test $ac_status = 0; }
5050 if test "$ac_status" -eq 0; then
5051 am_cv_ar_interface=ar
5053 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5054 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5055 (eval $am_ar_try) 2>&5
5057 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5058 test $ac_status = 0; }
5059 if test "$ac_status" -eq 0; then
5060 am_cv_ar_interface=lib
5062 am_cv_ar_interface=unknown
5065 rm -f conftest.lib libconftest.a
5068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5070 ac_cpp='$CPP $CPPFLAGS'
5071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5077 $as_echo "$am_cv_ar_interface" >&6; }
5079 case $am_cv_ar_interface in
5083 # Microsoft lib, so override with the ar-lib wrapper script.
5084 # FIXME: It is wrong to rewrite AR.
5085 # But if we don't then we get into trouble of one sort or another.
5086 # A longer-term fix would be to have automake use am__AR in this case,
5087 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5089 AR="$am_aux_dir/ar-lib $AR"
5092 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5096 # Check whether --enable-static was given.
5097 if test "${enable_static+set}" = set; then :
5098 enableval=$enable_static; p=${PACKAGE-default}
5100 yes) enable_static=yes ;;
5101 no) enable_static=no ;;
5104 # Look at the argument we got. We use all the common list separators.
5105 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5106 for pkg in $enableval; do
5108 if test "X$pkg" = "X$p"; then
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5130 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5135 macro_version='2.4.2'
5136 macro_revision='1.3337'
5150 ltmain="$ac_aux_dir/ltmain.sh"
5152 # Make sure we can run config.sub.
5153 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5154 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5157 $as_echo_n "checking build system type... " >&6; }
5158 if ${ac_cv_build+:} false; then :
5159 $as_echo_n "(cached) " >&6
5161 ac_build_alias=$build_alias
5162 test "x$ac_build_alias" = x &&
5163 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5164 test "x$ac_build_alias" = x &&
5165 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5166 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5167 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5171 $as_echo "$ac_cv_build" >&6; }
5172 case $ac_cv_build in
5174 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5177 ac_save_IFS=$IFS; IFS='-'
5183 # Remember, the first character of IFS is used to create $*,
5184 # except with old shells:
5187 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5191 $as_echo_n "checking host system type... " >&6; }
5192 if ${ac_cv_host+:} false; then :
5193 $as_echo_n "(cached) " >&6
5195 if test "x$host_alias" = x; then
5196 ac_cv_host=$ac_cv_build
5198 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5199 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5204 $as_echo "$ac_cv_host" >&6; }
5207 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5210 ac_save_IFS=$IFS; IFS='-'
5216 # Remember, the first character of IFS is used to create $*,
5217 # except with old shells:
5220 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5223 # Backslashify metacharacters that are still active within
5224 # double-quoted strings.
5225 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5227 # Same as above, but do not quote variable references.
5228 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5230 # Sed substitution to delay expansion of an escaped shell variable in a
5231 # double_quote_subst'ed string.
5232 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5234 # Sed substitution to delay expansion of an escaped single quote.
5235 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5237 # Sed substitution to avoid accidental globbing in evaled expressions
5238 no_glob_subst='s/\*/\\\*/g'
5240 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5241 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5242 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5245 $as_echo_n "checking how to print strings... " >&6; }
5246 # Test print first, because it will be a builtin if present.
5247 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5248 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5250 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5253 # Use this function as a fallback that always works.
5254 func_fallback_echo ()
5256 eval 'cat <<_LTECHO_EOF
5260 ECHO='func_fallback_echo'
5263 # func_echo_all arg...
5264 # Invoke $ECHO with all args, space-separated.
5271 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5272 $as_echo "printf" >&6; } ;;
5273 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5274 $as_echo "print -r" >&6; } ;;
5275 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5276 $as_echo "cat" >&6; } ;;
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5293 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5294 if ${ac_cv_path_SED+:} false; then :
5295 $as_echo_n "(cached) " >&6
5297 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5298 for ac_i in 1 2 3 4 5 6 7; do
5299 ac_script="$ac_script$as_nl$ac_script"
5301 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5302 { ac_script=; unset ac_script;}
5303 if test -z "$SED"; then
5304 ac_path_SED_found=false
5305 # Loop through the user's path and test for each of PROGNAME-LIST
5306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5310 test -z "$as_dir" && as_dir=.
5311 for ac_prog in sed gsed; do
5312 for ac_exec_ext in '' $ac_executable_extensions; do
5313 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5314 as_fn_executable_p "$ac_path_SED" || continue
5315 # Check for GNU ac_path_SED and select it if it is found.
5316 # Check for GNU $ac_path_SED
5317 case `"$ac_path_SED" --version 2>&1` in
5319 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5322 $as_echo_n 0123456789 >"conftest.in"
5325 cat "conftest.in" "conftest.in" >"conftest.tmp"
5326 mv "conftest.tmp" "conftest.in"
5327 cp "conftest.in" "conftest.nl"
5328 $as_echo '' >> "conftest.nl"
5329 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5330 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5331 as_fn_arith $ac_count + 1 && ac_count=$as_val
5332 if test $ac_count -gt ${ac_path_SED_max-0}; then
5333 # Best one so far, save it but keep looking for a better one
5334 ac_cv_path_SED="$ac_path_SED"
5335 ac_path_SED_max=$ac_count
5337 # 10*(2^10) chars as input seems more than enough
5338 test $ac_count -gt 10 && break
5340 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5343 $ac_path_SED_found && break 3
5348 if test -z "$ac_cv_path_SED"; then
5349 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5357 $as_echo "$ac_cv_path_SED" >&6; }
5358 SED="$ac_cv_path_SED"
5361 test -z "$SED" && SED=sed
5362 Xsed="$SED -e 1s/^X//"
5374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5375 $as_echo_n "checking for fgrep... " >&6; }
5376 if ${ac_cv_path_FGREP+:} false; then :
5377 $as_echo_n "(cached) " >&6
5379 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5380 then ac_cv_path_FGREP="$GREP -F"
5382 if test -z "$FGREP"; then
5383 ac_path_FGREP_found=false
5384 # Loop through the user's path and test for each of PROGNAME-LIST
5385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5386 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5389 test -z "$as_dir" && as_dir=.
5390 for ac_prog in fgrep; do
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5393 as_fn_executable_p "$ac_path_FGREP" || continue
5394 # Check for GNU ac_path_FGREP and select it if it is found.
5395 # Check for GNU $ac_path_FGREP
5396 case `"$ac_path_FGREP" --version 2>&1` in
5398 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5401 $as_echo_n 0123456789 >"conftest.in"
5404 cat "conftest.in" "conftest.in" >"conftest.tmp"
5405 mv "conftest.tmp" "conftest.in"
5406 cp "conftest.in" "conftest.nl"
5407 $as_echo 'FGREP' >> "conftest.nl"
5408 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5409 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5410 as_fn_arith $ac_count + 1 && ac_count=$as_val
5411 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5412 # Best one so far, save it but keep looking for a better one
5413 ac_cv_path_FGREP="$ac_path_FGREP"
5414 ac_path_FGREP_max=$ac_count
5416 # 10*(2^10) chars as input seems more than enough
5417 test $ac_count -gt 10 && break
5419 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5422 $ac_path_FGREP_found && break 3
5427 if test -z "$ac_cv_path_FGREP"; then
5428 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5431 ac_cv_path_FGREP=$FGREP
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5437 $as_echo "$ac_cv_path_FGREP" >&6; }
5438 FGREP="$ac_cv_path_FGREP"
5441 test -z "$GREP" && GREP=grep
5461 # Check whether --with-gnu-ld was given.
5462 if test "${with_gnu_ld+set}" = set; then :
5463 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5469 if test "$GCC" = yes; then
5470 # Check if gcc -print-prog-name=ld gives a path.
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5472 $as_echo_n "checking for ld used by $CC... " >&6; }
5475 # gcc leaves a trailing carriage return which upsets mingw
5476 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5478 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5481 # Accept absolute paths.
5483 re_direlt='/[^/][^/]*/\.\./'
5484 # Canonicalize the pathname of ld
5485 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5486 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5487 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5489 test -z "$LD" && LD="$ac_prog"
5492 # If it fails, then pretend we aren't using GCC.
5496 # If it is relative, then search for the first ld in PATH.
5500 elif test "$with_gnu_ld" = yes; then
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5502 $as_echo_n "checking for GNU ld... " >&6; }
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5505 $as_echo_n "checking for non-GNU ld... " >&6; }
5507 if ${lt_cv_path_LD+:} false; then :
5508 $as_echo_n "(cached) " >&6
5510 if test -z "$LD"; then
5511 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5512 for ac_dir in $PATH; do
5514 test -z "$ac_dir" && ac_dir=.
5515 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5516 lt_cv_path_LD="$ac_dir/$ac_prog"
5517 # Check to see if the program is GNU ld. I'd rather use --version,
5518 # but apparently some variants of GNU ld only accept -v.
5519 # Break only if it was the GNU/non-GNU ld that we prefer.
5520 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5521 *GNU* | *'with BFD'*)
5522 test "$with_gnu_ld" != no && break
5525 test "$with_gnu_ld" != yes && break
5532 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5537 if test -n "$LD"; then
5538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5539 $as_echo "$LD" >&6; }
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5542 $as_echo "no" >&6; }
5544 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5546 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5547 if ${lt_cv_prog_gnu_ld+:} false; then :
5548 $as_echo_n "(cached) " >&6
5550 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5551 case `$LD -v 2>&1 </dev/null` in
5552 *GNU* | *'with BFD'*)
5553 lt_cv_prog_gnu_ld=yes
5556 lt_cv_prog_gnu_ld=no
5560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5561 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5562 with_gnu_ld=$lt_cv_prog_gnu_ld
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5573 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5574 if ${lt_cv_path_NM+:} false; then :
5575 $as_echo_n "(cached) " >&6
5577 if test -n "$NM"; then
5578 # Let the user override the test.
5581 lt_nm_to_check="${ac_tool_prefix}nm"
5582 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5583 lt_nm_to_check="$lt_nm_to_check nm"
5585 for lt_tmp_nm in $lt_nm_to_check; do
5586 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5587 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5589 test -z "$ac_dir" && ac_dir=.
5590 tmp_nm="$ac_dir/$lt_tmp_nm"
5591 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5592 # Check to see if the nm accepts a BSD-compat flag.
5593 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5594 # nm: unknown option "B" ignored
5595 # Tru64's nm complains that /dev/null is an invalid object file
5596 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5597 */dev/null* | *'Invalid file or object type'*)
5598 lt_cv_path_NM="$tmp_nm -B"
5602 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5604 lt_cv_path_NM="$tmp_nm -p"
5608 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5609 continue # so that we can try to find one that supports BSD flags
5618 : ${lt_cv_path_NM=no}
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5622 $as_echo "$lt_cv_path_NM" >&6; }
5623 if test "$lt_cv_path_NM" != "no"; then
5626 # Didn't find any BSD compatible name lister, look for dumpbin.
5627 if test -n "$DUMPBIN"; then :
5628 # Let the user override the test.
5630 if test -n "$ac_tool_prefix"; then
5631 for ac_prog in dumpbin "link -dump"
5633 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5634 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_DUMPBIN+:} false; then :
5638 $as_echo_n "(cached) " >&6
5640 if test -n "$DUMPBIN"; then
5641 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5660 DUMPBIN=$ac_cv_prog_DUMPBIN
5661 if test -n "$DUMPBIN"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5663 $as_echo "$DUMPBIN" >&6; }
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5670 test -n "$DUMPBIN" && break
5673 if test -z "$DUMPBIN"; then
5674 ac_ct_DUMPBIN=$DUMPBIN
5675 for ac_prog in dumpbin "link -dump"
5677 # Extract the first word of "$ac_prog", so it can be a program name with args.
5678 set dummy $ac_prog; ac_word=$2
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5680 $as_echo_n "checking for $ac_word... " >&6; }
5681 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5682 $as_echo_n "(cached) " >&6
5684 if test -n "$ac_ct_DUMPBIN"; then
5685 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5691 test -z "$as_dir" && as_dir=.
5692 for ac_exec_ext in '' $ac_executable_extensions; do
5693 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5694 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5695 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5704 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5705 if test -n "$ac_ct_DUMPBIN"; then
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5707 $as_echo "$ac_ct_DUMPBIN" >&6; }
5709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5710 $as_echo "no" >&6; }
5714 test -n "$ac_ct_DUMPBIN" && break
5717 if test "x$ac_ct_DUMPBIN" = x; then
5720 case $cross_compiling:$ac_tool_warned in
5722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5723 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5724 ac_tool_warned=yes ;;
5726 DUMPBIN=$ac_ct_DUMPBIN
5730 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5732 DUMPBIN="$DUMPBIN -symbols"
5740 if test "$DUMPBIN" != ":"; then
5744 test -z "$NM" && NM=nm
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5752 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5753 if ${lt_cv_nm_interface+:} false; then :
5754 $as_echo_n "(cached) " >&6
5756 lt_cv_nm_interface="BSD nm"
5757 echo "int some_variable = 0;" > conftest.$ac_ext
5758 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5759 (eval "$ac_compile" 2>conftest.err)
5760 cat conftest.err >&5
5761 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5762 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5763 cat conftest.err >&5
5764 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5765 cat conftest.out >&5
5766 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5767 lt_cv_nm_interface="MS dumpbin"
5771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5772 $as_echo "$lt_cv_nm_interface" >&6; }
5774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5775 $as_echo_n "checking whether ln -s works... " >&6; }
5777 if test "$LN_S" = "ln -s"; then
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5779 $as_echo "yes" >&6; }
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5782 $as_echo "no, using $LN_S" >&6; }
5785 # find the maximum length of command line arguments
5786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5787 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5788 if ${lt_cv_sys_max_cmd_len+:} false; then :
5789 $as_echo_n "(cached) " >&6
5796 # On DJGPP, this test can blow up pretty badly due to problems in libc
5797 # (any single argument exceeding 2000 bytes causes a buffer overrun
5798 # during glob expansion). Even if it were fixed, the result of this
5799 # check would be larger than it should be.
5800 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5804 # Under GNU Hurd, this test is not required because there is
5805 # no limit to the length of command line arguments.
5806 # Libtool will interpret -1 as no limit whatsoever
5807 lt_cv_sys_max_cmd_len=-1;
5810 cygwin* | mingw* | cegcc*)
5811 # On Win9x/ME, this test blows up -- it succeeds, but takes
5812 # about 5 minutes as the teststring grows exponentially.
5813 # Worse, since 9x/ME are not pre-emptively multitasking,
5814 # you end up with a "frozen" computer, even though with patience
5815 # the test eventually succeeds (with a max line length of 256k).
5816 # Instead, let's just punt: use the minimum linelength reported by
5817 # all of the supported platforms: 8192 (on NT/2K/XP).
5818 lt_cv_sys_max_cmd_len=8192;
5822 # On MiNT this can take a long time and run out of memory.
5823 lt_cv_sys_max_cmd_len=8192;
5827 # On AmigaOS with pdksh, this test takes hours, literally.
5828 # So we just punt and use a minimum line length of 8192.
5829 lt_cv_sys_max_cmd_len=8192;
5832 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5833 # This has been around since 386BSD, at least. Likely further.
5834 if test -x /sbin/sysctl; then
5835 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5836 elif test -x /usr/sbin/sysctl; then
5837 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5839 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5841 # And add a safety zone
5842 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5843 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5847 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5848 lt_cv_sys_max_cmd_len=196608
5852 # The test takes a long time on OS/2.
5853 lt_cv_sys_max_cmd_len=8192
5857 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5858 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5859 # nice to cause kernel panics so lets avoid the loop below.
5860 # First set a reasonable default.
5861 lt_cv_sys_max_cmd_len=16384
5863 if test -x /sbin/sysconfig; then
5864 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5865 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5870 lt_cv_sys_max_cmd_len=102400
5872 sysv5* | sco5v6* | sysv4.2uw2*)
5873 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5874 if test -n "$kargmax"; then
5875 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5877 lt_cv_sys_max_cmd_len=32768
5881 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5882 if test -n "$lt_cv_sys_max_cmd_len" && \
5883 test undefined != "$lt_cv_sys_max_cmd_len"; then
5884 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5887 # Make teststring a little bigger before we do anything with it.
5888 # a 1K string should be a reasonable start.
5889 for i in 1 2 3 4 5 6 7 8 ; do
5890 teststring=$teststring$teststring
5892 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5893 # If test is not a shell built-in, we'll probably end up computing a
5894 # maximum length that is only half of the actual maximum length, but
5896 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5897 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5898 test $i != 17 # 1/2 MB should be enough
5901 teststring=$teststring$teststring
5903 # Only check the string length outside the loop.
5904 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5906 # Add a significant safety factor because C++ compilers can tack on
5907 # massive amounts of additional arguments before passing them to the
5908 # linker. It appears as though 1/2 is a usable value.
5909 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5916 if test -n $lt_cv_sys_max_cmd_len ; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5918 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5921 $as_echo "none" >&6; }
5923 max_cmd_len=$lt_cv_sys_max_cmd_len
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5935 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5936 # Try some XSI features
5939 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5941 && eval 'test $(( 1 + 1 )) -eq 2 \
5942 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5945 $as_echo "$xsi_shell" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5949 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5951 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5953 && lt_shell_append=yes
5954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5955 $as_echo "$lt_shell_append" >&6; }
5958 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5968 # test EBCDIC or ASCII
5969 case `echo X|tr X '\101'` in
5970 A) # ASCII based system
5971 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
5972 lt_SP2NL='tr \040 \012'
5973 lt_NL2SP='tr \015\012 \040\040'
5975 *) # EBCDIC based system
5976 lt_SP2NL='tr \100 \n'
5977 lt_NL2SP='tr \r\n \100\100'
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
5990 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
5991 if ${lt_cv_to_host_file_cmd+:} false; then :
5992 $as_echo_n "(cached) " >&6
5997 *-*-mingw* ) # actually msys
5998 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6001 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6003 * ) # otherwise, assume *nix
6004 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6010 *-*-mingw* ) # actually msys
6011 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6014 lt_cv_to_host_file_cmd=func_convert_file_noop
6016 * ) # otherwise, assume *nix
6017 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6021 * ) # unhandled hosts (and "normal" native builds)
6022 lt_cv_to_host_file_cmd=func_convert_file_noop
6028 to_host_file_cmd=$lt_cv_to_host_file_cmd
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6030 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6037 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6038 if ${lt_cv_to_tool_file_cmd+:} false; then :
6039 $as_echo_n "(cached) " >&6
6041 #assume ordinary cross tools, or native build.
6042 lt_cv_to_tool_file_cmd=func_convert_file_noop
6046 *-*-mingw* ) # actually msys
6047 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6055 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6057 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6064 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6065 if ${lt_cv_ld_reload_flag+:} false; then :
6066 $as_echo_n "(cached) " >&6
6068 lt_cv_ld_reload_flag='-r'
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6071 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6072 reload_flag=$lt_cv_ld_reload_flag
6073 case $reload_flag in
6075 *) reload_flag=" $reload_flag" ;;
6077 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6079 cygwin* | mingw* | pw32* | cegcc*)
6080 if test "$GCC" != yes; then
6085 if test "$GCC" = yes; then
6086 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6088 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6101 if test -n "$ac_tool_prefix"; then
6102 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6103 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6105 $as_echo_n "checking for $ac_word... " >&6; }
6106 if ${ac_cv_prog_OBJDUMP+:} false; then :
6107 $as_echo_n "(cached) " >&6
6109 if test -n "$OBJDUMP"; then
6110 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6112 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6116 test -z "$as_dir" && as_dir=.
6117 for ac_exec_ext in '' $ac_executable_extensions; do
6118 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6119 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6120 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6129 OBJDUMP=$ac_cv_prog_OBJDUMP
6130 if test -n "$OBJDUMP"; then
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6132 $as_echo "$OBJDUMP" >&6; }
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6135 $as_echo "no" >&6; }
6140 if test -z "$ac_cv_prog_OBJDUMP"; then
6141 ac_ct_OBJDUMP=$OBJDUMP
6142 # Extract the first word of "objdump", so it can be a program name with args.
6143 set dummy objdump; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6147 $as_echo_n "(cached) " >&6
6149 if test -n "$ac_ct_OBJDUMP"; then
6150 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6169 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6170 if test -n "$ac_ct_OBJDUMP"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6172 $as_echo "$ac_ct_OBJDUMP" >&6; }
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6178 if test "x$ac_ct_OBJDUMP" = x; then
6181 case $cross_compiling:$ac_tool_warned in
6183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6184 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6185 ac_tool_warned=yes ;;
6187 OBJDUMP=$ac_ct_OBJDUMP
6190 OBJDUMP="$ac_cv_prog_OBJDUMP"
6193 test -z "$OBJDUMP" && OBJDUMP=objdump
6203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6204 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6205 if ${lt_cv_deplibs_check_method+:} false; then :
6206 $as_echo_n "(cached) " >&6
6208 lt_cv_file_magic_cmd='$MAGIC_CMD'
6209 lt_cv_file_magic_test_file=
6210 lt_cv_deplibs_check_method='unknown'
6211 # Need to set the preceding variable on all platforms that support
6212 # interlibrary dependencies.
6213 # 'none' -- dependencies not supported.
6214 # `unknown' -- same as none, but documents that we really don't know.
6215 # 'pass_all' -- all dependencies passed with no checks.
6216 # 'test_compile' -- check by making test program.
6217 # 'file_magic [[regex]]' -- check by looking for files in library path
6218 # which responds to the $file_magic_cmd with a given extended regex.
6219 # If you have `file' or equivalent on your system and you're not sure
6220 # whether `pass_all' will *always* work, you probably want this one.
6224 lt_cv_deplibs_check_method=pass_all
6228 lt_cv_deplibs_check_method=pass_all
6232 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6233 lt_cv_file_magic_cmd='/usr/bin/file -L'
6234 lt_cv_file_magic_test_file=/shlib/libc.so
6238 # func_win32_libid is a shell function defined in ltmain.sh
6239 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6240 lt_cv_file_magic_cmd='func_win32_libid'
6244 # Base MSYS/MinGW do not provide the 'file' command needed by
6245 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6246 # unless we find 'file', for example because we are cross-compiling.
6247 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6248 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6249 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6250 lt_cv_file_magic_cmd='func_win32_libid'
6252 # Keep this pattern in sync with the one in func_win32_libid.
6253 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6254 lt_cv_file_magic_cmd='$OBJDUMP -f'
6259 # use the weaker test based on 'objdump'. See mingw*.
6260 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6261 lt_cv_file_magic_cmd='$OBJDUMP -f'
6264 darwin* | rhapsody*)
6265 lt_cv_deplibs_check_method=pass_all
6268 freebsd* | dragonfly*)
6269 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6272 # Not sure whether the presence of OpenBSD here was a mistake.
6273 # Let's accept both of them until this is cleared up.
6274 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6275 lt_cv_file_magic_cmd=/usr/bin/file
6276 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6280 lt_cv_deplibs_check_method=pass_all
6285 lt_cv_deplibs_check_method=pass_all
6288 hpux10.20* | hpux11*)
6289 lt_cv_file_magic_cmd=/usr/bin/file
6292 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6293 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6296 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]'
6297 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6300 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6301 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6307 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6308 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6311 irix5* | irix6* | nonstopux*)
6313 *-32|*"-32 ") libmagic=32-bit;;
6314 *-n32|*"-n32 ") libmagic=N32;;
6315 *-64|*"-64 ") libmagic=64-bit;;
6316 *) libmagic=never-match;;
6318 lt_cv_deplibs_check_method=pass_all
6321 # This must be glibc/ELF.
6322 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6323 lt_cv_deplibs_check_method=pass_all
6326 netbsd* | netbsdelf*-gnu)
6327 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6328 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6330 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6335 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6336 lt_cv_file_magic_cmd=/usr/bin/file
6337 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6341 lt_cv_deplibs_check_method=pass_all
6345 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6346 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6348 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6352 osf3* | osf4* | osf5*)
6353 lt_cv_deplibs_check_method=pass_all
6357 lt_cv_deplibs_check_method=pass_all
6361 lt_cv_deplibs_check_method=pass_all
6364 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6365 lt_cv_deplibs_check_method=pass_all
6369 case $host_vendor in
6371 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
6372 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6375 lt_cv_deplibs_check_method=pass_all
6378 lt_cv_file_magic_cmd='/bin/file'
6379 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6382 lt_cv_file_magic_cmd='/bin/file'
6383 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6384 lt_cv_file_magic_test_file=/lib/libc.so
6387 lt_cv_deplibs_check_method=pass_all
6390 lt_cv_deplibs_check_method=pass_all
6396 lt_cv_deplibs_check_method=pass_all
6401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6402 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6406 if test "$build" = "$host"; then
6409 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6412 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6418 file_magic_cmd=$lt_cv_file_magic_cmd
6419 deplibs_check_method=$lt_cv_deplibs_check_method
6420 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6443 if test -n "$ac_tool_prefix"; then
6444 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6445 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6447 $as_echo_n "checking for $ac_word... " >&6; }
6448 if ${ac_cv_prog_DLLTOOL+:} false; then :
6449 $as_echo_n "(cached) " >&6
6451 if test -n "$DLLTOOL"; then
6452 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6454 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6458 test -z "$as_dir" && as_dir=.
6459 for ac_exec_ext in '' $ac_executable_extensions; do
6460 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6461 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6462 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6471 DLLTOOL=$ac_cv_prog_DLLTOOL
6472 if test -n "$DLLTOOL"; then
6473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6474 $as_echo "$DLLTOOL" >&6; }
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6477 $as_echo "no" >&6; }
6482 if test -z "$ac_cv_prog_DLLTOOL"; then
6483 ac_ct_DLLTOOL=$DLLTOOL
6484 # Extract the first word of "dlltool", so it can be a program name with args.
6485 set dummy dlltool; ac_word=$2
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6487 $as_echo_n "checking for $ac_word... " >&6; }
6488 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6489 $as_echo_n "(cached) " >&6
6491 if test -n "$ac_ct_DLLTOOL"; then
6492 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6494 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6498 test -z "$as_dir" && as_dir=.
6499 for ac_exec_ext in '' $ac_executable_extensions; do
6500 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6501 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6502 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6511 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6512 if test -n "$ac_ct_DLLTOOL"; then
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6514 $as_echo "$ac_ct_DLLTOOL" >&6; }
6516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6517 $as_echo "no" >&6; }
6520 if test "x$ac_ct_DLLTOOL" = x; then
6523 case $cross_compiling:$ac_tool_warned in
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6526 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6527 ac_tool_warned=yes ;;
6529 DLLTOOL=$ac_ct_DLLTOOL
6532 DLLTOOL="$ac_cv_prog_DLLTOOL"
6535 test -z "$DLLTOOL" && DLLTOOL=dlltool
6546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6547 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6548 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6549 $as_echo_n "(cached) " >&6
6551 lt_cv_sharedlib_from_linklib_cmd='unknown'
6554 cygwin* | mingw* | pw32* | cegcc*)
6555 # two different shell functions defined in ltmain.sh
6556 # decide which to use based on capabilities of $DLLTOOL
6557 case `$DLLTOOL --help 2>&1` in
6558 *--identify-strict*)
6559 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6562 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6567 # fallback: assume linklib IS sharedlib
6568 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6574 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6575 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6576 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6584 if test -n "$ac_tool_prefix"; then
6587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 $as_echo_n "checking for $ac_word... " >&6; }
6591 if ${ac_cv_prog_AR+:} false; then :
6592 $as_echo_n "(cached) " >&6
6594 if test -n "$AR"; then
6595 ac_cv_prog_AR="$AR" # Let the user override the test.
6597 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6601 test -z "$as_dir" && as_dir=.
6602 for ac_exec_ext in '' $ac_executable_extensions; do
6603 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6604 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6605 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6615 if test -n "$AR"; then
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6617 $as_echo "$AR" >&6; }
6619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6620 $as_echo "no" >&6; }
6624 test -n "$AR" && break
6627 if test -z "$AR"; then
6631 # Extract the first word of "$ac_prog", so it can be a program name with args.
6632 set dummy $ac_prog; ac_word=$2
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6634 $as_echo_n "checking for $ac_word... " >&6; }
6635 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6636 $as_echo_n "(cached) " >&6
6638 if test -n "$ac_ct_AR"; then
6639 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6645 test -z "$as_dir" && as_dir=.
6646 for ac_exec_ext in '' $ac_executable_extensions; do
6647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6648 ac_cv_prog_ac_ct_AR="$ac_prog"
6649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6658 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6659 if test -n "$ac_ct_AR"; then
6660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6661 $as_echo "$ac_ct_AR" >&6; }
6663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6664 $as_echo "no" >&6; }
6668 test -n "$ac_ct_AR" && break
6671 if test "x$ac_ct_AR" = x; then
6674 case $cross_compiling:$ac_tool_warned in
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6677 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6678 ac_tool_warned=yes ;;
6697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6698 $as_echo_n "checking for archiver @FILE support... " >&6; }
6699 if ${lt_cv_ar_at_file+:} false; then :
6700 $as_echo_n "(cached) " >&6
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6714 if ac_fn_c_try_compile "$LINENO"; then :
6715 echo conftest.$ac_objext > conftest.lst
6716 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6717 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6718 (eval $lt_ar_try) 2>&5
6720 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6721 test $ac_status = 0; }
6722 if test "$ac_status" -eq 0; then
6723 # Ensure the archiver fails upon bogus file names.
6724 rm -f conftest.$ac_objext libconftest.a
6725 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6726 (eval $lt_ar_try) 2>&5
6728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6729 test $ac_status = 0; }
6730 if test "$ac_status" -ne 0; then
6734 rm -f conftest.* libconftest.a
6737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6741 $as_echo "$lt_cv_ar_at_file" >&6; }
6743 if test "x$lt_cv_ar_at_file" = xno; then
6746 archiver_list_spec=$lt_cv_ar_at_file
6755 if test -n "$ac_tool_prefix"; then
6756 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6757 set dummy ${ac_tool_prefix}strip; ac_word=$2
6758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6759 $as_echo_n "checking for $ac_word... " >&6; }
6760 if ${ac_cv_prog_STRIP+:} false; then :
6761 $as_echo_n "(cached) " >&6
6763 if test -n "$STRIP"; then
6764 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6770 test -z "$as_dir" && as_dir=.
6771 for ac_exec_ext in '' $ac_executable_extensions; do
6772 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6773 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6774 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6783 STRIP=$ac_cv_prog_STRIP
6784 if test -n "$STRIP"; then
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6786 $as_echo "$STRIP" >&6; }
6788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6789 $as_echo "no" >&6; }
6794 if test -z "$ac_cv_prog_STRIP"; then
6796 # Extract the first word of "strip", so it can be a program name with args.
6797 set dummy strip; ac_word=$2
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6799 $as_echo_n "checking for $ac_word... " >&6; }
6800 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6801 $as_echo_n "(cached) " >&6
6803 if test -n "$ac_ct_STRIP"; then
6804 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6806 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6810 test -z "$as_dir" && as_dir=.
6811 for ac_exec_ext in '' $ac_executable_extensions; do
6812 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6813 ac_cv_prog_ac_ct_STRIP="strip"
6814 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6823 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6824 if test -n "$ac_ct_STRIP"; then
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6826 $as_echo "$ac_ct_STRIP" >&6; }
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6829 $as_echo "no" >&6; }
6832 if test "x$ac_ct_STRIP" = x; then
6835 case $cross_compiling:$ac_tool_warned in
6837 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6838 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6839 ac_tool_warned=yes ;;
6844 STRIP="$ac_cv_prog_STRIP"
6847 test -z "$STRIP" && STRIP=:
6854 if test -n "$ac_tool_prefix"; then
6855 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6856 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6858 $as_echo_n "checking for $ac_word... " >&6; }
6859 if ${ac_cv_prog_RANLIB+:} false; then :
6860 $as_echo_n "(cached) " >&6
6862 if test -n "$RANLIB"; then
6863 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6869 test -z "$as_dir" && as_dir=.
6870 for ac_exec_ext in '' $ac_executable_extensions; do
6871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6872 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6882 RANLIB=$ac_cv_prog_RANLIB
6883 if test -n "$RANLIB"; then
6884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6885 $as_echo "$RANLIB" >&6; }
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6888 $as_echo "no" >&6; }
6893 if test -z "$ac_cv_prog_RANLIB"; then
6894 ac_ct_RANLIB=$RANLIB
6895 # Extract the first word of "ranlib", so it can be a program name with args.
6896 set dummy ranlib; ac_word=$2
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6898 $as_echo_n "checking for $ac_word... " >&6; }
6899 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6900 $as_echo_n "(cached) " >&6
6902 if test -n "$ac_ct_RANLIB"; then
6903 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6909 test -z "$as_dir" && as_dir=.
6910 for ac_exec_ext in '' $ac_executable_extensions; do
6911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6912 ac_cv_prog_ac_ct_RANLIB="ranlib"
6913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6922 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6923 if test -n "$ac_ct_RANLIB"; then
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6925 $as_echo "$ac_ct_RANLIB" >&6; }
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6928 $as_echo "no" >&6; }
6931 if test "x$ac_ct_RANLIB" = x; then
6934 case $cross_compiling:$ac_tool_warned in
6936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6938 ac_tool_warned=yes ;;
6940 RANLIB=$ac_ct_RANLIB
6943 RANLIB="$ac_cv_prog_RANLIB"
6946 test -z "$RANLIB" && RANLIB=:
6953 # Determine commands to create old-style static archives.
6954 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6955 old_postinstall_cmds='chmod 644 $oldlib'
6956 old_postuninstall_cmds=
6958 if test -n "$RANLIB"; then
6961 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6964 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6967 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
6972 lock_old_archive_extraction=yes ;;
6974 lock_old_archive_extraction=no ;;
7015 # If no C compiler was specified, use CC.
7018 # If no C compiler flags were specified, use CFLAGS.
7019 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7021 # Allow CC to be a program name with arguments.
7025 # Check for command to grab the raw symbol name followed by C symbol from nm.
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7027 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7028 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7029 $as_echo_n "(cached) " >&6
7032 # These are sane defaults that work on at least a few old systems.
7033 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7035 # Character class describing NM global symbol codes.
7036 symcode='[BCDEGRST]'
7038 # Regexp to match symbols that can be accessed directly from C.
7039 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7041 # Define system-specific variables.
7046 cygwin* | mingw* | pw32* | cegcc*)
7047 symcode='[ABCDGISTW]'
7050 if test "$host_cpu" = ia64; then
7051 symcode='[ABCDEGRST]'
7055 symcode='[BCDEGRST]'
7058 symcode='[BCDEGQRST]'
7069 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7077 # If we're using GNU nm, then use its standard symbol codes.
7078 case `$NM -V 2>&1` in
7079 *GNU* | *'with BFD'*)
7080 symcode='[ABCDGIRSTW]' ;;
7083 # Transform an extracted symbol line into a proper C declaration.
7084 # Some systems (esp. on ia64) link data and code symbols differently,
7085 # so use this general approach.
7086 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7088 # Transform an extracted symbol line into symbol name and symbol address
7089 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7090 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
7092 # Handle CRLF in mingw tool chain
7096 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7100 # Try without a prefix underscore, then with it.
7101 for ac_symprfx in "" "_"; do
7103 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7104 symxfrm="\\1 $ac_symprfx\\2 \\2"
7106 # Write the raw and C identifiers.
7107 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7108 # Fake it for dumpbin and say T for any non-static function
7109 # and D for any global variable.
7110 # Also find C++ and __fastcall symbols from MSVC++,
7111 # which start with @ or ?.
7112 lt_cv_sys_global_symbol_pipe="$AWK '"\
7113 " {last_section=section; section=\$ 3};"\
7114 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7115 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7116 " \$ 0!~/External *\|/{next};"\
7117 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7118 " {if(hide[section]) next};"\
7119 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7120 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7121 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7122 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7123 " ' prfx=^$ac_symprfx"
7125 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7127 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7129 # Check to see that the pipe works correctly.
7133 cat > conftest.$ac_ext <<_LT_EOF
7138 void nm_test_func(void);
7139 void nm_test_func(void){}
7143 int main(){nm_test_var='a';nm_test_func();return(0);}
7146 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7147 (eval $ac_compile) 2>&5
7149 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7150 test $ac_status = 0; }; then
7151 # Now try to grab the symbols.
7153 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7154 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7156 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7157 test $ac_status = 0; } && test -s "$nlist"; then
7158 # Try sorting and uniquifying the output.
7159 if sort "$nlist" | uniq > "$nlist"T; then
7160 mv -f "$nlist"T "$nlist"
7165 # Make sure that we snagged all the symbols we need.
7166 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7167 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7168 cat <<_LT_EOF > conftest.$ac_ext
7169 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7170 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7171 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7172 relocations are performed -- see ld's documentation on pseudo-relocs. */
7173 # define LT_DLSYM_CONST
7174 #elif defined(__osf__)
7175 /* This system does not cope well with relocations in const data. */
7176 # define LT_DLSYM_CONST
7178 # define LT_DLSYM_CONST const
7186 # Now generate the symbol file.
7187 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7189 cat <<_LT_EOF >> conftest.$ac_ext
7191 /* The mapping between symbol names and symbols. */
7192 LT_DLSYM_CONST struct {
7196 lt__PROGRAM__LTX_preloaded_symbols[] =
7198 { "@PROGRAM@", (void *) 0 },
7200 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7201 cat <<\_LT_EOF >> conftest.$ac_ext
7205 /* This works around a problem in FreeBSD linker */
7206 #ifdef FREEBSD_WORKAROUND
7207 static const void *lt_preloaded_setup() {
7208 return lt__PROGRAM__LTX_preloaded_symbols;
7216 # Now try linking the two files.
7217 mv conftest.$ac_objext conftstm.$ac_objext
7218 lt_globsym_save_LIBS=$LIBS
7219 lt_globsym_save_CFLAGS=$CFLAGS
7220 LIBS="conftstm.$ac_objext"
7221 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7223 (eval $ac_link) 2>&5
7225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7226 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7229 LIBS=$lt_globsym_save_LIBS
7230 CFLAGS=$lt_globsym_save_CFLAGS
7232 echo "cannot find nm_test_func in $nlist" >&5
7235 echo "cannot find nm_test_var in $nlist" >&5
7238 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7241 echo "$progname: failed program was:" >&5
7242 cat conftest.$ac_ext >&5
7244 rm -rf conftest* conftst*
7246 # Do not use the global_symbol_pipe unless it works.
7247 if test "$pipe_works" = yes; then
7250 lt_cv_sys_global_symbol_pipe=
7256 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7257 lt_cv_sys_global_symbol_to_cdecl=
7259 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7261 $as_echo "failed" >&6; }
7263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7264 $as_echo "ok" >&6; }
7267 # Response file support.
7268 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7269 nm_file_list_spec='@'
7270 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7271 nm_file_list_spec='@'
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7301 $as_echo_n "checking for sysroot... " >&6; }
7303 # Check whether --with-sysroot was given.
7304 if test "${with_sysroot+set}" = set; then :
7305 withval=$with_sysroot;
7312 case ${with_sysroot} in #(
7314 if test "$GCC" = yes; then
7315 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7319 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7325 $as_echo "${with_sysroot}" >&6; }
7326 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7331 $as_echo "${lt_sysroot:-no}" >&6; }
7337 # Check whether --enable-libtool-lock was given.
7338 if test "${enable_libtool_lock+set}" = set; then :
7339 enableval=$enable_libtool_lock;
7342 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7344 # Some flags need to be propagated to the compiler or linker for good
7348 # Find out which ABI we are using.
7349 echo 'int i;' > conftest.$ac_ext
7350 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7351 (eval $ac_compile) 2>&5
7353 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7354 test $ac_status = 0; }; then
7355 case `/usr/bin/file conftest.$ac_objext` in
7367 # Find out which ABI we are using.
7368 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7369 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7370 (eval $ac_compile) 2>&5
7372 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7373 test $ac_status = 0; }; then
7374 if test "$lt_cv_prog_gnu_ld" = yes; then
7375 case `/usr/bin/file conftest.$ac_objext` in
7377 LD="${LD-ld} -melf32bsmip"
7380 LD="${LD-ld} -melf32bmipn32"
7383 LD="${LD-ld} -melf64bmip"
7387 case `/usr/bin/file conftest.$ac_objext` in
7403 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
7404 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7405 # Find out which ABI we are using.
7406 echo 'int i;' > conftest.$ac_ext
7407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7408 (eval $ac_compile) 2>&5
7410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7411 test $ac_status = 0; }; then
7412 case `/usr/bin/file conftest.o` in
7415 x86_64-*kfreebsd*-gnu)
7416 LD="${LD-ld} -m elf_i386_fbsd"
7419 case `/usr/bin/file conftest.o` in
7421 LD="${LD-ld} -m elf32_x86_64"
7424 LD="${LD-ld} -m elf_i386"
7428 ppc64-*linux*|powerpc64-*linux*)
7429 LD="${LD-ld} -m elf32ppclinux"
7432 LD="${LD-ld} -m elf_s390"
7435 LD="${LD-ld} -m elf32_sparc"
7441 x86_64-*kfreebsd*-gnu)
7442 LD="${LD-ld} -m elf_x86_64_fbsd"
7445 LD="${LD-ld} -m elf_x86_64"
7447 ppc*-*linux*|powerpc*-*linux*)
7448 LD="${LD-ld} -m elf64ppc"
7450 s390*-*linux*|s390*-*tpf*)
7451 LD="${LD-ld} -m elf64_s390"
7454 LD="${LD-ld} -m elf64_sparc"
7464 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7465 SAVE_CFLAGS="$CFLAGS"
7466 CFLAGS="$CFLAGS -belf"
7467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7468 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7469 if ${lt_cv_cc_needs_belf+:} false; then :
7470 $as_echo_n "(cached) " >&6
7473 ac_cpp='$CPP $CPPFLAGS'
7474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7479 /* end confdefs.h. */
7489 if ac_fn_c_try_link "$LINENO"; then :
7490 lt_cv_cc_needs_belf=yes
7492 lt_cv_cc_needs_belf=no
7494 rm -f core conftest.err conftest.$ac_objext \
7495 conftest$ac_exeext conftest.$ac_ext
7497 ac_cpp='$CPP $CPPFLAGS'
7498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7504 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7505 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7506 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7507 CFLAGS="$SAVE_CFLAGS"
7511 # Find out which ABI we are using.
7512 echo 'int i;' > conftest.$ac_ext
7513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7514 (eval $ac_compile) 2>&5
7516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7517 test $ac_status = 0; }; then
7518 case `/usr/bin/file conftest.o` in
7520 case $lt_cv_prog_gnu_ld in
7524 LD="${LD-ld} -m elf_x86_64"
7527 LD="${LD-ld} -m elf64_sparc"
7530 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7531 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7536 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7548 need_locks="$enable_libtool_lock"
7550 if test -n "$ac_tool_prefix"; then
7551 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7552 set dummy ${ac_tool_prefix}mt; ac_word=$2
7553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7554 $as_echo_n "checking for $ac_word... " >&6; }
7555 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7556 $as_echo_n "(cached) " >&6
7558 if test -n "$MANIFEST_TOOL"; then
7559 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7565 test -z "$as_dir" && as_dir=.
7566 for ac_exec_ext in '' $ac_executable_extensions; do
7567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7568 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7578 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7579 if test -n "$MANIFEST_TOOL"; then
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7581 $as_echo "$MANIFEST_TOOL" >&6; }
7583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7584 $as_echo "no" >&6; }
7589 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7590 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7591 # Extract the first word of "mt", so it can be a program name with args.
7592 set dummy mt; ac_word=$2
7593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594 $as_echo_n "checking for $ac_word... " >&6; }
7595 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7596 $as_echo_n "(cached) " >&6
7598 if test -n "$ac_ct_MANIFEST_TOOL"; then
7599 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7605 test -z "$as_dir" && as_dir=.
7606 for ac_exec_ext in '' $ac_executable_extensions; do
7607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7608 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7618 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7619 if test -n "$ac_ct_MANIFEST_TOOL"; then
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7621 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7624 $as_echo "no" >&6; }
7627 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7630 case $cross_compiling:$ac_tool_warned in
7632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7634 ac_tool_warned=yes ;;
7636 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7639 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7642 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7644 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7645 if ${lt_cv_path_mainfest_tool+:} false; then :
7646 $as_echo_n "(cached) " >&6
7648 lt_cv_path_mainfest_tool=no
7649 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7650 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7651 cat conftest.err >&5
7652 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7653 lt_cv_path_mainfest_tool=yes
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7658 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7659 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7669 rhapsody* | darwin*)
7670 if test -n "$ac_tool_prefix"; then
7671 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7672 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7674 $as_echo_n "checking for $ac_word... " >&6; }
7675 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7676 $as_echo_n "(cached) " >&6
7678 if test -n "$DSYMUTIL"; then
7679 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7685 test -z "$as_dir" && as_dir=.
7686 for ac_exec_ext in '' $ac_executable_extensions; do
7687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7688 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7698 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7699 if test -n "$DSYMUTIL"; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7701 $as_echo "$DSYMUTIL" >&6; }
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7704 $as_echo "no" >&6; }
7709 if test -z "$ac_cv_prog_DSYMUTIL"; then
7710 ac_ct_DSYMUTIL=$DSYMUTIL
7711 # Extract the first word of "dsymutil", so it can be a program name with args.
7712 set dummy dsymutil; ac_word=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7714 $as_echo_n "checking for $ac_word... " >&6; }
7715 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7716 $as_echo_n "(cached) " >&6
7718 if test -n "$ac_ct_DSYMUTIL"; then
7719 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7725 test -z "$as_dir" && as_dir=.
7726 for ac_exec_ext in '' $ac_executable_extensions; do
7727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7728 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7738 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7739 if test -n "$ac_ct_DSYMUTIL"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7741 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 $as_echo "no" >&6; }
7747 if test "x$ac_ct_DSYMUTIL" = x; then
7750 case $cross_compiling:$ac_tool_warned in
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7754 ac_tool_warned=yes ;;
7756 DSYMUTIL=$ac_ct_DSYMUTIL
7759 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7762 if test -n "$ac_tool_prefix"; then
7763 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7764 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7766 $as_echo_n "checking for $ac_word... " >&6; }
7767 if ${ac_cv_prog_NMEDIT+:} false; then :
7768 $as_echo_n "(cached) " >&6
7770 if test -n "$NMEDIT"; then
7771 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7777 test -z "$as_dir" && as_dir=.
7778 for ac_exec_ext in '' $ac_executable_extensions; do
7779 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7780 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7781 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7790 NMEDIT=$ac_cv_prog_NMEDIT
7791 if test -n "$NMEDIT"; then
7792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7793 $as_echo "$NMEDIT" >&6; }
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7796 $as_echo "no" >&6; }
7801 if test -z "$ac_cv_prog_NMEDIT"; then
7802 ac_ct_NMEDIT=$NMEDIT
7803 # Extract the first word of "nmedit", so it can be a program name with args.
7804 set dummy nmedit; ac_word=$2
7805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7806 $as_echo_n "checking for $ac_word... " >&6; }
7807 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7808 $as_echo_n "(cached) " >&6
7810 if test -n "$ac_ct_NMEDIT"; then
7811 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7813 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 test -z "$as_dir" && as_dir=.
7818 for ac_exec_ext in '' $ac_executable_extensions; do
7819 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7820 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7821 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7830 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7831 if test -n "$ac_ct_NMEDIT"; then
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7833 $as_echo "$ac_ct_NMEDIT" >&6; }
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7836 $as_echo "no" >&6; }
7839 if test "x$ac_ct_NMEDIT" = x; then
7842 case $cross_compiling:$ac_tool_warned in
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7845 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7846 ac_tool_warned=yes ;;
7848 NMEDIT=$ac_ct_NMEDIT
7851 NMEDIT="$ac_cv_prog_NMEDIT"
7854 if test -n "$ac_tool_prefix"; then
7855 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7856 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7858 $as_echo_n "checking for $ac_word... " >&6; }
7859 if ${ac_cv_prog_LIPO+:} false; then :
7860 $as_echo_n "(cached) " >&6
7862 if test -n "$LIPO"; then
7863 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 test -z "$as_dir" && as_dir=.
7870 for ac_exec_ext in '' $ac_executable_extensions; do
7871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7872 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7882 LIPO=$ac_cv_prog_LIPO
7883 if test -n "$LIPO"; then
7884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7885 $as_echo "$LIPO" >&6; }
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7888 $as_echo "no" >&6; }
7893 if test -z "$ac_cv_prog_LIPO"; then
7895 # Extract the first word of "lipo", so it can be a program name with args.
7896 set dummy lipo; ac_word=$2
7897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7898 $as_echo_n "checking for $ac_word... " >&6; }
7899 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7900 $as_echo_n "(cached) " >&6
7902 if test -n "$ac_ct_LIPO"; then
7903 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7909 test -z "$as_dir" && as_dir=.
7910 for ac_exec_ext in '' $ac_executable_extensions; do
7911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7912 ac_cv_prog_ac_ct_LIPO="lipo"
7913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7922 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7923 if test -n "$ac_ct_LIPO"; then
7924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7925 $as_echo "$ac_ct_LIPO" >&6; }
7927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7928 $as_echo "no" >&6; }
7931 if test "x$ac_ct_LIPO" = x; then
7934 case $cross_compiling:$ac_tool_warned in
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7938 ac_tool_warned=yes ;;
7943 LIPO="$ac_cv_prog_LIPO"
7946 if test -n "$ac_tool_prefix"; then
7947 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7948 set dummy ${ac_tool_prefix}otool; ac_word=$2
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7950 $as_echo_n "checking for $ac_word... " >&6; }
7951 if ${ac_cv_prog_OTOOL+:} false; then :
7952 $as_echo_n "(cached) " >&6
7954 if test -n "$OTOOL"; then
7955 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7961 test -z "$as_dir" && as_dir=.
7962 for ac_exec_ext in '' $ac_executable_extensions; do
7963 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7964 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7965 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7974 OTOOL=$ac_cv_prog_OTOOL
7975 if test -n "$OTOOL"; then
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7977 $as_echo "$OTOOL" >&6; }
7979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7980 $as_echo "no" >&6; }
7985 if test -z "$ac_cv_prog_OTOOL"; then
7987 # Extract the first word of "otool", so it can be a program name with args.
7988 set dummy otool; ac_word=$2
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7990 $as_echo_n "checking for $ac_word... " >&6; }
7991 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7992 $as_echo_n "(cached) " >&6
7994 if test -n "$ac_ct_OTOOL"; then
7995 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7997 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8001 test -z "$as_dir" && as_dir=.
8002 for ac_exec_ext in '' $ac_executable_extensions; do
8003 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8004 ac_cv_prog_ac_ct_OTOOL="otool"
8005 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8014 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8015 if test -n "$ac_ct_OTOOL"; then
8016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8017 $as_echo "$ac_ct_OTOOL" >&6; }
8019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8020 $as_echo "no" >&6; }
8023 if test "x$ac_ct_OTOOL" = x; then
8026 case $cross_compiling:$ac_tool_warned in
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8029 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8030 ac_tool_warned=yes ;;
8035 OTOOL="$ac_cv_prog_OTOOL"
8038 if test -n "$ac_tool_prefix"; then
8039 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8040 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8042 $as_echo_n "checking for $ac_word... " >&6; }
8043 if ${ac_cv_prog_OTOOL64+:} false; then :
8044 $as_echo_n "(cached) " >&6
8046 if test -n "$OTOOL64"; then
8047 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8053 test -z "$as_dir" && as_dir=.
8054 for ac_exec_ext in '' $ac_executable_extensions; do
8055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8056 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8066 OTOOL64=$ac_cv_prog_OTOOL64
8067 if test -n "$OTOOL64"; then
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8069 $as_echo "$OTOOL64" >&6; }
8071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8072 $as_echo "no" >&6; }
8077 if test -z "$ac_cv_prog_OTOOL64"; then
8078 ac_ct_OTOOL64=$OTOOL64
8079 # Extract the first word of "otool64", so it can be a program name with args.
8080 set dummy otool64; ac_word=$2
8081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8082 $as_echo_n "checking for $ac_word... " >&6; }
8083 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8084 $as_echo_n "(cached) " >&6
8086 if test -n "$ac_ct_OTOOL64"; then
8087 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8093 test -z "$as_dir" && as_dir=.
8094 for ac_exec_ext in '' $ac_executable_extensions; do
8095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8096 ac_cv_prog_ac_ct_OTOOL64="otool64"
8097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8106 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8107 if test -n "$ac_ct_OTOOL64"; then
8108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8109 $as_echo "$ac_ct_OTOOL64" >&6; }
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8112 $as_echo "no" >&6; }
8115 if test "x$ac_ct_OTOOL64" = x; then
8118 case $cross_compiling:$ac_tool_warned in
8120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8122 ac_tool_warned=yes ;;
8124 OTOOL64=$ac_ct_OTOOL64
8127 OTOOL64="$ac_cv_prog_OTOOL64"
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8157 $as_echo_n "checking for -single_module linker flag... " >&6; }
8158 if ${lt_cv_apple_cc_single_mod+:} false; then :
8159 $as_echo_n "(cached) " >&6
8161 lt_cv_apple_cc_single_mod=no
8162 if test -z "${LT_MULTI_MODULE}"; then
8163 # By default we will add the -single_module flag. You can override
8164 # by either setting the environment variable LT_MULTI_MODULE
8165 # non-empty at configure time, or by adding -multi_module to the
8167 rm -rf libconftest.dylib*
8168 echo "int foo(void){return 1;}" > conftest.c
8169 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8170 -dynamiclib -Wl,-single_module conftest.c" >&5
8171 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8172 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8174 # If there is a non-empty error log, and "single_module"
8175 # appears in it, assume the flag caused a linker warning
8176 if test -s conftest.err && $GREP single_module conftest.err; then
8177 cat conftest.err >&5
8178 # Otherwise, if the output was created with a 0 exit code from
8179 # the compiler, it worked.
8180 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8181 lt_cv_apple_cc_single_mod=yes
8183 cat conftest.err >&5
8185 rm -rf libconftest.dylib*
8189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8190 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8193 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8194 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8195 $as_echo_n "(cached) " >&6
8197 lt_cv_ld_exported_symbols_list=no
8198 save_LDFLAGS=$LDFLAGS
8199 echo "_main" > conftest.sym
8200 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8202 /* end confdefs.h. */
8212 if ac_fn_c_try_link "$LINENO"; then :
8213 lt_cv_ld_exported_symbols_list=yes
8215 lt_cv_ld_exported_symbols_list=no
8217 rm -f core conftest.err conftest.$ac_objext \
8218 conftest$ac_exeext conftest.$ac_ext
8219 LDFLAGS="$save_LDFLAGS"
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8223 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8226 $as_echo_n "checking for -force_load linker flag... " >&6; }
8227 if ${lt_cv_ld_force_load+:} false; then :
8228 $as_echo_n "(cached) " >&6
8230 lt_cv_ld_force_load=no
8231 cat > conftest.c << _LT_EOF
8232 int forced_loaded() { return 2;}
8234 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8235 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8236 echo "$AR cru libconftest.a conftest.o" >&5
8237 $AR cru libconftest.a conftest.o 2>&5
8238 echo "$RANLIB libconftest.a" >&5
8239 $RANLIB libconftest.a 2>&5
8240 cat > conftest.c << _LT_EOF
8241 int main() { return 0;}
8243 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8244 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8246 if test -s conftest.err && $GREP force_load conftest.err; then
8247 cat conftest.err >&5
8248 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8249 lt_cv_ld_force_load=yes
8251 cat conftest.err >&5
8253 rm -f conftest.err libconftest.a conftest conftest.c
8254 rm -rf conftest.dSYM
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8258 $as_echo "$lt_cv_ld_force_load" >&6; }
8260 rhapsody* | darwin1.[012])
8261 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8263 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8264 darwin*) # darwin 5.x on
8265 # if running on 10.5 or later, the deployment target defaults
8266 # to the OS version, if on x86, and 10.4, the deployment
8267 # target defaults to 10.4. Don't you love it?
8268 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8269 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8270 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8272 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8274 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8278 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8279 _lt_dar_single_mod='$single_module'
8281 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8282 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8284 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8286 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8287 _lt_dsymutil='~$DSYMUTIL $lib || :'
8294 for ac_header in dlfcn.h
8296 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8298 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8299 cat >>confdefs.h <<_ACEOF
8300 #define HAVE_DLFCN_H 1
8321 # Check whether --enable-shared was given.
8322 if test "${enable_shared+set}" = set; then :
8323 enableval=$enable_shared; p=${PACKAGE-default}
8325 yes) enable_shared=yes ;;
8326 no) enable_shared=no ;;
8329 # Look at the argument we got. We use all the common list separators.
8330 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8331 for pkg in $enableval; do
8333 if test "X$pkg" = "X$p"; then
8354 # Check whether --with-pic was given.
8355 if test "${with_pic+set}" = set; then :
8356 withval=$with_pic; lt_p=${PACKAGE-default}
8358 yes|no) pic_mode=$withval ;;
8361 # Look at the argument we got. We use all the common list separators.
8362 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8363 for lt_pkg in $withval; do
8365 if test "X$lt_pkg" = "X$lt_p"; then
8377 test -z "$pic_mode" && pic_mode=default
8385 # Check whether --enable-fast-install was given.
8386 if test "${enable_fast_install+set}" = set; then :
8387 enableval=$enable_fast_install; p=${PACKAGE-default}
8389 yes) enable_fast_install=yes ;;
8390 no) enable_fast_install=no ;;
8392 enable_fast_install=no
8393 # Look at the argument we got. We use all the common list separators.
8394 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8395 for pkg in $enableval; do
8397 if test "X$pkg" = "X$p"; then
8398 enable_fast_install=yes
8405 enable_fast_install=yes
8418 # This can be used to rebuild libtool when needed
8419 LIBTOOL_DEPS="$ltmain"
8421 # Always use our own libtool.
8422 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8453 test -z "$LN_S" && LN_S="ln -s"
8468 if test -n "${ZSH_VERSION+set}" ; then
8469 setopt NO_GLOB_SUBST
8472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8473 $as_echo_n "checking for objdir... " >&6; }
8474 if ${lt_cv_objdir+:} false; then :
8475 $as_echo_n "(cached) " >&6
8477 rm -f .libs 2>/dev/null
8478 mkdir .libs 2>/dev/null
8479 if test -d .libs; then
8482 # MS-DOS does not allow filenames that begin with a dot.
8485 rmdir .libs 2>/dev/null
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8488 $as_echo "$lt_cv_objdir" >&6; }
8489 objdir=$lt_cv_objdir
8495 cat >>confdefs.h <<_ACEOF
8496 #define LT_OBJDIR "$lt_cv_objdir/"
8504 # AIX sometimes has problems with the GCC collect2 program. For some
8505 # reason, if we set the COLLECT_NAMES environment variable, the problems
8506 # vanish in a puff of smoke.
8507 if test "X${COLLECT_NAMES+set}" != Xset; then
8509 export COLLECT_NAMES
8516 can_build_shared=yes
8518 # All known linkers require a `.a' archive for static linking (except MSVC,
8519 # which needs '.lib').
8522 with_gnu_ld="$lt_cv_prog_gnu_ld"
8525 old_CFLAGS="$CFLAGS"
8527 # Set sane defaults for various variables
8528 test -z "$CC" && CC=cc
8529 test -z "$LTCC" && LTCC=$CC
8530 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8531 test -z "$LD" && LD=ld
8532 test -z "$ac_objext" && ac_objext=o
8534 for cc_temp in $compiler""; do
8536 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8537 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8542 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8545 # Only perform the check for file, if the check method requires it
8546 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8547 case $deplibs_check_method in
8549 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8551 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8552 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8553 $as_echo_n "(cached) " >&6
8557 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8560 lt_save_MAGIC_CMD="$MAGIC_CMD"
8561 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8562 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8563 for ac_dir in $ac_dummy; do
8565 test -z "$ac_dir" && ac_dir=.
8566 if test -f $ac_dir/${ac_tool_prefix}file; then
8567 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8568 if test -n "$file_magic_test_file"; then
8569 case $deplibs_check_method in
8571 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8572 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8573 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8574 $EGREP "$file_magic_regex" > /dev/null; then
8579 *** Warning: the command libtool uses to detect shared libraries,
8580 *** $file_magic_cmd, produces output that libtool cannot recognize.
8581 *** The result is that libtool may fail to recognize shared libraries
8582 *** as such. This will affect the creation of libtool libraries that
8583 *** depend on shared libraries, but programs linked with such libtool
8584 *** libraries will work regardless of this problem. Nevertheless, you
8585 *** may want to report the problem to your system manager and/or to
8586 *** bug-libtool@gnu.org
8596 MAGIC_CMD="$lt_save_MAGIC_CMD"
8601 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8602 if test -n "$MAGIC_CMD"; then
8603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8604 $as_echo "$MAGIC_CMD" >&6; }
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8607 $as_echo "no" >&6; }
8614 if test -z "$lt_cv_path_MAGIC_CMD"; then
8615 if test -n "$ac_tool_prefix"; then
8616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8617 $as_echo_n "checking for file... " >&6; }
8618 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8619 $as_echo_n "(cached) " >&6
8623 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8626 lt_save_MAGIC_CMD="$MAGIC_CMD"
8627 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8628 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8629 for ac_dir in $ac_dummy; do
8631 test -z "$ac_dir" && ac_dir=.
8632 if test -f $ac_dir/file; then
8633 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8634 if test -n "$file_magic_test_file"; then
8635 case $deplibs_check_method in
8637 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8638 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8639 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8640 $EGREP "$file_magic_regex" > /dev/null; then
8645 *** Warning: the command libtool uses to detect shared libraries,
8646 *** $file_magic_cmd, produces output that libtool cannot recognize.
8647 *** The result is that libtool may fail to recognize shared libraries
8648 *** as such. This will affect the creation of libtool libraries that
8649 *** depend on shared libraries, but programs linked with such libtool
8650 *** libraries will work regardless of this problem. Nevertheless, you
8651 *** may want to report the problem to your system manager and/or to
8652 *** bug-libtool@gnu.org
8662 MAGIC_CMD="$lt_save_MAGIC_CMD"
8667 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8668 if test -n "$MAGIC_CMD"; then
8669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8670 $as_echo "$MAGIC_CMD" >&6; }
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8673 $as_echo "no" >&6; }
8686 # Use C for the default configuration in the libtool script
8690 ac_cpp='$CPP $CPPFLAGS'
8691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8696 # Source file extension for C test sources.
8699 # Object file extension for compiled C test sources.
8703 # Code to be used in simple compile tests
8704 lt_simple_compile_test_code="int some_variable = 0;"
8706 # Code to be used in simple link tests
8707 lt_simple_link_test_code='int main(){return(0);}'
8715 # If no C compiler was specified, use CC.
8718 # If no C compiler flags were specified, use CFLAGS.
8719 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8721 # Allow CC to be a program name with arguments.
8724 # Save the default compiler, since it gets overwritten when the other
8725 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8726 compiler_DEFAULT=$CC
8728 # save warnings/boilerplate of simple test code
8729 ac_outfile=conftest.$ac_objext
8730 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8731 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8732 _lt_compiler_boilerplate=`cat conftest.err`
8735 ac_outfile=conftest.$ac_objext
8736 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8737 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8738 _lt_linker_boilerplate=`cat conftest.err`
8743 ## There is no encapsulation within the following macros, do not change
8744 ## the running order or otherwise move them around unless you know exactly
8745 ## what you are doing...
8746 if test -n "$compiler"; then
8748 lt_prog_compiler_no_builtin_flag=
8750 if test "$GCC" = yes; then
8751 case $cc_basename in
8753 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8755 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8759 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8760 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8761 $as_echo_n "(cached) " >&6
8763 lt_cv_prog_compiler_rtti_exceptions=no
8764 ac_outfile=conftest.$ac_objext
8765 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8766 lt_compiler_flag="-fno-rtti -fno-exceptions"
8767 # Insert the option either (1) after the last *FLAGS variable, or
8768 # (2) before a word containing "conftest.", or (3) at the end.
8769 # Note that $ac_compile itself does not contain backslashes and begins
8770 # with a dollar sign (not a hyphen), so the echo should work correctly.
8771 # The option is referenced via a variable to avoid confusing sed.
8772 lt_compile=`echo "$ac_compile" | $SED \
8773 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8774 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8775 -e 's:$: $lt_compiler_flag:'`
8776 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8777 (eval "$lt_compile" 2>conftest.err)
8779 cat conftest.err >&5
8780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8781 if (exit $ac_status) && test -s "$ac_outfile"; then
8782 # The compiler can only warn and ignore the option if not recognized
8783 # So say no if there are warnings other than the usual output.
8784 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8785 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8786 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8787 lt_cv_prog_compiler_rtti_exceptions=yes
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8794 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8796 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8797 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8809 lt_prog_compiler_wl=
8810 lt_prog_compiler_pic=
8811 lt_prog_compiler_static=
8814 if test "$GCC" = yes; then
8815 lt_prog_compiler_wl='-Wl,'
8816 lt_prog_compiler_static='-static'
8820 # All AIX code is PIC.
8821 if test "$host_cpu" = ia64; then
8822 # AIX 5 now supports IA64 processor
8823 lt_prog_compiler_static='-Bstatic'
8830 # see comment about AmigaOS4 .so support
8831 lt_prog_compiler_pic='-fPIC'
8834 # FIXME: we need at least 68020 code to build shared libraries, but
8835 # adding the `-m68020' flag to GCC prevents building anything better,
8837 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8842 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8843 # PIC is the default for these OSes.
8846 mingw* | cygwin* | pw32* | os2* | cegcc*)
8847 # This hack is so that the source file can tell whether it is being
8848 # built for inclusion in a dll (and should export symbols for example).
8849 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8850 # (--disable-auto-import) libraries
8851 lt_prog_compiler_pic='-DDLL_EXPORT'
8854 darwin* | rhapsody*)
8855 # PIC is the default on this platform
8856 # Common symbols not allowed in MH_DYLIB files
8857 lt_prog_compiler_pic='-fno-common'
8861 # PIC is the default for Haiku.
8862 # The "-static" flag exists, but is broken.
8863 lt_prog_compiler_static=
8867 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8868 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8869 # sets the default TLS model and affects inlining.
8875 lt_prog_compiler_pic='-fPIC'
8881 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8882 # Instead, we relocate shared libraries at runtime.
8886 # Just because we use GCC doesn't mean we suddenly get shared libraries
8887 # on systems that don't support them.
8888 lt_prog_compiler_can_build_shared=no
8893 # QNX uses GNU C++, but need to define -shared option too, otherwise
8895 lt_prog_compiler_pic='-fPIC -shared'
8899 if test -d /usr/nec; then
8900 lt_prog_compiler_pic=-Kconform_pic
8905 lt_prog_compiler_pic='-fPIC'
8909 case $cc_basename in
8910 nvcc*) # Cuda Compiler Driver 2.2
8911 lt_prog_compiler_wl='-Xlinker '
8912 if test -n "$lt_prog_compiler_pic"; then
8913 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8918 # PORTME Check for flag to pass linker flags through the system compiler.
8921 lt_prog_compiler_wl='-Wl,'
8922 if test "$host_cpu" = ia64; then
8923 # AIX 5 now supports IA64 processor
8924 lt_prog_compiler_static='-Bstatic'
8926 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8930 mingw* | cygwin* | pw32* | os2* | cegcc*)
8931 # This hack is so that the source file can tell whether it is being
8932 # built for inclusion in a dll (and should export symbols for example).
8933 lt_prog_compiler_pic='-DDLL_EXPORT'
8936 hpux9* | hpux10* | hpux11*)
8937 lt_prog_compiler_wl='-Wl,'
8938 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8945 lt_prog_compiler_pic='+Z'
8948 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8949 lt_prog_compiler_static='${wl}-a ${wl}archive'
8952 irix5* | irix6* | nonstopux*)
8953 lt_prog_compiler_wl='-Wl,'
8954 # PIC (with -KPIC) is the default.
8955 lt_prog_compiler_static='-non_shared'
8958 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8959 case $cc_basename in
8960 # old Intel for x86_64 which still supported -KPIC.
8962 lt_prog_compiler_wl='-Wl,'
8963 lt_prog_compiler_pic='-KPIC'
8964 lt_prog_compiler_static='-static'
8966 # icc used to be incompatible with GCC.
8967 # ICC 10 doesn't accept -KPIC any more.
8969 lt_prog_compiler_wl='-Wl,'
8970 lt_prog_compiler_pic='-fPIC'
8971 lt_prog_compiler_static='-static'
8973 # Lahey Fortran 8.1.
8975 lt_prog_compiler_wl='-Wl,'
8976 lt_prog_compiler_pic='--shared'
8977 lt_prog_compiler_static='--static'
8980 # NAG Fortran compiler
8981 lt_prog_compiler_wl='-Wl,-Wl,,'
8982 lt_prog_compiler_pic='-PIC'
8983 lt_prog_compiler_static='-Bstatic'
8985 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8986 # Portland Group compilers (*not* the Pentium gcc compiler,
8987 # which looks to be a dead project)
8988 lt_prog_compiler_wl='-Wl,'
8989 lt_prog_compiler_pic='-fpic'
8990 lt_prog_compiler_static='-Bstatic'
8993 lt_prog_compiler_wl='-Wl,'
8994 # All Alpha code is PIC.
8995 lt_prog_compiler_static='-non_shared'
8997 xl* | bgxl* | bgf* | mpixl*)
8998 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
8999 lt_prog_compiler_wl='-Wl,'
9000 lt_prog_compiler_pic='-qpic'
9001 lt_prog_compiler_static='-qstaticlink'
9004 case `$CC -V 2>&1 | sed 5q` in
9005 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9006 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9007 lt_prog_compiler_pic='-KPIC'
9008 lt_prog_compiler_static='-Bstatic'
9009 lt_prog_compiler_wl=''
9011 *Sun\ F* | *Sun*Fortran*)
9012 lt_prog_compiler_pic='-KPIC'
9013 lt_prog_compiler_static='-Bstatic'
9014 lt_prog_compiler_wl='-Qoption ld '
9018 lt_prog_compiler_pic='-KPIC'
9019 lt_prog_compiler_static='-Bstatic'
9020 lt_prog_compiler_wl='-Wl,'
9022 *Intel*\ [CF]*Compiler*)
9023 lt_prog_compiler_wl='-Wl,'
9024 lt_prog_compiler_pic='-fPIC'
9025 lt_prog_compiler_static='-static'
9028 lt_prog_compiler_wl='-Wl,'
9029 lt_prog_compiler_pic='-fpic'
9030 lt_prog_compiler_static='-Bstatic'
9038 lt_prog_compiler_pic='-KPIC'
9039 lt_prog_compiler_static='-Bstatic'
9043 # QNX uses GNU C++, but need to define -shared option too, otherwise
9045 lt_prog_compiler_pic='-fPIC -shared'
9048 osf3* | osf4* | osf5*)
9049 lt_prog_compiler_wl='-Wl,'
9050 # All OSF/1 code is PIC.
9051 lt_prog_compiler_static='-non_shared'
9055 lt_prog_compiler_static='-non_shared'
9059 lt_prog_compiler_pic='-KPIC'
9060 lt_prog_compiler_static='-Bstatic'
9061 case $cc_basename in
9062 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9063 lt_prog_compiler_wl='-Qoption ld ';;
9065 lt_prog_compiler_wl='-Wl,';;
9070 lt_prog_compiler_wl='-Qoption ld '
9071 lt_prog_compiler_pic='-PIC'
9072 lt_prog_compiler_static='-Bstatic'
9075 sysv4 | sysv4.2uw2* | sysv4.3*)
9076 lt_prog_compiler_wl='-Wl,'
9077 lt_prog_compiler_pic='-KPIC'
9078 lt_prog_compiler_static='-Bstatic'
9082 if test -d /usr/nec ;then
9083 lt_prog_compiler_pic='-Kconform_pic'
9084 lt_prog_compiler_static='-Bstatic'
9088 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9089 lt_prog_compiler_wl='-Wl,'
9090 lt_prog_compiler_pic='-KPIC'
9091 lt_prog_compiler_static='-Bstatic'
9095 lt_prog_compiler_wl='-Wl,'
9096 lt_prog_compiler_can_build_shared=no
9100 lt_prog_compiler_pic='-pic'
9101 lt_prog_compiler_static='-Bstatic'
9105 lt_prog_compiler_can_build_shared=no
9111 # For platforms which do not support PIC, -DPIC is meaningless:
9113 lt_prog_compiler_pic=
9116 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9121 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9122 if ${lt_cv_prog_compiler_pic+:} false; then :
9123 $as_echo_n "(cached) " >&6
9125 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9128 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9129 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9132 # Check to make sure the PIC flag actually works.
9134 if test -n "$lt_prog_compiler_pic"; then
9135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9136 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9137 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9138 $as_echo_n "(cached) " >&6
9140 lt_cv_prog_compiler_pic_works=no
9141 ac_outfile=conftest.$ac_objext
9142 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9143 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9144 # Insert the option either (1) after the last *FLAGS variable, or
9145 # (2) before a word containing "conftest.", or (3) at the end.
9146 # Note that $ac_compile itself does not contain backslashes and begins
9147 # with a dollar sign (not a hyphen), so the echo should work correctly.
9148 # The option is referenced via a variable to avoid confusing sed.
9149 lt_compile=`echo "$ac_compile" | $SED \
9150 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9151 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9152 -e 's:$: $lt_compiler_flag:'`
9153 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9154 (eval "$lt_compile" 2>conftest.err)
9156 cat conftest.err >&5
9157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9158 if (exit $ac_status) && test -s "$ac_outfile"; then
9159 # The compiler can only warn and ignore the option if not recognized
9160 # So say no if there are warnings other than the usual output.
9161 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9162 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9163 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9164 lt_cv_prog_compiler_pic_works=yes
9170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9171 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9173 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9174 case $lt_prog_compiler_pic in
9176 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9179 lt_prog_compiler_pic=
9180 lt_prog_compiler_can_build_shared=no
9196 # Check to make sure the static flag actually works.
9198 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9200 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9201 if ${lt_cv_prog_compiler_static_works+:} false; then :
9202 $as_echo_n "(cached) " >&6
9204 lt_cv_prog_compiler_static_works=no
9205 save_LDFLAGS="$LDFLAGS"
9206 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9207 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9208 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9209 # The linker can only warn and ignore the option if not recognized
9210 # So say no if there are warnings
9211 if test -s conftest.err; then
9212 # Append any errors to the config.log.
9213 cat conftest.err 1>&5
9214 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9215 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9216 if diff conftest.exp conftest.er2 >/dev/null; then
9217 lt_cv_prog_compiler_static_works=yes
9220 lt_cv_prog_compiler_static_works=yes
9224 LDFLAGS="$save_LDFLAGS"
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9228 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9230 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9233 lt_prog_compiler_static=
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9244 if ${lt_cv_prog_compiler_c_o+:} false; then :
9245 $as_echo_n "(cached) " >&6
9247 lt_cv_prog_compiler_c_o=no
9248 $RM -r conftest 2>/dev/null
9252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9254 lt_compiler_flag="-o out/conftest2.$ac_objext"
9255 # Insert the option either (1) after the last *FLAGS variable, or
9256 # (2) before a word containing "conftest.", or (3) at the end.
9257 # Note that $ac_compile itself does not contain backslashes and begins
9258 # with a dollar sign (not a hyphen), so the echo should work correctly.
9259 lt_compile=`echo "$ac_compile" | $SED \
9260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9262 -e 's:$: $lt_compiler_flag:'`
9263 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9264 (eval "$lt_compile" 2>out/conftest.err)
9266 cat out/conftest.err >&5
9267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9268 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9270 # The compiler can only warn and ignore the option if not recognized
9271 # So say no if there are warnings
9272 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9273 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9274 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9275 lt_cv_prog_compiler_c_o=yes
9280 # SGI C++ compiler will create directory out/ii_files/ for
9281 # template instantiation
9282 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9283 $RM out/* && rmdir out
9289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9290 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9298 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9299 if ${lt_cv_prog_compiler_c_o+:} false; then :
9300 $as_echo_n "(cached) " >&6
9302 lt_cv_prog_compiler_c_o=no
9303 $RM -r conftest 2>/dev/null
9307 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9309 lt_compiler_flag="-o out/conftest2.$ac_objext"
9310 # Insert the option either (1) after the last *FLAGS variable, or
9311 # (2) before a word containing "conftest.", or (3) at the end.
9312 # Note that $ac_compile itself does not contain backslashes and begins
9313 # with a dollar sign (not a hyphen), so the echo should work correctly.
9314 lt_compile=`echo "$ac_compile" | $SED \
9315 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9316 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9317 -e 's:$: $lt_compiler_flag:'`
9318 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9319 (eval "$lt_compile" 2>out/conftest.err)
9321 cat out/conftest.err >&5
9322 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9323 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9325 # The compiler can only warn and ignore the option if not recognized
9326 # So say no if there are warnings
9327 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9328 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9329 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9330 lt_cv_prog_compiler_c_o=yes
9335 # SGI C++ compiler will create directory out/ii_files/ for
9336 # template instantiation
9337 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9338 $RM out/* && rmdir out
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9345 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9350 hard_links="nottested"
9351 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9352 # do not overwrite the value of need_locks provided by the user
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9354 $as_echo_n "checking if we can lock with hard links... " >&6; }
9357 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9359 ln conftest.a conftest.b 2>&5 || hard_links=no
9360 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9362 $as_echo "$hard_links" >&6; }
9363 if test "$hard_links" = no; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9365 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9378 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9381 allow_undefined_flag=
9382 always_export_symbols=no
9384 archive_expsym_cmds=
9385 compiler_needs_object=no
9386 enable_shared_with_static_runtimes=no
9387 export_dynamic_flag_spec=
9388 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9389 hardcode_automatic=no
9391 hardcode_direct_absolute=no
9392 hardcode_libdir_flag_spec=
9393 hardcode_libdir_separator=
9395 hardcode_shlibpath_var=unsupported
9397 link_all_deplibs=unknown
9400 old_archive_from_new_cmds=
9401 old_archive_from_expsyms_cmds=
9402 thread_safe_flag_spec=
9403 whole_archive_flag_spec=
9404 # include_expsyms should be a list of space-separated symbols to be *always*
9405 # included in the symbol list
9407 # exclude_expsyms can be an extended regexp of symbols to exclude
9408 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9409 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9410 # as well as any symbol that contains `d'.
9411 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9412 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9413 # platforms (ab)use it in PIC code, but their linkers get confused if
9414 # the symbol is explicitly referenced. Since portable code cannot
9415 # rely on this symbol name, it's probably fine to never include it in
9416 # preloaded symbol tables.
9417 # Exclude shared library initialization/finalization symbols.
9418 extract_expsyms_cmds=
9421 cygwin* | mingw* | pw32* | cegcc*)
9422 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9423 # When not using gcc, we currently assume that we are using
9424 # Microsoft Visual C++.
9425 if test "$GCC" != yes; then
9430 # we just hope/assume this is gcc and not c89 (= MSVC++)
9436 linux* | k*bsd*-gnu | gnu*)
9443 # On some targets, GNU ld is compatible enough with the native linker
9444 # that we're better off using the native interface for both.
9445 lt_use_gnu_ld_interface=no
9446 if test "$with_gnu_ld" = yes; then
9449 # The AIX port of GNU ld has always aspired to compatibility
9450 # with the native linker. However, as the warning in the GNU ld
9451 # block says, versions before 2.19.5* couldn't really create working
9452 # shared libraries, regardless of the interface used.
9453 case `$LD -v 2>&1` in
9454 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9455 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9456 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9458 lt_use_gnu_ld_interface=yes
9463 lt_use_gnu_ld_interface=yes
9468 if test "$lt_use_gnu_ld_interface" = yes; then
9469 # If archive_cmds runs LD, not CC, wlarc should be empty
9472 # Set some defaults for GNU ld with shared library support. These
9473 # are reset later if shared libraries are not supported. Putting them
9474 # here allows them to be overridden if necessary.
9475 runpath_var=LD_RUN_PATH
9476 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9477 export_dynamic_flag_spec='${wl}--export-dynamic'
9478 # ancient GNU ld didn't support --whole-archive et. al.
9479 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9480 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9482 whole_archive_flag_spec=
9484 supports_anon_versioning=no
9485 case `$LD -v 2>&1` in
9486 *GNU\ gold*) supports_anon_versioning=yes ;;
9487 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9488 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9489 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9490 *\ 2.11.*) ;; # other 2.11 versions
9491 *) supports_anon_versioning=yes ;;
9494 # See if GNU ld supports shared libraries.
9497 # On AIX/PPC, the GNU linker is very broken
9498 if test "$host_cpu" != ia64; then
9502 *** Warning: the GNU linker, at least up to release 2.19, is reported
9503 *** to be unable to reliably create shared libraries on AIX.
9504 *** Therefore, libtool is disabling shared libraries support. If you
9505 *** really care for shared libraries, you may want to install binutils
9506 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9507 *** You will then need to restart the configuration process.
9516 # see comment about AmigaOS4 .so support
9517 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9518 archive_expsym_cmds=''
9521 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9522 hardcode_libdir_flag_spec='-L$libdir'
9523 hardcode_minus_L=yes
9529 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9530 allow_undefined_flag=unsupported
9531 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9532 # support --undefined. This deserves some investigation. FIXME
9533 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9539 cygwin* | mingw* | pw32* | cegcc*)
9540 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9541 # as there is no search path for DLLs.
9542 hardcode_libdir_flag_spec='-L$libdir'
9543 export_dynamic_flag_spec='${wl}--export-all-symbols'
9544 allow_undefined_flag=unsupported
9545 always_export_symbols=no
9546 enable_shared_with_static_runtimes=yes
9547 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
9548 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9550 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9552 # If the export-symbols file already is a .def file (1st line
9553 # is EXPORTS), use it as is; otherwise, prepend...
9554 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9555 cp $export_symbols $output_objdir/$soname.def;
9557 echo EXPORTS > $output_objdir/$soname.def;
9558 cat $export_symbols >> $output_objdir/$soname.def;
9560 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9567 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9568 link_all_deplibs=yes
9573 hardcode_shlibpath_var=no
9574 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9575 export_dynamic_flag_spec='${wl}-E'
9576 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9577 # Instead, shared libraries are loaded at an image base (0x10000000 by
9578 # default) and relocated if they conflict, which is a slow very memory
9579 # consuming and fragmenting process. To avoid this, we pick a random,
9580 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9581 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9582 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9583 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9586 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9588 if test "$host_os" = linux-dietlibc; then
9589 case $cc_basename in
9590 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9593 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9594 && test "$tmp_diet" = no
9596 tmp_addflag=' $pic_flag'
9597 tmp_sharedflag='-shared'
9598 case $cc_basename,$host_cpu in
9599 pgcc*) # Portland Group C compiler
9600 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9601 tmp_addflag=' $pic_flag'
9603 pgf77* | pgf90* | pgf95* | pgfortran*)
9604 # Portland Group f77 and f90 compilers
9605 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9606 tmp_addflag=' $pic_flag -Mnomain' ;;
9607 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9608 tmp_addflag=' -i_dynamic' ;;
9609 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9610 tmp_addflag=' -i_dynamic -nofor_main' ;;
9611 ifc* | ifort*) # Intel Fortran compiler
9612 tmp_addflag=' -nofor_main' ;;
9613 lf95*) # Lahey Fortran 8.1
9614 whole_archive_flag_spec=
9615 tmp_sharedflag='--shared' ;;
9616 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9617 tmp_sharedflag='-qmkshrobj'
9619 nvcc*) # Cuda Compiler Driver 2.2
9620 whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9621 compiler_needs_object=yes
9624 case `$CC -V 2>&1 | sed 5q` in
9625 *Sun\ C*) # Sun C 5.9
9626 whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
9627 compiler_needs_object=yes
9628 tmp_sharedflag='-G' ;;
9629 *Sun\ F*) # Sun Fortran 8.3
9630 tmp_sharedflag='-G' ;;
9632 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9634 if test "x$supports_anon_versioning" = xyes; then
9635 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9636 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9637 echo "local: *; };" >> $output_objdir/$libname.ver~
9638 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9641 case $cc_basename in
9642 xlf* | bgf* | bgxlf* | mpixlf*)
9643 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9644 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9645 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9646 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9647 if test "x$supports_anon_versioning" = xyes; then
9648 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9649 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9650 echo "local: *; };" >> $output_objdir/$libname.ver~
9651 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9660 netbsd* | netbsdelf*-gnu)
9661 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9662 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9665 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9666 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9671 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9675 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9676 *** create shared libraries on Solaris systems. Therefore, libtool
9677 *** is disabling shared libraries support. We urge you to upgrade GNU
9678 *** binutils to release 2.9.1 or newer. Another option is to modify
9679 *** your PATH or compiler configuration so that the native linker is
9680 *** used, and then restart.
9683 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9684 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9685 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9691 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9692 case `$LD -v 2>&1` in
9693 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9697 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9698 *** reliably create shared libraries on SCO systems. Therefore, libtool
9699 *** is disabling shared libraries support. We urge you to upgrade GNU
9700 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9701 *** your PATH or compiler configuration so that the native linker is
9702 *** used, and then restart.
9707 # For security reasons, it is highly recommended that you always
9708 # use absolute paths for naming shared libraries, and exclude the
9709 # DT_RUNPATH tag from executables and libraries. But doing so
9710 # requires that you compile everything twice, which is a pain.
9711 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9712 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9713 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9714 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9723 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9726 hardcode_shlibpath_var=no
9730 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9731 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9732 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9739 if test "$ld_shlibs" = no; then
9741 hardcode_libdir_flag_spec=
9742 export_dynamic_flag_spec=
9743 whole_archive_flag_spec=
9746 # PORTME fill in a description of your system's linker (not GNU ld)
9749 allow_undefined_flag=unsupported
9750 always_export_symbols=yes
9751 archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
9752 # Note: this linker hardcodes the directories in LIBPATH if there
9753 # are no directories specified by -L.
9754 hardcode_minus_L=yes
9755 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9756 # Neither direct hardcoding nor static linking is supported with a
9758 hardcode_direct=unsupported
9763 if test "$host_cpu" = ia64; then
9764 # On IA64, the linker does run time linking by default, so we don't
9765 # have to do anything special.
9766 aix_use_runtimelinking=no
9767 exp_sym_flag='-Bexport'
9770 # If we're using GNU nm, then we don't want the "-C" option.
9771 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9772 # Also, AIX nm treats weak defined symbols like other global
9773 # defined symbols, whereas GNU nm marks them as "W".
9774 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9775 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9777 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9779 aix_use_runtimelinking=no
9781 # Test if we are trying to use run time linking or normal
9782 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9783 # need to do runtime linking.
9784 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9785 for ld_flag in $LDFLAGS; do
9786 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9787 aix_use_runtimelinking=yes
9794 exp_sym_flag='-bexport'
9795 no_entry_flag='-bnoentry'
9798 # When large executables or shared objects are built, AIX ld can
9799 # have problems creating the table of contents. If linking a library
9800 # or program results in "error TOC overflow" add -mminimal-toc to
9801 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9802 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9806 hardcode_direct_absolute=yes
9807 hardcode_libdir_separator=':'
9808 link_all_deplibs=yes
9809 file_list_spec='${wl}-f,'
9811 if test "$GCC" = yes; then
9812 case $host_os in aix4.[012]|aix4.[012].*)
9813 # We only want to do this on AIX 4.2 and lower, the check
9814 # below for broken collect2 doesn't work under 4.3+
9815 collect2name=`${CC} -print-prog-name=collect2`
9816 if test -f "$collect2name" &&
9817 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9819 # We have reworked collect2
9822 # We have old collect2
9823 hardcode_direct=unsupported
9824 # It fails to find uninstalled libraries when the uninstalled
9825 # path is not listed in the libpath. Setting hardcode_minus_L
9826 # to unsupported forces relinking
9827 hardcode_minus_L=yes
9828 hardcode_libdir_flag_spec='-L$libdir'
9829 hardcode_libdir_separator=
9833 shared_flag='-shared'
9834 if test "$aix_use_runtimelinking" = yes; then
9835 shared_flag="$shared_flag "'${wl}-G'
9840 if test "$host_cpu" = ia64; then
9841 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9842 # chokes on -Wl,-G. The following line is correct:
9845 if test "$aix_use_runtimelinking" = yes; then
9846 shared_flag='${wl}-G'
9848 shared_flag='${wl}-bM:SRE'
9853 export_dynamic_flag_spec='${wl}-bexpall'
9854 # It seems that -bexpall does not export symbols beginning with
9855 # underscore (_), so it is better to generate a list of symbols to export.
9856 always_export_symbols=yes
9857 if test "$aix_use_runtimelinking" = yes; then
9858 # Warning - without using the other runtime loading flags (-brtl),
9859 # -berok will link without error, but may produce a broken library.
9860 allow_undefined_flag='-berok'
9861 # Determine the default libpath from the value encoded in an
9863 if test "${lt_cv_aix_libpath+set}" = set; then
9864 aix_libpath=$lt_cv_aix_libpath
9866 if ${lt_cv_aix_libpath_+:} false; then :
9867 $as_echo_n "(cached) " >&6
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9880 if ac_fn_c_try_link "$LINENO"; then :
9882 lt_aix_libpath_sed='
9883 /Import File Strings/,/^$/ {
9885 s/^0 *\([^ ]*\) *$/\1/
9889 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9890 # Check for a 64-bit object if we didn't find anything.
9891 if test -z "$lt_cv_aix_libpath_"; then
9892 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9895 rm -f core conftest.err conftest.$ac_objext \
9896 conftest$ac_exeext conftest.$ac_ext
9897 if test -z "$lt_cv_aix_libpath_"; then
9898 lt_cv_aix_libpath_="/usr/lib:/lib"
9903 aix_libpath=$lt_cv_aix_libpath_
9906 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9907 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9909 if test "$host_cpu" = ia64; then
9910 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9911 allow_undefined_flag="-z nodefs"
9912 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
9914 # Determine the default libpath from the value encoded in an
9916 if test "${lt_cv_aix_libpath+set}" = set; then
9917 aix_libpath=$lt_cv_aix_libpath
9919 if ${lt_cv_aix_libpath_+:} false; then :
9920 $as_echo_n "(cached) " >&6
9922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9923 /* end confdefs.h. */
9933 if ac_fn_c_try_link "$LINENO"; then :
9935 lt_aix_libpath_sed='
9936 /Import File Strings/,/^$/ {
9938 s/^0 *\([^ ]*\) *$/\1/
9942 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9943 # Check for a 64-bit object if we didn't find anything.
9944 if test -z "$lt_cv_aix_libpath_"; then
9945 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9948 rm -f core conftest.err conftest.$ac_objext \
9949 conftest$ac_exeext conftest.$ac_ext
9950 if test -z "$lt_cv_aix_libpath_"; then
9951 lt_cv_aix_libpath_="/usr/lib:/lib"
9956 aix_libpath=$lt_cv_aix_libpath_
9959 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9960 # Warning - without using the other run time loading flags,
9961 # -berok will link without error, but may produce a broken library.
9962 no_undefined_flag=' ${wl}-bernotok'
9963 allow_undefined_flag=' ${wl}-berok'
9964 if test "$with_gnu_ld" = yes; then
9965 # We only use this code for GNU lds that support --whole-archive.
9966 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9968 # Exported symbols can be pulled into shared objects from archives
9969 whole_archive_flag_spec='$convenience'
9971 archive_cmds_need_lc=yes
9972 # This is similar to how AIX traditionally builds its shared libraries.
9973 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9981 # see comment about AmigaOS4 .so support
9982 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9983 archive_expsym_cmds=''
9986 archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
9987 hardcode_libdir_flag_spec='-L$libdir'
9988 hardcode_minus_L=yes
9994 export_dynamic_flag_spec=-rdynamic
9997 cygwin* | mingw* | pw32* | cegcc*)
9998 # When not using gcc, we currently assume that we are using
9999 # Microsoft Visual C++.
10000 # hardcode_libdir_flag_spec is actually meaningless, as there is
10001 # no search path for DLLs.
10002 case $cc_basename in
10005 hardcode_libdir_flag_spec=' '
10006 allow_undefined_flag=unsupported
10007 always_export_symbols=yes
10009 # Tell ltmain to make .lib files, not .a files.
10011 # Tell ltmain to make .dll files, not .so files.
10013 # FIXME: Setting linknames here is a bad hack.
10014 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10015 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10016 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10018 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10020 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10022 # The linker will not automatically build a static lib if we build a DLL.
10023 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10024 enable_shared_with_static_runtimes=yes
10025 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10026 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10028 old_postinstall_cmds='chmod 644 $oldlib'
10029 postlink_cmds='lt_outputfile="@OUTPUT@"~
10030 lt_tool_outputfile="@TOOL_OUTPUT@"~
10031 case $lt_outputfile in
10034 lt_outputfile="$lt_outputfile.exe"
10035 lt_tool_outputfile="$lt_tool_outputfile.exe"
10038 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10039 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10040 $RM "$lt_outputfile.manifest";
10044 # Assume MSVC wrapper
10045 hardcode_libdir_flag_spec=' '
10046 allow_undefined_flag=unsupported
10047 # Tell ltmain to make .lib files, not .a files.
10049 # Tell ltmain to make .dll files, not .so files.
10051 # FIXME: Setting linknames here is a bad hack.
10052 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10053 # The linker will automatically build a .lib file if we build a DLL.
10054 old_archive_from_new_cmds='true'
10055 # FIXME: Should let the user specify the lib program.
10056 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10057 enable_shared_with_static_runtimes=yes
10062 darwin* | rhapsody*)
10065 archive_cmds_need_lc=no
10067 hardcode_automatic=yes
10068 hardcode_shlibpath_var=unsupported
10069 if test "$lt_cv_ld_force_load" = "yes"; then
10070 whole_archive_flag_spec='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
10073 whole_archive_flag_spec=''
10075 link_all_deplibs=yes
10076 allow_undefined_flag="$_lt_dar_allow_undefined"
10077 case $cc_basename in
10078 ifort*) _lt_dar_can_shared=yes ;;
10079 *) _lt_dar_can_shared=$GCC ;;
10081 if test "$_lt_dar_can_shared" = "yes"; then
10082 output_verbose_link_cmd=func_echo_all
10083 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10084 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10085 archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
10086 module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
10095 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10096 hardcode_libdir_flag_spec='-L$libdir'
10097 hardcode_shlibpath_var=no
10100 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10101 # support. Future versions do this automatically, but an explicit c++rt0.o
10102 # does not break anything, and helps significantly (at the cost of a little
10105 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10106 hardcode_libdir_flag_spec='-R$libdir'
10107 hardcode_direct=yes
10108 hardcode_shlibpath_var=no
10111 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10113 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10114 hardcode_direct=yes
10115 hardcode_minus_L=yes
10116 hardcode_shlibpath_var=no
10119 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10120 freebsd* | dragonfly*)
10121 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10122 hardcode_libdir_flag_spec='-R$libdir'
10123 hardcode_direct=yes
10124 hardcode_shlibpath_var=no
10128 if test "$GCC" = yes; then
10129 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10131 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10133 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10134 hardcode_libdir_separator=:
10135 hardcode_direct=yes
10137 # hardcode_minus_L: Not really in the search PATH,
10138 # but as the default location of the library.
10139 hardcode_minus_L=yes
10140 export_dynamic_flag_spec='${wl}-E'
10144 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10145 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10147 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10149 if test "$with_gnu_ld" = no; then
10150 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10151 hardcode_libdir_separator=:
10152 hardcode_direct=yes
10153 hardcode_direct_absolute=yes
10154 export_dynamic_flag_spec='${wl}-E'
10155 # hardcode_minus_L: Not really in the search PATH,
10156 # but as the default location of the library.
10157 hardcode_minus_L=yes
10162 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10165 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10168 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10171 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10177 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10180 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10184 # Older versions of the 11.00 compiler do not understand -b yet
10185 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10187 $as_echo_n "checking if $CC understands -b... " >&6; }
10188 if ${lt_cv_prog_compiler__b+:} false; then :
10189 $as_echo_n "(cached) " >&6
10191 lt_cv_prog_compiler__b=no
10192 save_LDFLAGS="$LDFLAGS"
10193 LDFLAGS="$LDFLAGS -b"
10194 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10195 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10196 # The linker can only warn and ignore the option if not recognized
10197 # So say no if there are warnings
10198 if test -s conftest.err; then
10199 # Append any errors to the config.log.
10200 cat conftest.err 1>&5
10201 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10202 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10203 if diff conftest.exp conftest.er2 >/dev/null; then
10204 lt_cv_prog_compiler__b=yes
10207 lt_cv_prog_compiler__b=yes
10211 LDFLAGS="$save_LDFLAGS"
10214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10215 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10217 if test x"$lt_cv_prog_compiler__b" = xyes; then
10218 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10220 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10226 if test "$with_gnu_ld" = no; then
10227 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10228 hardcode_libdir_separator=:
10233 hardcode_shlibpath_var=no
10236 hardcode_direct=yes
10237 hardcode_direct_absolute=yes
10238 export_dynamic_flag_spec='${wl}-E'
10240 # hardcode_minus_L: Not really in the search PATH,
10241 # but as the default location of the library.
10242 hardcode_minus_L=yes
10248 irix5* | irix6* | nonstopux*)
10249 if test "$GCC" = yes; then
10250 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10251 # Try to use the -exported_symbol ld option, if it does not
10252 # work, assume that -exports_file does not work either and
10253 # implicitly export all symbols.
10254 # This should be the same for all languages, so no per-tag cache variable.
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10256 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10257 if ${lt_cv_irix_exported_symbol+:} false; then :
10258 $as_echo_n "(cached) " >&6
10260 save_LDFLAGS="$LDFLAGS"
10261 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10263 /* end confdefs.h. */
10264 int foo (void) { return 0; }
10266 if ac_fn_c_try_link "$LINENO"; then :
10267 lt_cv_irix_exported_symbol=yes
10269 lt_cv_irix_exported_symbol=no
10271 rm -f core conftest.err conftest.$ac_objext \
10272 conftest$ac_exeext conftest.$ac_ext
10273 LDFLAGS="$save_LDFLAGS"
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10276 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10277 if test "$lt_cv_irix_exported_symbol" = yes; then
10278 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
10281 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10282 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
10284 archive_cmds_need_lc='no'
10285 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10286 hardcode_libdir_separator=:
10288 link_all_deplibs=yes
10291 netbsd* | netbsdelf*-gnu)
10292 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10293 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10295 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10297 hardcode_libdir_flag_spec='-R$libdir'
10298 hardcode_direct=yes
10299 hardcode_shlibpath_var=no
10303 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10304 hardcode_direct=yes
10305 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10306 hardcode_libdir_separator=:
10307 hardcode_shlibpath_var=no
10314 if test -f /usr/libexec/ld.so; then
10315 hardcode_direct=yes
10316 hardcode_shlibpath_var=no
10317 hardcode_direct_absolute=yes
10318 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10319 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10320 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10321 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10322 export_dynamic_flag_spec='${wl}-E'
10325 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10326 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10327 hardcode_libdir_flag_spec='-R$libdir'
10330 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10331 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10341 hardcode_libdir_flag_spec='-L$libdir'
10342 hardcode_minus_L=yes
10343 allow_undefined_flag=unsupported
10344 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
10345 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10349 if test "$GCC" = yes; then
10350 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10351 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10353 allow_undefined_flag=' -expect_unresolved \*'
10354 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10356 archive_cmds_need_lc='no'
10357 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10358 hardcode_libdir_separator=:
10361 osf4* | osf5*) # as osf3* with the addition of -msym flag
10362 if test "$GCC" = yes; then
10363 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10364 archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10365 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10367 allow_undefined_flag=' -expect_unresolved \*'
10368 archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
10369 archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
10370 $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
10372 # Both c and cxx compiler support -rpath directly
10373 hardcode_libdir_flag_spec='-rpath $libdir'
10375 archive_cmds_need_lc='no'
10376 hardcode_libdir_separator=:
10380 no_undefined_flag=' -z defs'
10381 if test "$GCC" = yes; then
10383 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10384 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10385 $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10387 case `$CC -V 2>&1` in
10390 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10392 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10396 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10397 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10398 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10402 hardcode_libdir_flag_spec='-R$libdir'
10403 hardcode_shlibpath_var=no
10405 solaris2.[0-5] | solaris2.[0-5].*) ;;
10407 # The compiler driver will combine and reorder linker options,
10408 # but understands `-z linker_flag'. GCC discards it without `$wl',
10409 # but is careful enough not to reorder.
10410 # Supported since Solaris 2.6 (maybe 2.5.1?)
10411 if test "$GCC" = yes; then
10412 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10414 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10418 link_all_deplibs=yes
10422 if test "x$host_vendor" = xsequent; then
10423 # Use $CC to link under sequent, because it throws in some extra .o
10424 # files that make .init and .fini sections work.
10425 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10427 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10429 hardcode_libdir_flag_spec='-L$libdir'
10430 hardcode_direct=yes
10431 hardcode_minus_L=yes
10432 hardcode_shlibpath_var=no
10436 case $host_vendor in
10438 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10439 hardcode_direct=yes # is this really true???
10442 ## LD is ld it makes a PLAMLIB
10443 ## CC just makes a GrossModule.
10444 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10445 reload_cmds='$CC -r -o $output$reload_objs'
10449 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10450 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10453 runpath_var='LD_RUN_PATH'
10454 hardcode_shlibpath_var=no
10458 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10459 hardcode_shlibpath_var=no
10460 export_dynamic_flag_spec='-Bexport'
10464 if test -d /usr/nec; then
10465 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10466 hardcode_shlibpath_var=no
10467 runpath_var=LD_RUN_PATH
10468 hardcode_runpath_var=yes
10473 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10474 no_undefined_flag='${wl}-z,text'
10475 archive_cmds_need_lc=no
10476 hardcode_shlibpath_var=no
10477 runpath_var='LD_RUN_PATH'
10479 if test "$GCC" = yes; then
10480 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10481 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10483 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10484 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10488 sysv5* | sco3.2v5* | sco5v6*)
10489 # Note: We can NOT use -z defs as we might desire, because we do not
10490 # link with -lc, and that would cause any symbols used from libc to
10491 # always be unresolved, which means just about no library would
10492 # ever link correctly. If we're not using GNU ld we use -z text
10493 # though, which does catch some bad symbols but isn't as heavy-handed
10495 no_undefined_flag='${wl}-z,text'
10496 allow_undefined_flag='${wl}-z,nodefs'
10497 archive_cmds_need_lc=no
10498 hardcode_shlibpath_var=no
10499 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10500 hardcode_libdir_separator=':'
10501 link_all_deplibs=yes
10502 export_dynamic_flag_spec='${wl}-Bexport'
10503 runpath_var='LD_RUN_PATH'
10505 if test "$GCC" = yes; then
10506 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10507 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10509 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10510 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10515 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10516 hardcode_libdir_flag_spec='-L$libdir'
10517 hardcode_shlibpath_var=no
10525 if test x$host_vendor = xsni; then
10527 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10528 export_dynamic_flag_spec='${wl}-Blargedynsym'
10534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10535 $as_echo "$ld_shlibs" >&6; }
10536 test "$ld_shlibs" = no && can_build_shared=no
10538 with_gnu_ld=$with_gnu_ld
10555 # Do we need to explicitly link libc?
10557 case "x$archive_cmds_need_lc" in
10559 # Assume -lc should be added
10560 archive_cmds_need_lc=yes
10562 if test "$enable_shared" = yes && test "$GCC" = yes; then
10563 case $archive_cmds in
10565 # FIXME: we may have to deal with multi-command sequences.
10568 # Test whether the compiler implicitly links with -lc since on some
10569 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10570 # to ld, don't add -lc before -lgcc.
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10572 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10573 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10574 $as_echo_n "(cached) " >&6
10577 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10579 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10580 (eval $ac_compile) 2>&5
10582 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10583 test $ac_status = 0; } 2>conftest.err; then
10586 libobjs=conftest.$ac_objext
10588 wl=$lt_prog_compiler_wl
10589 pic_flag=$lt_prog_compiler_pic
10595 lt_save_allow_undefined_flag=$allow_undefined_flag
10596 allow_undefined_flag=
10597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10598 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10601 test $ac_status = 0; }
10603 lt_cv_archive_cmds_need_lc=no
10605 lt_cv_archive_cmds_need_lc=yes
10607 allow_undefined_flag=$lt_save_allow_undefined_flag
10609 cat conftest.err 1>&5
10614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10615 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10616 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10775 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10777 if test "$GCC" = yes; then
10779 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10780 *) lt_awk_arg="/^libraries:/" ;;
10783 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10784 *) lt_sed_strip_eq="s,=/,/,g" ;;
10786 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10787 case $lt_search_path_spec in
10789 # if the path contains ";" then we assume it to be the separator
10790 # otherwise default to the standard path separator (i.e. ":") - it is
10791 # assumed that no part of a normal pathname contains ";" but that should
10792 # okay in the real world where ";" in dirpaths is itself problematic.
10793 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10796 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10799 # Ok, now we have the path, separated by spaces, we can step through it
10800 # and add multilib dir if necessary.
10801 lt_tmp_lt_search_path_spec=
10802 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10803 for lt_sys_path in $lt_search_path_spec; do
10804 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10805 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10807 test -d "$lt_sys_path" && \
10808 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10811 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10812 BEGIN {RS=" "; FS="/|\n";} {
10815 for (lt_i = NF; lt_i > 0; lt_i--) {
10816 if ($lt_i != "" && $lt_i != ".") {
10817 if ($lt_i == "..") {
10820 if (lt_count == 0) {
10821 lt_foo="/" $lt_i lt_foo;
10828 if (lt_foo != "") { lt_freq[lt_foo]++; }
10829 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10831 # AWK program above erroneously prepends '/' to C:/dos/paths
10834 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10835 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10837 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10839 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10841 library_names_spec=
10842 libname_spec='lib$name'
10846 postuninstall_cmds=
10850 shlibpath_overrides_runpath=unknown
10852 dynamic_linker="$host_os ld.so"
10853 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10854 need_lib_prefix=unknown
10855 hardcode_into_libs=no
10857 # when you set need_version to no, make sure it does not cause -set_version
10858 # flags to be left without arguments
10859 need_version=unknown
10863 version_type=linux # correct to gnu/linux during the next big refactor
10864 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10865 shlibpath_var=LIBPATH
10867 # AIX 3 has no versioning support, so we append a major version to the name.
10868 soname_spec='${libname}${release}${shared_ext}$major'
10872 version_type=linux # correct to gnu/linux during the next big refactor
10875 hardcode_into_libs=yes
10876 if test "$host_cpu" = ia64; then
10877 # AIX 5 supports IA64
10878 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10879 shlibpath_var=LD_LIBRARY_PATH
10881 # With GCC up to 2.95.x, collect2 would create an import file
10882 # for dependence libraries. The import file would start with
10883 # the line `#! .'. This would cause the generated library to
10884 # depend on `.', always an invalid library. This was fixed in
10885 # development snapshots of GCC prior to 3.0.
10887 aix4 | aix4.[01] | aix4.[01].*)
10888 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10890 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10893 can_build_shared=no
10897 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10898 # soname into executable. Probably we can add versioning support to
10899 # collect2, so additional links can be useful in future.
10900 if test "$aix_use_runtimelinking" = yes; then
10901 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10902 # instead of lib<name>.a to let people know that these are not
10903 # typical AIX shared libraries.
10904 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10906 # We preserve .a as extension for shared libraries through AIX4.2
10907 # and later when we are not doing run time linking.
10908 library_names_spec='${libname}${release}.a $libname.a'
10909 soname_spec='${libname}${release}${shared_ext}$major'
10911 shlibpath_var=LIBPATH
10918 # Since July 2007 AmigaOS4 officially supports .so libraries.
10919 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10920 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10923 library_names_spec='$libname.ixlibrary $libname.a'
10924 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10925 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
10931 library_names_spec='${libname}${shared_ext}'
10932 dynamic_linker="$host_os ld.so"
10933 shlibpath_var=LIBRARY_PATH
10937 version_type=linux # correct to gnu/linux during the next big refactor
10939 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 soname_spec='${libname}${release}${shared_ext}$major'
10941 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10942 shlibpath_var=LD_LIBRARY_PATH
10943 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10944 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10945 # the default ld.so.conf also contains /usr/contrib/lib and
10946 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10947 # libtool to hard-code these into programs
10950 cygwin* | mingw* | pw32* | cegcc*)
10951 version_type=windows
10956 case $GCC,$cc_basename in
10959 library_names_spec='$libname.dll.a'
10960 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10961 postinstall_cmds='base_file=`basename \${file}`~
10962 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10963 dldir=$destdir/`dirname \$dlpath`~
10964 test -d \$dldir || mkdir -p \$dldir~
10965 $install_prog $dir/$dlname \$dldir/$dlname~
10966 chmod a+x \$dldir/$dlname~
10967 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10968 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10970 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10971 dlpath=$dir/\$dldll~
10973 shlibpath_overrides_runpath=yes
10977 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10978 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10980 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10983 # MinGW DLLs use traditional 'lib' prefix
10984 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10987 # pw32 DLLs use 'pw' prefix rather than 'lib'
10988 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10991 dynamic_linker='Win32 ld.exe'
10996 libname_spec='$name'
10997 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10998 library_names_spec='${libname}.dll.lib'
11002 sys_lib_search_path_spec=
11005 for lt_path in $LIB
11008 # Let DOS variable expansion print the short 8.3 style file name.
11009 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11010 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11013 # Convert to MSYS style.
11014 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11017 # Convert to unix form, then to dos form, then back to unix form
11018 # but this time dos style (no spaces!) so that the unix form looks
11019 # like /cygdrive/c/PROGRA~1:/cygdr...
11020 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11021 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11022 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11025 sys_lib_search_path_spec="$LIB"
11026 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11027 # It is most probably a Windows format PATH.
11028 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11030 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11032 # FIXME: find the short name or the path components, as spaces are
11033 # common. (e.g. "Program Files" -> "PROGRA~1")
11037 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11038 postinstall_cmds='base_file=`basename \${file}`~
11039 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11040 dldir=$destdir/`dirname \$dlpath`~
11041 test -d \$dldir || mkdir -p \$dldir~
11042 $install_prog $dir/$dlname \$dldir/$dlname'
11043 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11044 dlpath=$dir/\$dldll~
11046 shlibpath_overrides_runpath=yes
11047 dynamic_linker='Win32 link.exe'
11051 # Assume MSVC wrapper
11052 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11053 dynamic_linker='Win32 ld.exe'
11056 # FIXME: first we should search . and the directory the executable is in
11060 darwin* | rhapsody*)
11061 dynamic_linker="$host_os dyld"
11062 version_type=darwin
11065 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11066 soname_spec='${libname}${release}${major}$shared_ext'
11067 shlibpath_overrides_runpath=yes
11068 shlibpath_var=DYLD_LIBRARY_PATH
11069 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11071 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11072 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11076 version_type=linux # correct to gnu/linux during the next big refactor
11079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11080 soname_spec='${libname}${release}${shared_ext}$major'
11081 shlibpath_var=LD_LIBRARY_PATH
11084 freebsd* | dragonfly*)
11085 # DragonFly does not have aout. When/if they implement a new
11086 # versioning mechanism, adjust this.
11087 if test -x /usr/bin/objformat; then
11088 objformat=`/usr/bin/objformat`
11091 freebsd[23].*) objformat=aout ;;
11092 *) objformat=elf ;;
11095 version_type=freebsd-$objformat
11096 case $version_type in
11098 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11103 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11107 shlibpath_var=LD_LIBRARY_PATH
11110 shlibpath_overrides_runpath=yes
11112 freebsd3.[01]* | freebsdelf3.[01]*)
11113 shlibpath_overrides_runpath=yes
11114 hardcode_into_libs=yes
11116 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11117 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11118 shlibpath_overrides_runpath=no
11119 hardcode_into_libs=yes
11121 *) # from 4.6 on, and DragonFly
11122 shlibpath_overrides_runpath=yes
11123 hardcode_into_libs=yes
11129 version_type=linux # correct to gnu/linux during the next big refactor
11132 dynamic_linker="$host_os runtime_loader"
11133 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11134 soname_spec='${libname}${release}${shared_ext}$major'
11135 shlibpath_var=LIBRARY_PATH
11136 shlibpath_overrides_runpath=yes
11137 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11138 hardcode_into_libs=yes
11141 hpux9* | hpux10* | hpux11*)
11142 # Give a soname corresponding to the major version so that dld.sl refuses to
11143 # link against other versions.
11150 hardcode_into_libs=yes
11151 dynamic_linker="$host_os dld.so"
11152 shlibpath_var=LD_LIBRARY_PATH
11153 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11154 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11155 soname_spec='${libname}${release}${shared_ext}$major'
11156 if test "X$HPUX_IA64_MODE" = X32; then
11157 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11159 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11161 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11165 hardcode_into_libs=yes
11166 dynamic_linker="$host_os dld.sl"
11167 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11168 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11169 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11170 soname_spec='${libname}${release}${shared_ext}$major'
11171 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11172 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11176 dynamic_linker="$host_os dld.sl"
11177 shlibpath_var=SHLIB_PATH
11178 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11179 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11180 soname_spec='${libname}${release}${shared_ext}$major'
11183 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11184 postinstall_cmds='chmod 555 $lib'
11185 # or fails outright, so override atomically:
11186 install_override_mode=555
11190 version_type=linux # correct to gnu/linux during the next big refactor
11193 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11194 soname_spec='${libname}${release}${shared_ext}$major'
11195 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11196 shlibpath_var=LD_LIBRARY_PATH
11197 shlibpath_overrides_runpath=no
11198 hardcode_into_libs=yes
11201 irix5* | irix6* | nonstopux*)
11203 nonstopux*) version_type=nonstopux ;;
11205 if test "$lt_cv_prog_gnu_ld" = yes; then
11206 version_type=linux # correct to gnu/linux during the next big refactor
11213 soname_spec='${libname}${release}${shared_ext}$major'
11214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11216 irix5* | nonstopux*)
11217 libsuff= shlibsuff=
11220 case $LD in # libtool.m4 will add one of these switches to LD
11221 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11222 libsuff= shlibsuff= libmagic=32-bit;;
11223 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11224 libsuff=32 shlibsuff=N32 libmagic=N32;;
11225 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11226 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11227 *) libsuff= shlibsuff= libmagic=never-match;;
11231 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11232 shlibpath_overrides_runpath=no
11233 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11234 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11235 hardcode_into_libs=yes
11238 # No shared lib support for Linux oldld, aout, or coff.
11239 linux*oldld* | linux*aout* | linux*coff*)
11243 # This must be glibc/ELF.
11244 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11245 version_type=linux # correct to gnu/linux during the next big refactor
11248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11249 soname_spec='${libname}${release}${shared_ext}$major'
11250 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11251 shlibpath_var=LD_LIBRARY_PATH
11252 shlibpath_overrides_runpath=no
11254 # Some binutils ld are patched to set DT_RUNPATH
11255 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11256 $as_echo_n "(cached) " >&6
11258 lt_cv_shlibpath_overrides_runpath=no
11259 save_LDFLAGS=$LDFLAGS
11260 save_libdir=$libdir
11261 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11262 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11274 if ac_fn_c_try_link "$LINENO"; then :
11275 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11276 lt_cv_shlibpath_overrides_runpath=yes
11279 rm -f core conftest.err conftest.$ac_objext \
11280 conftest$ac_exeext conftest.$ac_ext
11281 LDFLAGS=$save_LDFLAGS
11282 libdir=$save_libdir
11286 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11288 # This implies no fast_install, which is unacceptable.
11289 # Some rework will be needed to allow for fast_install
11290 # before this can be enabled.
11291 hardcode_into_libs=yes
11293 # Append ld.so.conf contents to the search path
11294 if test -f /etc/ld.so.conf; then
11295 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
11296 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11299 # We used to test for /lib/ld.so.1 and disable shared libraries on
11300 # powerpc, because MkLinux only supported shared libraries with the
11301 # GNU dynamic linker. Since this was broken with cross compilers,
11302 # most powerpc-linux boxes support dynamic linking these days and
11303 # people can always --disable-shared, the test was removed, and we
11304 # assume the GNU/Linux dynamic linker is in use.
11305 dynamic_linker='GNU/Linux ld.so'
11312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11313 soname_spec='${libname}${release}${shared_ext}$major'
11314 shlibpath_var=LD_LIBRARY_PATH
11315 shlibpath_overrides_runpath=no
11316 hardcode_into_libs=yes
11317 dynamic_linker='NetBSD ld.elf_so'
11324 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11325 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11326 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11327 dynamic_linker='NetBSD (a.out) ld.so'
11329 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11330 soname_spec='${libname}${release}${shared_ext}$major'
11331 dynamic_linker='NetBSD ld.elf_so'
11333 shlibpath_var=LD_LIBRARY_PATH
11334 shlibpath_overrides_runpath=yes
11335 hardcode_into_libs=yes
11339 version_type=linux # correct to gnu/linux during the next big refactor
11340 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11341 shlibpath_var=LD_LIBRARY_PATH
11342 shlibpath_overrides_runpath=yes
11349 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11350 soname_spec='${libname}${release}${shared_ext}$major'
11351 shlibpath_var=LD_LIBRARY_PATH
11352 shlibpath_overrides_runpath=no
11353 hardcode_into_libs=yes
11354 dynamic_linker='ldqnx.so'
11359 sys_lib_dlsearch_path_spec="/usr/lib"
11361 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11363 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11364 *) need_version=no ;;
11366 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11367 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11368 shlibpath_var=LD_LIBRARY_PATH
11369 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11371 openbsd2.[89] | openbsd2.[89].*)
11372 shlibpath_overrides_runpath=no
11375 shlibpath_overrides_runpath=yes
11379 shlibpath_overrides_runpath=yes
11384 libname_spec='$name'
11387 library_names_spec='$libname${shared_ext} $libname.a'
11388 dynamic_linker='OS/2 ld.exe'
11389 shlibpath_var=LIBPATH
11392 osf3* | osf4* | osf5*)
11396 soname_spec='${libname}${release}${shared_ext}$major'
11397 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11398 shlibpath_var=LD_LIBRARY_PATH
11399 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11400 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11408 version_type=linux # correct to gnu/linux during the next big refactor
11411 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11412 soname_spec='${libname}${release}${shared_ext}$major'
11413 shlibpath_var=LD_LIBRARY_PATH
11414 shlibpath_overrides_runpath=yes
11415 hardcode_into_libs=yes
11416 # ldd complains unless libraries are executable
11417 postinstall_cmds='chmod +x $lib'
11422 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11423 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11424 shlibpath_var=LD_LIBRARY_PATH
11425 shlibpath_overrides_runpath=yes
11426 if test "$with_gnu_ld" = yes; then
11433 version_type=linux # correct to gnu/linux during the next big refactor
11434 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11435 soname_spec='${libname}${release}${shared_ext}$major'
11436 shlibpath_var=LD_LIBRARY_PATH
11437 case $host_vendor in
11439 shlibpath_overrides_runpath=no
11441 runpath_var=LD_RUN_PATH
11449 shlibpath_overrides_runpath=no
11450 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11456 if test -d /usr/nec ;then
11457 version_type=linux # correct to gnu/linux during the next big refactor
11458 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11459 soname_spec='$libname${shared_ext}.$major'
11460 shlibpath_var=LD_LIBRARY_PATH
11464 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11465 version_type=freebsd-elf
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11469 soname_spec='${libname}${release}${shared_ext}$major'
11470 shlibpath_var=LD_LIBRARY_PATH
11471 shlibpath_overrides_runpath=yes
11472 hardcode_into_libs=yes
11473 if test "$with_gnu_ld" = yes; then
11474 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11476 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11479 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11483 sys_lib_dlsearch_path_spec='/usr/lib'
11487 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11488 version_type=linux # correct to gnu/linux during the next big refactor
11491 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11492 shlibpath_var=LD_LIBRARY_PATH
11493 shlibpath_overrides_runpath=no
11494 hardcode_into_libs=yes
11498 version_type=linux # correct to gnu/linux during the next big refactor
11499 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11500 soname_spec='${libname}${release}${shared_ext}$major'
11501 shlibpath_var=LD_LIBRARY_PATH
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11509 $as_echo "$dynamic_linker" >&6; }
11510 test "$dynamic_linker" = no && can_build_shared=no
11512 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11513 if test "$GCC" = yes; then
11514 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11517 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11518 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11520 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11521 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11616 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11618 if test -n "$hardcode_libdir_flag_spec" ||
11619 test -n "$runpath_var" ||
11620 test "X$hardcode_automatic" = "Xyes" ; then
11622 # We can hardcode non-existent directories.
11623 if test "$hardcode_direct" != no &&
11624 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11625 # have to relink, otherwise we might link with an installed library
11626 # when we should be linking with a yet-to-be-installed one
11627 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11628 test "$hardcode_minus_L" != no; then
11629 # Linking always hardcodes the temporary library directory.
11630 hardcode_action=relink
11632 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11633 hardcode_action=immediate
11636 # We cannot hardcode anything, or else we can only hardcode existing
11638 hardcode_action=unsupported
11640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11641 $as_echo "$hardcode_action" >&6; }
11643 if test "$hardcode_action" = relink ||
11644 test "$inherit_rpath" = yes; then
11645 # Fast installation is not supported
11646 enable_fast_install=no
11647 elif test "$shlibpath_overrides_runpath" = yes ||
11648 test "$enable_shared" = no; then
11649 # Fast installation is not necessary
11650 enable_fast_install=needless
11658 if test "x$enable_dlopen" != xyes; then
11659 enable_dlopen=unknown
11660 enable_dlopen_self=unknown
11661 enable_dlopen_self_static=unknown
11668 lt_cv_dlopen="load_add_on"
11670 lt_cv_dlopen_self=yes
11673 mingw* | pw32* | cegcc*)
11674 lt_cv_dlopen="LoadLibrary"
11679 lt_cv_dlopen="dlopen"
11684 # if libdl is installed we need to link against it
11685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11686 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11687 if ${ac_cv_lib_dl_dlopen+:} false; then :
11688 $as_echo_n "(cached) " >&6
11690 ac_check_lib_save_LIBS=$LIBS
11692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11693 /* end confdefs.h. */
11695 /* Override any GCC internal prototype to avoid an error.
11696 Use char because int might match the return type of a GCC
11697 builtin and then its argument prototype would still apply. */
11710 if ac_fn_c_try_link "$LINENO"; then :
11711 ac_cv_lib_dl_dlopen=yes
11713 ac_cv_lib_dl_dlopen=no
11715 rm -f core conftest.err conftest.$ac_objext \
11716 conftest$ac_exeext conftest.$ac_ext
11717 LIBS=$ac_check_lib_save_LIBS
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11720 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11721 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11722 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11725 lt_cv_dlopen="dyld"
11727 lt_cv_dlopen_self=yes
11734 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11735 if test "x$ac_cv_func_shl_load" = xyes; then :
11736 lt_cv_dlopen="shl_load"
11738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11739 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11740 if ${ac_cv_lib_dld_shl_load+:} false; then :
11741 $as_echo_n "(cached) " >&6
11743 ac_check_lib_save_LIBS=$LIBS
11745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11746 /* end confdefs.h. */
11748 /* Override any GCC internal prototype to avoid an error.
11749 Use char because int might match the return type of a GCC
11750 builtin and then its argument prototype would still apply. */
11758 return shl_load ();
11763 if ac_fn_c_try_link "$LINENO"; then :
11764 ac_cv_lib_dld_shl_load=yes
11766 ac_cv_lib_dld_shl_load=no
11768 rm -f core conftest.err conftest.$ac_objext \
11769 conftest$ac_exeext conftest.$ac_ext
11770 LIBS=$ac_check_lib_save_LIBS
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11773 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11774 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11775 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11777 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11778 if test "x$ac_cv_func_dlopen" = xyes; then :
11779 lt_cv_dlopen="dlopen"
11781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11782 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11783 if ${ac_cv_lib_dl_dlopen+:} false; then :
11784 $as_echo_n "(cached) " >&6
11786 ac_check_lib_save_LIBS=$LIBS
11788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11789 /* end confdefs.h. */
11791 /* Override any GCC internal prototype to avoid an error.
11792 Use char because int might match the return type of a GCC
11793 builtin and then its argument prototype would still apply. */
11806 if ac_fn_c_try_link "$LINENO"; then :
11807 ac_cv_lib_dl_dlopen=yes
11809 ac_cv_lib_dl_dlopen=no
11811 rm -f core conftest.err conftest.$ac_objext \
11812 conftest$ac_exeext conftest.$ac_ext
11813 LIBS=$ac_check_lib_save_LIBS
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11816 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11817 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11818 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11821 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11822 if ${ac_cv_lib_svld_dlopen+:} false; then :
11823 $as_echo_n "(cached) " >&6
11825 ac_check_lib_save_LIBS=$LIBS
11826 LIBS="-lsvld $LIBS"
11827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11828 /* end confdefs.h. */
11830 /* Override any GCC internal prototype to avoid an error.
11831 Use char because int might match the return type of a GCC
11832 builtin and then its argument prototype would still apply. */
11845 if ac_fn_c_try_link "$LINENO"; then :
11846 ac_cv_lib_svld_dlopen=yes
11848 ac_cv_lib_svld_dlopen=no
11850 rm -f core conftest.err conftest.$ac_objext \
11851 conftest$ac_exeext conftest.$ac_ext
11852 LIBS=$ac_check_lib_save_LIBS
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11855 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11856 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11857 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11860 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11861 if ${ac_cv_lib_dld_dld_link+:} false; then :
11862 $as_echo_n "(cached) " >&6
11864 ac_check_lib_save_LIBS=$LIBS
11866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11879 return dld_link ();
11884 if ac_fn_c_try_link "$LINENO"; then :
11885 ac_cv_lib_dld_dld_link=yes
11887 ac_cv_lib_dld_dld_link=no
11889 rm -f core conftest.err conftest.$ac_objext \
11890 conftest$ac_exeext conftest.$ac_ext
11891 LIBS=$ac_check_lib_save_LIBS
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11894 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11895 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11896 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11917 if test "x$lt_cv_dlopen" != xno; then
11923 case $lt_cv_dlopen in
11925 save_CPPFLAGS="$CPPFLAGS"
11926 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11928 save_LDFLAGS="$LDFLAGS"
11929 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11932 LIBS="$lt_cv_dlopen_libs $LIBS"
11934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11935 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11936 if ${lt_cv_dlopen_self+:} false; then :
11937 $as_echo_n "(cached) " >&6
11939 if test "$cross_compiling" = yes; then :
11940 lt_cv_dlopen_self=cross
11942 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11943 lt_status=$lt_dlunknown
11944 cat > conftest.$ac_ext <<_LT_EOF
11945 #line $LINENO "configure"
11946 #include "confdefs.h"
11955 # define LT_DLGLOBAL RTLD_GLOBAL
11958 # define LT_DLGLOBAL DL_GLOBAL
11960 # define LT_DLGLOBAL 0
11964 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11965 find out it does not work in some platform. */
11966 #ifndef LT_DLLAZY_OR_NOW
11968 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11971 # define LT_DLLAZY_OR_NOW DL_LAZY
11974 # define LT_DLLAZY_OR_NOW RTLD_NOW
11977 # define LT_DLLAZY_OR_NOW DL_NOW
11979 # define LT_DLLAZY_OR_NOW 0
11986 /* When -fvisbility=hidden is used, assume the code has been annotated
11987 correspondingly for the symbols needed. */
11988 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11989 int fnord () __attribute__((visibility("default")));
11992 int fnord () { return 42; }
11995 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11996 int status = $lt_dlunknown;
12000 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12003 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12004 else puts (dlerror ());
12006 /* dlclose (self); */
12014 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12015 (eval $ac_link) 2>&5
12017 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12018 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12019 (./conftest; exit; ) >&5 2>/dev/null
12021 case x$lt_status in
12022 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12023 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12024 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12027 # compilation failed
12028 lt_cv_dlopen_self=no
12035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12036 $as_echo "$lt_cv_dlopen_self" >&6; }
12038 if test "x$lt_cv_dlopen_self" = xyes; then
12039 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12041 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12042 if ${lt_cv_dlopen_self_static+:} false; then :
12043 $as_echo_n "(cached) " >&6
12045 if test "$cross_compiling" = yes; then :
12046 lt_cv_dlopen_self_static=cross
12048 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12049 lt_status=$lt_dlunknown
12050 cat > conftest.$ac_ext <<_LT_EOF
12051 #line $LINENO "configure"
12052 #include "confdefs.h"
12061 # define LT_DLGLOBAL RTLD_GLOBAL
12064 # define LT_DLGLOBAL DL_GLOBAL
12066 # define LT_DLGLOBAL 0
12070 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12071 find out it does not work in some platform. */
12072 #ifndef LT_DLLAZY_OR_NOW
12074 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12077 # define LT_DLLAZY_OR_NOW DL_LAZY
12080 # define LT_DLLAZY_OR_NOW RTLD_NOW
12083 # define LT_DLLAZY_OR_NOW DL_NOW
12085 # define LT_DLLAZY_OR_NOW 0
12092 /* When -fvisbility=hidden is used, assume the code has been annotated
12093 correspondingly for the symbols needed. */
12094 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12095 int fnord () __attribute__((visibility("default")));
12098 int fnord () { return 42; }
12101 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12102 int status = $lt_dlunknown;
12106 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12109 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12110 else puts (dlerror ());
12112 /* dlclose (self); */
12120 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12121 (eval $ac_link) 2>&5
12123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12124 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12125 (./conftest; exit; ) >&5 2>/dev/null
12127 case x$lt_status in
12128 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12129 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12130 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12133 # compilation failed
12134 lt_cv_dlopen_self_static=no
12141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12142 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12145 CPPFLAGS="$save_CPPFLAGS"
12146 LDFLAGS="$save_LDFLAGS"
12151 case $lt_cv_dlopen_self in
12152 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12153 *) enable_dlopen_self=unknown ;;
12156 case $lt_cv_dlopen_self_static in
12157 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12158 *) enable_dlopen_self_static=unknown ;;
12180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12181 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12182 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12183 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12184 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12186 $as_echo "yes" >&6; }
12188 # FIXME - insert some real tests, host_os isn't really good enough
12191 if test -n "$STRIP" ; then
12192 striplib="$STRIP -x"
12193 old_striplib="$STRIP -S"
12194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12195 $as_echo "yes" >&6; }
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12198 $as_echo "no" >&6; }
12202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12203 $as_echo "no" >&6; }
12219 # Report which library types will actually be built
12220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12221 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12223 $as_echo "$can_build_shared" >&6; }
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12226 $as_echo_n "checking whether to build shared libraries... " >&6; }
12227 test "$can_build_shared" = "no" && enable_shared=no
12229 # On AIX, shared libraries and static libraries use the same namespace, and
12230 # are all built from PIC.
12233 test "$enable_shared" = yes && enable_static=no
12234 if test -n "$RANLIB"; then
12235 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12236 postinstall_cmds='$RANLIB $lib'
12241 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12242 test "$enable_shared" = yes && enable_static=no
12246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12247 $as_echo "$enable_shared" >&6; }
12249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12250 $as_echo_n "checking whether to build static libraries... " >&6; }
12251 # Make sure either enable_shared or enable_static is yes.
12252 test "$enable_shared" = yes || enable_static=yes
12253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12254 $as_echo "$enable_static" >&6; }
12261 ac_cpp='$CPP $CPPFLAGS'
12262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12282 ac_config_commands="$ac_config_commands libtool"
12287 # Only expand once:
12291 rra_lib_arch_name=lib
12292 # The cast to long int works around a bug in the HP C Compiler
12293 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12294 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12295 # This bug is HP SR number 8606223364.
12296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12297 $as_echo_n "checking size of long... " >&6; }
12298 if ${ac_cv_sizeof_long+:} false; then :
12299 $as_echo_n "(cached) " >&6
12301 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12304 if test "$ac_cv_type_long" = yes; then
12305 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12306 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12307 as_fn_error 77 "cannot compute sizeof (long)
12308 See \`config.log' for more details" "$LINENO" 5; }
12310 ac_cv_sizeof_long=0
12315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12316 $as_echo "$ac_cv_sizeof_long" >&6; }
12320 cat >>confdefs.h <<_ACEOF
12321 #define SIZEOF_LONG $ac_cv_sizeof_long
12325 if test "$ac_cv_sizeof_long" -eq 4 && test -d /usr/lib32; then :
12326 rra_lib_arch_name=lib32
12328 if test "$ac_cv_sizeof_long" -eq 8 && test -d /usr/lib64; then :
12329 rra_lib_arch_name=lib64
12334 rra_CDB_includedir=
12343 # Check whether --with-tinycdb was given.
12344 if test "${with_tinycdb+set}" = set; then :
12345 withval=$with_tinycdb; if test x"$withval" = xno; then :
12348 if test x"$withval" != xyes; then :
12349 rra_CDB_root="$withval"
12356 # Check whether --with-tinycdb-include was given.
12357 if test "${with_tinycdb_include+set}" = set; then :
12358 withval=$with_tinycdb_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12359 rra_CDB_includedir="$withval"
12364 # Check whether --with-tinycdb-lib was given.
12365 if test "${with_tinycdb_lib+set}" = set; then :
12366 withval=$with_tinycdb_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12367 rra_CDB_libdir="$withval"
12371 if test x"$rra_use_CDB" != xfalse; then :
12372 if test x"$rra_use_CDB" = xtrue; then :
12373 if test x"$rra_CDB_libdir" != x; then :
12374 CDB_LDFLAGS="-L$rra_CDB_libdir"
12376 if test x"$rra_CDB_root" != x; then :
12378 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
12379 if test x"" = x; then :
12380 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
12382 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
12385 if test x"" = x; then :
12386 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
12388 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
12391 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
12394 if test x"$rra_CDB_includedir" != x; then :
12395 CDB_CPPFLAGS="-I$rra_CDB_includedir"
12397 if test x"$rra_CDB_root" != x; then :
12398 if test x"$rra_CDB_root" != x/usr; then :
12399 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
12403 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
12404 rra_CDB_save_LDFLAGS="$LDFLAGS"
12405 rra_CDB_save_LIBS="$LIBS"
12406 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
12407 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
12408 LIBS="$CDB_LIBS $LIBS"
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
12410 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
12411 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
12412 $as_echo_n "(cached) " >&6
12414 ac_check_lib_save_LIBS=$LIBS
12416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12417 /* end confdefs.h. */
12419 /* Override any GCC internal prototype to avoid an error.
12420 Use char because int might match the return type of a GCC
12421 builtin and then its argument prototype would still apply. */
12429 return cdb_init ();
12434 if ac_fn_c_try_link "$LINENO"; then :
12435 ac_cv_lib_cdb_cdb_init=yes
12437 ac_cv_lib_cdb_cdb_init=no
12439 rm -f core conftest.err conftest.$ac_objext \
12440 conftest$ac_exeext conftest.$ac_ext
12441 LIBS=$ac_check_lib_save_LIBS
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
12444 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
12445 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
12448 $as_echo "#define HAVE_CDB 1" >>confdefs.h
12452 if test x"true" = xtrue; then :
12453 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
12457 for ac_header in cdb.h
12459 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
12460 if test "x$ac_cv_header_cdb_h" = xyes; then :
12461 cat >>confdefs.h <<_ACEOF
12462 #define HAVE_CDB_H 1
12469 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
12470 LDFLAGS="$rra_CDB_save_LDFLAGS"
12471 LIBS="$rra_CDB_save_LIBS"
12473 if test x"$rra_CDB_libdir" != x; then :
12474 CDB_LDFLAGS="-L$rra_CDB_libdir"
12476 if test x"$rra_CDB_root" != x; then :
12478 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
12479 if test x"" = x; then :
12480 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
12482 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
12485 if test x"" = x; then :
12486 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
12488 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
12491 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
12494 if test x"$rra_CDB_includedir" != x; then :
12495 CDB_CPPFLAGS="-I$rra_CDB_includedir"
12497 if test x"$rra_CDB_root" != x; then :
12498 if test x"$rra_CDB_root" != x/usr; then :
12499 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
12503 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
12504 rra_CDB_save_LDFLAGS="$LDFLAGS"
12505 rra_CDB_save_LIBS="$LIBS"
12506 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
12507 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
12508 LIBS="$CDB_LIBS $LIBS"
12509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
12510 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
12511 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
12512 $as_echo_n "(cached) " >&6
12514 ac_check_lib_save_LIBS=$LIBS
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 /* Override any GCC internal prototype to avoid an error.
12520 Use char because int might match the return type of a GCC
12521 builtin and then its argument prototype would still apply. */
12529 return cdb_init ();
12534 if ac_fn_c_try_link "$LINENO"; then :
12535 ac_cv_lib_cdb_cdb_init=yes
12537 ac_cv_lib_cdb_cdb_init=no
12539 rm -f core conftest.err conftest.$ac_objext \
12540 conftest$ac_exeext conftest.$ac_ext
12541 LIBS=$ac_check_lib_save_LIBS
12543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
12544 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
12545 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
12548 $as_echo "#define HAVE_CDB 1" >>confdefs.h
12552 if test x"false" = xtrue; then :
12553 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
12557 for ac_header in cdb.h
12559 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
12560 if test "x$ac_cv_header_cdb_h" = xyes; then :
12561 cat >>confdefs.h <<_ACEOF
12562 #define HAVE_CDB_H 1
12569 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
12570 LDFLAGS="$rra_CDB_save_LDFLAGS"
12571 LIBS="$rra_CDB_save_LIBS"
12574 rra_system_cracklib=
12576 rra_cracklib_libdir=
12577 rra_cracklib_includedir=
12586 # Check whether --with-cracklib was given.
12587 if test "${with_cracklib+set}" = set; then :
12588 withval=$with_cracklib; if test x"$withval" != xno; then :
12589 rra_system_cracklib=yes
12591 if test x"$withval" != xyes && test x"$withval" != xno; then :
12592 rra_cracklib_root="$withval"
12597 # Check whether --with-cracklib-include was given.
12598 if test "${with_cracklib_include+set}" = set; then :
12599 withval=$with_cracklib_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12600 rra_cracklib_includedir="$withval"
12605 # Check whether --with-cracklib-lib was given.
12606 if test "${with_cracklib_lib+set}" = set; then :
12607 withval=$with_cracklib_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12608 rra_cracklib_libdir="$withval"
12613 if test x"$rra_system_cracklib" != xyes; then
12614 EMBEDDED_CRACKLIB_TRUE=
12615 EMBEDDED_CRACKLIB_FALSE='#'
12617 EMBEDDED_CRACKLIB_TRUE='#'
12618 EMBEDDED_CRACKLIB_FALSE=
12621 if test x"$rra_system_cracklib" = xyes; then :
12622 if test x"$rra_cracklib_libdir" != x; then :
12623 CRACKLIB_LDFLAGS="-L$rra_cracklib_libdir"
12625 if test x"$rra_cracklib_root" != x; then :
12627 if test -d "$rra_cracklib_root/$rra_lib_arch_name"; then :
12628 if test x"" = x; then :
12629 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}"
12631 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}/"
12634 if test x"" = x; then :
12635 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib"
12637 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib/"
12640 CRACKLIB_LDFLAGS=`echo "$CRACKLIB_LDFLAGS" | sed -e 's/^ *//'`
12643 if test x"$rra_cracklib_includedir" != x; then :
12644 CRACKLIB_CPPFLAGS="-I$rra_cracklib_includedir"
12646 if test x"$rra_cracklib_root" != x; then :
12647 if test x"$rra_cracklib_root" != x/usr; then :
12648 CRACKLIB_CPPFLAGS="-I${rra_cracklib_root}/include"
12652 CRACKLIB_LIBS="-lcrack"
12653 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
12654 rra_cracklib_save_LDFLAGS="$LDFLAGS"
12655 rra_cracklib_save_LIBS="$LIBS"
12656 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
12657 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
12658 LIBS="$CRACKLIB_LIBS $LIBS"
12659 ac_fn_c_check_func "$LINENO" "FascistCheck" "ac_cv_func_FascistCheck"
12660 if test "x$ac_cv_func_FascistCheck" = xyes; then :
12663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12665 as_fn_error $? "unable to link with CrackLib library
12666 See \`config.log' for more details" "$LINENO" 5; }
12669 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
12670 LDFLAGS="$rra_cracklib_save_LDFLAGS"
12671 LIBS="$rra_cracklib_save_LIBS"
12673 if test x"$rra_system_cracklib" = xyes; then :
12674 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
12675 rra_cracklib_save_LDFLAGS="$LDFLAGS"
12676 rra_cracklib_save_LIBS="$LIBS"
12677 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
12678 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
12679 LIBS="$CRACKLIB_LIBS $LIBS"
12680 for ac_header in crack.h
12682 ac_fn_c_check_header_mongrel "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
12683 if test "x$ac_cv_header_crack_h" = xyes; then :
12684 cat >>confdefs.h <<_ACEOF
12685 #define HAVE_CRACK_H 1
12692 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
12693 LDFLAGS="$rra_cracklib_save_LDFLAGS"
12694 LIBS="$rra_cracklib_save_LIBS"
12696 rra_reduced_depends=false
12697 # Check whether --enable-reduced-depends was given.
12698 if test "${enable_reduced_depends+set}" = set; then :
12699 enableval=$enable_reduced_depends; if test x"$enableval" = xyes; then :
12700 rra_reduced_depends=true
12705 # Extract the first word of "krb5-config", so it can be a program name with args.
12706 set dummy krb5-config; ac_word=$2
12707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12708 $as_echo_n "checking for $ac_word... " >&6; }
12709 if ${ac_cv_path_PATH_KRB5_CONFIG+:} false; then :
12710 $as_echo_n "(cached) " >&6
12712 case $PATH_KRB5_CONFIG in
12714 ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
12717 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12718 as_dummy="${PATH}:/usr/kerberos/bin"
12719 for as_dir in $as_dummy
12722 test -z "$as_dir" && as_dir=.
12723 for ac_exec_ext in '' $ac_executable_extensions; do
12724 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12725 ac_cv_path_PATH_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12736 PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
12737 if test -n "$PATH_KRB5_CONFIG"; then
12738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
12739 $as_echo "$PATH_KRB5_CONFIG" >&6; }
12741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12742 $as_echo "no" >&6; }
12748 rra_krb5_includedir=
12749 rra_use_kerberos=true
12755 # Check whether --with-krb5 was given.
12756 if test "${with_krb5+set}" = set; then :
12757 withval=$with_krb5; if test x"$withval" != xyes && test x"$withval" != xno; then :
12758 rra_krb5_root="$withval"
12763 # Check whether --with-krb5-include was given.
12764 if test "${with_krb5_include+set}" = set; then :
12765 withval=$with_krb5_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12766 rra_krb5_includedir="$withval"
12771 # Check whether --with-krb5-lib was given.
12772 if test "${with_krb5_lib+set}" = set; then :
12773 withval=$with_krb5_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12774 rra_krb5_libdir="$withval"
12780 if test x"$rra_krb5_includedir" != x; then :
12781 rra_krb5_incroot="$rra_krb5_includedir"
12783 if test x"$rra_krb5_root" != x; then :
12784 rra_krb5_incroot="${rra_krb5_root}/include"
12787 if test x"$rra_reduced_depends" = xtrue; then :
12788 if test x"$rra_krb5_libdir" != x; then :
12789 KRB5_LDFLAGS="-L$rra_krb5_libdir"
12791 if test x"$rra_krb5_root" != x; then :
12793 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
12794 if test x"" = x; then :
12795 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
12797 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
12800 if test x"" = x; then :
12801 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
12803 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
12806 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
12809 if test x"$rra_krb5_includedir" != x; then :
12810 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
12812 if test x"$rra_krb5_root" != x; then :
12813 if test x"$rra_krb5_root" != x/usr; then :
12814 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
12818 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
12819 rra_krb5_save_LDFLAGS="$LDFLAGS"
12820 rra_krb5_save_LIBS="$LIBS"
12821 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
12822 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
12823 LIBS="$KRB5_LIBS $LIBS"
12824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
12825 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
12826 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
12827 $as_echo_n "(cached) " >&6
12829 ac_check_lib_save_LIBS=$LIBS
12830 LIBS="-lkrb5 $LIBS"
12831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12832 /* end confdefs.h. */
12834 /* Override any GCC internal prototype to avoid an error.
12835 Use char because int might match the return type of a GCC
12836 builtin and then its argument prototype would still apply. */
12840 char krb5_init_context ();
12844 return krb5_init_context ();
12849 if ac_fn_c_try_link "$LINENO"; then :
12850 ac_cv_lib_krb5_krb5_init_context=yes
12852 ac_cv_lib_krb5_krb5_init_context=no
12854 rm -f core conftest.err conftest.$ac_objext \
12855 conftest$ac_exeext conftest.$ac_ext
12856 LIBS=$ac_check_lib_save_LIBS
12858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
12859 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
12860 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
12863 if test x"true" = xtrue; then :
12864 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
12868 LIBS="$KRB5_LIBS $LIBS"
12869 if test x"$rra_krb5_incroot" = x; then :
12870 for ac_header in krb5.h krb5/krb5.h
12872 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12873 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12874 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12875 cat >>confdefs.h <<_ACEOF
12876 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
12885 $as_echo_n "checking for krb5.h... " >&6; }
12886 if test -f "${rra_krb5_incroot}/krb5.h"; then :
12888 cat >>confdefs.h <<_ACEOF
12889 #define HAVE_KRB5_H 1
12892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12893 $as_echo "yes" >&6; }
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12896 $as_echo "no" >&6; }
12898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
12899 $as_echo_n "checking for krb5/krb5.h... " >&6; }
12900 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
12902 cat >>confdefs.h <<_ACEOF
12903 #define HAVE_KRB5_KRB5_H 1
12906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12907 $as_echo "yes" >&6; }
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12910 $as_echo "no" >&6; }
12913 for ac_func in krb5_get_error_message
12915 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
12916 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
12917 cat >>confdefs.h <<_ACEOF
12918 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
12920 for ac_func in krb5_free_error_message
12922 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
12923 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
12924 cat >>confdefs.h <<_ACEOF
12925 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
12932 for ac_func in krb5_get_error_string
12934 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
12935 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
12936 cat >>confdefs.h <<_ACEOF
12937 #define HAVE_KRB5_GET_ERROR_STRING 1
12941 for ac_func in krb5_get_err_txt
12943 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
12944 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
12945 cat >>confdefs.h <<_ACEOF
12946 #define HAVE_KRB5_GET_ERR_TXT 1
12950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
12951 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
12952 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
12953 $as_echo_n "(cached) " >&6
12955 ac_check_lib_save_LIBS=$LIBS
12956 LIBS="-lksvc $LIBS"
12957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12958 /* end confdefs.h. */
12960 /* Override any GCC internal prototype to avoid an error.
12961 Use char because int might match the return type of a GCC
12962 builtin and then its argument prototype would still apply. */
12966 char krb5_svc_get_msg ();
12970 return krb5_svc_get_msg ();
12975 if ac_fn_c_try_link "$LINENO"; then :
12976 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
12978 ac_cv_lib_ksvc_krb5_svc_get_msg=no
12980 rm -f core conftest.err conftest.$ac_objext \
12981 conftest$ac_exeext conftest.$ac_ext
12982 LIBS=$ac_check_lib_save_LIBS
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
12985 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
12986 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
12987 KRB5_LIBS="$KRB5_LIBS -lksvc"
12988 $as_echo "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
12990 for ac_header in ibm_svc/krb5_svc.h
12992 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
12996 # include <krb5/krb5.h>
13000 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
13001 cat >>confdefs.h <<_ACEOF
13002 #define HAVE_IBM_SVC_KRB5_SVC_H 1
13010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
13011 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
13012 if ${ac_cv_lib_com_err_com_err+:} false; then :
13013 $as_echo_n "(cached) " >&6
13015 ac_check_lib_save_LIBS=$LIBS
13016 LIBS="-lcom_err $LIBS"
13017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13018 /* end confdefs.h. */
13020 /* Override any GCC internal prototype to avoid an error.
13021 Use char because int might match the return type of a GCC
13022 builtin and then its argument prototype would still apply. */
13035 if ac_fn_c_try_link "$LINENO"; then :
13036 ac_cv_lib_com_err_com_err=yes
13038 ac_cv_lib_com_err_com_err=no
13040 rm -f core conftest.err conftest.$ac_objext \
13041 conftest$ac_exeext conftest.$ac_ext
13042 LIBS=$ac_check_lib_save_LIBS
13044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
13045 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
13046 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
13047 KRB5_LIBS="$KRB5_LIBS -lcom_err"
13049 as_fn_error $? "cannot find usable com_err library" "$LINENO" 5
13052 for ac_header in et/com_err.h
13054 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
13055 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
13056 cat >>confdefs.h <<_ACEOF
13057 #define HAVE_ET_COM_ERR_H 1
13075 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13076 LDFLAGS="$rra_krb5_save_LDFLAGS"
13077 LIBS="$rra_krb5_save_LIBS"
13079 if test x"$rra_krb5_includedir" = x && test x"$rra_krb5_libdir" = x; then :
13081 rra_krb5_config_KRB5=
13082 rra_krb5_config_KRB5_ok=
13083 if test x"${rra_krb5_root}" != x && test -x "${rra_krb5_root}/bin/krb5-config"; then :
13084 rra_krb5_config_KRB5="${rra_krb5_root}/bin/krb5-config"
13086 rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
13088 if test x"$rra_krb5_config_KRB5" != x && test -x "$rra_krb5_config_KRB5"; then :
13089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5 support in krb5-config" >&5
13090 $as_echo_n "checking for krb5 support in krb5-config... " >&6; }
13091 if ${rra_cv_lib_KRB5_config+:} false; then :
13092 $as_echo_n "(cached) " >&6
13094 if "$rra_krb5_config_KRB5" 2>&1 | grep krb5 >/dev/null 2>&1; then :
13095 rra_cv_lib_KRB5_config=yes
13097 rra_cv_lib_KRB5_config=no
13100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_lib_KRB5_config" >&5
13101 $as_echo "$rra_cv_lib_KRB5_config" >&6; }
13102 if test "$rra_cv_lib_KRB5_config" = yes; then :
13103 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags krb5 2>/dev/null`
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --deps support in krb5-config" >&5
13108 $as_echo_n "checking for --deps support in krb5-config... " >&6; }
13109 if ${rra_cv_krb5_config_deps+:} false; then :
13110 $as_echo_n "(cached) " >&6
13112 if "$rra_krb5_config_KRB5" 2>&1 | grep deps >/dev/null 2>&1; then :
13113 rra_cv_krb5_config_deps=yes
13115 rra_cv_krb5_config_deps=no
13118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_krb5_config_deps" >&5
13119 $as_echo "$rra_cv_krb5_config_deps" >&6; }
13120 if test x"$rra_reduced_depends" = xfalse \
13121 && test x"$rra_cv_krb5_config_deps" = xyes; then :
13122 KRB5_LIBS=`"$rra_krb5_config_KRB5" --deps --libs krb5 2>/dev/null`
13124 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
13126 rra_krb5_config_KRB5_ok=yes
13128 if test x"krb5" = xkrb5; then :
13129 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags 2>/dev/null`
13130 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
13131 rra_krb5_config_KRB5_ok=yes
13135 if test x"$rra_krb5_config_KRB5_ok" = xyes; then :
13136 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include %%'`
13137 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include$%%'`
13138 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
13139 rra_krb5_save_LDFLAGS="$LDFLAGS"
13140 rra_krb5_save_LIBS="$LIBS"
13141 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
13142 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
13143 LIBS="$KRB5_LIBS $LIBS"
13144 ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
13145 if test "x$ac_cv_func_krb5_init_context" = xyes; then :
13146 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13147 LDFLAGS="$rra_krb5_save_LDFLAGS"
13148 LIBS="$rra_krb5_save_LIBS"
13150 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13151 LDFLAGS="$rra_krb5_save_LDFLAGS"
13152 LIBS="$rra_krb5_save_LIBS"
13155 if test x"$rra_krb5_libdir" != x; then :
13156 KRB5_LDFLAGS="-L$rra_krb5_libdir"
13158 if test x"$rra_krb5_root" != x; then :
13160 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
13161 if test x"" = x; then :
13162 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
13164 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
13167 if test x"" = x; then :
13168 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
13170 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
13173 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
13176 if test x"$rra_krb5_includedir" != x; then :
13177 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
13179 if test x"$rra_krb5_root" != x; then :
13180 if test x"$rra_krb5_root" != x/usr; then :
13181 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
13185 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
13186 rra_krb5_save_LDFLAGS="$LDFLAGS"
13187 rra_krb5_save_LIBS="$LIBS"
13188 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
13189 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
13190 LIBS="$KRB5_LIBS $LIBS"
13193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
13194 $as_echo_n "checking for library containing res_search... " >&6; }
13195 if ${ac_cv_search_res_search+:} false; then :
13196 $as_echo_n "(cached) " >&6
13198 ac_func_search_save_LIBS=$LIBS
13199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13200 /* end confdefs.h. */
13202 /* Override any GCC internal prototype to avoid an error.
13203 Use char because int might match the return type of a GCC
13204 builtin and then its argument prototype would still apply. */
13208 char res_search ();
13212 return res_search ();
13217 for ac_lib in '' resolv; do
13218 if test -z "$ac_lib"; then
13219 ac_res="none required"
13222 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13224 if ac_fn_c_try_link "$LINENO"; then :
13225 ac_cv_search_res_search=$ac_res
13227 rm -f core conftest.err conftest.$ac_objext \
13229 if ${ac_cv_search_res_search+:} false; then :
13233 if ${ac_cv_search_res_search+:} false; then :
13236 ac_cv_search_res_search=no
13238 rm conftest.$ac_ext
13239 LIBS=$ac_func_search_save_LIBS
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
13242 $as_echo "$ac_cv_search_res_search" >&6; }
13243 ac_res=$ac_cv_search_res_search
13244 if test "$ac_res" != no; then :
13245 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
13249 $as_echo_n "checking for library containing __res_search... " >&6; }
13250 if ${ac_cv_search___res_search+:} false; then :
13251 $as_echo_n "(cached) " >&6
13253 ac_func_search_save_LIBS=$LIBS
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13263 char __res_search ();
13267 return __res_search ();
13272 for ac_lib in '' resolv; do
13273 if test -z "$ac_lib"; then
13274 ac_res="none required"
13277 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13279 if ac_fn_c_try_link "$LINENO"; then :
13280 ac_cv_search___res_search=$ac_res
13282 rm -f core conftest.err conftest.$ac_objext \
13284 if ${ac_cv_search___res_search+:} false; then :
13288 if ${ac_cv_search___res_search+:} false; then :
13291 ac_cv_search___res_search=no
13293 rm conftest.$ac_ext
13294 LIBS=$ac_func_search_save_LIBS
13296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
13297 $as_echo "$ac_cv_search___res_search" >&6; }
13298 ac_res=$ac_cv_search___res_search
13299 if test "$ac_res" != no; then :
13300 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13307 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13308 if ${ac_cv_search_gethostbyname+:} false; then :
13309 $as_echo_n "(cached) " >&6
13311 ac_func_search_save_LIBS=$LIBS
13312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13313 /* end confdefs.h. */
13315 /* Override any GCC internal prototype to avoid an error.
13316 Use char because int might match the return type of a GCC
13317 builtin and then its argument prototype would still apply. */
13321 char gethostbyname ();
13325 return gethostbyname ();
13330 for ac_lib in '' nsl; do
13331 if test -z "$ac_lib"; then
13332 ac_res="none required"
13335 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13337 if ac_fn_c_try_link "$LINENO"; then :
13338 ac_cv_search_gethostbyname=$ac_res
13340 rm -f core conftest.err conftest.$ac_objext \
13342 if ${ac_cv_search_gethostbyname+:} false; then :
13346 if ${ac_cv_search_gethostbyname+:} false; then :
13349 ac_cv_search_gethostbyname=no
13351 rm conftest.$ac_ext
13352 LIBS=$ac_func_search_save_LIBS
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13355 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13356 ac_res=$ac_cv_search_gethostbyname
13357 if test "$ac_res" != no; then :
13358 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13363 $as_echo_n "checking for library containing socket... " >&6; }
13364 if ${ac_cv_search_socket+:} false; then :
13365 $as_echo_n "(cached) " >&6
13367 ac_func_search_save_LIBS=$LIBS
13368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13369 /* end confdefs.h. */
13371 /* Override any GCC internal prototype to avoid an error.
13372 Use char because int might match the return type of a GCC
13373 builtin and then its argument prototype would still apply. */
13386 for ac_lib in '' socket; do
13387 if test -z "$ac_lib"; then
13388 ac_res="none required"
13391 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13393 if ac_fn_c_try_link "$LINENO"; then :
13394 ac_cv_search_socket=$ac_res
13396 rm -f core conftest.err conftest.$ac_objext \
13398 if ${ac_cv_search_socket+:} false; then :
13402 if ${ac_cv_search_socket+:} false; then :
13405 ac_cv_search_socket=no
13407 rm conftest.$ac_ext
13408 LIBS=$ac_func_search_save_LIBS
13410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13411 $as_echo "$ac_cv_search_socket" >&6; }
13412 ac_res=$ac_cv_search_socket
13413 if test "$ac_res" != no; then :
13414 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
13418 $as_echo_n "checking for socket in -lnsl... " >&6; }
13419 if ${ac_cv_lib_nsl_socket+:} false; then :
13420 $as_echo_n "(cached) " >&6
13422 ac_check_lib_save_LIBS=$LIBS
13423 LIBS="-lnsl -lsocket $LIBS"
13424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13425 /* end confdefs.h. */
13427 /* Override any GCC internal prototype to avoid an error.
13428 Use char because int might match the return type of a GCC
13429 builtin and then its argument prototype would still apply. */
13442 if ac_fn_c_try_link "$LINENO"; then :
13443 ac_cv_lib_nsl_socket=yes
13445 ac_cv_lib_nsl_socket=no
13447 rm -f core conftest.err conftest.$ac_objext \
13448 conftest$ac_exeext conftest.$ac_ext
13449 LIBS=$ac_check_lib_save_LIBS
13451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
13452 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
13453 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
13454 LIBS="-lnsl -lsocket $LIBS"
13459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13460 $as_echo_n "checking for library containing crypt... " >&6; }
13461 if ${ac_cv_search_crypt+:} false; then :
13462 $as_echo_n "(cached) " >&6
13464 ac_func_search_save_LIBS=$LIBS
13465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13466 /* end confdefs.h. */
13468 /* Override any GCC internal prototype to avoid an error.
13469 Use char because int might match the return type of a GCC
13470 builtin and then its argument prototype would still apply. */
13483 for ac_lib in '' crypt; do
13484 if test -z "$ac_lib"; then
13485 ac_res="none required"
13488 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13490 if ac_fn_c_try_link "$LINENO"; then :
13491 ac_cv_search_crypt=$ac_res
13493 rm -f core conftest.err conftest.$ac_objext \
13495 if ${ac_cv_search_crypt+:} false; then :
13499 if ${ac_cv_search_crypt+:} false; then :
13502 ac_cv_search_crypt=no
13504 rm conftest.$ac_ext
13505 LIBS=$ac_func_search_save_LIBS
13507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13508 $as_echo "$ac_cv_search_crypt" >&6; }
13509 ac_res=$ac_cv_search_crypt
13510 if test "$ac_res" != no; then :
13511 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
13516 $as_echo_n "checking for library containing roken_concat... " >&6; }
13517 if ${ac_cv_search_roken_concat+:} false; then :
13518 $as_echo_n "(cached) " >&6
13520 ac_func_search_save_LIBS=$LIBS
13521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13522 /* end confdefs.h. */
13524 /* Override any GCC internal prototype to avoid an error.
13525 Use char because int might match the return type of a GCC
13526 builtin and then its argument prototype would still apply. */
13530 char roken_concat ();
13534 return roken_concat ();
13539 for ac_lib in '' roken; do
13540 if test -z "$ac_lib"; then
13541 ac_res="none required"
13544 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13546 if ac_fn_c_try_link "$LINENO"; then :
13547 ac_cv_search_roken_concat=$ac_res
13549 rm -f core conftest.err conftest.$ac_objext \
13551 if ${ac_cv_search_roken_concat+:} false; then :
13555 if ${ac_cv_search_roken_concat+:} false; then :
13558 ac_cv_search_roken_concat=no
13560 rm conftest.$ac_ext
13561 LIBS=$ac_func_search_save_LIBS
13563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
13564 $as_echo "$ac_cv_search_roken_concat" >&6; }
13565 ac_res=$ac_cv_search_roken_concat
13566 if test "$ac_res" != no; then :
13567 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13571 rra_krb5_extra="$LIBS"
13572 LIBS="$rra_krb5_save_LIBS"
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
13574 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
13575 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
13576 $as_echo_n "(cached) " >&6
13578 ac_check_lib_save_LIBS=$LIBS
13579 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
13580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13581 /* end confdefs.h. */
13583 /* Override any GCC internal prototype to avoid an error.
13584 Use char because int might match the return type of a GCC
13585 builtin and then its argument prototype would still apply. */
13589 char krb5_init_context ();
13593 return krb5_init_context ();
13598 if ac_fn_c_try_link "$LINENO"; then :
13599 ac_cv_lib_krb5_krb5_init_context=yes
13601 ac_cv_lib_krb5_krb5_init_context=no
13603 rm -f core conftest.err conftest.$ac_objext \
13604 conftest$ac_exeext conftest.$ac_ext
13605 LIBS=$ac_check_lib_save_LIBS
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13608 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
13609 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
13610 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
13612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
13613 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
13614 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
13615 $as_echo_n "(cached) " >&6
13617 ac_check_lib_save_LIBS=$LIBS
13618 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
13619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13620 /* end confdefs.h. */
13622 /* Override any GCC internal prototype to avoid an error.
13623 Use char because int might match the return type of a GCC
13624 builtin and then its argument prototype would still apply. */
13628 char krb5int_getspecific ();
13632 return krb5int_getspecific ();
13637 if ac_fn_c_try_link "$LINENO"; then :
13638 ac_cv_lib_krb5support_krb5int_getspecific=yes
13640 ac_cv_lib_krb5support_krb5int_getspecific=no
13642 rm -f core conftest.err conftest.$ac_objext \
13643 conftest$ac_exeext conftest.$ac_ext
13644 LIBS=$ac_check_lib_save_LIBS
13646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
13647 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
13648 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
13649 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
13652 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
13653 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
13654 $as_echo_n "(cached) " >&6
13656 ac_check_lib_save_LIBS=$LIBS
13657 LIBS="-lpthreads $LIBS"
13658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13659 /* end confdefs.h. */
13661 /* Override any GCC internal prototype to avoid an error.
13662 Use char because int might match the return type of a GCC
13663 builtin and then its argument prototype would still apply. */
13667 char pthread_setspecific ();
13671 return pthread_setspecific ();
13676 if ac_fn_c_try_link "$LINENO"; then :
13677 ac_cv_lib_pthreads_pthread_setspecific=yes
13679 ac_cv_lib_pthreads_pthread_setspecific=no
13681 rm -f core conftest.err conftest.$ac_objext \
13682 conftest$ac_exeext conftest.$ac_ext
13683 LIBS=$ac_check_lib_save_LIBS
13685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
13686 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
13687 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
13688 rra_krb5_pthread="-lpthreads"
13690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
13691 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
13692 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
13693 $as_echo_n "(cached) " >&6
13695 ac_check_lib_save_LIBS=$LIBS
13696 LIBS="-lpthread $LIBS"
13697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13698 /* end confdefs.h. */
13700 /* Override any GCC internal prototype to avoid an error.
13701 Use char because int might match the return type of a GCC
13702 builtin and then its argument prototype would still apply. */
13706 char pthread_setspecific ();
13710 return pthread_setspecific ();
13715 if ac_fn_c_try_link "$LINENO"; then :
13716 ac_cv_lib_pthread_pthread_setspecific=yes
13718 ac_cv_lib_pthread_pthread_setspecific=no
13720 rm -f core conftest.err conftest.$ac_objext \
13721 conftest$ac_exeext conftest.$ac_ext
13722 LIBS=$ac_check_lib_save_LIBS
13724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
13725 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
13726 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
13727 rra_krb5_pthread="-lpthread"
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
13733 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
13734 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
13735 $as_echo_n "(cached) " >&6
13737 ac_check_lib_save_LIBS=$LIBS
13738 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13748 char krb5int_setspecific ();
13752 return krb5int_setspecific ();
13757 if ac_fn_c_try_link "$LINENO"; then :
13758 ac_cv_lib_krb5support_krb5int_setspecific=yes
13760 ac_cv_lib_krb5support_krb5int_setspecific=no
13762 rm -f core conftest.err conftest.$ac_objext \
13763 conftest$ac_exeext conftest.$ac_ext
13764 LIBS=$ac_check_lib_save_LIBS
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
13767 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
13768 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
13769 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
13774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
13775 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
13776 if ${ac_cv_lib_com_err_error_message+:} false; then :
13777 $as_echo_n "(cached) " >&6
13779 ac_check_lib_save_LIBS=$LIBS
13780 LIBS="-lcom_err $rra_krb5_extra $LIBS"
13781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13782 /* end confdefs.h. */
13784 /* Override any GCC internal prototype to avoid an error.
13785 Use char because int might match the return type of a GCC
13786 builtin and then its argument prototype would still apply. */
13790 char error_message ();
13794 return error_message ();
13799 if ac_fn_c_try_link "$LINENO"; then :
13800 ac_cv_lib_com_err_error_message=yes
13802 ac_cv_lib_com_err_error_message=no
13804 rm -f core conftest.err conftest.$ac_objext \
13805 conftest$ac_exeext conftest.$ac_ext
13806 LIBS=$ac_check_lib_save_LIBS
13808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
13809 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
13810 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
13811 rra_krb5_extra="-lcom_err $rra_krb5_extra"
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
13815 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
13816 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
13817 $as_echo_n "(cached) " >&6
13819 ac_check_lib_save_LIBS=$LIBS
13820 LIBS="-lksvc $rra_krb5_extra $LIBS"
13821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13822 /* end confdefs.h. */
13824 /* Override any GCC internal prototype to avoid an error.
13825 Use char because int might match the return type of a GCC
13826 builtin and then its argument prototype would still apply. */
13830 char krb5_svc_get_msg ();
13834 return krb5_svc_get_msg ();
13839 if ac_fn_c_try_link "$LINENO"; then :
13840 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
13842 ac_cv_lib_ksvc_krb5_svc_get_msg=no
13844 rm -f core conftest.err conftest.$ac_objext \
13845 conftest$ac_exeext conftest.$ac_ext
13846 LIBS=$ac_check_lib_save_LIBS
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
13849 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
13850 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
13851 rra_krb5_extra="-lksvc $rra_krb5_extra"
13854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
13855 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
13856 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
13857 $as_echo_n "(cached) " >&6
13859 ac_check_lib_save_LIBS=$LIBS
13860 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
13861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13864 /* Override any GCC internal prototype to avoid an error.
13865 Use char because int might match the return type of a GCC
13866 builtin and then its argument prototype would still apply. */
13870 char krb5int_hash_md5 ();
13874 return krb5int_hash_md5 ();
13879 if ac_fn_c_try_link "$LINENO"; then :
13880 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
13882 ac_cv_lib_k5crypto_krb5int_hash_md5=no
13884 rm -f core conftest.err conftest.$ac_objext \
13885 conftest$ac_exeext conftest.$ac_ext
13886 LIBS=$ac_check_lib_save_LIBS
13888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
13889 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
13890 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
13891 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
13894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
13895 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
13896 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
13897 $as_echo_n "(cached) " >&6
13899 ac_check_lib_save_LIBS=$LIBS
13900 LIBS="-lk5profile $rra_krb5_extra $LIBS"
13901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13902 /* end confdefs.h. */
13904 /* Override any GCC internal prototype to avoid an error.
13905 Use char because int might match the return type of a GCC
13906 builtin and then its argument prototype would still apply. */
13910 char profile_get_values ();
13914 return profile_get_values ();
13919 if ac_fn_c_try_link "$LINENO"; then :
13920 ac_cv_lib_k5profile_profile_get_values=yes
13922 ac_cv_lib_k5profile_profile_get_values=no
13924 rm -f core conftest.err conftest.$ac_objext \
13925 conftest$ac_exeext conftest.$ac_ext
13926 LIBS=$ac_check_lib_save_LIBS
13928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
13929 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
13930 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
13931 rra_krb5_extra="-lk5profile $rra_krb5_extra"
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
13935 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
13936 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
13937 $as_echo_n "(cached) " >&6
13939 ac_check_lib_save_LIBS=$LIBS
13940 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13950 char krb5_cc_default ();
13954 return krb5_cc_default ();
13959 if ac_fn_c_try_link "$LINENO"; then :
13960 ac_cv_lib_krb5_krb5_cc_default=yes
13962 ac_cv_lib_krb5_krb5_cc_default=no
13964 rm -f core conftest.err conftest.$ac_objext \
13965 conftest$ac_exeext conftest.$ac_ext
13966 LIBS=$ac_check_lib_save_LIBS
13968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
13969 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
13970 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
13971 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
13973 if test x"true" = xtrue; then :
13974 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
13980 LIBS="$KRB5_LIBS $LIBS"
13981 if test x"$rra_krb5_incroot" = x; then :
13982 for ac_header in krb5.h krb5/krb5.h
13984 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13985 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13986 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13987 cat >>confdefs.h <<_ACEOF
13988 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
13997 $as_echo_n "checking for krb5.h... " >&6; }
13998 if test -f "${rra_krb5_incroot}/krb5.h"; then :
14000 cat >>confdefs.h <<_ACEOF
14001 #define HAVE_KRB5_H 1
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14005 $as_echo "yes" >&6; }
14007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14008 $as_echo "no" >&6; }
14010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
14011 $as_echo_n "checking for krb5/krb5.h... " >&6; }
14012 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
14014 cat >>confdefs.h <<_ACEOF
14015 #define HAVE_KRB5_KRB5_H 1
14018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14019 $as_echo "yes" >&6; }
14021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14022 $as_echo "no" >&6; }
14025 for ac_func in krb5_get_error_message
14027 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
14028 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
14029 cat >>confdefs.h <<_ACEOF
14030 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
14032 for ac_func in krb5_free_error_message
14034 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
14035 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
14036 cat >>confdefs.h <<_ACEOF
14037 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
14044 for ac_func in krb5_get_error_string
14046 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
14047 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
14048 cat >>confdefs.h <<_ACEOF
14049 #define HAVE_KRB5_GET_ERROR_STRING 1
14053 for ac_func in krb5_get_err_txt
14055 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
14056 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
14057 cat >>confdefs.h <<_ACEOF
14058 #define HAVE_KRB5_GET_ERR_TXT 1
14062 for ac_func in krb5_svc_get_msg
14064 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
14065 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
14066 cat >>confdefs.h <<_ACEOF
14067 #define HAVE_KRB5_SVC_GET_MSG 1
14069 for ac_header in ibm_svc/krb5_svc.h
14071 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
14075 # include <krb5/krb5.h>
14079 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
14080 cat >>confdefs.h <<_ACEOF
14081 #define HAVE_IBM_SVC_KRB5_SVC_H 1
14089 for ac_header in et/com_err.h
14091 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
14092 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
14093 cat >>confdefs.h <<_ACEOF
14094 #define HAVE_ET_COM_ERR_H 1
14113 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
14114 LDFLAGS="$rra_krb5_save_LDFLAGS"
14115 LIBS="$rra_krb5_save_LIBS"
14118 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
14119 rra_krb5_save_LDFLAGS="$LDFLAGS"
14120 rra_krb5_save_LIBS="$LIBS"
14121 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
14122 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
14123 LIBS="$KRB5_LIBS $LIBS"
14124 if test x"$rra_krb5_incroot" = x; then :
14125 for ac_header in krb5.h krb5/krb5.h
14127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14128 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14129 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14130 cat >>confdefs.h <<_ACEOF
14131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
14140 $as_echo_n "checking for krb5.h... " >&6; }
14141 if test -f "${rra_krb5_incroot}/krb5.h"; then :
14143 cat >>confdefs.h <<_ACEOF
14144 #define HAVE_KRB5_H 1
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14148 $as_echo "yes" >&6; }
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14151 $as_echo "no" >&6; }
14153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
14154 $as_echo_n "checking for krb5/krb5.h... " >&6; }
14155 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
14157 cat >>confdefs.h <<_ACEOF
14158 #define HAVE_KRB5_KRB5_H 1
14161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14162 $as_echo "yes" >&6; }
14164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14165 $as_echo "no" >&6; }
14168 for ac_func in krb5_get_error_message
14170 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
14171 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
14172 cat >>confdefs.h <<_ACEOF
14173 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
14175 for ac_func in krb5_free_error_message
14177 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
14178 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
14179 cat >>confdefs.h <<_ACEOF
14180 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
14187 for ac_func in krb5_get_error_string
14189 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
14190 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
14191 cat >>confdefs.h <<_ACEOF
14192 #define HAVE_KRB5_GET_ERROR_STRING 1
14196 for ac_func in krb5_get_err_txt
14198 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
14199 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
14200 cat >>confdefs.h <<_ACEOF
14201 #define HAVE_KRB5_GET_ERR_TXT 1
14205 for ac_func in krb5_svc_get_msg
14207 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
14208 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
14209 cat >>confdefs.h <<_ACEOF
14210 #define HAVE_KRB5_SVC_GET_MSG 1
14212 for ac_header in ibm_svc/krb5_svc.h
14214 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
14218 # include <krb5/krb5.h>
14222 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
14223 cat >>confdefs.h <<_ACEOF
14224 #define HAVE_IBM_SVC_KRB5_SVC_H 1
14232 for ac_header in et/com_err.h
14234 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
14235 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
14236 cat >>confdefs.h <<_ACEOF
14237 #define HAVE_ET_COM_ERR_H 1
14256 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
14257 LDFLAGS="$rra_krb5_save_LDFLAGS"
14258 LIBS="$rra_krb5_save_LIBS"
14260 if test x"$rra_krb5_libdir" != x; then :
14261 KRB5_LDFLAGS="-L$rra_krb5_libdir"
14263 if test x"$rra_krb5_root" != x; then :
14265 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
14266 if test x"" = x; then :
14267 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
14269 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
14272 if test x"" = x; then :
14273 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
14275 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
14278 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
14281 if test x"$rra_krb5_includedir" != x; then :
14282 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
14284 if test x"$rra_krb5_root" != x; then :
14285 if test x"$rra_krb5_root" != x/usr; then :
14286 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
14290 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
14291 rra_krb5_save_LDFLAGS="$LDFLAGS"
14292 rra_krb5_save_LIBS="$LIBS"
14293 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
14294 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
14295 LIBS="$KRB5_LIBS $LIBS"
14298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
14299 $as_echo_n "checking for library containing res_search... " >&6; }
14300 if ${ac_cv_search_res_search+:} false; then :
14301 $as_echo_n "(cached) " >&6
14303 ac_func_search_save_LIBS=$LIBS
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14307 /* Override any GCC internal prototype to avoid an error.
14308 Use char because int might match the return type of a GCC
14309 builtin and then its argument prototype would still apply. */
14313 char res_search ();
14317 return res_search ();
14322 for ac_lib in '' resolv; do
14323 if test -z "$ac_lib"; then
14324 ac_res="none required"
14327 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14329 if ac_fn_c_try_link "$LINENO"; then :
14330 ac_cv_search_res_search=$ac_res
14332 rm -f core conftest.err conftest.$ac_objext \
14334 if ${ac_cv_search_res_search+:} false; then :
14338 if ${ac_cv_search_res_search+:} false; then :
14341 ac_cv_search_res_search=no
14343 rm conftest.$ac_ext
14344 LIBS=$ac_func_search_save_LIBS
14346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
14347 $as_echo "$ac_cv_search_res_search" >&6; }
14348 ac_res=$ac_cv_search_res_search
14349 if test "$ac_res" != no; then :
14350 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
14354 $as_echo_n "checking for library containing __res_search... " >&6; }
14355 if ${ac_cv_search___res_search+:} false; then :
14356 $as_echo_n "(cached) " >&6
14358 ac_func_search_save_LIBS=$LIBS
14359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14360 /* end confdefs.h. */
14362 /* Override any GCC internal prototype to avoid an error.
14363 Use char because int might match the return type of a GCC
14364 builtin and then its argument prototype would still apply. */
14368 char __res_search ();
14372 return __res_search ();
14377 for ac_lib in '' resolv; do
14378 if test -z "$ac_lib"; then
14379 ac_res="none required"
14382 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14384 if ac_fn_c_try_link "$LINENO"; then :
14385 ac_cv_search___res_search=$ac_res
14387 rm -f core conftest.err conftest.$ac_objext \
14389 if ${ac_cv_search___res_search+:} false; then :
14393 if ${ac_cv_search___res_search+:} false; then :
14396 ac_cv_search___res_search=no
14398 rm conftest.$ac_ext
14399 LIBS=$ac_func_search_save_LIBS
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
14402 $as_echo "$ac_cv_search___res_search" >&6; }
14403 ac_res=$ac_cv_search___res_search
14404 if test "$ac_res" != no; then :
14405 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14412 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14413 if ${ac_cv_search_gethostbyname+:} false; then :
14414 $as_echo_n "(cached) " >&6
14416 ac_func_search_save_LIBS=$LIBS
14417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14418 /* end confdefs.h. */
14420 /* Override any GCC internal prototype to avoid an error.
14421 Use char because int might match the return type of a GCC
14422 builtin and then its argument prototype would still apply. */
14426 char gethostbyname ();
14430 return gethostbyname ();
14435 for ac_lib in '' nsl; do
14436 if test -z "$ac_lib"; then
14437 ac_res="none required"
14440 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14442 if ac_fn_c_try_link "$LINENO"; then :
14443 ac_cv_search_gethostbyname=$ac_res
14445 rm -f core conftest.err conftest.$ac_objext \
14447 if ${ac_cv_search_gethostbyname+:} false; then :
14451 if ${ac_cv_search_gethostbyname+:} false; then :
14454 ac_cv_search_gethostbyname=no
14456 rm conftest.$ac_ext
14457 LIBS=$ac_func_search_save_LIBS
14459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14460 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14461 ac_res=$ac_cv_search_gethostbyname
14462 if test "$ac_res" != no; then :
14463 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14468 $as_echo_n "checking for library containing socket... " >&6; }
14469 if ${ac_cv_search_socket+:} false; then :
14470 $as_echo_n "(cached) " >&6
14472 ac_func_search_save_LIBS=$LIBS
14473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14474 /* end confdefs.h. */
14476 /* Override any GCC internal prototype to avoid an error.
14477 Use char because int might match the return type of a GCC
14478 builtin and then its argument prototype would still apply. */
14491 for ac_lib in '' socket; do
14492 if test -z "$ac_lib"; then
14493 ac_res="none required"
14496 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14498 if ac_fn_c_try_link "$LINENO"; then :
14499 ac_cv_search_socket=$ac_res
14501 rm -f core conftest.err conftest.$ac_objext \
14503 if ${ac_cv_search_socket+:} false; then :
14507 if ${ac_cv_search_socket+:} false; then :
14510 ac_cv_search_socket=no
14512 rm conftest.$ac_ext
14513 LIBS=$ac_func_search_save_LIBS
14515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14516 $as_echo "$ac_cv_search_socket" >&6; }
14517 ac_res=$ac_cv_search_socket
14518 if test "$ac_res" != no; then :
14519 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
14523 $as_echo_n "checking for socket in -lnsl... " >&6; }
14524 if ${ac_cv_lib_nsl_socket+:} false; then :
14525 $as_echo_n "(cached) " >&6
14527 ac_check_lib_save_LIBS=$LIBS
14528 LIBS="-lnsl -lsocket $LIBS"
14529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530 /* end confdefs.h. */
14532 /* Override any GCC internal prototype to avoid an error.
14533 Use char because int might match the return type of a GCC
14534 builtin and then its argument prototype would still apply. */
14547 if ac_fn_c_try_link "$LINENO"; then :
14548 ac_cv_lib_nsl_socket=yes
14550 ac_cv_lib_nsl_socket=no
14552 rm -f core conftest.err conftest.$ac_objext \
14553 conftest$ac_exeext conftest.$ac_ext
14554 LIBS=$ac_check_lib_save_LIBS
14556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
14557 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
14558 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
14559 LIBS="-lnsl -lsocket $LIBS"
14564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14565 $as_echo_n "checking for library containing crypt... " >&6; }
14566 if ${ac_cv_search_crypt+:} false; then :
14567 $as_echo_n "(cached) " >&6
14569 ac_func_search_save_LIBS=$LIBS
14570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14571 /* end confdefs.h. */
14573 /* Override any GCC internal prototype to avoid an error.
14574 Use char because int might match the return type of a GCC
14575 builtin and then its argument prototype would still apply. */
14588 for ac_lib in '' crypt; do
14589 if test -z "$ac_lib"; then
14590 ac_res="none required"
14593 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14595 if ac_fn_c_try_link "$LINENO"; then :
14596 ac_cv_search_crypt=$ac_res
14598 rm -f core conftest.err conftest.$ac_objext \
14600 if ${ac_cv_search_crypt+:} false; then :
14604 if ${ac_cv_search_crypt+:} false; then :
14607 ac_cv_search_crypt=no
14609 rm conftest.$ac_ext
14610 LIBS=$ac_func_search_save_LIBS
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
14613 $as_echo "$ac_cv_search_crypt" >&6; }
14614 ac_res=$ac_cv_search_crypt
14615 if test "$ac_res" != no; then :
14616 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
14621 $as_echo_n "checking for library containing roken_concat... " >&6; }
14622 if ${ac_cv_search_roken_concat+:} false; then :
14623 $as_echo_n "(cached) " >&6
14625 ac_func_search_save_LIBS=$LIBS
14626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14627 /* end confdefs.h. */
14629 /* Override any GCC internal prototype to avoid an error.
14630 Use char because int might match the return type of a GCC
14631 builtin and then its argument prototype would still apply. */
14635 char roken_concat ();
14639 return roken_concat ();
14644 for ac_lib in '' roken; do
14645 if test -z "$ac_lib"; then
14646 ac_res="none required"
14649 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14651 if ac_fn_c_try_link "$LINENO"; then :
14652 ac_cv_search_roken_concat=$ac_res
14654 rm -f core conftest.err conftest.$ac_objext \
14656 if ${ac_cv_search_roken_concat+:} false; then :
14660 if ${ac_cv_search_roken_concat+:} false; then :
14663 ac_cv_search_roken_concat=no
14665 rm conftest.$ac_ext
14666 LIBS=$ac_func_search_save_LIBS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
14669 $as_echo "$ac_cv_search_roken_concat" >&6; }
14670 ac_res=$ac_cv_search_roken_concat
14671 if test "$ac_res" != no; then :
14672 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14676 rra_krb5_extra="$LIBS"
14677 LIBS="$rra_krb5_save_LIBS"
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
14679 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
14680 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
14681 $as_echo_n "(cached) " >&6
14683 ac_check_lib_save_LIBS=$LIBS
14684 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14688 /* Override any GCC internal prototype to avoid an error.
14689 Use char because int might match the return type of a GCC
14690 builtin and then its argument prototype would still apply. */
14694 char krb5_init_context ();
14698 return krb5_init_context ();
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_lib_krb5_krb5_init_context=yes
14706 ac_cv_lib_krb5_krb5_init_context=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 LIBS=$ac_check_lib_save_LIBS
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
14713 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
14714 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
14715 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
14718 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
14719 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
14720 $as_echo_n "(cached) " >&6
14722 ac_check_lib_save_LIBS=$LIBS
14723 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14733 char krb5int_getspecific ();
14737 return krb5int_getspecific ();
14742 if ac_fn_c_try_link "$LINENO"; then :
14743 ac_cv_lib_krb5support_krb5int_getspecific=yes
14745 ac_cv_lib_krb5support_krb5int_getspecific=no
14747 rm -f core conftest.err conftest.$ac_objext \
14748 conftest$ac_exeext conftest.$ac_ext
14749 LIBS=$ac_check_lib_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
14752 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
14753 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
14754 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
14756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
14757 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
14758 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
14759 $as_echo_n "(cached) " >&6
14761 ac_check_lib_save_LIBS=$LIBS
14762 LIBS="-lpthreads $LIBS"
14763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14764 /* end confdefs.h. */
14766 /* Override any GCC internal prototype to avoid an error.
14767 Use char because int might match the return type of a GCC
14768 builtin and then its argument prototype would still apply. */
14772 char pthread_setspecific ();
14776 return pthread_setspecific ();
14781 if ac_fn_c_try_link "$LINENO"; then :
14782 ac_cv_lib_pthreads_pthread_setspecific=yes
14784 ac_cv_lib_pthreads_pthread_setspecific=no
14786 rm -f core conftest.err conftest.$ac_objext \
14787 conftest$ac_exeext conftest.$ac_ext
14788 LIBS=$ac_check_lib_save_LIBS
14790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
14791 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
14792 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
14793 rra_krb5_pthread="-lpthreads"
14795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
14796 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
14797 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
14798 $as_echo_n "(cached) " >&6
14800 ac_check_lib_save_LIBS=$LIBS
14801 LIBS="-lpthread $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14811 char pthread_setspecific ();
14815 return pthread_setspecific ();
14820 if ac_fn_c_try_link "$LINENO"; then :
14821 ac_cv_lib_pthread_pthread_setspecific=yes
14823 ac_cv_lib_pthread_pthread_setspecific=no
14825 rm -f core conftest.err conftest.$ac_objext \
14826 conftest$ac_exeext conftest.$ac_ext
14827 LIBS=$ac_check_lib_save_LIBS
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
14830 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
14831 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
14832 rra_krb5_pthread="-lpthread"
14837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
14838 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
14839 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
14840 $as_echo_n "(cached) " >&6
14842 ac_check_lib_save_LIBS=$LIBS
14843 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
14844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14845 /* end confdefs.h. */
14847 /* Override any GCC internal prototype to avoid an error.
14848 Use char because int might match the return type of a GCC
14849 builtin and then its argument prototype would still apply. */
14853 char krb5int_setspecific ();
14857 return krb5int_setspecific ();
14862 if ac_fn_c_try_link "$LINENO"; then :
14863 ac_cv_lib_krb5support_krb5int_setspecific=yes
14865 ac_cv_lib_krb5support_krb5int_setspecific=no
14867 rm -f core conftest.err conftest.$ac_objext \
14868 conftest$ac_exeext conftest.$ac_ext
14869 LIBS=$ac_check_lib_save_LIBS
14871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
14872 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
14873 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
14874 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
14879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
14880 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
14881 if ${ac_cv_lib_com_err_error_message+:} false; then :
14882 $as_echo_n "(cached) " >&6
14884 ac_check_lib_save_LIBS=$LIBS
14885 LIBS="-lcom_err $rra_krb5_extra $LIBS"
14886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14887 /* end confdefs.h. */
14889 /* Override any GCC internal prototype to avoid an error.
14890 Use char because int might match the return type of a GCC
14891 builtin and then its argument prototype would still apply. */
14895 char error_message ();
14899 return error_message ();
14904 if ac_fn_c_try_link "$LINENO"; then :
14905 ac_cv_lib_com_err_error_message=yes
14907 ac_cv_lib_com_err_error_message=no
14909 rm -f core conftest.err conftest.$ac_objext \
14910 conftest$ac_exeext conftest.$ac_ext
14911 LIBS=$ac_check_lib_save_LIBS
14913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
14914 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
14915 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
14916 rra_krb5_extra="-lcom_err $rra_krb5_extra"
14919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
14920 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
14921 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
14922 $as_echo_n "(cached) " >&6
14924 ac_check_lib_save_LIBS=$LIBS
14925 LIBS="-lksvc $rra_krb5_extra $LIBS"
14926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14927 /* end confdefs.h. */
14929 /* Override any GCC internal prototype to avoid an error.
14930 Use char because int might match the return type of a GCC
14931 builtin and then its argument prototype would still apply. */
14935 char krb5_svc_get_msg ();
14939 return krb5_svc_get_msg ();
14944 if ac_fn_c_try_link "$LINENO"; then :
14945 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
14947 ac_cv_lib_ksvc_krb5_svc_get_msg=no
14949 rm -f core conftest.err conftest.$ac_objext \
14950 conftest$ac_exeext conftest.$ac_ext
14951 LIBS=$ac_check_lib_save_LIBS
14953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
14954 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
14955 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
14956 rra_krb5_extra="-lksvc $rra_krb5_extra"
14959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
14960 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
14961 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
14962 $as_echo_n "(cached) " >&6
14964 ac_check_lib_save_LIBS=$LIBS
14965 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
14966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14967 /* end confdefs.h. */
14969 /* Override any GCC internal prototype to avoid an error.
14970 Use char because int might match the return type of a GCC
14971 builtin and then its argument prototype would still apply. */
14975 char krb5int_hash_md5 ();
14979 return krb5int_hash_md5 ();
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
14987 ac_cv_lib_k5crypto_krb5int_hash_md5=no
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14991 LIBS=$ac_check_lib_save_LIBS
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
14994 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
14995 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
14996 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
15000 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
15001 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
15002 $as_echo_n "(cached) " >&6
15004 ac_check_lib_save_LIBS=$LIBS
15005 LIBS="-lk5profile $rra_krb5_extra $LIBS"
15006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007 /* end confdefs.h. */
15009 /* Override any GCC internal prototype to avoid an error.
15010 Use char because int might match the return type of a GCC
15011 builtin and then its argument prototype would still apply. */
15015 char profile_get_values ();
15019 return profile_get_values ();
15024 if ac_fn_c_try_link "$LINENO"; then :
15025 ac_cv_lib_k5profile_profile_get_values=yes
15027 ac_cv_lib_k5profile_profile_get_values=no
15029 rm -f core conftest.err conftest.$ac_objext \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_lib_save_LIBS
15033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
15034 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
15035 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
15036 rra_krb5_extra="-lk5profile $rra_krb5_extra"
15039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
15040 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
15041 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
15042 $as_echo_n "(cached) " >&6
15044 ac_check_lib_save_LIBS=$LIBS
15045 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
15046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15047 /* end confdefs.h. */
15049 /* Override any GCC internal prototype to avoid an error.
15050 Use char because int might match the return type of a GCC
15051 builtin and then its argument prototype would still apply. */
15055 char krb5_cc_default ();
15059 return krb5_cc_default ();
15064 if ac_fn_c_try_link "$LINENO"; then :
15065 ac_cv_lib_krb5_krb5_cc_default=yes
15067 ac_cv_lib_krb5_krb5_cc_default=no
15069 rm -f core conftest.err conftest.$ac_objext \
15070 conftest$ac_exeext conftest.$ac_ext
15071 LIBS=$ac_check_lib_save_LIBS
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
15074 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
15075 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
15076 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
15078 if test x"true" = xtrue; then :
15079 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
15085 LIBS="$KRB5_LIBS $LIBS"
15086 if test x"$rra_krb5_incroot" = x; then :
15087 for ac_header in krb5.h krb5/krb5.h
15089 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15090 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15091 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15092 cat >>confdefs.h <<_ACEOF
15093 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
15102 $as_echo_n "checking for krb5.h... " >&6; }
15103 if test -f "${rra_krb5_incroot}/krb5.h"; then :
15105 cat >>confdefs.h <<_ACEOF
15106 #define HAVE_KRB5_H 1
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15110 $as_echo "yes" >&6; }
15112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15113 $as_echo "no" >&6; }
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
15116 $as_echo_n "checking for krb5/krb5.h... " >&6; }
15117 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
15119 cat >>confdefs.h <<_ACEOF
15120 #define HAVE_KRB5_KRB5_H 1
15123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15124 $as_echo "yes" >&6; }
15126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15127 $as_echo "no" >&6; }
15130 for ac_func in krb5_get_error_message
15132 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
15133 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
15134 cat >>confdefs.h <<_ACEOF
15135 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
15137 for ac_func in krb5_free_error_message
15139 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
15140 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
15141 cat >>confdefs.h <<_ACEOF
15142 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
15149 for ac_func in krb5_get_error_string
15151 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
15152 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
15153 cat >>confdefs.h <<_ACEOF
15154 #define HAVE_KRB5_GET_ERROR_STRING 1
15158 for ac_func in krb5_get_err_txt
15160 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
15161 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
15162 cat >>confdefs.h <<_ACEOF
15163 #define HAVE_KRB5_GET_ERR_TXT 1
15167 for ac_func in krb5_svc_get_msg
15169 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
15170 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
15171 cat >>confdefs.h <<_ACEOF
15172 #define HAVE_KRB5_SVC_GET_MSG 1
15174 for ac_header in ibm_svc/krb5_svc.h
15176 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
15180 # include <krb5/krb5.h>
15184 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
15185 cat >>confdefs.h <<_ACEOF
15186 #define HAVE_IBM_SVC_KRB5_SVC_H 1
15194 for ac_header in et/com_err.h
15196 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
15197 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
15198 cat >>confdefs.h <<_ACEOF
15199 #define HAVE_ET_COM_ERR_H 1
15218 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15219 LDFLAGS="$rra_krb5_save_LDFLAGS"
15220 LIBS="$rra_krb5_save_LIBS"
15223 if test x"$rra_krb5_libdir" != x; then :
15224 KRB5_LDFLAGS="-L$rra_krb5_libdir"
15226 if test x"$rra_krb5_root" != x; then :
15228 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
15229 if test x"" = x; then :
15230 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
15232 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
15235 if test x"" = x; then :
15236 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
15238 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
15241 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
15244 if test x"$rra_krb5_includedir" != x; then :
15245 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
15247 if test x"$rra_krb5_root" != x; then :
15248 if test x"$rra_krb5_root" != x/usr; then :
15249 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
15253 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15254 rra_krb5_save_LDFLAGS="$LDFLAGS"
15255 rra_krb5_save_LIBS="$LIBS"
15256 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15257 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15258 LIBS="$KRB5_LIBS $LIBS"
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
15262 $as_echo_n "checking for library containing res_search... " >&6; }
15263 if ${ac_cv_search_res_search+:} false; then :
15264 $as_echo_n "(cached) " >&6
15266 ac_func_search_save_LIBS=$LIBS
15267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15268 /* end confdefs.h. */
15270 /* Override any GCC internal prototype to avoid an error.
15271 Use char because int might match the return type of a GCC
15272 builtin and then its argument prototype would still apply. */
15276 char res_search ();
15280 return res_search ();
15285 for ac_lib in '' resolv; do
15286 if test -z "$ac_lib"; then
15287 ac_res="none required"
15290 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15292 if ac_fn_c_try_link "$LINENO"; then :
15293 ac_cv_search_res_search=$ac_res
15295 rm -f core conftest.err conftest.$ac_objext \
15297 if ${ac_cv_search_res_search+:} false; then :
15301 if ${ac_cv_search_res_search+:} false; then :
15304 ac_cv_search_res_search=no
15306 rm conftest.$ac_ext
15307 LIBS=$ac_func_search_save_LIBS
15309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
15310 $as_echo "$ac_cv_search_res_search" >&6; }
15311 ac_res=$ac_cv_search_res_search
15312 if test "$ac_res" != no; then :
15313 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
15317 $as_echo_n "checking for library containing __res_search... " >&6; }
15318 if ${ac_cv_search___res_search+:} false; then :
15319 $as_echo_n "(cached) " >&6
15321 ac_func_search_save_LIBS=$LIBS
15322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15323 /* end confdefs.h. */
15325 /* Override any GCC internal prototype to avoid an error.
15326 Use char because int might match the return type of a GCC
15327 builtin and then its argument prototype would still apply. */
15331 char __res_search ();
15335 return __res_search ();
15340 for ac_lib in '' resolv; do
15341 if test -z "$ac_lib"; then
15342 ac_res="none required"
15345 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15347 if ac_fn_c_try_link "$LINENO"; then :
15348 ac_cv_search___res_search=$ac_res
15350 rm -f core conftest.err conftest.$ac_objext \
15352 if ${ac_cv_search___res_search+:} false; then :
15356 if ${ac_cv_search___res_search+:} false; then :
15359 ac_cv_search___res_search=no
15361 rm conftest.$ac_ext
15362 LIBS=$ac_func_search_save_LIBS
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
15365 $as_echo "$ac_cv_search___res_search" >&6; }
15366 ac_res=$ac_cv_search___res_search
15367 if test "$ac_res" != no; then :
15368 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15375 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15376 if ${ac_cv_search_gethostbyname+:} false; then :
15377 $as_echo_n "(cached) " >&6
15379 ac_func_search_save_LIBS=$LIBS
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15383 /* Override any GCC internal prototype to avoid an error.
15384 Use char because int might match the return type of a GCC
15385 builtin and then its argument prototype would still apply. */
15389 char gethostbyname ();
15393 return gethostbyname ();
15398 for ac_lib in '' nsl; do
15399 if test -z "$ac_lib"; then
15400 ac_res="none required"
15403 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15405 if ac_fn_c_try_link "$LINENO"; then :
15406 ac_cv_search_gethostbyname=$ac_res
15408 rm -f core conftest.err conftest.$ac_objext \
15410 if ${ac_cv_search_gethostbyname+:} false; then :
15414 if ${ac_cv_search_gethostbyname+:} false; then :
15417 ac_cv_search_gethostbyname=no
15419 rm conftest.$ac_ext
15420 LIBS=$ac_func_search_save_LIBS
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15423 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15424 ac_res=$ac_cv_search_gethostbyname
15425 if test "$ac_res" != no; then :
15426 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
15431 $as_echo_n "checking for library containing socket... " >&6; }
15432 if ${ac_cv_search_socket+:} false; then :
15433 $as_echo_n "(cached) " >&6
15435 ac_func_search_save_LIBS=$LIBS
15436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15437 /* end confdefs.h. */
15439 /* Override any GCC internal prototype to avoid an error.
15440 Use char because int might match the return type of a GCC
15441 builtin and then its argument prototype would still apply. */
15454 for ac_lib in '' socket; do
15455 if test -z "$ac_lib"; then
15456 ac_res="none required"
15459 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15461 if ac_fn_c_try_link "$LINENO"; then :
15462 ac_cv_search_socket=$ac_res
15464 rm -f core conftest.err conftest.$ac_objext \
15466 if ${ac_cv_search_socket+:} false; then :
15470 if ${ac_cv_search_socket+:} false; then :
15473 ac_cv_search_socket=no
15475 rm conftest.$ac_ext
15476 LIBS=$ac_func_search_save_LIBS
15478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
15479 $as_echo "$ac_cv_search_socket" >&6; }
15480 ac_res=$ac_cv_search_socket
15481 if test "$ac_res" != no; then :
15482 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
15486 $as_echo_n "checking for socket in -lnsl... " >&6; }
15487 if ${ac_cv_lib_nsl_socket+:} false; then :
15488 $as_echo_n "(cached) " >&6
15490 ac_check_lib_save_LIBS=$LIBS
15491 LIBS="-lnsl -lsocket $LIBS"
15492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15493 /* end confdefs.h. */
15495 /* Override any GCC internal prototype to avoid an error.
15496 Use char because int might match the return type of a GCC
15497 builtin and then its argument prototype would still apply. */
15510 if ac_fn_c_try_link "$LINENO"; then :
15511 ac_cv_lib_nsl_socket=yes
15513 ac_cv_lib_nsl_socket=no
15515 rm -f core conftest.err conftest.$ac_objext \
15516 conftest$ac_exeext conftest.$ac_ext
15517 LIBS=$ac_check_lib_save_LIBS
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
15520 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
15521 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
15522 LIBS="-lnsl -lsocket $LIBS"
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15528 $as_echo_n "checking for library containing crypt... " >&6; }
15529 if ${ac_cv_search_crypt+:} false; then :
15530 $as_echo_n "(cached) " >&6
15532 ac_func_search_save_LIBS=$LIBS
15533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15534 /* end confdefs.h. */
15536 /* Override any GCC internal prototype to avoid an error.
15537 Use char because int might match the return type of a GCC
15538 builtin and then its argument prototype would still apply. */
15551 for ac_lib in '' crypt; do
15552 if test -z "$ac_lib"; then
15553 ac_res="none required"
15556 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15558 if ac_fn_c_try_link "$LINENO"; then :
15559 ac_cv_search_crypt=$ac_res
15561 rm -f core conftest.err conftest.$ac_objext \
15563 if ${ac_cv_search_crypt+:} false; then :
15567 if ${ac_cv_search_crypt+:} false; then :
15570 ac_cv_search_crypt=no
15572 rm conftest.$ac_ext
15573 LIBS=$ac_func_search_save_LIBS
15575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15576 $as_echo "$ac_cv_search_crypt" >&6; }
15577 ac_res=$ac_cv_search_crypt
15578 if test "$ac_res" != no; then :
15579 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
15584 $as_echo_n "checking for library containing roken_concat... " >&6; }
15585 if ${ac_cv_search_roken_concat+:} false; then :
15586 $as_echo_n "(cached) " >&6
15588 ac_func_search_save_LIBS=$LIBS
15589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15590 /* end confdefs.h. */
15592 /* Override any GCC internal prototype to avoid an error.
15593 Use char because int might match the return type of a GCC
15594 builtin and then its argument prototype would still apply. */
15598 char roken_concat ();
15602 return roken_concat ();
15607 for ac_lib in '' roken; do
15608 if test -z "$ac_lib"; then
15609 ac_res="none required"
15612 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15614 if ac_fn_c_try_link "$LINENO"; then :
15615 ac_cv_search_roken_concat=$ac_res
15617 rm -f core conftest.err conftest.$ac_objext \
15619 if ${ac_cv_search_roken_concat+:} false; then :
15623 if ${ac_cv_search_roken_concat+:} false; then :
15626 ac_cv_search_roken_concat=no
15628 rm conftest.$ac_ext
15629 LIBS=$ac_func_search_save_LIBS
15631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
15632 $as_echo "$ac_cv_search_roken_concat" >&6; }
15633 ac_res=$ac_cv_search_roken_concat
15634 if test "$ac_res" != no; then :
15635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15639 rra_krb5_extra="$LIBS"
15640 LIBS="$rra_krb5_save_LIBS"
15641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
15642 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
15643 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
15644 $as_echo_n "(cached) " >&6
15646 ac_check_lib_save_LIBS=$LIBS
15647 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
15648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15649 /* end confdefs.h. */
15651 /* Override any GCC internal prototype to avoid an error.
15652 Use char because int might match the return type of a GCC
15653 builtin and then its argument prototype would still apply. */
15657 char krb5_init_context ();
15661 return krb5_init_context ();
15666 if ac_fn_c_try_link "$LINENO"; then :
15667 ac_cv_lib_krb5_krb5_init_context=yes
15669 ac_cv_lib_krb5_krb5_init_context=no
15671 rm -f core conftest.err conftest.$ac_objext \
15672 conftest$ac_exeext conftest.$ac_ext
15673 LIBS=$ac_check_lib_save_LIBS
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
15676 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
15677 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
15678 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
15681 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
15682 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
15683 $as_echo_n "(cached) " >&6
15685 ac_check_lib_save_LIBS=$LIBS
15686 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
15687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15688 /* end confdefs.h. */
15690 /* Override any GCC internal prototype to avoid an error.
15691 Use char because int might match the return type of a GCC
15692 builtin and then its argument prototype would still apply. */
15696 char krb5int_getspecific ();
15700 return krb5int_getspecific ();
15705 if ac_fn_c_try_link "$LINENO"; then :
15706 ac_cv_lib_krb5support_krb5int_getspecific=yes
15708 ac_cv_lib_krb5support_krb5int_getspecific=no
15710 rm -f core conftest.err conftest.$ac_objext \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_check_lib_save_LIBS
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
15715 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
15716 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
15717 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
15720 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
15721 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
15722 $as_echo_n "(cached) " >&6
15724 ac_check_lib_save_LIBS=$LIBS
15725 LIBS="-lpthreads $LIBS"
15726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15727 /* end confdefs.h. */
15729 /* Override any GCC internal prototype to avoid an error.
15730 Use char because int might match the return type of a GCC
15731 builtin and then its argument prototype would still apply. */
15735 char pthread_setspecific ();
15739 return pthread_setspecific ();
15744 if ac_fn_c_try_link "$LINENO"; then :
15745 ac_cv_lib_pthreads_pthread_setspecific=yes
15747 ac_cv_lib_pthreads_pthread_setspecific=no
15749 rm -f core conftest.err conftest.$ac_objext \
15750 conftest$ac_exeext conftest.$ac_ext
15751 LIBS=$ac_check_lib_save_LIBS
15753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
15754 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
15755 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
15756 rra_krb5_pthread="-lpthreads"
15758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
15759 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
15760 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
15761 $as_echo_n "(cached) " >&6
15763 ac_check_lib_save_LIBS=$LIBS
15764 LIBS="-lpthread $LIBS"
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15774 char pthread_setspecific ();
15778 return pthread_setspecific ();
15783 if ac_fn_c_try_link "$LINENO"; then :
15784 ac_cv_lib_pthread_pthread_setspecific=yes
15786 ac_cv_lib_pthread_pthread_setspecific=no
15788 rm -f core conftest.err conftest.$ac_objext \
15789 conftest$ac_exeext conftest.$ac_ext
15790 LIBS=$ac_check_lib_save_LIBS
15792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
15793 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
15794 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
15795 rra_krb5_pthread="-lpthread"
15800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
15801 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
15802 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
15803 $as_echo_n "(cached) " >&6
15805 ac_check_lib_save_LIBS=$LIBS
15806 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
15807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15808 /* end confdefs.h. */
15810 /* Override any GCC internal prototype to avoid an error.
15811 Use char because int might match the return type of a GCC
15812 builtin and then its argument prototype would still apply. */
15816 char krb5int_setspecific ();
15820 return krb5int_setspecific ();
15825 if ac_fn_c_try_link "$LINENO"; then :
15826 ac_cv_lib_krb5support_krb5int_setspecific=yes
15828 ac_cv_lib_krb5support_krb5int_setspecific=no
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15832 LIBS=$ac_check_lib_save_LIBS
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
15835 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
15836 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
15837 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
15842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
15843 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
15844 if ${ac_cv_lib_com_err_error_message+:} false; then :
15845 $as_echo_n "(cached) " >&6
15847 ac_check_lib_save_LIBS=$LIBS
15848 LIBS="-lcom_err $rra_krb5_extra $LIBS"
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15852 /* Override any GCC internal prototype to avoid an error.
15853 Use char because int might match the return type of a GCC
15854 builtin and then its argument prototype would still apply. */
15858 char error_message ();
15862 return error_message ();
15867 if ac_fn_c_try_link "$LINENO"; then :
15868 ac_cv_lib_com_err_error_message=yes
15870 ac_cv_lib_com_err_error_message=no
15872 rm -f core conftest.err conftest.$ac_objext \
15873 conftest$ac_exeext conftest.$ac_ext
15874 LIBS=$ac_check_lib_save_LIBS
15876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
15877 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
15878 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
15879 rra_krb5_extra="-lcom_err $rra_krb5_extra"
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
15883 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
15884 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
15885 $as_echo_n "(cached) " >&6
15887 ac_check_lib_save_LIBS=$LIBS
15888 LIBS="-lksvc $rra_krb5_extra $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15898 char krb5_svc_get_msg ();
15902 return krb5_svc_get_msg ();
15907 if ac_fn_c_try_link "$LINENO"; then :
15908 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
15910 ac_cv_lib_ksvc_krb5_svc_get_msg=no
15912 rm -f core conftest.err conftest.$ac_objext \
15913 conftest$ac_exeext conftest.$ac_ext
15914 LIBS=$ac_check_lib_save_LIBS
15916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
15917 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
15918 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
15919 rra_krb5_extra="-lksvc $rra_krb5_extra"
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
15923 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
15924 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
15925 $as_echo_n "(cached) " >&6
15927 ac_check_lib_save_LIBS=$LIBS
15928 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
15929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15930 /* end confdefs.h. */
15932 /* Override any GCC internal prototype to avoid an error.
15933 Use char because int might match the return type of a GCC
15934 builtin and then its argument prototype would still apply. */
15938 char krb5int_hash_md5 ();
15942 return krb5int_hash_md5 ();
15947 if ac_fn_c_try_link "$LINENO"; then :
15948 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
15950 ac_cv_lib_k5crypto_krb5int_hash_md5=no
15952 rm -f core conftest.err conftest.$ac_objext \
15953 conftest$ac_exeext conftest.$ac_ext
15954 LIBS=$ac_check_lib_save_LIBS
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
15957 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
15958 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
15959 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
15963 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
15964 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
15965 $as_echo_n "(cached) " >&6
15967 ac_check_lib_save_LIBS=$LIBS
15968 LIBS="-lk5profile $rra_krb5_extra $LIBS"
15969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15970 /* end confdefs.h. */
15972 /* Override any GCC internal prototype to avoid an error.
15973 Use char because int might match the return type of a GCC
15974 builtin and then its argument prototype would still apply. */
15978 char profile_get_values ();
15982 return profile_get_values ();
15987 if ac_fn_c_try_link "$LINENO"; then :
15988 ac_cv_lib_k5profile_profile_get_values=yes
15990 ac_cv_lib_k5profile_profile_get_values=no
15992 rm -f core conftest.err conftest.$ac_objext \
15993 conftest$ac_exeext conftest.$ac_ext
15994 LIBS=$ac_check_lib_save_LIBS
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
15997 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
15998 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
15999 rra_krb5_extra="-lk5profile $rra_krb5_extra"
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
16003 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
16004 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
16005 $as_echo_n "(cached) " >&6
16007 ac_check_lib_save_LIBS=$LIBS
16008 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
16009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16010 /* end confdefs.h. */
16012 /* Override any GCC internal prototype to avoid an error.
16013 Use char because int might match the return type of a GCC
16014 builtin and then its argument prototype would still apply. */
16018 char krb5_cc_default ();
16022 return krb5_cc_default ();
16027 if ac_fn_c_try_link "$LINENO"; then :
16028 ac_cv_lib_krb5_krb5_cc_default=yes
16030 ac_cv_lib_krb5_krb5_cc_default=no
16032 rm -f core conftest.err conftest.$ac_objext \
16033 conftest$ac_exeext conftest.$ac_ext
16034 LIBS=$ac_check_lib_save_LIBS
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
16037 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
16038 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
16039 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
16041 if test x"true" = xtrue; then :
16042 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
16048 LIBS="$KRB5_LIBS $LIBS"
16049 if test x"$rra_krb5_incroot" = x; then :
16050 for ac_header in krb5.h krb5/krb5.h
16052 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16053 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16055 cat >>confdefs.h <<_ACEOF
16056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
16065 $as_echo_n "checking for krb5.h... " >&6; }
16066 if test -f "${rra_krb5_incroot}/krb5.h"; then :
16068 cat >>confdefs.h <<_ACEOF
16069 #define HAVE_KRB5_H 1
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16073 $as_echo "yes" >&6; }
16075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16076 $as_echo "no" >&6; }
16078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
16079 $as_echo_n "checking for krb5/krb5.h... " >&6; }
16080 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
16082 cat >>confdefs.h <<_ACEOF
16083 #define HAVE_KRB5_KRB5_H 1
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16087 $as_echo "yes" >&6; }
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16090 $as_echo "no" >&6; }
16093 for ac_func in krb5_get_error_message
16095 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16096 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
16097 cat >>confdefs.h <<_ACEOF
16098 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
16100 for ac_func in krb5_free_error_message
16102 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16103 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
16112 for ac_func in krb5_get_error_string
16114 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16115 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
16116 cat >>confdefs.h <<_ACEOF
16117 #define HAVE_KRB5_GET_ERROR_STRING 1
16121 for ac_func in krb5_get_err_txt
16123 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16124 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
16125 cat >>confdefs.h <<_ACEOF
16126 #define HAVE_KRB5_GET_ERR_TXT 1
16130 for ac_func in krb5_svc_get_msg
16132 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
16133 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
16134 cat >>confdefs.h <<_ACEOF
16135 #define HAVE_KRB5_SVC_GET_MSG 1
16137 for ac_header in ibm_svc/krb5_svc.h
16139 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
16143 # include <krb5/krb5.h>
16147 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
16148 cat >>confdefs.h <<_ACEOF
16149 #define HAVE_IBM_SVC_KRB5_SVC_H 1
16157 for ac_header in et/com_err.h
16159 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
16160 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_ET_COM_ERR_H 1
16181 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16182 LDFLAGS="$rra_krb5_save_LDFLAGS"
16183 LIBS="$rra_krb5_save_LIBS"
16186 rra_krb5_uses_com_err=false
16189 rra_krb5_uses_com_err=true ;; #(
16193 if test x"$rra_krb5_uses_com_err" = xtrue; then
16194 KRB5_USES_COM_ERR_TRUE=
16195 KRB5_USES_COM_ERR_FALSE='#'
16197 KRB5_USES_COM_ERR_TRUE='#'
16198 KRB5_USES_COM_ERR_FALSE=
16202 $as_echo "#define HAVE_KERBEROS 1" >>confdefs.h
16204 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
16205 rra_krb5_save_LDFLAGS="$LDFLAGS"
16206 rra_krb5_save_LIBS="$LIBS"
16207 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
16208 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
16209 LIBS="$KRB5_LIBS $LIBS"
16210 for ac_header in kadm5/kadm5-pwcheck.h kadm5/kadm5_err.h
16212 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16213 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
16217 # include <krb5/krb5.h>
16221 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16222 cat >>confdefs.h <<_ACEOF
16223 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16230 for ac_header in krb5/pwqual_plugin.h
16232 ac_fn_c_check_header_compile "$LINENO" "krb5/pwqual_plugin.h" "ac_cv_header_krb5_pwqual_plugin_h" "
16236 # include <krb5/krb5.h>
16240 if test "x$ac_cv_header_krb5_pwqual_plugin_h" = xyes; then :
16241 cat >>confdefs.h <<_ACEOF
16242 #define HAVE_KRB5_PWQUAL_PLUGIN_H 1
16249 ac_fn_c_check_type "$LINENO" "krb5_realm" "ac_cv_type_krb5_realm" "
16253 # include <krb5/krb5.h>
16257 if test "x$ac_cv_type_krb5_realm" = xyes; then :
16259 cat >>confdefs.h <<_ACEOF
16260 #define HAVE_KRB5_REALM 1
16266 for ac_func in krb5_free_default_realm \
16268 krb5_principal_get_realm \
16269 krb5_get_init_creds_opt_alloc \
16270 krb5_get_init_creds_opt_set_default_flags \
16273 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16274 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16275 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16276 cat >>confdefs.h <<_ACEOF
16277 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16283 for ac_func in krb5_get_init_creds_opt_free
16285 ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_free" "ac_cv_func_krb5_get_init_creds_opt_free"
16286 if test "x$ac_cv_func_krb5_get_init_creds_opt_free" = xyes; then :
16287 cat >>confdefs.h <<_ACEOF
16288 #define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE 1
16290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if krb5_get_init_creds_opt_free takes two arguments" >&5
16291 $as_echo_n "checking if krb5_get_init_creds_opt_free takes two arguments... " >&6; }
16292 if ${rra_cv_func_krb5_get_init_creds_opt_free_args+:} false; then :
16293 $as_echo_n "(cached) " >&6
16295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16296 /* end confdefs.h. */
16301 # include <krb5/krb5.h>
16307 krb5_get_init_creds_opt *opts;
16309 krb5_get_init_creds_opt_free(c, opts);
16313 if ac_fn_c_try_compile "$LINENO"; then :
16314 rra_cv_func_krb5_get_init_creds_opt_free_args=yes
16316 rra_cv_func_krb5_get_init_creds_opt_free_args=no
16318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_krb5_get_init_creds_opt_free_args" >&5
16321 $as_echo "$rra_cv_func_krb5_get_init_creds_opt_free_args" >&6; }
16322 if test $rra_cv_func_krb5_get_init_creds_opt_free_args = yes; then :
16324 $as_echo "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_2_ARGS 1" >>confdefs.h
16330 ac_fn_c_check_decl "$LINENO" "krb5_kt_free_entry" "ac_cv_have_decl_krb5_kt_free_entry" "
16334 # include <krb5/krb5.h>
16338 if test "x$ac_cv_have_decl_krb5_kt_free_entry" = xyes; then :
16344 cat >>confdefs.h <<_ACEOF
16345 #define HAVE_DECL_KRB5_KT_FREE_ENTRY $ac_have_decl
16348 case " $LIBOBJS " in
16349 *" krb5-extra.$ac_objext "* ) ;;
16350 *) LIBOBJS="$LIBOBJS krb5-extra.$ac_objext"
16354 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16355 LDFLAGS="$rra_krb5_save_LDFLAGS"
16356 LIBS="$rra_krb5_save_LIBS"
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16360 $as_echo_n "checking for library containing dlopen... " >&6; }
16361 if ${ac_cv_search_dlopen+:} false; then :
16362 $as_echo_n "(cached) " >&6
16364 ac_func_search_save_LIBS=$LIBS
16365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16366 /* end confdefs.h. */
16368 /* Override any GCC internal prototype to avoid an error.
16369 Use char because int might match the return type of a GCC
16370 builtin and then its argument prototype would still apply. */
16383 for ac_lib in '' dl; do
16384 if test -z "$ac_lib"; then
16385 ac_res="none required"
16388 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 ac_cv_search_dlopen=$ac_res
16393 rm -f core conftest.err conftest.$ac_objext \
16395 if ${ac_cv_search_dlopen+:} false; then :
16399 if ${ac_cv_search_dlopen+:} false; then :
16402 ac_cv_search_dlopen=no
16404 rm conftest.$ac_ext
16405 LIBS=$ac_func_search_save_LIBS
16407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16408 $as_echo "$ac_cv_search_dlopen" >&6; }
16409 ac_res=$ac_cv_search_dlopen
16410 if test "$ac_res" != no; then :
16411 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
16419 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16420 if ${ac_cv_header_stdbool_h+:} false; then :
16421 $as_echo_n "(cached) " >&6
16423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16424 /* end confdefs.h. */
16426 #include <stdbool.h>
16428 "error: bool is not defined"
16431 "error: false is not defined"
16434 "error: false is not 0"
16437 "error: true is not defined"
16440 "error: true is not 1"
16442 #ifndef __bool_true_false_are_defined
16443 "error: __bool_true_false_are_defined is not defined"
16446 struct s { _Bool s: 1; _Bool t; } s;
16448 char a[true == 1 ? 1 : -1];
16449 char b[false == 0 ? 1 : -1];
16450 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16451 char d[(bool) 0.5 == true ? 1 : -1];
16452 /* See body of main program for 'e'. */
16453 char f[(_Bool) 0.0 == false ? 1 : -1];
16455 char h[sizeof (_Bool)];
16456 char i[sizeof s.t];
16457 enum { j = false, k = true, l = false * true, m = true * 256 };
16458 /* The following fails for
16459 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16461 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16462 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16463 /* Catch a bug in an HP-UX C compiler. See
16464 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16465 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16477 /* Refer to every declared value, to avoid compiler optimizations. */
16478 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16479 + !m + !n + !o + !p + !q + !pq);
16485 if ac_fn_c_try_compile "$LINENO"; then :
16486 ac_cv_header_stdbool_h=yes
16488 ac_cv_header_stdbool_h=no
16490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
16493 $as_echo "$ac_cv_header_stdbool_h" >&6; }
16494 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16495 if test "x$ac_cv_type__Bool" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE__BOOL 1
16505 if test $ac_cv_header_stdbool_h = yes; then
16507 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
16511 for ac_header in sys/bittypes.h syslog.h
16513 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16514 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16515 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16524 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
16525 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
16531 cat >>confdefs.h <<_ACEOF
16532 #define HAVE_DECL_SNPRINTF $ac_have_decl
16534 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
16535 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
16541 cat >>confdefs.h <<_ACEOF
16542 #define HAVE_DECL_VSNPRINTF $ac_have_decl
16545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variadic macros" >&5
16546 $as_echo_n "checking for C99 variadic macros... " >&6; }
16547 if ${rra_cv_c_c99_vamacros+:} false; then :
16548 $as_echo_n "(cached) " >&6
16550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16551 /* end confdefs.h. */
16554 #define error(...) fprintf(stderr, __VA_ARGS__)
16559 error("foo %d", 0);
16564 if ac_fn_c_try_compile "$LINENO"; then :
16565 rra_cv_c_c99_vamacros=yes
16567 rra_cv_c_c99_vamacros=no
16569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_c99_vamacros" >&5
16572 $as_echo "$rra_cv_c_c99_vamacros" >&6; }
16573 if test x"$rra_cv_c_c99_vamacros" = xyes; then :
16575 $as_echo "#define HAVE_C99_VAMACROS 1" >>confdefs.h
16578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style variadic macros" >&5
16579 $as_echo_n "checking for GNU-style variadic macros... " >&6; }
16580 if ${rra_cv_c_gnu_vamacros+:} false; then :
16581 $as_echo_n "(cached) " >&6
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16587 #define error(args...) fprintf(stderr, args)
16592 error("foo %d", 0);
16597 if ac_fn_c_try_compile "$LINENO"; then :
16598 rra_cv_c_gnu_vamacros=yes
16600 rra_cv_c_gnu_vamacros=no
16602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_gnu_vamacros" >&5
16605 $as_echo "$rra_cv_c_gnu_vamacros" >&6; }
16606 if test x"$rra_cv_c_gnu_vamacros" = xyes; then :
16608 $as_echo "#define HAVE_GNU_VAMACROS 1" >>confdefs.h
16612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
16613 $as_echo_n "checking for unsigned long long int... " >&6; }
16614 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
16615 $as_echo_n "(cached) " >&6
16617 ac_cv_type_unsigned_long_long_int=yes
16618 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
16619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16620 /* end confdefs.h. */
16622 /* For now, do not test the preprocessor; as of 2007 there are too many
16623 implementations with broken preprocessors. Perhaps this can
16624 be revisited in 2012. In the meantime, code should not expect
16625 #if to work with literals wider than 32 bits. */
16626 /* Test literals. */
16627 long long int ll = 9223372036854775807ll;
16628 long long int nll = -9223372036854775807LL;
16629 unsigned long long int ull = 18446744073709551615ULL;
16630 /* Test constant expressions. */
16631 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
16633 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
16639 /* Test availability of runtime routines for shift and division. */
16640 long long int llmax = 9223372036854775807ll;
16641 unsigned long long int ullmax = 18446744073709551615ull;
16642 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
16643 | (llmax / ll) | (llmax % ll)
16644 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
16645 | (ullmax / ull) | (ullmax % ull));
16651 if ac_fn_c_try_link "$LINENO"; then :
16654 ac_cv_type_unsigned_long_long_int=no
16656 rm -f core conftest.err conftest.$ac_objext \
16657 conftest$ac_exeext conftest.$ac_ext
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
16661 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
16662 if test $ac_cv_type_unsigned_long_long_int = yes; then
16664 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
16670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
16671 $as_echo_n "checking for long long int... " >&6; }
16672 if ${ac_cv_type_long_long_int+:} false; then :
16673 $as_echo_n "(cached) " >&6
16675 ac_cv_type_long_long_int=yes
16676 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
16677 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
16678 if test $ac_cv_type_long_long_int = yes; then
16679 if test "$cross_compiling" = yes; then :
16682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16683 /* end confdefs.h. */
16684 #include <limits.h>
16687 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
16688 # define LLONG_MAX (HALF - 1 + HALF)
16693 long long int n = 1;
16697 long long int m = n << i;
16700 if (LLONG_MAX / 2 < m)
16708 if ac_fn_c_try_run "$LINENO"; then :
16711 ac_cv_type_long_long_int=no
16713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16714 conftest.$ac_objext conftest.beam conftest.$ac_ext
16720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
16721 $as_echo "$ac_cv_type_long_long_int" >&6; }
16722 if test $ac_cv_type_long_long_int = yes; then
16724 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
16728 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
16729 case $ac_cv_c_uint8_t in #(
16733 $as_echo "#define _UINT8_T 1" >>confdefs.h
16736 cat >>confdefs.h <<_ACEOF
16737 #define uint8_t $ac_cv_c_uint8_t
16742 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
16743 case $ac_cv_c_uint16_t in #(
16748 cat >>confdefs.h <<_ACEOF
16749 #define uint16_t $ac_cv_c_uint16_t
16754 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
16755 case $ac_cv_c_uint32_t in #(
16759 $as_echo "#define _UINT32_T 1" >>confdefs.h
16762 cat >>confdefs.h <<_ACEOF
16763 #define uint32_t $ac_cv_c_uint32_t
16768 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
16770 if test "x$ac_cv_type_ssize_t" = xyes; then :
16772 cat >>confdefs.h <<_ACEOF
16773 #define HAVE_SSIZE_T 1
16779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working snprintf" >&5
16780 $as_echo_n "checking for working snprintf... " >&6; }
16781 if ${rra_cv_func_snprintf_works+:} false; then :
16782 $as_echo_n "(cached) " >&6
16784 if test "$cross_compiling" = yes; then :
16785 rra_cv_func_snprintf_works=no
16787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16788 /* end confdefs.h. */
16791 #include <stdarg.h>
16796 test(char *format, ...)
16801 va_start(args, format);
16802 count = vsnprintf(buf, sizeof buf, format, args);
16810 return ((test("%s", "abcd") == 4 && buf[0] == 'a' && buf[1] == '\0'
16811 && snprintf(NULL, 0, "%s", "abcd") == 4) ? 0 : 1);
16815 if ac_fn_c_try_run "$LINENO"; then :
16816 rra_cv_func_snprintf_works=yes
16818 rra_cv_func_snprintf_works=no
16820 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16821 conftest.$ac_objext conftest.beam conftest.$ac_ext
16825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_snprintf_works" >&5
16826 $as_echo "$rra_cv_func_snprintf_works" >&6; }
16827 if test x"$rra_cv_func_snprintf_works" = xyes; then :
16829 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16832 case " $LIBOBJS " in
16833 *" snprintf.$ac_objext "* ) ;;
16834 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
16839 for ac_func in setrlimit
16841 ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit"
16842 if test "x$ac_cv_func_setrlimit" = xyes; then :
16843 cat >>confdefs.h <<_ACEOF
16844 #define HAVE_SETRLIMIT 1
16850 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
16851 if test "x$ac_cv_func_asprintf" = xyes; then :
16852 $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
16855 case " $LIBOBJS " in
16856 *" asprintf.$ac_objext "* ) ;;
16857 *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
16865 ac_config_files="$ac_config_files Makefile"
16867 ac_config_headers="$ac_config_headers config.h"
16869 cat >confcache <<\_ACEOF
16870 # This file is a shell script that caches the results of configure
16871 # tests run on this system so they can be shared between configure
16872 # scripts and configure runs, see configure's option --config-cache.
16873 # It is not useful on other systems. If it contains results you don't
16874 # want to keep, you may remove or edit it.
16876 # config.status only pays attention to the cache file if you give it
16877 # the --recheck option to rerun configure.
16879 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16880 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16881 # following values.
16885 # The following way of writing the cache mishandles newlines in values,
16886 # but we know of no workaround that is simple, portable, and efficient.
16887 # So, we kill variables containing newlines.
16888 # Ultrix sh set writes to stderr and can't be redirected directly,
16889 # and sets the high bit in the cache file unless we assign to the vars.
16891 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16892 eval ac_val=\$$ac_var
16896 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16897 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16900 _ | IFS | as_nl) ;; #(
16901 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16902 *) { eval $ac_var=; unset $ac_var;} ;;
16908 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16909 *${as_nl}ac_space=\ *)
16910 # `set' does not quote correctly, so add quotes: double-quote
16911 # substitution turns \\\\ into \\, and sed turns \\ into \.
16914 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16917 # `set' quotes correctly as required by POSIX, so do not add quotes.
16918 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16927 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16929 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16931 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16932 if test -w "$cache_file"; then
16933 if test "x$cache_file" != "x/dev/null"; then
16934 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16935 $as_echo "$as_me: updating cache $cache_file" >&6;}
16936 if test ! -f "$cache_file" || test -h "$cache_file"; then
16937 cat confcache >"$cache_file"
16939 case $cache_file in #(
16941 mv -f confcache "$cache_file"$$ &&
16942 mv -f "$cache_file"$$ "$cache_file" ;; #(
16944 mv -f confcache "$cache_file" ;;
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16950 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16955 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16956 # Let make expand exec_prefix.
16957 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16959 DEFS=-DHAVE_CONFIG_H
16964 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16965 # 1. Remove the extension, and $U if already installed.
16966 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16967 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16968 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16969 # will be set to the directory where LIBOBJS objects are built.
16970 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16971 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16973 LIBOBJS=$ac_libobjs
16975 LTLIBOBJS=$ac_ltlibobjs
16978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16979 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16980 if test -n "$am_sleep_pid"; then
16981 # Hide warnings about reused PIDs.
16982 wait $am_sleep_pid 2>/dev/null
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
16985 $as_echo "done" >&6; }
16986 if test -n "$EXEEXT"; then
16988 am__EXEEXT_FALSE='#'
16990 am__EXEEXT_TRUE='#'
16994 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
16995 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
16996 Usually this means the macro was only invoked conditionally." "$LINENO" 5
16998 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
16999 as_fn_error $? "conditional \"AMDEP\" was never defined.
17000 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17002 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17003 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17004 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17006 if test -z "${EMBEDDED_CRACKLIB_TRUE}" && test -z "${EMBEDDED_CRACKLIB_FALSE}"; then
17007 as_fn_error $? "conditional \"EMBEDDED_CRACKLIB\" was never defined.
17008 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17010 if test -z "${KRB5_USES_COM_ERR_TRUE}" && test -z "${KRB5_USES_COM_ERR_FALSE}"; then
17011 as_fn_error $? "conditional \"KRB5_USES_COM_ERR\" was never defined.
17012 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17015 : "${CONFIG_STATUS=./config.status}"
17017 ac_clean_files_save=$ac_clean_files
17018 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17020 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17022 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17024 # Generated by $as_me.
17025 # Run this file to recreate the current configuration.
17026 # Compiler output produced by configure, useful for debugging
17027 # configure, is in config.log if it exists.
17030 ac_cs_recheck=false
17033 SHELL=\${CONFIG_SHELL-$SHELL}
17036 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17037 ## -------------------- ##
17038 ## M4sh Initialization. ##
17039 ## -------------------- ##
17041 # Be more Bourne compatible
17042 DUALCASE=1; export DUALCASE # for MKS sh
17043 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17046 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17047 # is contrary to our usage. Disable this feature.
17048 alias -g '${1+"$@"}'='"$@"'
17049 setopt NO_GLOB_SUBST
17051 case `(set -o) 2>/dev/null` in #(
17063 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17064 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17065 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17066 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17067 # Prefer a ksh shell builtin over an external printf program on Solaris,
17068 # but without wasting forks for bash or zsh.
17069 if test -z "$BASH_VERSION$ZSH_VERSION" \
17070 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17071 as_echo='print -r --'
17072 as_echo_n='print -rn --'
17073 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17074 as_echo='printf %s\n'
17075 as_echo_n='printf %s'
17077 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17078 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17079 as_echo_n='/usr/ucb/echo -n'
17081 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17082 as_echo_n_body='eval
17086 expr "X$arg" : "X\\(.*\\)$as_nl";
17087 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17089 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17091 export as_echo_n_body
17092 as_echo_n='sh -c $as_echo_n_body as_echo'
17094 export as_echo_body
17095 as_echo='sh -c $as_echo_body as_echo'
17098 # The user is always right.
17099 if test "${PATH_SEPARATOR+set}" != set; then
17101 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17102 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17109 # We need space, tab and new line, in precisely that order. Quoting is
17110 # there to prevent editors from complaining about space-tab.
17111 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17112 # splitting by setting IFS to empty value.)
17115 # Find who we are. Look in the path if we contain no directory separator.
17118 *[\\/]* ) as_myself=$0 ;;
17119 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17120 for as_dir in $PATH
17123 test -z "$as_dir" && as_dir=.
17124 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17130 # We did not find ourselves, most probably we were run as `sh COMMAND'
17131 # in which case we are not to be found in the path.
17132 if test "x$as_myself" = x; then
17135 if test ! -f "$as_myself"; then
17136 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17140 # Unset variables that we do not need and which cause bugs (e.g. in
17141 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17142 # suppresses any "Segmentation fault" message there. '((' could
17143 # trigger a bug in pdksh 5.2.14.
17144 for as_var in BASH_ENV ENV MAIL MAILPATH
17145 do eval test x\${$as_var+set} = xset \
17146 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17159 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17162 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17163 # ----------------------------------------
17164 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17165 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17166 # script with STATUS, using 1 if that was 0.
17169 as_status=$1; test $as_status -eq 0 && as_status=1
17171 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17172 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17174 $as_echo "$as_me: error: $2" >&2
17175 as_fn_exit $as_status
17179 # as_fn_set_status STATUS
17180 # -----------------------
17181 # Set $? to STATUS, without forking.
17182 as_fn_set_status ()
17185 } # as_fn_set_status
17187 # as_fn_exit STATUS
17188 # -----------------
17189 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17193 as_fn_set_status $1
17199 # Portably unset VAR.
17202 { eval $1=; unset $1;}
17204 as_unset=as_fn_unset
17205 # as_fn_append VAR VALUE
17206 # ----------------------
17207 # Append the text in VALUE to the end of the definition contained in VAR. Take
17208 # advantage of any shell optimizations that allow amortized linear growth over
17209 # repeated appends, instead of the typical quadratic growth present in naive
17211 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17212 eval 'as_fn_append ()
17223 # as_fn_arith ARG...
17224 # ------------------
17225 # Perform arithmetic evaluation on the ARGs, and store the result in the
17226 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17227 # must be portable across $(()) and expr.
17228 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17229 eval 'as_fn_arith ()
17236 as_val=`expr "$@" || test $? -eq 1`
17241 if expr a : '\(a\)' >/dev/null 2>&1 &&
17242 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17248 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17249 as_basename=basename
17254 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17260 as_me=`$as_basename -- "$0" ||
17261 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17262 X"$0" : 'X\(//\)$' \| \
17263 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17265 sed '/^.*\/\([^/][^/]*\)\/*$/{
17279 # Avoid depending upon Character Ranges.
17280 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17281 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17282 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17283 as_cr_digits='0123456789'
17284 as_cr_alnum=$as_cr_Letters$as_cr_digits
17286 ECHO_C= ECHO_N= ECHO_T=
17287 case `echo -n x` in #(((((
17289 case `echo 'xy\c'` in
17290 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17292 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17299 rm -f conf$$ conf$$.exe conf$$.file
17300 if test -d conf$$.dir; then
17301 rm -f conf$$.dir/conf$$.file
17304 mkdir conf$$.dir 2>/dev/null
17306 if (echo >conf$$.file) 2>/dev/null; then
17307 if ln -s conf$$.file conf$$ 2>/dev/null; then
17309 # ... but there are two gotchas:
17310 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17311 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17312 # In both cases, we have to default to `cp -pR'.
17313 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17315 elif ln conf$$.file conf$$ 2>/dev/null; then
17323 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17324 rmdir conf$$.dir 2>/dev/null
17329 # Create "$as_dir" as a directory, including parents if necessary.
17334 -*) as_dir=./$as_dir;;
17336 test -d "$as_dir" || eval $as_mkdir_p || {
17340 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17341 *) as_qdir=$as_dir;;
17343 as_dirs="'$as_qdir' $as_dirs"
17344 as_dir=`$as_dirname -- "$as_dir" ||
17345 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17346 X"$as_dir" : 'X\(//\)[^/]' \| \
17347 X"$as_dir" : 'X\(//\)$' \| \
17348 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17349 $as_echo X"$as_dir" |
17350 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17354 /^X\(\/\/\)[^/].*/{
17367 test -d "$as_dir" && break
17369 test -z "$as_dirs" || eval "mkdir $as_dirs"
17370 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17374 if mkdir -p . 2>/dev/null; then
17375 as_mkdir_p='mkdir -p "$as_dir"'
17377 test -d ./-p && rmdir ./-p
17382 # as_fn_executable_p FILE
17383 # -----------------------
17384 # Test if FILE is an executable regular file.
17385 as_fn_executable_p ()
17387 test -f "$1" && test -x "$1"
17388 } # as_fn_executable_p
17389 as_test_x='test -x'
17390 as_executable_p=as_fn_executable_p
17392 # Sed expression to map a string onto a valid CPP name.
17393 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17395 # Sed expression to map a string onto a valid variable name.
17396 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17400 ## ----------------------------------- ##
17401 ## Main body of $CONFIG_STATUS script. ##
17402 ## ----------------------------------- ##
17404 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17407 # Save the log message, to keep $0 and so on meaningful, and to
17408 # report actual input values of CONFIG_FILES etc. instead of their
17409 # values after options handling.
17411 This file was extended by krb5-strength $as_me 2.1, which was
17412 generated by GNU Autoconf 2.69. Invocation command line was
17414 CONFIG_FILES = $CONFIG_FILES
17415 CONFIG_HEADERS = $CONFIG_HEADERS
17416 CONFIG_LINKS = $CONFIG_LINKS
17417 CONFIG_COMMANDS = $CONFIG_COMMANDS
17420 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17425 case $ac_config_files in *"
17426 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17429 case $ac_config_headers in *"
17430 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17435 # Files that config.status was made for.
17436 config_files="$ac_config_files"
17437 config_headers="$ac_config_headers"
17438 config_commands="$ac_config_commands"
17442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17444 \`$as_me' instantiates files and other configuration actions
17445 from templates according to the current configuration. Unless the files
17446 and actions are specified as TAGs, all are instantiated by default.
17448 Usage: $0 [OPTION]... [TAG]...
17450 -h, --help print this help, then exit
17451 -V, --version print version number and configuration settings, then exit
17452 --config print configuration, then exit
17453 -q, --quiet, --silent
17454 do not print progress messages
17455 -d, --debug don't remove temporary files
17456 --recheck update $as_me by reconfiguring in the same conditions
17457 --file=FILE[:TEMPLATE]
17458 instantiate the configuration file FILE
17459 --header=FILE[:TEMPLATE]
17460 instantiate the configuration header FILE
17462 Configuration files:
17465 Configuration headers:
17468 Configuration commands:
17471 Report bugs to <rra@stanford.edu>."
17474 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17475 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17477 krb5-strength config.status 2.1
17478 configured by $0, generated by GNU Autoconf 2.69,
17479 with options \\"\$ac_cs_config\\"
17481 Copyright (C) 2012 Free Software Foundation, Inc.
17482 This config.status script is free software; the Free Software Foundation
17483 gives unlimited permission to copy, distribute and modify it."
17490 test -n "\$AWK" || AWK=awk
17493 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17494 # The default lists apply if the user does not specify any file.
17500 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17501 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17505 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17517 # Handling of the options.
17518 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17520 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17521 $as_echo "$ac_cs_version"; exit ;;
17522 --config | --confi | --conf | --con | --co | --c )
17523 $as_echo "$ac_cs_config"; exit ;;
17524 --debug | --debu | --deb | --de | --d | -d )
17526 --file | --fil | --fi | --f )
17529 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17530 '') as_fn_error $? "missing file argument" ;;
17532 as_fn_append CONFIG_FILES " '$ac_optarg'"
17533 ac_need_defaults=false;;
17534 --header | --heade | --head | --hea )
17537 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17539 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17540 ac_need_defaults=false;;
17542 # Conflict between --help and --header
17543 as_fn_error $? "ambiguous option: \`$1'
17544 Try \`$0 --help' for more information.";;
17545 --help | --hel | -h )
17546 $as_echo "$ac_cs_usage"; exit ;;
17547 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17548 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17551 # This is an error.
17552 -*) as_fn_error $? "unrecognized option: \`$1'
17553 Try \`$0 --help' for more information." ;;
17555 *) as_fn_append ac_config_targets " $1"
17556 ac_need_defaults=false ;;
17562 ac_configure_extra_args=
17564 if $ac_cs_silent; then
17566 ac_configure_extra_args="$ac_configure_extra_args --silent"
17570 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17571 if \$ac_cs_recheck; then
17572 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17574 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17575 CONFIG_SHELL='$SHELL'
17576 export CONFIG_SHELL
17581 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17585 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17586 ## Running $as_me. ##
17592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17596 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17599 # The HP-UX ksh and POSIX shell print the target directory to stdout
17600 # if CDPATH is set.
17601 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17603 sed_quote_subst='$sed_quote_subst'
17604 double_quote_subst='$double_quote_subst'
17605 delay_variable_subst='$delay_variable_subst'
17606 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17607 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17608 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17609 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17610 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17611 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17612 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17613 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17614 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17615 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17616 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17617 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17618 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17619 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17620 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17621 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17622 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17623 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17624 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17625 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17626 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17627 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17628 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17629 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17630 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17631 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17632 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17633 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17634 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17635 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17636 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17637 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17638 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17639 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17640 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17641 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17642 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17643 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17644 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17645 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17646 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17647 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17648 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17649 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17650 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17651 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17652 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17653 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17654 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17655 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17656 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17657 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17658 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17659 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17660 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17661 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17662 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
17663 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17664 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17665 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17666 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17667 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17668 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17669 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17670 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17671 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17672 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17673 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17674 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17675 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17676 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17677 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17678 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17679 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17680 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17681 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17682 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17683 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17684 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17685 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17686 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17687 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17688 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17689 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17690 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17691 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17692 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17693 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17694 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17695 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17696 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17697 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17698 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17699 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17700 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17701 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17702 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17703 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17704 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17705 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17706 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17707 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17708 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17709 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17710 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17711 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17712 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17713 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17714 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17715 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17716 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17717 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17718 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17719 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17720 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17721 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17722 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17723 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17724 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17725 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17726 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17727 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17728 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17729 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17730 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17731 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17732 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17733 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17734 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17735 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17738 LTCFLAGS='$LTCFLAGS'
17739 compiler='$compiler_DEFAULT'
17741 # A function that is used when there is no print builtin or printf.
17742 func_fallback_echo ()
17744 eval 'cat <<_LTECHO_EOF
17749 # Quote evaled strings.
17764 deplibs_check_method \
17769 sharedlib_from_linklib_cmd \
17772 archiver_list_spec \
17778 lt_cv_sys_global_symbol_pipe \
17779 lt_cv_sys_global_symbol_to_cdecl \
17780 lt_cv_sys_global_symbol_to_c_name_address \
17781 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17782 nm_file_list_spec \
17783 lt_prog_compiler_no_builtin_flag \
17784 lt_prog_compiler_pic \
17785 lt_prog_compiler_wl \
17786 lt_prog_compiler_static \
17787 lt_cv_prog_compiler_c_o \
17796 export_dynamic_flag_spec \
17797 whole_archive_flag_spec \
17798 compiler_needs_object \
17800 allow_undefined_flag \
17801 no_undefined_flag \
17802 hardcode_libdir_flag_spec \
17803 hardcode_libdir_separator \
17807 variables_saved_for_relink \
17809 library_names_spec \
17811 install_override_mode \
17815 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17816 *[\\\\\\\`\\"\\\$]*)
17817 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17820 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17825 # Double-quote double-evaled strings.
17826 for var in reload_cmds \
17827 old_postinstall_cmds \
17828 old_postuninstall_cmds \
17830 extract_expsyms_cmds \
17831 old_archive_from_new_cmds \
17832 old_archive_from_expsyms_cmds \
17834 archive_expsym_cmds \
17836 module_expsym_cmds \
17837 export_symbols_cmds \
17841 postuninstall_cmds \
17843 sys_lib_search_path_spec \
17844 sys_lib_dlsearch_path_spec; do
17845 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17846 *[\\\\\\\`\\"\\\$]*)
17847 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17850 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17855 ac_aux_dir='$ac_aux_dir'
17856 xsi_shell='$xsi_shell'
17857 lt_shell_append='$lt_shell_append'
17859 # See if we are running on zsh, and set the options which allow our
17860 # commands through without removal of \ escapes INIT.
17861 if test -n "\${ZSH_VERSION+set}" ; then
17862 setopt NO_GLOB_SUBST
17868 TIMESTAMP='$TIMESTAMP'
17877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17879 # Handling of arguments.
17880 for ac_config_target in $ac_config_targets
17882 case $ac_config_target in
17883 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17884 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17885 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17886 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17888 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17893 # If the user did not use the arguments to specify the items to instantiate,
17894 # then the envvar interface is used. Set only those that are not.
17895 # We use the long form for the default assignment because of an extremely
17896 # bizarre bug on SunOS 4.1.3.
17897 if $ac_need_defaults; then
17898 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17899 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17900 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17903 # Have a temporary directory for convenience. Make it in the build tree
17904 # simply because there is no reason against having it here, and in addition,
17905 # creating and moving files from /tmp can sometimes cause problems.
17906 # Hook for its removal unless debugging.
17907 # Note that there is a small window in which the directory will not be cleaned:
17908 # after its creation but before its name has been assigned to `$tmp'.
17912 trap 'exit_status=$?
17913 : "${ac_tmp:=$tmp}"
17914 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17916 trap 'as_fn_exit 1' 1 2 13 15
17918 # Create a (secure) tmp directory for tmp files.
17921 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17925 tmp=./conf$$-$RANDOM
17926 (umask 077 && mkdir "$tmp")
17927 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17930 # Set up the scripts for CONFIG_FILES section.
17931 # No need to generate them if there are no CONFIG_FILES.
17932 # This happens for instance with `./config.status config.h'.
17933 if test -n "$CONFIG_FILES"; then
17936 ac_cr=`echo X | tr X '\015'`
17937 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17938 # But we know of no other shell where ac_cr would be empty at this
17939 # point, so we can use a bashism as a fallback.
17940 if test "x$ac_cr" = x; then
17941 eval ac_cr=\$\'\\r\'
17943 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17944 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17947 ac_cs_awk_cr=$ac_cr
17950 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17955 echo "cat >conf$$subs.awk <<_ACEOF" &&
17956 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17958 } >conf$$subs.sh ||
17959 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17960 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17962 for ac_last_try in false false false false false :; do
17963 . ./conf$$subs.sh ||
17964 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17966 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17967 if test $ac_delim_n = $ac_delim_num; then
17969 elif $ac_last_try; then
17970 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17972 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17975 rm -f conf$$subs.sh
17977 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17978 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17982 s/^/S["/; s/!.*/"]=/
17992 s/\(.\{148\}\)..*/\1/
17994 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
17999 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18006 s/\(.\{148\}\)..*/\1/
18008 s/["\\]/\\&/g; s/^/"/; s/$/"/
18012 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18017 ' <conf$$subs.awk | sed '
18022 ' >>$CONFIG_STATUS || ac_write_fail=1
18023 rm -f conf$$subs.awk
18024 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18026 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18027 for (key in S) S_is_set[key] = 1
18033 nfields = split(line, field, "@")
18035 len = length(field[1])
18036 for (i = 2; i < nfields; i++) {
18038 keylen = length(key)
18039 if (S_is_set[key]) {
18041 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18042 len += length(value) + length(field[++i])
18053 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18054 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18055 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18058 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18059 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18062 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18063 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18064 # trailing colons and then remove the whole line if VPATH becomes empty
18065 # (actually we leave an empty line to preserve line numbers).
18066 if test "x$srcdir" = x.; then
18067 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18085 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18086 fi # test -n "$CONFIG_FILES"
18088 # Set up the scripts for CONFIG_HEADERS section.
18089 # No need to generate them if there are no CONFIG_HEADERS.
18090 # This happens for instance with `./config.status Makefile'.
18091 if test -n "$CONFIG_HEADERS"; then
18092 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18096 # Transform confdefs.h into an awk script `defines.awk', embedded as
18097 # here-document in config.status, that substitutes the proper values into
18098 # config.h.in to produce config.h.
18100 # Create a delimiter string that does not exist in confdefs.h, to ease
18101 # handling of long lines.
18103 for ac_last_try in false false :; do
18104 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18105 if test -z "$ac_tt"; then
18107 elif $ac_last_try; then
18108 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18110 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18114 # For the awk script, D is an array of macro values keyed by name,
18115 # likewise P contains macro parameters if any. Preserve backslash
18116 # newline sequences.
18118 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18120 s/.\{148\}/&'"$ac_delim"'/g
18123 s/^[ ]*#[ ]*define[ ][ ]*/ /
18130 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18132 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18136 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18137 D["\1"]=" \3\\\\\\n"\\/p
18139 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18144 s/.\{148\}/&'"$ac_delim"'/g
18149 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18152 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18154 ' <confdefs.h | sed '
18155 s/'"$ac_delim"'/"\\\
18156 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18159 for (key in D) D_is_set[key] = 1
18162 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18164 split(line, arg, " ")
18165 if (arg[1] == "#") {
18169 defundef = substr(arg[1], 2)
18172 split(mac1, mac2, "(") #)
18174 prefix = substr(line, 1, index(line, defundef) - 1)
18175 if (D_is_set[macro]) {
18176 # Preserve the white space surrounding the "#".
18177 print prefix "define", macro P[macro] D[macro]
18180 # Replace #undef with comments. This is necessary, for example,
18181 # in the case of _POSIX_SOURCE, which is predefined and required
18182 # on some systems where configure will not decide to define it.
18183 if (defundef == "undef") {
18184 print "/*", prefix defundef, macro, "*/"
18192 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18193 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18194 fi # test -n "$CONFIG_HEADERS"
18197 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18202 :[FHLC]) ac_mode=$ac_tag; continue;;
18204 case $ac_mode$ac_tag in
18206 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18207 :[FH]-) ac_tag=-:-;;
18208 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18225 -) ac_f="$ac_tmp/stdin";;
18226 *) # Look for the file first in the build tree, then in the source tree
18227 # (if the path is not absolute). The absolute path cannot be DOS-style,
18228 # because $ac_f cannot contain `:'.
18232 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18234 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18236 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18237 as_fn_append ac_file_inputs " '$ac_f'"
18240 # Let's still pretend it is `configure' which instantiates (i.e., don't
18241 # use $as_me), people would be surprised to read:
18242 # /* config.h. Generated by config.status. */
18243 configure_input='Generated from '`
18244 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18246 if test x"$ac_file" != x-; then
18247 configure_input="$ac_file. $configure_input"
18248 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18249 $as_echo "$as_me: creating $ac_file" >&6;}
18251 # Neutralize special characters interpreted by sed in replacement strings.
18252 case $configure_input in #(
18253 *\&* | *\|* | *\\* )
18254 ac_sed_conf_input=`$as_echo "$configure_input" |
18255 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18256 *) ac_sed_conf_input=$configure_input;;
18260 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18261 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18266 ac_dir=`$as_dirname -- "$ac_file" ||
18267 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18268 X"$ac_file" : 'X\(//\)[^/]' \| \
18269 X"$ac_file" : 'X\(//\)$' \| \
18270 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18271 $as_echo X"$ac_file" |
18272 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18276 /^X\(\/\/\)[^/].*/{
18289 as_dir="$ac_dir"; as_fn_mkdir_p
18293 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18295 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18296 # A ".." for each directory in $ac_dir_suffix.
18297 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18298 case $ac_top_builddir_sub in
18299 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18300 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18303 ac_abs_top_builddir=$ac_pwd
18304 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18305 # for backward compatibility:
18306 ac_top_builddir=$ac_top_build_prefix
18309 .) # We are building in place.
18311 ac_top_srcdir=$ac_top_builddir_sub
18312 ac_abs_top_srcdir=$ac_pwd ;;
18313 [\\/]* | ?:[\\/]* ) # Absolute name.
18314 ac_srcdir=$srcdir$ac_dir_suffix;
18315 ac_top_srcdir=$srcdir
18316 ac_abs_top_srcdir=$srcdir ;;
18317 *) # Relative name.
18318 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18319 ac_top_srcdir=$ac_top_build_prefix$srcdir
18320 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18322 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18332 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18333 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18335 ac_MKDIR_P=$MKDIR_P
18337 [\\/$]* | ?:[\\/]* ) ;;
18338 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18342 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18343 # If the template does not know about datarootdir, expand it.
18344 # FIXME: This hack should be removed a few years after 2.60.
18345 ac_datarootdir_hack=; ac_datarootdir_seen=
18356 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18357 *datarootdir*) ac_datarootdir_seen=yes;;
18358 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18360 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18362 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18363 ac_datarootdir_hack='
18364 s&@datadir@&$datadir&g
18365 s&@docdir@&$docdir&g
18366 s&@infodir@&$infodir&g
18367 s&@localedir@&$localedir&g
18368 s&@mandir@&$mandir&g
18369 s&\\\${datarootdir}&$datarootdir&g' ;;
18373 # Neutralize VPATH when `$srcdir' = `.'.
18374 # Shell code in configure.ac might set extrasub.
18375 # FIXME: do we really want to maintain this feature?
18376 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18377 ac_sed_extra="$ac_vpsub
18380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18382 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18383 s|@configure_input@|$ac_sed_conf_input|;t t
18384 s&@top_builddir@&$ac_top_builddir_sub&;t t
18385 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18386 s&@srcdir@&$ac_srcdir&;t t
18387 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18388 s&@top_srcdir@&$ac_top_srcdir&;t t
18389 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18390 s&@builddir@&$ac_builddir&;t t
18391 s&@abs_builddir@&$ac_abs_builddir&;t t
18392 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18393 s&@INSTALL@&$ac_INSTALL&;t t
18394 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18395 $ac_datarootdir_hack
18397 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18398 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18400 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18401 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18402 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18403 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18404 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18405 which seems to be undefined. Please make sure it is defined" >&5
18406 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18407 which seems to be undefined. Please make sure it is defined" >&2;}
18409 rm -f "$ac_tmp/stdin"
18411 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18412 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18414 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18420 if test x"$ac_file" != x-; then
18422 $as_echo "/* $configure_input */" \
18423 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18424 } >"$ac_tmp/config.h" \
18425 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18426 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18427 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18428 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18431 mv "$ac_tmp/config.h" "$ac_file" \
18432 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18435 $as_echo "/* $configure_input */" \
18436 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18437 || as_fn_error $? "could not create -" "$LINENO" 5
18439 # Compute "$ac_file"'s index in $config_headers.
18442 for _am_header in $config_headers :; do
18443 case $_am_header in
18444 $_am_arg | $_am_arg:* )
18447 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18450 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18451 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18452 X"$_am_arg" : 'X\(//\)[^/]' \| \
18453 X"$_am_arg" : 'X\(//\)$' \| \
18454 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18455 $as_echo X"$_am_arg" |
18456 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18460 /^X\(\/\/\)[^/].*/{
18472 s/.*/./; q'`/stamp-h$_am_stamp_count
18475 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18476 $as_echo "$as_me: executing $ac_file commands" >&6;}
18481 case $ac_file$ac_mode in
18482 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18483 # Older Autoconf quotes --file arguments for eval, but not when files
18484 # are listed without --file. Let's play safe and only enable the eval
18485 # if we detect the quoting.
18486 case $CONFIG_FILES in
18487 *\'*) eval set x "$CONFIG_FILES" ;;
18488 *) set x $CONFIG_FILES ;;
18493 # Strip MF so we end up with the name of the file.
18494 mf=`echo "$mf" | sed -e 's/:.*$//'`
18495 # Check whether this is an Automake generated Makefile or not.
18496 # We used to match only the files named 'Makefile.in', but
18497 # some people rename them; so instead we look at the file content.
18498 # Grep'ing the first line is not enough: some people post-process
18499 # each Makefile.in and add a new line on top of each file to say so.
18500 # Grep'ing the whole file is not good either: AIX grep has a line
18501 # limit of 2048, but all sed's we know have understand at least 4000.
18502 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18503 dirpart=`$as_dirname -- "$mf" ||
18504 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18505 X"$mf" : 'X\(//\)[^/]' \| \
18506 X"$mf" : 'X\(//\)$' \| \
18507 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18509 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18513 /^X\(\/\/\)[^/].*/{
18529 # Extract the definition of DEPDIR, am__include, and am__quote
18530 # from the Makefile without running 'make'.
18531 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18532 test -z "$DEPDIR" && continue
18533 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18534 test -z "$am__include" && continue
18535 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18536 # Find all dependency output files, they are included files with
18537 # $(DEPDIR) in their names. We invoke sed twice because it is the
18538 # simplest approach to changing $(DEPDIR) to its actual value in the
18540 for file in `sed -n "
18541 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18542 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18543 # Make sure the directory exists.
18544 test -f "$dirpart/$file" && continue
18545 fdir=`$as_dirname -- "$file" ||
18546 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18547 X"$file" : 'X\(//\)[^/]' \| \
18548 X"$file" : 'X\(//\)$' \| \
18549 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18550 $as_echo X"$file" |
18551 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18555 /^X\(\/\/\)[^/].*/{
18568 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18569 # echo "creating $dirpart/$file"
18570 echo '# dummy' > "$dirpart/$file"
18577 # See if we are running on zsh, and set the options which allow our
18578 # commands through without removal of \ escapes.
18579 if test -n "${ZSH_VERSION+set}" ; then
18580 setopt NO_GLOB_SUBST
18583 cfgfile="${ofile}T"
18584 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18587 cat <<_LT_EOF >> "$cfgfile"
18590 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18591 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18592 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18593 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18595 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18596 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18598 # Written by Gordon Matzigkeit, 1996
18600 # This file is part of GNU Libtool.
18602 # GNU Libtool is free software; you can redistribute it and/or
18603 # modify it under the terms of the GNU General Public License as
18604 # published by the Free Software Foundation; either version 2 of
18605 # the License, or (at your option) any later version.
18607 # As a special exception to the GNU General Public License,
18608 # if you distribute this file as part of a program or library that
18609 # is built using GNU Libtool, you may include this file under the
18610 # same distribution terms that you use for the rest of that program.
18612 # GNU Libtool is distributed in the hope that it will be useful,
18613 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18614 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18615 # GNU General Public License for more details.
18617 # You should have received a copy of the GNU General Public License
18618 # along with GNU Libtool; see the file COPYING. If not, a copy
18619 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18620 # obtained by writing to the Free Software Foundation, Inc.,
18621 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18624 # The names of the tagged configurations supported by this script.
18627 # ### BEGIN LIBTOOL CONFIG
18629 # Whether or not to build static libraries.
18630 build_old_libs=$enable_static
18632 # Which release of libtool.m4 was used?
18633 macro_version=$macro_version
18634 macro_revision=$macro_revision
18636 # Whether or not to build shared libraries.
18637 build_libtool_libs=$enable_shared
18639 # What type of objects to build.
18642 # Whether or not to optimize for fast installation.
18643 fast_install=$enable_fast_install
18645 # Shell to use when invoking shell scripts.
18648 # An echo program that protects backslashes.
18651 # The PATH separator for the build system.
18652 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18655 host_alias=$host_alias
18659 # The build system.
18660 build_alias=$build_alias
18664 # A sed program that does not truncate output.
18667 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18668 Xsed="\$SED -e 1s/^X//"
18670 # A grep program that handles long lines.
18676 # A literal string matcher.
18679 # A BSD- or MS-compatible name lister.
18682 # Whether we need soft or hard links.
18685 # What is the maximum length of a command?
18686 max_cmd_len=$max_cmd_len
18688 # Object file suffix (normally "o").
18691 # Executable file suffix (normally "").
18694 # whether the shell understands "unset".
18697 # turn spaces into newlines.
18700 # turn newlines into spaces.
18703 # convert \$build file names to \$host format.
18704 to_host_file_cmd=$lt_cv_to_host_file_cmd
18706 # convert \$build files to toolchain format.
18707 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18709 # An object symbol dumper.
18710 OBJDUMP=$lt_OBJDUMP
18712 # Method to check whether dependent libraries are shared objects.
18713 deplibs_check_method=$lt_deplibs_check_method
18715 # Command to use when deplibs_check_method = "file_magic".
18716 file_magic_cmd=$lt_file_magic_cmd
18718 # How to find potential files when deplibs_check_method = "file_magic".
18719 file_magic_glob=$lt_file_magic_glob
18721 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18722 want_nocaseglob=$lt_want_nocaseglob
18724 # DLL creation program.
18725 DLLTOOL=$lt_DLLTOOL
18727 # Command to associate shared and link libraries.
18728 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18733 # Flags to create an archive.
18734 AR_FLAGS=$lt_AR_FLAGS
18736 # How to feed a file listing to the archiver.
18737 archiver_list_spec=$lt_archiver_list_spec
18739 # A symbol stripping program.
18742 # Commands used to install an old-style archive.
18744 old_postinstall_cmds=$lt_old_postinstall_cmds
18745 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18747 # Whether to use a lock for old archive extraction.
18748 lock_old_archive_extraction=$lock_old_archive_extraction
18753 # LTCC compiler flags.
18754 LTCFLAGS=$lt_CFLAGS
18756 # Take the output of nm and produce a listing of raw symbols and C names.
18757 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18759 # Transform the output of nm in a proper C declaration.
18760 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18762 # Transform the output of nm in a C name address pair.
18763 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18765 # Transform the output of nm in a C name address pair when lib prefix is needed.
18766 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18768 # Specify filename containing input files for \$NM.
18769 nm_file_list_spec=$lt_nm_file_list_spec
18771 # The root where to search for dependent libraries,and in which our libraries should be installed.
18772 lt_sysroot=$lt_sysroot
18774 # The name of the directory that contains temporary libtool files.
18777 # Used to examine libraries when file_magic_cmd begins with "file".
18778 MAGIC_CMD=$MAGIC_CMD
18780 # Must we lock files when doing compilation?
18781 need_locks=$lt_need_locks
18784 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18786 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18787 DSYMUTIL=$lt_DSYMUTIL
18789 # Tool to change global to local symbols on Mac OS X.
18792 # Tool to manipulate fat objects and archives on Mac OS X.
18795 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18798 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18799 OTOOL64=$lt_OTOOL64
18801 # Old archive suffix (normally "a").
18804 # Shared library suffix (normally ".so").
18805 shrext_cmds=$lt_shrext_cmds
18807 # The commands to extract the exported symbol list from a shared archive.
18808 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18810 # Variables whose values should be saved in libtool wrapper scripts and
18811 # restored at link time.
18812 variables_saved_for_relink=$lt_variables_saved_for_relink
18814 # Do we need the "lib" prefix for modules?
18815 need_lib_prefix=$need_lib_prefix
18817 # Do we need a version for libraries?
18818 need_version=$need_version
18820 # Library versioning type.
18821 version_type=$version_type
18823 # Shared library runtime path variable.
18824 runpath_var=$runpath_var
18826 # Shared library path variable.
18827 shlibpath_var=$shlibpath_var
18829 # Is shlibpath searched before the hard-coded library search path?
18830 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18832 # Format of library name prefix.
18833 libname_spec=$lt_libname_spec
18835 # List of archive names. First name is the real one, the rest are links.
18836 # The last name is the one that the linker finds with -lNAME
18837 library_names_spec=$lt_library_names_spec
18839 # The coded name of the library, if different from the real name.
18840 soname_spec=$lt_soname_spec
18842 # Permission mode override for installation of shared libraries.
18843 install_override_mode=$lt_install_override_mode
18845 # Command to use after installation of a shared archive.
18846 postinstall_cmds=$lt_postinstall_cmds
18848 # Command to use after uninstallation of a shared archive.
18849 postuninstall_cmds=$lt_postuninstall_cmds
18851 # Commands used to finish a libtool library installation in a directory.
18852 finish_cmds=$lt_finish_cmds
18854 # As "finish_cmds", except a single script fragment to be evaled but
18856 finish_eval=$lt_finish_eval
18858 # Whether we should hardcode library paths into libraries.
18859 hardcode_into_libs=$hardcode_into_libs
18861 # Compile-time system search path for libraries.
18862 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18864 # Run-time system search path for libraries.
18865 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18867 # Whether dlopen is supported.
18868 dlopen_support=$enable_dlopen
18870 # Whether dlopen of programs is supported.
18871 dlopen_self=$enable_dlopen_self
18873 # Whether dlopen of statically linked programs is supported.
18874 dlopen_self_static=$enable_dlopen_self_static
18876 # Commands to strip libraries.
18877 old_striplib=$lt_old_striplib
18878 striplib=$lt_striplib
18881 # The linker used to build libraries.
18884 # How to create reloadable object files.
18885 reload_flag=$lt_reload_flag
18886 reload_cmds=$lt_reload_cmds
18888 # Commands used to build an old-style archive.
18889 old_archive_cmds=$lt_old_archive_cmds
18891 # A language specific compiler.
18894 # Is the compiler the GNU compiler?
18897 # Compiler flag to turn off builtin functions.
18898 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18900 # Additional compiler flags for building library objects.
18901 pic_flag=$lt_lt_prog_compiler_pic
18903 # How to pass a linker flag through the compiler.
18904 wl=$lt_lt_prog_compiler_wl
18906 # Compiler flag to prevent dynamic linking.
18907 link_static_flag=$lt_lt_prog_compiler_static
18909 # Does compiler simultaneously support -c and -o options?
18910 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18912 # Whether or not to add -lc for building shared libraries.
18913 build_libtool_need_lc=$archive_cmds_need_lc
18915 # Whether or not to disallow shared libs when runtime libs are static.
18916 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18918 # Compiler flag to allow reflexive dlopens.
18919 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18921 # Compiler flag to generate shared objects directly from archives.
18922 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18924 # Whether the compiler copes with passing no objects directly.
18925 compiler_needs_object=$lt_compiler_needs_object
18927 # Create an old-style archive from a shared archive.
18928 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18930 # Create a temporary old-style archive to link instead of a shared archive.
18931 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18933 # Commands used to build a shared archive.
18934 archive_cmds=$lt_archive_cmds
18935 archive_expsym_cmds=$lt_archive_expsym_cmds
18937 # Commands used to build a loadable module if different from building
18938 # a shared archive.
18939 module_cmds=$lt_module_cmds
18940 module_expsym_cmds=$lt_module_expsym_cmds
18942 # Whether we are building with GNU ld or not.
18943 with_gnu_ld=$lt_with_gnu_ld
18945 # Flag that allows shared libraries with undefined symbols to be built.
18946 allow_undefined_flag=$lt_allow_undefined_flag
18948 # Flag that enforces no undefined symbols.
18949 no_undefined_flag=$lt_no_undefined_flag
18951 # Flag to hardcode \$libdir into a binary during linking.
18952 # This must work even if \$libdir does not exist
18953 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18955 # Whether we need a single "-rpath" flag with a separated argument.
18956 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18958 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18959 # DIR into the resulting binary.
18960 hardcode_direct=$hardcode_direct
18962 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18963 # DIR into the resulting binary and the resulting library dependency is
18964 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18965 # library is relocated.
18966 hardcode_direct_absolute=$hardcode_direct_absolute
18968 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18969 # into the resulting binary.
18970 hardcode_minus_L=$hardcode_minus_L
18972 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18973 # into the resulting binary.
18974 hardcode_shlibpath_var=$hardcode_shlibpath_var
18976 # Set to "yes" if building a shared library automatically hardcodes DIR
18977 # into the library and all subsequent libraries and executables linked
18979 hardcode_automatic=$hardcode_automatic
18981 # Set to yes if linker adds runtime paths of dependent libraries
18982 # to runtime path list.
18983 inherit_rpath=$inherit_rpath
18985 # Whether libtool must link a program against all its dependency libraries.
18986 link_all_deplibs=$link_all_deplibs
18988 # Set to "yes" if exported symbols are required.
18989 always_export_symbols=$always_export_symbols
18991 # The commands to list exported symbols.
18992 export_symbols_cmds=$lt_export_symbols_cmds
18994 # Symbols that should not be listed in the preloaded symbols.
18995 exclude_expsyms=$lt_exclude_expsyms
18997 # Symbols that must always be exported.
18998 include_expsyms=$lt_include_expsyms
19000 # Commands necessary for linking programs (against libraries) with templates.
19001 prelink_cmds=$lt_prelink_cmds
19003 # Commands necessary for finishing linking programs.
19004 postlink_cmds=$lt_postlink_cmds
19006 # Specify filename containing input files.
19007 file_list_spec=$lt_file_list_spec
19009 # How to hardcode a shared library path into an executable.
19010 hardcode_action=$hardcode_action
19012 # ### END LIBTOOL CONFIG
19018 cat <<\_LT_EOF >> "$cfgfile"
19019 # AIX sometimes has problems with the GCC collect2 program. For some
19020 # reason, if we set the COLLECT_NAMES environment variable, the problems
19021 # vanish in a puff of smoke.
19022 if test "X${COLLECT_NAMES+set}" != Xset; then
19024 export COLLECT_NAMES
19031 ltmain="$ac_aux_dir/ltmain.sh"
19034 # We use sed instead of cat because bash on DJGPP gets confused if
19035 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19036 # text mode, it properly converts lines to CR/LF. This bash problem
19037 # is reportedly fixed, but why not run on old versions too?
19038 sed '$q' "$ltmain" >> "$cfgfile" \
19039 || (rm -f "$cfgfile"; exit 1)
19041 if test x"$xsi_shell" = xyes; then
19042 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19046 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19047 \ * ) func_dirname_result="${3}" ;;\
19049 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19050 && mv -f "$cfgfile.tmp" "$cfgfile" \
19051 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19052 test 0 -eq $? || _lt_function_replace_fail=:
19055 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19058 \ func_basename_result="${1##*/}"\
19059 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19060 && mv -f "$cfgfile.tmp" "$cfgfile" \
19061 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19062 test 0 -eq $? || _lt_function_replace_fail=:
19065 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19066 func_dirname_and_basename ()\
19069 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19070 \ * ) func_dirname_result="${3}" ;;\
19072 \ func_basename_result="${1##*/}"\
19073 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19074 && mv -f "$cfgfile.tmp" "$cfgfile" \
19075 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19076 test 0 -eq $? || _lt_function_replace_fail=:
19079 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19082 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19083 \ # positional parameters, so assign one to ordinary parameter first.\
19084 \ func_stripname_result=${3}\
19085 \ func_stripname_result=${func_stripname_result#"${1}"}\
19086 \ func_stripname_result=${func_stripname_result%"${2}"}\
19087 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19088 && mv -f "$cfgfile.tmp" "$cfgfile" \
19089 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19090 test 0 -eq $? || _lt_function_replace_fail=:
19093 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19094 func_split_long_opt ()\
19096 \ func_split_long_opt_name=${1%%=*}\
19097 \ func_split_long_opt_arg=${1#*=}\
19098 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19099 && mv -f "$cfgfile.tmp" "$cfgfile" \
19100 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19101 test 0 -eq $? || _lt_function_replace_fail=:
19104 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19105 func_split_short_opt ()\
19107 \ func_split_short_opt_arg=${1#??}\
19108 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19109 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19110 && mv -f "$cfgfile.tmp" "$cfgfile" \
19111 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19112 test 0 -eq $? || _lt_function_replace_fail=:
19115 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19119 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19120 \ *) func_lo2o_result=${1} ;;\
19122 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19123 && mv -f "$cfgfile.tmp" "$cfgfile" \
19124 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19125 test 0 -eq $? || _lt_function_replace_fail=:
19128 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19131 func_xform_result=${1%.*}.lo\
19132 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19133 && mv -f "$cfgfile.tmp" "$cfgfile" \
19134 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19135 test 0 -eq $? || _lt_function_replace_fail=:
19138 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19141 func_arith_result=$(( $* ))\
19142 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19143 && mv -f "$cfgfile.tmp" "$cfgfile" \
19144 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19145 test 0 -eq $? || _lt_function_replace_fail=:
19148 sed -e '/^func_len ()$/,/^} # func_len /c\
19151 func_len_result=${#1}\
19152 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19153 && mv -f "$cfgfile.tmp" "$cfgfile" \
19154 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19155 test 0 -eq $? || _lt_function_replace_fail=:
19159 if test x"$lt_shell_append" = xyes; then
19160 sed -e '/^func_append ()$/,/^} # func_append /c\
19163 eval "${1}+=\\${2}"\
19164 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19165 && mv -f "$cfgfile.tmp" "$cfgfile" \
19166 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19167 test 0 -eq $? || _lt_function_replace_fail=:
19170 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19171 func_append_quoted ()\
19173 \ func_quote_for_eval "${2}"\
19174 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19175 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19176 && mv -f "$cfgfile.tmp" "$cfgfile" \
19177 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19178 test 0 -eq $? || _lt_function_replace_fail=:
19181 # Save a `func_append' function call where possible by direct use of '+='
19182 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19183 && mv -f "$cfgfile.tmp" "$cfgfile" \
19184 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19185 test 0 -eq $? || _lt_function_replace_fail=:
19187 # Save a `func_append' function call even when '+=' is not available
19188 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19189 && mv -f "$cfgfile.tmp" "$cfgfile" \
19190 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19191 test 0 -eq $? || _lt_function_replace_fail=:
19194 if test x"$_lt_function_replace_fail" = x":"; then
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19196 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19200 mv -f "$cfgfile" "$ofile" ||
19201 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19212 ac_clean_files=$ac_clean_files_save
19214 test $ac_write_fail = 0 ||
19215 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19218 # configure is writing to config.log, and then calls config.status.
19219 # config.status does its own redirection, appending to config.log.
19220 # Unfortunately, on DOS this fails, as config.log is still kept open
19221 # by configure, so config.status won't be able to write to it; its
19222 # output is simply discarded. So we exec the FD to /dev/null,
19223 # effectively closing config.log, so it can be properly (re)opened and
19224 # appended to by config.status. When coming back to configure, we
19225 # need to make the FD available again.
19226 if test "$no_create" != yes; then
19228 ac_config_status_args=
19229 test "$silent" = yes &&
19230 ac_config_status_args="$ac_config_status_args --quiet"
19232 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19234 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19235 # would make configure fail if this is the last instruction.
19236 $ac_cs_success || as_fn_exit 1
19238 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19240 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}