2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for krb5-strength 2.2.
5 # Report bugs to <eagle@eyrie.org>.
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 eagle@eyrie.org
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.2'
594 PACKAGE_STRING='krb5-strength 2.2'
595 PACKAGE_BUGREPORT='eagle@eyrie.org'
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.2 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.2:";;
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 <eagle@eyrie.org>.
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.2
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 eagle@eyrie.org ##
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.2, 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 if test x"true" = xtrue; then :
12449 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
12453 for ac_header in cdb.h
12455 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
12456 if test "x$ac_cv_header_cdb_h" = xyes; then :
12457 cat >>confdefs.h <<_ACEOF
12458 #define HAVE_CDB_H 1
12465 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
12466 LDFLAGS="$rra_CDB_save_LDFLAGS"
12467 LIBS="$rra_CDB_save_LIBS"
12469 if test x"$rra_CDB_libdir" != x; then :
12470 CDB_LDFLAGS="-L$rra_CDB_libdir"
12472 if test x"$rra_CDB_root" != x; then :
12474 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
12475 if test x"" = x; then :
12476 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
12478 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
12481 if test x"" = x; then :
12482 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
12484 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
12487 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
12490 if test x"$rra_CDB_includedir" != x; then :
12491 CDB_CPPFLAGS="-I$rra_CDB_includedir"
12493 if test x"$rra_CDB_root" != x; then :
12494 if test x"$rra_CDB_root" != x/usr; then :
12495 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
12499 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
12500 rra_CDB_save_LDFLAGS="$LDFLAGS"
12501 rra_CDB_save_LIBS="$LIBS"
12502 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
12503 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
12504 LIBS="$CDB_LIBS $LIBS"
12505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
12506 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
12507 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
12508 $as_echo_n "(cached) " >&6
12510 ac_check_lib_save_LIBS=$LIBS
12512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12513 /* end confdefs.h. */
12515 /* Override any GCC internal prototype to avoid an error.
12516 Use char because int might match the return type of a GCC
12517 builtin and then its argument prototype would still apply. */
12525 return cdb_init ();
12530 if ac_fn_c_try_link "$LINENO"; then :
12531 ac_cv_lib_cdb_cdb_init=yes
12533 ac_cv_lib_cdb_cdb_init=no
12535 rm -f core conftest.err conftest.$ac_objext \
12536 conftest$ac_exeext conftest.$ac_ext
12537 LIBS=$ac_check_lib_save_LIBS
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
12540 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
12541 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
12544 if test x"false" = xtrue; then :
12545 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
12549 for ac_header in cdb.h
12551 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
12552 if test "x$ac_cv_header_cdb_h" = xyes; then :
12553 cat >>confdefs.h <<_ACEOF
12554 #define HAVE_CDB_H 1
12561 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
12562 LDFLAGS="$rra_CDB_save_LDFLAGS"
12563 LIBS="$rra_CDB_save_LIBS"
12566 if test x"$CDB_LIBS" != x; then :
12569 $as_echo "#define HAVE_CDB 1" >>confdefs.h
12572 rra_system_cracklib=
12574 rra_cracklib_libdir=
12575 rra_cracklib_includedir=
12584 # Check whether --with-cracklib was given.
12585 if test "${with_cracklib+set}" = set; then :
12586 withval=$with_cracklib; if test x"$withval" != xno; then :
12587 rra_system_cracklib=yes
12589 if test x"$withval" != xyes && test x"$withval" != xno; then :
12590 rra_cracklib_root="$withval"
12595 # Check whether --with-cracklib-include was given.
12596 if test "${with_cracklib_include+set}" = set; then :
12597 withval=$with_cracklib_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12598 rra_cracklib_includedir="$withval"
12603 # Check whether --with-cracklib-lib was given.
12604 if test "${with_cracklib_lib+set}" = set; then :
12605 withval=$with_cracklib_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12606 rra_cracklib_libdir="$withval"
12611 if test x"$rra_system_cracklib" != xyes; then
12612 EMBEDDED_CRACKLIB_TRUE=
12613 EMBEDDED_CRACKLIB_FALSE='#'
12615 EMBEDDED_CRACKLIB_TRUE='#'
12616 EMBEDDED_CRACKLIB_FALSE=
12619 if test x"$rra_system_cracklib" = xyes; then :
12620 if test x"$rra_cracklib_libdir" != x; then :
12621 CRACKLIB_LDFLAGS="-L$rra_cracklib_libdir"
12623 if test x"$rra_cracklib_root" != x; then :
12625 if test -d "$rra_cracklib_root/$rra_lib_arch_name"; then :
12626 if test x"" = x; then :
12627 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}"
12629 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}/"
12632 if test x"" = x; then :
12633 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib"
12635 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib/"
12638 CRACKLIB_LDFLAGS=`echo "$CRACKLIB_LDFLAGS" | sed -e 's/^ *//'`
12641 if test x"$rra_cracklib_includedir" != x; then :
12642 CRACKLIB_CPPFLAGS="-I$rra_cracklib_includedir"
12644 if test x"$rra_cracklib_root" != x; then :
12645 if test x"$rra_cracklib_root" != x/usr; then :
12646 CRACKLIB_CPPFLAGS="-I${rra_cracklib_root}/include"
12650 CRACKLIB_LIBS="-lcrack"
12651 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
12652 rra_cracklib_save_LDFLAGS="$LDFLAGS"
12653 rra_cracklib_save_LIBS="$LIBS"
12654 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
12655 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
12656 LIBS="$CRACKLIB_LIBS $LIBS"
12657 ac_fn_c_check_func "$LINENO" "FascistCheck" "ac_cv_func_FascistCheck"
12658 if test "x$ac_cv_func_FascistCheck" = xyes; then :
12661 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12662 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12663 as_fn_error $? "unable to link with CrackLib library
12664 See \`config.log' for more details" "$LINENO" 5; }
12667 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
12668 LDFLAGS="$rra_cracklib_save_LDFLAGS"
12669 LIBS="$rra_cracklib_save_LIBS"
12671 if test x"$rra_system_cracklib" = xyes; then :
12672 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
12673 rra_cracklib_save_LDFLAGS="$LDFLAGS"
12674 rra_cracklib_save_LIBS="$LIBS"
12675 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
12676 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
12677 LIBS="$CRACKLIB_LIBS $LIBS"
12678 for ac_header in crack.h
12680 ac_fn_c_check_header_mongrel "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
12681 if test "x$ac_cv_header_crack_h" = xyes; then :
12682 cat >>confdefs.h <<_ACEOF
12683 #define HAVE_CRACK_H 1
12690 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
12691 LDFLAGS="$rra_cracklib_save_LDFLAGS"
12692 LIBS="$rra_cracklib_save_LIBS"
12694 rra_reduced_depends=false
12695 # Check whether --enable-reduced-depends was given.
12696 if test "${enable_reduced_depends+set}" = set; then :
12697 enableval=$enable_reduced_depends; if test x"$enableval" = xyes; then :
12698 rra_reduced_depends=true
12703 # Extract the first word of "krb5-config", so it can be a program name with args.
12704 set dummy krb5-config; ac_word=$2
12705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12706 $as_echo_n "checking for $ac_word... " >&6; }
12707 if ${ac_cv_path_PATH_KRB5_CONFIG+:} false; then :
12708 $as_echo_n "(cached) " >&6
12710 case $PATH_KRB5_CONFIG in
12712 ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
12715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12716 as_dummy="${PATH}:/usr/kerberos/bin"
12717 for as_dir in $as_dummy
12720 test -z "$as_dir" && as_dir=.
12721 for ac_exec_ext in '' $ac_executable_extensions; do
12722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12723 ac_cv_path_PATH_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12734 PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
12735 if test -n "$PATH_KRB5_CONFIG"; then
12736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
12737 $as_echo "$PATH_KRB5_CONFIG" >&6; }
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12740 $as_echo "no" >&6; }
12746 rra_krb5_includedir=
12753 # Check whether --with-krb5 was given.
12754 if test "${with_krb5+set}" = set; then :
12755 withval=$with_krb5; if test x"$withval" != xyes && test x"$withval" != xno; then :
12756 rra_krb5_root="$withval"
12761 # Check whether --with-krb5-include was given.
12762 if test "${with_krb5_include+set}" = set; then :
12763 withval=$with_krb5_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12764 rra_krb5_includedir="$withval"
12769 # Check whether --with-krb5-lib was given.
12770 if test "${with_krb5_lib+set}" = set; then :
12771 withval=$with_krb5_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12772 rra_krb5_libdir="$withval"
12778 if test x"$rra_krb5_includedir" != x; then :
12779 rra_krb5_incroot="$rra_krb5_includedir"
12781 if test x"$rra_krb5_root" != x; then :
12782 rra_krb5_incroot="${rra_krb5_root}/include"
12785 if test x"$rra_reduced_depends" = xtrue; then :
12786 if test x"$rra_krb5_libdir" != x; then :
12787 KRB5_LDFLAGS="-L$rra_krb5_libdir"
12789 if test x"$rra_krb5_root" != x; then :
12791 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
12792 if test x"" = x; then :
12793 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
12795 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
12798 if test x"" = x; then :
12799 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
12801 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
12804 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
12807 if test x"$rra_krb5_includedir" != x; then :
12808 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
12810 if test x"$rra_krb5_root" != x; then :
12811 if test x"$rra_krb5_root" != x/usr; then :
12812 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
12816 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
12817 rra_krb5_save_LDFLAGS="$LDFLAGS"
12818 rra_krb5_save_LIBS="$LIBS"
12819 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
12820 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
12821 LIBS="$KRB5_LIBS $LIBS"
12822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
12823 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
12824 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
12825 $as_echo_n "(cached) " >&6
12827 ac_check_lib_save_LIBS=$LIBS
12828 LIBS="-lkrb5 $LIBS"
12829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12830 /* end confdefs.h. */
12832 /* Override any GCC internal prototype to avoid an error.
12833 Use char because int might match the return type of a GCC
12834 builtin and then its argument prototype would still apply. */
12838 char krb5_init_context ();
12842 return krb5_init_context ();
12847 if ac_fn_c_try_link "$LINENO"; then :
12848 ac_cv_lib_krb5_krb5_init_context=yes
12850 ac_cv_lib_krb5_krb5_init_context=no
12852 rm -f core conftest.err conftest.$ac_objext \
12853 conftest$ac_exeext conftest.$ac_ext
12854 LIBS=$ac_check_lib_save_LIBS
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
12857 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
12858 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
12861 if test x"true" = xtrue; then :
12862 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
12866 LIBS="$KRB5_LIBS $LIBS"
12867 if test x"$rra_krb5_incroot" = x; then :
12868 for ac_header in krb5.h krb5/krb5.h
12870 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12871 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12872 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12873 cat >>confdefs.h <<_ACEOF
12874 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
12883 $as_echo_n "checking for krb5.h... " >&6; }
12884 if test -f "${rra_krb5_incroot}/krb5.h"; then :
12886 cat >>confdefs.h <<_ACEOF
12887 #define HAVE_KRB5_H 1
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12891 $as_echo "yes" >&6; }
12893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12894 $as_echo "no" >&6; }
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
12897 $as_echo_n "checking for krb5/krb5.h... " >&6; }
12898 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
12900 cat >>confdefs.h <<_ACEOF
12901 #define HAVE_KRB5_KRB5_H 1
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12905 $as_echo "yes" >&6; }
12907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12908 $as_echo "no" >&6; }
12911 for ac_func in krb5_get_error_message
12913 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
12914 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
12915 cat >>confdefs.h <<_ACEOF
12916 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
12918 for ac_func in krb5_free_error_message
12920 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
12921 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
12922 cat >>confdefs.h <<_ACEOF
12923 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
12930 for ac_func in krb5_get_error_string
12932 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
12933 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
12934 cat >>confdefs.h <<_ACEOF
12935 #define HAVE_KRB5_GET_ERROR_STRING 1
12939 for ac_func in krb5_get_err_txt
12941 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
12942 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
12943 cat >>confdefs.h <<_ACEOF
12944 #define HAVE_KRB5_GET_ERR_TXT 1
12948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
12949 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
12950 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
12951 $as_echo_n "(cached) " >&6
12953 ac_check_lib_save_LIBS=$LIBS
12954 LIBS="-lksvc $LIBS"
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12958 /* Override any GCC internal prototype to avoid an error.
12959 Use char because int might match the return type of a GCC
12960 builtin and then its argument prototype would still apply. */
12964 char krb5_svc_get_msg ();
12968 return krb5_svc_get_msg ();
12973 if ac_fn_c_try_link "$LINENO"; then :
12974 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
12976 ac_cv_lib_ksvc_krb5_svc_get_msg=no
12978 rm -f core conftest.err conftest.$ac_objext \
12979 conftest$ac_exeext conftest.$ac_ext
12980 LIBS=$ac_check_lib_save_LIBS
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
12983 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
12984 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
12985 KRB5_LIBS="$KRB5_LIBS -lksvc"
12986 $as_echo "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
12988 for ac_header in ibm_svc/krb5_svc.h
12990 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
12994 # include <krb5/krb5.h>
12998 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
12999 cat >>confdefs.h <<_ACEOF
13000 #define HAVE_IBM_SVC_KRB5_SVC_H 1
13008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
13009 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
13010 if ${ac_cv_lib_com_err_com_err+:} false; then :
13011 $as_echo_n "(cached) " >&6
13013 ac_check_lib_save_LIBS=$LIBS
13014 LIBS="-lcom_err $LIBS"
13015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13016 /* end confdefs.h. */
13018 /* Override any GCC internal prototype to avoid an error.
13019 Use char because int might match the return type of a GCC
13020 builtin and then its argument prototype would still apply. */
13033 if ac_fn_c_try_link "$LINENO"; then :
13034 ac_cv_lib_com_err_com_err=yes
13036 ac_cv_lib_com_err_com_err=no
13038 rm -f core conftest.err conftest.$ac_objext \
13039 conftest$ac_exeext conftest.$ac_ext
13040 LIBS=$ac_check_lib_save_LIBS
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
13043 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
13044 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
13045 KRB5_LIBS="$KRB5_LIBS -lcom_err"
13047 if test x"true" = xtrue; then :
13048 as_fn_error $? "cannot find usable com_err library" "$LINENO" 5
13054 for ac_header in et/com_err.h
13056 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
13057 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
13058 cat >>confdefs.h <<_ACEOF
13059 #define HAVE_ET_COM_ERR_H 1
13077 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13078 LDFLAGS="$rra_krb5_save_LDFLAGS"
13079 LIBS="$rra_krb5_save_LIBS"
13081 if test x"$rra_krb5_includedir" = x && test x"$rra_krb5_libdir" = x; then :
13083 rra_krb5_config_KRB5=
13084 rra_krb5_config_KRB5_ok=
13085 if test x"${rra_krb5_root}" != x && test -x "${rra_krb5_root}/bin/krb5-config"; then :
13086 rra_krb5_config_KRB5="${rra_krb5_root}/bin/krb5-config"
13088 rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
13090 if test x"$rra_krb5_config_KRB5" != x && test -x "$rra_krb5_config_KRB5"; then :
13091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5 support in krb5-config" >&5
13092 $as_echo_n "checking for krb5 support in krb5-config... " >&6; }
13093 if ${rra_cv_lib_KRB5_config+:} false; then :
13094 $as_echo_n "(cached) " >&6
13096 if "$rra_krb5_config_KRB5" 2>&1 | grep krb5 >/dev/null 2>&1; then :
13097 rra_cv_lib_KRB5_config=yes
13099 rra_cv_lib_KRB5_config=no
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_lib_KRB5_config" >&5
13103 $as_echo "$rra_cv_lib_KRB5_config" >&6; }
13104 if test "$rra_cv_lib_KRB5_config" = yes; then :
13105 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags krb5 2>/dev/null`
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --deps support in krb5-config" >&5
13110 $as_echo_n "checking for --deps support in krb5-config... " >&6; }
13111 if ${rra_cv_krb5_config_deps+:} false; then :
13112 $as_echo_n "(cached) " >&6
13114 if "$rra_krb5_config_KRB5" 2>&1 | grep deps >/dev/null 2>&1; then :
13115 rra_cv_krb5_config_deps=yes
13117 rra_cv_krb5_config_deps=no
13120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_krb5_config_deps" >&5
13121 $as_echo "$rra_cv_krb5_config_deps" >&6; }
13122 if test x"$rra_reduced_depends" = xfalse \
13123 && test x"$rra_cv_krb5_config_deps" = xyes; then :
13124 KRB5_LIBS=`"$rra_krb5_config_KRB5" --deps --libs krb5 2>/dev/null`
13126 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
13128 rra_krb5_config_KRB5_ok=yes
13130 if test x"krb5" = xkrb5; then :
13131 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags 2>/dev/null`
13132 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
13133 rra_krb5_config_KRB5_ok=yes
13137 if test x"$rra_krb5_config_KRB5_ok" = xyes; then :
13138 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include %%'`
13139 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include$%%'`
13140 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
13141 rra_krb5_save_LDFLAGS="$LDFLAGS"
13142 rra_krb5_save_LIBS="$LIBS"
13143 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
13144 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
13145 LIBS="$KRB5_LIBS $LIBS"
13146 ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
13147 if test "x$ac_cv_func_krb5_init_context" = xyes; then :
13148 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13149 LDFLAGS="$rra_krb5_save_LDFLAGS"
13150 LIBS="$rra_krb5_save_LIBS"
13152 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13153 LDFLAGS="$rra_krb5_save_LDFLAGS"
13154 LIBS="$rra_krb5_save_LIBS"
13157 if test x"$rra_krb5_libdir" != x; then :
13158 KRB5_LDFLAGS="-L$rra_krb5_libdir"
13160 if test x"$rra_krb5_root" != x; then :
13162 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
13163 if test x"" = x; then :
13164 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
13166 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
13169 if test x"" = x; then :
13170 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
13172 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
13175 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
13178 if test x"$rra_krb5_includedir" != x; then :
13179 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
13181 if test x"$rra_krb5_root" != x; then :
13182 if test x"$rra_krb5_root" != x/usr; then :
13183 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
13187 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
13188 rra_krb5_save_LDFLAGS="$LDFLAGS"
13189 rra_krb5_save_LIBS="$LIBS"
13190 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
13191 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
13192 LIBS="$KRB5_LIBS $LIBS"
13195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
13196 $as_echo_n "checking for library containing res_search... " >&6; }
13197 if ${ac_cv_search_res_search+:} false; then :
13198 $as_echo_n "(cached) " >&6
13200 ac_func_search_save_LIBS=$LIBS
13201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13202 /* end confdefs.h. */
13204 /* Override any GCC internal prototype to avoid an error.
13205 Use char because int might match the return type of a GCC
13206 builtin and then its argument prototype would still apply. */
13210 char res_search ();
13214 return res_search ();
13219 for ac_lib in '' resolv; do
13220 if test -z "$ac_lib"; then
13221 ac_res="none required"
13224 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13226 if ac_fn_c_try_link "$LINENO"; then :
13227 ac_cv_search_res_search=$ac_res
13229 rm -f core conftest.err conftest.$ac_objext \
13231 if ${ac_cv_search_res_search+:} false; then :
13235 if ${ac_cv_search_res_search+:} false; then :
13238 ac_cv_search_res_search=no
13240 rm conftest.$ac_ext
13241 LIBS=$ac_func_search_save_LIBS
13243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
13244 $as_echo "$ac_cv_search_res_search" >&6; }
13245 ac_res=$ac_cv_search_res_search
13246 if test "$ac_res" != no; then :
13247 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
13251 $as_echo_n "checking for library containing __res_search... " >&6; }
13252 if ${ac_cv_search___res_search+:} false; then :
13253 $as_echo_n "(cached) " >&6
13255 ac_func_search_save_LIBS=$LIBS
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13265 char __res_search ();
13269 return __res_search ();
13274 for ac_lib in '' resolv; do
13275 if test -z "$ac_lib"; then
13276 ac_res="none required"
13279 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13281 if ac_fn_c_try_link "$LINENO"; then :
13282 ac_cv_search___res_search=$ac_res
13284 rm -f core conftest.err conftest.$ac_objext \
13286 if ${ac_cv_search___res_search+:} false; then :
13290 if ${ac_cv_search___res_search+:} false; then :
13293 ac_cv_search___res_search=no
13295 rm conftest.$ac_ext
13296 LIBS=$ac_func_search_save_LIBS
13298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
13299 $as_echo "$ac_cv_search___res_search" >&6; }
13300 ac_res=$ac_cv_search___res_search
13301 if test "$ac_res" != no; then :
13302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13309 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13310 if ${ac_cv_search_gethostbyname+:} false; then :
13311 $as_echo_n "(cached) " >&6
13313 ac_func_search_save_LIBS=$LIBS
13314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13315 /* end confdefs.h. */
13317 /* Override any GCC internal prototype to avoid an error.
13318 Use char because int might match the return type of a GCC
13319 builtin and then its argument prototype would still apply. */
13323 char gethostbyname ();
13327 return gethostbyname ();
13332 for ac_lib in '' nsl; do
13333 if test -z "$ac_lib"; then
13334 ac_res="none required"
13337 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13339 if ac_fn_c_try_link "$LINENO"; then :
13340 ac_cv_search_gethostbyname=$ac_res
13342 rm -f core conftest.err conftest.$ac_objext \
13344 if ${ac_cv_search_gethostbyname+:} false; then :
13348 if ${ac_cv_search_gethostbyname+:} false; then :
13351 ac_cv_search_gethostbyname=no
13353 rm conftest.$ac_ext
13354 LIBS=$ac_func_search_save_LIBS
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13357 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13358 ac_res=$ac_cv_search_gethostbyname
13359 if test "$ac_res" != no; then :
13360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13365 $as_echo_n "checking for library containing socket... " >&6; }
13366 if ${ac_cv_search_socket+:} false; then :
13367 $as_echo_n "(cached) " >&6
13369 ac_func_search_save_LIBS=$LIBS
13370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13371 /* end confdefs.h. */
13373 /* Override any GCC internal prototype to avoid an error.
13374 Use char because int might match the return type of a GCC
13375 builtin and then its argument prototype would still apply. */
13388 for ac_lib in '' socket; do
13389 if test -z "$ac_lib"; then
13390 ac_res="none required"
13393 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13395 if ac_fn_c_try_link "$LINENO"; then :
13396 ac_cv_search_socket=$ac_res
13398 rm -f core conftest.err conftest.$ac_objext \
13400 if ${ac_cv_search_socket+:} false; then :
13404 if ${ac_cv_search_socket+:} false; then :
13407 ac_cv_search_socket=no
13409 rm conftest.$ac_ext
13410 LIBS=$ac_func_search_save_LIBS
13412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13413 $as_echo "$ac_cv_search_socket" >&6; }
13414 ac_res=$ac_cv_search_socket
13415 if test "$ac_res" != no; then :
13416 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
13420 $as_echo_n "checking for socket in -lnsl... " >&6; }
13421 if ${ac_cv_lib_nsl_socket+:} false; then :
13422 $as_echo_n "(cached) " >&6
13424 ac_check_lib_save_LIBS=$LIBS
13425 LIBS="-lnsl -lsocket $LIBS"
13426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13427 /* end confdefs.h. */
13429 /* Override any GCC internal prototype to avoid an error.
13430 Use char because int might match the return type of a GCC
13431 builtin and then its argument prototype would still apply. */
13444 if ac_fn_c_try_link "$LINENO"; then :
13445 ac_cv_lib_nsl_socket=yes
13447 ac_cv_lib_nsl_socket=no
13449 rm -f core conftest.err conftest.$ac_objext \
13450 conftest$ac_exeext conftest.$ac_ext
13451 LIBS=$ac_check_lib_save_LIBS
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
13454 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
13455 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
13456 LIBS="-lnsl -lsocket $LIBS"
13461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13462 $as_echo_n "checking for library containing crypt... " >&6; }
13463 if ${ac_cv_search_crypt+:} false; then :
13464 $as_echo_n "(cached) " >&6
13466 ac_func_search_save_LIBS=$LIBS
13467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13468 /* end confdefs.h. */
13470 /* Override any GCC internal prototype to avoid an error.
13471 Use char because int might match the return type of a GCC
13472 builtin and then its argument prototype would still apply. */
13485 for ac_lib in '' crypt; do
13486 if test -z "$ac_lib"; then
13487 ac_res="none required"
13490 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13492 if ac_fn_c_try_link "$LINENO"; then :
13493 ac_cv_search_crypt=$ac_res
13495 rm -f core conftest.err conftest.$ac_objext \
13497 if ${ac_cv_search_crypt+:} false; then :
13501 if ${ac_cv_search_crypt+:} false; then :
13504 ac_cv_search_crypt=no
13506 rm conftest.$ac_ext
13507 LIBS=$ac_func_search_save_LIBS
13509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13510 $as_echo "$ac_cv_search_crypt" >&6; }
13511 ac_res=$ac_cv_search_crypt
13512 if test "$ac_res" != no; then :
13513 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
13518 $as_echo_n "checking for library containing roken_concat... " >&6; }
13519 if ${ac_cv_search_roken_concat+:} false; then :
13520 $as_echo_n "(cached) " >&6
13522 ac_func_search_save_LIBS=$LIBS
13523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13524 /* end confdefs.h. */
13526 /* Override any GCC internal prototype to avoid an error.
13527 Use char because int might match the return type of a GCC
13528 builtin and then its argument prototype would still apply. */
13532 char roken_concat ();
13536 return roken_concat ();
13541 for ac_lib in '' roken; do
13542 if test -z "$ac_lib"; then
13543 ac_res="none required"
13546 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13548 if ac_fn_c_try_link "$LINENO"; then :
13549 ac_cv_search_roken_concat=$ac_res
13551 rm -f core conftest.err conftest.$ac_objext \
13553 if ${ac_cv_search_roken_concat+:} false; then :
13557 if ${ac_cv_search_roken_concat+:} false; then :
13560 ac_cv_search_roken_concat=no
13562 rm conftest.$ac_ext
13563 LIBS=$ac_func_search_save_LIBS
13565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
13566 $as_echo "$ac_cv_search_roken_concat" >&6; }
13567 ac_res=$ac_cv_search_roken_concat
13568 if test "$ac_res" != no; then :
13569 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13573 rra_krb5_extra="$LIBS"
13574 LIBS="$rra_krb5_save_LIBS"
13575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
13576 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
13577 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
13578 $as_echo_n "(cached) " >&6
13580 ac_check_lib_save_LIBS=$LIBS
13581 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
13582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13583 /* end confdefs.h. */
13585 /* Override any GCC internal prototype to avoid an error.
13586 Use char because int might match the return type of a GCC
13587 builtin and then its argument prototype would still apply. */
13591 char krb5_init_context ();
13595 return krb5_init_context ();
13600 if ac_fn_c_try_link "$LINENO"; then :
13601 ac_cv_lib_krb5_krb5_init_context=yes
13603 ac_cv_lib_krb5_krb5_init_context=no
13605 rm -f core conftest.err conftest.$ac_objext \
13606 conftest$ac_exeext conftest.$ac_ext
13607 LIBS=$ac_check_lib_save_LIBS
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13610 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
13611 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
13612 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
13614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
13615 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
13616 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
13617 $as_echo_n "(cached) " >&6
13619 ac_check_lib_save_LIBS=$LIBS
13620 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
13621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13622 /* end confdefs.h. */
13624 /* Override any GCC internal prototype to avoid an error.
13625 Use char because int might match the return type of a GCC
13626 builtin and then its argument prototype would still apply. */
13630 char krb5int_getspecific ();
13634 return krb5int_getspecific ();
13639 if ac_fn_c_try_link "$LINENO"; then :
13640 ac_cv_lib_krb5support_krb5int_getspecific=yes
13642 ac_cv_lib_krb5support_krb5int_getspecific=no
13644 rm -f core conftest.err conftest.$ac_objext \
13645 conftest$ac_exeext conftest.$ac_ext
13646 LIBS=$ac_check_lib_save_LIBS
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
13649 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
13650 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
13651 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
13654 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
13655 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
13656 $as_echo_n "(cached) " >&6
13658 ac_check_lib_save_LIBS=$LIBS
13659 LIBS="-lpthreads $LIBS"
13660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13661 /* end confdefs.h. */
13663 /* Override any GCC internal prototype to avoid an error.
13664 Use char because int might match the return type of a GCC
13665 builtin and then its argument prototype would still apply. */
13669 char pthread_setspecific ();
13673 return pthread_setspecific ();
13678 if ac_fn_c_try_link "$LINENO"; then :
13679 ac_cv_lib_pthreads_pthread_setspecific=yes
13681 ac_cv_lib_pthreads_pthread_setspecific=no
13683 rm -f core conftest.err conftest.$ac_objext \
13684 conftest$ac_exeext conftest.$ac_ext
13685 LIBS=$ac_check_lib_save_LIBS
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
13688 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
13689 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
13690 rra_krb5_pthread="-lpthreads"
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
13693 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
13694 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
13695 $as_echo_n "(cached) " >&6
13697 ac_check_lib_save_LIBS=$LIBS
13698 LIBS="-lpthread $LIBS"
13699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13700 /* end confdefs.h. */
13702 /* Override any GCC internal prototype to avoid an error.
13703 Use char because int might match the return type of a GCC
13704 builtin and then its argument prototype would still apply. */
13708 char pthread_setspecific ();
13712 return pthread_setspecific ();
13717 if ac_fn_c_try_link "$LINENO"; then :
13718 ac_cv_lib_pthread_pthread_setspecific=yes
13720 ac_cv_lib_pthread_pthread_setspecific=no
13722 rm -f core conftest.err conftest.$ac_objext \
13723 conftest$ac_exeext conftest.$ac_ext
13724 LIBS=$ac_check_lib_save_LIBS
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
13727 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
13728 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
13729 rra_krb5_pthread="-lpthread"
13734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
13735 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
13736 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
13737 $as_echo_n "(cached) " >&6
13739 ac_check_lib_save_LIBS=$LIBS
13740 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
13741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13742 /* end confdefs.h. */
13744 /* Override any GCC internal prototype to avoid an error.
13745 Use char because int might match the return type of a GCC
13746 builtin and then its argument prototype would still apply. */
13750 char krb5int_setspecific ();
13754 return krb5int_setspecific ();
13759 if ac_fn_c_try_link "$LINENO"; then :
13760 ac_cv_lib_krb5support_krb5int_setspecific=yes
13762 ac_cv_lib_krb5support_krb5int_setspecific=no
13764 rm -f core conftest.err conftest.$ac_objext \
13765 conftest$ac_exeext conftest.$ac_ext
13766 LIBS=$ac_check_lib_save_LIBS
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
13769 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
13770 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
13771 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
13777 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
13778 if ${ac_cv_lib_com_err_error_message+:} false; then :
13779 $as_echo_n "(cached) " >&6
13781 ac_check_lib_save_LIBS=$LIBS
13782 LIBS="-lcom_err $rra_krb5_extra $LIBS"
13783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13784 /* end confdefs.h. */
13786 /* Override any GCC internal prototype to avoid an error.
13787 Use char because int might match the return type of a GCC
13788 builtin and then its argument prototype would still apply. */
13792 char error_message ();
13796 return error_message ();
13801 if ac_fn_c_try_link "$LINENO"; then :
13802 ac_cv_lib_com_err_error_message=yes
13804 ac_cv_lib_com_err_error_message=no
13806 rm -f core conftest.err conftest.$ac_objext \
13807 conftest$ac_exeext conftest.$ac_ext
13808 LIBS=$ac_check_lib_save_LIBS
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
13811 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
13812 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
13813 rra_krb5_extra="-lcom_err $rra_krb5_extra"
13816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
13817 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
13818 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
13819 $as_echo_n "(cached) " >&6
13821 ac_check_lib_save_LIBS=$LIBS
13822 LIBS="-lksvc $rra_krb5_extra $LIBS"
13823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13824 /* end confdefs.h. */
13826 /* Override any GCC internal prototype to avoid an error.
13827 Use char because int might match the return type of a GCC
13828 builtin and then its argument prototype would still apply. */
13832 char krb5_svc_get_msg ();
13836 return krb5_svc_get_msg ();
13841 if ac_fn_c_try_link "$LINENO"; then :
13842 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
13844 ac_cv_lib_ksvc_krb5_svc_get_msg=no
13846 rm -f core conftest.err conftest.$ac_objext \
13847 conftest$ac_exeext conftest.$ac_ext
13848 LIBS=$ac_check_lib_save_LIBS
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
13851 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
13852 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
13853 rra_krb5_extra="-lksvc $rra_krb5_extra"
13856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
13857 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
13858 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
13859 $as_echo_n "(cached) " >&6
13861 ac_check_lib_save_LIBS=$LIBS
13862 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
13863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13864 /* end confdefs.h. */
13866 /* Override any GCC internal prototype to avoid an error.
13867 Use char because int might match the return type of a GCC
13868 builtin and then its argument prototype would still apply. */
13872 char krb5int_hash_md5 ();
13876 return krb5int_hash_md5 ();
13881 if ac_fn_c_try_link "$LINENO"; then :
13882 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
13884 ac_cv_lib_k5crypto_krb5int_hash_md5=no
13886 rm -f core conftest.err conftest.$ac_objext \
13887 conftest$ac_exeext conftest.$ac_ext
13888 LIBS=$ac_check_lib_save_LIBS
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
13891 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
13892 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
13893 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
13897 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
13898 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
13899 $as_echo_n "(cached) " >&6
13901 ac_check_lib_save_LIBS=$LIBS
13902 LIBS="-lk5profile $rra_krb5_extra $LIBS"
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13906 /* Override any GCC internal prototype to avoid an error.
13907 Use char because int might match the return type of a GCC
13908 builtin and then its argument prototype would still apply. */
13912 char profile_get_values ();
13916 return profile_get_values ();
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 ac_cv_lib_k5profile_profile_get_values=yes
13924 ac_cv_lib_k5profile_profile_get_values=no
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 LIBS=$ac_check_lib_save_LIBS
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
13931 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
13932 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
13933 rra_krb5_extra="-lk5profile $rra_krb5_extra"
13936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
13937 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
13938 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
13939 $as_echo_n "(cached) " >&6
13941 ac_check_lib_save_LIBS=$LIBS
13942 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
13943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13944 /* end confdefs.h. */
13946 /* Override any GCC internal prototype to avoid an error.
13947 Use char because int might match the return type of a GCC
13948 builtin and then its argument prototype would still apply. */
13952 char krb5_cc_default ();
13956 return krb5_cc_default ();
13961 if ac_fn_c_try_link "$LINENO"; then :
13962 ac_cv_lib_krb5_krb5_cc_default=yes
13964 ac_cv_lib_krb5_krb5_cc_default=no
13966 rm -f core conftest.err conftest.$ac_objext \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
13971 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
13972 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
13973 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
13975 if test x"true" = xtrue; then :
13976 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
13982 LIBS="$KRB5_LIBS $LIBS"
13983 if test x"$rra_krb5_incroot" = x; then :
13984 for ac_header in krb5.h krb5/krb5.h
13986 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13987 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13988 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13989 cat >>confdefs.h <<_ACEOF
13990 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
13999 $as_echo_n "checking for krb5.h... " >&6; }
14000 if test -f "${rra_krb5_incroot}/krb5.h"; then :
14002 cat >>confdefs.h <<_ACEOF
14003 #define HAVE_KRB5_H 1
14006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14007 $as_echo "yes" >&6; }
14009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14010 $as_echo "no" >&6; }
14012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
14013 $as_echo_n "checking for krb5/krb5.h... " >&6; }
14014 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
14016 cat >>confdefs.h <<_ACEOF
14017 #define HAVE_KRB5_KRB5_H 1
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14021 $as_echo "yes" >&6; }
14023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14024 $as_echo "no" >&6; }
14027 for ac_func in krb5_get_error_message
14029 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
14030 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
14031 cat >>confdefs.h <<_ACEOF
14032 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
14034 for ac_func in krb5_free_error_message
14036 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
14037 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
14038 cat >>confdefs.h <<_ACEOF
14039 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
14046 for ac_func in krb5_get_error_string
14048 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
14049 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
14050 cat >>confdefs.h <<_ACEOF
14051 #define HAVE_KRB5_GET_ERROR_STRING 1
14055 for ac_func in krb5_get_err_txt
14057 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
14058 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
14059 cat >>confdefs.h <<_ACEOF
14060 #define HAVE_KRB5_GET_ERR_TXT 1
14064 for ac_func in krb5_svc_get_msg
14066 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
14067 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
14068 cat >>confdefs.h <<_ACEOF
14069 #define HAVE_KRB5_SVC_GET_MSG 1
14071 for ac_header in ibm_svc/krb5_svc.h
14073 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
14077 # include <krb5/krb5.h>
14081 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
14082 cat >>confdefs.h <<_ACEOF
14083 #define HAVE_IBM_SVC_KRB5_SVC_H 1
14091 for ac_header in et/com_err.h
14093 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
14094 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
14095 cat >>confdefs.h <<_ACEOF
14096 #define HAVE_ET_COM_ERR_H 1
14115 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
14116 LDFLAGS="$rra_krb5_save_LDFLAGS"
14117 LIBS="$rra_krb5_save_LIBS"
14120 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
14121 rra_krb5_save_LDFLAGS="$LDFLAGS"
14122 rra_krb5_save_LIBS="$LIBS"
14123 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
14124 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
14125 LIBS="$KRB5_LIBS $LIBS"
14126 if test x"$rra_krb5_incroot" = x; then :
14127 for ac_header in krb5.h krb5/krb5.h
14129 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14130 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14131 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14132 cat >>confdefs.h <<_ACEOF
14133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
14142 $as_echo_n "checking for krb5.h... " >&6; }
14143 if test -f "${rra_krb5_incroot}/krb5.h"; then :
14145 cat >>confdefs.h <<_ACEOF
14146 #define HAVE_KRB5_H 1
14149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14150 $as_echo "yes" >&6; }
14152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14153 $as_echo "no" >&6; }
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
14156 $as_echo_n "checking for krb5/krb5.h... " >&6; }
14157 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
14159 cat >>confdefs.h <<_ACEOF
14160 #define HAVE_KRB5_KRB5_H 1
14163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14164 $as_echo "yes" >&6; }
14166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14167 $as_echo "no" >&6; }
14170 for ac_func in krb5_get_error_message
14172 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
14173 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
14174 cat >>confdefs.h <<_ACEOF
14175 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
14177 for ac_func in krb5_free_error_message
14179 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
14180 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
14181 cat >>confdefs.h <<_ACEOF
14182 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
14189 for ac_func in krb5_get_error_string
14191 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
14192 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
14193 cat >>confdefs.h <<_ACEOF
14194 #define HAVE_KRB5_GET_ERROR_STRING 1
14198 for ac_func in krb5_get_err_txt
14200 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
14201 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
14202 cat >>confdefs.h <<_ACEOF
14203 #define HAVE_KRB5_GET_ERR_TXT 1
14207 for ac_func in krb5_svc_get_msg
14209 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
14210 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
14211 cat >>confdefs.h <<_ACEOF
14212 #define HAVE_KRB5_SVC_GET_MSG 1
14214 for ac_header in ibm_svc/krb5_svc.h
14216 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
14220 # include <krb5/krb5.h>
14224 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
14225 cat >>confdefs.h <<_ACEOF
14226 #define HAVE_IBM_SVC_KRB5_SVC_H 1
14234 for ac_header in et/com_err.h
14236 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
14237 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
14238 cat >>confdefs.h <<_ACEOF
14239 #define HAVE_ET_COM_ERR_H 1
14258 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
14259 LDFLAGS="$rra_krb5_save_LDFLAGS"
14260 LIBS="$rra_krb5_save_LIBS"
14262 if test x"$rra_krb5_libdir" != x; then :
14263 KRB5_LDFLAGS="-L$rra_krb5_libdir"
14265 if test x"$rra_krb5_root" != x; then :
14267 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
14268 if test x"" = x; then :
14269 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
14271 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
14274 if test x"" = x; then :
14275 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
14277 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
14280 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
14283 if test x"$rra_krb5_includedir" != x; then :
14284 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
14286 if test x"$rra_krb5_root" != x; then :
14287 if test x"$rra_krb5_root" != x/usr; then :
14288 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
14292 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
14293 rra_krb5_save_LDFLAGS="$LDFLAGS"
14294 rra_krb5_save_LIBS="$LIBS"
14295 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
14296 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
14297 LIBS="$KRB5_LIBS $LIBS"
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
14301 $as_echo_n "checking for library containing res_search... " >&6; }
14302 if ${ac_cv_search_res_search+:} false; then :
14303 $as_echo_n "(cached) " >&6
14305 ac_func_search_save_LIBS=$LIBS
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14315 char res_search ();
14319 return res_search ();
14324 for ac_lib in '' resolv; do
14325 if test -z "$ac_lib"; then
14326 ac_res="none required"
14329 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14331 if ac_fn_c_try_link "$LINENO"; then :
14332 ac_cv_search_res_search=$ac_res
14334 rm -f core conftest.err conftest.$ac_objext \
14336 if ${ac_cv_search_res_search+:} false; then :
14340 if ${ac_cv_search_res_search+:} false; then :
14343 ac_cv_search_res_search=no
14345 rm conftest.$ac_ext
14346 LIBS=$ac_func_search_save_LIBS
14348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
14349 $as_echo "$ac_cv_search_res_search" >&6; }
14350 ac_res=$ac_cv_search_res_search
14351 if test "$ac_res" != no; then :
14352 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
14356 $as_echo_n "checking for library containing __res_search... " >&6; }
14357 if ${ac_cv_search___res_search+:} false; then :
14358 $as_echo_n "(cached) " >&6
14360 ac_func_search_save_LIBS=$LIBS
14361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14362 /* end confdefs.h. */
14364 /* Override any GCC internal prototype to avoid an error.
14365 Use char because int might match the return type of a GCC
14366 builtin and then its argument prototype would still apply. */
14370 char __res_search ();
14374 return __res_search ();
14379 for ac_lib in '' resolv; do
14380 if test -z "$ac_lib"; then
14381 ac_res="none required"
14384 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14386 if ac_fn_c_try_link "$LINENO"; then :
14387 ac_cv_search___res_search=$ac_res
14389 rm -f core conftest.err conftest.$ac_objext \
14391 if ${ac_cv_search___res_search+:} false; then :
14395 if ${ac_cv_search___res_search+:} false; then :
14398 ac_cv_search___res_search=no
14400 rm conftest.$ac_ext
14401 LIBS=$ac_func_search_save_LIBS
14403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
14404 $as_echo "$ac_cv_search___res_search" >&6; }
14405 ac_res=$ac_cv_search___res_search
14406 if test "$ac_res" != no; then :
14407 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14414 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14415 if ${ac_cv_search_gethostbyname+:} false; then :
14416 $as_echo_n "(cached) " >&6
14418 ac_func_search_save_LIBS=$LIBS
14419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14420 /* end confdefs.h. */
14422 /* Override any GCC internal prototype to avoid an error.
14423 Use char because int might match the return type of a GCC
14424 builtin and then its argument prototype would still apply. */
14428 char gethostbyname ();
14432 return gethostbyname ();
14437 for ac_lib in '' nsl; do
14438 if test -z "$ac_lib"; then
14439 ac_res="none required"
14442 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14444 if ac_fn_c_try_link "$LINENO"; then :
14445 ac_cv_search_gethostbyname=$ac_res
14447 rm -f core conftest.err conftest.$ac_objext \
14449 if ${ac_cv_search_gethostbyname+:} false; then :
14453 if ${ac_cv_search_gethostbyname+:} false; then :
14456 ac_cv_search_gethostbyname=no
14458 rm conftest.$ac_ext
14459 LIBS=$ac_func_search_save_LIBS
14461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14462 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14463 ac_res=$ac_cv_search_gethostbyname
14464 if test "$ac_res" != no; then :
14465 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14470 $as_echo_n "checking for library containing socket... " >&6; }
14471 if ${ac_cv_search_socket+:} false; then :
14472 $as_echo_n "(cached) " >&6
14474 ac_func_search_save_LIBS=$LIBS
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14478 /* Override any GCC internal prototype to avoid an error.
14479 Use char because int might match the return type of a GCC
14480 builtin and then its argument prototype would still apply. */
14493 for ac_lib in '' socket; do
14494 if test -z "$ac_lib"; then
14495 ac_res="none required"
14498 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_search_socket=$ac_res
14503 rm -f core conftest.err conftest.$ac_objext \
14505 if ${ac_cv_search_socket+:} false; then :
14509 if ${ac_cv_search_socket+:} false; then :
14512 ac_cv_search_socket=no
14514 rm conftest.$ac_ext
14515 LIBS=$ac_func_search_save_LIBS
14517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14518 $as_echo "$ac_cv_search_socket" >&6; }
14519 ac_res=$ac_cv_search_socket
14520 if test "$ac_res" != no; then :
14521 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
14525 $as_echo_n "checking for socket in -lnsl... " >&6; }
14526 if ${ac_cv_lib_nsl_socket+:} false; then :
14527 $as_echo_n "(cached) " >&6
14529 ac_check_lib_save_LIBS=$LIBS
14530 LIBS="-lnsl -lsocket $LIBS"
14531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14532 /* end confdefs.h. */
14534 /* Override any GCC internal prototype to avoid an error.
14535 Use char because int might match the return type of a GCC
14536 builtin and then its argument prototype would still apply. */
14549 if ac_fn_c_try_link "$LINENO"; then :
14550 ac_cv_lib_nsl_socket=yes
14552 ac_cv_lib_nsl_socket=no
14554 rm -f core conftest.err conftest.$ac_objext \
14555 conftest$ac_exeext conftest.$ac_ext
14556 LIBS=$ac_check_lib_save_LIBS
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
14559 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
14560 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
14561 LIBS="-lnsl -lsocket $LIBS"
14566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14567 $as_echo_n "checking for library containing crypt... " >&6; }
14568 if ${ac_cv_search_crypt+:} false; then :
14569 $as_echo_n "(cached) " >&6
14571 ac_func_search_save_LIBS=$LIBS
14572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14573 /* end confdefs.h. */
14575 /* Override any GCC internal prototype to avoid an error.
14576 Use char because int might match the return type of a GCC
14577 builtin and then its argument prototype would still apply. */
14590 for ac_lib in '' crypt; do
14591 if test -z "$ac_lib"; then
14592 ac_res="none required"
14595 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14597 if ac_fn_c_try_link "$LINENO"; then :
14598 ac_cv_search_crypt=$ac_res
14600 rm -f core conftest.err conftest.$ac_objext \
14602 if ${ac_cv_search_crypt+:} false; then :
14606 if ${ac_cv_search_crypt+:} false; then :
14609 ac_cv_search_crypt=no
14611 rm conftest.$ac_ext
14612 LIBS=$ac_func_search_save_LIBS
14614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
14615 $as_echo "$ac_cv_search_crypt" >&6; }
14616 ac_res=$ac_cv_search_crypt
14617 if test "$ac_res" != no; then :
14618 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
14623 $as_echo_n "checking for library containing roken_concat... " >&6; }
14624 if ${ac_cv_search_roken_concat+:} false; then :
14625 $as_echo_n "(cached) " >&6
14627 ac_func_search_save_LIBS=$LIBS
14628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14629 /* end confdefs.h. */
14631 /* Override any GCC internal prototype to avoid an error.
14632 Use char because int might match the return type of a GCC
14633 builtin and then its argument prototype would still apply. */
14637 char roken_concat ();
14641 return roken_concat ();
14646 for ac_lib in '' roken; do
14647 if test -z "$ac_lib"; then
14648 ac_res="none required"
14651 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14653 if ac_fn_c_try_link "$LINENO"; then :
14654 ac_cv_search_roken_concat=$ac_res
14656 rm -f core conftest.err conftest.$ac_objext \
14658 if ${ac_cv_search_roken_concat+:} false; then :
14662 if ${ac_cv_search_roken_concat+:} false; then :
14665 ac_cv_search_roken_concat=no
14667 rm conftest.$ac_ext
14668 LIBS=$ac_func_search_save_LIBS
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
14671 $as_echo "$ac_cv_search_roken_concat" >&6; }
14672 ac_res=$ac_cv_search_roken_concat
14673 if test "$ac_res" != no; then :
14674 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14678 rra_krb5_extra="$LIBS"
14679 LIBS="$rra_krb5_save_LIBS"
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
14681 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
14682 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
14683 $as_echo_n "(cached) " >&6
14685 ac_check_lib_save_LIBS=$LIBS
14686 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
14687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14688 /* end confdefs.h. */
14690 /* Override any GCC internal prototype to avoid an error.
14691 Use char because int might match the return type of a GCC
14692 builtin and then its argument prototype would still apply. */
14696 char krb5_init_context ();
14700 return krb5_init_context ();
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_lib_krb5_krb5_init_context=yes
14708 ac_cv_lib_krb5_krb5_init_context=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 LIBS=$ac_check_lib_save_LIBS
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
14715 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
14716 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
14717 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
14719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
14720 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
14721 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
14722 $as_echo_n "(cached) " >&6
14724 ac_check_lib_save_LIBS=$LIBS
14725 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
14726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14727 /* end confdefs.h. */
14729 /* Override any GCC internal prototype to avoid an error.
14730 Use char because int might match the return type of a GCC
14731 builtin and then its argument prototype would still apply. */
14735 char krb5int_getspecific ();
14739 return krb5int_getspecific ();
14744 if ac_fn_c_try_link "$LINENO"; then :
14745 ac_cv_lib_krb5support_krb5int_getspecific=yes
14747 ac_cv_lib_krb5support_krb5int_getspecific=no
14749 rm -f core conftest.err conftest.$ac_objext \
14750 conftest$ac_exeext conftest.$ac_ext
14751 LIBS=$ac_check_lib_save_LIBS
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
14754 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
14755 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
14756 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
14758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
14759 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
14760 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
14761 $as_echo_n "(cached) " >&6
14763 ac_check_lib_save_LIBS=$LIBS
14764 LIBS="-lpthreads $LIBS"
14765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14766 /* end confdefs.h. */
14768 /* Override any GCC internal prototype to avoid an error.
14769 Use char because int might match the return type of a GCC
14770 builtin and then its argument prototype would still apply. */
14774 char pthread_setspecific ();
14778 return pthread_setspecific ();
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_lib_pthreads_pthread_setspecific=yes
14786 ac_cv_lib_pthreads_pthread_setspecific=no
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14790 LIBS=$ac_check_lib_save_LIBS
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
14793 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
14794 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
14795 rra_krb5_pthread="-lpthreads"
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
14798 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
14799 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
14800 $as_echo_n "(cached) " >&6
14802 ac_check_lib_save_LIBS=$LIBS
14803 LIBS="-lpthread $LIBS"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 /* Override any GCC internal prototype to avoid an error.
14808 Use char because int might match the return type of a GCC
14809 builtin and then its argument prototype would still apply. */
14813 char pthread_setspecific ();
14817 return pthread_setspecific ();
14822 if ac_fn_c_try_link "$LINENO"; then :
14823 ac_cv_lib_pthread_pthread_setspecific=yes
14825 ac_cv_lib_pthread_pthread_setspecific=no
14827 rm -f core conftest.err conftest.$ac_objext \
14828 conftest$ac_exeext conftest.$ac_ext
14829 LIBS=$ac_check_lib_save_LIBS
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
14832 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
14833 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
14834 rra_krb5_pthread="-lpthread"
14839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
14840 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
14841 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
14842 $as_echo_n "(cached) " >&6
14844 ac_check_lib_save_LIBS=$LIBS
14845 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
14846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14847 /* end confdefs.h. */
14849 /* Override any GCC internal prototype to avoid an error.
14850 Use char because int might match the return type of a GCC
14851 builtin and then its argument prototype would still apply. */
14855 char krb5int_setspecific ();
14859 return krb5int_setspecific ();
14864 if ac_fn_c_try_link "$LINENO"; then :
14865 ac_cv_lib_krb5support_krb5int_setspecific=yes
14867 ac_cv_lib_krb5support_krb5int_setspecific=no
14869 rm -f core conftest.err conftest.$ac_objext \
14870 conftest$ac_exeext conftest.$ac_ext
14871 LIBS=$ac_check_lib_save_LIBS
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
14874 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
14875 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
14876 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
14881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
14882 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
14883 if ${ac_cv_lib_com_err_error_message+:} false; then :
14884 $as_echo_n "(cached) " >&6
14886 ac_check_lib_save_LIBS=$LIBS
14887 LIBS="-lcom_err $rra_krb5_extra $LIBS"
14888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14889 /* end confdefs.h. */
14891 /* Override any GCC internal prototype to avoid an error.
14892 Use char because int might match the return type of a GCC
14893 builtin and then its argument prototype would still apply. */
14897 char error_message ();
14901 return error_message ();
14906 if ac_fn_c_try_link "$LINENO"; then :
14907 ac_cv_lib_com_err_error_message=yes
14909 ac_cv_lib_com_err_error_message=no
14911 rm -f core conftest.err conftest.$ac_objext \
14912 conftest$ac_exeext conftest.$ac_ext
14913 LIBS=$ac_check_lib_save_LIBS
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
14916 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
14917 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
14918 rra_krb5_extra="-lcom_err $rra_krb5_extra"
14921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
14922 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
14923 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
14924 $as_echo_n "(cached) " >&6
14926 ac_check_lib_save_LIBS=$LIBS
14927 LIBS="-lksvc $rra_krb5_extra $LIBS"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14937 char krb5_svc_get_msg ();
14941 return krb5_svc_get_msg ();
14946 if ac_fn_c_try_link "$LINENO"; then :
14947 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
14949 ac_cv_lib_ksvc_krb5_svc_get_msg=no
14951 rm -f core conftest.err conftest.$ac_objext \
14952 conftest$ac_exeext conftest.$ac_ext
14953 LIBS=$ac_check_lib_save_LIBS
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
14956 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
14957 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
14958 rra_krb5_extra="-lksvc $rra_krb5_extra"
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
14962 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
14963 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
14964 $as_echo_n "(cached) " >&6
14966 ac_check_lib_save_LIBS=$LIBS
14967 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
14968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14969 /* end confdefs.h. */
14971 /* Override any GCC internal prototype to avoid an error.
14972 Use char because int might match the return type of a GCC
14973 builtin and then its argument prototype would still apply. */
14977 char krb5int_hash_md5 ();
14981 return krb5int_hash_md5 ();
14986 if ac_fn_c_try_link "$LINENO"; then :
14987 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
14989 ac_cv_lib_k5crypto_krb5int_hash_md5=no
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14993 LIBS=$ac_check_lib_save_LIBS
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
14996 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
14997 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
14998 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
15002 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
15003 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
15004 $as_echo_n "(cached) " >&6
15006 ac_check_lib_save_LIBS=$LIBS
15007 LIBS="-lk5profile $rra_krb5_extra $LIBS"
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15017 char profile_get_values ();
15021 return profile_get_values ();
15026 if ac_fn_c_try_link "$LINENO"; then :
15027 ac_cv_lib_k5profile_profile_get_values=yes
15029 ac_cv_lib_k5profile_profile_get_values=no
15031 rm -f core conftest.err conftest.$ac_objext \
15032 conftest$ac_exeext conftest.$ac_ext
15033 LIBS=$ac_check_lib_save_LIBS
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
15036 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
15037 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
15038 rra_krb5_extra="-lk5profile $rra_krb5_extra"
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
15042 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
15043 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
15044 $as_echo_n "(cached) " >&6
15046 ac_check_lib_save_LIBS=$LIBS
15047 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15051 /* Override any GCC internal prototype to avoid an error.
15052 Use char because int might match the return type of a GCC
15053 builtin and then its argument prototype would still apply. */
15057 char krb5_cc_default ();
15061 return krb5_cc_default ();
15066 if ac_fn_c_try_link "$LINENO"; then :
15067 ac_cv_lib_krb5_krb5_cc_default=yes
15069 ac_cv_lib_krb5_krb5_cc_default=no
15071 rm -f core conftest.err conftest.$ac_objext \
15072 conftest$ac_exeext conftest.$ac_ext
15073 LIBS=$ac_check_lib_save_LIBS
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
15076 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
15077 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
15078 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
15080 if test x"true" = xtrue; then :
15081 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
15087 LIBS="$KRB5_LIBS $LIBS"
15088 if test x"$rra_krb5_incroot" = x; then :
15089 for ac_header in krb5.h krb5/krb5.h
15091 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15092 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15093 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15094 cat >>confdefs.h <<_ACEOF
15095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
15104 $as_echo_n "checking for krb5.h... " >&6; }
15105 if test -f "${rra_krb5_incroot}/krb5.h"; then :
15107 cat >>confdefs.h <<_ACEOF
15108 #define HAVE_KRB5_H 1
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15112 $as_echo "yes" >&6; }
15114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15115 $as_echo "no" >&6; }
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
15118 $as_echo_n "checking for krb5/krb5.h... " >&6; }
15119 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
15121 cat >>confdefs.h <<_ACEOF
15122 #define HAVE_KRB5_KRB5_H 1
15125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15126 $as_echo "yes" >&6; }
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15129 $as_echo "no" >&6; }
15132 for ac_func in krb5_get_error_message
15134 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
15135 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
15136 cat >>confdefs.h <<_ACEOF
15137 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
15139 for ac_func in krb5_free_error_message
15141 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
15142 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
15143 cat >>confdefs.h <<_ACEOF
15144 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
15151 for ac_func in krb5_get_error_string
15153 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
15154 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
15155 cat >>confdefs.h <<_ACEOF
15156 #define HAVE_KRB5_GET_ERROR_STRING 1
15160 for ac_func in krb5_get_err_txt
15162 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
15163 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
15164 cat >>confdefs.h <<_ACEOF
15165 #define HAVE_KRB5_GET_ERR_TXT 1
15169 for ac_func in krb5_svc_get_msg
15171 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
15172 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
15173 cat >>confdefs.h <<_ACEOF
15174 #define HAVE_KRB5_SVC_GET_MSG 1
15176 for ac_header in ibm_svc/krb5_svc.h
15178 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
15182 # include <krb5/krb5.h>
15186 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
15187 cat >>confdefs.h <<_ACEOF
15188 #define HAVE_IBM_SVC_KRB5_SVC_H 1
15196 for ac_header in et/com_err.h
15198 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
15199 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
15200 cat >>confdefs.h <<_ACEOF
15201 #define HAVE_ET_COM_ERR_H 1
15220 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15221 LDFLAGS="$rra_krb5_save_LDFLAGS"
15222 LIBS="$rra_krb5_save_LIBS"
15225 if test x"$rra_krb5_libdir" != x; then :
15226 KRB5_LDFLAGS="-L$rra_krb5_libdir"
15228 if test x"$rra_krb5_root" != x; then :
15230 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
15231 if test x"" = x; then :
15232 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
15234 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
15237 if test x"" = x; then :
15238 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
15240 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
15243 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
15246 if test x"$rra_krb5_includedir" != x; then :
15247 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
15249 if test x"$rra_krb5_root" != x; then :
15250 if test x"$rra_krb5_root" != x/usr; then :
15251 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
15255 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15256 rra_krb5_save_LDFLAGS="$LDFLAGS"
15257 rra_krb5_save_LIBS="$LIBS"
15258 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15259 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15260 LIBS="$KRB5_LIBS $LIBS"
15263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
15264 $as_echo_n "checking for library containing res_search... " >&6; }
15265 if ${ac_cv_search_res_search+:} false; then :
15266 $as_echo_n "(cached) " >&6
15268 ac_func_search_save_LIBS=$LIBS
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15272 /* Override any GCC internal prototype to avoid an error.
15273 Use char because int might match the return type of a GCC
15274 builtin and then its argument prototype would still apply. */
15278 char res_search ();
15282 return res_search ();
15287 for ac_lib in '' resolv; do
15288 if test -z "$ac_lib"; then
15289 ac_res="none required"
15292 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15294 if ac_fn_c_try_link "$LINENO"; then :
15295 ac_cv_search_res_search=$ac_res
15297 rm -f core conftest.err conftest.$ac_objext \
15299 if ${ac_cv_search_res_search+:} false; then :
15303 if ${ac_cv_search_res_search+:} false; then :
15306 ac_cv_search_res_search=no
15308 rm conftest.$ac_ext
15309 LIBS=$ac_func_search_save_LIBS
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
15312 $as_echo "$ac_cv_search_res_search" >&6; }
15313 ac_res=$ac_cv_search_res_search
15314 if test "$ac_res" != no; then :
15315 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
15319 $as_echo_n "checking for library containing __res_search... " >&6; }
15320 if ${ac_cv_search___res_search+:} false; then :
15321 $as_echo_n "(cached) " >&6
15323 ac_func_search_save_LIBS=$LIBS
15324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15325 /* end confdefs.h. */
15327 /* Override any GCC internal prototype to avoid an error.
15328 Use char because int might match the return type of a GCC
15329 builtin and then its argument prototype would still apply. */
15333 char __res_search ();
15337 return __res_search ();
15342 for ac_lib in '' resolv; do
15343 if test -z "$ac_lib"; then
15344 ac_res="none required"
15347 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15349 if ac_fn_c_try_link "$LINENO"; then :
15350 ac_cv_search___res_search=$ac_res
15352 rm -f core conftest.err conftest.$ac_objext \
15354 if ${ac_cv_search___res_search+:} false; then :
15358 if ${ac_cv_search___res_search+:} false; then :
15361 ac_cv_search___res_search=no
15363 rm conftest.$ac_ext
15364 LIBS=$ac_func_search_save_LIBS
15366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
15367 $as_echo "$ac_cv_search___res_search" >&6; }
15368 ac_res=$ac_cv_search___res_search
15369 if test "$ac_res" != no; then :
15370 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15377 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15378 if ${ac_cv_search_gethostbyname+:} false; then :
15379 $as_echo_n "(cached) " >&6
15381 ac_func_search_save_LIBS=$LIBS
15382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15383 /* end confdefs.h. */
15385 /* Override any GCC internal prototype to avoid an error.
15386 Use char because int might match the return type of a GCC
15387 builtin and then its argument prototype would still apply. */
15391 char gethostbyname ();
15395 return gethostbyname ();
15400 for ac_lib in '' nsl; do
15401 if test -z "$ac_lib"; then
15402 ac_res="none required"
15405 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15407 if ac_fn_c_try_link "$LINENO"; then :
15408 ac_cv_search_gethostbyname=$ac_res
15410 rm -f core conftest.err conftest.$ac_objext \
15412 if ${ac_cv_search_gethostbyname+:} false; then :
15416 if ${ac_cv_search_gethostbyname+:} false; then :
15419 ac_cv_search_gethostbyname=no
15421 rm conftest.$ac_ext
15422 LIBS=$ac_func_search_save_LIBS
15424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15425 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15426 ac_res=$ac_cv_search_gethostbyname
15427 if test "$ac_res" != no; then :
15428 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
15433 $as_echo_n "checking for library containing socket... " >&6; }
15434 if ${ac_cv_search_socket+:} false; then :
15435 $as_echo_n "(cached) " >&6
15437 ac_func_search_save_LIBS=$LIBS
15438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15439 /* end confdefs.h. */
15441 /* Override any GCC internal prototype to avoid an error.
15442 Use char because int might match the return type of a GCC
15443 builtin and then its argument prototype would still apply. */
15456 for ac_lib in '' socket; do
15457 if test -z "$ac_lib"; then
15458 ac_res="none required"
15461 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15463 if ac_fn_c_try_link "$LINENO"; then :
15464 ac_cv_search_socket=$ac_res
15466 rm -f core conftest.err conftest.$ac_objext \
15468 if ${ac_cv_search_socket+:} false; then :
15472 if ${ac_cv_search_socket+:} false; then :
15475 ac_cv_search_socket=no
15477 rm conftest.$ac_ext
15478 LIBS=$ac_func_search_save_LIBS
15480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
15481 $as_echo "$ac_cv_search_socket" >&6; }
15482 ac_res=$ac_cv_search_socket
15483 if test "$ac_res" != no; then :
15484 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
15488 $as_echo_n "checking for socket in -lnsl... " >&6; }
15489 if ${ac_cv_lib_nsl_socket+:} false; then :
15490 $as_echo_n "(cached) " >&6
15492 ac_check_lib_save_LIBS=$LIBS
15493 LIBS="-lnsl -lsocket $LIBS"
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15497 /* Override any GCC internal prototype to avoid an error.
15498 Use char because int might match the return type of a GCC
15499 builtin and then its argument prototype would still apply. */
15512 if ac_fn_c_try_link "$LINENO"; then :
15513 ac_cv_lib_nsl_socket=yes
15515 ac_cv_lib_nsl_socket=no
15517 rm -f core conftest.err conftest.$ac_objext \
15518 conftest$ac_exeext conftest.$ac_ext
15519 LIBS=$ac_check_lib_save_LIBS
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
15522 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
15523 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
15524 LIBS="-lnsl -lsocket $LIBS"
15529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15530 $as_echo_n "checking for library containing crypt... " >&6; }
15531 if ${ac_cv_search_crypt+:} false; then :
15532 $as_echo_n "(cached) " >&6
15534 ac_func_search_save_LIBS=$LIBS
15535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15536 /* end confdefs.h. */
15538 /* Override any GCC internal prototype to avoid an error.
15539 Use char because int might match the return type of a GCC
15540 builtin and then its argument prototype would still apply. */
15553 for ac_lib in '' crypt; do
15554 if test -z "$ac_lib"; then
15555 ac_res="none required"
15558 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15560 if ac_fn_c_try_link "$LINENO"; then :
15561 ac_cv_search_crypt=$ac_res
15563 rm -f core conftest.err conftest.$ac_objext \
15565 if ${ac_cv_search_crypt+:} false; then :
15569 if ${ac_cv_search_crypt+:} false; then :
15572 ac_cv_search_crypt=no
15574 rm conftest.$ac_ext
15575 LIBS=$ac_func_search_save_LIBS
15577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15578 $as_echo "$ac_cv_search_crypt" >&6; }
15579 ac_res=$ac_cv_search_crypt
15580 if test "$ac_res" != no; then :
15581 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
15586 $as_echo_n "checking for library containing roken_concat... " >&6; }
15587 if ${ac_cv_search_roken_concat+:} false; then :
15588 $as_echo_n "(cached) " >&6
15590 ac_func_search_save_LIBS=$LIBS
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15600 char roken_concat ();
15604 return roken_concat ();
15609 for ac_lib in '' roken; do
15610 if test -z "$ac_lib"; then
15611 ac_res="none required"
15614 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15616 if ac_fn_c_try_link "$LINENO"; then :
15617 ac_cv_search_roken_concat=$ac_res
15619 rm -f core conftest.err conftest.$ac_objext \
15621 if ${ac_cv_search_roken_concat+:} false; then :
15625 if ${ac_cv_search_roken_concat+:} false; then :
15628 ac_cv_search_roken_concat=no
15630 rm conftest.$ac_ext
15631 LIBS=$ac_func_search_save_LIBS
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
15634 $as_echo "$ac_cv_search_roken_concat" >&6; }
15635 ac_res=$ac_cv_search_roken_concat
15636 if test "$ac_res" != no; then :
15637 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15641 rra_krb5_extra="$LIBS"
15642 LIBS="$rra_krb5_save_LIBS"
15643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
15644 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
15645 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
15646 $as_echo_n "(cached) " >&6
15648 ac_check_lib_save_LIBS=$LIBS
15649 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15659 char krb5_init_context ();
15663 return krb5_init_context ();
15668 if ac_fn_c_try_link "$LINENO"; then :
15669 ac_cv_lib_krb5_krb5_init_context=yes
15671 ac_cv_lib_krb5_krb5_init_context=no
15673 rm -f core conftest.err conftest.$ac_objext \
15674 conftest$ac_exeext conftest.$ac_ext
15675 LIBS=$ac_check_lib_save_LIBS
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
15678 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
15679 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
15680 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
15682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
15683 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
15684 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
15685 $as_echo_n "(cached) " >&6
15687 ac_check_lib_save_LIBS=$LIBS
15688 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
15689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15690 /* end confdefs.h. */
15692 /* Override any GCC internal prototype to avoid an error.
15693 Use char because int might match the return type of a GCC
15694 builtin and then its argument prototype would still apply. */
15698 char krb5int_getspecific ();
15702 return krb5int_getspecific ();
15707 if ac_fn_c_try_link "$LINENO"; then :
15708 ac_cv_lib_krb5support_krb5int_getspecific=yes
15710 ac_cv_lib_krb5support_krb5int_getspecific=no
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_lib_save_LIBS
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
15717 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
15718 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
15719 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
15722 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
15723 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
15724 $as_echo_n "(cached) " >&6
15726 ac_check_lib_save_LIBS=$LIBS
15727 LIBS="-lpthreads $LIBS"
15728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15729 /* end confdefs.h. */
15731 /* Override any GCC internal prototype to avoid an error.
15732 Use char because int might match the return type of a GCC
15733 builtin and then its argument prototype would still apply. */
15737 char pthread_setspecific ();
15741 return pthread_setspecific ();
15746 if ac_fn_c_try_link "$LINENO"; then :
15747 ac_cv_lib_pthreads_pthread_setspecific=yes
15749 ac_cv_lib_pthreads_pthread_setspecific=no
15751 rm -f core conftest.err conftest.$ac_objext \
15752 conftest$ac_exeext conftest.$ac_ext
15753 LIBS=$ac_check_lib_save_LIBS
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
15756 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
15757 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
15758 rra_krb5_pthread="-lpthreads"
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
15761 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
15762 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
15763 $as_echo_n "(cached) " >&6
15765 ac_check_lib_save_LIBS=$LIBS
15766 LIBS="-lpthread $LIBS"
15767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15768 /* end confdefs.h. */
15770 /* Override any GCC internal prototype to avoid an error.
15771 Use char because int might match the return type of a GCC
15772 builtin and then its argument prototype would still apply. */
15776 char pthread_setspecific ();
15780 return pthread_setspecific ();
15785 if ac_fn_c_try_link "$LINENO"; then :
15786 ac_cv_lib_pthread_pthread_setspecific=yes
15788 ac_cv_lib_pthread_pthread_setspecific=no
15790 rm -f core conftest.err conftest.$ac_objext \
15791 conftest$ac_exeext conftest.$ac_ext
15792 LIBS=$ac_check_lib_save_LIBS
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
15795 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
15796 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
15797 rra_krb5_pthread="-lpthread"
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
15803 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
15804 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
15805 $as_echo_n "(cached) " >&6
15807 ac_check_lib_save_LIBS=$LIBS
15808 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15812 /* Override any GCC internal prototype to avoid an error.
15813 Use char because int might match the return type of a GCC
15814 builtin and then its argument prototype would still apply. */
15818 char krb5int_setspecific ();
15822 return krb5int_setspecific ();
15827 if ac_fn_c_try_link "$LINENO"; then :
15828 ac_cv_lib_krb5support_krb5int_setspecific=yes
15830 ac_cv_lib_krb5support_krb5int_setspecific=no
15832 rm -f core conftest.err conftest.$ac_objext \
15833 conftest$ac_exeext conftest.$ac_ext
15834 LIBS=$ac_check_lib_save_LIBS
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
15837 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
15838 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
15839 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
15844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
15845 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
15846 if ${ac_cv_lib_com_err_error_message+:} false; then :
15847 $as_echo_n "(cached) " >&6
15849 ac_check_lib_save_LIBS=$LIBS
15850 LIBS="-lcom_err $rra_krb5_extra $LIBS"
15851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15852 /* end confdefs.h. */
15854 /* Override any GCC internal prototype to avoid an error.
15855 Use char because int might match the return type of a GCC
15856 builtin and then its argument prototype would still apply. */
15860 char error_message ();
15864 return error_message ();
15869 if ac_fn_c_try_link "$LINENO"; then :
15870 ac_cv_lib_com_err_error_message=yes
15872 ac_cv_lib_com_err_error_message=no
15874 rm -f core conftest.err conftest.$ac_objext \
15875 conftest$ac_exeext conftest.$ac_ext
15876 LIBS=$ac_check_lib_save_LIBS
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
15879 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
15880 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
15881 rra_krb5_extra="-lcom_err $rra_krb5_extra"
15884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
15885 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
15886 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
15887 $as_echo_n "(cached) " >&6
15889 ac_check_lib_save_LIBS=$LIBS
15890 LIBS="-lksvc $rra_krb5_extra $LIBS"
15891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15892 /* end confdefs.h. */
15894 /* Override any GCC internal prototype to avoid an error.
15895 Use char because int might match the return type of a GCC
15896 builtin and then its argument prototype would still apply. */
15900 char krb5_svc_get_msg ();
15904 return krb5_svc_get_msg ();
15909 if ac_fn_c_try_link "$LINENO"; then :
15910 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
15912 ac_cv_lib_ksvc_krb5_svc_get_msg=no
15914 rm -f core conftest.err conftest.$ac_objext \
15915 conftest$ac_exeext conftest.$ac_ext
15916 LIBS=$ac_check_lib_save_LIBS
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
15919 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
15920 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
15921 rra_krb5_extra="-lksvc $rra_krb5_extra"
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
15925 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
15926 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
15927 $as_echo_n "(cached) " >&6
15929 ac_check_lib_save_LIBS=$LIBS
15930 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
15931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15932 /* end confdefs.h. */
15934 /* Override any GCC internal prototype to avoid an error.
15935 Use char because int might match the return type of a GCC
15936 builtin and then its argument prototype would still apply. */
15940 char krb5int_hash_md5 ();
15944 return krb5int_hash_md5 ();
15949 if ac_fn_c_try_link "$LINENO"; then :
15950 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
15952 ac_cv_lib_k5crypto_krb5int_hash_md5=no
15954 rm -f core conftest.err conftest.$ac_objext \
15955 conftest$ac_exeext conftest.$ac_ext
15956 LIBS=$ac_check_lib_save_LIBS
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
15959 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
15960 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
15961 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
15965 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
15966 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
15967 $as_echo_n "(cached) " >&6
15969 ac_check_lib_save_LIBS=$LIBS
15970 LIBS="-lk5profile $rra_krb5_extra $LIBS"
15971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15972 /* end confdefs.h. */
15974 /* Override any GCC internal prototype to avoid an error.
15975 Use char because int might match the return type of a GCC
15976 builtin and then its argument prototype would still apply. */
15980 char profile_get_values ();
15984 return profile_get_values ();
15989 if ac_fn_c_try_link "$LINENO"; then :
15990 ac_cv_lib_k5profile_profile_get_values=yes
15992 ac_cv_lib_k5profile_profile_get_values=no
15994 rm -f core conftest.err conftest.$ac_objext \
15995 conftest$ac_exeext conftest.$ac_ext
15996 LIBS=$ac_check_lib_save_LIBS
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
15999 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
16000 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
16001 rra_krb5_extra="-lk5profile $rra_krb5_extra"
16004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
16005 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
16006 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
16007 $as_echo_n "(cached) " >&6
16009 ac_check_lib_save_LIBS=$LIBS
16010 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
16011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16012 /* end confdefs.h. */
16014 /* Override any GCC internal prototype to avoid an error.
16015 Use char because int might match the return type of a GCC
16016 builtin and then its argument prototype would still apply. */
16020 char krb5_cc_default ();
16024 return krb5_cc_default ();
16029 if ac_fn_c_try_link "$LINENO"; then :
16030 ac_cv_lib_krb5_krb5_cc_default=yes
16032 ac_cv_lib_krb5_krb5_cc_default=no
16034 rm -f core conftest.err conftest.$ac_objext \
16035 conftest$ac_exeext conftest.$ac_ext
16036 LIBS=$ac_check_lib_save_LIBS
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
16039 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
16040 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
16041 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
16043 if test x"true" = xtrue; then :
16044 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
16050 LIBS="$KRB5_LIBS $LIBS"
16051 if test x"$rra_krb5_incroot" = x; then :
16052 for ac_header in krb5.h krb5/krb5.h
16054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16055 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16057 cat >>confdefs.h <<_ACEOF
16058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
16067 $as_echo_n "checking for krb5.h... " >&6; }
16068 if test -f "${rra_krb5_incroot}/krb5.h"; then :
16070 cat >>confdefs.h <<_ACEOF
16071 #define HAVE_KRB5_H 1
16074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16075 $as_echo "yes" >&6; }
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16078 $as_echo "no" >&6; }
16080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
16081 $as_echo_n "checking for krb5/krb5.h... " >&6; }
16082 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
16084 cat >>confdefs.h <<_ACEOF
16085 #define HAVE_KRB5_KRB5_H 1
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16089 $as_echo "yes" >&6; }
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16092 $as_echo "no" >&6; }
16095 for ac_func in krb5_get_error_message
16097 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16098 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
16102 for ac_func in krb5_free_error_message
16104 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16105 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
16106 cat >>confdefs.h <<_ACEOF
16107 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
16114 for ac_func in krb5_get_error_string
16116 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16117 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_KRB5_GET_ERROR_STRING 1
16123 for ac_func in krb5_get_err_txt
16125 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16126 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
16127 cat >>confdefs.h <<_ACEOF
16128 #define HAVE_KRB5_GET_ERR_TXT 1
16132 for ac_func in krb5_svc_get_msg
16134 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
16135 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
16136 cat >>confdefs.h <<_ACEOF
16137 #define HAVE_KRB5_SVC_GET_MSG 1
16139 for ac_header in ibm_svc/krb5_svc.h
16141 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
16145 # include <krb5/krb5.h>
16149 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
16150 cat >>confdefs.h <<_ACEOF
16151 #define HAVE_IBM_SVC_KRB5_SVC_H 1
16159 for ac_header in et/com_err.h
16161 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
16162 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
16163 cat >>confdefs.h <<_ACEOF
16164 #define HAVE_ET_COM_ERR_H 1
16183 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16184 LDFLAGS="$rra_krb5_save_LDFLAGS"
16185 LIBS="$rra_krb5_save_LIBS"
16188 rra_krb5_uses_com_err=false
16189 case $KRB5_LIBS in #(
16191 rra_krb5_uses_com_err=true ;; #(
16195 if test x"$rra_krb5_uses_com_err" = xtrue; then
16196 KRB5_USES_COM_ERR_TRUE=
16197 KRB5_USES_COM_ERR_FALSE='#'
16199 KRB5_USES_COM_ERR_TRUE='#'
16200 KRB5_USES_COM_ERR_FALSE=
16204 $as_echo "#define HAVE_KRB5 1" >>confdefs.h
16206 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
16207 rra_krb5_save_LDFLAGS="$LDFLAGS"
16208 rra_krb5_save_LIBS="$LIBS"
16209 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
16210 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
16211 LIBS="$KRB5_LIBS $LIBS"
16212 for ac_header in kadm5/kadm5-pwcheck.h kadm5/kadm5_err.h
16214 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16215 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
16219 # include <krb5/krb5.h>
16223 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16224 cat >>confdefs.h <<_ACEOF
16225 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16232 for ac_header in krb5/pwqual_plugin.h
16234 ac_fn_c_check_header_compile "$LINENO" "krb5/pwqual_plugin.h" "ac_cv_header_krb5_pwqual_plugin_h" "
16238 # include <krb5/krb5.h>
16242 if test "x$ac_cv_header_krb5_pwqual_plugin_h" = xyes; then :
16243 cat >>confdefs.h <<_ACEOF
16244 #define HAVE_KRB5_PWQUAL_PLUGIN_H 1
16251 ac_fn_c_check_type "$LINENO" "krb5_realm" "ac_cv_type_krb5_realm" "
16255 # include <krb5/krb5.h>
16259 if test "x$ac_cv_type_krb5_realm" = xyes; then :
16261 cat >>confdefs.h <<_ACEOF
16262 #define HAVE_KRB5_REALM 1
16268 for ac_func in krb5_free_default_realm \
16270 krb5_get_init_creds_opt_alloc \
16271 krb5_get_init_creds_opt_set_default_flags \
16272 krb5_principal_get_realm \
16275 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16276 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16277 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16278 cat >>confdefs.h <<_ACEOF
16279 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16285 for ac_func in krb5_get_init_creds_opt_free
16287 ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_free" "ac_cv_func_krb5_get_init_creds_opt_free"
16288 if test "x$ac_cv_func_krb5_get_init_creds_opt_free" = xyes; then :
16289 cat >>confdefs.h <<_ACEOF
16290 #define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE 1
16292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if krb5_get_init_creds_opt_free takes two arguments" >&5
16293 $as_echo_n "checking if krb5_get_init_creds_opt_free takes two arguments... " >&6; }
16294 if ${rra_cv_func_krb5_get_init_creds_opt_free_args+:} false; then :
16295 $as_echo_n "(cached) " >&6
16297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16298 /* end confdefs.h. */
16303 # include <krb5/krb5.h>
16309 krb5_get_init_creds_opt *opts;
16311 krb5_get_init_creds_opt_free(c, opts);
16315 if ac_fn_c_try_compile "$LINENO"; then :
16316 rra_cv_func_krb5_get_init_creds_opt_free_args=yes
16318 rra_cv_func_krb5_get_init_creds_opt_free_args=no
16320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_krb5_get_init_creds_opt_free_args" >&5
16323 $as_echo "$rra_cv_func_krb5_get_init_creds_opt_free_args" >&6; }
16324 if test $rra_cv_func_krb5_get_init_creds_opt_free_args = yes; then :
16326 $as_echo "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_2_ARGS 1" >>confdefs.h
16332 ac_fn_c_check_decl "$LINENO" "krb5_kt_free_entry" "ac_cv_have_decl_krb5_kt_free_entry" "
16336 # include <krb5/krb5.h>
16340 if test "x$ac_cv_have_decl_krb5_kt_free_entry" = xyes; then :
16346 cat >>confdefs.h <<_ACEOF
16347 #define HAVE_DECL_KRB5_KT_FREE_ENTRY $ac_have_decl
16350 case " $LIBOBJS " in
16351 *" krb5-extra.$ac_objext "* ) ;;
16352 *) LIBOBJS="$LIBOBJS krb5-extra.$ac_objext"
16356 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16357 LDFLAGS="$rra_krb5_save_LDFLAGS"
16358 LIBS="$rra_krb5_save_LIBS"
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
16362 $as_echo_n "checking for library containing dlopen... " >&6; }
16363 if ${ac_cv_search_dlopen+:} false; then :
16364 $as_echo_n "(cached) " >&6
16366 ac_func_search_save_LIBS=$LIBS
16367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16368 /* end confdefs.h. */
16370 /* Override any GCC internal prototype to avoid an error.
16371 Use char because int might match the return type of a GCC
16372 builtin and then its argument prototype would still apply. */
16385 for ac_lib in '' dl; do
16386 if test -z "$ac_lib"; then
16387 ac_res="none required"
16390 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16392 if ac_fn_c_try_link "$LINENO"; then :
16393 ac_cv_search_dlopen=$ac_res
16395 rm -f core conftest.err conftest.$ac_objext \
16397 if ${ac_cv_search_dlopen+:} false; then :
16401 if ${ac_cv_search_dlopen+:} false; then :
16404 ac_cv_search_dlopen=no
16406 rm conftest.$ac_ext
16407 LIBS=$ac_func_search_save_LIBS
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
16410 $as_echo "$ac_cv_search_dlopen" >&6; }
16411 ac_res=$ac_cv_search_dlopen
16412 if test "$ac_res" != no; then :
16413 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
16421 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
16422 if ${ac_cv_header_stdbool_h+:} false; then :
16423 $as_echo_n "(cached) " >&6
16425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16426 /* end confdefs.h. */
16428 #include <stdbool.h>
16430 "error: bool is not defined"
16433 "error: false is not defined"
16436 "error: false is not 0"
16439 "error: true is not defined"
16442 "error: true is not 1"
16444 #ifndef __bool_true_false_are_defined
16445 "error: __bool_true_false_are_defined is not defined"
16448 struct s { _Bool s: 1; _Bool t; } s;
16450 char a[true == 1 ? 1 : -1];
16451 char b[false == 0 ? 1 : -1];
16452 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
16453 char d[(bool) 0.5 == true ? 1 : -1];
16454 /* See body of main program for 'e'. */
16455 char f[(_Bool) 0.0 == false ? 1 : -1];
16457 char h[sizeof (_Bool)];
16458 char i[sizeof s.t];
16459 enum { j = false, k = true, l = false * true, m = true * 256 };
16460 /* The following fails for
16461 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
16463 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
16464 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
16465 /* Catch a bug in an HP-UX C compiler. See
16466 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
16467 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
16479 /* Refer to every declared value, to avoid compiler optimizations. */
16480 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
16481 + !m + !n + !o + !p + !q + !pq);
16487 if ac_fn_c_try_compile "$LINENO"; then :
16488 ac_cv_header_stdbool_h=yes
16490 ac_cv_header_stdbool_h=no
16492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
16495 $as_echo "$ac_cv_header_stdbool_h" >&6; }
16496 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
16497 if test "x$ac_cv_type__Bool" = xyes; then :
16499 cat >>confdefs.h <<_ACEOF
16500 #define HAVE__BOOL 1
16507 if test $ac_cv_header_stdbool_h = yes; then
16509 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
16513 for ac_header in sys/bittypes.h syslog.h
16515 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16516 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16517 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16526 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
16527 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_DECL_SNPRINTF $ac_have_decl
16536 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
16537 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define HAVE_DECL_VSNPRINTF $ac_have_decl
16547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variadic macros" >&5
16548 $as_echo_n "checking for C99 variadic macros... " >&6; }
16549 if ${rra_cv_c_c99_vamacros+:} false; then :
16550 $as_echo_n "(cached) " >&6
16552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16553 /* end confdefs.h. */
16556 #define error(...) fprintf(stderr, __VA_ARGS__)
16561 error("foo %d", 0);
16566 if ac_fn_c_try_compile "$LINENO"; then :
16567 rra_cv_c_c99_vamacros=yes
16569 rra_cv_c_c99_vamacros=no
16571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_c99_vamacros" >&5
16574 $as_echo "$rra_cv_c_c99_vamacros" >&6; }
16575 if test x"$rra_cv_c_c99_vamacros" = xyes; then :
16577 $as_echo "#define HAVE_C99_VAMACROS 1" >>confdefs.h
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style variadic macros" >&5
16581 $as_echo_n "checking for GNU-style variadic macros... " >&6; }
16582 if ${rra_cv_c_gnu_vamacros+:} false; then :
16583 $as_echo_n "(cached) " >&6
16585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16586 /* end confdefs.h. */
16589 #define error(args...) fprintf(stderr, args)
16594 error("foo %d", 0);
16599 if ac_fn_c_try_compile "$LINENO"; then :
16600 rra_cv_c_gnu_vamacros=yes
16602 rra_cv_c_gnu_vamacros=no
16604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_gnu_vamacros" >&5
16607 $as_echo "$rra_cv_c_gnu_vamacros" >&6; }
16608 if test x"$rra_cv_c_gnu_vamacros" = xyes; then :
16610 $as_echo "#define HAVE_GNU_VAMACROS 1" >>confdefs.h
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
16615 $as_echo_n "checking for unsigned long long int... " >&6; }
16616 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
16617 $as_echo_n "(cached) " >&6
16619 ac_cv_type_unsigned_long_long_int=yes
16620 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16624 /* For now, do not test the preprocessor; as of 2007 there are too many
16625 implementations with broken preprocessors. Perhaps this can
16626 be revisited in 2012. In the meantime, code should not expect
16627 #if to work with literals wider than 32 bits. */
16628 /* Test literals. */
16629 long long int ll = 9223372036854775807ll;
16630 long long int nll = -9223372036854775807LL;
16631 unsigned long long int ull = 18446744073709551615ULL;
16632 /* Test constant expressions. */
16633 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
16635 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
16641 /* Test availability of runtime routines for shift and division. */
16642 long long int llmax = 9223372036854775807ll;
16643 unsigned long long int ullmax = 18446744073709551615ull;
16644 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
16645 | (llmax / ll) | (llmax % ll)
16646 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
16647 | (ullmax / ull) | (ullmax % ull));
16653 if ac_fn_c_try_link "$LINENO"; then :
16656 ac_cv_type_unsigned_long_long_int=no
16658 rm -f core conftest.err conftest.$ac_objext \
16659 conftest$ac_exeext conftest.$ac_ext
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
16663 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
16664 if test $ac_cv_type_unsigned_long_long_int = yes; then
16666 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
16672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
16673 $as_echo_n "checking for long long int... " >&6; }
16674 if ${ac_cv_type_long_long_int+:} false; then :
16675 $as_echo_n "(cached) " >&6
16677 ac_cv_type_long_long_int=yes
16678 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
16679 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
16680 if test $ac_cv_type_long_long_int = yes; then
16681 if test "$cross_compiling" = yes; then :
16684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16685 /* end confdefs.h. */
16686 #include <limits.h>
16689 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
16690 # define LLONG_MAX (HALF - 1 + HALF)
16695 long long int n = 1;
16699 long long int m = n << i;
16702 if (LLONG_MAX / 2 < m)
16710 if ac_fn_c_try_run "$LINENO"; then :
16713 ac_cv_type_long_long_int=no
16715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16716 conftest.$ac_objext conftest.beam conftest.$ac_ext
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
16723 $as_echo "$ac_cv_type_long_long_int" >&6; }
16724 if test $ac_cv_type_long_long_int = yes; then
16726 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
16730 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
16731 case $ac_cv_c_uint8_t in #(
16735 $as_echo "#define _UINT8_T 1" >>confdefs.h
16738 cat >>confdefs.h <<_ACEOF
16739 #define uint8_t $ac_cv_c_uint8_t
16744 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
16745 case $ac_cv_c_uint16_t in #(
16750 cat >>confdefs.h <<_ACEOF
16751 #define uint16_t $ac_cv_c_uint16_t
16756 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
16757 case $ac_cv_c_uint32_t in #(
16761 $as_echo "#define _UINT32_T 1" >>confdefs.h
16764 cat >>confdefs.h <<_ACEOF
16765 #define uint32_t $ac_cv_c_uint32_t
16770 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
16772 if test "x$ac_cv_type_ssize_t" = xyes; then :
16774 cat >>confdefs.h <<_ACEOF
16775 #define HAVE_SSIZE_T 1
16781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working snprintf" >&5
16782 $as_echo_n "checking for working snprintf... " >&6; }
16783 if ${rra_cv_func_snprintf_works+:} false; then :
16784 $as_echo_n "(cached) " >&6
16786 if test "$cross_compiling" = yes; then :
16787 rra_cv_func_snprintf_works=no
16789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16790 /* end confdefs.h. */
16793 #include <stdarg.h>
16798 test(char *format, ...)
16803 va_start(args, format);
16804 count = vsnprintf(buf, sizeof buf, format, args);
16812 return ((test("%s", "abcd") == 4 && buf[0] == 'a' && buf[1] == '\0'
16813 && snprintf(NULL, 0, "%s", "abcd") == 4) ? 0 : 1);
16817 if ac_fn_c_try_run "$LINENO"; then :
16818 rra_cv_func_snprintf_works=yes
16820 rra_cv_func_snprintf_works=no
16822 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16823 conftest.$ac_objext conftest.beam conftest.$ac_ext
16827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_snprintf_works" >&5
16828 $as_echo "$rra_cv_func_snprintf_works" >&6; }
16829 if test x"$rra_cv_func_snprintf_works" = xyes; then :
16831 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
16834 case " $LIBOBJS " in
16835 *" snprintf.$ac_objext "* ) ;;
16836 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
16841 for ac_func in setrlimit
16843 ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit"
16844 if test "x$ac_cv_func_setrlimit" = xyes; then :
16845 cat >>confdefs.h <<_ACEOF
16846 #define HAVE_SETRLIMIT 1
16852 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
16853 if test "x$ac_cv_func_asprintf" = xyes; then :
16854 $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
16857 case " $LIBOBJS " in
16858 *" asprintf.$ac_objext "* ) ;;
16859 *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
16865 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
16866 if test "x$ac_cv_func_strndup" = xyes; then :
16867 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
16870 case " $LIBOBJS " in
16871 *" strndup.$ac_objext "* ) ;;
16872 *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
16880 ac_config_files="$ac_config_files Makefile"
16882 ac_config_headers="$ac_config_headers config.h"
16884 cat >confcache <<\_ACEOF
16885 # This file is a shell script that caches the results of configure
16886 # tests run on this system so they can be shared between configure
16887 # scripts and configure runs, see configure's option --config-cache.
16888 # It is not useful on other systems. If it contains results you don't
16889 # want to keep, you may remove or edit it.
16891 # config.status only pays attention to the cache file if you give it
16892 # the --recheck option to rerun configure.
16894 # `ac_cv_env_foo' variables (set or unset) will be overridden when
16895 # loading this file, other *unset* `ac_cv_foo' will be assigned the
16896 # following values.
16900 # The following way of writing the cache mishandles newlines in values,
16901 # but we know of no workaround that is simple, portable, and efficient.
16902 # So, we kill variables containing newlines.
16903 # Ultrix sh set writes to stderr and can't be redirected directly,
16904 # and sets the high bit in the cache file unless we assign to the vars.
16906 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
16907 eval ac_val=\$$ac_var
16911 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
16912 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
16915 _ | IFS | as_nl) ;; #(
16916 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
16917 *) { eval $ac_var=; unset $ac_var;} ;;
16923 case $as_nl`(ac_space=' '; set) 2>&1` in #(
16924 *${as_nl}ac_space=\ *)
16925 # `set' does not quote correctly, so add quotes: double-quote
16926 # substitution turns \\\\ into \\, and sed turns \\ into \.
16929 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
16932 # `set' quotes correctly as required by POSIX, so do not add quotes.
16933 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
16942 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
16944 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
16946 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
16947 if test -w "$cache_file"; then
16948 if test "x$cache_file" != "x/dev/null"; then
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
16950 $as_echo "$as_me: updating cache $cache_file" >&6;}
16951 if test ! -f "$cache_file" || test -h "$cache_file"; then
16952 cat confcache >"$cache_file"
16954 case $cache_file in #(
16956 mv -f confcache "$cache_file"$$ &&
16957 mv -f "$cache_file"$$ "$cache_file" ;; #(
16959 mv -f confcache "$cache_file" ;;
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
16965 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
16970 test "x$prefix" = xNONE && prefix=$ac_default_prefix
16971 # Let make expand exec_prefix.
16972 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
16974 DEFS=-DHAVE_CONFIG_H
16979 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
16980 # 1. Remove the extension, and $U if already installed.
16981 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
16982 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
16983 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
16984 # will be set to the directory where LIBOBJS objects are built.
16985 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
16986 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
16988 LIBOBJS=$ac_libobjs
16990 LTLIBOBJS=$ac_ltlibobjs
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
16994 $as_echo_n "checking that generated files are newer than configure... " >&6; }
16995 if test -n "$am_sleep_pid"; then
16996 # Hide warnings about reused PIDs.
16997 wait $am_sleep_pid 2>/dev/null
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17000 $as_echo "done" >&6; }
17001 if test -n "$EXEEXT"; then
17003 am__EXEEXT_FALSE='#'
17005 am__EXEEXT_TRUE='#'
17009 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17010 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17011 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17013 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17014 as_fn_error $? "conditional \"AMDEP\" was never defined.
17015 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17017 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17018 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17019 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17021 if test -z "${EMBEDDED_CRACKLIB_TRUE}" && test -z "${EMBEDDED_CRACKLIB_FALSE}"; then
17022 as_fn_error $? "conditional \"EMBEDDED_CRACKLIB\" was never defined.
17023 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17025 if test -z "${KRB5_USES_COM_ERR_TRUE}" && test -z "${KRB5_USES_COM_ERR_FALSE}"; then
17026 as_fn_error $? "conditional \"KRB5_USES_COM_ERR\" was never defined.
17027 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17030 : "${CONFIG_STATUS=./config.status}"
17032 ac_clean_files_save=$ac_clean_files
17033 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17035 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17037 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17039 # Generated by $as_me.
17040 # Run this file to recreate the current configuration.
17041 # Compiler output produced by configure, useful for debugging
17042 # configure, is in config.log if it exists.
17045 ac_cs_recheck=false
17048 SHELL=\${CONFIG_SHELL-$SHELL}
17051 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17052 ## -------------------- ##
17053 ## M4sh Initialization. ##
17054 ## -------------------- ##
17056 # Be more Bourne compatible
17057 DUALCASE=1; export DUALCASE # for MKS sh
17058 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17061 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17062 # is contrary to our usage. Disable this feature.
17063 alias -g '${1+"$@"}'='"$@"'
17064 setopt NO_GLOB_SUBST
17066 case `(set -o) 2>/dev/null` in #(
17078 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17079 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17080 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17081 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17082 # Prefer a ksh shell builtin over an external printf program on Solaris,
17083 # but without wasting forks for bash or zsh.
17084 if test -z "$BASH_VERSION$ZSH_VERSION" \
17085 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17086 as_echo='print -r --'
17087 as_echo_n='print -rn --'
17088 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17089 as_echo='printf %s\n'
17090 as_echo_n='printf %s'
17092 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17093 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17094 as_echo_n='/usr/ucb/echo -n'
17096 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17097 as_echo_n_body='eval
17101 expr "X$arg" : "X\\(.*\\)$as_nl";
17102 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17104 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17106 export as_echo_n_body
17107 as_echo_n='sh -c $as_echo_n_body as_echo'
17109 export as_echo_body
17110 as_echo='sh -c $as_echo_body as_echo'
17113 # The user is always right.
17114 if test "${PATH_SEPARATOR+set}" != set; then
17116 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17117 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17124 # We need space, tab and new line, in precisely that order. Quoting is
17125 # there to prevent editors from complaining about space-tab.
17126 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17127 # splitting by setting IFS to empty value.)
17130 # Find who we are. Look in the path if we contain no directory separator.
17133 *[\\/]* ) as_myself=$0 ;;
17134 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17135 for as_dir in $PATH
17138 test -z "$as_dir" && as_dir=.
17139 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17145 # We did not find ourselves, most probably we were run as `sh COMMAND'
17146 # in which case we are not to be found in the path.
17147 if test "x$as_myself" = x; then
17150 if test ! -f "$as_myself"; then
17151 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17155 # Unset variables that we do not need and which cause bugs (e.g. in
17156 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17157 # suppresses any "Segmentation fault" message there. '((' could
17158 # trigger a bug in pdksh 5.2.14.
17159 for as_var in BASH_ENV ENV MAIL MAILPATH
17160 do eval test x\${$as_var+set} = xset \
17161 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17174 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17177 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17178 # ----------------------------------------
17179 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17180 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17181 # script with STATUS, using 1 if that was 0.
17184 as_status=$1; test $as_status -eq 0 && as_status=1
17186 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17187 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17189 $as_echo "$as_me: error: $2" >&2
17190 as_fn_exit $as_status
17194 # as_fn_set_status STATUS
17195 # -----------------------
17196 # Set $? to STATUS, without forking.
17197 as_fn_set_status ()
17200 } # as_fn_set_status
17202 # as_fn_exit STATUS
17203 # -----------------
17204 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17208 as_fn_set_status $1
17214 # Portably unset VAR.
17217 { eval $1=; unset $1;}
17219 as_unset=as_fn_unset
17220 # as_fn_append VAR VALUE
17221 # ----------------------
17222 # Append the text in VALUE to the end of the definition contained in VAR. Take
17223 # advantage of any shell optimizations that allow amortized linear growth over
17224 # repeated appends, instead of the typical quadratic growth present in naive
17226 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17227 eval 'as_fn_append ()
17238 # as_fn_arith ARG...
17239 # ------------------
17240 # Perform arithmetic evaluation on the ARGs, and store the result in the
17241 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17242 # must be portable across $(()) and expr.
17243 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17244 eval 'as_fn_arith ()
17251 as_val=`expr "$@" || test $? -eq 1`
17256 if expr a : '\(a\)' >/dev/null 2>&1 &&
17257 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17263 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17264 as_basename=basename
17269 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17275 as_me=`$as_basename -- "$0" ||
17276 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17277 X"$0" : 'X\(//\)$' \| \
17278 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17280 sed '/^.*\/\([^/][^/]*\)\/*$/{
17294 # Avoid depending upon Character Ranges.
17295 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17296 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17297 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17298 as_cr_digits='0123456789'
17299 as_cr_alnum=$as_cr_Letters$as_cr_digits
17301 ECHO_C= ECHO_N= ECHO_T=
17302 case `echo -n x` in #(((((
17304 case `echo 'xy\c'` in
17305 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17307 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17314 rm -f conf$$ conf$$.exe conf$$.file
17315 if test -d conf$$.dir; then
17316 rm -f conf$$.dir/conf$$.file
17319 mkdir conf$$.dir 2>/dev/null
17321 if (echo >conf$$.file) 2>/dev/null; then
17322 if ln -s conf$$.file conf$$ 2>/dev/null; then
17324 # ... but there are two gotchas:
17325 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17326 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17327 # In both cases, we have to default to `cp -pR'.
17328 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17330 elif ln conf$$.file conf$$ 2>/dev/null; then
17338 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
17339 rmdir conf$$.dir 2>/dev/null
17344 # Create "$as_dir" as a directory, including parents if necessary.
17349 -*) as_dir=./$as_dir;;
17351 test -d "$as_dir" || eval $as_mkdir_p || {
17355 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
17356 *) as_qdir=$as_dir;;
17358 as_dirs="'$as_qdir' $as_dirs"
17359 as_dir=`$as_dirname -- "$as_dir" ||
17360 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
17361 X"$as_dir" : 'X\(//\)[^/]' \| \
17362 X"$as_dir" : 'X\(//\)$' \| \
17363 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
17364 $as_echo X"$as_dir" |
17365 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
17369 /^X\(\/\/\)[^/].*/{
17382 test -d "$as_dir" && break
17384 test -z "$as_dirs" || eval "mkdir $as_dirs"
17385 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
17389 if mkdir -p . 2>/dev/null; then
17390 as_mkdir_p='mkdir -p "$as_dir"'
17392 test -d ./-p && rmdir ./-p
17397 # as_fn_executable_p FILE
17398 # -----------------------
17399 # Test if FILE is an executable regular file.
17400 as_fn_executable_p ()
17402 test -f "$1" && test -x "$1"
17403 } # as_fn_executable_p
17404 as_test_x='test -x'
17405 as_executable_p=as_fn_executable_p
17407 # Sed expression to map a string onto a valid CPP name.
17408 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
17410 # Sed expression to map a string onto a valid variable name.
17411 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
17415 ## ----------------------------------- ##
17416 ## Main body of $CONFIG_STATUS script. ##
17417 ## ----------------------------------- ##
17419 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
17421 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17422 # Save the log message, to keep $0 and so on meaningful, and to
17423 # report actual input values of CONFIG_FILES etc. instead of their
17424 # values after options handling.
17426 This file was extended by krb5-strength $as_me 2.2, which was
17427 generated by GNU Autoconf 2.69. Invocation command line was
17429 CONFIG_FILES = $CONFIG_FILES
17430 CONFIG_HEADERS = $CONFIG_HEADERS
17431 CONFIG_LINKS = $CONFIG_LINKS
17432 CONFIG_COMMANDS = $CONFIG_COMMANDS
17435 on `(hostname || uname -n) 2>/dev/null | sed 1q`
17440 case $ac_config_files in *"
17441 "*) set x $ac_config_files; shift; ac_config_files=$*;;
17444 case $ac_config_headers in *"
17445 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
17449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17450 # Files that config.status was made for.
17451 config_files="$ac_config_files"
17452 config_headers="$ac_config_headers"
17453 config_commands="$ac_config_commands"
17457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17459 \`$as_me' instantiates files and other configuration actions
17460 from templates according to the current configuration. Unless the files
17461 and actions are specified as TAGs, all are instantiated by default.
17463 Usage: $0 [OPTION]... [TAG]...
17465 -h, --help print this help, then exit
17466 -V, --version print version number and configuration settings, then exit
17467 --config print configuration, then exit
17468 -q, --quiet, --silent
17469 do not print progress messages
17470 -d, --debug don't remove temporary files
17471 --recheck update $as_me by reconfiguring in the same conditions
17472 --file=FILE[:TEMPLATE]
17473 instantiate the configuration file FILE
17474 --header=FILE[:TEMPLATE]
17475 instantiate the configuration header FILE
17477 Configuration files:
17480 Configuration headers:
17483 Configuration commands:
17486 Report bugs to <eagle@eyrie.org>."
17489 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17490 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
17492 krb5-strength config.status 2.2
17493 configured by $0, generated by GNU Autoconf 2.69,
17494 with options \\"\$ac_cs_config\\"
17496 Copyright (C) 2012 Free Software Foundation, Inc.
17497 This config.status script is free software; the Free Software Foundation
17498 gives unlimited permission to copy, distribute and modify it."
17505 test -n "\$AWK" || AWK=awk
17508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17509 # The default lists apply if the user does not specify any file.
17515 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17516 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
17520 ac_option=`expr "X$1" : 'X\([^=]*\)='`
17532 # Handling of the options.
17533 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
17535 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
17536 $as_echo "$ac_cs_version"; exit ;;
17537 --config | --confi | --conf | --con | --co | --c )
17538 $as_echo "$ac_cs_config"; exit ;;
17539 --debug | --debu | --deb | --de | --d | -d )
17541 --file | --fil | --fi | --f )
17544 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17545 '') as_fn_error $? "missing file argument" ;;
17547 as_fn_append CONFIG_FILES " '$ac_optarg'"
17548 ac_need_defaults=false;;
17549 --header | --heade | --head | --hea )
17552 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
17554 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
17555 ac_need_defaults=false;;
17557 # Conflict between --help and --header
17558 as_fn_error $? "ambiguous option: \`$1'
17559 Try \`$0 --help' for more information.";;
17560 --help | --hel | -h )
17561 $as_echo "$ac_cs_usage"; exit ;;
17562 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
17563 | -silent | --silent | --silen | --sile | --sil | --si | --s)
17566 # This is an error.
17567 -*) as_fn_error $? "unrecognized option: \`$1'
17568 Try \`$0 --help' for more information." ;;
17570 *) as_fn_append ac_config_targets " $1"
17571 ac_need_defaults=false ;;
17577 ac_configure_extra_args=
17579 if $ac_cs_silent; then
17581 ac_configure_extra_args="$ac_configure_extra_args --silent"
17585 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17586 if \$ac_cs_recheck; then
17587 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
17589 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
17590 CONFIG_SHELL='$SHELL'
17591 export CONFIG_SHELL
17596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17600 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
17601 ## Running $as_me. ##
17607 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17611 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
17614 # The HP-UX ksh and POSIX shell print the target directory to stdout
17615 # if CDPATH is set.
17616 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17618 sed_quote_subst='$sed_quote_subst'
17619 double_quote_subst='$double_quote_subst'
17620 delay_variable_subst='$delay_variable_subst'
17621 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
17622 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
17623 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
17624 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
17625 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
17626 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
17627 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
17628 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
17629 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
17630 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
17631 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
17632 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
17633 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
17634 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
17635 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
17636 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
17637 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
17638 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
17639 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
17640 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
17641 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
17642 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
17643 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
17644 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
17645 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
17646 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
17647 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
17648 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
17649 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
17650 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
17651 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
17652 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
17653 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
17654 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
17655 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
17656 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
17657 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
17658 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
17659 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
17660 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
17661 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
17662 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
17663 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
17664 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
17665 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
17666 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17667 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17668 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
17669 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
17670 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
17671 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
17672 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
17673 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
17674 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
17675 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
17676 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
17677 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"`'
17678 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
17679 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
17680 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
17681 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
17682 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
17683 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
17684 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
17685 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
17686 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
17687 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
17688 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
17689 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
17690 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
17691 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
17692 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
17693 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
17694 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
17695 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
17696 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17697 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
17698 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
17699 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
17700 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
17701 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
17702 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
17703 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
17704 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
17705 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17706 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
17707 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
17708 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
17709 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
17710 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
17711 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
17712 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
17713 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
17714 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
17715 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
17716 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
17717 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
17718 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
17719 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
17720 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
17721 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
17722 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
17723 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
17724 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
17725 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
17726 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
17727 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
17728 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
17729 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
17730 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
17731 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
17732 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
17733 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
17734 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
17735 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
17736 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
17737 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
17738 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
17739 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
17740 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
17741 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
17742 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
17743 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
17744 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
17745 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
17746 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
17747 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
17748 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
17749 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
17750 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
17753 LTCFLAGS='$LTCFLAGS'
17754 compiler='$compiler_DEFAULT'
17756 # A function that is used when there is no print builtin or printf.
17757 func_fallback_echo ()
17759 eval 'cat <<_LTECHO_EOF
17764 # Quote evaled strings.
17779 deplibs_check_method \
17784 sharedlib_from_linklib_cmd \
17787 archiver_list_spec \
17793 lt_cv_sys_global_symbol_pipe \
17794 lt_cv_sys_global_symbol_to_cdecl \
17795 lt_cv_sys_global_symbol_to_c_name_address \
17796 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
17797 nm_file_list_spec \
17798 lt_prog_compiler_no_builtin_flag \
17799 lt_prog_compiler_pic \
17800 lt_prog_compiler_wl \
17801 lt_prog_compiler_static \
17802 lt_cv_prog_compiler_c_o \
17811 export_dynamic_flag_spec \
17812 whole_archive_flag_spec \
17813 compiler_needs_object \
17815 allow_undefined_flag \
17816 no_undefined_flag \
17817 hardcode_libdir_flag_spec \
17818 hardcode_libdir_separator \
17822 variables_saved_for_relink \
17824 library_names_spec \
17826 install_override_mode \
17830 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17831 *[\\\\\\\`\\"\\\$]*)
17832 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
17835 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17840 # Double-quote double-evaled strings.
17841 for var in reload_cmds \
17842 old_postinstall_cmds \
17843 old_postuninstall_cmds \
17845 extract_expsyms_cmds \
17846 old_archive_from_new_cmds \
17847 old_archive_from_expsyms_cmds \
17849 archive_expsym_cmds \
17851 module_expsym_cmds \
17852 export_symbols_cmds \
17856 postuninstall_cmds \
17858 sys_lib_search_path_spec \
17859 sys_lib_dlsearch_path_spec; do
17860 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
17861 *[\\\\\\\`\\"\\\$]*)
17862 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
17865 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
17870 ac_aux_dir='$ac_aux_dir'
17871 xsi_shell='$xsi_shell'
17872 lt_shell_append='$lt_shell_append'
17874 # See if we are running on zsh, and set the options which allow our
17875 # commands through without removal of \ escapes INIT.
17876 if test -n "\${ZSH_VERSION+set}" ; then
17877 setopt NO_GLOB_SUBST
17883 TIMESTAMP='$TIMESTAMP'
17892 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
17894 # Handling of arguments.
17895 for ac_config_target in $ac_config_targets
17897 case $ac_config_target in
17898 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
17899 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
17900 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
17901 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
17903 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
17908 # If the user did not use the arguments to specify the items to instantiate,
17909 # then the envvar interface is used. Set only those that are not.
17910 # We use the long form for the default assignment because of an extremely
17911 # bizarre bug on SunOS 4.1.3.
17912 if $ac_need_defaults; then
17913 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
17914 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
17915 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
17918 # Have a temporary directory for convenience. Make it in the build tree
17919 # simply because there is no reason against having it here, and in addition,
17920 # creating and moving files from /tmp can sometimes cause problems.
17921 # Hook for its removal unless debugging.
17922 # Note that there is a small window in which the directory will not be cleaned:
17923 # after its creation but before its name has been assigned to `$tmp'.
17927 trap 'exit_status=$?
17928 : "${ac_tmp:=$tmp}"
17929 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
17931 trap 'as_fn_exit 1' 1 2 13 15
17933 # Create a (secure) tmp directory for tmp files.
17936 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
17940 tmp=./conf$$-$RANDOM
17941 (umask 077 && mkdir "$tmp")
17942 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
17945 # Set up the scripts for CONFIG_FILES section.
17946 # No need to generate them if there are no CONFIG_FILES.
17947 # This happens for instance with `./config.status config.h'.
17948 if test -n "$CONFIG_FILES"; then
17951 ac_cr=`echo X | tr X '\015'`
17952 # On cygwin, bash can eat \r inside `` if the user requested igncr.
17953 # But we know of no other shell where ac_cr would be empty at this
17954 # point, so we can use a bashism as a fallback.
17955 if test "x$ac_cr" = x; then
17956 eval ac_cr=\$\'\\r\'
17958 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
17959 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
17962 ac_cs_awk_cr=$ac_cr
17965 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
17970 echo "cat >conf$$subs.awk <<_ACEOF" &&
17971 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
17973 } >conf$$subs.sh ||
17974 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17975 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
17977 for ac_last_try in false false false false false :; do
17978 . ./conf$$subs.sh ||
17979 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17981 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
17982 if test $ac_delim_n = $ac_delim_num; then
17984 elif $ac_last_try; then
17985 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
17987 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
17990 rm -f conf$$subs.sh
17992 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
17993 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
17997 s/^/S["/; s/!.*/"]=/
18007 s/\(.\{148\}\)..*/\1/
18009 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18014 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18021 s/\(.\{148\}\)..*/\1/
18023 s/["\\]/\\&/g; s/^/"/; s/$/"/
18027 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18032 ' <conf$$subs.awk | sed '
18037 ' >>$CONFIG_STATUS || ac_write_fail=1
18038 rm -f conf$$subs.awk
18039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18041 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18042 for (key in S) S_is_set[key] = 1
18048 nfields = split(line, field, "@")
18050 len = length(field[1])
18051 for (i = 2; i < nfields; i++) {
18053 keylen = length(key)
18054 if (S_is_set[key]) {
18056 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18057 len += length(value) + length(field[++i])
18068 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18069 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18070 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18073 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18074 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18077 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18078 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18079 # trailing colons and then remove the whole line if VPATH becomes empty
18080 # (actually we leave an empty line to preserve line numbers).
18081 if test "x$srcdir" = x.; then
18082 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18100 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18101 fi # test -n "$CONFIG_FILES"
18103 # Set up the scripts for CONFIG_HEADERS section.
18104 # No need to generate them if there are no CONFIG_HEADERS.
18105 # This happens for instance with `./config.status Makefile'.
18106 if test -n "$CONFIG_HEADERS"; then
18107 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18111 # Transform confdefs.h into an awk script `defines.awk', embedded as
18112 # here-document in config.status, that substitutes the proper values into
18113 # config.h.in to produce config.h.
18115 # Create a delimiter string that does not exist in confdefs.h, to ease
18116 # handling of long lines.
18118 for ac_last_try in false false :; do
18119 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18120 if test -z "$ac_tt"; then
18122 elif $ac_last_try; then
18123 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18125 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18129 # For the awk script, D is an array of macro values keyed by name,
18130 # likewise P contains macro parameters if any. Preserve backslash
18131 # newline sequences.
18133 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18135 s/.\{148\}/&'"$ac_delim"'/g
18138 s/^[ ]*#[ ]*define[ ][ ]*/ /
18145 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18147 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18151 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18152 D["\1"]=" \3\\\\\\n"\\/p
18154 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18159 s/.\{148\}/&'"$ac_delim"'/g
18164 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18167 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18169 ' <confdefs.h | sed '
18170 s/'"$ac_delim"'/"\\\
18171 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18173 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18174 for (key in D) D_is_set[key] = 1
18177 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18179 split(line, arg, " ")
18180 if (arg[1] == "#") {
18184 defundef = substr(arg[1], 2)
18187 split(mac1, mac2, "(") #)
18189 prefix = substr(line, 1, index(line, defundef) - 1)
18190 if (D_is_set[macro]) {
18191 # Preserve the white space surrounding the "#".
18192 print prefix "define", macro P[macro] D[macro]
18195 # Replace #undef with comments. This is necessary, for example,
18196 # in the case of _POSIX_SOURCE, which is predefined and required
18197 # on some systems where configure will not decide to define it.
18198 if (defundef == "undef") {
18199 print "/*", prefix defundef, macro, "*/"
18207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18208 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18209 fi # test -n "$CONFIG_HEADERS"
18212 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18217 :[FHLC]) ac_mode=$ac_tag; continue;;
18219 case $ac_mode$ac_tag in
18221 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18222 :[FH]-) ac_tag=-:-;;
18223 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18240 -) ac_f="$ac_tmp/stdin";;
18241 *) # Look for the file first in the build tree, then in the source tree
18242 # (if the path is not absolute). The absolute path cannot be DOS-style,
18243 # because $ac_f cannot contain `:'.
18247 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18249 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18251 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18252 as_fn_append ac_file_inputs " '$ac_f'"
18255 # Let's still pretend it is `configure' which instantiates (i.e., don't
18256 # use $as_me), people would be surprised to read:
18257 # /* config.h. Generated by config.status. */
18258 configure_input='Generated from '`
18259 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18261 if test x"$ac_file" != x-; then
18262 configure_input="$ac_file. $configure_input"
18263 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18264 $as_echo "$as_me: creating $ac_file" >&6;}
18266 # Neutralize special characters interpreted by sed in replacement strings.
18267 case $configure_input in #(
18268 *\&* | *\|* | *\\* )
18269 ac_sed_conf_input=`$as_echo "$configure_input" |
18270 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18271 *) ac_sed_conf_input=$configure_input;;
18275 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18276 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18281 ac_dir=`$as_dirname -- "$ac_file" ||
18282 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18283 X"$ac_file" : 'X\(//\)[^/]' \| \
18284 X"$ac_file" : 'X\(//\)$' \| \
18285 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18286 $as_echo X"$ac_file" |
18287 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18291 /^X\(\/\/\)[^/].*/{
18304 as_dir="$ac_dir"; as_fn_mkdir_p
18308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18310 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18311 # A ".." for each directory in $ac_dir_suffix.
18312 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18313 case $ac_top_builddir_sub in
18314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18318 ac_abs_top_builddir=$ac_pwd
18319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18320 # for backward compatibility:
18321 ac_top_builddir=$ac_top_build_prefix
18324 .) # We are building in place.
18326 ac_top_srcdir=$ac_top_builddir_sub
18327 ac_abs_top_srcdir=$ac_pwd ;;
18328 [\\/]* | ?:[\\/]* ) # Absolute name.
18329 ac_srcdir=$srcdir$ac_dir_suffix;
18330 ac_top_srcdir=$srcdir
18331 ac_abs_top_srcdir=$srcdir ;;
18332 *) # Relative name.
18333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18334 ac_top_srcdir=$ac_top_build_prefix$srcdir
18335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
18337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
18347 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
18348 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
18350 ac_MKDIR_P=$MKDIR_P
18352 [\\/$]* | ?:[\\/]* ) ;;
18353 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
18357 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18358 # If the template does not know about datarootdir, expand it.
18359 # FIXME: This hack should be removed a few years after 2.60.
18360 ac_datarootdir_hack=; ac_datarootdir_seen=
18371 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
18372 *datarootdir*) ac_datarootdir_seen=yes;;
18373 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
18374 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
18375 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
18377 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18378 ac_datarootdir_hack='
18379 s&@datadir@&$datadir&g
18380 s&@docdir@&$docdir&g
18381 s&@infodir@&$infodir&g
18382 s&@localedir@&$localedir&g
18383 s&@mandir@&$mandir&g
18384 s&\\\${datarootdir}&$datarootdir&g' ;;
18388 # Neutralize VPATH when `$srcdir' = `.'.
18389 # Shell code in configure.ac might set extrasub.
18390 # FIXME: do we really want to maintain this feature?
18391 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18392 ac_sed_extra="$ac_vpsub
18395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18397 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
18398 s|@configure_input@|$ac_sed_conf_input|;t t
18399 s&@top_builddir@&$ac_top_builddir_sub&;t t
18400 s&@top_build_prefix@&$ac_top_build_prefix&;t t
18401 s&@srcdir@&$ac_srcdir&;t t
18402 s&@abs_srcdir@&$ac_abs_srcdir&;t t
18403 s&@top_srcdir@&$ac_top_srcdir&;t t
18404 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
18405 s&@builddir@&$ac_builddir&;t t
18406 s&@abs_builddir@&$ac_abs_builddir&;t t
18407 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
18408 s&@INSTALL@&$ac_INSTALL&;t t
18409 s&@MKDIR_P@&$ac_MKDIR_P&;t t
18410 $ac_datarootdir_hack
18412 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
18413 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18415 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
18416 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
18417 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
18418 "$ac_tmp/out"`; test -z "$ac_out"; } &&
18419 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18420 which seems to be undefined. Please make sure it is defined" >&5
18421 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
18422 which seems to be undefined. Please make sure it is defined" >&2;}
18424 rm -f "$ac_tmp/stdin"
18426 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
18427 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
18429 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18435 if test x"$ac_file" != x-; then
18437 $as_echo "/* $configure_input */" \
18438 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
18439 } >"$ac_tmp/config.h" \
18440 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18441 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
18443 $as_echo "$as_me: $ac_file is unchanged" >&6;}
18446 mv "$ac_tmp/config.h" "$ac_file" \
18447 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
18450 $as_echo "/* $configure_input */" \
18451 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
18452 || as_fn_error $? "could not create -" "$LINENO" 5
18454 # Compute "$ac_file"'s index in $config_headers.
18457 for _am_header in $config_headers :; do
18458 case $_am_header in
18459 $_am_arg | $_am_arg:* )
18462 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
18465 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
18466 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18467 X"$_am_arg" : 'X\(//\)[^/]' \| \
18468 X"$_am_arg" : 'X\(//\)$' \| \
18469 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
18470 $as_echo X"$_am_arg" |
18471 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18475 /^X\(\/\/\)[^/].*/{
18487 s/.*/./; q'`/stamp-h$_am_stamp_count
18490 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
18491 $as_echo "$as_me: executing $ac_file commands" >&6;}
18496 case $ac_file$ac_mode in
18497 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
18498 # Older Autoconf quotes --file arguments for eval, but not when files
18499 # are listed without --file. Let's play safe and only enable the eval
18500 # if we detect the quoting.
18501 case $CONFIG_FILES in
18502 *\'*) eval set x "$CONFIG_FILES" ;;
18503 *) set x $CONFIG_FILES ;;
18508 # Strip MF so we end up with the name of the file.
18509 mf=`echo "$mf" | sed -e 's/:.*$//'`
18510 # Check whether this is an Automake generated Makefile or not.
18511 # We used to match only the files named 'Makefile.in', but
18512 # some people rename them; so instead we look at the file content.
18513 # Grep'ing the first line is not enough: some people post-process
18514 # each Makefile.in and add a new line on top of each file to say so.
18515 # Grep'ing the whole file is not good either: AIX grep has a line
18516 # limit of 2048, but all sed's we know have understand at least 4000.
18517 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
18518 dirpart=`$as_dirname -- "$mf" ||
18519 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18520 X"$mf" : 'X\(//\)[^/]' \| \
18521 X"$mf" : 'X\(//\)$' \| \
18522 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
18524 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18528 /^X\(\/\/\)[^/].*/{
18544 # Extract the definition of DEPDIR, am__include, and am__quote
18545 # from the Makefile without running 'make'.
18546 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
18547 test -z "$DEPDIR" && continue
18548 am__include=`sed -n 's/^am__include = //p' < "$mf"`
18549 test -z "$am__include" && continue
18550 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
18551 # Find all dependency output files, they are included files with
18552 # $(DEPDIR) in their names. We invoke sed twice because it is the
18553 # simplest approach to changing $(DEPDIR) to its actual value in the
18555 for file in `sed -n "
18556 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
18557 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
18558 # Make sure the directory exists.
18559 test -f "$dirpart/$file" && continue
18560 fdir=`$as_dirname -- "$file" ||
18561 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18562 X"$file" : 'X\(//\)[^/]' \| \
18563 X"$file" : 'X\(//\)$' \| \
18564 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
18565 $as_echo X"$file" |
18566 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18570 /^X\(\/\/\)[^/].*/{
18583 as_dir=$dirpart/$fdir; as_fn_mkdir_p
18584 # echo "creating $dirpart/$file"
18585 echo '# dummy' > "$dirpart/$file"
18592 # See if we are running on zsh, and set the options which allow our
18593 # commands through without removal of \ escapes.
18594 if test -n "${ZSH_VERSION+set}" ; then
18595 setopt NO_GLOB_SUBST
18598 cfgfile="${ofile}T"
18599 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
18602 cat <<_LT_EOF >> "$cfgfile"
18605 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
18606 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
18607 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
18608 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
18610 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
18611 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
18613 # Written by Gordon Matzigkeit, 1996
18615 # This file is part of GNU Libtool.
18617 # GNU Libtool is free software; you can redistribute it and/or
18618 # modify it under the terms of the GNU General Public License as
18619 # published by the Free Software Foundation; either version 2 of
18620 # the License, or (at your option) any later version.
18622 # As a special exception to the GNU General Public License,
18623 # if you distribute this file as part of a program or library that
18624 # is built using GNU Libtool, you may include this file under the
18625 # same distribution terms that you use for the rest of that program.
18627 # GNU Libtool is distributed in the hope that it will be useful,
18628 # but WITHOUT ANY WARRANTY; without even the implied warranty of
18629 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18630 # GNU General Public License for more details.
18632 # You should have received a copy of the GNU General Public License
18633 # along with GNU Libtool; see the file COPYING. If not, a copy
18634 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
18635 # obtained by writing to the Free Software Foundation, Inc.,
18636 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
18639 # The names of the tagged configurations supported by this script.
18642 # ### BEGIN LIBTOOL CONFIG
18644 # Whether or not to build static libraries.
18645 build_old_libs=$enable_static
18647 # Which release of libtool.m4 was used?
18648 macro_version=$macro_version
18649 macro_revision=$macro_revision
18651 # Whether or not to build shared libraries.
18652 build_libtool_libs=$enable_shared
18654 # What type of objects to build.
18657 # Whether or not to optimize for fast installation.
18658 fast_install=$enable_fast_install
18660 # Shell to use when invoking shell scripts.
18663 # An echo program that protects backslashes.
18666 # The PATH separator for the build system.
18667 PATH_SEPARATOR=$lt_PATH_SEPARATOR
18670 host_alias=$host_alias
18674 # The build system.
18675 build_alias=$build_alias
18679 # A sed program that does not truncate output.
18682 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
18683 Xsed="\$SED -e 1s/^X//"
18685 # A grep program that handles long lines.
18691 # A literal string matcher.
18694 # A BSD- or MS-compatible name lister.
18697 # Whether we need soft or hard links.
18700 # What is the maximum length of a command?
18701 max_cmd_len=$max_cmd_len
18703 # Object file suffix (normally "o").
18706 # Executable file suffix (normally "").
18709 # whether the shell understands "unset".
18712 # turn spaces into newlines.
18715 # turn newlines into spaces.
18718 # convert \$build file names to \$host format.
18719 to_host_file_cmd=$lt_cv_to_host_file_cmd
18721 # convert \$build files to toolchain format.
18722 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
18724 # An object symbol dumper.
18725 OBJDUMP=$lt_OBJDUMP
18727 # Method to check whether dependent libraries are shared objects.
18728 deplibs_check_method=$lt_deplibs_check_method
18730 # Command to use when deplibs_check_method = "file_magic".
18731 file_magic_cmd=$lt_file_magic_cmd
18733 # How to find potential files when deplibs_check_method = "file_magic".
18734 file_magic_glob=$lt_file_magic_glob
18736 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
18737 want_nocaseglob=$lt_want_nocaseglob
18739 # DLL creation program.
18740 DLLTOOL=$lt_DLLTOOL
18742 # Command to associate shared and link libraries.
18743 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
18748 # Flags to create an archive.
18749 AR_FLAGS=$lt_AR_FLAGS
18751 # How to feed a file listing to the archiver.
18752 archiver_list_spec=$lt_archiver_list_spec
18754 # A symbol stripping program.
18757 # Commands used to install an old-style archive.
18759 old_postinstall_cmds=$lt_old_postinstall_cmds
18760 old_postuninstall_cmds=$lt_old_postuninstall_cmds
18762 # Whether to use a lock for old archive extraction.
18763 lock_old_archive_extraction=$lock_old_archive_extraction
18768 # LTCC compiler flags.
18769 LTCFLAGS=$lt_CFLAGS
18771 # Take the output of nm and produce a listing of raw symbols and C names.
18772 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
18774 # Transform the output of nm in a proper C declaration.
18775 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
18777 # Transform the output of nm in a C name address pair.
18778 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
18780 # Transform the output of nm in a C name address pair when lib prefix is needed.
18781 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
18783 # Specify filename containing input files for \$NM.
18784 nm_file_list_spec=$lt_nm_file_list_spec
18786 # The root where to search for dependent libraries,and in which our libraries should be installed.
18787 lt_sysroot=$lt_sysroot
18789 # The name of the directory that contains temporary libtool files.
18792 # Used to examine libraries when file_magic_cmd begins with "file".
18793 MAGIC_CMD=$MAGIC_CMD
18795 # Must we lock files when doing compilation?
18796 need_locks=$lt_need_locks
18799 MANIFEST_TOOL=$lt_MANIFEST_TOOL
18801 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
18802 DSYMUTIL=$lt_DSYMUTIL
18804 # Tool to change global to local symbols on Mac OS X.
18807 # Tool to manipulate fat objects and archives on Mac OS X.
18810 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
18813 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
18814 OTOOL64=$lt_OTOOL64
18816 # Old archive suffix (normally "a").
18819 # Shared library suffix (normally ".so").
18820 shrext_cmds=$lt_shrext_cmds
18822 # The commands to extract the exported symbol list from a shared archive.
18823 extract_expsyms_cmds=$lt_extract_expsyms_cmds
18825 # Variables whose values should be saved in libtool wrapper scripts and
18826 # restored at link time.
18827 variables_saved_for_relink=$lt_variables_saved_for_relink
18829 # Do we need the "lib" prefix for modules?
18830 need_lib_prefix=$need_lib_prefix
18832 # Do we need a version for libraries?
18833 need_version=$need_version
18835 # Library versioning type.
18836 version_type=$version_type
18838 # Shared library runtime path variable.
18839 runpath_var=$runpath_var
18841 # Shared library path variable.
18842 shlibpath_var=$shlibpath_var
18844 # Is shlibpath searched before the hard-coded library search path?
18845 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
18847 # Format of library name prefix.
18848 libname_spec=$lt_libname_spec
18850 # List of archive names. First name is the real one, the rest are links.
18851 # The last name is the one that the linker finds with -lNAME
18852 library_names_spec=$lt_library_names_spec
18854 # The coded name of the library, if different from the real name.
18855 soname_spec=$lt_soname_spec
18857 # Permission mode override for installation of shared libraries.
18858 install_override_mode=$lt_install_override_mode
18860 # Command to use after installation of a shared archive.
18861 postinstall_cmds=$lt_postinstall_cmds
18863 # Command to use after uninstallation of a shared archive.
18864 postuninstall_cmds=$lt_postuninstall_cmds
18866 # Commands used to finish a libtool library installation in a directory.
18867 finish_cmds=$lt_finish_cmds
18869 # As "finish_cmds", except a single script fragment to be evaled but
18871 finish_eval=$lt_finish_eval
18873 # Whether we should hardcode library paths into libraries.
18874 hardcode_into_libs=$hardcode_into_libs
18876 # Compile-time system search path for libraries.
18877 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
18879 # Run-time system search path for libraries.
18880 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
18882 # Whether dlopen is supported.
18883 dlopen_support=$enable_dlopen
18885 # Whether dlopen of programs is supported.
18886 dlopen_self=$enable_dlopen_self
18888 # Whether dlopen of statically linked programs is supported.
18889 dlopen_self_static=$enable_dlopen_self_static
18891 # Commands to strip libraries.
18892 old_striplib=$lt_old_striplib
18893 striplib=$lt_striplib
18896 # The linker used to build libraries.
18899 # How to create reloadable object files.
18900 reload_flag=$lt_reload_flag
18901 reload_cmds=$lt_reload_cmds
18903 # Commands used to build an old-style archive.
18904 old_archive_cmds=$lt_old_archive_cmds
18906 # A language specific compiler.
18909 # Is the compiler the GNU compiler?
18912 # Compiler flag to turn off builtin functions.
18913 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
18915 # Additional compiler flags for building library objects.
18916 pic_flag=$lt_lt_prog_compiler_pic
18918 # How to pass a linker flag through the compiler.
18919 wl=$lt_lt_prog_compiler_wl
18921 # Compiler flag to prevent dynamic linking.
18922 link_static_flag=$lt_lt_prog_compiler_static
18924 # Does compiler simultaneously support -c and -o options?
18925 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
18927 # Whether or not to add -lc for building shared libraries.
18928 build_libtool_need_lc=$archive_cmds_need_lc
18930 # Whether or not to disallow shared libs when runtime libs are static.
18931 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
18933 # Compiler flag to allow reflexive dlopens.
18934 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
18936 # Compiler flag to generate shared objects directly from archives.
18937 whole_archive_flag_spec=$lt_whole_archive_flag_spec
18939 # Whether the compiler copes with passing no objects directly.
18940 compiler_needs_object=$lt_compiler_needs_object
18942 # Create an old-style archive from a shared archive.
18943 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
18945 # Create a temporary old-style archive to link instead of a shared archive.
18946 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
18948 # Commands used to build a shared archive.
18949 archive_cmds=$lt_archive_cmds
18950 archive_expsym_cmds=$lt_archive_expsym_cmds
18952 # Commands used to build a loadable module if different from building
18953 # a shared archive.
18954 module_cmds=$lt_module_cmds
18955 module_expsym_cmds=$lt_module_expsym_cmds
18957 # Whether we are building with GNU ld or not.
18958 with_gnu_ld=$lt_with_gnu_ld
18960 # Flag that allows shared libraries with undefined symbols to be built.
18961 allow_undefined_flag=$lt_allow_undefined_flag
18963 # Flag that enforces no undefined symbols.
18964 no_undefined_flag=$lt_no_undefined_flag
18966 # Flag to hardcode \$libdir into a binary during linking.
18967 # This must work even if \$libdir does not exist
18968 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
18970 # Whether we need a single "-rpath" flag with a separated argument.
18971 hardcode_libdir_separator=$lt_hardcode_libdir_separator
18973 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18974 # DIR into the resulting binary.
18975 hardcode_direct=$hardcode_direct
18977 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
18978 # DIR into the resulting binary and the resulting library dependency is
18979 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
18980 # library is relocated.
18981 hardcode_direct_absolute=$hardcode_direct_absolute
18983 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
18984 # into the resulting binary.
18985 hardcode_minus_L=$hardcode_minus_L
18987 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
18988 # into the resulting binary.
18989 hardcode_shlibpath_var=$hardcode_shlibpath_var
18991 # Set to "yes" if building a shared library automatically hardcodes DIR
18992 # into the library and all subsequent libraries and executables linked
18994 hardcode_automatic=$hardcode_automatic
18996 # Set to yes if linker adds runtime paths of dependent libraries
18997 # to runtime path list.
18998 inherit_rpath=$inherit_rpath
19000 # Whether libtool must link a program against all its dependency libraries.
19001 link_all_deplibs=$link_all_deplibs
19003 # Set to "yes" if exported symbols are required.
19004 always_export_symbols=$always_export_symbols
19006 # The commands to list exported symbols.
19007 export_symbols_cmds=$lt_export_symbols_cmds
19009 # Symbols that should not be listed in the preloaded symbols.
19010 exclude_expsyms=$lt_exclude_expsyms
19012 # Symbols that must always be exported.
19013 include_expsyms=$lt_include_expsyms
19015 # Commands necessary for linking programs (against libraries) with templates.
19016 prelink_cmds=$lt_prelink_cmds
19018 # Commands necessary for finishing linking programs.
19019 postlink_cmds=$lt_postlink_cmds
19021 # Specify filename containing input files.
19022 file_list_spec=$lt_file_list_spec
19024 # How to hardcode a shared library path into an executable.
19025 hardcode_action=$hardcode_action
19027 # ### END LIBTOOL CONFIG
19033 cat <<\_LT_EOF >> "$cfgfile"
19034 # AIX sometimes has problems with the GCC collect2 program. For some
19035 # reason, if we set the COLLECT_NAMES environment variable, the problems
19036 # vanish in a puff of smoke.
19037 if test "X${COLLECT_NAMES+set}" != Xset; then
19039 export COLLECT_NAMES
19046 ltmain="$ac_aux_dir/ltmain.sh"
19049 # We use sed instead of cat because bash on DJGPP gets confused if
19050 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19051 # text mode, it properly converts lines to CR/LF. This bash problem
19052 # is reportedly fixed, but why not run on old versions too?
19053 sed '$q' "$ltmain" >> "$cfgfile" \
19054 || (rm -f "$cfgfile"; exit 1)
19056 if test x"$xsi_shell" = xyes; then
19057 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19061 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19062 \ * ) func_dirname_result="${3}" ;;\
19064 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19065 && mv -f "$cfgfile.tmp" "$cfgfile" \
19066 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19067 test 0 -eq $? || _lt_function_replace_fail=:
19070 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19073 \ func_basename_result="${1##*/}"\
19074 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19075 && mv -f "$cfgfile.tmp" "$cfgfile" \
19076 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19077 test 0 -eq $? || _lt_function_replace_fail=:
19080 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19081 func_dirname_and_basename ()\
19084 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19085 \ * ) func_dirname_result="${3}" ;;\
19087 \ func_basename_result="${1##*/}"\
19088 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19089 && mv -f "$cfgfile.tmp" "$cfgfile" \
19090 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19091 test 0 -eq $? || _lt_function_replace_fail=:
19094 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19097 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19098 \ # positional parameters, so assign one to ordinary parameter first.\
19099 \ func_stripname_result=${3}\
19100 \ func_stripname_result=${func_stripname_result#"${1}"}\
19101 \ func_stripname_result=${func_stripname_result%"${2}"}\
19102 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19103 && mv -f "$cfgfile.tmp" "$cfgfile" \
19104 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19105 test 0 -eq $? || _lt_function_replace_fail=:
19108 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19109 func_split_long_opt ()\
19111 \ func_split_long_opt_name=${1%%=*}\
19112 \ func_split_long_opt_arg=${1#*=}\
19113 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19114 && mv -f "$cfgfile.tmp" "$cfgfile" \
19115 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19116 test 0 -eq $? || _lt_function_replace_fail=:
19119 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19120 func_split_short_opt ()\
19122 \ func_split_short_opt_arg=${1#??}\
19123 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19124 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19125 && mv -f "$cfgfile.tmp" "$cfgfile" \
19126 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19127 test 0 -eq $? || _lt_function_replace_fail=:
19130 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19134 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19135 \ *) func_lo2o_result=${1} ;;\
19137 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19138 && mv -f "$cfgfile.tmp" "$cfgfile" \
19139 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19140 test 0 -eq $? || _lt_function_replace_fail=:
19143 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19146 func_xform_result=${1%.*}.lo\
19147 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19148 && mv -f "$cfgfile.tmp" "$cfgfile" \
19149 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19150 test 0 -eq $? || _lt_function_replace_fail=:
19153 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19156 func_arith_result=$(( $* ))\
19157 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19158 && mv -f "$cfgfile.tmp" "$cfgfile" \
19159 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19160 test 0 -eq $? || _lt_function_replace_fail=:
19163 sed -e '/^func_len ()$/,/^} # func_len /c\
19166 func_len_result=${#1}\
19167 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19168 && mv -f "$cfgfile.tmp" "$cfgfile" \
19169 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19170 test 0 -eq $? || _lt_function_replace_fail=:
19174 if test x"$lt_shell_append" = xyes; then
19175 sed -e '/^func_append ()$/,/^} # func_append /c\
19178 eval "${1}+=\\${2}"\
19179 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19180 && mv -f "$cfgfile.tmp" "$cfgfile" \
19181 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19182 test 0 -eq $? || _lt_function_replace_fail=:
19185 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19186 func_append_quoted ()\
19188 \ func_quote_for_eval "${2}"\
19189 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19190 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19191 && mv -f "$cfgfile.tmp" "$cfgfile" \
19192 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19193 test 0 -eq $? || _lt_function_replace_fail=:
19196 # Save a `func_append' function call where possible by direct use of '+='
19197 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19198 && mv -f "$cfgfile.tmp" "$cfgfile" \
19199 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19200 test 0 -eq $? || _lt_function_replace_fail=:
19202 # Save a `func_append' function call even when '+=' is not available
19203 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19204 && mv -f "$cfgfile.tmp" "$cfgfile" \
19205 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19206 test 0 -eq $? || _lt_function_replace_fail=:
19209 if test x"$_lt_function_replace_fail" = x":"; then
19210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19211 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19215 mv -f "$cfgfile" "$ofile" ||
19216 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19227 ac_clean_files=$ac_clean_files_save
19229 test $ac_write_fail = 0 ||
19230 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19233 # configure is writing to config.log, and then calls config.status.
19234 # config.status does its own redirection, appending to config.log.
19235 # Unfortunately, on DOS this fails, as config.log is still kept open
19236 # by configure, so config.status won't be able to write to it; its
19237 # output is simply discarded. So we exec the FD to /dev/null,
19238 # effectively closing config.log, so it can be properly (re)opened and
19239 # appended to by config.status. When coming back to configure, we
19240 # need to make the FD available again.
19241 if test "$no_create" != yes; then
19243 ac_config_status_args=
19244 test "$silent" = yes &&
19245 ac_config_status_args="$ac_config_status_args --quiet"
19247 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19249 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19250 # would make configure fail if this is the last instruction.
19251 $ac_cs_success || as_fn_exit 1
19253 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19254 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19255 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}