2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for krb5-strength 3.0.
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='3.0'
594 PACKAGE_STRING='krb5-strength 3.0'
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
647 KRB5_USES_COM_ERR_FALSE
648 KRB5_USES_COM_ERR_TRUE
653 EMBEDDED_CRACKLIB_FALSE
654 EMBEDDED_CRACKLIB_TRUE
709 MAINTAINER_MODE_FALSE
723 INSTALL_STRIP_PROGRAM
765 program_transform_name
778 enable_option_checking
780 enable_maintainer_mode
781 enable_dependency_tracking
794 with_cracklib_include
799 enable_reduced_depends
804 ac_precious_vars='build_alias
821 # Initialize some variables set by options.
823 ac_init_version=false
824 ac_unrecognized_opts=
826 # The variables have the same names as the options, with
827 # dashes changed to underlines.
835 program_transform_name=s,x,x,
843 # Installation directory options.
844 # These are left unexpanded so users can "make install exec_prefix=/foo"
845 # and all the variables that are supposed to be based on exec_prefix
846 # by default will actually change.
847 # Use braces instead of parens because sh, perl, etc. also accept them.
848 # (The list follows the same order as the GNU Coding Standards.)
849 bindir='${exec_prefix}/bin'
850 sbindir='${exec_prefix}/sbin'
851 libexecdir='${exec_prefix}/libexec'
852 datarootdir='${prefix}/share'
853 datadir='${datarootdir}'
854 sysconfdir='${prefix}/etc'
855 sharedstatedir='${prefix}/com'
856 localstatedir='${prefix}/var'
857 includedir='${prefix}/include'
858 oldincludedir='/usr/include'
859 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
860 infodir='${datarootdir}/info'
865 libdir='${exec_prefix}/lib'
866 localedir='${datarootdir}/locale'
867 mandir='${datarootdir}/man'
873 # If the previous option needs an argument, assign it.
874 if test -n "$ac_prev"; then
875 eval $ac_prev=\$ac_option
881 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
886 # Accept the important Cygnus configure options, so we can diagnose typos.
888 case $ac_dashdash$ac_option in
892 -bindir | --bindir | --bindi | --bind | --bin | --bi)
894 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
897 -build | --build | --buil | --bui | --bu)
898 ac_prev=build_alias ;;
899 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
900 build_alias=$ac_optarg ;;
902 -cache-file | --cache-file | --cache-fil | --cache-fi \
903 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
904 ac_prev=cache_file ;;
905 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
906 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
907 cache_file=$ac_optarg ;;
910 cache_file=config.cache ;;
912 -datadir | --datadir | --datadi | --datad)
914 -datadir=* | --datadir=* | --datadi=* | --datad=*)
915 datadir=$ac_optarg ;;
917 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
918 | --dataroo | --dataro | --datar)
919 ac_prev=datarootdir ;;
920 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
921 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
922 datarootdir=$ac_optarg ;;
924 -disable-* | --disable-*)
925 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
926 # Reject names that are not valid shell variable names.
927 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
928 as_fn_error $? "invalid feature name: $ac_useropt"
929 ac_useropt_orig=$ac_useropt
930 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
931 case $ac_user_opts in
935 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
936 ac_unrecognized_sep=', ';;
938 eval enable_$ac_useropt=no ;;
940 -docdir | --docdir | --docdi | --doc | --do)
942 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
945 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
947 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
950 -enable-* | --enable-*)
951 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
952 # Reject names that are not valid shell variable names.
953 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
954 as_fn_error $? "invalid feature name: $ac_useropt"
955 ac_useropt_orig=$ac_useropt
956 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
957 case $ac_user_opts in
961 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
962 ac_unrecognized_sep=', ';;
964 eval enable_$ac_useropt=\$ac_optarg ;;
966 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
967 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
968 | --exec | --exe | --ex)
969 ac_prev=exec_prefix ;;
970 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
971 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
972 | --exec=* | --exe=* | --ex=*)
973 exec_prefix=$ac_optarg ;;
975 -gas | --gas | --ga | --g)
976 # Obsolete; use --with-gas.
979 -help | --help | --hel | --he | -h)
981 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
982 ac_init_help=recursive ;;
983 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
984 ac_init_help=short ;;
986 -host | --host | --hos | --ho)
987 ac_prev=host_alias ;;
988 -host=* | --host=* | --hos=* | --ho=*)
989 host_alias=$ac_optarg ;;
991 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
993 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
995 htmldir=$ac_optarg ;;
997 -includedir | --includedir | --includedi | --included | --include \
998 | --includ | --inclu | --incl | --inc)
999 ac_prev=includedir ;;
1000 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1001 | --includ=* | --inclu=* | --incl=* | --inc=*)
1002 includedir=$ac_optarg ;;
1004 -infodir | --infodir | --infodi | --infod | --info | --inf)
1006 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1007 infodir=$ac_optarg ;;
1009 -libdir | --libdir | --libdi | --libd)
1011 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1012 libdir=$ac_optarg ;;
1014 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1015 | --libexe | --libex | --libe)
1016 ac_prev=libexecdir ;;
1017 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1018 | --libexe=* | --libex=* | --libe=*)
1019 libexecdir=$ac_optarg ;;
1021 -localedir | --localedir | --localedi | --localed | --locale)
1022 ac_prev=localedir ;;
1023 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1024 localedir=$ac_optarg ;;
1026 -localstatedir | --localstatedir | --localstatedi | --localstated \
1027 | --localstate | --localstat | --localsta | --localst | --locals)
1028 ac_prev=localstatedir ;;
1029 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1030 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1031 localstatedir=$ac_optarg ;;
1033 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1035 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1036 mandir=$ac_optarg ;;
1038 -nfp | --nfp | --nf)
1039 # Obsolete; use --without-fp.
1042 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1043 | --no-cr | --no-c | -n)
1046 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1047 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1050 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1051 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1052 | --oldin | --oldi | --old | --ol | --o)
1053 ac_prev=oldincludedir ;;
1054 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1055 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1056 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1057 oldincludedir=$ac_optarg ;;
1059 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1061 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1062 prefix=$ac_optarg ;;
1064 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1065 | --program-pre | --program-pr | --program-p)
1066 ac_prev=program_prefix ;;
1067 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1068 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1069 program_prefix=$ac_optarg ;;
1071 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1072 | --program-suf | --program-su | --program-s)
1073 ac_prev=program_suffix ;;
1074 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1075 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1076 program_suffix=$ac_optarg ;;
1078 -program-transform-name | --program-transform-name \
1079 | --program-transform-nam | --program-transform-na \
1080 | --program-transform-n | --program-transform- \
1081 | --program-transform | --program-transfor \
1082 | --program-transfo | --program-transf \
1083 | --program-trans | --program-tran \
1084 | --progr-tra | --program-tr | --program-t)
1085 ac_prev=program_transform_name ;;
1086 -program-transform-name=* | --program-transform-name=* \
1087 | --program-transform-nam=* | --program-transform-na=* \
1088 | --program-transform-n=* | --program-transform-=* \
1089 | --program-transform=* | --program-transfor=* \
1090 | --program-transfo=* | --program-transf=* \
1091 | --program-trans=* | --program-tran=* \
1092 | --progr-tra=* | --program-tr=* | --program-t=*)
1093 program_transform_name=$ac_optarg ;;
1095 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1097 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1098 pdfdir=$ac_optarg ;;
1100 -psdir | --psdir | --psdi | --psd | --ps)
1102 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1106 | -silent | --silent | --silen | --sile | --sil)
1109 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1111 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1113 sbindir=$ac_optarg ;;
1115 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1116 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1117 | --sharedst | --shareds | --shared | --share | --shar \
1119 ac_prev=sharedstatedir ;;
1120 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1121 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1122 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1124 sharedstatedir=$ac_optarg ;;
1126 -site | --site | --sit)
1128 -site=* | --site=* | --sit=*)
1131 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1133 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1134 srcdir=$ac_optarg ;;
1136 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1137 | --syscon | --sysco | --sysc | --sys | --sy)
1138 ac_prev=sysconfdir ;;
1139 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1140 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1141 sysconfdir=$ac_optarg ;;
1143 -target | --target | --targe | --targ | --tar | --ta | --t)
1144 ac_prev=target_alias ;;
1145 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1146 target_alias=$ac_optarg ;;
1148 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1151 -version | --version | --versio | --versi | --vers | -V)
1152 ac_init_version=: ;;
1155 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1158 as_fn_error $? "invalid package name: $ac_useropt"
1159 ac_useropt_orig=$ac_useropt
1160 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1161 case $ac_user_opts in
1165 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1166 ac_unrecognized_sep=', ';;
1168 eval with_$ac_useropt=\$ac_optarg ;;
1170 -without-* | --without-*)
1171 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1172 # Reject names that are not valid shell variable names.
1173 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1174 as_fn_error $? "invalid package name: $ac_useropt"
1175 ac_useropt_orig=$ac_useropt
1176 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1177 case $ac_user_opts in
1181 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1184 eval with_$ac_useropt=no ;;
1187 # Obsolete; use --with-x.
1190 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1191 | --x-incl | --x-inc | --x-in | --x-i)
1192 ac_prev=x_includes ;;
1193 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1194 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1195 x_includes=$ac_optarg ;;
1197 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1198 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1199 ac_prev=x_libraries ;;
1200 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1201 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1202 x_libraries=$ac_optarg ;;
1204 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1205 Try \`$0 --help' for more information"
1209 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1210 # Reject names that are not valid shell variable names.
1211 case $ac_envvar in #(
1212 '' | [0-9]* | *[!_$as_cr_alnum]* )
1213 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1215 eval $ac_envvar=\$ac_optarg
1216 export $ac_envvar ;;
1219 # FIXME: should be removed in autoconf 3.0.
1220 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1221 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1222 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1223 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1229 if test -n "$ac_prev"; then
1230 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1231 as_fn_error $? "missing argument to $ac_option"
1234 if test -n "$ac_unrecognized_opts"; then
1235 case $enable_option_checking in
1237 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1238 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1242 # Check all directory arguments for consistency.
1243 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1244 datadir sysconfdir sharedstatedir localstatedir includedir \
1245 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1246 libdir localedir mandir
1248 eval ac_val=\$$ac_var
1249 # Remove trailing slashes.
1252 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1253 eval $ac_var=\$ac_val;;
1255 # Be sure to have absolute directory names.
1257 [\\/$]* | ?:[\\/]* ) continue;;
1258 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1260 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1263 # There might be people who depend on the old broken behavior: `$host'
1264 # used to hold the argument of --host etc.
1265 # FIXME: To remove some day.
1268 target=$target_alias
1270 # FIXME: To remove some day.
1271 if test "x$host_alias" != x; then
1272 if test "x$build_alias" = x; then
1273 cross_compiling=maybe
1274 elif test "x$build_alias" != "x$host_alias"; then
1280 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1282 test "$silent" = yes && exec 6>/dev/null
1285 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1286 ac_ls_di=`ls -di .` &&
1287 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1288 as_fn_error $? "working directory cannot be determined"
1289 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1290 as_fn_error $? "pwd does not report name of working directory"
1293 # Find the source files, if location was not specified.
1294 if test -z "$srcdir"; then
1295 ac_srcdir_defaulted=yes
1296 # Try the directory containing this script, then the parent directory.
1297 ac_confdir=`$as_dirname -- "$as_myself" ||
1298 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1299 X"$as_myself" : 'X\(//\)[^/]' \| \
1300 X"$as_myself" : 'X\(//\)$' \| \
1301 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1302 $as_echo X"$as_myself" |
1303 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1321 if test ! -r "$srcdir/$ac_unique_file"; then
1325 ac_srcdir_defaulted=no
1327 if test ! -r "$srcdir/$ac_unique_file"; then
1328 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1329 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1331 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1333 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1335 # When building in place, set srcdir=.
1336 if test "$ac_abs_confdir" = "$ac_pwd"; then
1339 # Remove unnecessary trailing slashes from srcdir.
1340 # Double slashes in file names in object file debugging info
1341 # mess up M-x gdb in Emacs.
1343 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1345 for ac_var in $ac_precious_vars; do
1346 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1347 eval ac_env_${ac_var}_value=\$${ac_var}
1348 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1349 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1353 # Report the --help message.
1355 if test "$ac_init_help" = "long"; then
1356 # Omit some internal or obsolete options to make the list less imposing.
1357 # This message is too long to be a string in the A/UX 3.1 sh.
1359 \`configure' configures krb5-strength 3.0 to adapt to many kinds of systems.
1361 Usage: $0 [OPTION]... [VAR=VALUE]...
1363 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1364 VAR=VALUE. See below for descriptions of some of the useful variables.
1366 Defaults for the options are specified in brackets.
1369 -h, --help display this help and exit
1370 --help=short display options specific to this package
1371 --help=recursive display the short help of all the included packages
1372 -V, --version display version information and exit
1373 -q, --quiet, --silent do not print \`checking ...' messages
1374 --cache-file=FILE cache test results in FILE [disabled]
1375 -C, --config-cache alias for \`--cache-file=config.cache'
1376 -n, --no-create do not create output files
1377 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1379 Installation directories:
1380 --prefix=PREFIX install architecture-independent files in PREFIX
1381 [$ac_default_prefix]
1382 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1385 By default, \`make install' will install all the files in
1386 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1387 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1388 for instance \`--prefix=\$HOME'.
1390 For better control, use the options below.
1392 Fine tuning of the installation directories:
1393 --bindir=DIR user executables [EPREFIX/bin]
1394 --sbindir=DIR system admin executables [EPREFIX/sbin]
1395 --libexecdir=DIR program executables [EPREFIX/libexec]
1396 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1397 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1398 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1399 --libdir=DIR object code libraries [EPREFIX/lib]
1400 --includedir=DIR C header files [PREFIX/include]
1401 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1402 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1403 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1404 --infodir=DIR info documentation [DATAROOTDIR/info]
1405 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1406 --mandir=DIR man documentation [DATAROOTDIR/man]
1407 --docdir=DIR documentation root [DATAROOTDIR/doc/krb5-strength]
1408 --htmldir=DIR html documentation [DOCDIR]
1409 --dvidir=DIR dvi documentation [DOCDIR]
1410 --pdfdir=DIR pdf documentation [DOCDIR]
1411 --psdir=DIR ps documentation [DOCDIR]
1417 --program-prefix=PREFIX prepend PREFIX to installed program names
1418 --program-suffix=SUFFIX append SUFFIX to installed program names
1419 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1422 --build=BUILD configure for building on BUILD [guessed]
1423 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1427 if test -n "$ac_init_help"; then
1428 case $ac_init_help in
1429 short | recursive ) echo "Configuration of krb5-strength 3.0:";;
1434 --disable-option-checking ignore unrecognized --enable/--with options
1435 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1436 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1437 --enable-silent-rules less verbose build output (undo: "make V=1")
1438 --disable-silent-rules verbose build output (undo: "make V=0")
1439 --enable-maintainer-mode
1440 enable make rules and dependencies not useful (and
1441 sometimes confusing) to the casual installer
1442 --enable-dependency-tracking
1443 do not reject slow dependency extractors
1444 --disable-dependency-tracking
1445 speeds up one-time build
1446 --disable-largefile omit support for large files
1447 --enable-static[=PKGS] build static libraries [default=no]
1448 --enable-shared[=PKGS] build shared libraries [default=yes]
1449 --enable-fast-install[=PKGS]
1450 optimize for fast installation [default=yes]
1451 --disable-libtool-lock avoid locking (might break parallel builds)
1452 --enable-reduced-depends
1453 Try to minimize shared library dependencies
1456 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1457 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1458 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1460 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1461 --with-sysroot=DIR Search for dependent libraries within DIR
1462 (or the compiler's sysroot if not specified).
1463 --with-tinycdb[=DIR] Location of TinyCDB headers and libraries
1464 --with-tinycdb-include=DIR
1465 Location of TinyCDB headers
1466 --with-tinycdb-lib=DIR Location of TinyCDB libraries
1467 --with-cracklib[=DIR] Use system CrackLib instead of embedded copy
1468 --with-cracklib-include=DIR
1469 Location of CrackLib headers
1470 --with-cracklib-lib=DIR Location of cracklib libraries
1471 --with-krb5=DIR Location of Kerberos headers and libraries
1472 --with-krb5-include=DIR Location of Kerberos headers
1473 --with-krb5-lib=DIR Location of Kerberos libraries
1474 --with-sqlite[=DIR] Location of SQLite headers and libraries
1475 --with-sqlite-include=DIR
1476 Location of SQLite headers
1477 --with-sqlite-lib=DIR Location of SQLite libraries
1479 Some influential environment variables:
1480 CC C compiler command
1481 CFLAGS C compiler flags
1482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1483 nonstandard directory <lib dir>
1484 LIBS libraries to pass to the linker, e.g. -l<library>
1485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1486 you have headers in a nonstandard directory <include dir>
1490 PKG_CONFIG path to pkg-config utility
1492 directories to add to pkg-config's search path
1494 path overriding pkg-config's built-in search path
1496 C compiler flags for SQLITE, overriding pkg-config
1497 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1499 Use these variables to override the choices made by `configure' or to help
1500 it to find libraries and programs with nonstandard names/locations.
1502 Report bugs to <eagle@eyrie.org>.
1507 if test "$ac_init_help" = "recursive"; then
1508 # If there are subdirs, report their specific --help.
1509 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1510 test -d "$ac_dir" ||
1511 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1516 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1518 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1519 # A ".." for each directory in $ac_dir_suffix.
1520 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1521 case $ac_top_builddir_sub in
1522 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1523 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1526 ac_abs_top_builddir=$ac_pwd
1527 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1528 # for backward compatibility:
1529 ac_top_builddir=$ac_top_build_prefix
1532 .) # We are building in place.
1534 ac_top_srcdir=$ac_top_builddir_sub
1535 ac_abs_top_srcdir=$ac_pwd ;;
1536 [\\/]* | ?:[\\/]* ) # Absolute name.
1537 ac_srcdir=$srcdir$ac_dir_suffix;
1538 ac_top_srcdir=$srcdir
1539 ac_abs_top_srcdir=$srcdir ;;
1541 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1542 ac_top_srcdir=$ac_top_build_prefix$srcdir
1543 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1545 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1547 cd "$ac_dir" || { ac_status=$?; continue; }
1548 # Check for guested configure.
1549 if test -f "$ac_srcdir/configure.gnu"; then
1551 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1552 elif test -f "$ac_srcdir/configure"; then
1554 $SHELL "$ac_srcdir/configure" --help=recursive
1556 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1558 cd "$ac_pwd" || { ac_status=$?; break; }
1562 test -n "$ac_init_help" && exit $ac_status
1563 if $ac_init_version; then
1565 krb5-strength configure 3.0
1566 generated by GNU Autoconf 2.69
1568 Copyright (C) 2012 Free Software Foundation, Inc.
1569 This configure script is free software; the Free Software Foundation
1570 gives unlimited permission to copy, distribute and modify it.
1575 ## ------------------------ ##
1576 ## Autoconf initialization. ##
1577 ## ------------------------ ##
1579 # ac_fn_c_try_compile LINENO
1580 # --------------------------
1581 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1582 ac_fn_c_try_compile ()
1584 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1585 rm -f conftest.$ac_objext
1586 if { { ac_try="$ac_compile"
1588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1589 *) ac_try_echo=$ac_try;;
1591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1592 $as_echo "$ac_try_echo"; } >&5
1593 (eval "$ac_compile") 2>conftest.err
1595 if test -s conftest.err; then
1596 grep -v '^ *+' conftest.err >conftest.er1
1597 cat conftest.er1 >&5
1598 mv -f conftest.er1 conftest.err
1600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1601 test $ac_status = 0; } && {
1602 test -z "$ac_c_werror_flag" ||
1603 test ! -s conftest.err
1604 } && test -s conftest.$ac_objext; then :
1607 $as_echo "$as_me: failed program was:" >&5
1608 sed 's/^/| /' conftest.$ac_ext >&5
1612 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1613 as_fn_set_status $ac_retval
1615 } # ac_fn_c_try_compile
1617 # ac_fn_c_try_cpp LINENO
1618 # ----------------------
1619 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1622 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1623 if { { ac_try="$ac_cpp conftest.$ac_ext"
1625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1626 *) ac_try_echo=$ac_try;;
1628 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1629 $as_echo "$ac_try_echo"; } >&5
1630 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1632 if test -s conftest.err; then
1633 grep -v '^ *+' conftest.err >conftest.er1
1634 cat conftest.er1 >&5
1635 mv -f conftest.er1 conftest.err
1637 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1638 test $ac_status = 0; } > conftest.i && {
1639 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1640 test ! -s conftest.err
1644 $as_echo "$as_me: failed program was:" >&5
1645 sed 's/^/| /' conftest.$ac_ext >&5
1649 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1650 as_fn_set_status $ac_retval
1654 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1655 # -------------------------------------------------------
1656 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1657 # the include files in INCLUDES and setting the cache variable VAR
1659 ac_fn_c_check_header_mongrel ()
1661 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1662 if eval \${$3+:} false; then :
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1664 $as_echo_n "checking for $2... " >&6; }
1665 if eval \${$3+:} false; then :
1666 $as_echo_n "(cached) " >&6
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1670 $as_echo "$ac_res" >&6; }
1672 # Is the header compilable?
1673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1674 $as_echo_n "checking $2 usability... " >&6; }
1675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1676 /* end confdefs.h. */
1680 if ac_fn_c_try_compile "$LINENO"; then :
1681 ac_header_compiler=yes
1683 ac_header_compiler=no
1685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1687 $as_echo "$ac_header_compiler" >&6; }
1689 # Is the header present?
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1691 $as_echo_n "checking $2 presence... " >&6; }
1692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1693 /* end confdefs.h. */
1696 if ac_fn_c_try_cpp "$LINENO"; then :
1697 ac_header_preproc=yes
1699 ac_header_preproc=no
1701 rm -f conftest.err conftest.i conftest.$ac_ext
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1703 $as_echo "$ac_header_preproc" >&6; }
1705 # So? What about this header?
1706 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1709 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1711 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1714 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1715 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1716 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1717 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1719 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1720 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1721 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1722 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1723 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1724 ( $as_echo "## ------------------------------ ##
1725 ## Report this to eagle@eyrie.org ##
1726 ## ------------------------------ ##"
1727 ) | sed "s/^/$as_me: WARNING: /" >&2
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1731 $as_echo_n "checking for $2... " >&6; }
1732 if eval \${$3+:} false; then :
1733 $as_echo_n "(cached) " >&6
1735 eval "$3=\$ac_header_compiler"
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1739 $as_echo "$ac_res" >&6; }
1741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1743 } # ac_fn_c_check_header_mongrel
1745 # ac_fn_c_try_run LINENO
1746 # ----------------------
1747 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1748 # that executables *can* be run.
1751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1752 if { { ac_try="$ac_link"
1754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1755 *) ac_try_echo=$ac_try;;
1757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1758 $as_echo "$ac_try_echo"; } >&5
1759 (eval "$ac_link") 2>&5
1761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1762 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1763 { { case "(($ac_try" in
1764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1765 *) ac_try_echo=$ac_try;;
1767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1768 $as_echo "$ac_try_echo"; } >&5
1769 (eval "$ac_try") 2>&5
1771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1772 test $ac_status = 0; }; }; then :
1775 $as_echo "$as_me: program exited with status $ac_status" >&5
1776 $as_echo "$as_me: failed program was:" >&5
1777 sed 's/^/| /' conftest.$ac_ext >&5
1779 ac_retval=$ac_status
1781 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1782 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1783 as_fn_set_status $ac_retval
1787 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1788 # -------------------------------------------------------
1789 # Tests whether HEADER exists and can be compiled using the include files in
1790 # INCLUDES, setting the cache variable VAR accordingly.
1791 ac_fn_c_check_header_compile ()
1793 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1795 $as_echo_n "checking for $2... " >&6; }
1796 if eval \${$3+:} false; then :
1797 $as_echo_n "(cached) " >&6
1799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1804 if ac_fn_c_try_compile "$LINENO"; then :
1809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1813 $as_echo "$ac_res" >&6; }
1814 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1816 } # ac_fn_c_check_header_compile
1818 # ac_fn_c_try_link LINENO
1819 # -----------------------
1820 # Try to link conftest.$ac_ext, and return whether this succeeded.
1823 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1824 rm -f conftest.$ac_objext conftest$ac_exeext
1825 if { { ac_try="$ac_link"
1827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1828 *) ac_try_echo=$ac_try;;
1830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1831 $as_echo "$ac_try_echo"; } >&5
1832 (eval "$ac_link") 2>conftest.err
1834 if test -s conftest.err; then
1835 grep -v '^ *+' conftest.err >conftest.er1
1836 cat conftest.er1 >&5
1837 mv -f conftest.er1 conftest.err
1839 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1840 test $ac_status = 0; } && {
1841 test -z "$ac_c_werror_flag" ||
1842 test ! -s conftest.err
1843 } && test -s conftest$ac_exeext && {
1844 test "$cross_compiling" = yes ||
1845 test -x conftest$ac_exeext
1849 $as_echo "$as_me: failed program was:" >&5
1850 sed 's/^/| /' conftest.$ac_ext >&5
1854 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1855 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1856 # interfere with the next link command; also delete a directory that is
1857 # left behind by Apple's compiler. We do this before executing the actions.
1858 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1859 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1860 as_fn_set_status $ac_retval
1862 } # ac_fn_c_try_link
1864 # ac_fn_c_check_func LINENO FUNC VAR
1865 # ----------------------------------
1866 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1867 ac_fn_c_check_func ()
1869 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1871 $as_echo_n "checking for $2... " >&6; }
1872 if eval \${$3+:} false; then :
1873 $as_echo_n "(cached) " >&6
1875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1876 /* end confdefs.h. */
1877 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1878 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1879 #define $2 innocuous_$2
1881 /* System header to define __stub macros and hopefully few prototypes,
1882 which can conflict with char $2 (); below.
1883 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1884 <limits.h> exists even on freestanding compilers. */
1887 # include <limits.h>
1889 # include <assert.h>
1894 /* Override any GCC internal prototype to avoid an error.
1895 Use char because int might match the return type of a GCC
1896 builtin and then its argument prototype would still apply. */
1901 /* The GNU C library defines this for functions which it implements
1902 to always fail with ENOSYS. Some functions are actually named
1903 something starting with __ and the normal name is an alias. */
1904 #if defined __stub_$2 || defined __stub___$2
1916 if ac_fn_c_try_link "$LINENO"; then :
1921 rm -f core conftest.err conftest.$ac_objext \
1922 conftest$ac_exeext conftest.$ac_ext
1925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1926 $as_echo "$ac_res" >&6; }
1927 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1929 } # ac_fn_c_check_func
1931 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1932 # --------------------------------------------
1933 # Tries to find the compile-time value of EXPR in a program that includes
1934 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1936 ac_fn_c_compute_int ()
1938 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1939 if test "$cross_compiling" = yes; then
1940 # Depending upon the size, compute the lo and hi bounds.
1941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942 /* end confdefs.h. */
1947 static int test_array [1 - 2 * !(($2) >= 0)];
1949 return test_array [0];
1955 if ac_fn_c_try_compile "$LINENO"; then :
1958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1964 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1966 return test_array [0];
1972 if ac_fn_c_try_compile "$LINENO"; then :
1973 ac_hi=$ac_mid; break
1975 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1976 if test $ac_lo -le $ac_mid; then
1980 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
1982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1986 /* end confdefs.h. */
1991 static int test_array [1 - 2 * !(($2) < 0)];
1993 return test_array [0];
1999 if ac_fn_c_try_compile "$LINENO"; then :
2002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003 /* end confdefs.h. */
2008 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2010 return test_array [0];
2016 if ac_fn_c_try_compile "$LINENO"; then :
2017 ac_lo=$ac_mid; break
2019 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2020 if test $ac_mid -le $ac_hi; then
2024 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2034 # Binary search between lo and hi bounds.
2035 while test "x$ac_lo" != "x$ac_hi"; do
2036 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2038 /* end confdefs.h. */
2043 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2045 return test_array [0];
2051 if ac_fn_c_try_compile "$LINENO"; then :
2054 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2059 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2064 /* end confdefs.h. */
2066 static long int longval () { return $2; }
2067 static unsigned long int ulongval () { return $2; }
2074 FILE *f = fopen ("conftest.val", "w");
2079 long int i = longval ();
2082 fprintf (f, "%ld", i);
2086 unsigned long int i = ulongval ();
2089 fprintf (f, "%lu", i);
2091 /* Do not output a trailing newline, as this causes \r\n confusion
2092 on some platforms. */
2093 return ferror (f) || fclose (f) != 0;
2099 if ac_fn_c_try_run "$LINENO"; then :
2100 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2104 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2105 conftest.$ac_objext conftest.beam conftest.$ac_ext
2109 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2110 as_fn_set_status $ac_retval
2112 } # ac_fn_c_compute_int
2114 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2115 # -------------------------------------------
2116 # Tests whether TYPE exists after having included INCLUDES, setting cache
2117 # variable VAR accordingly.
2118 ac_fn_c_check_type ()
2120 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2122 $as_echo_n "checking for $2... " >&6; }
2123 if eval \${$3+:} false; then :
2124 $as_echo_n "(cached) " >&6
2127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2128 /* end confdefs.h. */
2139 if ac_fn_c_try_compile "$LINENO"; then :
2140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2141 /* end confdefs.h. */
2152 if ac_fn_c_try_compile "$LINENO"; then :
2157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2163 $as_echo "$ac_res" >&6; }
2164 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 } # ac_fn_c_check_type
2168 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2169 # ---------------------------------------------
2170 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2172 ac_fn_c_check_decl ()
2174 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2175 as_decl_name=`echo $2|sed 's/ *(.*//'`
2176 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2178 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2179 if eval \${$3+:} false; then :
2180 $as_echo_n "(cached) " >&6
2182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2183 /* end confdefs.h. */
2188 #ifndef $as_decl_name
2190 (void) $as_decl_use;
2192 (void) $as_decl_name;
2200 if ac_fn_c_try_compile "$LINENO"; then :
2205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2209 $as_echo "$ac_res" >&6; }
2210 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2212 } # ac_fn_c_check_decl
2214 # ac_fn_c_find_uintX_t LINENO BITS VAR
2215 # ------------------------------------
2216 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2218 ac_fn_c_find_uintX_t ()
2220 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2222 $as_echo_n "checking for uint$2_t... " >&6; }
2223 if eval \${$3+:} false; then :
2224 $as_echo_n "(cached) " >&6
2227 # Order is important - never check a type that is potentially smaller
2228 # than half of the expected target width.
2229 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2230 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2232 /* end confdefs.h. */
2233 $ac_includes_default
2237 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2239 return test_array [0];
2245 if ac_fn_c_try_compile "$LINENO"; then :
2250 eval "$3=\$ac_type" ;;
2253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2254 if eval test \"x\$"$3"\" = x"no"; then :
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2263 $as_echo "$ac_res" >&6; }
2264 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2266 } # ac_fn_c_find_uintX_t
2267 cat >config.log <<_ACEOF
2268 This file contains any messages produced by compilers while
2269 running configure, to aid debugging if configure makes a mistake.
2271 It was created by krb5-strength $as_me 3.0, which was
2272 generated by GNU Autoconf 2.69. Invocation command line was
2284 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2285 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2286 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2287 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2288 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2290 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2291 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2293 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2294 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2295 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2296 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2297 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2298 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2299 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2303 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2307 test -z "$as_dir" && as_dir=.
2308 $as_echo "PATH: $as_dir"
2324 # Keep a trace of the command line.
2325 # Strip out --no-create and --no-recursion so they do not pile up.
2326 # Strip out --silent because we don't want to record it for future runs.
2327 # Also quote any args containing shell meta-characters.
2328 # Make two passes to allow for proper duplicate-argument suppression.
2332 ac_must_keep_next=false
2338 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2339 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2340 | -silent | --silent | --silen | --sile | --sil)
2343 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2346 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2348 as_fn_append ac_configure_args1 " '$ac_arg'"
2349 if test $ac_must_keep_next = true; then
2350 ac_must_keep_next=false # Got value, back to normal.
2353 *=* | --config-cache | -C | -disable-* | --disable-* \
2354 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2355 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2356 | -with-* | --with-* | -without-* | --without-* | --x)
2357 case "$ac_configure_args0 " in
2358 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2361 -* ) ac_must_keep_next=true ;;
2364 as_fn_append ac_configure_args " '$ac_arg'"
2369 { ac_configure_args0=; unset ac_configure_args0;}
2370 { ac_configure_args1=; unset ac_configure_args1;}
2372 # When interrupted or exit'd, cleanup temporary files, and complete
2373 # config.log. We remove comments because anyway the quotes in there
2374 # would cause problems or look ugly.
2375 # WARNING: Use '\'' to represent an apostrophe within the trap.
2376 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2377 trap 'exit_status=$?
2378 # Save into config.log some information that might help in debugging.
2382 $as_echo "## ---------------- ##
2383 ## Cache variables. ##
2384 ## ---------------- ##"
2386 # The following way of writing the cache mishandles newlines in values,
2388 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2389 eval ac_val=\$$ac_var
2393 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2394 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2397 _ | IFS | as_nl) ;; #(
2398 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2399 *) { eval $ac_var=; unset $ac_var;} ;;
2404 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2405 *${as_nl}ac_space=\ *)
2407 "s/'\''/'\''\\\\'\'''\''/g;
2408 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2411 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2418 $as_echo "## ----------------- ##
2419 ## Output variables. ##
2420 ## ----------------- ##"
2422 for ac_var in $ac_subst_vars
2424 eval ac_val=\$$ac_var
2426 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2428 $as_echo "$ac_var='\''$ac_val'\''"
2432 if test -n "$ac_subst_files"; then
2433 $as_echo "## ------------------- ##
2434 ## File substitutions. ##
2435 ## ------------------- ##"
2437 for ac_var in $ac_subst_files
2439 eval ac_val=\$$ac_var
2441 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2443 $as_echo "$ac_var='\''$ac_val'\''"
2448 if test -s confdefs.h; then
2449 $as_echo "## ----------- ##
2456 test "$ac_signal" != 0 &&
2457 $as_echo "$as_me: caught signal $ac_signal"
2458 $as_echo "$as_me: exit $exit_status"
2460 rm -f core *.core core.conftest.* &&
2461 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2464 for ac_signal in 1 2 13 15; do
2465 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2469 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2470 rm -f -r conftest* confdefs.h
2472 $as_echo "/* confdefs.h */" > confdefs.h
2474 # Predefined preprocessor variables.
2476 cat >>confdefs.h <<_ACEOF
2477 #define PACKAGE_NAME "$PACKAGE_NAME"
2480 cat >>confdefs.h <<_ACEOF
2481 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2484 cat >>confdefs.h <<_ACEOF
2485 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2488 cat >>confdefs.h <<_ACEOF
2489 #define PACKAGE_STRING "$PACKAGE_STRING"
2492 cat >>confdefs.h <<_ACEOF
2493 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2496 cat >>confdefs.h <<_ACEOF
2497 #define PACKAGE_URL "$PACKAGE_URL"
2501 # Let the site file select an alternate cache file if it wants to.
2502 # Prefer an explicitly selected file to automatically selected ones.
2505 if test -n "$CONFIG_SITE"; then
2506 # We do not want a PATH search for config.site.
2507 case $CONFIG_SITE in #((
2508 -*) ac_site_file1=./$CONFIG_SITE;;
2509 */*) ac_site_file1=$CONFIG_SITE;;
2510 *) ac_site_file1=./$CONFIG_SITE;;
2512 elif test "x$prefix" != xNONE; then
2513 ac_site_file1=$prefix/share/config.site
2514 ac_site_file2=$prefix/etc/config.site
2516 ac_site_file1=$ac_default_prefix/share/config.site
2517 ac_site_file2=$ac_default_prefix/etc/config.site
2519 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2521 test "x$ac_site_file" = xNONE && continue
2522 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2523 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2524 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2525 sed 's/^/| /' "$ac_site_file" >&5
2527 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2528 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2529 as_fn_error $? "failed to load site script $ac_site_file
2530 See \`config.log' for more details" "$LINENO" 5; }
2534 if test -r "$cache_file"; then
2535 # Some versions of bash will fail to source /dev/null (special files
2536 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2537 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2538 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2539 $as_echo "$as_me: loading cache $cache_file" >&6;}
2541 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2542 *) . "./$cache_file";;
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2547 $as_echo "$as_me: creating cache $cache_file" >&6;}
2551 # Check that the precious variables saved in the cache have kept the same
2553 ac_cache_corrupted=false
2554 for ac_var in $ac_precious_vars; do
2555 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2556 eval ac_new_set=\$ac_env_${ac_var}_set
2557 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2558 eval ac_new_val=\$ac_env_${ac_var}_value
2559 case $ac_old_set,$ac_new_set in
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2562 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2563 ac_cache_corrupted=: ;;
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2566 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2567 ac_cache_corrupted=: ;;
2570 if test "x$ac_old_val" != "x$ac_new_val"; then
2571 # differences in whitespace do not lead to failure.
2572 ac_old_val_w=`echo x $ac_old_val`
2573 ac_new_val_w=`echo x $ac_new_val`
2574 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2576 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2577 ac_cache_corrupted=:
2579 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2580 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2581 eval $ac_var=\$ac_old_val
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2584 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2586 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2589 # Pass precious variables to config.status.
2590 if test "$ac_new_set" = set; then
2592 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2593 *) ac_arg=$ac_var=$ac_new_val ;;
2595 case " $ac_configure_args " in
2596 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2597 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2601 if $ac_cache_corrupted; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2603 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2605 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2606 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2608 ## -------------------- ##
2609 ## Main body of script. ##
2610 ## -------------------- ##
2613 ac_cpp='$CPP $CPPFLAGS'
2614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2620 for ac_dir in build-aux "$srcdir"/build-aux; do
2621 if test -f "$ac_dir/install-sh"; then
2623 ac_install_sh="$ac_aux_dir/install-sh -c"
2625 elif test -f "$ac_dir/install.sh"; then
2627 ac_install_sh="$ac_aux_dir/install.sh -c"
2629 elif test -f "$ac_dir/shtool"; then
2631 ac_install_sh="$ac_aux_dir/shtool install -c"
2635 if test -z "$ac_aux_dir"; then
2636 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2639 # These three variables are undocumented and unsupported,
2640 # and are intended to be withdrawn in a future Autoconf release.
2641 # They can cause serious problems if a builder's source tree is in a directory
2642 # whose full name contains unusual characters.
2643 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2644 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2645 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2650 am__api_version='1.14'
2652 # Find a good install program. We prefer a C program (faster),
2653 # so one script is as good as another. But avoid the broken or
2654 # incompatible versions:
2655 # SysV /etc/install, /usr/sbin/install
2656 # SunOS /usr/etc/install
2657 # IRIX /sbin/install
2659 # AmigaOS /C/install, which installs bootblocks on floppy discs
2660 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2661 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2662 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2663 # OS/2's system install, which has a completely different semantic
2664 # ./install, which can be erroneously created by make from ./install.sh.
2665 # Reject install programs that cannot install multiple files.
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2667 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2668 if test -z "$INSTALL"; then
2669 if ${ac_cv_path_install+:} false; then :
2670 $as_echo_n "(cached) " >&6
2672 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2676 test -z "$as_dir" && as_dir=.
2677 # Account for people who put trailing slashes in PATH elements.
2678 case $as_dir/ in #((
2679 ./ | .// | /[cC]/* | \
2680 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2681 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2684 # OSF1 and SCO ODT 3.0 have their own names for install.
2685 # Don't use installbsd from OSF since it installs stuff as root
2687 for ac_prog in ginstall scoinst install; do
2688 for ac_exec_ext in '' $ac_executable_extensions; do
2689 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2690 if test $ac_prog = install &&
2691 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2692 # AIX install. It has an incompatible calling convention.
2694 elif test $ac_prog = install &&
2695 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2696 # program-specific install script used by HP pwplus--don't use.
2699 rm -rf conftest.one conftest.two conftest.dir
2700 echo one > conftest.one
2701 echo two > conftest.two
2703 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2704 test -s conftest.one && test -s conftest.two &&
2705 test -s conftest.dir/conftest.one &&
2706 test -s conftest.dir/conftest.two
2708 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2721 rm -rf conftest.one conftest.two conftest.dir
2724 if test "${ac_cv_path_install+set}" = set; then
2725 INSTALL=$ac_cv_path_install
2727 # As a last resort, use the slow shell script. Don't cache a
2728 # value for INSTALL within a source directory, because that will
2729 # break other packages using the cache if that directory is
2730 # removed, or if the value is a relative name.
2731 INSTALL=$ac_install_sh
2734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2735 $as_echo "$INSTALL" >&6; }
2737 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2738 # It thinks the first close brace ends the variable substitution.
2739 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2741 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2743 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2746 $as_echo_n "checking whether build environment is sane... " >&6; }
2747 # Reject unsafe characters in $srcdir or the absolute working directory
2748 # name. Accept space and tab only in the latter.
2752 *[\\\"\#\$\&\'\`$am_lf]*)
2753 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2756 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2757 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2760 # Do 'set' in a subshell so we don't clobber the current shell's
2761 # arguments. Must try -L first in case configure is actually a
2762 # symlink; some systems play weird games with the mod time of symlinks
2763 # (eg FreeBSD returns the mod time of the symlink's containing
2767 for am_try in 1 2; do
2768 echo "timestamp, slept: $am_has_slept" > conftest.file
2769 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2770 if test "$*" = "X"; then
2772 set X `ls -t "$srcdir/configure" conftest.file`
2774 if test "$*" != "X $srcdir/configure conftest.file" \
2775 && test "$*" != "X conftest.file $srcdir/configure"; then
2777 # If neither matched, then we have a broken ls. This can happen
2778 # if, for instance, CONFIG_SHELL is bash and it inherits a
2779 # broken ls alias from the environment. This has actually
2780 # happened. Such a system could not be considered "sane".
2781 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2782 alias in your environment" "$LINENO" 5
2784 if test "$2" = conftest.file || test $am_try -eq 2; then
2791 test "$2" = conftest.file
2797 as_fn_error $? "newly created file is older than distributed files!
2798 Check your system clock" "$LINENO" 5
2800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2801 $as_echo "yes" >&6; }
2802 # If we didn't sleep, we still need to ensure time stamps of config.status and
2803 # generated files are strictly newer.
2805 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2812 test "$program_prefix" != NONE &&
2813 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2814 # Use a double $ so make ignores it.
2815 test "$program_suffix" != NONE &&
2816 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2817 # Double any \ or $.
2818 # By default was `s,x,x', remove it if useless.
2819 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2820 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2822 # expand $ac_aux_dir to an absolute path
2823 am_aux_dir=`cd $ac_aux_dir && pwd`
2825 if test x"${MISSING+set}" != xset; then
2828 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2830 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2833 # Use eval to expand $SHELL
2834 if eval "$MISSING --is-lightweight"; then
2835 am_missing_run="$MISSING "
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2839 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2842 if test x"${install_sh}" != xset; then
2845 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2847 install_sh="\${SHELL} $am_aux_dir/install-sh"
2851 # Installed binaries are usually stripped using 'strip' when the user
2852 # run "make install-strip". However 'strip' might not be the right
2853 # tool to use in cross-compilation environments, therefore Automake
2854 # will honor the 'STRIP' environment variable to overrule this program.
2855 if test "$cross_compiling" != no; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2858 set dummy ${ac_tool_prefix}strip; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_STRIP+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$STRIP"; then
2865 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2884 STRIP=$ac_cv_prog_STRIP
2885 if test -n "$STRIP"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2887 $as_echo "$STRIP" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2895 if test -z "$ac_cv_prog_STRIP"; then
2897 # Extract the first word of "strip", so it can be a program name with args.
2898 set dummy strip; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$ac_ct_STRIP"; then
2905 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2911 test -z "$as_dir" && as_dir=.
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2914 ac_cv_prog_ac_ct_STRIP="strip"
2915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2924 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2925 if test -n "$ac_ct_STRIP"; then
2926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2927 $as_echo "$ac_ct_STRIP" >&6; }
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2930 $as_echo "no" >&6; }
2933 if test "x$ac_ct_STRIP" = x; then
2936 case $cross_compiling:$ac_tool_warned in
2938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2940 ac_tool_warned=yes ;;
2945 STRIP="$ac_cv_prog_STRIP"
2949 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2952 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2953 if test -z "$MKDIR_P"; then
2954 if ${ac_cv_path_mkdir+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2958 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2961 test -z "$as_dir" && as_dir=.
2962 for ac_prog in mkdir gmkdir; do
2963 for ac_exec_ext in '' $ac_executable_extensions; do
2964 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2965 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2966 'mkdir (GNU coreutils) '* | \
2967 'mkdir (coreutils) '* | \
2968 'mkdir (fileutils) '4.1*)
2969 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2979 test -d ./--version && rmdir ./--version
2980 if test "${ac_cv_path_mkdir+set}" = set; then
2981 MKDIR_P="$ac_cv_path_mkdir -p"
2983 # As a last resort, use the slow shell script. Don't cache a
2984 # value for MKDIR_P within a source directory, because that will
2985 # break other packages using the cache if that directory is
2986 # removed, or if the value is a relative name.
2987 MKDIR_P="$ac_install_sh -d"
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2991 $as_echo "$MKDIR_P" >&6; }
2993 for ac_prog in gawk mawk nawk awk
2995 # Extract the first word of "$ac_prog", so it can be a program name with args.
2996 set dummy $ac_prog; ac_word=$2
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2998 $as_echo_n "checking for $ac_word... " >&6; }
2999 if ${ac_cv_prog_AWK+:} false; then :
3000 $as_echo_n "(cached) " >&6
3002 if test -n "$AWK"; then
3003 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3009 test -z "$as_dir" && as_dir=.
3010 for ac_exec_ext in '' $ac_executable_extensions; do
3011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3012 ac_cv_prog_AWK="$ac_prog"
3013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3023 if test -n "$AWK"; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3025 $as_echo "$AWK" >&6; }
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3028 $as_echo "no" >&6; }
3032 test -n "$AWK" && break
3035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3036 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3038 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3039 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3040 $as_echo_n "(cached) " >&6
3042 cat >conftest.make <<\_ACEOF
3045 @echo '@@@%%%=$(MAKE)=@@@%%%'
3047 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3048 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3050 eval ac_cv_prog_make_${ac_make}_set=yes;;
3052 eval ac_cv_prog_make_${ac_make}_set=no;;
3056 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3058 $as_echo "yes" >&6; }
3061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3062 $as_echo "no" >&6; }
3063 SET_MAKE="MAKE=${MAKE-make}"
3066 rm -rf .tst 2>/dev/null
3067 mkdir .tst 2>/dev/null
3068 if test -d .tst; then
3073 rmdir .tst 2>/dev/null
3075 # Check whether --enable-silent-rules was given.
3076 if test "${enable_silent_rules+set}" = set; then :
3077 enableval=$enable_silent_rules;
3080 case $enable_silent_rules in # (((
3081 yes) AM_DEFAULT_VERBOSITY=0;;
3082 no) AM_DEFAULT_VERBOSITY=1;;
3083 *) AM_DEFAULT_VERBOSITY=1;;
3085 am_make=${MAKE-make}
3086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3087 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3088 if ${am_cv_make_support_nested_variables+:} false; then :
3089 $as_echo_n "(cached) " >&6
3091 if $as_echo 'TRUE=$(BAR$(V))
3097 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3098 am_cv_make_support_nested_variables=yes
3100 am_cv_make_support_nested_variables=no
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3104 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3105 if test $am_cv_make_support_nested_variables = yes; then
3107 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3109 AM_V=$AM_DEFAULT_VERBOSITY
3110 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3114 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3115 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3116 # is not polluted with repeated "-I."
3117 am__isrc=' -I$(srcdir)'
3118 # test to see if srcdir already configured
3119 if test -f $srcdir/config.status; then
3120 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3124 # test whether we have cygpath
3125 if test -z "$CYGPATH_W"; then
3126 if (cygpath --version) >/dev/null 2>/dev/null; then
3127 CYGPATH_W='cygpath -w'
3134 # Define the identity of the package.
3135 PACKAGE='krb5-strength'
3139 cat >>confdefs.h <<_ACEOF
3140 #define PACKAGE "$PACKAGE"
3144 cat >>confdefs.h <<_ACEOF
3145 #define VERSION "$VERSION"
3148 # Some tools Automake needs.
3150 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3153 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3156 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3159 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3162 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3164 # For better backward compatibility. To be removed once Automake 1.9.x
3165 # dies out for good. For more background, see:
3166 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3167 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3168 mkdir_p='$(MKDIR_P)'
3170 # We need awk for the "check" target. The system "awk" is bad on
3172 # Always define AMTAR for backward compatibility. Yes, it's still used
3173 # in the wild :-( We should find a proper way to deprecate it ...
3177 # We'll loop over all known methods to create a tar archive until one works.
3178 _am_tools='gnutar pax cpio none'
3180 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3187 # POSIX will say in a future version that running "rm -f" with no argument
3188 # is OK; and we want to be able to make that assumption in our Makefile
3189 # recipes. So use an aggressive probe to check that the usage we want is
3190 # actually supported "in the wild" to an acceptable degree.
3191 # See automake bug#10828.
3192 # To make any issue more visible, cause the running configure to be aborted
3193 # by default if the 'rm' program in use doesn't match our expectations; the
3194 # user can still override this though.
3195 if rm -f && rm -fr && rm -rf; then : OK; else
3199 Your 'rm' program seems unable to run without file operands specified
3200 on the command line, even when the '-f' option is present. This is contrary
3201 to the behaviour of most rm programs out there, and not conforming with
3202 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3204 Please tell bug-automake@gnu.org about your system, including the value
3205 of your $PATH and any error possibly output before this message. This
3206 can help us improve future automake versions.
3209 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3210 echo 'Configuration will proceed anyway, since you have set the' >&2
3211 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3215 Aborting the configuration process, to ensure you take notice of the issue.
3217 You can download and install GNU coreutils to get an 'rm' implementation
3218 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3220 If you want to complete the configuration process using your problematic
3221 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3222 to "yes", and re-run configure.
3225 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3231 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3232 # Check whether --enable-maintainer-mode was given.
3233 if test "${enable_maintainer_mode+set}" = set; then :
3234 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3236 USE_MAINTAINER_MODE=no
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3240 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3241 if test $USE_MAINTAINER_MODE = yes; then
3242 MAINTAINER_MODE_TRUE=
3243 MAINTAINER_MODE_FALSE='#'
3245 MAINTAINER_MODE_TRUE='#'
3246 MAINTAINER_MODE_FALSE=
3249 MAINT=$MAINTAINER_MODE_TRUE
3254 ac_cpp='$CPP $CPPFLAGS'
3255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3258 if test -n "$ac_tool_prefix"; then
3259 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3260 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3262 $as_echo_n "checking for $ac_word... " >&6; }
3263 if ${ac_cv_prog_CC+:} false; then :
3264 $as_echo_n "(cached) " >&6
3266 if test -n "$CC"; then
3267 ac_cv_prog_CC="$CC" # Let the user override the test.
3269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3273 test -z "$as_dir" && as_dir=.
3274 for ac_exec_ext in '' $ac_executable_extensions; do
3275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3276 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3287 if test -n "$CC"; then
3288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3289 $as_echo "$CC" >&6; }
3291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3292 $as_echo "no" >&6; }
3297 if test -z "$ac_cv_prog_CC"; then
3299 # Extract the first word of "gcc", so it can be a program name with args.
3300 set dummy gcc; ac_word=$2
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3302 $as_echo_n "checking for $ac_word... " >&6; }
3303 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3304 $as_echo_n "(cached) " >&6
3306 if test -n "$ac_ct_CC"; then
3307 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3309 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3313 test -z "$as_dir" && as_dir=.
3314 for ac_exec_ext in '' $ac_executable_extensions; do
3315 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3316 ac_cv_prog_ac_ct_CC="gcc"
3317 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3326 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3327 if test -n "$ac_ct_CC"; then
3328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3329 $as_echo "$ac_ct_CC" >&6; }
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3332 $as_echo "no" >&6; }
3335 if test "x$ac_ct_CC" = x; then
3338 case $cross_compiling:$ac_tool_warned in
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3341 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3342 ac_tool_warned=yes ;;
3350 if test -z "$CC"; then
3351 if test -n "$ac_tool_prefix"; then
3352 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3353 set dummy ${ac_tool_prefix}cc; ac_word=$2
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3355 $as_echo_n "checking for $ac_word... " >&6; }
3356 if ${ac_cv_prog_CC+:} false; then :
3357 $as_echo_n "(cached) " >&6
3359 if test -n "$CC"; then
3360 ac_cv_prog_CC="$CC" # Let the user override the test.
3362 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3366 test -z "$as_dir" && as_dir=.
3367 for ac_exec_ext in '' $ac_executable_extensions; do
3368 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3369 ac_cv_prog_CC="${ac_tool_prefix}cc"
3370 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3380 if test -n "$CC"; then
3381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3382 $as_echo "$CC" >&6; }
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3385 $as_echo "no" >&6; }
3391 if test -z "$CC"; then
3392 # Extract the first word of "cc", so it can be a program name with args.
3393 set dummy cc; ac_word=$2
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3395 $as_echo_n "checking for $ac_word... " >&6; }
3396 if ${ac_cv_prog_CC+:} false; then :
3397 $as_echo_n "(cached) " >&6
3399 if test -n "$CC"; then
3400 ac_cv_prog_CC="$CC" # Let the user override the test.
3403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3407 test -z "$as_dir" && as_dir=.
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3410 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3411 ac_prog_rejected=yes
3415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3422 if test $ac_prog_rejected = yes; then
3423 # We found a bogon in the path, so make sure we never use it.
3424 set dummy $ac_cv_prog_CC
3426 if test $# != 0; then
3427 # We chose a different compiler from the bogus one.
3428 # However, it has the same basename, so the bogon will be chosen
3429 # first if we set CC to just the basename; use the full file name.
3431 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3437 if test -n "$CC"; then
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3439 $as_echo "$CC" >&6; }
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3447 if test -z "$CC"; then
3448 if test -n "$ac_tool_prefix"; then
3449 for ac_prog in cl.exe
3451 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3452 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3454 $as_echo_n "checking for $ac_word... " >&6; }
3455 if ${ac_cv_prog_CC+:} false; then :
3456 $as_echo_n "(cached) " >&6
3458 if test -n "$CC"; then
3459 ac_cv_prog_CC="$CC" # Let the user override the test.
3461 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3465 test -z "$as_dir" && as_dir=.
3466 for ac_exec_ext in '' $ac_executable_extensions; do
3467 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3468 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3469 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3479 if test -n "$CC"; then
3480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3481 $as_echo "$CC" >&6; }
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3484 $as_echo "no" >&6; }
3488 test -n "$CC" && break
3491 if test -z "$CC"; then
3493 for ac_prog in cl.exe
3495 # Extract the first word of "$ac_prog", so it can be a program name with args.
3496 set dummy $ac_prog; ac_word=$2
3497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3498 $as_echo_n "checking for $ac_word... " >&6; }
3499 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3500 $as_echo_n "(cached) " >&6
3502 if test -n "$ac_ct_CC"; then
3503 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3509 test -z "$as_dir" && as_dir=.
3510 for ac_exec_ext in '' $ac_executable_extensions; do
3511 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3512 ac_cv_prog_ac_ct_CC="$ac_prog"
3513 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3522 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3523 if test -n "$ac_ct_CC"; then
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3525 $as_echo "$ac_ct_CC" >&6; }
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 $as_echo "no" >&6; }
3532 test -n "$ac_ct_CC" && break
3535 if test "x$ac_ct_CC" = x; then
3538 case $cross_compiling:$ac_tool_warned in
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3541 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3542 ac_tool_warned=yes ;;
3551 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3552 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3553 as_fn_error $? "no acceptable C compiler found in \$PATH
3554 See \`config.log' for more details" "$LINENO" 5; }
3556 # Provide some information about the compiler.
3557 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3560 for ac_option in --version -v -V -qversion; do
3561 { { ac_try="$ac_compiler $ac_option >&5"
3563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3564 *) ac_try_echo=$ac_try;;
3566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3567 $as_echo "$ac_try_echo"; } >&5
3568 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3570 if test -s conftest.err; then
3572 ... rest of stderr output deleted ...
3573 10q' conftest.err >conftest.er1
3574 cat conftest.er1 >&5
3576 rm -f conftest.er1 conftest.err
3577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3578 test $ac_status = 0; }
3581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3582 /* end confdefs.h. */
3592 ac_clean_files_save=$ac_clean_files
3593 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3594 # Try to create an executable without -o first, disregard a.out.
3595 # It will help us diagnose broken compilers, and finding out an intuition
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3598 $as_echo_n "checking whether the C compiler works... " >&6; }
3599 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3601 # The possible output files:
3602 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3605 for ac_file in $ac_files
3608 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3609 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3614 if { { ac_try="$ac_link_default"
3616 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3617 *) ac_try_echo=$ac_try;;
3619 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3620 $as_echo "$ac_try_echo"; } >&5
3621 (eval "$ac_link_default") 2>&5
3623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3624 test $ac_status = 0; }; then :
3625 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3626 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3627 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3628 # so that the user can short-circuit this test for compilers unknown to
3630 for ac_file in $ac_files ''
3632 test -f "$ac_file" || continue
3634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3637 # We found the default executable, but exeext='' is most
3641 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3643 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3645 # We set ac_cv_exeext here because the later test for it is not
3646 # safe: cross compilers may not add the suffix if given an `-o'
3647 # argument, so we may need to know it at that point already.
3648 # Even if this section looks crufty: it has the advantage of
3655 test "$ac_cv_exeext" = no && ac_cv_exeext=
3660 if test -z "$ac_file"; then :
3661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3662 $as_echo "no" >&6; }
3663 $as_echo "$as_me: failed program was:" >&5
3664 sed 's/^/| /' conftest.$ac_ext >&5
3666 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3667 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3668 as_fn_error 77 "C compiler cannot create executables
3669 See \`config.log' for more details" "$LINENO" 5; }
3671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3672 $as_echo "yes" >&6; }
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3675 $as_echo_n "checking for C compiler default output file name... " >&6; }
3676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3677 $as_echo "$ac_file" >&6; }
3678 ac_exeext=$ac_cv_exeext
3680 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3681 ac_clean_files=$ac_clean_files_save
3682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3683 $as_echo_n "checking for suffix of executables... " >&6; }
3684 if { { ac_try="$ac_link"
3686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3687 *) ac_try_echo=$ac_try;;
3689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3690 $as_echo "$ac_try_echo"; } >&5
3691 (eval "$ac_link") 2>&5
3693 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3694 test $ac_status = 0; }; then :
3695 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3696 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3697 # work properly (i.e., refer to `conftest.exe'), while it won't with
3699 for ac_file in conftest.exe conftest conftest.*; do
3700 test -f "$ac_file" || continue
3702 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3703 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3709 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3710 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3711 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3712 See \`config.log' for more details" "$LINENO" 5; }
3714 rm -f conftest conftest$ac_cv_exeext
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3716 $as_echo "$ac_cv_exeext" >&6; }
3718 rm -f conftest.$ac_ext
3719 EXEEXT=$ac_cv_exeext
3721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3727 FILE *f = fopen ("conftest.out", "w");
3728 return ferror (f) || fclose (f) != 0;
3734 ac_clean_files="$ac_clean_files conftest.out"
3735 # Check that the compiler produces executables we can run. If not, either
3736 # the compiler is broken, or we cross compile.
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3738 $as_echo_n "checking whether we are cross compiling... " >&6; }
3739 if test "$cross_compiling" != yes; then
3740 { { ac_try="$ac_link"
3742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3743 *) ac_try_echo=$ac_try;;
3745 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3746 $as_echo "$ac_try_echo"; } >&5
3747 (eval "$ac_link") 2>&5
3749 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3750 test $ac_status = 0; }
3751 if { ac_try='./conftest$ac_cv_exeext'
3752 { { case "(($ac_try" in
3753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3754 *) ac_try_echo=$ac_try;;
3756 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3757 $as_echo "$ac_try_echo"; } >&5
3758 (eval "$ac_try") 2>&5
3760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3761 test $ac_status = 0; }; }; then
3764 if test "$cross_compiling" = maybe; then
3767 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3768 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3769 as_fn_error $? "cannot run C compiled programs.
3770 If you meant to cross compile, use \`--host'.
3771 See \`config.log' for more details" "$LINENO" 5; }
3775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3776 $as_echo "$cross_compiling" >&6; }
3778 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3779 ac_clean_files=$ac_clean_files_save
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3781 $as_echo_n "checking for suffix of object files... " >&6; }
3782 if ${ac_cv_objext+:} false; then :
3783 $as_echo_n "(cached) " >&6
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3796 rm -f conftest.o conftest.obj
3797 if { { ac_try="$ac_compile"
3799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3800 *) ac_try_echo=$ac_try;;
3802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3803 $as_echo "$ac_try_echo"; } >&5
3804 (eval "$ac_compile") 2>&5
3806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3807 test $ac_status = 0; }; then :
3808 for ac_file in conftest.o conftest.obj conftest.*; do
3809 test -f "$ac_file" || continue;
3811 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3812 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3817 $as_echo "$as_me: failed program was:" >&5
3818 sed 's/^/| /' conftest.$ac_ext >&5
3820 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3821 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3822 as_fn_error $? "cannot compute suffix of object files: cannot compile
3823 See \`config.log' for more details" "$LINENO" 5; }
3825 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3828 $as_echo "$ac_cv_objext" >&6; }
3829 OBJEXT=$ac_cv_objext
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3832 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3833 if ${ac_cv_c_compiler_gnu+:} false; then :
3834 $as_echo_n "(cached) " >&6
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3837 /* end confdefs.h. */
3850 if ac_fn_c_try_compile "$LINENO"; then :
3855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3856 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3860 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3861 if test $ac_compiler_gnu = yes; then
3866 ac_test_CFLAGS=${CFLAGS+set}
3867 ac_save_CFLAGS=$CFLAGS
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3869 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3870 if ${ac_cv_prog_cc_g+:} false; then :
3871 $as_echo_n "(cached) " >&6
3873 ac_save_c_werror_flag=$ac_c_werror_flag
3874 ac_c_werror_flag=yes
3877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3878 /* end confdefs.h. */
3888 if ac_fn_c_try_compile "$LINENO"; then :
3892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3893 /* end confdefs.h. */
3903 if ac_fn_c_try_compile "$LINENO"; then :
3906 ac_c_werror_flag=$ac_save_c_werror_flag
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3919 if ac_fn_c_try_compile "$LINENO"; then :
3922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3927 ac_c_werror_flag=$ac_save_c_werror_flag
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3930 $as_echo "$ac_cv_prog_cc_g" >&6; }
3931 if test "$ac_test_CFLAGS" = set; then
3932 CFLAGS=$ac_save_CFLAGS
3933 elif test $ac_cv_prog_cc_g = yes; then
3934 if test "$GCC" = yes; then
3940 if test "$GCC" = yes; then
3946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3947 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3948 if ${ac_cv_prog_cc_c89+:} false; then :
3949 $as_echo_n "(cached) " >&6
3951 ac_cv_prog_cc_c89=no
3953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3954 /* end confdefs.h. */
3958 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3959 struct buf { int x; };
3960 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3961 static char *e (p, i)
3967 static char *f (char * (*g) (char **, int), char **p, ...)
3972 s = g (p, va_arg (v,int));
3977 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3978 function prototypes and stuff, but not '\xHH' hex character constants.
3979 These don't provoke an error unfortunately, instead are silently treated
3980 as 'x'. The following induces an error, until -std is added to get
3981 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3982 array size at least. It's necessary to write '\x00'==0 to get something
3983 that's true only with -std. */
3984 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3986 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3987 inside strings and character constants. */
3989 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3991 int test (int i, double x);
3992 struct s1 {int (*f) (int a);};
3993 struct s2 {int (*f) (double a);};
3994 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4000 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4005 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4006 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4008 CC="$ac_save_CC $ac_arg"
4009 if ac_fn_c_try_compile "$LINENO"; then :
4010 ac_cv_prog_cc_c89=$ac_arg
4012 rm -f core conftest.err conftest.$ac_objext
4013 test "x$ac_cv_prog_cc_c89" != "xno" && break
4015 rm -f conftest.$ac_ext
4020 case "x$ac_cv_prog_cc_c89" in
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4023 $as_echo "none needed" >&6; } ;;
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4026 $as_echo "unsupported" >&6; } ;;
4028 CC="$CC $ac_cv_prog_cc_c89"
4029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4030 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4032 if test "x$ac_cv_prog_cc_c89" != xno; then :
4037 ac_cpp='$CPP $CPPFLAGS'
4038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4043 ac_cpp='$CPP $CPPFLAGS'
4044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4048 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4049 if ${am_cv_prog_cc_c_o+:} false; then :
4050 $as_echo_n "(cached) " >&6
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4063 # Make sure it works both with $CC and with simple cc.
4064 # Following AC_PROG_CC_C_O, we do the test twice because some
4065 # compilers refuse to overwrite an existing .o file with -o,
4066 # though they will create one.
4067 am_cv_prog_cc_c_o=yes
4069 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4070 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4073 (exit $ac_status); } \
4074 && test -f conftest2.$ac_objext; then
4077 am_cv_prog_cc_c_o=no
4081 rm -f core conftest*
4084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4085 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4086 if test "$am_cv_prog_cc_c_o" != yes; then
4087 # Losing compiler, so override with the script.
4088 # FIXME: It is wrong to rewrite CC.
4089 # But if we don't then we get into trouble of one sort or another.
4090 # A longer-term fix would be to have automake use am__CC in this case,
4091 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4092 CC="$am_aux_dir/compile $CC"
4095 ac_cpp='$CPP $CPPFLAGS'
4096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4100 DEPDIR="${am__leading_dot}deps"
4102 ac_config_commands="$ac_config_commands depfiles"
4105 am_make=${MAKE-make}
4106 cat > confinc << 'END'
4108 @echo this is the am__doit target
4111 # If we don't find an include directive, just comment out the code.
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4113 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4117 # First try GNU make style include.
4118 echo "include confinc" > confmf
4119 # Ignore all kinds of additional output from 'make'.
4120 case `$am_make -s -f confmf 2> /dev/null` in #(
4121 *the\ am__doit\ target*)
4127 # Now try BSD make style include.
4128 if test "$am__include" = "#"; then
4129 echo '.include "confinc"' > confmf
4130 case `$am_make -s -f confmf 2> /dev/null` in #(
4131 *the\ am__doit\ target*)
4132 am__include=.include
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4141 $as_echo "$_am_result" >&6; }
4142 rm -f confinc confmf
4144 # Check whether --enable-dependency-tracking was given.
4145 if test "${enable_dependency_tracking+set}" = set; then :
4146 enableval=$enable_dependency_tracking;
4149 if test "x$enable_dependency_tracking" != xno; then
4150 am_depcomp="$ac_aux_dir/depcomp"
4154 if test "x$enable_dependency_tracking" != xno; then
4164 depcc="$CC" am_compiler_list=
4166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4167 $as_echo_n "checking dependency style of $depcc... " >&6; }
4168 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4169 $as_echo_n "(cached) " >&6
4171 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4172 # We make a subdir and do the tests there. Otherwise we can end up
4173 # making bogus files that we don't know about and never remove. For
4174 # instance it was reported that on HP-UX the gcc test will end up
4175 # making a dummy file named 'D' -- because '-MD' means "put the output
4179 # Copy depcomp to subdir because otherwise we won't find it if we're
4180 # using a relative directory.
4181 cp "$am_depcomp" conftest.dir
4183 # We will build objects and dependencies in a subdirectory because
4184 # it helps to detect inapplicable dependency modes. For instance
4185 # both Tru64's cc and ICC support -MD to output dependencies as a
4186 # side effect of compilation, but ICC will put the dependencies in
4187 # the current directory while Tru64 will put them in the object
4191 am_cv_CC_dependencies_compiler_type=none
4192 if test "$am_compiler_list" = ""; then
4193 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4196 case " $depcc " in #(
4197 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4200 for depmode in $am_compiler_list; do
4201 # Setup a source with many dependencies, because some compilers
4202 # like to wrap large dependency lists on column 80 (with \), and
4203 # we should not choose a depcomp mode which is confused by this.
4205 # We need to recreate these files for each test, as the compiler may
4206 # overwrite some of them when testing with obscure command lines.
4207 # This happens at least with the AIX C compiler.
4209 for i in 1 2 3 4 5 6; do
4210 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4211 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4212 # Solaris 10 /bin/sh.
4213 echo '/* dummy */' > sub/conftst$i.h
4215 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4217 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4218 # mode. It turns out that the SunPro C++ compiler does not properly
4219 # handle '-M -o', and we need to detect this. Also, some Intel
4220 # versions had trouble with output in subdirs.
4221 am__obj=sub/conftest.${OBJEXT-o}
4222 am__minus_obj="-o $am__obj"
4225 # This depmode causes a compiler race in universal mode.
4226 test "$am__universal" = false || continue
4229 # After this tag, mechanisms are not by side-effect, so they'll
4230 # only be used when explicitly requested.
4231 if test "x$enable_dependency_tracking" = xyes; then
4237 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4238 # This compiler won't grok '-c -o', but also, the minuso test has
4239 # not run yet. These depmodes are late enough in the game, and
4240 # so weak that their functioning should not be impacted.
4241 am__obj=conftest.${OBJEXT-o}
4246 if depmode=$depmode \
4247 source=sub/conftest.c object=$am__obj \
4248 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4249 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4250 >/dev/null 2>conftest.err &&
4251 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4252 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4253 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4254 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4255 # icc doesn't choke on unknown options, it will just issue warnings
4256 # or remarks (even with -Werror). So we grep stderr for any message
4257 # that says an option was ignored or not supported.
4258 # When given -MP, icc 7.0 and 7.1 complain thusly:
4259 # icc: Command line warning: ignoring option '-M'; no argument required
4260 # The diagnosis changed in icc 8.0:
4261 # icc: Command line remark: option '-MP' not supported
4262 if (grep 'ignoring option' conftest.err ||
4263 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4264 am_cv_CC_dependencies_compiler_type=$depmode
4273 am_cv_CC_dependencies_compiler_type=none
4277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4278 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4279 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4282 test "x$enable_dependency_tracking" != xno \
4283 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4285 am__fastdepCC_FALSE='#'
4287 am__fastdepCC_TRUE='#'
4288 am__fastdepCC_FALSE=
4294 ac_cpp='$CPP $CPPFLAGS'
4295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4299 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4300 # On Suns, sometimes $CPP names a directory.
4301 if test -n "$CPP" && test -d "$CPP"; then
4304 if test -z "$CPP"; then
4305 if ${ac_cv_prog_CPP+:} false; then :
4306 $as_echo_n "(cached) " >&6
4308 # Double quotes because CPP needs to be expanded
4309 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4312 for ac_c_preproc_warn_flag in '' yes
4314 # Use a header file that comes with gcc, so configuring glibc
4315 # with a fresh cross-compiler works.
4316 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4317 # <limits.h> exists even on freestanding compilers.
4318 # On the NeXT, cc -E runs the code through the compiler's parser,
4319 # not just through cpp. "Syntax error" is here to catch this case.
4320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4321 /* end confdefs.h. */
4323 # include <limits.h>
4325 # include <assert.h>
4329 if ac_fn_c_try_cpp "$LINENO"; then :
4332 # Broken: fails on valid input.
4335 rm -f conftest.err conftest.i conftest.$ac_ext
4337 # OK, works on sane cases. Now check whether nonexistent headers
4338 # can be detected and how.
4339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4340 /* end confdefs.h. */
4341 #include <ac_nonexistent.h>
4343 if ac_fn_c_try_cpp "$LINENO"; then :
4344 # Broken: success on invalid input.
4347 # Passes both tests.
4351 rm -f conftest.err conftest.i conftest.$ac_ext
4354 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4355 rm -f conftest.i conftest.err conftest.$ac_ext
4356 if $ac_preproc_ok; then :
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4369 $as_echo "$CPP" >&6; }
4371 for ac_c_preproc_warn_flag in '' yes
4373 # Use a header file that comes with gcc, so configuring glibc
4374 # with a fresh cross-compiler works.
4375 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4376 # <limits.h> exists even on freestanding compilers.
4377 # On the NeXT, cc -E runs the code through the compiler's parser,
4378 # not just through cpp. "Syntax error" is here to catch this case.
4379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4380 /* end confdefs.h. */
4382 # include <limits.h>
4384 # include <assert.h>
4388 if ac_fn_c_try_cpp "$LINENO"; then :
4391 # Broken: fails on valid input.
4394 rm -f conftest.err conftest.i conftest.$ac_ext
4396 # OK, works on sane cases. Now check whether nonexistent headers
4397 # can be detected and how.
4398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4399 /* end confdefs.h. */
4400 #include <ac_nonexistent.h>
4402 if ac_fn_c_try_cpp "$LINENO"; then :
4403 # Broken: success on invalid input.
4406 # Passes both tests.
4410 rm -f conftest.err conftest.i conftest.$ac_ext
4413 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4414 rm -f conftest.i conftest.err conftest.$ac_ext
4415 if $ac_preproc_ok; then :
4418 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4419 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4420 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4421 See \`config.log' for more details" "$LINENO" 5; }
4425 ac_cpp='$CPP $CPPFLAGS'
4426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4432 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4433 if ${ac_cv_path_GREP+:} false; then :
4434 $as_echo_n "(cached) " >&6
4436 if test -z "$GREP"; then
4437 ac_path_GREP_found=false
4438 # Loop through the user's path and test for each of PROGNAME-LIST
4439 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4440 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4443 test -z "$as_dir" && as_dir=.
4444 for ac_prog in grep ggrep; do
4445 for ac_exec_ext in '' $ac_executable_extensions; do
4446 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4447 as_fn_executable_p "$ac_path_GREP" || continue
4448 # Check for GNU ac_path_GREP and select it if it is found.
4449 # Check for GNU $ac_path_GREP
4450 case `"$ac_path_GREP" --version 2>&1` in
4452 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4455 $as_echo_n 0123456789 >"conftest.in"
4458 cat "conftest.in" "conftest.in" >"conftest.tmp"
4459 mv "conftest.tmp" "conftest.in"
4460 cp "conftest.in" "conftest.nl"
4461 $as_echo 'GREP' >> "conftest.nl"
4462 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4463 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4464 as_fn_arith $ac_count + 1 && ac_count=$as_val
4465 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4466 # Best one so far, save it but keep looking for a better one
4467 ac_cv_path_GREP="$ac_path_GREP"
4468 ac_path_GREP_max=$ac_count
4470 # 10*(2^10) chars as input seems more than enough
4471 test $ac_count -gt 10 && break
4473 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4476 $ac_path_GREP_found && break 3
4481 if test -z "$ac_cv_path_GREP"; then
4482 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4485 ac_cv_path_GREP=$GREP
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4490 $as_echo "$ac_cv_path_GREP" >&6; }
4491 GREP="$ac_cv_path_GREP"
4494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4495 $as_echo_n "checking for egrep... " >&6; }
4496 if ${ac_cv_path_EGREP+:} false; then :
4497 $as_echo_n "(cached) " >&6
4499 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4500 then ac_cv_path_EGREP="$GREP -E"
4502 if test -z "$EGREP"; then
4503 ac_path_EGREP_found=false
4504 # Loop through the user's path and test for each of PROGNAME-LIST
4505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4506 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4509 test -z "$as_dir" && as_dir=.
4510 for ac_prog in egrep; do
4511 for ac_exec_ext in '' $ac_executable_extensions; do
4512 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4513 as_fn_executable_p "$ac_path_EGREP" || continue
4514 # Check for GNU ac_path_EGREP and select it if it is found.
4515 # Check for GNU $ac_path_EGREP
4516 case `"$ac_path_EGREP" --version 2>&1` in
4518 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4521 $as_echo_n 0123456789 >"conftest.in"
4524 cat "conftest.in" "conftest.in" >"conftest.tmp"
4525 mv "conftest.tmp" "conftest.in"
4526 cp "conftest.in" "conftest.nl"
4527 $as_echo 'EGREP' >> "conftest.nl"
4528 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4529 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4530 as_fn_arith $ac_count + 1 && ac_count=$as_val
4531 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4532 # Best one so far, save it but keep looking for a better one
4533 ac_cv_path_EGREP="$ac_path_EGREP"
4534 ac_path_EGREP_max=$ac_count
4536 # 10*(2^10) chars as input seems more than enough
4537 test $ac_count -gt 10 && break
4539 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4542 $ac_path_EGREP_found && break 3
4547 if test -z "$ac_cv_path_EGREP"; then
4548 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4551 ac_cv_path_EGREP=$EGREP
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4557 $as_echo "$ac_cv_path_EGREP" >&6; }
4558 EGREP="$ac_cv_path_EGREP"
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4562 $as_echo_n "checking for ANSI C header files... " >&6; }
4563 if ${ac_cv_header_stdc+:} false; then :
4564 $as_echo_n "(cached) " >&6
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4581 if ac_fn_c_try_compile "$LINENO"; then :
4582 ac_cv_header_stdc=yes
4584 ac_cv_header_stdc=no
4586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4588 if test $ac_cv_header_stdc = yes; then
4589 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4591 /* end confdefs.h. */
4595 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4596 $EGREP "memchr" >/dev/null 2>&1; then :
4599 ac_cv_header_stdc=no
4605 if test $ac_cv_header_stdc = yes; then
4606 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4612 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4613 $EGREP "free" >/dev/null 2>&1; then :
4616 ac_cv_header_stdc=no
4622 if test $ac_cv_header_stdc = yes; then
4623 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4624 if test "$cross_compiling" = yes; then :
4627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4628 /* end confdefs.h. */
4631 #if ((' ' & 0x0FF) == 0x020)
4632 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4633 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4635 # define ISLOWER(c) \
4636 (('a' <= (c) && (c) <= 'i') \
4637 || ('j' <= (c) && (c) <= 'r') \
4638 || ('s' <= (c) && (c) <= 'z'))
4639 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4642 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4647 for (i = 0; i < 256; i++)
4648 if (XOR (islower (i), ISLOWER (i))
4649 || toupper (i) != TOUPPER (i))
4654 if ac_fn_c_try_run "$LINENO"; then :
4657 ac_cv_header_stdc=no
4659 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4660 conftest.$ac_objext conftest.beam conftest.$ac_ext
4665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4666 $as_echo "$ac_cv_header_stdc" >&6; }
4667 if test $ac_cv_header_stdc = yes; then
4669 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4673 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4674 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4675 inttypes.h stdint.h unistd.h
4677 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4678 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4681 cat >>confdefs.h <<_ACEOF
4682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4691 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4692 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4699 if test "$MINIX" = yes; then
4701 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4704 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4707 $as_echo "#define _MINIX 1" >>confdefs.h
4712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4713 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4714 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4715 $as_echo_n "(cached) " >&6
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4720 # define __EXTENSIONS__ 1
4721 $ac_includes_default
4730 if ac_fn_c_try_compile "$LINENO"; then :
4731 ac_cv_safe_to_define___extensions__=yes
4733 ac_cv_safe_to_define___extensions__=no
4735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4738 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4739 test $ac_cv_safe_to_define___extensions__ = yes &&
4740 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4742 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4744 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4746 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4748 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4751 # Check whether --enable-largefile was given.
4752 if test "${enable_largefile+set}" = set; then :
4753 enableval=$enable_largefile;
4756 if test "$enable_largefile" != no; then
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4759 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4760 if ${ac_cv_sys_largefile_CC+:} false; then :
4761 $as_echo_n "(cached) " >&6
4763 ac_cv_sys_largefile_CC=no
4764 if test "$GCC" != yes; then
4767 # IRIX 6.2 and later do not support large files by default,
4768 # so use the C compiler's -n32 option if that helps.
4769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4770 /* end confdefs.h. */
4771 #include <sys/types.h>
4772 /* Check that off_t can represent 2**63 - 1 correctly.
4773 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4774 since some C++ compilers masquerading as C compilers
4775 incorrectly reject 9223372036854775807. */
4776 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4777 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4778 && LARGE_OFF_T % 2147483647 == 1)
4788 if ac_fn_c_try_compile "$LINENO"; then :
4791 rm -f core conftest.err conftest.$ac_objext
4793 if ac_fn_c_try_compile "$LINENO"; then :
4794 ac_cv_sys_largefile_CC=' -n32'; break
4796 rm -f core conftest.err conftest.$ac_objext
4800 rm -f conftest.$ac_ext
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4804 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4805 if test "$ac_cv_sys_largefile_CC" != no; then
4806 CC=$CC$ac_cv_sys_largefile_CC
4809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4810 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4811 if ${ac_cv_sys_file_offset_bits+:} false; then :
4812 $as_echo_n "(cached) " >&6
4815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4816 /* end confdefs.h. */
4817 #include <sys/types.h>
4818 /* Check that off_t can represent 2**63 - 1 correctly.
4819 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4820 since some C++ compilers masquerading as C compilers
4821 incorrectly reject 9223372036854775807. */
4822 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4823 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4824 && LARGE_OFF_T % 2147483647 == 1)
4834 if ac_fn_c_try_compile "$LINENO"; then :
4835 ac_cv_sys_file_offset_bits=no; break
4837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4839 /* end confdefs.h. */
4840 #define _FILE_OFFSET_BITS 64
4841 #include <sys/types.h>
4842 /* Check that off_t can represent 2**63 - 1 correctly.
4843 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4844 since some C++ compilers masquerading as C compilers
4845 incorrectly reject 9223372036854775807. */
4846 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4847 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4848 && LARGE_OFF_T % 2147483647 == 1)
4858 if ac_fn_c_try_compile "$LINENO"; then :
4859 ac_cv_sys_file_offset_bits=64; break
4861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4862 ac_cv_sys_file_offset_bits=unknown
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4867 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4868 case $ac_cv_sys_file_offset_bits in #(
4871 cat >>confdefs.h <<_ACEOF
4872 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4877 if test $ac_cv_sys_file_offset_bits = unknown; then
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4879 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4880 if ${ac_cv_sys_large_files+:} false; then :
4881 $as_echo_n "(cached) " >&6
4884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4885 /* end confdefs.h. */
4886 #include <sys/types.h>
4887 /* Check that off_t can represent 2**63 - 1 correctly.
4888 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4889 since some C++ compilers masquerading as C compilers
4890 incorrectly reject 9223372036854775807. */
4891 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4892 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4893 && LARGE_OFF_T % 2147483647 == 1)
4903 if ac_fn_c_try_compile "$LINENO"; then :
4904 ac_cv_sys_large_files=no; break
4906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4909 #define _LARGE_FILES 1
4910 #include <sys/types.h>
4911 /* Check that off_t can represent 2**63 - 1 correctly.
4912 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4913 since some C++ compilers masquerading as C compilers
4914 incorrectly reject 9223372036854775807. */
4915 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4916 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4917 && LARGE_OFF_T % 2147483647 == 1)
4927 if ac_fn_c_try_compile "$LINENO"; then :
4928 ac_cv_sys_large_files=1; break
4930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4931 ac_cv_sys_large_files=unknown
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
4936 $as_echo "$ac_cv_sys_large_files" >&6; }
4937 case $ac_cv_sys_large_files in #(
4940 cat >>confdefs.h <<_ACEOF
4941 #define _LARGE_FILES $ac_cv_sys_large_files
4953 if test -n "$ac_tool_prefix"; then
4954 for ac_prog in ar lib "link -lib"
4956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4959 $as_echo_n "checking for $ac_word... " >&6; }
4960 if ${ac_cv_prog_AR+:} false; then :
4961 $as_echo_n "(cached) " >&6
4963 if test -n "$AR"; then
4964 ac_cv_prog_AR="$AR" # Let the user override the test.
4966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4970 test -z "$as_dir" && as_dir=.
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
4974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4984 if test -n "$AR"; then
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
4986 $as_echo "$AR" >&6; }
4988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 $as_echo "no" >&6; }
4993 test -n "$AR" && break
4996 if test -z "$AR"; then
4998 for ac_prog in ar lib "link -lib"
5000 # Extract the first word of "$ac_prog", so it can be a program name with args.
5001 set dummy $ac_prog; ac_word=$2
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5003 $as_echo_n "checking for $ac_word... " >&6; }
5004 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5005 $as_echo_n "(cached) " >&6
5007 if test -n "$ac_ct_AR"; then
5008 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5014 test -z "$as_dir" && as_dir=.
5015 for ac_exec_ext in '' $ac_executable_extensions; do
5016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5017 ac_cv_prog_ac_ct_AR="$ac_prog"
5018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5027 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5028 if test -n "$ac_ct_AR"; then
5029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5030 $as_echo "$ac_ct_AR" >&6; }
5032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5033 $as_echo "no" >&6; }
5037 test -n "$ac_ct_AR" && break
5040 if test "x$ac_ct_AR" = x; then
5043 case $cross_compiling:$ac_tool_warned in
5045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5047 ac_tool_warned=yes ;;
5055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
5056 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
5057 if ${am_cv_ar_interface+:} false; then :
5058 $as_echo_n "(cached) " >&6
5061 ac_cpp='$CPP $CPPFLAGS'
5062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5066 am_cv_ar_interface=ar
5067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5068 /* end confdefs.h. */
5069 int some_variable = 0;
5071 if ac_fn_c_try_compile "$LINENO"; then :
5072 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
5073 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5074 (eval $am_ar_try) 2>&5
5076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5077 test $ac_status = 0; }
5078 if test "$ac_status" -eq 0; then
5079 am_cv_ar_interface=ar
5081 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
5082 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
5083 (eval $am_ar_try) 2>&5
5085 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5086 test $ac_status = 0; }
5087 if test "$ac_status" -eq 0; then
5088 am_cv_ar_interface=lib
5090 am_cv_ar_interface=unknown
5093 rm -f conftest.lib libconftest.a
5096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5098 ac_cpp='$CPP $CPPFLAGS'
5099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
5105 $as_echo "$am_cv_ar_interface" >&6; }
5107 case $am_cv_ar_interface in
5111 # Microsoft lib, so override with the ar-lib wrapper script.
5112 # FIXME: It is wrong to rewrite AR.
5113 # But if we don't then we get into trouble of one sort or another.
5114 # A longer-term fix would be to have automake use am__AR in this case,
5115 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
5117 AR="$am_aux_dir/ar-lib $AR"
5120 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
5124 # Check whether --enable-static was given.
5125 if test "${enable_static+set}" = set; then :
5126 enableval=$enable_static; p=${PACKAGE-default}
5128 yes) enable_static=yes ;;
5129 no) enable_static=no ;;
5132 # Look at the argument we got. We use all the common list separators.
5133 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
5134 for pkg in $enableval; do
5136 if test "X$pkg" = "X$p"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5158 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5163 macro_version='2.4.2'
5164 macro_revision='1.3337'
5178 ltmain="$ac_aux_dir/ltmain.sh"
5180 # Make sure we can run config.sub.
5181 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5182 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5185 $as_echo_n "checking build system type... " >&6; }
5186 if ${ac_cv_build+:} false; then :
5187 $as_echo_n "(cached) " >&6
5189 ac_build_alias=$build_alias
5190 test "x$ac_build_alias" = x &&
5191 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5192 test "x$ac_build_alias" = x &&
5193 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5194 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5195 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5199 $as_echo "$ac_cv_build" >&6; }
5200 case $ac_cv_build in
5202 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5205 ac_save_IFS=$IFS; IFS='-'
5211 # Remember, the first character of IFS is used to create $*,
5212 # except with old shells:
5215 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5219 $as_echo_n "checking host system type... " >&6; }
5220 if ${ac_cv_host+:} false; then :
5221 $as_echo_n "(cached) " >&6
5223 if test "x$host_alias" = x; then
5224 ac_cv_host=$ac_cv_build
5226 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5227 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5232 $as_echo "$ac_cv_host" >&6; }
5235 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5238 ac_save_IFS=$IFS; IFS='-'
5244 # Remember, the first character of IFS is used to create $*,
5245 # except with old shells:
5248 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5251 # Backslashify metacharacters that are still active within
5252 # double-quoted strings.
5253 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5255 # Same as above, but do not quote variable references.
5256 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5258 # Sed substitution to delay expansion of an escaped shell variable in a
5259 # double_quote_subst'ed string.
5260 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5262 # Sed substitution to delay expansion of an escaped single quote.
5263 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5265 # Sed substitution to avoid accidental globbing in evaled expressions
5266 no_glob_subst='s/\*/\\\*/g'
5268 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5269 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5270 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5273 $as_echo_n "checking how to print strings... " >&6; }
5274 # Test print first, because it will be a builtin if present.
5275 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5276 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5278 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5281 # Use this function as a fallback that always works.
5282 func_fallback_echo ()
5284 eval 'cat <<_LTECHO_EOF
5288 ECHO='func_fallback_echo'
5291 # func_echo_all arg...
5292 # Invoke $ECHO with all args, space-separated.
5299 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5300 $as_echo "printf" >&6; } ;;
5301 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5302 $as_echo "print -r" >&6; } ;;
5303 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5304 $as_echo "cat" >&6; } ;;
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5321 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5322 if ${ac_cv_path_SED+:} false; then :
5323 $as_echo_n "(cached) " >&6
5325 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5326 for ac_i in 1 2 3 4 5 6 7; do
5327 ac_script="$ac_script$as_nl$ac_script"
5329 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5330 { ac_script=; unset ac_script;}
5331 if test -z "$SED"; then
5332 ac_path_SED_found=false
5333 # Loop through the user's path and test for each of PROGNAME-LIST
5334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5338 test -z "$as_dir" && as_dir=.
5339 for ac_prog in sed gsed; do
5340 for ac_exec_ext in '' $ac_executable_extensions; do
5341 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5342 as_fn_executable_p "$ac_path_SED" || continue
5343 # Check for GNU ac_path_SED and select it if it is found.
5344 # Check for GNU $ac_path_SED
5345 case `"$ac_path_SED" --version 2>&1` in
5347 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5350 $as_echo_n 0123456789 >"conftest.in"
5353 cat "conftest.in" "conftest.in" >"conftest.tmp"
5354 mv "conftest.tmp" "conftest.in"
5355 cp "conftest.in" "conftest.nl"
5356 $as_echo '' >> "conftest.nl"
5357 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5358 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5359 as_fn_arith $ac_count + 1 && ac_count=$as_val
5360 if test $ac_count -gt ${ac_path_SED_max-0}; then
5361 # Best one so far, save it but keep looking for a better one
5362 ac_cv_path_SED="$ac_path_SED"
5363 ac_path_SED_max=$ac_count
5365 # 10*(2^10) chars as input seems more than enough
5366 test $ac_count -gt 10 && break
5368 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5371 $ac_path_SED_found && break 3
5376 if test -z "$ac_cv_path_SED"; then
5377 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5385 $as_echo "$ac_cv_path_SED" >&6; }
5386 SED="$ac_cv_path_SED"
5389 test -z "$SED" && SED=sed
5390 Xsed="$SED -e 1s/^X//"
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5403 $as_echo_n "checking for fgrep... " >&6; }
5404 if ${ac_cv_path_FGREP+:} false; then :
5405 $as_echo_n "(cached) " >&6
5407 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5408 then ac_cv_path_FGREP="$GREP -F"
5410 if test -z "$FGREP"; then
5411 ac_path_FGREP_found=false
5412 # Loop through the user's path and test for each of PROGNAME-LIST
5413 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5414 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5417 test -z "$as_dir" && as_dir=.
5418 for ac_prog in fgrep; do
5419 for ac_exec_ext in '' $ac_executable_extensions; do
5420 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5421 as_fn_executable_p "$ac_path_FGREP" || continue
5422 # Check for GNU ac_path_FGREP and select it if it is found.
5423 # Check for GNU $ac_path_FGREP
5424 case `"$ac_path_FGREP" --version 2>&1` in
5426 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5429 $as_echo_n 0123456789 >"conftest.in"
5432 cat "conftest.in" "conftest.in" >"conftest.tmp"
5433 mv "conftest.tmp" "conftest.in"
5434 cp "conftest.in" "conftest.nl"
5435 $as_echo 'FGREP' >> "conftest.nl"
5436 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5437 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5438 as_fn_arith $ac_count + 1 && ac_count=$as_val
5439 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5440 # Best one so far, save it but keep looking for a better one
5441 ac_cv_path_FGREP="$ac_path_FGREP"
5442 ac_path_FGREP_max=$ac_count
5444 # 10*(2^10) chars as input seems more than enough
5445 test $ac_count -gt 10 && break
5447 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5450 $ac_path_FGREP_found && break 3
5455 if test -z "$ac_cv_path_FGREP"; then
5456 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5459 ac_cv_path_FGREP=$FGREP
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5465 $as_echo "$ac_cv_path_FGREP" >&6; }
5466 FGREP="$ac_cv_path_FGREP"
5469 test -z "$GREP" && GREP=grep
5489 # Check whether --with-gnu-ld was given.
5490 if test "${with_gnu_ld+set}" = set; then :
5491 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5497 if test "$GCC" = yes; then
5498 # Check if gcc -print-prog-name=ld gives a path.
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5500 $as_echo_n "checking for ld used by $CC... " >&6; }
5503 # gcc leaves a trailing carriage return which upsets mingw
5504 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5506 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5509 # Accept absolute paths.
5511 re_direlt='/[^/][^/]*/\.\./'
5512 # Canonicalize the pathname of ld
5513 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5514 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5515 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5517 test -z "$LD" && LD="$ac_prog"
5520 # If it fails, then pretend we aren't using GCC.
5524 # If it is relative, then search for the first ld in PATH.
5528 elif test "$with_gnu_ld" = yes; then
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5530 $as_echo_n "checking for GNU ld... " >&6; }
5532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5533 $as_echo_n "checking for non-GNU ld... " >&6; }
5535 if ${lt_cv_path_LD+:} false; then :
5536 $as_echo_n "(cached) " >&6
5538 if test -z "$LD"; then
5539 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5540 for ac_dir in $PATH; do
5542 test -z "$ac_dir" && ac_dir=.
5543 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5544 lt_cv_path_LD="$ac_dir/$ac_prog"
5545 # Check to see if the program is GNU ld. I'd rather use --version,
5546 # but apparently some variants of GNU ld only accept -v.
5547 # Break only if it was the GNU/non-GNU ld that we prefer.
5548 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5549 *GNU* | *'with BFD'*)
5550 test "$with_gnu_ld" != no && break
5553 test "$with_gnu_ld" != yes && break
5560 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5565 if test -n "$LD"; then
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5567 $as_echo "$LD" >&6; }
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5570 $as_echo "no" >&6; }
5572 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5574 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5575 if ${lt_cv_prog_gnu_ld+:} false; then :
5576 $as_echo_n "(cached) " >&6
5578 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5579 case `$LD -v 2>&1 </dev/null` in
5580 *GNU* | *'with BFD'*)
5581 lt_cv_prog_gnu_ld=yes
5584 lt_cv_prog_gnu_ld=no
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5589 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5590 with_gnu_ld=$lt_cv_prog_gnu_ld
5600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5601 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5602 if ${lt_cv_path_NM+:} false; then :
5603 $as_echo_n "(cached) " >&6
5605 if test -n "$NM"; then
5606 # Let the user override the test.
5609 lt_nm_to_check="${ac_tool_prefix}nm"
5610 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
5611 lt_nm_to_check="$lt_nm_to_check nm"
5613 for lt_tmp_nm in $lt_nm_to_check; do
5614 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5615 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
5617 test -z "$ac_dir" && ac_dir=.
5618 tmp_nm="$ac_dir/$lt_tmp_nm"
5619 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
5620 # Check to see if the nm accepts a BSD-compat flag.
5621 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
5622 # nm: unknown option "B" ignored
5623 # Tru64's nm complains that /dev/null is an invalid object file
5624 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
5625 */dev/null* | *'Invalid file or object type'*)
5626 lt_cv_path_NM="$tmp_nm -B"
5630 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
5632 lt_cv_path_NM="$tmp_nm -p"
5636 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
5637 continue # so that we can try to find one that supports BSD flags
5646 : ${lt_cv_path_NM=no}
5649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
5650 $as_echo "$lt_cv_path_NM" >&6; }
5651 if test "$lt_cv_path_NM" != "no"; then
5654 # Didn't find any BSD compatible name lister, look for dumpbin.
5655 if test -n "$DUMPBIN"; then :
5656 # Let the user override the test.
5658 if test -n "$ac_tool_prefix"; then
5659 for ac_prog in dumpbin "link -dump"
5661 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5662 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5664 $as_echo_n "checking for $ac_word... " >&6; }
5665 if ${ac_cv_prog_DUMPBIN+:} false; then :
5666 $as_echo_n "(cached) " >&6
5668 if test -n "$DUMPBIN"; then
5669 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
5671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5675 test -z "$as_dir" && as_dir=.
5676 for ac_exec_ext in '' $ac_executable_extensions; do
5677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5678 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5688 DUMPBIN=$ac_cv_prog_DUMPBIN
5689 if test -n "$DUMPBIN"; then
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
5691 $as_echo "$DUMPBIN" >&6; }
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5694 $as_echo "no" >&6; }
5698 test -n "$DUMPBIN" && break
5701 if test -z "$DUMPBIN"; then
5702 ac_ct_DUMPBIN=$DUMPBIN
5703 for ac_prog in dumpbin "link -dump"
5705 # Extract the first word of "$ac_prog", so it can be a program name with args.
5706 set dummy $ac_prog; ac_word=$2
5707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5708 $as_echo_n "checking for $ac_word... " >&6; }
5709 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5710 $as_echo_n "(cached) " >&6
5712 if test -n "$ac_ct_DUMPBIN"; then
5713 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
5715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5719 test -z "$as_dir" && as_dir=.
5720 for ac_exec_ext in '' $ac_executable_extensions; do
5721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5722 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5732 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
5733 if test -n "$ac_ct_DUMPBIN"; then
5734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
5735 $as_echo "$ac_ct_DUMPBIN" >&6; }
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5738 $as_echo "no" >&6; }
5742 test -n "$ac_ct_DUMPBIN" && break
5745 if test "x$ac_ct_DUMPBIN" = x; then
5748 case $cross_compiling:$ac_tool_warned in
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5752 ac_tool_warned=yes ;;
5754 DUMPBIN=$ac_ct_DUMPBIN
5758 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
5760 DUMPBIN="$DUMPBIN -symbols"
5768 if test "$DUMPBIN" != ":"; then
5772 test -z "$NM" && NM=nm
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5780 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5781 if ${lt_cv_nm_interface+:} false; then :
5782 $as_echo_n "(cached) " >&6
5784 lt_cv_nm_interface="BSD nm"
5785 echo "int some_variable = 0;" > conftest.$ac_ext
5786 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
5787 (eval "$ac_compile" 2>conftest.err)
5788 cat conftest.err >&5
5789 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5790 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5791 cat conftest.err >&5
5792 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
5793 cat conftest.out >&5
5794 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5795 lt_cv_nm_interface="MS dumpbin"
5799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
5800 $as_echo "$lt_cv_nm_interface" >&6; }
5802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5803 $as_echo_n "checking whether ln -s works... " >&6; }
5805 if test "$LN_S" = "ln -s"; then
5806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5807 $as_echo "yes" >&6; }
5809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5810 $as_echo "no, using $LN_S" >&6; }
5813 # find the maximum length of command line arguments
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5815 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
5816 if ${lt_cv_sys_max_cmd_len+:} false; then :
5817 $as_echo_n "(cached) " >&6
5824 # On DJGPP, this test can blow up pretty badly due to problems in libc
5825 # (any single argument exceeding 2000 bytes causes a buffer overrun
5826 # during glob expansion). Even if it were fixed, the result of this
5827 # check would be larger than it should be.
5828 lt_cv_sys_max_cmd_len=12288; # 12K is about right
5832 # Under GNU Hurd, this test is not required because there is
5833 # no limit to the length of command line arguments.
5834 # Libtool will interpret -1 as no limit whatsoever
5835 lt_cv_sys_max_cmd_len=-1;
5838 cygwin* | mingw* | cegcc*)
5839 # On Win9x/ME, this test blows up -- it succeeds, but takes
5840 # about 5 minutes as the teststring grows exponentially.
5841 # Worse, since 9x/ME are not pre-emptively multitasking,
5842 # you end up with a "frozen" computer, even though with patience
5843 # the test eventually succeeds (with a max line length of 256k).
5844 # Instead, let's just punt: use the minimum linelength reported by
5845 # all of the supported platforms: 8192 (on NT/2K/XP).
5846 lt_cv_sys_max_cmd_len=8192;
5850 # On MiNT this can take a long time and run out of memory.
5851 lt_cv_sys_max_cmd_len=8192;
5855 # On AmigaOS with pdksh, this test takes hours, literally.
5856 # So we just punt and use a minimum line length of 8192.
5857 lt_cv_sys_max_cmd_len=8192;
5860 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
5861 # This has been around since 386BSD, at least. Likely further.
5862 if test -x /sbin/sysctl; then
5863 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
5864 elif test -x /usr/sbin/sysctl; then
5865 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
5867 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
5869 # And add a safety zone
5870 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5871 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5875 # We know the value 262144 and hardcode it with a safety zone (like BSD)
5876 lt_cv_sys_max_cmd_len=196608
5880 # The test takes a long time on OS/2.
5881 lt_cv_sys_max_cmd_len=8192
5885 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
5886 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
5887 # nice to cause kernel panics so lets avoid the loop below.
5888 # First set a reasonable default.
5889 lt_cv_sys_max_cmd_len=16384
5891 if test -x /sbin/sysconfig; then
5892 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
5893 *1*) lt_cv_sys_max_cmd_len=-1 ;;
5898 lt_cv_sys_max_cmd_len=102400
5900 sysv5* | sco5v6* | sysv4.2uw2*)
5901 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
5902 if test -n "$kargmax"; then
5903 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
5905 lt_cv_sys_max_cmd_len=32768
5909 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
5910 if test -n "$lt_cv_sys_max_cmd_len" && \
5911 test undefined != "$lt_cv_sys_max_cmd_len"; then
5912 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
5913 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
5915 # Make teststring a little bigger before we do anything with it.
5916 # a 1K string should be a reasonable start.
5917 for i in 1 2 3 4 5 6 7 8 ; do
5918 teststring=$teststring$teststring
5920 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
5921 # If test is not a shell built-in, we'll probably end up computing a
5922 # maximum length that is only half of the actual maximum length, but
5924 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
5925 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
5926 test $i != 17 # 1/2 MB should be enough
5929 teststring=$teststring$teststring
5931 # Only check the string length outside the loop.
5932 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
5934 # Add a significant safety factor because C++ compilers can tack on
5935 # massive amounts of additional arguments before passing them to the
5936 # linker. It appears as though 1/2 is a usable value.
5937 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
5944 if test -n $lt_cv_sys_max_cmd_len ; then
5945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
5946 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
5949 $as_echo "none" >&6; }
5951 max_cmd_len=$lt_cv_sys_max_cmd_len
5962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
5963 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
5964 # Try some XSI features
5967 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
5969 && eval 'test $(( 1 + 1 )) -eq 2 \
5970 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
5973 $as_echo "$xsi_shell" >&6; }
5976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
5977 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
5979 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
5981 && lt_shell_append=yes
5982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
5983 $as_echo "$lt_shell_append" >&6; }
5986 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
5996 # test EBCDIC or ASCII
5997 case `echo X|tr X '\101'` in
5998 A) # ASCII based system
5999 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6000 lt_SP2NL='tr \040 \012'
6001 lt_NL2SP='tr \015\012 \040\040'
6003 *) # EBCDIC based system
6004 lt_SP2NL='tr \100 \n'
6005 lt_NL2SP='tr \r\n \100\100'
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
6018 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
6019 if ${lt_cv_to_host_file_cmd+:} false; then :
6020 $as_echo_n "(cached) " >&6
6025 *-*-mingw* ) # actually msys
6026 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
6029 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
6031 * ) # otherwise, assume *nix
6032 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
6038 *-*-mingw* ) # actually msys
6039 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
6042 lt_cv_to_host_file_cmd=func_convert_file_noop
6044 * ) # otherwise, assume *nix
6045 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
6049 * ) # unhandled hosts (and "normal" native builds)
6050 lt_cv_to_host_file_cmd=func_convert_file_noop
6056 to_host_file_cmd=$lt_cv_to_host_file_cmd
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
6058 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
6065 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
6066 if ${lt_cv_to_tool_file_cmd+:} false; then :
6067 $as_echo_n "(cached) " >&6
6069 #assume ordinary cross tools, or native build.
6070 lt_cv_to_tool_file_cmd=func_convert_file_noop
6074 *-*-mingw* ) # actually msys
6075 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
6083 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
6085 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6092 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6093 if ${lt_cv_ld_reload_flag+:} false; then :
6094 $as_echo_n "(cached) " >&6
6096 lt_cv_ld_reload_flag='-r'
6098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6099 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6100 reload_flag=$lt_cv_ld_reload_flag
6101 case $reload_flag in
6103 *) reload_flag=" $reload_flag" ;;
6105 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6107 cygwin* | mingw* | pw32* | cegcc*)
6108 if test "$GCC" != yes; then
6113 if test "$GCC" = yes; then
6114 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6116 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6129 if test -n "$ac_tool_prefix"; then
6130 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6131 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6133 $as_echo_n "checking for $ac_word... " >&6; }
6134 if ${ac_cv_prog_OBJDUMP+:} false; then :
6135 $as_echo_n "(cached) " >&6
6137 if test -n "$OBJDUMP"; then
6138 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6144 test -z "$as_dir" && as_dir=.
6145 for ac_exec_ext in '' $ac_executable_extensions; do
6146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6147 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6157 OBJDUMP=$ac_cv_prog_OBJDUMP
6158 if test -n "$OBJDUMP"; then
6159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6160 $as_echo "$OBJDUMP" >&6; }
6162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6163 $as_echo "no" >&6; }
6168 if test -z "$ac_cv_prog_OBJDUMP"; then
6169 ac_ct_OBJDUMP=$OBJDUMP
6170 # Extract the first word of "objdump", so it can be a program name with args.
6171 set dummy objdump; ac_word=$2
6172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6173 $as_echo_n "checking for $ac_word... " >&6; }
6174 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6175 $as_echo_n "(cached) " >&6
6177 if test -n "$ac_ct_OBJDUMP"; then
6178 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6184 test -z "$as_dir" && as_dir=.
6185 for ac_exec_ext in '' $ac_executable_extensions; do
6186 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6187 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6188 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6197 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6198 if test -n "$ac_ct_OBJDUMP"; then
6199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6200 $as_echo "$ac_ct_OBJDUMP" >&6; }
6202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6203 $as_echo "no" >&6; }
6206 if test "x$ac_ct_OBJDUMP" = x; then
6209 case $cross_compiling:$ac_tool_warned in
6211 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6212 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6213 ac_tool_warned=yes ;;
6215 OBJDUMP=$ac_ct_OBJDUMP
6218 OBJDUMP="$ac_cv_prog_OBJDUMP"
6221 test -z "$OBJDUMP" && OBJDUMP=objdump
6231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6232 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6233 if ${lt_cv_deplibs_check_method+:} false; then :
6234 $as_echo_n "(cached) " >&6
6236 lt_cv_file_magic_cmd='$MAGIC_CMD'
6237 lt_cv_file_magic_test_file=
6238 lt_cv_deplibs_check_method='unknown'
6239 # Need to set the preceding variable on all platforms that support
6240 # interlibrary dependencies.
6241 # 'none' -- dependencies not supported.
6242 # `unknown' -- same as none, but documents that we really don't know.
6243 # 'pass_all' -- all dependencies passed with no checks.
6244 # 'test_compile' -- check by making test program.
6245 # 'file_magic [[regex]]' -- check by looking for files in library path
6246 # which responds to the $file_magic_cmd with a given extended regex.
6247 # If you have `file' or equivalent on your system and you're not sure
6248 # whether `pass_all' will *always* work, you probably want this one.
6252 lt_cv_deplibs_check_method=pass_all
6256 lt_cv_deplibs_check_method=pass_all
6260 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6261 lt_cv_file_magic_cmd='/usr/bin/file -L'
6262 lt_cv_file_magic_test_file=/shlib/libc.so
6266 # func_win32_libid is a shell function defined in ltmain.sh
6267 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6268 lt_cv_file_magic_cmd='func_win32_libid'
6272 # Base MSYS/MinGW do not provide the 'file' command needed by
6273 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6274 # unless we find 'file', for example because we are cross-compiling.
6275 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6276 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6277 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6278 lt_cv_file_magic_cmd='func_win32_libid'
6280 # Keep this pattern in sync with the one in func_win32_libid.
6281 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
6282 lt_cv_file_magic_cmd='$OBJDUMP -f'
6287 # use the weaker test based on 'objdump'. See mingw*.
6288 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6289 lt_cv_file_magic_cmd='$OBJDUMP -f'
6292 darwin* | rhapsody*)
6293 lt_cv_deplibs_check_method=pass_all
6296 freebsd* | dragonfly*)
6297 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6300 # Not sure whether the presence of OpenBSD here was a mistake.
6301 # Let's accept both of them until this is cleared up.
6302 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6303 lt_cv_file_magic_cmd=/usr/bin/file
6304 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6308 lt_cv_deplibs_check_method=pass_all
6313 lt_cv_deplibs_check_method=pass_all
6316 hpux10.20* | hpux11*)
6317 lt_cv_file_magic_cmd=/usr/bin/file
6320 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6321 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6324 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]'
6325 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6328 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6329 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6335 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6336 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6339 irix5* | irix6* | nonstopux*)
6341 *-32|*"-32 ") libmagic=32-bit;;
6342 *-n32|*"-n32 ") libmagic=N32;;
6343 *-64|*"-64 ") libmagic=64-bit;;
6344 *) libmagic=never-match;;
6346 lt_cv_deplibs_check_method=pass_all
6349 # This must be glibc/ELF.
6350 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
6351 lt_cv_deplibs_check_method=pass_all
6354 netbsd* | netbsdelf*-gnu)
6355 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6356 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6358 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6363 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6364 lt_cv_file_magic_cmd=/usr/bin/file
6365 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6369 lt_cv_deplibs_check_method=pass_all
6373 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6374 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6376 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6380 osf3* | osf4* | osf5*)
6381 lt_cv_deplibs_check_method=pass_all
6385 lt_cv_deplibs_check_method=pass_all
6389 lt_cv_deplibs_check_method=pass_all
6392 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6393 lt_cv_deplibs_check_method=pass_all
6397 case $host_vendor in
6399 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]'
6400 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6403 lt_cv_deplibs_check_method=pass_all
6406 lt_cv_file_magic_cmd='/bin/file'
6407 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6410 lt_cv_file_magic_cmd='/bin/file'
6411 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6412 lt_cv_file_magic_test_file=/lib/libc.so
6415 lt_cv_deplibs_check_method=pass_all
6418 lt_cv_deplibs_check_method=pass_all
6424 lt_cv_deplibs_check_method=pass_all
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6430 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6434 if test "$build" = "$host"; then
6437 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
6440 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
6446 file_magic_cmd=$lt_cv_file_magic_cmd
6447 deplibs_check_method=$lt_cv_deplibs_check_method
6448 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6471 if test -n "$ac_tool_prefix"; then
6472 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
6473 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_DLLTOOL+:} false; then :
6477 $as_echo_n "(cached) " >&6
6479 if test -n "$DLLTOOL"; then
6480 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6499 DLLTOOL=$ac_cv_prog_DLLTOOL
6500 if test -n "$DLLTOOL"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
6502 $as_echo "$DLLTOOL" >&6; }
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6510 if test -z "$ac_cv_prog_DLLTOOL"; then
6511 ac_ct_DLLTOOL=$DLLTOOL
6512 # Extract the first word of "dlltool", so it can be a program name with args.
6513 set dummy dlltool; ac_word=$2
6514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 $as_echo_n "checking for $ac_word... " >&6; }
6516 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
6517 $as_echo_n "(cached) " >&6
6519 if test -n "$ac_ct_DLLTOOL"; then
6520 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
6522 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6526 test -z "$as_dir" && as_dir=.
6527 for ac_exec_ext in '' $ac_executable_extensions; do
6528 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6529 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
6530 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6539 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
6540 if test -n "$ac_ct_DLLTOOL"; then
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
6542 $as_echo "$ac_ct_DLLTOOL" >&6; }
6544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6545 $as_echo "no" >&6; }
6548 if test "x$ac_ct_DLLTOOL" = x; then
6551 case $cross_compiling:$ac_tool_warned in
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6554 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6555 ac_tool_warned=yes ;;
6557 DLLTOOL=$ac_ct_DLLTOOL
6560 DLLTOOL="$ac_cv_prog_DLLTOOL"
6563 test -z "$DLLTOOL" && DLLTOOL=dlltool
6574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
6575 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
6576 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
6577 $as_echo_n "(cached) " >&6
6579 lt_cv_sharedlib_from_linklib_cmd='unknown'
6582 cygwin* | mingw* | pw32* | cegcc*)
6583 # two different shell functions defined in ltmain.sh
6584 # decide which to use based on capabilities of $DLLTOOL
6585 case `$DLLTOOL --help 2>&1` in
6586 *--identify-strict*)
6587 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
6590 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
6595 # fallback: assume linklib IS sharedlib
6596 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
6602 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
6603 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
6604 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
6612 if test -n "$ac_tool_prefix"; then
6615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6618 $as_echo_n "checking for $ac_word... " >&6; }
6619 if ${ac_cv_prog_AR+:} false; then :
6620 $as_echo_n "(cached) " >&6
6622 if test -n "$AR"; then
6623 ac_cv_prog_AR="$AR" # Let the user override the test.
6625 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6629 test -z "$as_dir" && as_dir=.
6630 for ac_exec_ext in '' $ac_executable_extensions; do
6631 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6632 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6633 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6643 if test -n "$AR"; then
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6645 $as_echo "$AR" >&6; }
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6648 $as_echo "no" >&6; }
6652 test -n "$AR" && break
6655 if test -z "$AR"; then
6659 # Extract the first word of "$ac_prog", so it can be a program name with args.
6660 set dummy $ac_prog; ac_word=$2
6661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6662 $as_echo_n "checking for $ac_word... " >&6; }
6663 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6664 $as_echo_n "(cached) " >&6
6666 if test -n "$ac_ct_AR"; then
6667 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6669 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6673 test -z "$as_dir" && as_dir=.
6674 for ac_exec_ext in '' $ac_executable_extensions; do
6675 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6676 ac_cv_prog_ac_ct_AR="$ac_prog"
6677 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6686 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6687 if test -n "$ac_ct_AR"; then
6688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6689 $as_echo "$ac_ct_AR" >&6; }
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6692 $as_echo "no" >&6; }
6696 test -n "$ac_ct_AR" && break
6699 if test "x$ac_ct_AR" = x; then
6702 case $cross_compiling:$ac_tool_warned in
6704 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6705 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6706 ac_tool_warned=yes ;;
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
6726 $as_echo_n "checking for archiver @FILE support... " >&6; }
6727 if ${lt_cv_ar_at_file+:} false; then :
6728 $as_echo_n "(cached) " >&6
6731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6732 /* end confdefs.h. */
6742 if ac_fn_c_try_compile "$LINENO"; then :
6743 echo conftest.$ac_objext > conftest.lst
6744 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
6745 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6746 (eval $lt_ar_try) 2>&5
6748 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6749 test $ac_status = 0; }
6750 if test "$ac_status" -eq 0; then
6751 # Ensure the archiver fails upon bogus file names.
6752 rm -f conftest.$ac_objext libconftest.a
6753 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
6754 (eval $lt_ar_try) 2>&5
6756 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6757 test $ac_status = 0; }
6758 if test "$ac_status" -ne 0; then
6762 rm -f conftest.* libconftest.a
6765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
6769 $as_echo "$lt_cv_ar_at_file" >&6; }
6771 if test "x$lt_cv_ar_at_file" = xno; then
6774 archiver_list_spec=$lt_cv_ar_at_file
6783 if test -n "$ac_tool_prefix"; then
6784 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6785 set dummy ${ac_tool_prefix}strip; ac_word=$2
6786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6787 $as_echo_n "checking for $ac_word... " >&6; }
6788 if ${ac_cv_prog_STRIP+:} false; then :
6789 $as_echo_n "(cached) " >&6
6791 if test -n "$STRIP"; then
6792 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6794 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6798 test -z "$as_dir" && as_dir=.
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6800 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6802 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 STRIP=$ac_cv_prog_STRIP
6812 if test -n "$STRIP"; then
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6814 $as_echo "$STRIP" >&6; }
6816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 $as_echo "no" >&6; }
6822 if test -z "$ac_cv_prog_STRIP"; then
6824 # Extract the first word of "strip", so it can be a program name with args.
6825 set dummy strip; ac_word=$2
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 $as_echo_n "checking for $ac_word... " >&6; }
6828 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6829 $as_echo_n "(cached) " >&6
6831 if test -n "$ac_ct_STRIP"; then
6832 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6838 test -z "$as_dir" && as_dir=.
6839 for ac_exec_ext in '' $ac_executable_extensions; do
6840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6841 ac_cv_prog_ac_ct_STRIP="strip"
6842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6851 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6852 if test -n "$ac_ct_STRIP"; then
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6854 $as_echo "$ac_ct_STRIP" >&6; }
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6857 $as_echo "no" >&6; }
6860 if test "x$ac_ct_STRIP" = x; then
6863 case $cross_compiling:$ac_tool_warned in
6865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6866 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6867 ac_tool_warned=yes ;;
6872 STRIP="$ac_cv_prog_STRIP"
6875 test -z "$STRIP" && STRIP=:
6882 if test -n "$ac_tool_prefix"; then
6883 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6884 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6886 $as_echo_n "checking for $ac_word... " >&6; }
6887 if ${ac_cv_prog_RANLIB+:} false; then :
6888 $as_echo_n "(cached) " >&6
6890 if test -n "$RANLIB"; then
6891 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6897 test -z "$as_dir" && as_dir=.
6898 for ac_exec_ext in '' $ac_executable_extensions; do
6899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6900 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6910 RANLIB=$ac_cv_prog_RANLIB
6911 if test -n "$RANLIB"; then
6912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6913 $as_echo "$RANLIB" >&6; }
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6916 $as_echo "no" >&6; }
6921 if test -z "$ac_cv_prog_RANLIB"; then
6922 ac_ct_RANLIB=$RANLIB
6923 # Extract the first word of "ranlib", so it can be a program name with args.
6924 set dummy ranlib; ac_word=$2
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6926 $as_echo_n "checking for $ac_word... " >&6; }
6927 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6928 $as_echo_n "(cached) " >&6
6930 if test -n "$ac_ct_RANLIB"; then
6931 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6937 test -z "$as_dir" && as_dir=.
6938 for ac_exec_ext in '' $ac_executable_extensions; do
6939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6940 ac_cv_prog_ac_ct_RANLIB="ranlib"
6941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6950 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6951 if test -n "$ac_ct_RANLIB"; then
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6953 $as_echo "$ac_ct_RANLIB" >&6; }
6955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6956 $as_echo "no" >&6; }
6959 if test "x$ac_ct_RANLIB" = x; then
6962 case $cross_compiling:$ac_tool_warned in
6964 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6965 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6966 ac_tool_warned=yes ;;
6968 RANLIB=$ac_ct_RANLIB
6971 RANLIB="$ac_cv_prog_RANLIB"
6974 test -z "$RANLIB" && RANLIB=:
6981 # Determine commands to create old-style static archives.
6982 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
6983 old_postinstall_cmds='chmod 644 $oldlib'
6984 old_postuninstall_cmds=
6986 if test -n "$RANLIB"; then
6989 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
6992 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
6995 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
7000 lock_old_archive_extraction=yes ;;
7002 lock_old_archive_extraction=no ;;
7043 # If no C compiler was specified, use CC.
7046 # If no C compiler flags were specified, use CFLAGS.
7047 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7049 # Allow CC to be a program name with arguments.
7053 # Check for command to grab the raw symbol name followed by C symbol from nm.
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7055 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7056 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7057 $as_echo_n "(cached) " >&6
7060 # These are sane defaults that work on at least a few old systems.
7061 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7063 # Character class describing NM global symbol codes.
7064 symcode='[BCDEGRST]'
7066 # Regexp to match symbols that can be accessed directly from C.
7067 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7069 # Define system-specific variables.
7074 cygwin* | mingw* | pw32* | cegcc*)
7075 symcode='[ABCDGISTW]'
7078 if test "$host_cpu" = ia64; then
7079 symcode='[ABCDEGRST]'
7083 symcode='[BCDEGRST]'
7086 symcode='[BCDEGQRST]'
7097 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7105 # If we're using GNU nm, then use its standard symbol codes.
7106 case `$NM -V 2>&1` in
7107 *GNU* | *'with BFD'*)
7108 symcode='[ABCDGIRSTW]' ;;
7111 # Transform an extracted symbol line into a proper C declaration.
7112 # Some systems (esp. on ia64) link data and code symbols differently,
7113 # so use this general approach.
7114 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7116 # Transform an extracted symbol line into symbol name and symbol address
7117 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7118 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'"
7120 # Handle CRLF in mingw tool chain
7124 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7128 # Try without a prefix underscore, then with it.
7129 for ac_symprfx in "" "_"; do
7131 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7132 symxfrm="\\1 $ac_symprfx\\2 \\2"
7134 # Write the raw and C identifiers.
7135 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7136 # Fake it for dumpbin and say T for any non-static function
7137 # and D for any global variable.
7138 # Also find C++ and __fastcall symbols from MSVC++,
7139 # which start with @ or ?.
7140 lt_cv_sys_global_symbol_pipe="$AWK '"\
7141 " {last_section=section; section=\$ 3};"\
7142 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
7143 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7144 " \$ 0!~/External *\|/{next};"\
7145 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7146 " {if(hide[section]) next};"\
7147 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7148 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7149 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7150 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7151 " ' prfx=^$ac_symprfx"
7153 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7155 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7157 # Check to see that the pipe works correctly.
7161 cat > conftest.$ac_ext <<_LT_EOF
7166 void nm_test_func(void);
7167 void nm_test_func(void){}
7171 int main(){nm_test_var='a';nm_test_func();return(0);}
7174 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7175 (eval $ac_compile) 2>&5
7177 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7178 test $ac_status = 0; }; then
7179 # Now try to grab the symbols.
7181 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7182 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7184 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7185 test $ac_status = 0; } && test -s "$nlist"; then
7186 # Try sorting and uniquifying the output.
7187 if sort "$nlist" | uniq > "$nlist"T; then
7188 mv -f "$nlist"T "$nlist"
7193 # Make sure that we snagged all the symbols we need.
7194 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7195 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7196 cat <<_LT_EOF > conftest.$ac_ext
7197 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
7198 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
7199 /* DATA imports from DLLs on WIN32 con't be const, because runtime
7200 relocations are performed -- see ld's documentation on pseudo-relocs. */
7201 # define LT_DLSYM_CONST
7202 #elif defined(__osf__)
7203 /* This system does not cope well with relocations in const data. */
7204 # define LT_DLSYM_CONST
7206 # define LT_DLSYM_CONST const
7214 # Now generate the symbol file.
7215 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7217 cat <<_LT_EOF >> conftest.$ac_ext
7219 /* The mapping between symbol names and symbols. */
7220 LT_DLSYM_CONST struct {
7224 lt__PROGRAM__LTX_preloaded_symbols[] =
7226 { "@PROGRAM@", (void *) 0 },
7228 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7229 cat <<\_LT_EOF >> conftest.$ac_ext
7233 /* This works around a problem in FreeBSD linker */
7234 #ifdef FREEBSD_WORKAROUND
7235 static const void *lt_preloaded_setup() {
7236 return lt__PROGRAM__LTX_preloaded_symbols;
7244 # Now try linking the two files.
7245 mv conftest.$ac_objext conftstm.$ac_objext
7246 lt_globsym_save_LIBS=$LIBS
7247 lt_globsym_save_CFLAGS=$CFLAGS
7248 LIBS="conftstm.$ac_objext"
7249 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7250 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7251 (eval $ac_link) 2>&5
7253 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7254 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7257 LIBS=$lt_globsym_save_LIBS
7258 CFLAGS=$lt_globsym_save_CFLAGS
7260 echo "cannot find nm_test_func in $nlist" >&5
7263 echo "cannot find nm_test_var in $nlist" >&5
7266 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7269 echo "$progname: failed program was:" >&5
7270 cat conftest.$ac_ext >&5
7272 rm -rf conftest* conftst*
7274 # Do not use the global_symbol_pipe unless it works.
7275 if test "$pipe_works" = yes; then
7278 lt_cv_sys_global_symbol_pipe=
7284 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7285 lt_cv_sys_global_symbol_to_cdecl=
7287 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7289 $as_echo "failed" >&6; }
7291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7292 $as_echo "ok" >&6; }
7295 # Response file support.
7296 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7297 nm_file_list_spec='@'
7298 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
7299 nm_file_list_spec='@'
7328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
7329 $as_echo_n "checking for sysroot... " >&6; }
7331 # Check whether --with-sysroot was given.
7332 if test "${with_sysroot+set}" = set; then :
7333 withval=$with_sysroot;
7340 case ${with_sysroot} in #(
7342 if test "$GCC" = yes; then
7343 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
7347 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
7353 $as_echo "${with_sysroot}" >&6; }
7354 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
7358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
7359 $as_echo "${lt_sysroot:-no}" >&6; }
7365 # Check whether --enable-libtool-lock was given.
7366 if test "${enable_libtool_lock+set}" = set; then :
7367 enableval=$enable_libtool_lock;
7370 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7372 # Some flags need to be propagated to the compiler or linker for good
7376 # Find out which ABI we are using.
7377 echo 'int i;' > conftest.$ac_ext
7378 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7379 (eval $ac_compile) 2>&5
7381 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7382 test $ac_status = 0; }; then
7383 case `/usr/bin/file conftest.$ac_objext` in
7395 # Find out which ABI we are using.
7396 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7397 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7398 (eval $ac_compile) 2>&5
7400 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7401 test $ac_status = 0; }; then
7402 if test "$lt_cv_prog_gnu_ld" = yes; then
7403 case `/usr/bin/file conftest.$ac_objext` in
7405 LD="${LD-ld} -melf32bsmip"
7408 LD="${LD-ld} -melf32bmipn32"
7411 LD="${LD-ld} -melf64bmip"
7415 case `/usr/bin/file conftest.$ac_objext` in
7431 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7432 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7433 # Find out which ABI we are using.
7434 echo 'int i;' > conftest.$ac_ext
7435 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7436 (eval $ac_compile) 2>&5
7438 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7439 test $ac_status = 0; }; then
7440 case `/usr/bin/file conftest.o` in
7443 x86_64-*kfreebsd*-gnu)
7444 LD="${LD-ld} -m elf_i386_fbsd"
7447 case `/usr/bin/file conftest.o` in
7449 LD="${LD-ld} -m elf32_x86_64"
7452 LD="${LD-ld} -m elf_i386"
7457 LD="${LD-ld} -m elf32lppclinux"
7460 LD="${LD-ld} -m elf32ppclinux"
7463 LD="${LD-ld} -m elf_s390"
7466 LD="${LD-ld} -m elf32_sparc"
7472 x86_64-*kfreebsd*-gnu)
7473 LD="${LD-ld} -m elf_x86_64_fbsd"
7476 LD="${LD-ld} -m elf_x86_64"
7479 LD="${LD-ld} -m elf64lppc"
7482 LD="${LD-ld} -m elf64ppc"
7484 s390*-*linux*|s390*-*tpf*)
7485 LD="${LD-ld} -m elf64_s390"
7488 LD="${LD-ld} -m elf64_sparc"
7498 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7499 SAVE_CFLAGS="$CFLAGS"
7500 CFLAGS="$CFLAGS -belf"
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7502 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7503 if ${lt_cv_cc_needs_belf+:} false; then :
7504 $as_echo_n "(cached) " >&6
7507 ac_cpp='$CPP $CPPFLAGS'
7508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7513 /* end confdefs.h. */
7523 if ac_fn_c_try_link "$LINENO"; then :
7524 lt_cv_cc_needs_belf=yes
7526 lt_cv_cc_needs_belf=no
7528 rm -f core conftest.err conftest.$ac_objext \
7529 conftest$ac_exeext conftest.$ac_ext
7531 ac_cpp='$CPP $CPPFLAGS'
7532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7538 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7539 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7540 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7541 CFLAGS="$SAVE_CFLAGS"
7545 # Find out which ABI we are using.
7546 echo 'int i;' > conftest.$ac_ext
7547 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7548 (eval $ac_compile) 2>&5
7550 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7551 test $ac_status = 0; }; then
7552 case `/usr/bin/file conftest.o` in
7554 case $lt_cv_prog_gnu_ld in
7558 LD="${LD-ld} -m elf_x86_64"
7561 LD="${LD-ld} -m elf64_sparc"
7564 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
7565 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
7570 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7582 need_locks="$enable_libtool_lock"
7584 if test -n "$ac_tool_prefix"; then
7585 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
7586 set dummy ${ac_tool_prefix}mt; ac_word=$2
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7588 $as_echo_n "checking for $ac_word... " >&6; }
7589 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
7590 $as_echo_n "(cached) " >&6
7592 if test -n "$MANIFEST_TOOL"; then
7593 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
7595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 test -z "$as_dir" && as_dir=.
7600 for ac_exec_ext in '' $ac_executable_extensions; do
7601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7602 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
7603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7612 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
7613 if test -n "$MANIFEST_TOOL"; then
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
7615 $as_echo "$MANIFEST_TOOL" >&6; }
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7618 $as_echo "no" >&6; }
7623 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
7624 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
7625 # Extract the first word of "mt", so it can be a program name with args.
7626 set dummy mt; ac_word=$2
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7628 $as_echo_n "checking for $ac_word... " >&6; }
7629 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
7630 $as_echo_n "(cached) " >&6
7632 if test -n "$ac_ct_MANIFEST_TOOL"; then
7633 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 test -z "$as_dir" && as_dir=.
7640 for ac_exec_ext in '' $ac_executable_extensions; do
7641 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7642 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
7643 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7652 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
7653 if test -n "$ac_ct_MANIFEST_TOOL"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
7655 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7661 if test "x$ac_ct_MANIFEST_TOOL" = x; then
7664 case $cross_compiling:$ac_tool_warned in
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7667 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7668 ac_tool_warned=yes ;;
7670 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
7673 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
7676 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
7677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
7678 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
7679 if ${lt_cv_path_mainfest_tool+:} false; then :
7680 $as_echo_n "(cached) " >&6
7682 lt_cv_path_mainfest_tool=no
7683 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
7684 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
7685 cat conftest.err >&5
7686 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
7687 lt_cv_path_mainfest_tool=yes
7691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
7692 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
7693 if test "x$lt_cv_path_mainfest_tool" != xyes; then
7703 rhapsody* | darwin*)
7704 if test -n "$ac_tool_prefix"; then
7705 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7706 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7708 $as_echo_n "checking for $ac_word... " >&6; }
7709 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7710 $as_echo_n "(cached) " >&6
7712 if test -n "$DSYMUTIL"; then
7713 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7715 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7719 test -z "$as_dir" && as_dir=.
7720 for ac_exec_ext in '' $ac_executable_extensions; do
7721 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7722 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7723 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7732 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7733 if test -n "$DSYMUTIL"; then
7734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7735 $as_echo "$DSYMUTIL" >&6; }
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7738 $as_echo "no" >&6; }
7743 if test -z "$ac_cv_prog_DSYMUTIL"; then
7744 ac_ct_DSYMUTIL=$DSYMUTIL
7745 # Extract the first word of "dsymutil", so it can be a program name with args.
7746 set dummy dsymutil; ac_word=$2
7747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7748 $as_echo_n "checking for $ac_word... " >&6; }
7749 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7750 $as_echo_n "(cached) " >&6
7752 if test -n "$ac_ct_DSYMUTIL"; then
7753 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7759 test -z "$as_dir" && as_dir=.
7760 for ac_exec_ext in '' $ac_executable_extensions; do
7761 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7762 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7763 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7772 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7773 if test -n "$ac_ct_DSYMUTIL"; then
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7775 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7778 $as_echo "no" >&6; }
7781 if test "x$ac_ct_DSYMUTIL" = x; then
7784 case $cross_compiling:$ac_tool_warned in
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7787 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7788 ac_tool_warned=yes ;;
7790 DSYMUTIL=$ac_ct_DSYMUTIL
7793 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7796 if test -n "$ac_tool_prefix"; then
7797 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7798 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7800 $as_echo_n "checking for $ac_word... " >&6; }
7801 if ${ac_cv_prog_NMEDIT+:} false; then :
7802 $as_echo_n "(cached) " >&6
7804 if test -n "$NMEDIT"; then
7805 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 test -z "$as_dir" && as_dir=.
7812 for ac_exec_ext in '' $ac_executable_extensions; do
7813 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7814 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7815 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7824 NMEDIT=$ac_cv_prog_NMEDIT
7825 if test -n "$NMEDIT"; then
7826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7827 $as_echo "$NMEDIT" >&6; }
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7830 $as_echo "no" >&6; }
7835 if test -z "$ac_cv_prog_NMEDIT"; then
7836 ac_ct_NMEDIT=$NMEDIT
7837 # Extract the first word of "nmedit", so it can be a program name with args.
7838 set dummy nmedit; ac_word=$2
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7840 $as_echo_n "checking for $ac_word... " >&6; }
7841 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7842 $as_echo_n "(cached) " >&6
7844 if test -n "$ac_ct_NMEDIT"; then
7845 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851 test -z "$as_dir" && as_dir=.
7852 for ac_exec_ext in '' $ac_executable_extensions; do
7853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7854 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7864 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7865 if test -n "$ac_ct_NMEDIT"; then
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7867 $as_echo "$ac_ct_NMEDIT" >&6; }
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7870 $as_echo "no" >&6; }
7873 if test "x$ac_ct_NMEDIT" = x; then
7876 case $cross_compiling:$ac_tool_warned in
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7879 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7880 ac_tool_warned=yes ;;
7882 NMEDIT=$ac_ct_NMEDIT
7885 NMEDIT="$ac_cv_prog_NMEDIT"
7888 if test -n "$ac_tool_prefix"; then
7889 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7890 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7892 $as_echo_n "checking for $ac_word... " >&6; }
7893 if ${ac_cv_prog_LIPO+:} false; then :
7894 $as_echo_n "(cached) " >&6
7896 if test -n "$LIPO"; then
7897 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7903 test -z "$as_dir" && as_dir=.
7904 for ac_exec_ext in '' $ac_executable_extensions; do
7905 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7906 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7907 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7916 LIPO=$ac_cv_prog_LIPO
7917 if test -n "$LIPO"; then
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7919 $as_echo "$LIPO" >&6; }
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7922 $as_echo "no" >&6; }
7927 if test -z "$ac_cv_prog_LIPO"; then
7929 # Extract the first word of "lipo", so it can be a program name with args.
7930 set dummy lipo; ac_word=$2
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7932 $as_echo_n "checking for $ac_word... " >&6; }
7933 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7934 $as_echo_n "(cached) " >&6
7936 if test -n "$ac_ct_LIPO"; then
7937 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7939 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7943 test -z "$as_dir" && as_dir=.
7944 for ac_exec_ext in '' $ac_executable_extensions; do
7945 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7946 ac_cv_prog_ac_ct_LIPO="lipo"
7947 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7956 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7957 if test -n "$ac_ct_LIPO"; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7959 $as_echo "$ac_ct_LIPO" >&6; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7962 $as_echo "no" >&6; }
7965 if test "x$ac_ct_LIPO" = x; then
7968 case $cross_compiling:$ac_tool_warned in
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7971 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7972 ac_tool_warned=yes ;;
7977 LIPO="$ac_cv_prog_LIPO"
7980 if test -n "$ac_tool_prefix"; then
7981 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7982 set dummy ${ac_tool_prefix}otool; ac_word=$2
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7984 $as_echo_n "checking for $ac_word... " >&6; }
7985 if ${ac_cv_prog_OTOOL+:} false; then :
7986 $as_echo_n "(cached) " >&6
7988 if test -n "$OTOOL"; then
7989 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7995 test -z "$as_dir" && as_dir=.
7996 for ac_exec_ext in '' $ac_executable_extensions; do
7997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7998 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8008 OTOOL=$ac_cv_prog_OTOOL
8009 if test -n "$OTOOL"; then
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8011 $as_echo "$OTOOL" >&6; }
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8014 $as_echo "no" >&6; }
8019 if test -z "$ac_cv_prog_OTOOL"; then
8021 # Extract the first word of "otool", so it can be a program name with args.
8022 set dummy otool; ac_word=$2
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8024 $as_echo_n "checking for $ac_word... " >&6; }
8025 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8026 $as_echo_n "(cached) " >&6
8028 if test -n "$ac_ct_OTOOL"; then
8029 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8035 test -z "$as_dir" && as_dir=.
8036 for ac_exec_ext in '' $ac_executable_extensions; do
8037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8038 ac_cv_prog_ac_ct_OTOOL="otool"
8039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8048 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8049 if test -n "$ac_ct_OTOOL"; then
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8051 $as_echo "$ac_ct_OTOOL" >&6; }
8053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8054 $as_echo "no" >&6; }
8057 if test "x$ac_ct_OTOOL" = x; then
8060 case $cross_compiling:$ac_tool_warned in
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8064 ac_tool_warned=yes ;;
8069 OTOOL="$ac_cv_prog_OTOOL"
8072 if test -n "$ac_tool_prefix"; then
8073 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8074 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8076 $as_echo_n "checking for $ac_word... " >&6; }
8077 if ${ac_cv_prog_OTOOL64+:} false; then :
8078 $as_echo_n "(cached) " >&6
8080 if test -n "$OTOOL64"; then
8081 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8087 test -z "$as_dir" && as_dir=.
8088 for ac_exec_ext in '' $ac_executable_extensions; do
8089 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8090 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8091 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8100 OTOOL64=$ac_cv_prog_OTOOL64
8101 if test -n "$OTOOL64"; then
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8103 $as_echo "$OTOOL64" >&6; }
8105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8106 $as_echo "no" >&6; }
8111 if test -z "$ac_cv_prog_OTOOL64"; then
8112 ac_ct_OTOOL64=$OTOOL64
8113 # Extract the first word of "otool64", so it can be a program name with args.
8114 set dummy otool64; ac_word=$2
8115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8116 $as_echo_n "checking for $ac_word... " >&6; }
8117 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8118 $as_echo_n "(cached) " >&6
8120 if test -n "$ac_ct_OTOOL64"; then
8121 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8123 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8127 test -z "$as_dir" && as_dir=.
8128 for ac_exec_ext in '' $ac_executable_extensions; do
8129 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8130 ac_cv_prog_ac_ct_OTOOL64="otool64"
8131 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8140 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8141 if test -n "$ac_ct_OTOOL64"; then
8142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8143 $as_echo "$ac_ct_OTOOL64" >&6; }
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8146 $as_echo "no" >&6; }
8149 if test "x$ac_ct_OTOOL64" = x; then
8152 case $cross_compiling:$ac_tool_warned in
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8155 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8156 ac_tool_warned=yes ;;
8158 OTOOL64=$ac_ct_OTOOL64
8161 OTOOL64="$ac_cv_prog_OTOOL64"
8190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8191 $as_echo_n "checking for -single_module linker flag... " >&6; }
8192 if ${lt_cv_apple_cc_single_mod+:} false; then :
8193 $as_echo_n "(cached) " >&6
8195 lt_cv_apple_cc_single_mod=no
8196 if test -z "${LT_MULTI_MODULE}"; then
8197 # By default we will add the -single_module flag. You can override
8198 # by either setting the environment variable LT_MULTI_MODULE
8199 # non-empty at configure time, or by adding -multi_module to the
8201 rm -rf libconftest.dylib*
8202 echo "int foo(void){return 1;}" > conftest.c
8203 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8204 -dynamiclib -Wl,-single_module conftest.c" >&5
8205 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8206 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8208 # If there is a non-empty error log, and "single_module"
8209 # appears in it, assume the flag caused a linker warning
8210 if test -s conftest.err && $GREP single_module conftest.err; then
8211 cat conftest.err >&5
8212 # Otherwise, if the output was created with a 0 exit code from
8213 # the compiler, it worked.
8214 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
8215 lt_cv_apple_cc_single_mod=yes
8217 cat conftest.err >&5
8219 rm -rf libconftest.dylib*
8223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8224 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8227 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8228 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8229 $as_echo_n "(cached) " >&6
8231 lt_cv_ld_exported_symbols_list=no
8232 save_LDFLAGS=$LDFLAGS
8233 echo "_main" > conftest.sym
8234 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8236 /* end confdefs.h. */
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 lt_cv_ld_exported_symbols_list=yes
8249 lt_cv_ld_exported_symbols_list=no
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 LDFLAGS="$save_LDFLAGS"
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8257 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8260 $as_echo_n "checking for -force_load linker flag... " >&6; }
8261 if ${lt_cv_ld_force_load+:} false; then :
8262 $as_echo_n "(cached) " >&6
8264 lt_cv_ld_force_load=no
8265 cat > conftest.c << _LT_EOF
8266 int forced_loaded() { return 2;}
8268 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8269 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8270 echo "$AR cru libconftest.a conftest.o" >&5
8271 $AR cru libconftest.a conftest.o 2>&5
8272 echo "$RANLIB libconftest.a" >&5
8273 $RANLIB libconftest.a 2>&5
8274 cat > conftest.c << _LT_EOF
8275 int main() { return 0;}
8277 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8278 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8280 if test -s conftest.err && $GREP force_load conftest.err; then
8281 cat conftest.err >&5
8282 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
8283 lt_cv_ld_force_load=yes
8285 cat conftest.err >&5
8287 rm -f conftest.err libconftest.a conftest conftest.c
8288 rm -rf conftest.dSYM
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8292 $as_echo "$lt_cv_ld_force_load" >&6; }
8294 rhapsody* | darwin1.[012])
8295 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8297 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8298 darwin*) # darwin 5.x on
8299 # if running on 10.5 or later, the deployment target defaults
8300 # to the OS version, if on x86, and 10.4, the deployment
8301 # target defaults to 10.4. Don't you love it?
8302 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8303 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8304 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8306 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8308 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8312 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8313 _lt_dar_single_mod='$single_module'
8315 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8316 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8318 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8320 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8321 _lt_dsymutil='~$DSYMUTIL $lib || :'
8328 for ac_header in dlfcn.h
8330 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8332 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8333 cat >>confdefs.h <<_ACEOF
8334 #define HAVE_DLFCN_H 1
8355 # Check whether --enable-shared was given.
8356 if test "${enable_shared+set}" = set; then :
8357 enableval=$enable_shared; p=${PACKAGE-default}
8359 yes) enable_shared=yes ;;
8360 no) enable_shared=no ;;
8363 # Look at the argument we got. We use all the common list separators.
8364 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8365 for pkg in $enableval; do
8367 if test "X$pkg" = "X$p"; then
8388 # Check whether --with-pic was given.
8389 if test "${with_pic+set}" = set; then :
8390 withval=$with_pic; lt_p=${PACKAGE-default}
8392 yes|no) pic_mode=$withval ;;
8395 # Look at the argument we got. We use all the common list separators.
8396 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8397 for lt_pkg in $withval; do
8399 if test "X$lt_pkg" = "X$lt_p"; then
8411 test -z "$pic_mode" && pic_mode=default
8419 # Check whether --enable-fast-install was given.
8420 if test "${enable_fast_install+set}" = set; then :
8421 enableval=$enable_fast_install; p=${PACKAGE-default}
8423 yes) enable_fast_install=yes ;;
8424 no) enable_fast_install=no ;;
8426 enable_fast_install=no
8427 # Look at the argument we got. We use all the common list separators.
8428 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8429 for pkg in $enableval; do
8431 if test "X$pkg" = "X$p"; then
8432 enable_fast_install=yes
8439 enable_fast_install=yes
8452 # This can be used to rebuild libtool when needed
8453 LIBTOOL_DEPS="$ltmain"
8455 # Always use our own libtool.
8456 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8487 test -z "$LN_S" && LN_S="ln -s"
8502 if test -n "${ZSH_VERSION+set}" ; then
8503 setopt NO_GLOB_SUBST
8506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8507 $as_echo_n "checking for objdir... " >&6; }
8508 if ${lt_cv_objdir+:} false; then :
8509 $as_echo_n "(cached) " >&6
8511 rm -f .libs 2>/dev/null
8512 mkdir .libs 2>/dev/null
8513 if test -d .libs; then
8516 # MS-DOS does not allow filenames that begin with a dot.
8519 rmdir .libs 2>/dev/null
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8522 $as_echo "$lt_cv_objdir" >&6; }
8523 objdir=$lt_cv_objdir
8529 cat >>confdefs.h <<_ACEOF
8530 #define LT_OBJDIR "$lt_cv_objdir/"
8538 # AIX sometimes has problems with the GCC collect2 program. For some
8539 # reason, if we set the COLLECT_NAMES environment variable, the problems
8540 # vanish in a puff of smoke.
8541 if test "X${COLLECT_NAMES+set}" != Xset; then
8543 export COLLECT_NAMES
8550 can_build_shared=yes
8552 # All known linkers require a `.a' archive for static linking (except MSVC,
8553 # which needs '.lib').
8556 with_gnu_ld="$lt_cv_prog_gnu_ld"
8559 old_CFLAGS="$CFLAGS"
8561 # Set sane defaults for various variables
8562 test -z "$CC" && CC=cc
8563 test -z "$LTCC" && LTCC=$CC
8564 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8565 test -z "$LD" && LD=ld
8566 test -z "$ac_objext" && ac_objext=o
8568 for cc_temp in $compiler""; do
8570 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8571 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8576 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8579 # Only perform the check for file, if the check method requires it
8580 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8581 case $deplibs_check_method in
8583 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8585 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8586 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8587 $as_echo_n "(cached) " >&6
8591 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8594 lt_save_MAGIC_CMD="$MAGIC_CMD"
8595 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8596 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8597 for ac_dir in $ac_dummy; do
8599 test -z "$ac_dir" && ac_dir=.
8600 if test -f $ac_dir/${ac_tool_prefix}file; then
8601 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8602 if test -n "$file_magic_test_file"; then
8603 case $deplibs_check_method in
8605 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8606 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8607 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8608 $EGREP "$file_magic_regex" > /dev/null; then
8613 *** Warning: the command libtool uses to detect shared libraries,
8614 *** $file_magic_cmd, produces output that libtool cannot recognize.
8615 *** The result is that libtool may fail to recognize shared libraries
8616 *** as such. This will affect the creation of libtool libraries that
8617 *** depend on shared libraries, but programs linked with such libtool
8618 *** libraries will work regardless of this problem. Nevertheless, you
8619 *** may want to report the problem to your system manager and/or to
8620 *** bug-libtool@gnu.org
8630 MAGIC_CMD="$lt_save_MAGIC_CMD"
8635 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8636 if test -n "$MAGIC_CMD"; then
8637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8638 $as_echo "$MAGIC_CMD" >&6; }
8640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8641 $as_echo "no" >&6; }
8648 if test -z "$lt_cv_path_MAGIC_CMD"; then
8649 if test -n "$ac_tool_prefix"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8651 $as_echo_n "checking for file... " >&6; }
8652 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8653 $as_echo_n "(cached) " >&6
8657 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8660 lt_save_MAGIC_CMD="$MAGIC_CMD"
8661 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8662 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8663 for ac_dir in $ac_dummy; do
8665 test -z "$ac_dir" && ac_dir=.
8666 if test -f $ac_dir/file; then
8667 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8668 if test -n "$file_magic_test_file"; then
8669 case $deplibs_check_method in
8671 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8672 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8673 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8674 $EGREP "$file_magic_regex" > /dev/null; then
8679 *** Warning: the command libtool uses to detect shared libraries,
8680 *** $file_magic_cmd, produces output that libtool cannot recognize.
8681 *** The result is that libtool may fail to recognize shared libraries
8682 *** as such. This will affect the creation of libtool libraries that
8683 *** depend on shared libraries, but programs linked with such libtool
8684 *** libraries will work regardless of this problem. Nevertheless, you
8685 *** may want to report the problem to your system manager and/or to
8686 *** bug-libtool@gnu.org
8696 MAGIC_CMD="$lt_save_MAGIC_CMD"
8701 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8702 if test -n "$MAGIC_CMD"; then
8703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8704 $as_echo "$MAGIC_CMD" >&6; }
8706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8707 $as_echo "no" >&6; }
8720 # Use C for the default configuration in the libtool script
8724 ac_cpp='$CPP $CPPFLAGS'
8725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8730 # Source file extension for C test sources.
8733 # Object file extension for compiled C test sources.
8737 # Code to be used in simple compile tests
8738 lt_simple_compile_test_code="int some_variable = 0;"
8740 # Code to be used in simple link tests
8741 lt_simple_link_test_code='int main(){return(0);}'
8749 # If no C compiler was specified, use CC.
8752 # If no C compiler flags were specified, use CFLAGS.
8753 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8755 # Allow CC to be a program name with arguments.
8758 # Save the default compiler, since it gets overwritten when the other
8759 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8760 compiler_DEFAULT=$CC
8762 # save warnings/boilerplate of simple test code
8763 ac_outfile=conftest.$ac_objext
8764 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8765 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8766 _lt_compiler_boilerplate=`cat conftest.err`
8769 ac_outfile=conftest.$ac_objext
8770 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8771 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8772 _lt_linker_boilerplate=`cat conftest.err`
8777 ## There is no encapsulation within the following macros, do not change
8778 ## the running order or otherwise move them around unless you know exactly
8779 ## what you are doing...
8780 if test -n "$compiler"; then
8782 lt_prog_compiler_no_builtin_flag=
8784 if test "$GCC" = yes; then
8785 case $cc_basename in
8787 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8789 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8793 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8794 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8795 $as_echo_n "(cached) " >&6
8797 lt_cv_prog_compiler_rtti_exceptions=no
8798 ac_outfile=conftest.$ac_objext
8799 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8800 lt_compiler_flag="-fno-rtti -fno-exceptions"
8801 # Insert the option either (1) after the last *FLAGS variable, or
8802 # (2) before a word containing "conftest.", or (3) at the end.
8803 # Note that $ac_compile itself does not contain backslashes and begins
8804 # with a dollar sign (not a hyphen), so the echo should work correctly.
8805 # The option is referenced via a variable to avoid confusing sed.
8806 lt_compile=`echo "$ac_compile" | $SED \
8807 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8808 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8809 -e 's:$: $lt_compiler_flag:'`
8810 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8811 (eval "$lt_compile" 2>conftest.err)
8813 cat conftest.err >&5
8814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8815 if (exit $ac_status) && test -s "$ac_outfile"; then
8816 # The compiler can only warn and ignore the option if not recognized
8817 # So say no if there are warnings other than the usual output.
8818 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8819 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8820 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8821 lt_cv_prog_compiler_rtti_exceptions=yes
8827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8828 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8830 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8831 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8843 lt_prog_compiler_wl=
8844 lt_prog_compiler_pic=
8845 lt_prog_compiler_static=
8848 if test "$GCC" = yes; then
8849 lt_prog_compiler_wl='-Wl,'
8850 lt_prog_compiler_static='-static'
8854 # All AIX code is PIC.
8855 if test "$host_cpu" = ia64; then
8856 # AIX 5 now supports IA64 processor
8857 lt_prog_compiler_static='-Bstatic'
8864 # see comment about AmigaOS4 .so support
8865 lt_prog_compiler_pic='-fPIC'
8868 # FIXME: we need at least 68020 code to build shared libraries, but
8869 # adding the `-m68020' flag to GCC prevents building anything better,
8871 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8876 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8877 # PIC is the default for these OSes.
8880 mingw* | cygwin* | pw32* | os2* | cegcc*)
8881 # This hack is so that the source file can tell whether it is being
8882 # built for inclusion in a dll (and should export symbols for example).
8883 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8884 # (--disable-auto-import) libraries
8885 lt_prog_compiler_pic='-DDLL_EXPORT'
8888 darwin* | rhapsody*)
8889 # PIC is the default on this platform
8890 # Common symbols not allowed in MH_DYLIB files
8891 lt_prog_compiler_pic='-fno-common'
8895 # PIC is the default for Haiku.
8896 # The "-static" flag exists, but is broken.
8897 lt_prog_compiler_static=
8901 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8902 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8903 # sets the default TLS model and affects inlining.
8909 lt_prog_compiler_pic='-fPIC'
8915 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8916 # Instead, we relocate shared libraries at runtime.
8920 # Just because we use GCC doesn't mean we suddenly get shared libraries
8921 # on systems that don't support them.
8922 lt_prog_compiler_can_build_shared=no
8927 # QNX uses GNU C++, but need to define -shared option too, otherwise
8929 lt_prog_compiler_pic='-fPIC -shared'
8933 if test -d /usr/nec; then
8934 lt_prog_compiler_pic=-Kconform_pic
8939 lt_prog_compiler_pic='-fPIC'
8943 case $cc_basename in
8944 nvcc*) # Cuda Compiler Driver 2.2
8945 lt_prog_compiler_wl='-Xlinker '
8946 if test -n "$lt_prog_compiler_pic"; then
8947 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
8952 # PORTME Check for flag to pass linker flags through the system compiler.
8955 lt_prog_compiler_wl='-Wl,'
8956 if test "$host_cpu" = ia64; then
8957 # AIX 5 now supports IA64 processor
8958 lt_prog_compiler_static='-Bstatic'
8960 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8964 mingw* | cygwin* | pw32* | os2* | cegcc*)
8965 # This hack is so that the source file can tell whether it is being
8966 # built for inclusion in a dll (and should export symbols for example).
8967 lt_prog_compiler_pic='-DDLL_EXPORT'
8970 hpux9* | hpux10* | hpux11*)
8971 lt_prog_compiler_wl='-Wl,'
8972 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8979 lt_prog_compiler_pic='+Z'
8982 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8983 lt_prog_compiler_static='${wl}-a ${wl}archive'
8986 irix5* | irix6* | nonstopux*)
8987 lt_prog_compiler_wl='-Wl,'
8988 # PIC (with -KPIC) is the default.
8989 lt_prog_compiler_static='-non_shared'
8992 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8993 case $cc_basename in
8994 # old Intel for x86_64 which still supported -KPIC.
8996 lt_prog_compiler_wl='-Wl,'
8997 lt_prog_compiler_pic='-KPIC'
8998 lt_prog_compiler_static='-static'
9000 # icc used to be incompatible with GCC.
9001 # ICC 10 doesn't accept -KPIC any more.
9003 lt_prog_compiler_wl='-Wl,'
9004 lt_prog_compiler_pic='-fPIC'
9005 lt_prog_compiler_static='-static'
9007 # Lahey Fortran 8.1.
9009 lt_prog_compiler_wl='-Wl,'
9010 lt_prog_compiler_pic='--shared'
9011 lt_prog_compiler_static='--static'
9014 # NAG Fortran compiler
9015 lt_prog_compiler_wl='-Wl,-Wl,,'
9016 lt_prog_compiler_pic='-PIC'
9017 lt_prog_compiler_static='-Bstatic'
9019 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9020 # Portland Group compilers (*not* the Pentium gcc compiler,
9021 # which looks to be a dead project)
9022 lt_prog_compiler_wl='-Wl,'
9023 lt_prog_compiler_pic='-fpic'
9024 lt_prog_compiler_static='-Bstatic'
9027 lt_prog_compiler_wl='-Wl,'
9028 # All Alpha code is PIC.
9029 lt_prog_compiler_static='-non_shared'
9031 xl* | bgxl* | bgf* | mpixl*)
9032 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9033 lt_prog_compiler_wl='-Wl,'
9034 lt_prog_compiler_pic='-qpic'
9035 lt_prog_compiler_static='-qstaticlink'
9038 case `$CC -V 2>&1 | sed 5q` in
9039 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
9040 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9041 lt_prog_compiler_pic='-KPIC'
9042 lt_prog_compiler_static='-Bstatic'
9043 lt_prog_compiler_wl=''
9045 *Sun\ F* | *Sun*Fortran*)
9046 lt_prog_compiler_pic='-KPIC'
9047 lt_prog_compiler_static='-Bstatic'
9048 lt_prog_compiler_wl='-Qoption ld '
9052 lt_prog_compiler_pic='-KPIC'
9053 lt_prog_compiler_static='-Bstatic'
9054 lt_prog_compiler_wl='-Wl,'
9056 *Intel*\ [CF]*Compiler*)
9057 lt_prog_compiler_wl='-Wl,'
9058 lt_prog_compiler_pic='-fPIC'
9059 lt_prog_compiler_static='-static'
9062 lt_prog_compiler_wl='-Wl,'
9063 lt_prog_compiler_pic='-fpic'
9064 lt_prog_compiler_static='-Bstatic'
9072 lt_prog_compiler_pic='-KPIC'
9073 lt_prog_compiler_static='-Bstatic'
9077 # QNX uses GNU C++, but need to define -shared option too, otherwise
9079 lt_prog_compiler_pic='-fPIC -shared'
9082 osf3* | osf4* | osf5*)
9083 lt_prog_compiler_wl='-Wl,'
9084 # All OSF/1 code is PIC.
9085 lt_prog_compiler_static='-non_shared'
9089 lt_prog_compiler_static='-non_shared'
9093 lt_prog_compiler_pic='-KPIC'
9094 lt_prog_compiler_static='-Bstatic'
9095 case $cc_basename in
9096 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
9097 lt_prog_compiler_wl='-Qoption ld ';;
9099 lt_prog_compiler_wl='-Wl,';;
9104 lt_prog_compiler_wl='-Qoption ld '
9105 lt_prog_compiler_pic='-PIC'
9106 lt_prog_compiler_static='-Bstatic'
9109 sysv4 | sysv4.2uw2* | sysv4.3*)
9110 lt_prog_compiler_wl='-Wl,'
9111 lt_prog_compiler_pic='-KPIC'
9112 lt_prog_compiler_static='-Bstatic'
9116 if test -d /usr/nec ;then
9117 lt_prog_compiler_pic='-Kconform_pic'
9118 lt_prog_compiler_static='-Bstatic'
9122 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9123 lt_prog_compiler_wl='-Wl,'
9124 lt_prog_compiler_pic='-KPIC'
9125 lt_prog_compiler_static='-Bstatic'
9129 lt_prog_compiler_wl='-Wl,'
9130 lt_prog_compiler_can_build_shared=no
9134 lt_prog_compiler_pic='-pic'
9135 lt_prog_compiler_static='-Bstatic'
9139 lt_prog_compiler_can_build_shared=no
9145 # For platforms which do not support PIC, -DPIC is meaningless:
9147 lt_prog_compiler_pic=
9150 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9155 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9156 if ${lt_cv_prog_compiler_pic+:} false; then :
9157 $as_echo_n "(cached) " >&6
9159 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
9162 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
9163 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
9166 # Check to make sure the PIC flag actually works.
9168 if test -n "$lt_prog_compiler_pic"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9170 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9171 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9172 $as_echo_n "(cached) " >&6
9174 lt_cv_prog_compiler_pic_works=no
9175 ac_outfile=conftest.$ac_objext
9176 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9177 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9178 # Insert the option either (1) after the last *FLAGS variable, or
9179 # (2) before a word containing "conftest.", or (3) at the end.
9180 # Note that $ac_compile itself does not contain backslashes and begins
9181 # with a dollar sign (not a hyphen), so the echo should work correctly.
9182 # The option is referenced via a variable to avoid confusing sed.
9183 lt_compile=`echo "$ac_compile" | $SED \
9184 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9185 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9186 -e 's:$: $lt_compiler_flag:'`
9187 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9188 (eval "$lt_compile" 2>conftest.err)
9190 cat conftest.err >&5
9191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9192 if (exit $ac_status) && test -s "$ac_outfile"; then
9193 # The compiler can only warn and ignore the option if not recognized
9194 # So say no if there are warnings other than the usual output.
9195 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9196 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9197 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9198 lt_cv_prog_compiler_pic_works=yes
9204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9205 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9207 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9208 case $lt_prog_compiler_pic in
9210 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9213 lt_prog_compiler_pic=
9214 lt_prog_compiler_can_build_shared=no
9230 # Check to make sure the static flag actually works.
9232 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9234 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9235 if ${lt_cv_prog_compiler_static_works+:} false; then :
9236 $as_echo_n "(cached) " >&6
9238 lt_cv_prog_compiler_static_works=no
9239 save_LDFLAGS="$LDFLAGS"
9240 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9241 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9242 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9243 # The linker can only warn and ignore the option if not recognized
9244 # So say no if there are warnings
9245 if test -s conftest.err; then
9246 # Append any errors to the config.log.
9247 cat conftest.err 1>&5
9248 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9249 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9250 if diff conftest.exp conftest.er2 >/dev/null; then
9251 lt_cv_prog_compiler_static_works=yes
9254 lt_cv_prog_compiler_static_works=yes
9258 LDFLAGS="$save_LDFLAGS"
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9262 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9264 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9267 lt_prog_compiler_static=
9276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9277 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9278 if ${lt_cv_prog_compiler_c_o+:} false; then :
9279 $as_echo_n "(cached) " >&6
9281 lt_cv_prog_compiler_c_o=no
9282 $RM -r conftest 2>/dev/null
9286 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9288 lt_compiler_flag="-o out/conftest2.$ac_objext"
9289 # Insert the option either (1) after the last *FLAGS variable, or
9290 # (2) before a word containing "conftest.", or (3) at the end.
9291 # Note that $ac_compile itself does not contain backslashes and begins
9292 # with a dollar sign (not a hyphen), so the echo should work correctly.
9293 lt_compile=`echo "$ac_compile" | $SED \
9294 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9295 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9296 -e 's:$: $lt_compiler_flag:'`
9297 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9298 (eval "$lt_compile" 2>out/conftest.err)
9300 cat out/conftest.err >&5
9301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9302 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9304 # The compiler can only warn and ignore the option if not recognized
9305 # So say no if there are warnings
9306 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9307 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9308 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9309 lt_cv_prog_compiler_c_o=yes
9314 # SGI C++ compiler will create directory out/ii_files/ for
9315 # template instantiation
9316 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9317 $RM out/* && rmdir out
9323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9324 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9332 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9333 if ${lt_cv_prog_compiler_c_o+:} false; then :
9334 $as_echo_n "(cached) " >&6
9336 lt_cv_prog_compiler_c_o=no
9337 $RM -r conftest 2>/dev/null
9341 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9343 lt_compiler_flag="-o out/conftest2.$ac_objext"
9344 # Insert the option either (1) after the last *FLAGS variable, or
9345 # (2) before a word containing "conftest.", or (3) at the end.
9346 # Note that $ac_compile itself does not contain backslashes and begins
9347 # with a dollar sign (not a hyphen), so the echo should work correctly.
9348 lt_compile=`echo "$ac_compile" | $SED \
9349 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9350 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9351 -e 's:$: $lt_compiler_flag:'`
9352 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9353 (eval "$lt_compile" 2>out/conftest.err)
9355 cat out/conftest.err >&5
9356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9357 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9359 # The compiler can only warn and ignore the option if not recognized
9360 # So say no if there are warnings
9361 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9362 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9363 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9364 lt_cv_prog_compiler_c_o=yes
9369 # SGI C++ compiler will create directory out/ii_files/ for
9370 # template instantiation
9371 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9372 $RM out/* && rmdir out
9378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9379 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9384 hard_links="nottested"
9385 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9386 # do not overwrite the value of need_locks provided by the user
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9388 $as_echo_n "checking if we can lock with hard links... " >&6; }
9391 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9393 ln conftest.a conftest.b 2>&5 || hard_links=no
9394 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9396 $as_echo "$hard_links" >&6; }
9397 if test "$hard_links" = no; then
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9399 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9412 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9415 allow_undefined_flag=
9416 always_export_symbols=no
9418 archive_expsym_cmds=
9419 compiler_needs_object=no
9420 enable_shared_with_static_runtimes=no
9421 export_dynamic_flag_spec=
9422 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9423 hardcode_automatic=no
9425 hardcode_direct_absolute=no
9426 hardcode_libdir_flag_spec=
9427 hardcode_libdir_separator=
9429 hardcode_shlibpath_var=unsupported
9431 link_all_deplibs=unknown
9434 old_archive_from_new_cmds=
9435 old_archive_from_expsyms_cmds=
9436 thread_safe_flag_spec=
9437 whole_archive_flag_spec=
9438 # include_expsyms should be a list of space-separated symbols to be *always*
9439 # included in the symbol list
9441 # exclude_expsyms can be an extended regexp of symbols to exclude
9442 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9443 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9444 # as well as any symbol that contains `d'.
9445 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9446 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9447 # platforms (ab)use it in PIC code, but their linkers get confused if
9448 # the symbol is explicitly referenced. Since portable code cannot
9449 # rely on this symbol name, it's probably fine to never include it in
9450 # preloaded symbol tables.
9451 # Exclude shared library initialization/finalization symbols.
9452 extract_expsyms_cmds=
9455 cygwin* | mingw* | pw32* | cegcc*)
9456 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9457 # When not using gcc, we currently assume that we are using
9458 # Microsoft Visual C++.
9459 if test "$GCC" != yes; then
9464 # we just hope/assume this is gcc and not c89 (= MSVC++)
9470 linux* | k*bsd*-gnu | gnu*)
9477 # On some targets, GNU ld is compatible enough with the native linker
9478 # that we're better off using the native interface for both.
9479 lt_use_gnu_ld_interface=no
9480 if test "$with_gnu_ld" = yes; then
9483 # The AIX port of GNU ld has always aspired to compatibility
9484 # with the native linker. However, as the warning in the GNU ld
9485 # block says, versions before 2.19.5* couldn't really create working
9486 # shared libraries, regardless of the interface used.
9487 case `$LD -v 2>&1` in
9488 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9489 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9490 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9492 lt_use_gnu_ld_interface=yes
9497 lt_use_gnu_ld_interface=yes
9502 if test "$lt_use_gnu_ld_interface" = yes; then
9503 # If archive_cmds runs LD, not CC, wlarc should be empty
9506 # Set some defaults for GNU ld with shared library support. These
9507 # are reset later if shared libraries are not supported. Putting them
9508 # here allows them to be overridden if necessary.
9509 runpath_var=LD_RUN_PATH
9510 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9511 export_dynamic_flag_spec='${wl}--export-dynamic'
9512 # ancient GNU ld didn't support --whole-archive et. al.
9513 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9514 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9516 whole_archive_flag_spec=
9518 supports_anon_versioning=no
9519 case `$LD -v 2>&1` in
9520 *GNU\ gold*) supports_anon_versioning=yes ;;
9521 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9522 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9523 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9524 *\ 2.11.*) ;; # other 2.11 versions
9525 *) supports_anon_versioning=yes ;;
9528 # See if GNU ld supports shared libraries.
9531 # On AIX/PPC, the GNU linker is very broken
9532 if test "$host_cpu" != ia64; then
9536 *** Warning: the GNU linker, at least up to release 2.19, is reported
9537 *** to be unable to reliably create shared libraries on AIX.
9538 *** Therefore, libtool is disabling shared libraries support. If you
9539 *** really care for shared libraries, you may want to install binutils
9540 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9541 *** You will then need to restart the configuration process.
9550 # see comment about AmigaOS4 .so support
9551 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9552 archive_expsym_cmds=''
9555 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)'
9556 hardcode_libdir_flag_spec='-L$libdir'
9557 hardcode_minus_L=yes
9563 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9564 allow_undefined_flag=unsupported
9565 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9566 # support --undefined. This deserves some investigation. FIXME
9567 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9573 cygwin* | mingw* | pw32* | cegcc*)
9574 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9575 # as there is no search path for DLLs.
9576 hardcode_libdir_flag_spec='-L$libdir'
9577 export_dynamic_flag_spec='${wl}--export-all-symbols'
9578 allow_undefined_flag=unsupported
9579 always_export_symbols=no
9580 enable_shared_with_static_runtimes=yes
9581 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'
9582 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9584 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9585 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9586 # If the export-symbols file already is a .def file (1st line
9587 # is EXPORTS), use it as is; otherwise, prepend...
9588 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9589 cp $export_symbols $output_objdir/$soname.def;
9591 echo EXPORTS > $output_objdir/$soname.def;
9592 cat $export_symbols >> $output_objdir/$soname.def;
9594 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9601 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9602 link_all_deplibs=yes
9607 hardcode_shlibpath_var=no
9608 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9609 export_dynamic_flag_spec='${wl}-E'
9610 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9611 # Instead, shared libraries are loaded at an image base (0x10000000 by
9612 # default) and relocated if they conflict, which is a slow very memory
9613 # consuming and fragmenting process. To avoid this, we pick a random,
9614 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9615 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9616 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9617 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'
9620 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9622 if test "$host_os" = linux-dietlibc; then
9623 case $cc_basename in
9624 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9627 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9628 && test "$tmp_diet" = no
9630 tmp_addflag=' $pic_flag'
9631 tmp_sharedflag='-shared'
9632 case $cc_basename,$host_cpu in
9633 pgcc*) # Portland Group C compiler
9634 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'
9635 tmp_addflag=' $pic_flag'
9637 pgf77* | pgf90* | pgf95* | pgfortran*)
9638 # Portland Group f77 and f90 compilers
9639 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'
9640 tmp_addflag=' $pic_flag -Mnomain' ;;
9641 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9642 tmp_addflag=' -i_dynamic' ;;
9643 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9644 tmp_addflag=' -i_dynamic -nofor_main' ;;
9645 ifc* | ifort*) # Intel Fortran compiler
9646 tmp_addflag=' -nofor_main' ;;
9647 lf95*) # Lahey Fortran 8.1
9648 whole_archive_flag_spec=
9649 tmp_sharedflag='--shared' ;;
9650 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9651 tmp_sharedflag='-qmkshrobj'
9653 nvcc*) # Cuda Compiler Driver 2.2
9654 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'
9655 compiler_needs_object=yes
9658 case `$CC -V 2>&1 | sed 5q` in
9659 *Sun\ C*) # Sun C 5.9
9660 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'
9661 compiler_needs_object=yes
9662 tmp_sharedflag='-G' ;;
9663 *Sun\ F*) # Sun Fortran 8.3
9664 tmp_sharedflag='-G' ;;
9666 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9668 if test "x$supports_anon_versioning" = xyes; then
9669 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9670 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9671 echo "local: *; };" >> $output_objdir/$libname.ver~
9672 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9675 case $cc_basename in
9676 xlf* | bgf* | bgxlf* | mpixlf*)
9677 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9678 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9679 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9680 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
9681 if test "x$supports_anon_versioning" = xyes; then
9682 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9683 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9684 echo "local: *; };" >> $output_objdir/$libname.ver~
9685 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9694 netbsd* | netbsdelf*-gnu)
9695 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9696 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9699 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9700 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9705 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9709 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9710 *** create shared libraries on Solaris systems. Therefore, libtool
9711 *** is disabling shared libraries support. We urge you to upgrade GNU
9712 *** binutils to release 2.9.1 or newer. Another option is to modify
9713 *** your PATH or compiler configuration so that the native linker is
9714 *** used, and then restart.
9717 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9718 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9719 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9725 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9726 case `$LD -v 2>&1` in
9727 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9731 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9732 *** reliably create shared libraries on SCO systems. Therefore, libtool
9733 *** is disabling shared libraries support. We urge you to upgrade GNU
9734 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9735 *** your PATH or compiler configuration so that the native linker is
9736 *** used, and then restart.
9741 # For security reasons, it is highly recommended that you always
9742 # use absolute paths for naming shared libraries, and exclude the
9743 # DT_RUNPATH tag from executables and libraries. But doing so
9744 # requires that you compile everything twice, which is a pain.
9745 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9746 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9757 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9760 hardcode_shlibpath_var=no
9764 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9765 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9766 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9773 if test "$ld_shlibs" = no; then
9775 hardcode_libdir_flag_spec=
9776 export_dynamic_flag_spec=
9777 whole_archive_flag_spec=
9780 # PORTME fill in a description of your system's linker (not GNU ld)
9783 allow_undefined_flag=unsupported
9784 always_export_symbols=yes
9785 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'
9786 # Note: this linker hardcodes the directories in LIBPATH if there
9787 # are no directories specified by -L.
9788 hardcode_minus_L=yes
9789 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9790 # Neither direct hardcoding nor static linking is supported with a
9792 hardcode_direct=unsupported
9797 if test "$host_cpu" = ia64; then
9798 # On IA64, the linker does run time linking by default, so we don't
9799 # have to do anything special.
9800 aix_use_runtimelinking=no
9801 exp_sym_flag='-Bexport'
9804 # If we're using GNU nm, then we don't want the "-C" option.
9805 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9806 # Also, AIX nm treats weak defined symbols like other global
9807 # defined symbols, whereas GNU nm marks them as "W".
9808 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9809 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'
9811 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'
9813 aix_use_runtimelinking=no
9815 # Test if we are trying to use run time linking or normal
9816 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9817 # need to do runtime linking.
9818 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9819 for ld_flag in $LDFLAGS; do
9820 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9821 aix_use_runtimelinking=yes
9828 exp_sym_flag='-bexport'
9829 no_entry_flag='-bnoentry'
9832 # When large executables or shared objects are built, AIX ld can
9833 # have problems creating the table of contents. If linking a library
9834 # or program results in "error TOC overflow" add -mminimal-toc to
9835 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9836 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9840 hardcode_direct_absolute=yes
9841 hardcode_libdir_separator=':'
9842 link_all_deplibs=yes
9843 file_list_spec='${wl}-f,'
9845 if test "$GCC" = yes; then
9846 case $host_os in aix4.[012]|aix4.[012].*)
9847 # We only want to do this on AIX 4.2 and lower, the check
9848 # below for broken collect2 doesn't work under 4.3+
9849 collect2name=`${CC} -print-prog-name=collect2`
9850 if test -f "$collect2name" &&
9851 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9853 # We have reworked collect2
9856 # We have old collect2
9857 hardcode_direct=unsupported
9858 # It fails to find uninstalled libraries when the uninstalled
9859 # path is not listed in the libpath. Setting hardcode_minus_L
9860 # to unsupported forces relinking
9861 hardcode_minus_L=yes
9862 hardcode_libdir_flag_spec='-L$libdir'
9863 hardcode_libdir_separator=
9867 shared_flag='-shared'
9868 if test "$aix_use_runtimelinking" = yes; then
9869 shared_flag="$shared_flag "'${wl}-G'
9874 if test "$host_cpu" = ia64; then
9875 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9876 # chokes on -Wl,-G. The following line is correct:
9879 if test "$aix_use_runtimelinking" = yes; then
9880 shared_flag='${wl}-G'
9882 shared_flag='${wl}-bM:SRE'
9887 export_dynamic_flag_spec='${wl}-bexpall'
9888 # It seems that -bexpall does not export symbols beginning with
9889 # underscore (_), so it is better to generate a list of symbols to export.
9890 always_export_symbols=yes
9891 if test "$aix_use_runtimelinking" = yes; then
9892 # Warning - without using the other runtime loading flags (-brtl),
9893 # -berok will link without error, but may produce a broken library.
9894 allow_undefined_flag='-berok'
9895 # Determine the default libpath from the value encoded in an
9897 if test "${lt_cv_aix_libpath+set}" = set; then
9898 aix_libpath=$lt_cv_aix_libpath
9900 if ${lt_cv_aix_libpath_+:} false; then :
9901 $as_echo_n "(cached) " >&6
9903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9904 /* end confdefs.h. */
9914 if ac_fn_c_try_link "$LINENO"; then :
9916 lt_aix_libpath_sed='
9917 /Import File Strings/,/^$/ {
9919 s/^0 *\([^ ]*\) *$/\1/
9923 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9924 # Check for a 64-bit object if we didn't find anything.
9925 if test -z "$lt_cv_aix_libpath_"; then
9926 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9929 rm -f core conftest.err conftest.$ac_objext \
9930 conftest$ac_exeext conftest.$ac_ext
9931 if test -z "$lt_cv_aix_libpath_"; then
9932 lt_cv_aix_libpath_="/usr/lib:/lib"
9937 aix_libpath=$lt_cv_aix_libpath_
9940 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9941 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"
9943 if test "$host_cpu" = ia64; then
9944 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9945 allow_undefined_flag="-z nodefs"
9946 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"
9948 # Determine the default libpath from the value encoded in an
9950 if test "${lt_cv_aix_libpath+set}" = set; then
9951 aix_libpath=$lt_cv_aix_libpath
9953 if ${lt_cv_aix_libpath_+:} false; then :
9954 $as_echo_n "(cached) " >&6
9956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9957 /* end confdefs.h. */
9967 if ac_fn_c_try_link "$LINENO"; then :
9969 lt_aix_libpath_sed='
9970 /Import File Strings/,/^$/ {
9972 s/^0 *\([^ ]*\) *$/\1/
9976 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9977 # Check for a 64-bit object if we didn't find anything.
9978 if test -z "$lt_cv_aix_libpath_"; then
9979 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9982 rm -f core conftest.err conftest.$ac_objext \
9983 conftest$ac_exeext conftest.$ac_ext
9984 if test -z "$lt_cv_aix_libpath_"; then
9985 lt_cv_aix_libpath_="/usr/lib:/lib"
9990 aix_libpath=$lt_cv_aix_libpath_
9993 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9994 # Warning - without using the other run time loading flags,
9995 # -berok will link without error, but may produce a broken library.
9996 no_undefined_flag=' ${wl}-bernotok'
9997 allow_undefined_flag=' ${wl}-berok'
9998 if test "$with_gnu_ld" = yes; then
9999 # We only use this code for GNU lds that support --whole-archive.
10000 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10002 # Exported symbols can be pulled into shared objects from archives
10003 whole_archive_flag_spec='$convenience'
10005 archive_cmds_need_lc=yes
10006 # This is similar to how AIX traditionally builds its shared libraries.
10007 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'
10015 # see comment about AmigaOS4 .so support
10016 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10017 archive_expsym_cmds=''
10020 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)'
10021 hardcode_libdir_flag_spec='-L$libdir'
10022 hardcode_minus_L=yes
10028 export_dynamic_flag_spec=-rdynamic
10031 cygwin* | mingw* | pw32* | cegcc*)
10032 # When not using gcc, we currently assume that we are using
10033 # Microsoft Visual C++.
10034 # hardcode_libdir_flag_spec is actually meaningless, as there is
10035 # no search path for DLLs.
10036 case $cc_basename in
10039 hardcode_libdir_flag_spec=' '
10040 allow_undefined_flag=unsupported
10041 always_export_symbols=yes
10043 # Tell ltmain to make .lib files, not .a files.
10045 # Tell ltmain to make .dll files, not .so files.
10047 # FIXME: Setting linknames here is a bad hack.
10048 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
10049 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
10050 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
10052 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
10054 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
10056 # The linker will not automatically build a static lib if we build a DLL.
10057 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
10058 enable_shared_with_static_runtimes=yes
10059 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
10060 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
10062 old_postinstall_cmds='chmod 644 $oldlib'
10063 postlink_cmds='lt_outputfile="@OUTPUT@"~
10064 lt_tool_outputfile="@TOOL_OUTPUT@"~
10065 case $lt_outputfile in
10068 lt_outputfile="$lt_outputfile.exe"
10069 lt_tool_outputfile="$lt_tool_outputfile.exe"
10072 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
10073 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
10074 $RM "$lt_outputfile.manifest";
10078 # Assume MSVC wrapper
10079 hardcode_libdir_flag_spec=' '
10080 allow_undefined_flag=unsupported
10081 # Tell ltmain to make .lib files, not .a files.
10083 # Tell ltmain to make .dll files, not .so files.
10085 # FIXME: Setting linknames here is a bad hack.
10086 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10087 # The linker will automatically build a .lib file if we build a DLL.
10088 old_archive_from_new_cmds='true'
10089 # FIXME: Should let the user specify the lib program.
10090 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10091 enable_shared_with_static_runtimes=yes
10096 darwin* | rhapsody*)
10099 archive_cmds_need_lc=no
10101 hardcode_automatic=yes
10102 hardcode_shlibpath_var=unsupported
10103 if test "$lt_cv_ld_force_load" = "yes"; then
10104 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\"`'
10107 whole_archive_flag_spec=''
10109 link_all_deplibs=yes
10110 allow_undefined_flag="$_lt_dar_allow_undefined"
10111 case $cc_basename in
10112 ifort*) _lt_dar_can_shared=yes ;;
10113 *) _lt_dar_can_shared=$GCC ;;
10115 if test "$_lt_dar_can_shared" = "yes"; then
10116 output_verbose_link_cmd=func_echo_all
10117 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10118 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10119 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}"
10120 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}"
10129 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10130 hardcode_libdir_flag_spec='-L$libdir'
10131 hardcode_shlibpath_var=no
10134 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10135 # support. Future versions do this automatically, but an explicit c++rt0.o
10136 # does not break anything, and helps significantly (at the cost of a little
10139 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10140 hardcode_libdir_flag_spec='-R$libdir'
10141 hardcode_direct=yes
10142 hardcode_shlibpath_var=no
10145 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10147 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10148 hardcode_direct=yes
10149 hardcode_minus_L=yes
10150 hardcode_shlibpath_var=no
10153 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10154 freebsd* | dragonfly*)
10155 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10156 hardcode_libdir_flag_spec='-R$libdir'
10157 hardcode_direct=yes
10158 hardcode_shlibpath_var=no
10162 if test "$GCC" = yes; then
10163 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'
10165 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'
10167 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10168 hardcode_libdir_separator=:
10169 hardcode_direct=yes
10171 # hardcode_minus_L: Not really in the search PATH,
10172 # but as the default location of the library.
10173 hardcode_minus_L=yes
10174 export_dynamic_flag_spec='${wl}-E'
10178 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10179 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10181 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10183 if test "$with_gnu_ld" = no; then
10184 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10185 hardcode_libdir_separator=:
10186 hardcode_direct=yes
10187 hardcode_direct_absolute=yes
10188 export_dynamic_flag_spec='${wl}-E'
10189 # hardcode_minus_L: Not really in the search PATH,
10190 # but as the default location of the library.
10191 hardcode_minus_L=yes
10196 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10199 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10202 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10205 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10211 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10214 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10218 # Older versions of the 11.00 compiler do not understand -b yet
10219 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10221 $as_echo_n "checking if $CC understands -b... " >&6; }
10222 if ${lt_cv_prog_compiler__b+:} false; then :
10223 $as_echo_n "(cached) " >&6
10225 lt_cv_prog_compiler__b=no
10226 save_LDFLAGS="$LDFLAGS"
10227 LDFLAGS="$LDFLAGS -b"
10228 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10229 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10230 # The linker can only warn and ignore the option if not recognized
10231 # So say no if there are warnings
10232 if test -s conftest.err; then
10233 # Append any errors to the config.log.
10234 cat conftest.err 1>&5
10235 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10236 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10237 if diff conftest.exp conftest.er2 >/dev/null; then
10238 lt_cv_prog_compiler__b=yes
10241 lt_cv_prog_compiler__b=yes
10245 LDFLAGS="$save_LDFLAGS"
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10249 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10251 if test x"$lt_cv_prog_compiler__b" = xyes; then
10252 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10254 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10260 if test "$with_gnu_ld" = no; then
10261 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10262 hardcode_libdir_separator=:
10267 hardcode_shlibpath_var=no
10270 hardcode_direct=yes
10271 hardcode_direct_absolute=yes
10272 export_dynamic_flag_spec='${wl}-E'
10274 # hardcode_minus_L: Not really in the search PATH,
10275 # but as the default location of the library.
10276 hardcode_minus_L=yes
10282 irix5* | irix6* | nonstopux*)
10283 if test "$GCC" = yes; then
10284 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'
10285 # Try to use the -exported_symbol ld option, if it does not
10286 # work, assume that -exports_file does not work either and
10287 # implicitly export all symbols.
10288 # This should be the same for all languages, so no per-tag cache variable.
10289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
10290 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
10291 if ${lt_cv_irix_exported_symbol+:} false; then :
10292 $as_echo_n "(cached) " >&6
10294 save_LDFLAGS="$LDFLAGS"
10295 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10297 /* end confdefs.h. */
10298 int foo (void) { return 0; }
10300 if ac_fn_c_try_link "$LINENO"; then :
10301 lt_cv_irix_exported_symbol=yes
10303 lt_cv_irix_exported_symbol=no
10305 rm -f core conftest.err conftest.$ac_objext \
10306 conftest$ac_exeext conftest.$ac_ext
10307 LDFLAGS="$save_LDFLAGS"
10309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
10310 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
10311 if test "$lt_cv_irix_exported_symbol" = yes; then
10312 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'
10315 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'
10316 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'
10318 archive_cmds_need_lc='no'
10319 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10320 hardcode_libdir_separator=:
10322 link_all_deplibs=yes
10325 netbsd* | netbsdelf*-gnu)
10326 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10327 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10329 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10331 hardcode_libdir_flag_spec='-R$libdir'
10332 hardcode_direct=yes
10333 hardcode_shlibpath_var=no
10337 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10338 hardcode_direct=yes
10339 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10340 hardcode_libdir_separator=:
10341 hardcode_shlibpath_var=no
10348 if test -f /usr/libexec/ld.so; then
10349 hardcode_direct=yes
10350 hardcode_shlibpath_var=no
10351 hardcode_direct_absolute=yes
10352 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10353 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10354 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10355 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10356 export_dynamic_flag_spec='${wl}-E'
10359 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10360 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10361 hardcode_libdir_flag_spec='-R$libdir'
10364 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10365 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10375 hardcode_libdir_flag_spec='-L$libdir'
10376 hardcode_minus_L=yes
10377 allow_undefined_flag=unsupported
10378 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'
10379 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10383 if test "$GCC" = yes; then
10384 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10385 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'
10387 allow_undefined_flag=' -expect_unresolved \*'
10388 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'
10390 archive_cmds_need_lc='no'
10391 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10392 hardcode_libdir_separator=:
10395 osf4* | osf5*) # as osf3* with the addition of -msym flag
10396 if test "$GCC" = yes; then
10397 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10398 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'
10399 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10401 allow_undefined_flag=' -expect_unresolved \*'
10402 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'
10403 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~
10404 $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'
10406 # Both c and cxx compiler support -rpath directly
10407 hardcode_libdir_flag_spec='-rpath $libdir'
10409 archive_cmds_need_lc='no'
10410 hardcode_libdir_separator=:
10414 no_undefined_flag=' -z defs'
10415 if test "$GCC" = yes; then
10417 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10418 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10419 $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'
10421 case `$CC -V 2>&1` in
10424 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10425 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10426 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10430 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10431 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10432 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10436 hardcode_libdir_flag_spec='-R$libdir'
10437 hardcode_shlibpath_var=no
10439 solaris2.[0-5] | solaris2.[0-5].*) ;;
10441 # The compiler driver will combine and reorder linker options,
10442 # but understands `-z linker_flag'. GCC discards it without `$wl',
10443 # but is careful enough not to reorder.
10444 # Supported since Solaris 2.6 (maybe 2.5.1?)
10445 if test "$GCC" = yes; then
10446 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10448 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10452 link_all_deplibs=yes
10456 if test "x$host_vendor" = xsequent; then
10457 # Use $CC to link under sequent, because it throws in some extra .o
10458 # files that make .init and .fini sections work.
10459 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10461 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10463 hardcode_libdir_flag_spec='-L$libdir'
10464 hardcode_direct=yes
10465 hardcode_minus_L=yes
10466 hardcode_shlibpath_var=no
10470 case $host_vendor in
10472 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10473 hardcode_direct=yes # is this really true???
10476 ## LD is ld it makes a PLAMLIB
10477 ## CC just makes a GrossModule.
10478 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10479 reload_cmds='$CC -r -o $output$reload_objs'
10483 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10484 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10487 runpath_var='LD_RUN_PATH'
10488 hardcode_shlibpath_var=no
10492 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10493 hardcode_shlibpath_var=no
10494 export_dynamic_flag_spec='-Bexport'
10498 if test -d /usr/nec; then
10499 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10500 hardcode_shlibpath_var=no
10501 runpath_var=LD_RUN_PATH
10502 hardcode_runpath_var=yes
10507 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10508 no_undefined_flag='${wl}-z,text'
10509 archive_cmds_need_lc=no
10510 hardcode_shlibpath_var=no
10511 runpath_var='LD_RUN_PATH'
10513 if test "$GCC" = yes; then
10514 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10515 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10517 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10518 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10522 sysv5* | sco3.2v5* | sco5v6*)
10523 # Note: We can NOT use -z defs as we might desire, because we do not
10524 # link with -lc, and that would cause any symbols used from libc to
10525 # always be unresolved, which means just about no library would
10526 # ever link correctly. If we're not using GNU ld we use -z text
10527 # though, which does catch some bad symbols but isn't as heavy-handed
10529 no_undefined_flag='${wl}-z,text'
10530 allow_undefined_flag='${wl}-z,nodefs'
10531 archive_cmds_need_lc=no
10532 hardcode_shlibpath_var=no
10533 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10534 hardcode_libdir_separator=':'
10535 link_all_deplibs=yes
10536 export_dynamic_flag_spec='${wl}-Bexport'
10537 runpath_var='LD_RUN_PATH'
10539 if test "$GCC" = yes; then
10540 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10541 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10543 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10544 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10549 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10550 hardcode_libdir_flag_spec='-L$libdir'
10551 hardcode_shlibpath_var=no
10559 if test x$host_vendor = xsni; then
10561 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10562 export_dynamic_flag_spec='${wl}-Blargedynsym'
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10569 $as_echo "$ld_shlibs" >&6; }
10570 test "$ld_shlibs" = no && can_build_shared=no
10572 with_gnu_ld=$with_gnu_ld
10589 # Do we need to explicitly link libc?
10591 case "x$archive_cmds_need_lc" in
10593 # Assume -lc should be added
10594 archive_cmds_need_lc=yes
10596 if test "$enable_shared" = yes && test "$GCC" = yes; then
10597 case $archive_cmds in
10599 # FIXME: we may have to deal with multi-command sequences.
10602 # Test whether the compiler implicitly links with -lc since on some
10603 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10604 # to ld, don't add -lc before -lgcc.
10605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10606 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10607 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10608 $as_echo_n "(cached) " >&6
10611 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10613 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10614 (eval $ac_compile) 2>&5
10616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10617 test $ac_status = 0; } 2>conftest.err; then
10620 libobjs=conftest.$ac_objext
10622 wl=$lt_prog_compiler_wl
10623 pic_flag=$lt_prog_compiler_pic
10629 lt_save_allow_undefined_flag=$allow_undefined_flag
10630 allow_undefined_flag=
10631 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10632 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10634 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10635 test $ac_status = 0; }
10637 lt_cv_archive_cmds_need_lc=no
10639 lt_cv_archive_cmds_need_lc=yes
10641 allow_undefined_flag=$lt_save_allow_undefined_flag
10643 cat conftest.err 1>&5
10648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10649 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10650 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10809 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10811 if test "$GCC" = yes; then
10813 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10814 *) lt_awk_arg="/^libraries:/" ;;
10817 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10818 *) lt_sed_strip_eq="s,=/,/,g" ;;
10820 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10821 case $lt_search_path_spec in
10823 # if the path contains ";" then we assume it to be the separator
10824 # otherwise default to the standard path separator (i.e. ":") - it is
10825 # assumed that no part of a normal pathname contains ";" but that should
10826 # okay in the real world where ";" in dirpaths is itself problematic.
10827 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10830 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10833 # Ok, now we have the path, separated by spaces, we can step through it
10834 # and add multilib dir if necessary.
10835 lt_tmp_lt_search_path_spec=
10836 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10837 for lt_sys_path in $lt_search_path_spec; do
10838 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10839 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10841 test -d "$lt_sys_path" && \
10842 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10845 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10846 BEGIN {RS=" "; FS="/|\n";} {
10849 for (lt_i = NF; lt_i > 0; lt_i--) {
10850 if ($lt_i != "" && $lt_i != ".") {
10851 if ($lt_i == "..") {
10854 if (lt_count == 0) {
10855 lt_foo="/" $lt_i lt_foo;
10862 if (lt_foo != "") { lt_freq[lt_foo]++; }
10863 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10865 # AWK program above erroneously prepends '/' to C:/dos/paths
10868 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10869 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10871 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10873 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10875 library_names_spec=
10876 libname_spec='lib$name'
10880 postuninstall_cmds=
10884 shlibpath_overrides_runpath=unknown
10886 dynamic_linker="$host_os ld.so"
10887 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10888 need_lib_prefix=unknown
10889 hardcode_into_libs=no
10891 # when you set need_version to no, make sure it does not cause -set_version
10892 # flags to be left without arguments
10893 need_version=unknown
10897 version_type=linux # correct to gnu/linux during the next big refactor
10898 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10899 shlibpath_var=LIBPATH
10901 # AIX 3 has no versioning support, so we append a major version to the name.
10902 soname_spec='${libname}${release}${shared_ext}$major'
10906 version_type=linux # correct to gnu/linux during the next big refactor
10909 hardcode_into_libs=yes
10910 if test "$host_cpu" = ia64; then
10911 # AIX 5 supports IA64
10912 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10913 shlibpath_var=LD_LIBRARY_PATH
10915 # With GCC up to 2.95.x, collect2 would create an import file
10916 # for dependence libraries. The import file would start with
10917 # the line `#! .'. This would cause the generated library to
10918 # depend on `.', always an invalid library. This was fixed in
10919 # development snapshots of GCC prior to 3.0.
10921 aix4 | aix4.[01] | aix4.[01].*)
10922 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10924 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10927 can_build_shared=no
10931 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10932 # soname into executable. Probably we can add versioning support to
10933 # collect2, so additional links can be useful in future.
10934 if test "$aix_use_runtimelinking" = yes; then
10935 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10936 # instead of lib<name>.a to let people know that these are not
10937 # typical AIX shared libraries.
10938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10940 # We preserve .a as extension for shared libraries through AIX4.2
10941 # and later when we are not doing run time linking.
10942 library_names_spec='${libname}${release}.a $libname.a'
10943 soname_spec='${libname}${release}${shared_ext}$major'
10945 shlibpath_var=LIBPATH
10952 # Since July 2007 AmigaOS4 officially supports .so libraries.
10953 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10957 library_names_spec='$libname.ixlibrary $libname.a'
10958 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10959 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'
10965 library_names_spec='${libname}${shared_ext}'
10966 dynamic_linker="$host_os ld.so"
10967 shlibpath_var=LIBRARY_PATH
10971 version_type=linux # correct to gnu/linux during the next big refactor
10973 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10974 soname_spec='${libname}${release}${shared_ext}$major'
10975 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10978 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10979 # the default ld.so.conf also contains /usr/contrib/lib and
10980 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10981 # libtool to hard-code these into programs
10984 cygwin* | mingw* | pw32* | cegcc*)
10985 version_type=windows
10990 case $GCC,$cc_basename in
10993 library_names_spec='$libname.dll.a'
10994 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10995 postinstall_cmds='base_file=`basename \${file}`~
10996 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10997 dldir=$destdir/`dirname \$dlpath`~
10998 test -d \$dldir || mkdir -p \$dldir~
10999 $install_prog $dir/$dlname \$dldir/$dlname~
11000 chmod a+x \$dldir/$dlname~
11001 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11002 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11004 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11005 dlpath=$dir/\$dldll~
11007 shlibpath_overrides_runpath=yes
11011 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11012 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11014 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11017 # MinGW DLLs use traditional 'lib' prefix
11018 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11021 # pw32 DLLs use 'pw' prefix rather than 'lib'
11022 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11025 dynamic_linker='Win32 ld.exe'
11030 libname_spec='$name'
11031 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11032 library_names_spec='${libname}.dll.lib'
11036 sys_lib_search_path_spec=
11039 for lt_path in $LIB
11042 # Let DOS variable expansion print the short 8.3 style file name.
11043 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
11044 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
11047 # Convert to MSYS style.
11048 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
11051 # Convert to unix form, then to dos form, then back to unix form
11052 # but this time dos style (no spaces!) so that the unix form looks
11053 # like /cygdrive/c/PROGRA~1:/cygdr...
11054 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
11055 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
11056 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11059 sys_lib_search_path_spec="$LIB"
11060 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
11061 # It is most probably a Windows format PATH.
11062 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
11064 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
11066 # FIXME: find the short name or the path components, as spaces are
11067 # common. (e.g. "Program Files" -> "PROGRA~1")
11071 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11072 postinstall_cmds='base_file=`basename \${file}`~
11073 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11074 dldir=$destdir/`dirname \$dlpath`~
11075 test -d \$dldir || mkdir -p \$dldir~
11076 $install_prog $dir/$dlname \$dldir/$dlname'
11077 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11078 dlpath=$dir/\$dldll~
11080 shlibpath_overrides_runpath=yes
11081 dynamic_linker='Win32 link.exe'
11085 # Assume MSVC wrapper
11086 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11087 dynamic_linker='Win32 ld.exe'
11090 # FIXME: first we should search . and the directory the executable is in
11094 darwin* | rhapsody*)
11095 dynamic_linker="$host_os dyld"
11096 version_type=darwin
11099 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11100 soname_spec='${libname}${release}${major}$shared_ext'
11101 shlibpath_overrides_runpath=yes
11102 shlibpath_var=DYLD_LIBRARY_PATH
11103 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11105 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11106 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11110 version_type=linux # correct to gnu/linux during the next big refactor
11113 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11114 soname_spec='${libname}${release}${shared_ext}$major'
11115 shlibpath_var=LD_LIBRARY_PATH
11118 freebsd* | dragonfly*)
11119 # DragonFly does not have aout. When/if they implement a new
11120 # versioning mechanism, adjust this.
11121 if test -x /usr/bin/objformat; then
11122 objformat=`/usr/bin/objformat`
11125 freebsd[23].*) objformat=aout ;;
11126 *) objformat=elf ;;
11129 version_type=freebsd-$objformat
11130 case $version_type in
11132 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11137 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11141 shlibpath_var=LD_LIBRARY_PATH
11144 shlibpath_overrides_runpath=yes
11146 freebsd3.[01]* | freebsdelf3.[01]*)
11147 shlibpath_overrides_runpath=yes
11148 hardcode_into_libs=yes
11150 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11151 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11152 shlibpath_overrides_runpath=no
11153 hardcode_into_libs=yes
11155 *) # from 4.6 on, and DragonFly
11156 shlibpath_overrides_runpath=yes
11157 hardcode_into_libs=yes
11163 version_type=linux # correct to gnu/linux during the next big refactor
11166 dynamic_linker="$host_os runtime_loader"
11167 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11168 soname_spec='${libname}${release}${shared_ext}$major'
11169 shlibpath_var=LIBRARY_PATH
11170 shlibpath_overrides_runpath=yes
11171 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
11172 hardcode_into_libs=yes
11175 hpux9* | hpux10* | hpux11*)
11176 # Give a soname corresponding to the major version so that dld.sl refuses to
11177 # link against other versions.
11184 hardcode_into_libs=yes
11185 dynamic_linker="$host_os dld.so"
11186 shlibpath_var=LD_LIBRARY_PATH
11187 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11188 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11189 soname_spec='${libname}${release}${shared_ext}$major'
11190 if test "X$HPUX_IA64_MODE" = X32; then
11191 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11193 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11195 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11199 hardcode_into_libs=yes
11200 dynamic_linker="$host_os dld.sl"
11201 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11202 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11203 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11204 soname_spec='${libname}${release}${shared_ext}$major'
11205 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11206 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11210 dynamic_linker="$host_os dld.sl"
11211 shlibpath_var=SHLIB_PATH
11212 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11214 soname_spec='${libname}${release}${shared_ext}$major'
11217 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11218 postinstall_cmds='chmod 555 $lib'
11219 # or fails outright, so override atomically:
11220 install_override_mode=555
11224 version_type=linux # correct to gnu/linux during the next big refactor
11227 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11228 soname_spec='${libname}${release}${shared_ext}$major'
11229 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11230 shlibpath_var=LD_LIBRARY_PATH
11231 shlibpath_overrides_runpath=no
11232 hardcode_into_libs=yes
11235 irix5* | irix6* | nonstopux*)
11237 nonstopux*) version_type=nonstopux ;;
11239 if test "$lt_cv_prog_gnu_ld" = yes; then
11240 version_type=linux # correct to gnu/linux during the next big refactor
11247 soname_spec='${libname}${release}${shared_ext}$major'
11248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11250 irix5* | nonstopux*)
11251 libsuff= shlibsuff=
11254 case $LD in # libtool.m4 will add one of these switches to LD
11255 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11256 libsuff= shlibsuff= libmagic=32-bit;;
11257 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11258 libsuff=32 shlibsuff=N32 libmagic=N32;;
11259 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11260 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11261 *) libsuff= shlibsuff= libmagic=never-match;;
11265 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11266 shlibpath_overrides_runpath=no
11267 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11268 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11269 hardcode_into_libs=yes
11272 # No shared lib support for Linux oldld, aout, or coff.
11273 linux*oldld* | linux*aout* | linux*coff*)
11277 # This must be glibc/ELF.
11278 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11279 version_type=linux # correct to gnu/linux during the next big refactor
11282 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11283 soname_spec='${libname}${release}${shared_ext}$major'
11284 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11285 shlibpath_var=LD_LIBRARY_PATH
11286 shlibpath_overrides_runpath=no
11288 # Some binutils ld are patched to set DT_RUNPATH
11289 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11290 $as_echo_n "(cached) " >&6
11292 lt_cv_shlibpath_overrides_runpath=no
11293 save_LDFLAGS=$LDFLAGS
11294 save_libdir=$libdir
11295 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11296 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11308 if ac_fn_c_try_link "$LINENO"; then :
11309 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11310 lt_cv_shlibpath_overrides_runpath=yes
11313 rm -f core conftest.err conftest.$ac_objext \
11314 conftest$ac_exeext conftest.$ac_ext
11315 LDFLAGS=$save_LDFLAGS
11316 libdir=$save_libdir
11320 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11322 # This implies no fast_install, which is unacceptable.
11323 # Some rework will be needed to allow for fast_install
11324 # before this can be enabled.
11325 hardcode_into_libs=yes
11327 # Append ld.so.conf contents to the search path
11328 if test -f /etc/ld.so.conf; then
11329 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' ' '`
11330 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11333 # We used to test for /lib/ld.so.1 and disable shared libraries on
11334 # powerpc, because MkLinux only supported shared libraries with the
11335 # GNU dynamic linker. Since this was broken with cross compilers,
11336 # most powerpc-linux boxes support dynamic linking these days and
11337 # people can always --disable-shared, the test was removed, and we
11338 # assume the GNU/Linux dynamic linker is in use.
11339 dynamic_linker='GNU/Linux ld.so'
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11348 shlibpath_var=LD_LIBRARY_PATH
11349 shlibpath_overrides_runpath=no
11350 hardcode_into_libs=yes
11351 dynamic_linker='NetBSD ld.elf_so'
11358 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11359 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11360 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11361 dynamic_linker='NetBSD (a.out) ld.so'
11363 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11364 soname_spec='${libname}${release}${shared_ext}$major'
11365 dynamic_linker='NetBSD ld.elf_so'
11367 shlibpath_var=LD_LIBRARY_PATH
11368 shlibpath_overrides_runpath=yes
11369 hardcode_into_libs=yes
11373 version_type=linux # correct to gnu/linux during the next big refactor
11374 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11375 shlibpath_var=LD_LIBRARY_PATH
11376 shlibpath_overrides_runpath=yes
11383 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11384 soname_spec='${libname}${release}${shared_ext}$major'
11385 shlibpath_var=LD_LIBRARY_PATH
11386 shlibpath_overrides_runpath=no
11387 hardcode_into_libs=yes
11388 dynamic_linker='ldqnx.so'
11393 sys_lib_dlsearch_path_spec="/usr/lib"
11395 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11397 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11398 *) need_version=no ;;
11400 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11401 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11402 shlibpath_var=LD_LIBRARY_PATH
11403 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11405 openbsd2.[89] | openbsd2.[89].*)
11406 shlibpath_overrides_runpath=no
11409 shlibpath_overrides_runpath=yes
11413 shlibpath_overrides_runpath=yes
11418 libname_spec='$name'
11421 library_names_spec='$libname${shared_ext} $libname.a'
11422 dynamic_linker='OS/2 ld.exe'
11423 shlibpath_var=LIBPATH
11426 osf3* | osf4* | osf5*)
11430 soname_spec='${libname}${release}${shared_ext}$major'
11431 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11432 shlibpath_var=LD_LIBRARY_PATH
11433 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11434 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11442 version_type=linux # correct to gnu/linux during the next big refactor
11445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11446 soname_spec='${libname}${release}${shared_ext}$major'
11447 shlibpath_var=LD_LIBRARY_PATH
11448 shlibpath_overrides_runpath=yes
11449 hardcode_into_libs=yes
11450 # ldd complains unless libraries are executable
11451 postinstall_cmds='chmod +x $lib'
11456 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11457 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11458 shlibpath_var=LD_LIBRARY_PATH
11459 shlibpath_overrides_runpath=yes
11460 if test "$with_gnu_ld" = yes; then
11467 version_type=linux # correct to gnu/linux during the next big refactor
11468 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11469 soname_spec='${libname}${release}${shared_ext}$major'
11470 shlibpath_var=LD_LIBRARY_PATH
11471 case $host_vendor in
11473 shlibpath_overrides_runpath=no
11475 runpath_var=LD_RUN_PATH
11483 shlibpath_overrides_runpath=no
11484 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11490 if test -d /usr/nec ;then
11491 version_type=linux # correct to gnu/linux during the next big refactor
11492 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11493 soname_spec='$libname${shared_ext}.$major'
11494 shlibpath_var=LD_LIBRARY_PATH
11498 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11499 version_type=freebsd-elf
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11503 soname_spec='${libname}${release}${shared_ext}$major'
11504 shlibpath_var=LD_LIBRARY_PATH
11505 shlibpath_overrides_runpath=yes
11506 hardcode_into_libs=yes
11507 if test "$with_gnu_ld" = yes; then
11508 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11510 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11513 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11517 sys_lib_dlsearch_path_spec='/usr/lib'
11521 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11522 version_type=linux # correct to gnu/linux during the next big refactor
11525 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11526 shlibpath_var=LD_LIBRARY_PATH
11527 shlibpath_overrides_runpath=no
11528 hardcode_into_libs=yes
11532 version_type=linux # correct to gnu/linux during the next big refactor
11533 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11534 soname_spec='${libname}${release}${shared_ext}$major'
11535 shlibpath_var=LD_LIBRARY_PATH
11542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11543 $as_echo "$dynamic_linker" >&6; }
11544 test "$dynamic_linker" = no && can_build_shared=no
11546 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11547 if test "$GCC" = yes; then
11548 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11551 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11552 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11554 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11555 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11650 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11652 if test -n "$hardcode_libdir_flag_spec" ||
11653 test -n "$runpath_var" ||
11654 test "X$hardcode_automatic" = "Xyes" ; then
11656 # We can hardcode non-existent directories.
11657 if test "$hardcode_direct" != no &&
11658 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11659 # have to relink, otherwise we might link with an installed library
11660 # when we should be linking with a yet-to-be-installed one
11661 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11662 test "$hardcode_minus_L" != no; then
11663 # Linking always hardcodes the temporary library directory.
11664 hardcode_action=relink
11666 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11667 hardcode_action=immediate
11670 # We cannot hardcode anything, or else we can only hardcode existing
11672 hardcode_action=unsupported
11674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11675 $as_echo "$hardcode_action" >&6; }
11677 if test "$hardcode_action" = relink ||
11678 test "$inherit_rpath" = yes; then
11679 # Fast installation is not supported
11680 enable_fast_install=no
11681 elif test "$shlibpath_overrides_runpath" = yes ||
11682 test "$enable_shared" = no; then
11683 # Fast installation is not necessary
11684 enable_fast_install=needless
11692 if test "x$enable_dlopen" != xyes; then
11693 enable_dlopen=unknown
11694 enable_dlopen_self=unknown
11695 enable_dlopen_self_static=unknown
11702 lt_cv_dlopen="load_add_on"
11704 lt_cv_dlopen_self=yes
11707 mingw* | pw32* | cegcc*)
11708 lt_cv_dlopen="LoadLibrary"
11713 lt_cv_dlopen="dlopen"
11718 # if libdl is installed we need to link against it
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11720 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11721 if ${ac_cv_lib_dl_dlopen+:} false; then :
11722 $as_echo_n "(cached) " >&6
11724 ac_check_lib_save_LIBS=$LIBS
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11744 if ac_fn_c_try_link "$LINENO"; then :
11745 ac_cv_lib_dl_dlopen=yes
11747 ac_cv_lib_dl_dlopen=no
11749 rm -f core conftest.err conftest.$ac_objext \
11750 conftest$ac_exeext conftest.$ac_ext
11751 LIBS=$ac_check_lib_save_LIBS
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11754 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11755 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11756 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11759 lt_cv_dlopen="dyld"
11761 lt_cv_dlopen_self=yes
11768 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11769 if test "x$ac_cv_func_shl_load" = xyes; then :
11770 lt_cv_dlopen="shl_load"
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11773 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11774 if ${ac_cv_lib_dld_shl_load+:} false; then :
11775 $as_echo_n "(cached) " >&6
11777 ac_check_lib_save_LIBS=$LIBS
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11782 /* Override any GCC internal prototype to avoid an error.
11783 Use char because int might match the return type of a GCC
11784 builtin and then its argument prototype would still apply. */
11792 return shl_load ();
11797 if ac_fn_c_try_link "$LINENO"; then :
11798 ac_cv_lib_dld_shl_load=yes
11800 ac_cv_lib_dld_shl_load=no
11802 rm -f core conftest.err conftest.$ac_objext \
11803 conftest$ac_exeext conftest.$ac_ext
11804 LIBS=$ac_check_lib_save_LIBS
11806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11807 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11808 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11809 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11811 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11812 if test "x$ac_cv_func_dlopen" = xyes; then :
11813 lt_cv_dlopen="dlopen"
11815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11816 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11817 if ${ac_cv_lib_dl_dlopen+:} false; then :
11818 $as_echo_n "(cached) " >&6
11820 ac_check_lib_save_LIBS=$LIBS
11822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11823 /* end confdefs.h. */
11825 /* Override any GCC internal prototype to avoid an error.
11826 Use char because int might match the return type of a GCC
11827 builtin and then its argument prototype would still apply. */
11840 if ac_fn_c_try_link "$LINENO"; then :
11841 ac_cv_lib_dl_dlopen=yes
11843 ac_cv_lib_dl_dlopen=no
11845 rm -f core conftest.err conftest.$ac_objext \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_lib_save_LIBS
11849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11850 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11851 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11852 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11855 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11856 if ${ac_cv_lib_svld_dlopen+:} false; then :
11857 $as_echo_n "(cached) " >&6
11859 ac_check_lib_save_LIBS=$LIBS
11860 LIBS="-lsvld $LIBS"
11861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11862 /* end confdefs.h. */
11864 /* Override any GCC internal prototype to avoid an error.
11865 Use char because int might match the return type of a GCC
11866 builtin and then its argument prototype would still apply. */
11879 if ac_fn_c_try_link "$LINENO"; then :
11880 ac_cv_lib_svld_dlopen=yes
11882 ac_cv_lib_svld_dlopen=no
11884 rm -f core conftest.err conftest.$ac_objext \
11885 conftest$ac_exeext conftest.$ac_ext
11886 LIBS=$ac_check_lib_save_LIBS
11888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11889 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11890 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11891 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11894 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11895 if ${ac_cv_lib_dld_dld_link+:} false; then :
11896 $as_echo_n "(cached) " >&6
11898 ac_check_lib_save_LIBS=$LIBS
11900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11901 /* end confdefs.h. */
11903 /* Override any GCC internal prototype to avoid an error.
11904 Use char because int might match the return type of a GCC
11905 builtin and then its argument prototype would still apply. */
11913 return dld_link ();
11918 if ac_fn_c_try_link "$LINENO"; then :
11919 ac_cv_lib_dld_dld_link=yes
11921 ac_cv_lib_dld_dld_link=no
11923 rm -f core conftest.err conftest.$ac_objext \
11924 conftest$ac_exeext conftest.$ac_ext
11925 LIBS=$ac_check_lib_save_LIBS
11927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11928 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11929 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11930 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11951 if test "x$lt_cv_dlopen" != xno; then
11957 case $lt_cv_dlopen in
11959 save_CPPFLAGS="$CPPFLAGS"
11960 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11962 save_LDFLAGS="$LDFLAGS"
11963 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11966 LIBS="$lt_cv_dlopen_libs $LIBS"
11968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11969 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11970 if ${lt_cv_dlopen_self+:} false; then :
11971 $as_echo_n "(cached) " >&6
11973 if test "$cross_compiling" = yes; then :
11974 lt_cv_dlopen_self=cross
11976 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11977 lt_status=$lt_dlunknown
11978 cat > conftest.$ac_ext <<_LT_EOF
11979 #line $LINENO "configure"
11980 #include "confdefs.h"
11989 # define LT_DLGLOBAL RTLD_GLOBAL
11992 # define LT_DLGLOBAL DL_GLOBAL
11994 # define LT_DLGLOBAL 0
11998 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11999 find out it does not work in some platform. */
12000 #ifndef LT_DLLAZY_OR_NOW
12002 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12005 # define LT_DLLAZY_OR_NOW DL_LAZY
12008 # define LT_DLLAZY_OR_NOW RTLD_NOW
12011 # define LT_DLLAZY_OR_NOW DL_NOW
12013 # define LT_DLLAZY_OR_NOW 0
12020 /* When -fvisbility=hidden is used, assume the code has been annotated
12021 correspondingly for the symbols needed. */
12022 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12023 int fnord () __attribute__((visibility("default")));
12026 int fnord () { return 42; }
12029 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12030 int status = $lt_dlunknown;
12034 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12037 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12038 else puts (dlerror ());
12040 /* dlclose (self); */
12048 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12049 (eval $ac_link) 2>&5
12051 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12052 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12053 (./conftest; exit; ) >&5 2>/dev/null
12055 case x$lt_status in
12056 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12057 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12058 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12061 # compilation failed
12062 lt_cv_dlopen_self=no
12069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12070 $as_echo "$lt_cv_dlopen_self" >&6; }
12072 if test "x$lt_cv_dlopen_self" = xyes; then
12073 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12075 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12076 if ${lt_cv_dlopen_self_static+:} false; then :
12077 $as_echo_n "(cached) " >&6
12079 if test "$cross_compiling" = yes; then :
12080 lt_cv_dlopen_self_static=cross
12082 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12083 lt_status=$lt_dlunknown
12084 cat > conftest.$ac_ext <<_LT_EOF
12085 #line $LINENO "configure"
12086 #include "confdefs.h"
12095 # define LT_DLGLOBAL RTLD_GLOBAL
12098 # define LT_DLGLOBAL DL_GLOBAL
12100 # define LT_DLGLOBAL 0
12104 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12105 find out it does not work in some platform. */
12106 #ifndef LT_DLLAZY_OR_NOW
12108 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12111 # define LT_DLLAZY_OR_NOW DL_LAZY
12114 # define LT_DLLAZY_OR_NOW RTLD_NOW
12117 # define LT_DLLAZY_OR_NOW DL_NOW
12119 # define LT_DLLAZY_OR_NOW 0
12126 /* When -fvisbility=hidden is used, assume the code has been annotated
12127 correspondingly for the symbols needed. */
12128 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12129 int fnord () __attribute__((visibility("default")));
12132 int fnord () { return 42; }
12135 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12136 int status = $lt_dlunknown;
12140 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12143 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12144 else puts (dlerror ());
12146 /* dlclose (self); */
12154 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12155 (eval $ac_link) 2>&5
12157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12158 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12159 (./conftest; exit; ) >&5 2>/dev/null
12161 case x$lt_status in
12162 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12163 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12164 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12167 # compilation failed
12168 lt_cv_dlopen_self_static=no
12175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12176 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12179 CPPFLAGS="$save_CPPFLAGS"
12180 LDFLAGS="$save_LDFLAGS"
12185 case $lt_cv_dlopen_self in
12186 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12187 *) enable_dlopen_self=unknown ;;
12190 case $lt_cv_dlopen_self_static in
12191 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12192 *) enable_dlopen_self_static=unknown ;;
12214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12215 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12216 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12217 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12218 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12220 $as_echo "yes" >&6; }
12222 # FIXME - insert some real tests, host_os isn't really good enough
12225 if test -n "$STRIP" ; then
12226 striplib="$STRIP -x"
12227 old_striplib="$STRIP -S"
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12229 $as_echo "yes" >&6; }
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12232 $as_echo "no" >&6; }
12236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12237 $as_echo "no" >&6; }
12253 # Report which library types will actually be built
12254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12255 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12257 $as_echo "$can_build_shared" >&6; }
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12260 $as_echo_n "checking whether to build shared libraries... " >&6; }
12261 test "$can_build_shared" = "no" && enable_shared=no
12263 # On AIX, shared libraries and static libraries use the same namespace, and
12264 # are all built from PIC.
12267 test "$enable_shared" = yes && enable_static=no
12268 if test -n "$RANLIB"; then
12269 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12270 postinstall_cmds='$RANLIB $lib'
12275 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12276 test "$enable_shared" = yes && enable_static=no
12280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12281 $as_echo "$enable_shared" >&6; }
12283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12284 $as_echo_n "checking whether to build static libraries... " >&6; }
12285 # Make sure either enable_shared or enable_static is yes.
12286 test "$enable_shared" = yes || enable_static=yes
12287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12288 $as_echo "$enable_static" >&6; }
12295 ac_cpp='$CPP $CPPFLAGS'
12296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12316 ac_config_commands="$ac_config_commands libtool"
12321 # Only expand once:
12325 rra_lib_arch_name=lib
12326 # The cast to long int works around a bug in the HP C Compiler
12327 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
12328 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
12329 # This bug is HP SR number 8606223364.
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
12331 $as_echo_n "checking size of long... " >&6; }
12332 if ${ac_cv_sizeof_long+:} false; then :
12333 $as_echo_n "(cached) " >&6
12335 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
12338 if test "$ac_cv_type_long" = yes; then
12339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12341 as_fn_error 77 "cannot compute sizeof (long)
12342 See \`config.log' for more details" "$LINENO" 5; }
12344 ac_cv_sizeof_long=0
12349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
12350 $as_echo "$ac_cv_sizeof_long" >&6; }
12354 cat >>confdefs.h <<_ACEOF
12355 #define SIZEOF_LONG $ac_cv_sizeof_long
12359 if test "$ac_cv_sizeof_long" -eq 4 && test -d /usr/lib32; then :
12360 rra_lib_arch_name=lib32
12362 if test "$ac_cv_sizeof_long" -eq 8 && test -d /usr/lib64; then :
12363 rra_lib_arch_name=lib64
12368 rra_CDB_includedir=
12377 # Check whether --with-tinycdb was given.
12378 if test "${with_tinycdb+set}" = set; then :
12379 withval=$with_tinycdb; if test x"$withval" = xno; then :
12382 if test x"$withval" != xyes; then :
12383 rra_CDB_root="$withval"
12390 # Check whether --with-tinycdb-include was given.
12391 if test "${with_tinycdb_include+set}" = set; then :
12392 withval=$with_tinycdb_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12393 rra_CDB_includedir="$withval"
12398 # Check whether --with-tinycdb-lib was given.
12399 if test "${with_tinycdb_lib+set}" = set; then :
12400 withval=$with_tinycdb_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12401 rra_CDB_libdir="$withval"
12405 if test x"$rra_use_CDB" != xfalse; then :
12406 if test x"$rra_use_CDB" = xtrue; then :
12407 if test x"$rra_CDB_libdir" != x; then :
12408 CDB_LDFLAGS="-L$rra_CDB_libdir"
12410 if test x"$rra_CDB_root" != x; then :
12412 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
12413 if test x"" = x; then :
12414 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
12416 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
12419 if test x"" = x; then :
12420 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
12422 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
12425 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
12428 if test x"$rra_CDB_includedir" != x; then :
12429 CDB_CPPFLAGS="-I$rra_CDB_includedir"
12431 if test x"$rra_CDB_root" != x; then :
12432 if test x"$rra_CDB_root" != x/usr; then :
12433 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
12437 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
12438 rra_CDB_save_LDFLAGS="$LDFLAGS"
12439 rra_CDB_save_LIBS="$LIBS"
12440 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
12441 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
12442 LIBS="$CDB_LIBS $LIBS"
12443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
12444 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
12445 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
12446 $as_echo_n "(cached) " >&6
12448 ac_check_lib_save_LIBS=$LIBS
12450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12451 /* end confdefs.h. */
12453 /* Override any GCC internal prototype to avoid an error.
12454 Use char because int might match the return type of a GCC
12455 builtin and then its argument prototype would still apply. */
12463 return cdb_init ();
12468 if ac_fn_c_try_link "$LINENO"; then :
12469 ac_cv_lib_cdb_cdb_init=yes
12471 ac_cv_lib_cdb_cdb_init=no
12473 rm -f core conftest.err conftest.$ac_objext \
12474 conftest$ac_exeext conftest.$ac_ext
12475 LIBS=$ac_check_lib_save_LIBS
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
12478 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
12479 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
12482 if test x"true" = xtrue; then :
12483 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
12487 for ac_header in cdb.h
12489 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
12490 if test "x$ac_cv_header_cdb_h" = xyes; then :
12491 cat >>confdefs.h <<_ACEOF
12492 #define HAVE_CDB_H 1
12499 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
12500 LDFLAGS="$rra_CDB_save_LDFLAGS"
12501 LIBS="$rra_CDB_save_LIBS"
12503 if test x"$rra_CDB_libdir" != x; then :
12504 CDB_LDFLAGS="-L$rra_CDB_libdir"
12506 if test x"$rra_CDB_root" != x; then :
12508 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
12509 if test x"" = x; then :
12510 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
12512 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
12515 if test x"" = x; then :
12516 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
12518 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
12521 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
12524 if test x"$rra_CDB_includedir" != x; then :
12525 CDB_CPPFLAGS="-I$rra_CDB_includedir"
12527 if test x"$rra_CDB_root" != x; then :
12528 if test x"$rra_CDB_root" != x/usr; then :
12529 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
12533 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
12534 rra_CDB_save_LDFLAGS="$LDFLAGS"
12535 rra_CDB_save_LIBS="$LIBS"
12536 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
12537 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
12538 LIBS="$CDB_LIBS $LIBS"
12539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
12540 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
12541 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
12542 $as_echo_n "(cached) " >&6
12544 ac_check_lib_save_LIBS=$LIBS
12546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12547 /* end confdefs.h. */
12549 /* Override any GCC internal prototype to avoid an error.
12550 Use char because int might match the return type of a GCC
12551 builtin and then its argument prototype would still apply. */
12559 return cdb_init ();
12564 if ac_fn_c_try_link "$LINENO"; then :
12565 ac_cv_lib_cdb_cdb_init=yes
12567 ac_cv_lib_cdb_cdb_init=no
12569 rm -f core conftest.err conftest.$ac_objext \
12570 conftest$ac_exeext conftest.$ac_ext
12571 LIBS=$ac_check_lib_save_LIBS
12573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
12574 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
12575 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
12578 if test x"false" = xtrue; then :
12579 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
12583 for ac_header in cdb.h
12585 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
12586 if test "x$ac_cv_header_cdb_h" = xyes; then :
12587 cat >>confdefs.h <<_ACEOF
12588 #define HAVE_CDB_H 1
12595 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
12596 LDFLAGS="$rra_CDB_save_LDFLAGS"
12597 LIBS="$rra_CDB_save_LIBS"
12600 if test x"$CDB_LIBS" != x; then :
12603 $as_echo "#define HAVE_CDB 1" >>confdefs.h
12606 rra_system_cracklib=
12608 rra_cracklib_libdir=
12609 rra_cracklib_includedir=
12618 # Check whether --with-cracklib was given.
12619 if test "${with_cracklib+set}" = set; then :
12620 withval=$with_cracklib; if test x"$withval" != xno; then :
12621 rra_system_cracklib=yes
12623 if test x"$withval" != xyes && test x"$withval" != xno; then :
12624 rra_cracklib_root="$withval"
12629 # Check whether --with-cracklib-include was given.
12630 if test "${with_cracklib_include+set}" = set; then :
12631 withval=$with_cracklib_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12632 rra_cracklib_includedir="$withval"
12637 # Check whether --with-cracklib-lib was given.
12638 if test "${with_cracklib_lib+set}" = set; then :
12639 withval=$with_cracklib_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12640 rra_cracklib_libdir="$withval"
12645 if test x"$rra_system_cracklib" != xyes; then
12646 EMBEDDED_CRACKLIB_TRUE=
12647 EMBEDDED_CRACKLIB_FALSE='#'
12649 EMBEDDED_CRACKLIB_TRUE='#'
12650 EMBEDDED_CRACKLIB_FALSE=
12653 if test x"$rra_system_cracklib" = xyes; then :
12654 if test x"$rra_cracklib_libdir" != x; then :
12655 CRACKLIB_LDFLAGS="-L$rra_cracklib_libdir"
12657 if test x"$rra_cracklib_root" != x; then :
12659 if test -d "$rra_cracklib_root/$rra_lib_arch_name"; then :
12660 if test x"" = x; then :
12661 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}"
12663 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}/"
12666 if test x"" = x; then :
12667 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib"
12669 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib/"
12672 CRACKLIB_LDFLAGS=`echo "$CRACKLIB_LDFLAGS" | sed -e 's/^ *//'`
12675 if test x"$rra_cracklib_includedir" != x; then :
12676 CRACKLIB_CPPFLAGS="-I$rra_cracklib_includedir"
12678 if test x"$rra_cracklib_root" != x; then :
12679 if test x"$rra_cracklib_root" != x/usr; then :
12680 CRACKLIB_CPPFLAGS="-I${rra_cracklib_root}/include"
12684 CRACKLIB_LIBS="-lcrack"
12685 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
12686 rra_cracklib_save_LDFLAGS="$LDFLAGS"
12687 rra_cracklib_save_LIBS="$LIBS"
12688 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
12689 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
12690 LIBS="$CRACKLIB_LIBS $LIBS"
12691 ac_fn_c_check_func "$LINENO" "FascistCheck" "ac_cv_func_FascistCheck"
12692 if test "x$ac_cv_func_FascistCheck" = xyes; then :
12695 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12696 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12697 as_fn_error $? "unable to link with CrackLib library
12698 See \`config.log' for more details" "$LINENO" 5; }
12701 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
12702 LDFLAGS="$rra_cracklib_save_LDFLAGS"
12703 LIBS="$rra_cracklib_save_LIBS"
12705 if test x"$rra_system_cracklib" = xyes; then :
12706 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
12707 rra_cracklib_save_LDFLAGS="$LDFLAGS"
12708 rra_cracklib_save_LIBS="$LIBS"
12709 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
12710 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
12711 LIBS="$CRACKLIB_LIBS $LIBS"
12712 for ac_header in crack.h
12714 ac_fn_c_check_header_mongrel "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
12715 if test "x$ac_cv_header_crack_h" = xyes; then :
12716 cat >>confdefs.h <<_ACEOF
12717 #define HAVE_CRACK_H 1
12724 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
12725 LDFLAGS="$rra_cracklib_save_LDFLAGS"
12726 LIBS="$rra_cracklib_save_LIBS"
12728 rra_reduced_depends=false
12729 # Check whether --enable-reduced-depends was given.
12730 if test "${enable_reduced_depends+set}" = set; then :
12731 enableval=$enable_reduced_depends; if test x"$enableval" = xyes; then :
12732 rra_reduced_depends=true
12737 # Extract the first word of "krb5-config", so it can be a program name with args.
12738 set dummy krb5-config; ac_word=$2
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12740 $as_echo_n "checking for $ac_word... " >&6; }
12741 if ${ac_cv_path_PATH_KRB5_CONFIG+:} false; then :
12742 $as_echo_n "(cached) " >&6
12744 case $PATH_KRB5_CONFIG in
12746 ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
12749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12750 as_dummy="${PATH}:/usr/kerberos/bin"
12751 for as_dir in $as_dummy
12754 test -z "$as_dir" && as_dir=.
12755 for ac_exec_ext in '' $ac_executable_extensions; do
12756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
12757 ac_cv_path_PATH_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
12758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
12768 PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
12769 if test -n "$PATH_KRB5_CONFIG"; then
12770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
12771 $as_echo "$PATH_KRB5_CONFIG" >&6; }
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12774 $as_echo "no" >&6; }
12780 rra_krb5_includedir=
12787 # Check whether --with-krb5 was given.
12788 if test "${with_krb5+set}" = set; then :
12789 withval=$with_krb5; if test x"$withval" != xyes && test x"$withval" != xno; then :
12790 rra_krb5_root="$withval"
12795 # Check whether --with-krb5-include was given.
12796 if test "${with_krb5_include+set}" = set; then :
12797 withval=$with_krb5_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
12798 rra_krb5_includedir="$withval"
12803 # Check whether --with-krb5-lib was given.
12804 if test "${with_krb5_lib+set}" = set; then :
12805 withval=$with_krb5_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
12806 rra_krb5_libdir="$withval"
12812 if test x"$rra_krb5_includedir" != x; then :
12813 rra_krb5_incroot="$rra_krb5_includedir"
12815 if test x"$rra_krb5_root" != x; then :
12816 rra_krb5_incroot="${rra_krb5_root}/include"
12819 if test x"$rra_reduced_depends" = xtrue; then :
12820 if test x"$rra_krb5_libdir" != x; then :
12821 KRB5_LDFLAGS="-L$rra_krb5_libdir"
12823 if test x"$rra_krb5_root" != x; then :
12825 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
12826 if test x"" = x; then :
12827 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
12829 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
12832 if test x"" = x; then :
12833 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
12835 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
12838 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
12841 if test x"$rra_krb5_includedir" != x; then :
12842 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
12844 if test x"$rra_krb5_root" != x; then :
12845 if test x"$rra_krb5_root" != x/usr; then :
12846 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
12850 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
12851 rra_krb5_save_LDFLAGS="$LDFLAGS"
12852 rra_krb5_save_LIBS="$LIBS"
12853 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
12854 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
12855 LIBS="$KRB5_LIBS $LIBS"
12856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
12857 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
12858 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
12859 $as_echo_n "(cached) " >&6
12861 ac_check_lib_save_LIBS=$LIBS
12862 LIBS="-lkrb5 $LIBS"
12863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12864 /* end confdefs.h. */
12866 /* Override any GCC internal prototype to avoid an error.
12867 Use char because int might match the return type of a GCC
12868 builtin and then its argument prototype would still apply. */
12872 char krb5_init_context ();
12876 return krb5_init_context ();
12881 if ac_fn_c_try_link "$LINENO"; then :
12882 ac_cv_lib_krb5_krb5_init_context=yes
12884 ac_cv_lib_krb5_krb5_init_context=no
12886 rm -f core conftest.err conftest.$ac_objext \
12887 conftest$ac_exeext conftest.$ac_ext
12888 LIBS=$ac_check_lib_save_LIBS
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
12891 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
12892 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
12895 if test x"true" = xtrue; then :
12896 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
12900 LIBS="$KRB5_LIBS $LIBS"
12901 if test x"$rra_krb5_incroot" = x; then :
12902 for ac_header in krb5.h krb5/krb5.h
12904 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12905 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12906 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12907 cat >>confdefs.h <<_ACEOF
12908 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
12917 $as_echo_n "checking for krb5.h... " >&6; }
12918 if test -f "${rra_krb5_incroot}/krb5.h"; then :
12920 cat >>confdefs.h <<_ACEOF
12921 #define HAVE_KRB5_H 1
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12925 $as_echo "yes" >&6; }
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12928 $as_echo "no" >&6; }
12930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
12931 $as_echo_n "checking for krb5/krb5.h... " >&6; }
12932 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
12934 cat >>confdefs.h <<_ACEOF
12935 #define HAVE_KRB5_KRB5_H 1
12938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12939 $as_echo "yes" >&6; }
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12942 $as_echo "no" >&6; }
12945 for ac_func in krb5_get_error_message
12947 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
12948 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
12949 cat >>confdefs.h <<_ACEOF
12950 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
12952 for ac_func in krb5_free_error_message
12954 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
12955 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
12956 cat >>confdefs.h <<_ACEOF
12957 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
12964 for ac_func in krb5_get_error_string
12966 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
12967 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
12968 cat >>confdefs.h <<_ACEOF
12969 #define HAVE_KRB5_GET_ERROR_STRING 1
12973 for ac_func in krb5_get_err_txt
12975 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
12976 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
12977 cat >>confdefs.h <<_ACEOF
12978 #define HAVE_KRB5_GET_ERR_TXT 1
12982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
12983 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
12984 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
12985 $as_echo_n "(cached) " >&6
12987 ac_check_lib_save_LIBS=$LIBS
12988 LIBS="-lksvc $LIBS"
12989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12990 /* end confdefs.h. */
12992 /* Override any GCC internal prototype to avoid an error.
12993 Use char because int might match the return type of a GCC
12994 builtin and then its argument prototype would still apply. */
12998 char krb5_svc_get_msg ();
13002 return krb5_svc_get_msg ();
13007 if ac_fn_c_try_link "$LINENO"; then :
13008 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
13010 ac_cv_lib_ksvc_krb5_svc_get_msg=no
13012 rm -f core conftest.err conftest.$ac_objext \
13013 conftest$ac_exeext conftest.$ac_ext
13014 LIBS=$ac_check_lib_save_LIBS
13016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
13017 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
13018 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
13019 KRB5_LIBS="$KRB5_LIBS -lksvc"
13020 $as_echo "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
13022 for ac_header in ibm_svc/krb5_svc.h
13024 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
13028 # include <krb5/krb5.h>
13032 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
13033 cat >>confdefs.h <<_ACEOF
13034 #define HAVE_IBM_SVC_KRB5_SVC_H 1
13042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
13043 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
13044 if ${ac_cv_lib_com_err_com_err+:} false; then :
13045 $as_echo_n "(cached) " >&6
13047 ac_check_lib_save_LIBS=$LIBS
13048 LIBS="-lcom_err $LIBS"
13049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13050 /* end confdefs.h. */
13052 /* Override any GCC internal prototype to avoid an error.
13053 Use char because int might match the return type of a GCC
13054 builtin and then its argument prototype would still apply. */
13067 if ac_fn_c_try_link "$LINENO"; then :
13068 ac_cv_lib_com_err_com_err=yes
13070 ac_cv_lib_com_err_com_err=no
13072 rm -f core conftest.err conftest.$ac_objext \
13073 conftest$ac_exeext conftest.$ac_ext
13074 LIBS=$ac_check_lib_save_LIBS
13076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
13077 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
13078 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
13079 KRB5_LIBS="$KRB5_LIBS -lcom_err"
13081 if test x"true" = xtrue; then :
13082 as_fn_error $? "cannot find usable com_err library" "$LINENO" 5
13088 for ac_header in et/com_err.h
13090 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
13091 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
13092 cat >>confdefs.h <<_ACEOF
13093 #define HAVE_ET_COM_ERR_H 1
13111 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13112 LDFLAGS="$rra_krb5_save_LDFLAGS"
13113 LIBS="$rra_krb5_save_LIBS"
13115 if test x"$rra_krb5_includedir" = x && test x"$rra_krb5_libdir" = x; then :
13117 rra_krb5_config_KRB5=
13118 rra_krb5_config_KRB5_ok=
13119 if test x"${rra_krb5_root}" != x && test -x "${rra_krb5_root}/bin/krb5-config"; then :
13120 rra_krb5_config_KRB5="${rra_krb5_root}/bin/krb5-config"
13122 rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
13124 if test x"$rra_krb5_config_KRB5" != x && test -x "$rra_krb5_config_KRB5"; then :
13125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5 support in krb5-config" >&5
13126 $as_echo_n "checking for krb5 support in krb5-config... " >&6; }
13127 if ${rra_cv_lib_KRB5_config+:} false; then :
13128 $as_echo_n "(cached) " >&6
13130 if "$rra_krb5_config_KRB5" 2>&1 | grep krb5 >/dev/null 2>&1; then :
13131 rra_cv_lib_KRB5_config=yes
13133 rra_cv_lib_KRB5_config=no
13136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_lib_KRB5_config" >&5
13137 $as_echo "$rra_cv_lib_KRB5_config" >&6; }
13138 if test "$rra_cv_lib_KRB5_config" = yes; then :
13139 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags krb5 2>/dev/null`
13143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --deps support in krb5-config" >&5
13144 $as_echo_n "checking for --deps support in krb5-config... " >&6; }
13145 if ${rra_cv_krb5_config_deps+:} false; then :
13146 $as_echo_n "(cached) " >&6
13148 if "$rra_krb5_config_KRB5" 2>&1 | grep deps >/dev/null 2>&1; then :
13149 rra_cv_krb5_config_deps=yes
13151 rra_cv_krb5_config_deps=no
13154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_krb5_config_deps" >&5
13155 $as_echo "$rra_cv_krb5_config_deps" >&6; }
13156 if test x"$rra_reduced_depends" = xfalse \
13157 && test x"$rra_cv_krb5_config_deps" = xyes; then :
13158 KRB5_LIBS=`"$rra_krb5_config_KRB5" --deps --libs krb5 2>/dev/null`
13160 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
13162 rra_krb5_config_KRB5_ok=yes
13164 if test x"krb5" = xkrb5; then :
13165 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags 2>/dev/null`
13166 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
13167 rra_krb5_config_KRB5_ok=yes
13171 if test x"$rra_krb5_config_KRB5_ok" = xyes; then :
13172 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include %%'`
13173 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include$%%'`
13174 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
13175 rra_krb5_save_LDFLAGS="$LDFLAGS"
13176 rra_krb5_save_LIBS="$LIBS"
13177 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
13178 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
13179 LIBS="$KRB5_LIBS $LIBS"
13180 ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
13181 if test "x$ac_cv_func_krb5_init_context" = xyes; then :
13182 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13183 LDFLAGS="$rra_krb5_save_LDFLAGS"
13184 LIBS="$rra_krb5_save_LIBS"
13186 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
13187 LDFLAGS="$rra_krb5_save_LDFLAGS"
13188 LIBS="$rra_krb5_save_LIBS"
13191 if test x"$rra_krb5_libdir" != x; then :
13192 KRB5_LDFLAGS="-L$rra_krb5_libdir"
13194 if test x"$rra_krb5_root" != x; then :
13196 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
13197 if test x"" = x; then :
13198 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
13200 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
13203 if test x"" = x; then :
13204 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
13206 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
13209 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
13212 if test x"$rra_krb5_includedir" != x; then :
13213 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
13215 if test x"$rra_krb5_root" != x; then :
13216 if test x"$rra_krb5_root" != x/usr; then :
13217 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
13221 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
13222 rra_krb5_save_LDFLAGS="$LDFLAGS"
13223 rra_krb5_save_LIBS="$LIBS"
13224 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
13225 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
13226 LIBS="$KRB5_LIBS $LIBS"
13229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
13230 $as_echo_n "checking for library containing res_search... " >&6; }
13231 if ${ac_cv_search_res_search+:} false; then :
13232 $as_echo_n "(cached) " >&6
13234 ac_func_search_save_LIBS=$LIBS
13235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13236 /* end confdefs.h. */
13238 /* Override any GCC internal prototype to avoid an error.
13239 Use char because int might match the return type of a GCC
13240 builtin and then its argument prototype would still apply. */
13244 char res_search ();
13248 return res_search ();
13253 for ac_lib in '' resolv; do
13254 if test -z "$ac_lib"; then
13255 ac_res="none required"
13258 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13260 if ac_fn_c_try_link "$LINENO"; then :
13261 ac_cv_search_res_search=$ac_res
13263 rm -f core conftest.err conftest.$ac_objext \
13265 if ${ac_cv_search_res_search+:} false; then :
13269 if ${ac_cv_search_res_search+:} false; then :
13272 ac_cv_search_res_search=no
13274 rm conftest.$ac_ext
13275 LIBS=$ac_func_search_save_LIBS
13277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
13278 $as_echo "$ac_cv_search_res_search" >&6; }
13279 ac_res=$ac_cv_search_res_search
13280 if test "$ac_res" != no; then :
13281 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
13285 $as_echo_n "checking for library containing __res_search... " >&6; }
13286 if ${ac_cv_search___res_search+:} false; then :
13287 $as_echo_n "(cached) " >&6
13289 ac_func_search_save_LIBS=$LIBS
13290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13291 /* end confdefs.h. */
13293 /* Override any GCC internal prototype to avoid an error.
13294 Use char because int might match the return type of a GCC
13295 builtin and then its argument prototype would still apply. */
13299 char __res_search ();
13303 return __res_search ();
13308 for ac_lib in '' resolv; do
13309 if test -z "$ac_lib"; then
13310 ac_res="none required"
13313 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13315 if ac_fn_c_try_link "$LINENO"; then :
13316 ac_cv_search___res_search=$ac_res
13318 rm -f core conftest.err conftest.$ac_objext \
13320 if ${ac_cv_search___res_search+:} false; then :
13324 if ${ac_cv_search___res_search+:} false; then :
13327 ac_cv_search___res_search=no
13329 rm conftest.$ac_ext
13330 LIBS=$ac_func_search_save_LIBS
13332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
13333 $as_echo "$ac_cv_search___res_search" >&6; }
13334 ac_res=$ac_cv_search___res_search
13335 if test "$ac_res" != no; then :
13336 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
13343 $as_echo_n "checking for library containing gethostbyname... " >&6; }
13344 if ${ac_cv_search_gethostbyname+:} false; then :
13345 $as_echo_n "(cached) " >&6
13347 ac_func_search_save_LIBS=$LIBS
13348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13349 /* end confdefs.h. */
13351 /* Override any GCC internal prototype to avoid an error.
13352 Use char because int might match the return type of a GCC
13353 builtin and then its argument prototype would still apply. */
13357 char gethostbyname ();
13361 return gethostbyname ();
13366 for ac_lib in '' nsl; do
13367 if test -z "$ac_lib"; then
13368 ac_res="none required"
13371 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13373 if ac_fn_c_try_link "$LINENO"; then :
13374 ac_cv_search_gethostbyname=$ac_res
13376 rm -f core conftest.err conftest.$ac_objext \
13378 if ${ac_cv_search_gethostbyname+:} false; then :
13382 if ${ac_cv_search_gethostbyname+:} false; then :
13385 ac_cv_search_gethostbyname=no
13387 rm conftest.$ac_ext
13388 LIBS=$ac_func_search_save_LIBS
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
13391 $as_echo "$ac_cv_search_gethostbyname" >&6; }
13392 ac_res=$ac_cv_search_gethostbyname
13393 if test "$ac_res" != no; then :
13394 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
13399 $as_echo_n "checking for library containing socket... " >&6; }
13400 if ${ac_cv_search_socket+:} false; then :
13401 $as_echo_n "(cached) " >&6
13403 ac_func_search_save_LIBS=$LIBS
13404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13405 /* end confdefs.h. */
13407 /* Override any GCC internal prototype to avoid an error.
13408 Use char because int might match the return type of a GCC
13409 builtin and then its argument prototype would still apply. */
13422 for ac_lib in '' socket; do
13423 if test -z "$ac_lib"; then
13424 ac_res="none required"
13427 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13429 if ac_fn_c_try_link "$LINENO"; then :
13430 ac_cv_search_socket=$ac_res
13432 rm -f core conftest.err conftest.$ac_objext \
13434 if ${ac_cv_search_socket+:} false; then :
13438 if ${ac_cv_search_socket+:} false; then :
13441 ac_cv_search_socket=no
13443 rm conftest.$ac_ext
13444 LIBS=$ac_func_search_save_LIBS
13446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
13447 $as_echo "$ac_cv_search_socket" >&6; }
13448 ac_res=$ac_cv_search_socket
13449 if test "$ac_res" != no; then :
13450 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
13454 $as_echo_n "checking for socket in -lnsl... " >&6; }
13455 if ${ac_cv_lib_nsl_socket+:} false; then :
13456 $as_echo_n "(cached) " >&6
13458 ac_check_lib_save_LIBS=$LIBS
13459 LIBS="-lnsl -lsocket $LIBS"
13460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13461 /* end confdefs.h. */
13463 /* Override any GCC internal prototype to avoid an error.
13464 Use char because int might match the return type of a GCC
13465 builtin and then its argument prototype would still apply. */
13478 if ac_fn_c_try_link "$LINENO"; then :
13479 ac_cv_lib_nsl_socket=yes
13481 ac_cv_lib_nsl_socket=no
13483 rm -f core conftest.err conftest.$ac_objext \
13484 conftest$ac_exeext conftest.$ac_ext
13485 LIBS=$ac_check_lib_save_LIBS
13487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
13488 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
13489 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
13490 LIBS="-lnsl -lsocket $LIBS"
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
13496 $as_echo_n "checking for library containing crypt... " >&6; }
13497 if ${ac_cv_search_crypt+:} false; then :
13498 $as_echo_n "(cached) " >&6
13500 ac_func_search_save_LIBS=$LIBS
13501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13502 /* end confdefs.h. */
13504 /* Override any GCC internal prototype to avoid an error.
13505 Use char because int might match the return type of a GCC
13506 builtin and then its argument prototype would still apply. */
13519 for ac_lib in '' crypt; do
13520 if test -z "$ac_lib"; then
13521 ac_res="none required"
13524 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13526 if ac_fn_c_try_link "$LINENO"; then :
13527 ac_cv_search_crypt=$ac_res
13529 rm -f core conftest.err conftest.$ac_objext \
13531 if ${ac_cv_search_crypt+:} false; then :
13535 if ${ac_cv_search_crypt+:} false; then :
13538 ac_cv_search_crypt=no
13540 rm conftest.$ac_ext
13541 LIBS=$ac_func_search_save_LIBS
13543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
13544 $as_echo "$ac_cv_search_crypt" >&6; }
13545 ac_res=$ac_cv_search_crypt
13546 if test "$ac_res" != no; then :
13547 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
13552 $as_echo_n "checking for library containing roken_concat... " >&6; }
13553 if ${ac_cv_search_roken_concat+:} false; then :
13554 $as_echo_n "(cached) " >&6
13556 ac_func_search_save_LIBS=$LIBS
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13566 char roken_concat ();
13570 return roken_concat ();
13575 for ac_lib in '' roken; do
13576 if test -z "$ac_lib"; then
13577 ac_res="none required"
13580 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
13582 if ac_fn_c_try_link "$LINENO"; then :
13583 ac_cv_search_roken_concat=$ac_res
13585 rm -f core conftest.err conftest.$ac_objext \
13587 if ${ac_cv_search_roken_concat+:} false; then :
13591 if ${ac_cv_search_roken_concat+:} false; then :
13594 ac_cv_search_roken_concat=no
13596 rm conftest.$ac_ext
13597 LIBS=$ac_func_search_save_LIBS
13599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
13600 $as_echo "$ac_cv_search_roken_concat" >&6; }
13601 ac_res=$ac_cv_search_roken_concat
13602 if test "$ac_res" != no; then :
13603 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
13607 rra_krb5_extra="$LIBS"
13608 LIBS="$rra_krb5_save_LIBS"
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
13610 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
13611 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
13612 $as_echo_n "(cached) " >&6
13614 ac_check_lib_save_LIBS=$LIBS
13615 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13619 /* Override any GCC internal prototype to avoid an error.
13620 Use char because int might match the return type of a GCC
13621 builtin and then its argument prototype would still apply. */
13625 char krb5_init_context ();
13629 return krb5_init_context ();
13634 if ac_fn_c_try_link "$LINENO"; then :
13635 ac_cv_lib_krb5_krb5_init_context=yes
13637 ac_cv_lib_krb5_krb5_init_context=no
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 LIBS=$ac_check_lib_save_LIBS
13643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
13644 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
13645 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
13646 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
13649 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
13650 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
13651 $as_echo_n "(cached) " >&6
13653 ac_check_lib_save_LIBS=$LIBS
13654 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
13655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13656 /* end confdefs.h. */
13658 /* Override any GCC internal prototype to avoid an error.
13659 Use char because int might match the return type of a GCC
13660 builtin and then its argument prototype would still apply. */
13664 char krb5int_getspecific ();
13668 return krb5int_getspecific ();
13673 if ac_fn_c_try_link "$LINENO"; then :
13674 ac_cv_lib_krb5support_krb5int_getspecific=yes
13676 ac_cv_lib_krb5support_krb5int_getspecific=no
13678 rm -f core conftest.err conftest.$ac_objext \
13679 conftest$ac_exeext conftest.$ac_ext
13680 LIBS=$ac_check_lib_save_LIBS
13682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
13683 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
13684 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
13685 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
13687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
13688 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
13689 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
13690 $as_echo_n "(cached) " >&6
13692 ac_check_lib_save_LIBS=$LIBS
13693 LIBS="-lpthreads $LIBS"
13694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13695 /* end confdefs.h. */
13697 /* Override any GCC internal prototype to avoid an error.
13698 Use char because int might match the return type of a GCC
13699 builtin and then its argument prototype would still apply. */
13703 char pthread_setspecific ();
13707 return pthread_setspecific ();
13712 if ac_fn_c_try_link "$LINENO"; then :
13713 ac_cv_lib_pthreads_pthread_setspecific=yes
13715 ac_cv_lib_pthreads_pthread_setspecific=no
13717 rm -f core conftest.err conftest.$ac_objext \
13718 conftest$ac_exeext conftest.$ac_ext
13719 LIBS=$ac_check_lib_save_LIBS
13721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
13722 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
13723 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
13724 rra_krb5_pthread="-lpthreads"
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
13727 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
13728 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
13729 $as_echo_n "(cached) " >&6
13731 ac_check_lib_save_LIBS=$LIBS
13732 LIBS="-lpthread $LIBS"
13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13736 /* Override any GCC internal prototype to avoid an error.
13737 Use char because int might match the return type of a GCC
13738 builtin and then its argument prototype would still apply. */
13742 char pthread_setspecific ();
13746 return pthread_setspecific ();
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 ac_cv_lib_pthread_pthread_setspecific=yes
13754 ac_cv_lib_pthread_pthread_setspecific=no
13756 rm -f core conftest.err conftest.$ac_objext \
13757 conftest$ac_exeext conftest.$ac_ext
13758 LIBS=$ac_check_lib_save_LIBS
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
13761 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
13762 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
13763 rra_krb5_pthread="-lpthread"
13768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
13769 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
13770 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
13771 $as_echo_n "(cached) " >&6
13773 ac_check_lib_save_LIBS=$LIBS
13774 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
13775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13776 /* end confdefs.h. */
13778 /* Override any GCC internal prototype to avoid an error.
13779 Use char because int might match the return type of a GCC
13780 builtin and then its argument prototype would still apply. */
13784 char krb5int_setspecific ();
13788 return krb5int_setspecific ();
13793 if ac_fn_c_try_link "$LINENO"; then :
13794 ac_cv_lib_krb5support_krb5int_setspecific=yes
13796 ac_cv_lib_krb5support_krb5int_setspecific=no
13798 rm -f core conftest.err conftest.$ac_objext \
13799 conftest$ac_exeext conftest.$ac_ext
13800 LIBS=$ac_check_lib_save_LIBS
13802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
13803 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
13804 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
13805 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
13810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
13811 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
13812 if ${ac_cv_lib_com_err_error_message+:} false; then :
13813 $as_echo_n "(cached) " >&6
13815 ac_check_lib_save_LIBS=$LIBS
13816 LIBS="-lcom_err $rra_krb5_extra $LIBS"
13817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13818 /* end confdefs.h. */
13820 /* Override any GCC internal prototype to avoid an error.
13821 Use char because int might match the return type of a GCC
13822 builtin and then its argument prototype would still apply. */
13826 char error_message ();
13830 return error_message ();
13835 if ac_fn_c_try_link "$LINENO"; then :
13836 ac_cv_lib_com_err_error_message=yes
13838 ac_cv_lib_com_err_error_message=no
13840 rm -f core conftest.err conftest.$ac_objext \
13841 conftest$ac_exeext conftest.$ac_ext
13842 LIBS=$ac_check_lib_save_LIBS
13844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
13845 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
13846 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
13847 rra_krb5_extra="-lcom_err $rra_krb5_extra"
13850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
13851 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
13852 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
13853 $as_echo_n "(cached) " >&6
13855 ac_check_lib_save_LIBS=$LIBS
13856 LIBS="-lksvc $rra_krb5_extra $LIBS"
13857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13858 /* end confdefs.h. */
13860 /* Override any GCC internal prototype to avoid an error.
13861 Use char because int might match the return type of a GCC
13862 builtin and then its argument prototype would still apply. */
13866 char krb5_svc_get_msg ();
13870 return krb5_svc_get_msg ();
13875 if ac_fn_c_try_link "$LINENO"; then :
13876 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
13878 ac_cv_lib_ksvc_krb5_svc_get_msg=no
13880 rm -f core conftest.err conftest.$ac_objext \
13881 conftest$ac_exeext conftest.$ac_ext
13882 LIBS=$ac_check_lib_save_LIBS
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
13885 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
13886 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
13887 rra_krb5_extra="-lksvc $rra_krb5_extra"
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
13891 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
13892 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
13893 $as_echo_n "(cached) " >&6
13895 ac_check_lib_save_LIBS=$LIBS
13896 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13906 char krb5int_hash_md5 ();
13910 return krb5int_hash_md5 ();
13915 if ac_fn_c_try_link "$LINENO"; then :
13916 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
13918 ac_cv_lib_k5crypto_krb5int_hash_md5=no
13920 rm -f core conftest.err conftest.$ac_objext \
13921 conftest$ac_exeext conftest.$ac_ext
13922 LIBS=$ac_check_lib_save_LIBS
13924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
13925 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
13926 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
13927 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
13931 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
13932 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
13933 $as_echo_n "(cached) " >&6
13935 ac_check_lib_save_LIBS=$LIBS
13936 LIBS="-lk5profile $rra_krb5_extra $LIBS"
13937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13938 /* end confdefs.h. */
13940 /* Override any GCC internal prototype to avoid an error.
13941 Use char because int might match the return type of a GCC
13942 builtin and then its argument prototype would still apply. */
13946 char profile_get_values ();
13950 return profile_get_values ();
13955 if ac_fn_c_try_link "$LINENO"; then :
13956 ac_cv_lib_k5profile_profile_get_values=yes
13958 ac_cv_lib_k5profile_profile_get_values=no
13960 rm -f core conftest.err conftest.$ac_objext \
13961 conftest$ac_exeext conftest.$ac_ext
13962 LIBS=$ac_check_lib_save_LIBS
13964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
13965 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
13966 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
13967 rra_krb5_extra="-lk5profile $rra_krb5_extra"
13970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
13971 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
13972 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
13973 $as_echo_n "(cached) " >&6
13975 ac_check_lib_save_LIBS=$LIBS
13976 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
13977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13978 /* end confdefs.h. */
13980 /* Override any GCC internal prototype to avoid an error.
13981 Use char because int might match the return type of a GCC
13982 builtin and then its argument prototype would still apply. */
13986 char krb5_cc_default ();
13990 return krb5_cc_default ();
13995 if ac_fn_c_try_link "$LINENO"; then :
13996 ac_cv_lib_krb5_krb5_cc_default=yes
13998 ac_cv_lib_krb5_krb5_cc_default=no
14000 rm -f core conftest.err conftest.$ac_objext \
14001 conftest$ac_exeext conftest.$ac_ext
14002 LIBS=$ac_check_lib_save_LIBS
14004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
14005 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
14006 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
14007 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
14009 if test x"true" = xtrue; then :
14010 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
14016 LIBS="$KRB5_LIBS $LIBS"
14017 if test x"$rra_krb5_incroot" = x; then :
14018 for ac_header in krb5.h krb5/krb5.h
14020 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14021 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14022 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14023 cat >>confdefs.h <<_ACEOF
14024 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
14033 $as_echo_n "checking for krb5.h... " >&6; }
14034 if test -f "${rra_krb5_incroot}/krb5.h"; then :
14036 cat >>confdefs.h <<_ACEOF
14037 #define HAVE_KRB5_H 1
14040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14041 $as_echo "yes" >&6; }
14043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14044 $as_echo "no" >&6; }
14046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
14047 $as_echo_n "checking for krb5/krb5.h... " >&6; }
14048 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
14050 cat >>confdefs.h <<_ACEOF
14051 #define HAVE_KRB5_KRB5_H 1
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14055 $as_echo "yes" >&6; }
14057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14058 $as_echo "no" >&6; }
14061 for ac_func in krb5_get_error_message
14063 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
14064 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
14065 cat >>confdefs.h <<_ACEOF
14066 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
14068 for ac_func in krb5_free_error_message
14070 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
14071 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
14072 cat >>confdefs.h <<_ACEOF
14073 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
14080 for ac_func in krb5_get_error_string
14082 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
14083 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
14084 cat >>confdefs.h <<_ACEOF
14085 #define HAVE_KRB5_GET_ERROR_STRING 1
14089 for ac_func in krb5_get_err_txt
14091 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
14092 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
14093 cat >>confdefs.h <<_ACEOF
14094 #define HAVE_KRB5_GET_ERR_TXT 1
14098 for ac_func in krb5_svc_get_msg
14100 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
14101 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
14102 cat >>confdefs.h <<_ACEOF
14103 #define HAVE_KRB5_SVC_GET_MSG 1
14105 for ac_header in ibm_svc/krb5_svc.h
14107 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
14111 # include <krb5/krb5.h>
14115 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
14116 cat >>confdefs.h <<_ACEOF
14117 #define HAVE_IBM_SVC_KRB5_SVC_H 1
14125 for ac_header in et/com_err.h
14127 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
14128 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
14129 cat >>confdefs.h <<_ACEOF
14130 #define HAVE_ET_COM_ERR_H 1
14149 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
14150 LDFLAGS="$rra_krb5_save_LDFLAGS"
14151 LIBS="$rra_krb5_save_LIBS"
14154 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
14155 rra_krb5_save_LDFLAGS="$LDFLAGS"
14156 rra_krb5_save_LIBS="$LIBS"
14157 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
14158 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
14159 LIBS="$KRB5_LIBS $LIBS"
14160 if test x"$rra_krb5_incroot" = x; then :
14161 for ac_header in krb5.h krb5/krb5.h
14163 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14164 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14165 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14166 cat >>confdefs.h <<_ACEOF
14167 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
14176 $as_echo_n "checking for krb5.h... " >&6; }
14177 if test -f "${rra_krb5_incroot}/krb5.h"; then :
14179 cat >>confdefs.h <<_ACEOF
14180 #define HAVE_KRB5_H 1
14183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14184 $as_echo "yes" >&6; }
14186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14187 $as_echo "no" >&6; }
14189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
14190 $as_echo_n "checking for krb5/krb5.h... " >&6; }
14191 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
14193 cat >>confdefs.h <<_ACEOF
14194 #define HAVE_KRB5_KRB5_H 1
14197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14198 $as_echo "yes" >&6; }
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14201 $as_echo "no" >&6; }
14204 for ac_func in krb5_get_error_message
14206 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
14207 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
14208 cat >>confdefs.h <<_ACEOF
14209 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
14211 for ac_func in krb5_free_error_message
14213 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
14214 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
14215 cat >>confdefs.h <<_ACEOF
14216 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
14223 for ac_func in krb5_get_error_string
14225 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
14226 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
14227 cat >>confdefs.h <<_ACEOF
14228 #define HAVE_KRB5_GET_ERROR_STRING 1
14232 for ac_func in krb5_get_err_txt
14234 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
14235 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
14236 cat >>confdefs.h <<_ACEOF
14237 #define HAVE_KRB5_GET_ERR_TXT 1
14241 for ac_func in krb5_svc_get_msg
14243 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
14244 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
14245 cat >>confdefs.h <<_ACEOF
14246 #define HAVE_KRB5_SVC_GET_MSG 1
14248 for ac_header in ibm_svc/krb5_svc.h
14250 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
14254 # include <krb5/krb5.h>
14258 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
14259 cat >>confdefs.h <<_ACEOF
14260 #define HAVE_IBM_SVC_KRB5_SVC_H 1
14268 for ac_header in et/com_err.h
14270 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
14271 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
14272 cat >>confdefs.h <<_ACEOF
14273 #define HAVE_ET_COM_ERR_H 1
14292 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
14293 LDFLAGS="$rra_krb5_save_LDFLAGS"
14294 LIBS="$rra_krb5_save_LIBS"
14296 if test x"$rra_krb5_libdir" != x; then :
14297 KRB5_LDFLAGS="-L$rra_krb5_libdir"
14299 if test x"$rra_krb5_root" != x; then :
14301 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
14302 if test x"" = x; then :
14303 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
14305 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
14308 if test x"" = x; then :
14309 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
14311 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
14314 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
14317 if test x"$rra_krb5_includedir" != x; then :
14318 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
14320 if test x"$rra_krb5_root" != x; then :
14321 if test x"$rra_krb5_root" != x/usr; then :
14322 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
14326 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
14327 rra_krb5_save_LDFLAGS="$LDFLAGS"
14328 rra_krb5_save_LIBS="$LIBS"
14329 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
14330 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
14331 LIBS="$KRB5_LIBS $LIBS"
14334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
14335 $as_echo_n "checking for library containing res_search... " >&6; }
14336 if ${ac_cv_search_res_search+:} false; then :
14337 $as_echo_n "(cached) " >&6
14339 ac_func_search_save_LIBS=$LIBS
14340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14341 /* end confdefs.h. */
14343 /* Override any GCC internal prototype to avoid an error.
14344 Use char because int might match the return type of a GCC
14345 builtin and then its argument prototype would still apply. */
14349 char res_search ();
14353 return res_search ();
14358 for ac_lib in '' resolv; do
14359 if test -z "$ac_lib"; then
14360 ac_res="none required"
14363 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14365 if ac_fn_c_try_link "$LINENO"; then :
14366 ac_cv_search_res_search=$ac_res
14368 rm -f core conftest.err conftest.$ac_objext \
14370 if ${ac_cv_search_res_search+:} false; then :
14374 if ${ac_cv_search_res_search+:} false; then :
14377 ac_cv_search_res_search=no
14379 rm conftest.$ac_ext
14380 LIBS=$ac_func_search_save_LIBS
14382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
14383 $as_echo "$ac_cv_search_res_search" >&6; }
14384 ac_res=$ac_cv_search_res_search
14385 if test "$ac_res" != no; then :
14386 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
14390 $as_echo_n "checking for library containing __res_search... " >&6; }
14391 if ${ac_cv_search___res_search+:} false; then :
14392 $as_echo_n "(cached) " >&6
14394 ac_func_search_save_LIBS=$LIBS
14395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14396 /* end confdefs.h. */
14398 /* Override any GCC internal prototype to avoid an error.
14399 Use char because int might match the return type of a GCC
14400 builtin and then its argument prototype would still apply. */
14404 char __res_search ();
14408 return __res_search ();
14413 for ac_lib in '' resolv; do
14414 if test -z "$ac_lib"; then
14415 ac_res="none required"
14418 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14420 if ac_fn_c_try_link "$LINENO"; then :
14421 ac_cv_search___res_search=$ac_res
14423 rm -f core conftest.err conftest.$ac_objext \
14425 if ${ac_cv_search___res_search+:} false; then :
14429 if ${ac_cv_search___res_search+:} false; then :
14432 ac_cv_search___res_search=no
14434 rm conftest.$ac_ext
14435 LIBS=$ac_func_search_save_LIBS
14437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
14438 $as_echo "$ac_cv_search___res_search" >&6; }
14439 ac_res=$ac_cv_search___res_search
14440 if test "$ac_res" != no; then :
14441 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
14448 $as_echo_n "checking for library containing gethostbyname... " >&6; }
14449 if ${ac_cv_search_gethostbyname+:} false; then :
14450 $as_echo_n "(cached) " >&6
14452 ac_func_search_save_LIBS=$LIBS
14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14462 char gethostbyname ();
14466 return gethostbyname ();
14471 for ac_lib in '' nsl; do
14472 if test -z "$ac_lib"; then
14473 ac_res="none required"
14476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14478 if ac_fn_c_try_link "$LINENO"; then :
14479 ac_cv_search_gethostbyname=$ac_res
14481 rm -f core conftest.err conftest.$ac_objext \
14483 if ${ac_cv_search_gethostbyname+:} false; then :
14487 if ${ac_cv_search_gethostbyname+:} false; then :
14490 ac_cv_search_gethostbyname=no
14492 rm conftest.$ac_ext
14493 LIBS=$ac_func_search_save_LIBS
14495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
14496 $as_echo "$ac_cv_search_gethostbyname" >&6; }
14497 ac_res=$ac_cv_search_gethostbyname
14498 if test "$ac_res" != no; then :
14499 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
14504 $as_echo_n "checking for library containing socket... " >&6; }
14505 if ${ac_cv_search_socket+:} false; then :
14506 $as_echo_n "(cached) " >&6
14508 ac_func_search_save_LIBS=$LIBS
14509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14510 /* end confdefs.h. */
14512 /* Override any GCC internal prototype to avoid an error.
14513 Use char because int might match the return type of a GCC
14514 builtin and then its argument prototype would still apply. */
14527 for ac_lib in '' socket; do
14528 if test -z "$ac_lib"; then
14529 ac_res="none required"
14532 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14534 if ac_fn_c_try_link "$LINENO"; then :
14535 ac_cv_search_socket=$ac_res
14537 rm -f core conftest.err conftest.$ac_objext \
14539 if ${ac_cv_search_socket+:} false; then :
14543 if ${ac_cv_search_socket+:} false; then :
14546 ac_cv_search_socket=no
14548 rm conftest.$ac_ext
14549 LIBS=$ac_func_search_save_LIBS
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
14552 $as_echo "$ac_cv_search_socket" >&6; }
14553 ac_res=$ac_cv_search_socket
14554 if test "$ac_res" != no; then :
14555 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
14559 $as_echo_n "checking for socket in -lnsl... " >&6; }
14560 if ${ac_cv_lib_nsl_socket+:} false; then :
14561 $as_echo_n "(cached) " >&6
14563 ac_check_lib_save_LIBS=$LIBS
14564 LIBS="-lnsl -lsocket $LIBS"
14565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14566 /* end confdefs.h. */
14568 /* Override any GCC internal prototype to avoid an error.
14569 Use char because int might match the return type of a GCC
14570 builtin and then its argument prototype would still apply. */
14583 if ac_fn_c_try_link "$LINENO"; then :
14584 ac_cv_lib_nsl_socket=yes
14586 ac_cv_lib_nsl_socket=no
14588 rm -f core conftest.err conftest.$ac_objext \
14589 conftest$ac_exeext conftest.$ac_ext
14590 LIBS=$ac_check_lib_save_LIBS
14592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
14593 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
14594 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
14595 LIBS="-lnsl -lsocket $LIBS"
14600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
14601 $as_echo_n "checking for library containing crypt... " >&6; }
14602 if ${ac_cv_search_crypt+:} false; then :
14603 $as_echo_n "(cached) " >&6
14605 ac_func_search_save_LIBS=$LIBS
14606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14607 /* end confdefs.h. */
14609 /* Override any GCC internal prototype to avoid an error.
14610 Use char because int might match the return type of a GCC
14611 builtin and then its argument prototype would still apply. */
14624 for ac_lib in '' crypt; do
14625 if test -z "$ac_lib"; then
14626 ac_res="none required"
14629 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14631 if ac_fn_c_try_link "$LINENO"; then :
14632 ac_cv_search_crypt=$ac_res
14634 rm -f core conftest.err conftest.$ac_objext \
14636 if ${ac_cv_search_crypt+:} false; then :
14640 if ${ac_cv_search_crypt+:} false; then :
14643 ac_cv_search_crypt=no
14645 rm conftest.$ac_ext
14646 LIBS=$ac_func_search_save_LIBS
14648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
14649 $as_echo "$ac_cv_search_crypt" >&6; }
14650 ac_res=$ac_cv_search_crypt
14651 if test "$ac_res" != no; then :
14652 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
14657 $as_echo_n "checking for library containing roken_concat... " >&6; }
14658 if ${ac_cv_search_roken_concat+:} false; then :
14659 $as_echo_n "(cached) " >&6
14661 ac_func_search_save_LIBS=$LIBS
14662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14663 /* end confdefs.h. */
14665 /* Override any GCC internal prototype to avoid an error.
14666 Use char because int might match the return type of a GCC
14667 builtin and then its argument prototype would still apply. */
14671 char roken_concat ();
14675 return roken_concat ();
14680 for ac_lib in '' roken; do
14681 if test -z "$ac_lib"; then
14682 ac_res="none required"
14685 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
14687 if ac_fn_c_try_link "$LINENO"; then :
14688 ac_cv_search_roken_concat=$ac_res
14690 rm -f core conftest.err conftest.$ac_objext \
14692 if ${ac_cv_search_roken_concat+:} false; then :
14696 if ${ac_cv_search_roken_concat+:} false; then :
14699 ac_cv_search_roken_concat=no
14701 rm conftest.$ac_ext
14702 LIBS=$ac_func_search_save_LIBS
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
14705 $as_echo "$ac_cv_search_roken_concat" >&6; }
14706 ac_res=$ac_cv_search_roken_concat
14707 if test "$ac_res" != no; then :
14708 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
14712 rra_krb5_extra="$LIBS"
14713 LIBS="$rra_krb5_save_LIBS"
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
14715 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
14716 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
14717 $as_echo_n "(cached) " >&6
14719 ac_check_lib_save_LIBS=$LIBS
14720 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14724 /* Override any GCC internal prototype to avoid an error.
14725 Use char because int might match the return type of a GCC
14726 builtin and then its argument prototype would still apply. */
14730 char krb5_init_context ();
14734 return krb5_init_context ();
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_lib_krb5_krb5_init_context=yes
14742 ac_cv_lib_krb5_krb5_init_context=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_lib_save_LIBS
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
14749 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
14750 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
14751 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
14753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
14754 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
14755 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
14756 $as_echo_n "(cached) " >&6
14758 ac_check_lib_save_LIBS=$LIBS
14759 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
14760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14761 /* end confdefs.h. */
14763 /* Override any GCC internal prototype to avoid an error.
14764 Use char because int might match the return type of a GCC
14765 builtin and then its argument prototype would still apply. */
14769 char krb5int_getspecific ();
14773 return krb5int_getspecific ();
14778 if ac_fn_c_try_link "$LINENO"; then :
14779 ac_cv_lib_krb5support_krb5int_getspecific=yes
14781 ac_cv_lib_krb5support_krb5int_getspecific=no
14783 rm -f core conftest.err conftest.$ac_objext \
14784 conftest$ac_exeext conftest.$ac_ext
14785 LIBS=$ac_check_lib_save_LIBS
14787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
14788 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
14789 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
14790 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
14793 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
14794 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
14795 $as_echo_n "(cached) " >&6
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lpthreads $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14808 char pthread_setspecific ();
14812 return pthread_setspecific ();
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_lib_pthreads_pthread_setspecific=yes
14820 ac_cv_lib_pthreads_pthread_setspecific=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_lib_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
14827 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
14828 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
14829 rra_krb5_pthread="-lpthreads"
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
14832 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
14833 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
14834 $as_echo_n "(cached) " >&6
14836 ac_check_lib_save_LIBS=$LIBS
14837 LIBS="-lpthread $LIBS"
14838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14839 /* end confdefs.h. */
14841 /* Override any GCC internal prototype to avoid an error.
14842 Use char because int might match the return type of a GCC
14843 builtin and then its argument prototype would still apply. */
14847 char pthread_setspecific ();
14851 return pthread_setspecific ();
14856 if ac_fn_c_try_link "$LINENO"; then :
14857 ac_cv_lib_pthread_pthread_setspecific=yes
14859 ac_cv_lib_pthread_pthread_setspecific=no
14861 rm -f core conftest.err conftest.$ac_objext \
14862 conftest$ac_exeext conftest.$ac_ext
14863 LIBS=$ac_check_lib_save_LIBS
14865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
14866 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
14867 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
14868 rra_krb5_pthread="-lpthread"
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
14874 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
14875 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
14876 $as_echo_n "(cached) " >&6
14878 ac_check_lib_save_LIBS=$LIBS
14879 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14883 /* Override any GCC internal prototype to avoid an error.
14884 Use char because int might match the return type of a GCC
14885 builtin and then its argument prototype would still apply. */
14889 char krb5int_setspecific ();
14893 return krb5int_setspecific ();
14898 if ac_fn_c_try_link "$LINENO"; then :
14899 ac_cv_lib_krb5support_krb5int_setspecific=yes
14901 ac_cv_lib_krb5support_krb5int_setspecific=no
14903 rm -f core conftest.err conftest.$ac_objext \
14904 conftest$ac_exeext conftest.$ac_ext
14905 LIBS=$ac_check_lib_save_LIBS
14907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
14908 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
14909 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
14910 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
14915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
14916 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
14917 if ${ac_cv_lib_com_err_error_message+:} false; then :
14918 $as_echo_n "(cached) " >&6
14920 ac_check_lib_save_LIBS=$LIBS
14921 LIBS="-lcom_err $rra_krb5_extra $LIBS"
14922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14923 /* end confdefs.h. */
14925 /* Override any GCC internal prototype to avoid an error.
14926 Use char because int might match the return type of a GCC
14927 builtin and then its argument prototype would still apply. */
14931 char error_message ();
14935 return error_message ();
14940 if ac_fn_c_try_link "$LINENO"; then :
14941 ac_cv_lib_com_err_error_message=yes
14943 ac_cv_lib_com_err_error_message=no
14945 rm -f core conftest.err conftest.$ac_objext \
14946 conftest$ac_exeext conftest.$ac_ext
14947 LIBS=$ac_check_lib_save_LIBS
14949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
14950 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
14951 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
14952 rra_krb5_extra="-lcom_err $rra_krb5_extra"
14955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
14956 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
14957 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
14958 $as_echo_n "(cached) " >&6
14960 ac_check_lib_save_LIBS=$LIBS
14961 LIBS="-lksvc $rra_krb5_extra $LIBS"
14962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14963 /* end confdefs.h. */
14965 /* Override any GCC internal prototype to avoid an error.
14966 Use char because int might match the return type of a GCC
14967 builtin and then its argument prototype would still apply. */
14971 char krb5_svc_get_msg ();
14975 return krb5_svc_get_msg ();
14980 if ac_fn_c_try_link "$LINENO"; then :
14981 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
14983 ac_cv_lib_ksvc_krb5_svc_get_msg=no
14985 rm -f core conftest.err conftest.$ac_objext \
14986 conftest$ac_exeext conftest.$ac_ext
14987 LIBS=$ac_check_lib_save_LIBS
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
14990 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
14991 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
14992 rra_krb5_extra="-lksvc $rra_krb5_extra"
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
14996 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
14997 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
14998 $as_echo_n "(cached) " >&6
15000 ac_check_lib_save_LIBS=$LIBS
15001 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
15002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15003 /* end confdefs.h. */
15005 /* Override any GCC internal prototype to avoid an error.
15006 Use char because int might match the return type of a GCC
15007 builtin and then its argument prototype would still apply. */
15011 char krb5int_hash_md5 ();
15015 return krb5int_hash_md5 ();
15020 if ac_fn_c_try_link "$LINENO"; then :
15021 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
15023 ac_cv_lib_k5crypto_krb5int_hash_md5=no
15025 rm -f core conftest.err conftest.$ac_objext \
15026 conftest$ac_exeext conftest.$ac_ext
15027 LIBS=$ac_check_lib_save_LIBS
15029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
15030 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
15031 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
15032 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
15035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
15036 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
15037 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
15038 $as_echo_n "(cached) " >&6
15040 ac_check_lib_save_LIBS=$LIBS
15041 LIBS="-lk5profile $rra_krb5_extra $LIBS"
15042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15043 /* end confdefs.h. */
15045 /* Override any GCC internal prototype to avoid an error.
15046 Use char because int might match the return type of a GCC
15047 builtin and then its argument prototype would still apply. */
15051 char profile_get_values ();
15055 return profile_get_values ();
15060 if ac_fn_c_try_link "$LINENO"; then :
15061 ac_cv_lib_k5profile_profile_get_values=yes
15063 ac_cv_lib_k5profile_profile_get_values=no
15065 rm -f core conftest.err conftest.$ac_objext \
15066 conftest$ac_exeext conftest.$ac_ext
15067 LIBS=$ac_check_lib_save_LIBS
15069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
15070 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
15071 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
15072 rra_krb5_extra="-lk5profile $rra_krb5_extra"
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
15076 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
15077 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
15078 $as_echo_n "(cached) " >&6
15080 ac_check_lib_save_LIBS=$LIBS
15081 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
15082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15083 /* end confdefs.h. */
15085 /* Override any GCC internal prototype to avoid an error.
15086 Use char because int might match the return type of a GCC
15087 builtin and then its argument prototype would still apply. */
15091 char krb5_cc_default ();
15095 return krb5_cc_default ();
15100 if ac_fn_c_try_link "$LINENO"; then :
15101 ac_cv_lib_krb5_krb5_cc_default=yes
15103 ac_cv_lib_krb5_krb5_cc_default=no
15105 rm -f core conftest.err conftest.$ac_objext \
15106 conftest$ac_exeext conftest.$ac_ext
15107 LIBS=$ac_check_lib_save_LIBS
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
15110 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
15111 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
15112 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
15114 if test x"true" = xtrue; then :
15115 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
15121 LIBS="$KRB5_LIBS $LIBS"
15122 if test x"$rra_krb5_incroot" = x; then :
15123 for ac_header in krb5.h krb5/krb5.h
15125 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15126 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15127 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15128 cat >>confdefs.h <<_ACEOF
15129 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
15138 $as_echo_n "checking for krb5.h... " >&6; }
15139 if test -f "${rra_krb5_incroot}/krb5.h"; then :
15141 cat >>confdefs.h <<_ACEOF
15142 #define HAVE_KRB5_H 1
15145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15146 $as_echo "yes" >&6; }
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15149 $as_echo "no" >&6; }
15151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
15152 $as_echo_n "checking for krb5/krb5.h... " >&6; }
15153 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
15155 cat >>confdefs.h <<_ACEOF
15156 #define HAVE_KRB5_KRB5_H 1
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15160 $as_echo "yes" >&6; }
15162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15163 $as_echo "no" >&6; }
15166 for ac_func in krb5_get_error_message
15168 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
15169 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
15170 cat >>confdefs.h <<_ACEOF
15171 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
15173 for ac_func in krb5_free_error_message
15175 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
15176 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
15177 cat >>confdefs.h <<_ACEOF
15178 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
15185 for ac_func in krb5_get_error_string
15187 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
15188 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
15189 cat >>confdefs.h <<_ACEOF
15190 #define HAVE_KRB5_GET_ERROR_STRING 1
15194 for ac_func in krb5_get_err_txt
15196 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
15197 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
15198 cat >>confdefs.h <<_ACEOF
15199 #define HAVE_KRB5_GET_ERR_TXT 1
15203 for ac_func in krb5_svc_get_msg
15205 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
15206 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
15207 cat >>confdefs.h <<_ACEOF
15208 #define HAVE_KRB5_SVC_GET_MSG 1
15210 for ac_header in ibm_svc/krb5_svc.h
15212 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
15216 # include <krb5/krb5.h>
15220 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
15221 cat >>confdefs.h <<_ACEOF
15222 #define HAVE_IBM_SVC_KRB5_SVC_H 1
15230 for ac_header in et/com_err.h
15232 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
15233 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
15234 cat >>confdefs.h <<_ACEOF
15235 #define HAVE_ET_COM_ERR_H 1
15254 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15255 LDFLAGS="$rra_krb5_save_LDFLAGS"
15256 LIBS="$rra_krb5_save_LIBS"
15259 if test x"$rra_krb5_libdir" != x; then :
15260 KRB5_LDFLAGS="-L$rra_krb5_libdir"
15262 if test x"$rra_krb5_root" != x; then :
15264 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
15265 if test x"" = x; then :
15266 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
15268 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
15271 if test x"" = x; then :
15272 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
15274 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
15277 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
15280 if test x"$rra_krb5_includedir" != x; then :
15281 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
15283 if test x"$rra_krb5_root" != x; then :
15284 if test x"$rra_krb5_root" != x/usr; then :
15285 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
15289 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15290 rra_krb5_save_LDFLAGS="$LDFLAGS"
15291 rra_krb5_save_LIBS="$LIBS"
15292 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15293 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15294 LIBS="$KRB5_LIBS $LIBS"
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
15298 $as_echo_n "checking for library containing res_search... " >&6; }
15299 if ${ac_cv_search_res_search+:} false; then :
15300 $as_echo_n "(cached) " >&6
15302 ac_func_search_save_LIBS=$LIBS
15303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15304 /* end confdefs.h. */
15306 /* Override any GCC internal prototype to avoid an error.
15307 Use char because int might match the return type of a GCC
15308 builtin and then its argument prototype would still apply. */
15312 char res_search ();
15316 return res_search ();
15321 for ac_lib in '' resolv; do
15322 if test -z "$ac_lib"; then
15323 ac_res="none required"
15326 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15328 if ac_fn_c_try_link "$LINENO"; then :
15329 ac_cv_search_res_search=$ac_res
15331 rm -f core conftest.err conftest.$ac_objext \
15333 if ${ac_cv_search_res_search+:} false; then :
15337 if ${ac_cv_search_res_search+:} false; then :
15340 ac_cv_search_res_search=no
15342 rm conftest.$ac_ext
15343 LIBS=$ac_func_search_save_LIBS
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
15346 $as_echo "$ac_cv_search_res_search" >&6; }
15347 ac_res=$ac_cv_search_res_search
15348 if test "$ac_res" != no; then :
15349 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
15353 $as_echo_n "checking for library containing __res_search... " >&6; }
15354 if ${ac_cv_search___res_search+:} false; then :
15355 $as_echo_n "(cached) " >&6
15357 ac_func_search_save_LIBS=$LIBS
15358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15359 /* end confdefs.h. */
15361 /* Override any GCC internal prototype to avoid an error.
15362 Use char because int might match the return type of a GCC
15363 builtin and then its argument prototype would still apply. */
15367 char __res_search ();
15371 return __res_search ();
15376 for ac_lib in '' resolv; do
15377 if test -z "$ac_lib"; then
15378 ac_res="none required"
15381 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15383 if ac_fn_c_try_link "$LINENO"; then :
15384 ac_cv_search___res_search=$ac_res
15386 rm -f core conftest.err conftest.$ac_objext \
15388 if ${ac_cv_search___res_search+:} false; then :
15392 if ${ac_cv_search___res_search+:} false; then :
15395 ac_cv_search___res_search=no
15397 rm conftest.$ac_ext
15398 LIBS=$ac_func_search_save_LIBS
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
15401 $as_echo "$ac_cv_search___res_search" >&6; }
15402 ac_res=$ac_cv_search___res_search
15403 if test "$ac_res" != no; then :
15404 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15411 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15412 if ${ac_cv_search_gethostbyname+:} false; then :
15413 $as_echo_n "(cached) " >&6
15415 ac_func_search_save_LIBS=$LIBS
15416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15417 /* end confdefs.h. */
15419 /* Override any GCC internal prototype to avoid an error.
15420 Use char because int might match the return type of a GCC
15421 builtin and then its argument prototype would still apply. */
15425 char gethostbyname ();
15429 return gethostbyname ();
15434 for ac_lib in '' nsl; do
15435 if test -z "$ac_lib"; then
15436 ac_res="none required"
15439 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15441 if ac_fn_c_try_link "$LINENO"; then :
15442 ac_cv_search_gethostbyname=$ac_res
15444 rm -f core conftest.err conftest.$ac_objext \
15446 if ${ac_cv_search_gethostbyname+:} false; then :
15450 if ${ac_cv_search_gethostbyname+:} false; then :
15453 ac_cv_search_gethostbyname=no
15455 rm conftest.$ac_ext
15456 LIBS=$ac_func_search_save_LIBS
15458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15459 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15460 ac_res=$ac_cv_search_gethostbyname
15461 if test "$ac_res" != no; then :
15462 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
15467 $as_echo_n "checking for library containing socket... " >&6; }
15468 if ${ac_cv_search_socket+:} false; then :
15469 $as_echo_n "(cached) " >&6
15471 ac_func_search_save_LIBS=$LIBS
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15490 for ac_lib in '' socket; do
15491 if test -z "$ac_lib"; then
15492 ac_res="none required"
15495 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15497 if ac_fn_c_try_link "$LINENO"; then :
15498 ac_cv_search_socket=$ac_res
15500 rm -f core conftest.err conftest.$ac_objext \
15502 if ${ac_cv_search_socket+:} false; then :
15506 if ${ac_cv_search_socket+:} false; then :
15509 ac_cv_search_socket=no
15511 rm conftest.$ac_ext
15512 LIBS=$ac_func_search_save_LIBS
15514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
15515 $as_echo "$ac_cv_search_socket" >&6; }
15516 ac_res=$ac_cv_search_socket
15517 if test "$ac_res" != no; then :
15518 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
15522 $as_echo_n "checking for socket in -lnsl... " >&6; }
15523 if ${ac_cv_lib_nsl_socket+:} false; then :
15524 $as_echo_n "(cached) " >&6
15526 ac_check_lib_save_LIBS=$LIBS
15527 LIBS="-lnsl -lsocket $LIBS"
15528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15529 /* end confdefs.h. */
15531 /* Override any GCC internal prototype to avoid an error.
15532 Use char because int might match the return type of a GCC
15533 builtin and then its argument prototype would still apply. */
15546 if ac_fn_c_try_link "$LINENO"; then :
15547 ac_cv_lib_nsl_socket=yes
15549 ac_cv_lib_nsl_socket=no
15551 rm -f core conftest.err conftest.$ac_objext \
15552 conftest$ac_exeext conftest.$ac_ext
15553 LIBS=$ac_check_lib_save_LIBS
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
15556 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
15557 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
15558 LIBS="-lnsl -lsocket $LIBS"
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15564 $as_echo_n "checking for library containing crypt... " >&6; }
15565 if ${ac_cv_search_crypt+:} false; then :
15566 $as_echo_n "(cached) " >&6
15568 ac_func_search_save_LIBS=$LIBS
15569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15570 /* end confdefs.h. */
15572 /* Override any GCC internal prototype to avoid an error.
15573 Use char because int might match the return type of a GCC
15574 builtin and then its argument prototype would still apply. */
15587 for ac_lib in '' crypt; do
15588 if test -z "$ac_lib"; then
15589 ac_res="none required"
15592 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 ac_cv_search_crypt=$ac_res
15597 rm -f core conftest.err conftest.$ac_objext \
15599 if ${ac_cv_search_crypt+:} false; then :
15603 if ${ac_cv_search_crypt+:} false; then :
15606 ac_cv_search_crypt=no
15608 rm conftest.$ac_ext
15609 LIBS=$ac_func_search_save_LIBS
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15612 $as_echo "$ac_cv_search_crypt" >&6; }
15613 ac_res=$ac_cv_search_crypt
15614 if test "$ac_res" != no; then :
15615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
15620 $as_echo_n "checking for library containing roken_concat... " >&6; }
15621 if ${ac_cv_search_roken_concat+:} false; then :
15622 $as_echo_n "(cached) " >&6
15624 ac_func_search_save_LIBS=$LIBS
15625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15626 /* end confdefs.h. */
15628 /* Override any GCC internal prototype to avoid an error.
15629 Use char because int might match the return type of a GCC
15630 builtin and then its argument prototype would still apply. */
15634 char roken_concat ();
15638 return roken_concat ();
15643 for ac_lib in '' roken; do
15644 if test -z "$ac_lib"; then
15645 ac_res="none required"
15648 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15650 if ac_fn_c_try_link "$LINENO"; then :
15651 ac_cv_search_roken_concat=$ac_res
15653 rm -f core conftest.err conftest.$ac_objext \
15655 if ${ac_cv_search_roken_concat+:} false; then :
15659 if ${ac_cv_search_roken_concat+:} false; then :
15662 ac_cv_search_roken_concat=no
15664 rm conftest.$ac_ext
15665 LIBS=$ac_func_search_save_LIBS
15667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
15668 $as_echo "$ac_cv_search_roken_concat" >&6; }
15669 ac_res=$ac_cv_search_roken_concat
15670 if test "$ac_res" != no; then :
15671 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15675 rra_krb5_extra="$LIBS"
15676 LIBS="$rra_krb5_save_LIBS"
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
15678 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
15679 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
15680 $as_echo_n "(cached) " >&6
15682 ac_check_lib_save_LIBS=$LIBS
15683 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
15684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15685 /* end confdefs.h. */
15687 /* Override any GCC internal prototype to avoid an error.
15688 Use char because int might match the return type of a GCC
15689 builtin and then its argument prototype would still apply. */
15693 char krb5_init_context ();
15697 return krb5_init_context ();
15702 if ac_fn_c_try_link "$LINENO"; then :
15703 ac_cv_lib_krb5_krb5_init_context=yes
15705 ac_cv_lib_krb5_krb5_init_context=no
15707 rm -f core conftest.err conftest.$ac_objext \
15708 conftest$ac_exeext conftest.$ac_ext
15709 LIBS=$ac_check_lib_save_LIBS
15711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
15712 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
15713 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
15714 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
15716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
15717 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
15718 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
15719 $as_echo_n "(cached) " >&6
15721 ac_check_lib_save_LIBS=$LIBS
15722 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
15723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15724 /* end confdefs.h. */
15726 /* Override any GCC internal prototype to avoid an error.
15727 Use char because int might match the return type of a GCC
15728 builtin and then its argument prototype would still apply. */
15732 char krb5int_getspecific ();
15736 return krb5int_getspecific ();
15741 if ac_fn_c_try_link "$LINENO"; then :
15742 ac_cv_lib_krb5support_krb5int_getspecific=yes
15744 ac_cv_lib_krb5support_krb5int_getspecific=no
15746 rm -f core conftest.err conftest.$ac_objext \
15747 conftest$ac_exeext conftest.$ac_ext
15748 LIBS=$ac_check_lib_save_LIBS
15750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
15751 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
15752 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
15753 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
15755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
15756 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
15757 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
15758 $as_echo_n "(cached) " >&6
15760 ac_check_lib_save_LIBS=$LIBS
15761 LIBS="-lpthreads $LIBS"
15762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15763 /* end confdefs.h. */
15765 /* Override any GCC internal prototype to avoid an error.
15766 Use char because int might match the return type of a GCC
15767 builtin and then its argument prototype would still apply. */
15771 char pthread_setspecific ();
15775 return pthread_setspecific ();
15780 if ac_fn_c_try_link "$LINENO"; then :
15781 ac_cv_lib_pthreads_pthread_setspecific=yes
15783 ac_cv_lib_pthreads_pthread_setspecific=no
15785 rm -f core conftest.err conftest.$ac_objext \
15786 conftest$ac_exeext conftest.$ac_ext
15787 LIBS=$ac_check_lib_save_LIBS
15789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
15790 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
15791 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
15792 rra_krb5_pthread="-lpthreads"
15794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
15795 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
15796 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
15797 $as_echo_n "(cached) " >&6
15799 ac_check_lib_save_LIBS=$LIBS
15800 LIBS="-lpthread $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15810 char pthread_setspecific ();
15814 return pthread_setspecific ();
15819 if ac_fn_c_try_link "$LINENO"; then :
15820 ac_cv_lib_pthread_pthread_setspecific=yes
15822 ac_cv_lib_pthread_pthread_setspecific=no
15824 rm -f core conftest.err conftest.$ac_objext \
15825 conftest$ac_exeext conftest.$ac_ext
15826 LIBS=$ac_check_lib_save_LIBS
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
15829 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
15830 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
15831 rra_krb5_pthread="-lpthread"
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
15837 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
15838 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
15839 $as_echo_n "(cached) " >&6
15841 ac_check_lib_save_LIBS=$LIBS
15842 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
15843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15844 /* end confdefs.h. */
15846 /* Override any GCC internal prototype to avoid an error.
15847 Use char because int might match the return type of a GCC
15848 builtin and then its argument prototype would still apply. */
15852 char krb5int_setspecific ();
15856 return krb5int_setspecific ();
15861 if ac_fn_c_try_link "$LINENO"; then :
15862 ac_cv_lib_krb5support_krb5int_setspecific=yes
15864 ac_cv_lib_krb5support_krb5int_setspecific=no
15866 rm -f core conftest.err conftest.$ac_objext \
15867 conftest$ac_exeext conftest.$ac_ext
15868 LIBS=$ac_check_lib_save_LIBS
15870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
15871 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
15872 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
15873 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
15878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
15879 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
15880 if ${ac_cv_lib_com_err_error_message+:} false; then :
15881 $as_echo_n "(cached) " >&6
15883 ac_check_lib_save_LIBS=$LIBS
15884 LIBS="-lcom_err $rra_krb5_extra $LIBS"
15885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15886 /* end confdefs.h. */
15888 /* Override any GCC internal prototype to avoid an error.
15889 Use char because int might match the return type of a GCC
15890 builtin and then its argument prototype would still apply. */
15894 char error_message ();
15898 return error_message ();
15903 if ac_fn_c_try_link "$LINENO"; then :
15904 ac_cv_lib_com_err_error_message=yes
15906 ac_cv_lib_com_err_error_message=no
15908 rm -f core conftest.err conftest.$ac_objext \
15909 conftest$ac_exeext conftest.$ac_ext
15910 LIBS=$ac_check_lib_save_LIBS
15912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
15913 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
15914 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
15915 rra_krb5_extra="-lcom_err $rra_krb5_extra"
15918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
15919 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
15920 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
15921 $as_echo_n "(cached) " >&6
15923 ac_check_lib_save_LIBS=$LIBS
15924 LIBS="-lksvc $rra_krb5_extra $LIBS"
15925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15926 /* end confdefs.h. */
15928 /* Override any GCC internal prototype to avoid an error.
15929 Use char because int might match the return type of a GCC
15930 builtin and then its argument prototype would still apply. */
15934 char krb5_svc_get_msg ();
15938 return krb5_svc_get_msg ();
15943 if ac_fn_c_try_link "$LINENO"; then :
15944 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
15946 ac_cv_lib_ksvc_krb5_svc_get_msg=no
15948 rm -f core conftest.err conftest.$ac_objext \
15949 conftest$ac_exeext conftest.$ac_ext
15950 LIBS=$ac_check_lib_save_LIBS
15952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
15953 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
15954 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
15955 rra_krb5_extra="-lksvc $rra_krb5_extra"
15958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
15959 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
15960 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
15961 $as_echo_n "(cached) " >&6
15963 ac_check_lib_save_LIBS=$LIBS
15964 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
15965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15966 /* end confdefs.h. */
15968 /* Override any GCC internal prototype to avoid an error.
15969 Use char because int might match the return type of a GCC
15970 builtin and then its argument prototype would still apply. */
15974 char krb5int_hash_md5 ();
15978 return krb5int_hash_md5 ();
15983 if ac_fn_c_try_link "$LINENO"; then :
15984 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
15986 ac_cv_lib_k5crypto_krb5int_hash_md5=no
15988 rm -f core conftest.err conftest.$ac_objext \
15989 conftest$ac_exeext conftest.$ac_ext
15990 LIBS=$ac_check_lib_save_LIBS
15992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
15993 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
15994 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
15995 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
15998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
15999 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
16000 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
16001 $as_echo_n "(cached) " >&6
16003 ac_check_lib_save_LIBS=$LIBS
16004 LIBS="-lk5profile $rra_krb5_extra $LIBS"
16005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16006 /* end confdefs.h. */
16008 /* Override any GCC internal prototype to avoid an error.
16009 Use char because int might match the return type of a GCC
16010 builtin and then its argument prototype would still apply. */
16014 char profile_get_values ();
16018 return profile_get_values ();
16023 if ac_fn_c_try_link "$LINENO"; then :
16024 ac_cv_lib_k5profile_profile_get_values=yes
16026 ac_cv_lib_k5profile_profile_get_values=no
16028 rm -f core conftest.err conftest.$ac_objext \
16029 conftest$ac_exeext conftest.$ac_ext
16030 LIBS=$ac_check_lib_save_LIBS
16032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
16033 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
16034 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
16035 rra_krb5_extra="-lk5profile $rra_krb5_extra"
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
16039 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
16040 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
16041 $as_echo_n "(cached) " >&6
16043 ac_check_lib_save_LIBS=$LIBS
16044 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
16045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16046 /* end confdefs.h. */
16048 /* Override any GCC internal prototype to avoid an error.
16049 Use char because int might match the return type of a GCC
16050 builtin and then its argument prototype would still apply. */
16054 char krb5_cc_default ();
16058 return krb5_cc_default ();
16063 if ac_fn_c_try_link "$LINENO"; then :
16064 ac_cv_lib_krb5_krb5_cc_default=yes
16066 ac_cv_lib_krb5_krb5_cc_default=no
16068 rm -f core conftest.err conftest.$ac_objext \
16069 conftest$ac_exeext conftest.$ac_ext
16070 LIBS=$ac_check_lib_save_LIBS
16072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
16073 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
16074 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
16075 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
16077 if test x"true" = xtrue; then :
16078 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
16084 LIBS="$KRB5_LIBS $LIBS"
16085 if test x"$rra_krb5_incroot" = x; then :
16086 for ac_header in krb5.h krb5/krb5.h
16088 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16089 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16090 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16091 cat >>confdefs.h <<_ACEOF
16092 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
16101 $as_echo_n "checking for krb5.h... " >&6; }
16102 if test -f "${rra_krb5_incroot}/krb5.h"; then :
16104 cat >>confdefs.h <<_ACEOF
16105 #define HAVE_KRB5_H 1
16108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16109 $as_echo "yes" >&6; }
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16112 $as_echo "no" >&6; }
16114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
16115 $as_echo_n "checking for krb5/krb5.h... " >&6; }
16116 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
16118 cat >>confdefs.h <<_ACEOF
16119 #define HAVE_KRB5_KRB5_H 1
16122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16123 $as_echo "yes" >&6; }
16125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16126 $as_echo "no" >&6; }
16129 for ac_func in krb5_get_error_message
16131 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16132 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
16133 cat >>confdefs.h <<_ACEOF
16134 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
16136 for ac_func in krb5_free_error_message
16138 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16139 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
16140 cat >>confdefs.h <<_ACEOF
16141 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
16148 for ac_func in krb5_get_error_string
16150 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16151 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
16152 cat >>confdefs.h <<_ACEOF
16153 #define HAVE_KRB5_GET_ERROR_STRING 1
16157 for ac_func in krb5_get_err_txt
16159 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16160 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
16161 cat >>confdefs.h <<_ACEOF
16162 #define HAVE_KRB5_GET_ERR_TXT 1
16166 for ac_func in krb5_svc_get_msg
16168 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
16169 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
16170 cat >>confdefs.h <<_ACEOF
16171 #define HAVE_KRB5_SVC_GET_MSG 1
16173 for ac_header in ibm_svc/krb5_svc.h
16175 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
16179 # include <krb5/krb5.h>
16183 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define HAVE_IBM_SVC_KRB5_SVC_H 1
16193 for ac_header in et/com_err.h
16195 ac_fn_c_check_header_mongrel "$LINENO" "et/com_err.h" "ac_cv_header_et_com_err_h" "$ac_includes_default"
16196 if test "x$ac_cv_header_et_com_err_h" = xyes; then :
16197 cat >>confdefs.h <<_ACEOF
16198 #define HAVE_ET_COM_ERR_H 1
16217 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16218 LDFLAGS="$rra_krb5_save_LDFLAGS"
16219 LIBS="$rra_krb5_save_LIBS"
16222 rra_krb5_uses_com_err=false
16223 case $KRB5_LIBS in #(
16225 rra_krb5_uses_com_err=true ;; #(
16229 if test x"$rra_krb5_uses_com_err" = xtrue; then
16230 KRB5_USES_COM_ERR_TRUE=
16231 KRB5_USES_COM_ERR_FALSE='#'
16233 KRB5_USES_COM_ERR_TRUE='#'
16234 KRB5_USES_COM_ERR_FALSE=
16238 $as_echo "#define HAVE_KRB5 1" >>confdefs.h
16240 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
16241 rra_krb5_save_LDFLAGS="$LDFLAGS"
16242 rra_krb5_save_LIBS="$LIBS"
16243 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
16244 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
16245 LIBS="$KRB5_LIBS $LIBS"
16246 for ac_header in kadm5/kadm5-pwcheck.h kadm5/kadm5_err.h
16248 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16249 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
16253 # include <krb5/krb5.h>
16257 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16258 cat >>confdefs.h <<_ACEOF
16259 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16266 for ac_header in krb5/pwqual_plugin.h
16268 ac_fn_c_check_header_compile "$LINENO" "krb5/pwqual_plugin.h" "ac_cv_header_krb5_pwqual_plugin_h" "
16272 # include <krb5/krb5.h>
16276 if test "x$ac_cv_header_krb5_pwqual_plugin_h" = xyes; then :
16277 cat >>confdefs.h <<_ACEOF
16278 #define HAVE_KRB5_PWQUAL_PLUGIN_H 1
16285 ac_fn_c_check_type "$LINENO" "krb5_realm" "ac_cv_type_krb5_realm" "
16289 # include <krb5/krb5.h>
16293 if test "x$ac_cv_type_krb5_realm" = xyes; then :
16295 cat >>confdefs.h <<_ACEOF
16296 #define HAVE_KRB5_REALM 1
16302 for ac_func in krb5_free_default_realm \
16304 krb5_get_init_creds_opt_alloc \
16305 krb5_get_init_creds_opt_set_default_flags \
16306 krb5_principal_get_realm \
16309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16312 cat >>confdefs.h <<_ACEOF
16313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16319 for ac_func in krb5_get_init_creds_opt_free
16321 ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_free" "ac_cv_func_krb5_get_init_creds_opt_free"
16322 if test "x$ac_cv_func_krb5_get_init_creds_opt_free" = xyes; then :
16323 cat >>confdefs.h <<_ACEOF
16324 #define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE 1
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if krb5_get_init_creds_opt_free takes two arguments" >&5
16327 $as_echo_n "checking if krb5_get_init_creds_opt_free takes two arguments... " >&6; }
16328 if ${rra_cv_func_krb5_get_init_creds_opt_free_args+:} false; then :
16329 $as_echo_n "(cached) " >&6
16331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16332 /* end confdefs.h. */
16337 # include <krb5/krb5.h>
16343 krb5_get_init_creds_opt *opts;
16345 krb5_get_init_creds_opt_free(c, opts);
16349 if ac_fn_c_try_compile "$LINENO"; then :
16350 rra_cv_func_krb5_get_init_creds_opt_free_args=yes
16352 rra_cv_func_krb5_get_init_creds_opt_free_args=no
16354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_krb5_get_init_creds_opt_free_args" >&5
16357 $as_echo "$rra_cv_func_krb5_get_init_creds_opt_free_args" >&6; }
16358 if test $rra_cv_func_krb5_get_init_creds_opt_free_args = yes; then :
16360 $as_echo "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_2_ARGS 1" >>confdefs.h
16366 ac_fn_c_check_decl "$LINENO" "krb5_kt_free_entry" "ac_cv_have_decl_krb5_kt_free_entry" "
16370 # include <krb5/krb5.h>
16374 if test "x$ac_cv_have_decl_krb5_kt_free_entry" = xyes; then :
16380 cat >>confdefs.h <<_ACEOF
16381 #define HAVE_DECL_KRB5_KT_FREE_ENTRY $ac_have_decl
16384 case " $LIBOBJS " in
16385 *" krb5-extra.$ac_objext "* ) ;;
16386 *) LIBOBJS="$LIBOBJS krb5-extra.$ac_objext"
16390 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16391 LDFLAGS="$rra_krb5_save_LDFLAGS"
16392 LIBS="$rra_krb5_save_LIBS"
16400 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
16401 if test -n "$ac_tool_prefix"; then
16402 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
16403 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16405 $as_echo_n "checking for $ac_word... " >&6; }
16406 if ${ac_cv_path_PKG_CONFIG+:} false; then :
16407 $as_echo_n "(cached) " >&6
16409 case $PKG_CONFIG in
16411 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
16414 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16415 for as_dir in $PATH
16418 test -z "$as_dir" && as_dir=.
16419 for ac_exec_ext in '' $ac_executable_extensions; do
16420 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16421 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16422 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16432 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
16433 if test -n "$PKG_CONFIG"; then
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
16435 $as_echo "$PKG_CONFIG" >&6; }
16437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16438 $as_echo "no" >&6; }
16443 if test -z "$ac_cv_path_PKG_CONFIG"; then
16444 ac_pt_PKG_CONFIG=$PKG_CONFIG
16445 # Extract the first word of "pkg-config", so it can be a program name with args.
16446 set dummy pkg-config; ac_word=$2
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16448 $as_echo_n "checking for $ac_word... " >&6; }
16449 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
16450 $as_echo_n "(cached) " >&6
16452 case $ac_pt_PKG_CONFIG in
16454 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
16457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16458 for as_dir in $PATH
16461 test -z "$as_dir" && as_dir=.
16462 for ac_exec_ext in '' $ac_executable_extensions; do
16463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16464 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
16465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16475 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
16476 if test -n "$ac_pt_PKG_CONFIG"; then
16477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
16478 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
16480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16481 $as_echo "no" >&6; }
16484 if test "x$ac_pt_PKG_CONFIG" = x; then
16487 case $cross_compiling:$ac_tool_warned in
16489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
16490 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
16491 ac_tool_warned=yes ;;
16493 PKG_CONFIG=$ac_pt_PKG_CONFIG
16496 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
16500 if test -n "$PKG_CONFIG"; then
16501 _pkg_min_version=0.9.0
16502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
16503 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
16504 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
16505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16506 $as_echo "yes" >&6; }
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16509 $as_echo "no" >&6; }
16515 rra_SQLITE_includedir=
16524 # Check whether --with-sqlite was given.
16525 if test "${with_sqlite+set}" = set; then :
16526 withval=$with_sqlite; if test x"$withval" = xno; then :
16527 rra_use_SQLITE=false
16529 if test x"$withval" != xyes; then :
16530 rra_SQLITE_root="$withval"
16532 rra_use_SQLITE=true
16537 # Check whether --with-sqlite-include was given.
16538 if test "${with_sqlite_include+set}" = set; then :
16539 withval=$with_sqlite_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
16540 rra_SQLITE_includedir="$withval"
16545 # Check whether --with-sqlite-lib was given.
16546 if test "${with_sqlite_lib+set}" = set; then :
16547 withval=$with_sqlite_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
16548 rra_SQLITE_libdir="$withval"
16552 if test x"$rra_use_SQLITE" != xfalse; then :
16553 if test x"$rra_use_SQLITE" = xtrue; then :
16554 if test x"$rra_SQLITE_libdir" != x; then :
16555 SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
16557 if test x"$rra_SQLITE_root" != x; then :
16559 if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
16560 if test x"" = x; then :
16561 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
16563 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
16566 if test x"" = x; then :
16567 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
16569 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
16572 SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
16575 if test x"$rra_SQLITE_includedir" != x; then :
16576 SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
16578 if test x"$rra_SQLITE_root" != x; then :
16579 if test x"$rra_SQLITE_root" != x/usr; then :
16580 SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
16584 if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
16585 if test -n "$PKG_CONFIG" && \
16586 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16587 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16589 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16590 test $ac_status = 0; }; then
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
16594 $as_echo_n "checking for SQLITE... " >&6; }
16596 if test -n "$SQLITE_CFLAGS"; then
16597 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
16598 elif test -n "$PKG_CONFIG"; then
16599 if test -n "$PKG_CONFIG" && \
16600 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16601 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16604 test $ac_status = 0; }; then
16605 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
16606 test "x$?" != "x0" && pkg_failed=yes
16613 if test -n "$SQLITE_LIBS"; then
16614 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
16615 elif test -n "$PKG_CONFIG"; then
16616 if test -n "$PKG_CONFIG" && \
16617 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16618 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16621 test $ac_status = 0; }; then
16622 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
16623 test "x$?" != "x0" && pkg_failed=yes
16633 if test $pkg_failed = yes; then
16634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16635 $as_echo "no" >&6; }
16637 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16638 _pkg_short_errors_supported=yes
16640 _pkg_short_errors_supported=no
16642 if test $_pkg_short_errors_supported = yes; then
16643 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
16645 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
16647 # Put the nasty error message in config.log where it belongs
16648 echo "$SQLITE_PKG_ERRORS" >&5
16650 as_fn_error $? "Package requirements (sqlite3) were not met:
16654 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16655 installed software in a non-standard prefix.
16657 Alternatively, you may set the environment variables SQLITE_CFLAGS
16658 and SQLITE_LIBS to avoid the need to call pkg-config.
16659 See the pkg-config man page for more details." "$LINENO" 5
16660 elif test $pkg_failed = untried; then
16661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16662 $as_echo "no" >&6; }
16663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16665 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16666 is in your PATH or set the PKG_CONFIG environment variable to the full
16667 path to pkg-config.
16669 Alternatively, you may set the environment variables SQLITE_CFLAGS
16670 and SQLITE_LIBS to avoid the need to call pkg-config.
16671 See the pkg-config man page for more details.
16673 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16674 See \`config.log' for more details" "$LINENO" 5; }
16676 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
16677 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16679 $as_echo "yes" >&6; }
16682 SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
16685 if test x"$SQLITE_LIBS" = x; then :
16686 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
16687 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
16688 rra_SQLITE_save_LIBS="$LIBS"
16689 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
16690 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
16691 LIBS="$SQLITE_LIBS $LIBS"
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
16694 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
16695 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
16696 $as_echo_n "(cached) " >&6
16698 ac_func_search_save_LIBS=$LIBS
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16702 /* Override any GCC internal prototype to avoid an error.
16703 Use char because int might match the return type of a GCC
16704 builtin and then its argument prototype would still apply. */
16708 char sqlite3_open_v2 ();
16712 return sqlite3_open_v2 ();
16717 for ac_lib in '' sqlite3; do
16718 if test -z "$ac_lib"; then
16719 ac_res="none required"
16722 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16724 if ac_fn_c_try_link "$LINENO"; then :
16725 ac_cv_search_sqlite3_open_v2=$ac_res
16727 rm -f core conftest.err conftest.$ac_objext \
16729 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
16733 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
16736 ac_cv_search_sqlite3_open_v2=no
16738 rm conftest.$ac_ext
16739 LIBS=$ac_func_search_save_LIBS
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
16742 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
16743 ac_res=$ac_cv_search_sqlite3_open_v2
16744 if test "$ac_res" != no; then :
16745 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16746 SQLITE_LIBS="$LIBS"
16748 if test x"true" = xtrue; then :
16749 as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
16753 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
16754 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
16755 LIBS="$rra_SQLITE_save_LIBS"
16757 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
16758 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
16759 rra_SQLITE_save_LIBS="$LIBS"
16760 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
16761 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
16762 LIBS="$SQLITE_LIBS $LIBS"
16763 for ac_header in sqlite3.h
16765 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
16766 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
16767 cat >>confdefs.h <<_ACEOF
16768 #define HAVE_SQLITE3_H 1
16775 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
16776 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
16777 LIBS="$rra_SQLITE_save_LIBS"
16779 if test x"$rra_SQLITE_libdir" != x; then :
16780 SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
16782 if test x"$rra_SQLITE_root" != x; then :
16784 if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
16785 if test x"" = x; then :
16786 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
16788 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
16791 if test x"" = x; then :
16792 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
16794 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
16797 SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
16800 if test x"$rra_SQLITE_includedir" != x; then :
16801 SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
16803 if test x"$rra_SQLITE_root" != x; then :
16804 if test x"$rra_SQLITE_root" != x/usr; then :
16805 SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
16809 if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
16810 if test -n "$PKG_CONFIG" && \
16811 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16812 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16814 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16815 test $ac_status = 0; }; then
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
16819 $as_echo_n "checking for SQLITE... " >&6; }
16821 if test -n "$SQLITE_CFLAGS"; then
16822 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
16823 elif test -n "$PKG_CONFIG"; then
16824 if test -n "$PKG_CONFIG" && \
16825 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16826 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16829 test $ac_status = 0; }; then
16830 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
16831 test "x$?" != "x0" && pkg_failed=yes
16838 if test -n "$SQLITE_LIBS"; then
16839 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
16840 elif test -n "$PKG_CONFIG"; then
16841 if test -n "$PKG_CONFIG" && \
16842 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
16843 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
16845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16846 test $ac_status = 0; }; then
16847 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
16848 test "x$?" != "x0" && pkg_failed=yes
16858 if test $pkg_failed = yes; then
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16860 $as_echo "no" >&6; }
16862 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
16863 _pkg_short_errors_supported=yes
16865 _pkg_short_errors_supported=no
16867 if test $_pkg_short_errors_supported = yes; then
16868 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
16870 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
16872 # Put the nasty error message in config.log where it belongs
16873 echo "$SQLITE_PKG_ERRORS" >&5
16875 as_fn_error $? "Package requirements (sqlite3) were not met:
16879 Consider adjusting the PKG_CONFIG_PATH environment variable if you
16880 installed software in a non-standard prefix.
16882 Alternatively, you may set the environment variables SQLITE_CFLAGS
16883 and SQLITE_LIBS to avoid the need to call pkg-config.
16884 See the pkg-config man page for more details." "$LINENO" 5
16885 elif test $pkg_failed = untried; then
16886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16887 $as_echo "no" >&6; }
16888 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16889 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16890 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
16891 is in your PATH or set the PKG_CONFIG environment variable to the full
16892 path to pkg-config.
16894 Alternatively, you may set the environment variables SQLITE_CFLAGS
16895 and SQLITE_LIBS to avoid the need to call pkg-config.
16896 See the pkg-config man page for more details.
16898 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
16899 See \`config.log' for more details" "$LINENO" 5; }
16901 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
16902 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
16903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16904 $as_echo "yes" >&6; }
16907 SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
16910 if test x"$SQLITE_LIBS" = x; then :
16911 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
16912 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
16913 rra_SQLITE_save_LIBS="$LIBS"
16914 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
16915 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
16916 LIBS="$SQLITE_LIBS $LIBS"
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
16919 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
16920 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
16921 $as_echo_n "(cached) " >&6
16923 ac_func_search_save_LIBS=$LIBS
16924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16925 /* end confdefs.h. */
16927 /* Override any GCC internal prototype to avoid an error.
16928 Use char because int might match the return type of a GCC
16929 builtin and then its argument prototype would still apply. */
16933 char sqlite3_open_v2 ();
16937 return sqlite3_open_v2 ();
16942 for ac_lib in '' sqlite3; do
16943 if test -z "$ac_lib"; then
16944 ac_res="none required"
16947 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16949 if ac_fn_c_try_link "$LINENO"; then :
16950 ac_cv_search_sqlite3_open_v2=$ac_res
16952 rm -f core conftest.err conftest.$ac_objext \
16954 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
16958 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
16961 ac_cv_search_sqlite3_open_v2=no
16963 rm conftest.$ac_ext
16964 LIBS=$ac_func_search_save_LIBS
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
16967 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
16968 ac_res=$ac_cv_search_sqlite3_open_v2
16969 if test "$ac_res" != no; then :
16970 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16971 SQLITE_LIBS="$LIBS"
16973 if test x"false" = xtrue; then :
16974 as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
16978 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
16979 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
16980 LIBS="$rra_SQLITE_save_LIBS"
16982 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
16983 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
16984 rra_SQLITE_save_LIBS="$LIBS"
16985 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
16986 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
16987 LIBS="$SQLITE_LIBS $LIBS"
16988 for ac_header in sqlite3.h
16990 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
16991 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_SQLITE3_H 1
17000 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
17001 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
17002 LIBS="$rra_SQLITE_save_LIBS"
17005 if test x"$SQLITE_LIBS" != x; then :
17006 rra_use_SQLITE=true
17008 $as_echo "#define HAVE_SQLITE 1" >>confdefs.h
17013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
17014 $as_echo_n "checking for library containing dlopen... " >&6; }
17015 if ${ac_cv_search_dlopen+:} false; then :
17016 $as_echo_n "(cached) " >&6
17018 ac_func_search_save_LIBS=$LIBS
17019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17020 /* end confdefs.h. */
17022 /* Override any GCC internal prototype to avoid an error.
17023 Use char because int might match the return type of a GCC
17024 builtin and then its argument prototype would still apply. */
17037 for ac_lib in '' dl; do
17038 if test -z "$ac_lib"; then
17039 ac_res="none required"
17042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17044 if ac_fn_c_try_link "$LINENO"; then :
17045 ac_cv_search_dlopen=$ac_res
17047 rm -f core conftest.err conftest.$ac_objext \
17049 if ${ac_cv_search_dlopen+:} false; then :
17053 if ${ac_cv_search_dlopen+:} false; then :
17056 ac_cv_search_dlopen=no
17058 rm conftest.$ac_ext
17059 LIBS=$ac_func_search_save_LIBS
17061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
17062 $as_echo "$ac_cv_search_dlopen" >&6; }
17063 ac_res=$ac_cv_search_dlopen
17064 if test "$ac_res" != no; then :
17065 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
17073 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
17074 if ${ac_cv_header_stdbool_h+:} false; then :
17075 $as_echo_n "(cached) " >&6
17077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17078 /* end confdefs.h. */
17080 #include <stdbool.h>
17082 "error: bool is not defined"
17085 "error: false is not defined"
17088 "error: false is not 0"
17091 "error: true is not defined"
17094 "error: true is not 1"
17096 #ifndef __bool_true_false_are_defined
17097 "error: __bool_true_false_are_defined is not defined"
17100 struct s { _Bool s: 1; _Bool t; } s;
17102 char a[true == 1 ? 1 : -1];
17103 char b[false == 0 ? 1 : -1];
17104 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
17105 char d[(bool) 0.5 == true ? 1 : -1];
17106 /* See body of main program for 'e'. */
17107 char f[(_Bool) 0.0 == false ? 1 : -1];
17109 char h[sizeof (_Bool)];
17110 char i[sizeof s.t];
17111 enum { j = false, k = true, l = false * true, m = true * 256 };
17112 /* The following fails for
17113 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
17115 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
17116 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
17117 /* Catch a bug in an HP-UX C compiler. See
17118 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
17119 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
17131 /* Refer to every declared value, to avoid compiler optimizations. */
17132 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
17133 + !m + !n + !o + !p + !q + !pq);
17139 if ac_fn_c_try_compile "$LINENO"; then :
17140 ac_cv_header_stdbool_h=yes
17142 ac_cv_header_stdbool_h=no
17144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
17147 $as_echo "$ac_cv_header_stdbool_h" >&6; }
17148 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
17149 if test "x$ac_cv_type__Bool" = xyes; then :
17151 cat >>confdefs.h <<_ACEOF
17152 #define HAVE__BOOL 1
17159 if test $ac_cv_header_stdbool_h = yes; then
17161 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
17165 for ac_header in sys/bittypes.h sys/select.h syslog.h
17167 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17168 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17169 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17170 cat >>confdefs.h <<_ACEOF
17171 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17178 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
17179 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
17185 cat >>confdefs.h <<_ACEOF
17186 #define HAVE_DECL_SNPRINTF $ac_have_decl
17188 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
17189 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
17195 cat >>confdefs.h <<_ACEOF
17196 #define HAVE_DECL_VSNPRINTF $ac_have_decl
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variadic macros" >&5
17200 $as_echo_n "checking for C99 variadic macros... " >&6; }
17201 if ${rra_cv_c_c99_vamacros+:} false; then :
17202 $as_echo_n "(cached) " >&6
17204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17205 /* end confdefs.h. */
17208 #define error(...) fprintf(stderr, __VA_ARGS__)
17213 error("foo %d", 0);
17218 if ac_fn_c_try_compile "$LINENO"; then :
17219 rra_cv_c_c99_vamacros=yes
17221 rra_cv_c_c99_vamacros=no
17223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_c99_vamacros" >&5
17226 $as_echo "$rra_cv_c_c99_vamacros" >&6; }
17227 if test x"$rra_cv_c_c99_vamacros" = xyes; then :
17229 $as_echo "#define HAVE_C99_VAMACROS 1" >>confdefs.h
17232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style variadic macros" >&5
17233 $as_echo_n "checking for GNU-style variadic macros... " >&6; }
17234 if ${rra_cv_c_gnu_vamacros+:} false; then :
17235 $as_echo_n "(cached) " >&6
17237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238 /* end confdefs.h. */
17241 #define error(args...) fprintf(stderr, args)
17246 error("foo %d", 0);
17251 if ac_fn_c_try_compile "$LINENO"; then :
17252 rra_cv_c_gnu_vamacros=yes
17254 rra_cv_c_gnu_vamacros=no
17256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_gnu_vamacros" >&5
17259 $as_echo "$rra_cv_c_gnu_vamacros" >&6; }
17260 if test x"$rra_cv_c_gnu_vamacros" = xyes; then :
17262 $as_echo "#define HAVE_GNU_VAMACROS 1" >>confdefs.h
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
17267 $as_echo_n "checking for unsigned long long int... " >&6; }
17268 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
17269 $as_echo_n "(cached) " >&6
17271 ac_cv_type_unsigned_long_long_int=yes
17272 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
17273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17274 /* end confdefs.h. */
17276 /* For now, do not test the preprocessor; as of 2007 there are too many
17277 implementations with broken preprocessors. Perhaps this can
17278 be revisited in 2012. In the meantime, code should not expect
17279 #if to work with literals wider than 32 bits. */
17280 /* Test literals. */
17281 long long int ll = 9223372036854775807ll;
17282 long long int nll = -9223372036854775807LL;
17283 unsigned long long int ull = 18446744073709551615ULL;
17284 /* Test constant expressions. */
17285 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
17287 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
17293 /* Test availability of runtime routines for shift and division. */
17294 long long int llmax = 9223372036854775807ll;
17295 unsigned long long int ullmax = 18446744073709551615ull;
17296 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
17297 | (llmax / ll) | (llmax % ll)
17298 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
17299 | (ullmax / ull) | (ullmax % ull));
17305 if ac_fn_c_try_link "$LINENO"; then :
17308 ac_cv_type_unsigned_long_long_int=no
17310 rm -f core conftest.err conftest.$ac_objext \
17311 conftest$ac_exeext conftest.$ac_ext
17314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
17315 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
17316 if test $ac_cv_type_unsigned_long_long_int = yes; then
17318 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
17325 $as_echo_n "checking for long long int... " >&6; }
17326 if ${ac_cv_type_long_long_int+:} false; then :
17327 $as_echo_n "(cached) " >&6
17329 ac_cv_type_long_long_int=yes
17330 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
17331 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
17332 if test $ac_cv_type_long_long_int = yes; then
17333 if test "$cross_compiling" = yes; then :
17336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17337 /* end confdefs.h. */
17338 #include <limits.h>
17341 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
17342 # define LLONG_MAX (HALF - 1 + HALF)
17347 long long int n = 1;
17351 long long int m = n << i;
17354 if (LLONG_MAX / 2 < m)
17362 if ac_fn_c_try_run "$LINENO"; then :
17365 ac_cv_type_long_long_int=no
17367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17368 conftest.$ac_objext conftest.beam conftest.$ac_ext
17374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
17375 $as_echo "$ac_cv_type_long_long_int" >&6; }
17376 if test $ac_cv_type_long_long_int = yes; then
17378 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
17382 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
17383 case $ac_cv_c_uint8_t in #(
17387 $as_echo "#define _UINT8_T 1" >>confdefs.h
17390 cat >>confdefs.h <<_ACEOF
17391 #define uint8_t $ac_cv_c_uint8_t
17396 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
17397 case $ac_cv_c_uint16_t in #(
17402 cat >>confdefs.h <<_ACEOF
17403 #define uint16_t $ac_cv_c_uint16_t
17408 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
17409 case $ac_cv_c_uint32_t in #(
17413 $as_echo "#define _UINT32_T 1" >>confdefs.h
17416 cat >>confdefs.h <<_ACEOF
17417 #define uint32_t $ac_cv_c_uint32_t
17422 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
17424 if test "x$ac_cv_type_ssize_t" = xyes; then :
17426 cat >>confdefs.h <<_ACEOF
17427 #define HAVE_SSIZE_T 1
17433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working snprintf" >&5
17434 $as_echo_n "checking for working snprintf... " >&6; }
17435 if ${rra_cv_func_snprintf_works+:} false; then :
17436 $as_echo_n "(cached) " >&6
17438 if test "$cross_compiling" = yes; then :
17439 rra_cv_func_snprintf_works=no
17441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17442 /* end confdefs.h. */
17445 #include <stdarg.h>
17450 test(char *format, ...)
17455 va_start(args, format);
17456 count = vsnprintf(buf, sizeof buf, format, args);
17464 return ((test("%s", "abcd") == 4 && buf[0] == 'a' && buf[1] == '\0'
17465 && snprintf(NULL, 0, "%s", "abcd") == 4) ? 0 : 1);
17469 if ac_fn_c_try_run "$LINENO"; then :
17470 rra_cv_func_snprintf_works=yes
17472 rra_cv_func_snprintf_works=no
17474 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
17475 conftest.$ac_objext conftest.beam conftest.$ac_ext
17479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_snprintf_works" >&5
17480 $as_echo "$rra_cv_func_snprintf_works" >&6; }
17481 if test x"$rra_cv_func_snprintf_works" = xyes; then :
17483 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
17486 case " $LIBOBJS " in
17487 *" snprintf.$ac_objext "* ) ;;
17488 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
17493 for ac_func in setrlimit
17495 ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit"
17496 if test "x$ac_cv_func_setrlimit" = xyes; then :
17497 cat >>confdefs.h <<_ACEOF
17498 #define HAVE_SETRLIMIT 1
17504 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
17505 if test "x$ac_cv_func_asprintf" = xyes; then :
17506 $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
17509 case " $LIBOBJS " in
17510 *" asprintf.$ac_objext "* ) ;;
17511 *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
17517 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
17518 if test "x$ac_cv_func_mkstemp" = xyes; then :
17519 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
17522 case " $LIBOBJS " in
17523 *" mkstemp.$ac_objext "* ) ;;
17524 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
17530 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
17531 if test "x$ac_cv_func_strndup" = xyes; then :
17532 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
17535 case " $LIBOBJS " in
17536 *" strndup.$ac_objext "* ) ;;
17537 *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
17545 ac_config_files="$ac_config_files Makefile"
17547 ac_config_headers="$ac_config_headers config.h"
17549 cat >confcache <<\_ACEOF
17550 # This file is a shell script that caches the results of configure
17551 # tests run on this system so they can be shared between configure
17552 # scripts and configure runs, see configure's option --config-cache.
17553 # It is not useful on other systems. If it contains results you don't
17554 # want to keep, you may remove or edit it.
17556 # config.status only pays attention to the cache file if you give it
17557 # the --recheck option to rerun configure.
17559 # `ac_cv_env_foo' variables (set or unset) will be overridden when
17560 # loading this file, other *unset* `ac_cv_foo' will be assigned the
17561 # following values.
17565 # The following way of writing the cache mishandles newlines in values,
17566 # but we know of no workaround that is simple, portable, and efficient.
17567 # So, we kill variables containing newlines.
17568 # Ultrix sh set writes to stderr and can't be redirected directly,
17569 # and sets the high bit in the cache file unless we assign to the vars.
17571 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
17572 eval ac_val=\$$ac_var
17576 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
17577 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
17580 _ | IFS | as_nl) ;; #(
17581 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
17582 *) { eval $ac_var=; unset $ac_var;} ;;
17588 case $as_nl`(ac_space=' '; set) 2>&1` in #(
17589 *${as_nl}ac_space=\ *)
17590 # `set' does not quote correctly, so add quotes: double-quote
17591 # substitution turns \\\\ into \\, and sed turns \\ into \.
17594 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
17597 # `set' quotes correctly as required by POSIX, so do not add quotes.
17598 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
17607 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
17609 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
17611 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
17612 if test -w "$cache_file"; then
17613 if test "x$cache_file" != "x/dev/null"; then
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
17615 $as_echo "$as_me: updating cache $cache_file" >&6;}
17616 if test ! -f "$cache_file" || test -h "$cache_file"; then
17617 cat confcache >"$cache_file"
17619 case $cache_file in #(
17621 mv -f confcache "$cache_file"$$ &&
17622 mv -f "$cache_file"$$ "$cache_file" ;; #(
17624 mv -f confcache "$cache_file" ;;
17629 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
17630 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
17635 test "x$prefix" = xNONE && prefix=$ac_default_prefix
17636 # Let make expand exec_prefix.
17637 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
17639 DEFS=-DHAVE_CONFIG_H
17644 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
17645 # 1. Remove the extension, and $U if already installed.
17646 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
17647 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
17648 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
17649 # will be set to the directory where LIBOBJS objects are built.
17650 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
17651 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
17653 LIBOBJS=$ac_libobjs
17655 LTLIBOBJS=$ac_ltlibobjs
17658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
17659 $as_echo_n "checking that generated files are newer than configure... " >&6; }
17660 if test -n "$am_sleep_pid"; then
17661 # Hide warnings about reused PIDs.
17662 wait $am_sleep_pid 2>/dev/null
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
17665 $as_echo "done" >&6; }
17666 if test -n "$EXEEXT"; then
17668 am__EXEEXT_FALSE='#'
17670 am__EXEEXT_TRUE='#'
17674 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
17675 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
17676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17678 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
17679 as_fn_error $? "conditional \"AMDEP\" was never defined.
17680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17682 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
17683 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
17684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17686 if test -z "${EMBEDDED_CRACKLIB_TRUE}" && test -z "${EMBEDDED_CRACKLIB_FALSE}"; then
17687 as_fn_error $? "conditional \"EMBEDDED_CRACKLIB\" was never defined.
17688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17690 if test -z "${KRB5_USES_COM_ERR_TRUE}" && test -z "${KRB5_USES_COM_ERR_FALSE}"; then
17691 as_fn_error $? "conditional \"KRB5_USES_COM_ERR\" was never defined.
17692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
17695 : "${CONFIG_STATUS=./config.status}"
17697 ac_clean_files_save=$ac_clean_files
17698 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
17699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
17700 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
17702 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
17704 # Generated by $as_me.
17705 # Run this file to recreate the current configuration.
17706 # Compiler output produced by configure, useful for debugging
17707 # configure, is in config.log if it exists.
17710 ac_cs_recheck=false
17713 SHELL=\${CONFIG_SHELL-$SHELL}
17716 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
17717 ## -------------------- ##
17718 ## M4sh Initialization. ##
17719 ## -------------------- ##
17721 # Be more Bourne compatible
17722 DUALCASE=1; export DUALCASE # for MKS sh
17723 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
17726 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
17727 # is contrary to our usage. Disable this feature.
17728 alias -g '${1+"$@"}'='"$@"'
17729 setopt NO_GLOB_SUBST
17731 case `(set -o) 2>/dev/null` in #(
17743 # Printing a long string crashes Solaris 7 /usr/bin/printf.
17744 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
17745 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
17746 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
17747 # Prefer a ksh shell builtin over an external printf program on Solaris,
17748 # but without wasting forks for bash or zsh.
17749 if test -z "$BASH_VERSION$ZSH_VERSION" \
17750 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
17751 as_echo='print -r --'
17752 as_echo_n='print -rn --'
17753 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
17754 as_echo='printf %s\n'
17755 as_echo_n='printf %s'
17757 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
17758 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
17759 as_echo_n='/usr/ucb/echo -n'
17761 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
17762 as_echo_n_body='eval
17766 expr "X$arg" : "X\\(.*\\)$as_nl";
17767 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
17769 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
17771 export as_echo_n_body
17772 as_echo_n='sh -c $as_echo_n_body as_echo'
17774 export as_echo_body
17775 as_echo='sh -c $as_echo_body as_echo'
17778 # The user is always right.
17779 if test "${PATH_SEPARATOR+set}" != set; then
17781 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
17782 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
17789 # We need space, tab and new line, in precisely that order. Quoting is
17790 # there to prevent editors from complaining about space-tab.
17791 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
17792 # splitting by setting IFS to empty value.)
17795 # Find who we are. Look in the path if we contain no directory separator.
17798 *[\\/]* ) as_myself=$0 ;;
17799 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17800 for as_dir in $PATH
17803 test -z "$as_dir" && as_dir=.
17804 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
17810 # We did not find ourselves, most probably we were run as `sh COMMAND'
17811 # in which case we are not to be found in the path.
17812 if test "x$as_myself" = x; then
17815 if test ! -f "$as_myself"; then
17816 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
17820 # Unset variables that we do not need and which cause bugs (e.g. in
17821 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
17822 # suppresses any "Segmentation fault" message there. '((' could
17823 # trigger a bug in pdksh 5.2.14.
17824 for as_var in BASH_ENV ENV MAIL MAILPATH
17825 do eval test x\${$as_var+set} = xset \
17826 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
17839 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
17842 # as_fn_error STATUS ERROR [LINENO LOG_FD]
17843 # ----------------------------------------
17844 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
17845 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
17846 # script with STATUS, using 1 if that was 0.
17849 as_status=$1; test $as_status -eq 0 && as_status=1
17851 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
17852 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
17854 $as_echo "$as_me: error: $2" >&2
17855 as_fn_exit $as_status
17859 # as_fn_set_status STATUS
17860 # -----------------------
17861 # Set $? to STATUS, without forking.
17862 as_fn_set_status ()
17865 } # as_fn_set_status
17867 # as_fn_exit STATUS
17868 # -----------------
17869 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
17873 as_fn_set_status $1
17879 # Portably unset VAR.
17882 { eval $1=; unset $1;}
17884 as_unset=as_fn_unset
17885 # as_fn_append VAR VALUE
17886 # ----------------------
17887 # Append the text in VALUE to the end of the definition contained in VAR. Take
17888 # advantage of any shell optimizations that allow amortized linear growth over
17889 # repeated appends, instead of the typical quadratic growth present in naive
17891 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
17892 eval 'as_fn_append ()
17903 # as_fn_arith ARG...
17904 # ------------------
17905 # Perform arithmetic evaluation on the ARGs, and store the result in the
17906 # global $as_val. Take advantage of shells that can avoid forks. The arguments
17907 # must be portable across $(()) and expr.
17908 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
17909 eval 'as_fn_arith ()
17916 as_val=`expr "$@" || test $? -eq 1`
17921 if expr a : '\(a\)' >/dev/null 2>&1 &&
17922 test "X`expr 00001 : '.*\(...\)'`" = X001; then
17928 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
17929 as_basename=basename
17934 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
17940 as_me=`$as_basename -- "$0" ||
17941 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
17942 X"$0" : 'X\(//\)$' \| \
17943 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
17945 sed '/^.*\/\([^/][^/]*\)\/*$/{
17959 # Avoid depending upon Character Ranges.
17960 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
17961 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
17962 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
17963 as_cr_digits='0123456789'
17964 as_cr_alnum=$as_cr_Letters$as_cr_digits
17966 ECHO_C= ECHO_N= ECHO_T=
17967 case `echo -n x` in #(((((
17969 case `echo 'xy\c'` in
17970 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
17972 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
17979 rm -f conf$$ conf$$.exe conf$$.file
17980 if test -d conf$$.dir; then
17981 rm -f conf$$.dir/conf$$.file
17984 mkdir conf$$.dir 2>/dev/null
17986 if (echo >conf$$.file) 2>/dev/null; then
17987 if ln -s conf$$.file conf$$ 2>/dev/null; then
17989 # ... but there are two gotchas:
17990 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
17991 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
17992 # In both cases, we have to default to `cp -pR'.
17993 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
17995 elif ln conf$$.file conf$$ 2>/dev/null; then
18003 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
18004 rmdir conf$$.dir 2>/dev/null
18009 # Create "$as_dir" as a directory, including parents if necessary.
18014 -*) as_dir=./$as_dir;;
18016 test -d "$as_dir" || eval $as_mkdir_p || {
18020 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
18021 *) as_qdir=$as_dir;;
18023 as_dirs="'$as_qdir' $as_dirs"
18024 as_dir=`$as_dirname -- "$as_dir" ||
18025 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18026 X"$as_dir" : 'X\(//\)[^/]' \| \
18027 X"$as_dir" : 'X\(//\)$' \| \
18028 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
18029 $as_echo X"$as_dir" |
18030 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18034 /^X\(\/\/\)[^/].*/{
18047 test -d "$as_dir" && break
18049 test -z "$as_dirs" || eval "mkdir $as_dirs"
18050 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
18054 if mkdir -p . 2>/dev/null; then
18055 as_mkdir_p='mkdir -p "$as_dir"'
18057 test -d ./-p && rmdir ./-p
18062 # as_fn_executable_p FILE
18063 # -----------------------
18064 # Test if FILE is an executable regular file.
18065 as_fn_executable_p ()
18067 test -f "$1" && test -x "$1"
18068 } # as_fn_executable_p
18069 as_test_x='test -x'
18070 as_executable_p=as_fn_executable_p
18072 # Sed expression to map a string onto a valid CPP name.
18073 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
18075 # Sed expression to map a string onto a valid variable name.
18076 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
18080 ## ----------------------------------- ##
18081 ## Main body of $CONFIG_STATUS script. ##
18082 ## ----------------------------------- ##
18084 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
18086 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18087 # Save the log message, to keep $0 and so on meaningful, and to
18088 # report actual input values of CONFIG_FILES etc. instead of their
18089 # values after options handling.
18091 This file was extended by krb5-strength $as_me 3.0, which was
18092 generated by GNU Autoconf 2.69. Invocation command line was
18094 CONFIG_FILES = $CONFIG_FILES
18095 CONFIG_HEADERS = $CONFIG_HEADERS
18096 CONFIG_LINKS = $CONFIG_LINKS
18097 CONFIG_COMMANDS = $CONFIG_COMMANDS
18100 on `(hostname || uname -n) 2>/dev/null | sed 1q`
18105 case $ac_config_files in *"
18106 "*) set x $ac_config_files; shift; ac_config_files=$*;;
18109 case $ac_config_headers in *"
18110 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
18114 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18115 # Files that config.status was made for.
18116 config_files="$ac_config_files"
18117 config_headers="$ac_config_headers"
18118 config_commands="$ac_config_commands"
18122 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18124 \`$as_me' instantiates files and other configuration actions
18125 from templates according to the current configuration. Unless the files
18126 and actions are specified as TAGs, all are instantiated by default.
18128 Usage: $0 [OPTION]... [TAG]...
18130 -h, --help print this help, then exit
18131 -V, --version print version number and configuration settings, then exit
18132 --config print configuration, then exit
18133 -q, --quiet, --silent
18134 do not print progress messages
18135 -d, --debug don't remove temporary files
18136 --recheck update $as_me by reconfiguring in the same conditions
18137 --file=FILE[:TEMPLATE]
18138 instantiate the configuration file FILE
18139 --header=FILE[:TEMPLATE]
18140 instantiate the configuration header FILE
18142 Configuration files:
18145 Configuration headers:
18148 Configuration commands:
18151 Report bugs to <eagle@eyrie.org>."
18154 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18155 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18157 krb5-strength config.status 3.0
18158 configured by $0, generated by GNU Autoconf 2.69,
18159 with options \\"\$ac_cs_config\\"
18161 Copyright (C) 2012 Free Software Foundation, Inc.
18162 This config.status script is free software; the Free Software Foundation
18163 gives unlimited permission to copy, distribute and modify it."
18170 test -n "\$AWK" || AWK=awk
18173 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18174 # The default lists apply if the user does not specify any file.
18180 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18181 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
18197 # Handling of the options.
18198 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
18200 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
18201 $as_echo "$ac_cs_version"; exit ;;
18202 --config | --confi | --conf | --con | --co | --c )
18203 $as_echo "$ac_cs_config"; exit ;;
18204 --debug | --debu | --deb | --de | --d | -d )
18206 --file | --fil | --fi | --f )
18209 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18210 '') as_fn_error $? "missing file argument" ;;
18212 as_fn_append CONFIG_FILES " '$ac_optarg'"
18213 ac_need_defaults=false;;
18214 --header | --heade | --head | --hea )
18217 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
18219 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
18220 ac_need_defaults=false;;
18222 # Conflict between --help and --header
18223 as_fn_error $? "ambiguous option: \`$1'
18224 Try \`$0 --help' for more information.";;
18225 --help | --hel | -h )
18226 $as_echo "$ac_cs_usage"; exit ;;
18227 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
18228 | -silent | --silent | --silen | --sile | --sil | --si | --s)
18231 # This is an error.
18232 -*) as_fn_error $? "unrecognized option: \`$1'
18233 Try \`$0 --help' for more information." ;;
18235 *) as_fn_append ac_config_targets " $1"
18236 ac_need_defaults=false ;;
18242 ac_configure_extra_args=
18244 if $ac_cs_silent; then
18246 ac_configure_extra_args="$ac_configure_extra_args --silent"
18250 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18251 if \$ac_cs_recheck; then
18252 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
18254 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
18255 CONFIG_SHELL='$SHELL'
18256 export CONFIG_SHELL
18261 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18265 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
18266 ## Running $as_me. ##
18272 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18276 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
18279 # The HP-UX ksh and POSIX shell print the target directory to stdout
18280 # if CDPATH is set.
18281 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
18283 sed_quote_subst='$sed_quote_subst'
18284 double_quote_subst='$double_quote_subst'
18285 delay_variable_subst='$delay_variable_subst'
18286 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
18287 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
18288 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
18289 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
18290 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
18291 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
18292 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
18293 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
18294 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
18295 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
18296 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
18297 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
18298 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
18299 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
18300 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
18301 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
18302 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
18303 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
18304 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
18305 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
18306 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
18307 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
18308 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
18309 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
18310 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
18311 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
18312 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18313 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18314 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
18315 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
18316 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18317 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18318 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18319 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18320 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18321 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
18322 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
18323 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
18324 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
18325 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18326 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18327 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
18328 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18329 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18330 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18331 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18332 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18333 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
18334 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
18335 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
18336 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
18337 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
18338 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
18339 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
18340 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18341 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18342 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"`'
18343 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
18344 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18345 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18346 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18347 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
18348 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18349 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18350 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18351 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18352 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
18353 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18354 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18355 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18356 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18357 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
18358 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
18359 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
18360 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
18361 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18362 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
18363 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
18364 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
18365 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
18366 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
18367 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
18368 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
18369 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
18370 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18371 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
18372 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
18373 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
18374 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
18375 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
18376 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
18377 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
18378 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
18379 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
18380 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
18381 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
18382 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18383 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18384 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18385 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18386 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18387 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18388 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18389 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
18390 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18391 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18392 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18393 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18394 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
18395 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
18396 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
18397 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
18398 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
18399 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
18400 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
18401 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
18402 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
18403 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18404 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
18405 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
18406 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
18407 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
18408 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
18409 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
18410 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
18411 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
18412 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
18413 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
18414 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
18415 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
18418 LTCFLAGS='$LTCFLAGS'
18419 compiler='$compiler_DEFAULT'
18421 # A function that is used when there is no print builtin or printf.
18422 func_fallback_echo ()
18424 eval 'cat <<_LTECHO_EOF
18429 # Quote evaled strings.
18444 deplibs_check_method \
18449 sharedlib_from_linklib_cmd \
18452 archiver_list_spec \
18458 lt_cv_sys_global_symbol_pipe \
18459 lt_cv_sys_global_symbol_to_cdecl \
18460 lt_cv_sys_global_symbol_to_c_name_address \
18461 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
18462 nm_file_list_spec \
18463 lt_prog_compiler_no_builtin_flag \
18464 lt_prog_compiler_pic \
18465 lt_prog_compiler_wl \
18466 lt_prog_compiler_static \
18467 lt_cv_prog_compiler_c_o \
18476 export_dynamic_flag_spec \
18477 whole_archive_flag_spec \
18478 compiler_needs_object \
18480 allow_undefined_flag \
18481 no_undefined_flag \
18482 hardcode_libdir_flag_spec \
18483 hardcode_libdir_separator \
18487 variables_saved_for_relink \
18489 library_names_spec \
18491 install_override_mode \
18495 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18496 *[\\\\\\\`\\"\\\$]*)
18497 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
18500 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18505 # Double-quote double-evaled strings.
18506 for var in reload_cmds \
18507 old_postinstall_cmds \
18508 old_postuninstall_cmds \
18510 extract_expsyms_cmds \
18511 old_archive_from_new_cmds \
18512 old_archive_from_expsyms_cmds \
18514 archive_expsym_cmds \
18516 module_expsym_cmds \
18517 export_symbols_cmds \
18521 postuninstall_cmds \
18523 sys_lib_search_path_spec \
18524 sys_lib_dlsearch_path_spec; do
18525 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
18526 *[\\\\\\\`\\"\\\$]*)
18527 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
18530 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
18535 ac_aux_dir='$ac_aux_dir'
18536 xsi_shell='$xsi_shell'
18537 lt_shell_append='$lt_shell_append'
18539 # See if we are running on zsh, and set the options which allow our
18540 # commands through without removal of \ escapes INIT.
18541 if test -n "\${ZSH_VERSION+set}" ; then
18542 setopt NO_GLOB_SUBST
18548 TIMESTAMP='$TIMESTAMP'
18557 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18559 # Handling of arguments.
18560 for ac_config_target in $ac_config_targets
18562 case $ac_config_target in
18563 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
18564 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
18565 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
18566 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
18568 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
18573 # If the user did not use the arguments to specify the items to instantiate,
18574 # then the envvar interface is used. Set only those that are not.
18575 # We use the long form for the default assignment because of an extremely
18576 # bizarre bug on SunOS 4.1.3.
18577 if $ac_need_defaults; then
18578 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
18579 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
18580 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
18583 # Have a temporary directory for convenience. Make it in the build tree
18584 # simply because there is no reason against having it here, and in addition,
18585 # creating and moving files from /tmp can sometimes cause problems.
18586 # Hook for its removal unless debugging.
18587 # Note that there is a small window in which the directory will not be cleaned:
18588 # after its creation but before its name has been assigned to `$tmp'.
18592 trap 'exit_status=$?
18593 : "${ac_tmp:=$tmp}"
18594 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
18596 trap 'as_fn_exit 1' 1 2 13 15
18598 # Create a (secure) tmp directory for tmp files.
18601 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
18605 tmp=./conf$$-$RANDOM
18606 (umask 077 && mkdir "$tmp")
18607 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
18610 # Set up the scripts for CONFIG_FILES section.
18611 # No need to generate them if there are no CONFIG_FILES.
18612 # This happens for instance with `./config.status config.h'.
18613 if test -n "$CONFIG_FILES"; then
18616 ac_cr=`echo X | tr X '\015'`
18617 # On cygwin, bash can eat \r inside `` if the user requested igncr.
18618 # But we know of no other shell where ac_cr would be empty at this
18619 # point, so we can use a bashism as a fallback.
18620 if test "x$ac_cr" = x; then
18621 eval ac_cr=\$\'\\r\'
18623 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
18624 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
18627 ac_cs_awk_cr=$ac_cr
18630 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
18635 echo "cat >conf$$subs.awk <<_ACEOF" &&
18636 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
18638 } >conf$$subs.sh ||
18639 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18640 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
18642 for ac_last_try in false false false false false :; do
18643 . ./conf$$subs.sh ||
18644 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18646 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
18647 if test $ac_delim_n = $ac_delim_num; then
18649 elif $ac_last_try; then
18650 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
18652 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18655 rm -f conf$$subs.sh
18657 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18658 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
18662 s/^/S["/; s/!.*/"]=/
18672 s/\(.\{148\}\)..*/\1/
18674 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
18679 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18686 s/\(.\{148\}\)..*/\1/
18688 s/["\\]/\\&/g; s/^/"/; s/$/"/
18692 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
18697 ' <conf$$subs.awk | sed '
18702 ' >>$CONFIG_STATUS || ac_write_fail=1
18703 rm -f conf$$subs.awk
18704 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18706 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
18707 for (key in S) S_is_set[key] = 1
18713 nfields = split(line, field, "@")
18715 len = length(field[1])
18716 for (i = 2; i < nfields; i++) {
18718 keylen = length(key)
18719 if (S_is_set[key]) {
18721 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
18722 len += length(value) + length(field[++i])
18733 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18734 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
18735 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
18738 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
18739 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
18742 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
18743 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
18744 # trailing colons and then remove the whole line if VPATH becomes empty
18745 # (actually we leave an empty line to preserve line numbers).
18746 if test "x$srcdir" = x.; then
18747 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
18765 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18766 fi # test -n "$CONFIG_FILES"
18768 # Set up the scripts for CONFIG_HEADERS section.
18769 # No need to generate them if there are no CONFIG_HEADERS.
18770 # This happens for instance with `./config.status Makefile'.
18771 if test -n "$CONFIG_HEADERS"; then
18772 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
18776 # Transform confdefs.h into an awk script `defines.awk', embedded as
18777 # here-document in config.status, that substitutes the proper values into
18778 # config.h.in to produce config.h.
18780 # Create a delimiter string that does not exist in confdefs.h, to ease
18781 # handling of long lines.
18783 for ac_last_try in false false :; do
18784 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
18785 if test -z "$ac_tt"; then
18787 elif $ac_last_try; then
18788 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
18790 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
18794 # For the awk script, D is an array of macro values keyed by name,
18795 # likewise P contains macro parameters if any. Preserve backslash
18796 # newline sequences.
18798 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
18800 s/.\{148\}/&'"$ac_delim"'/g
18803 s/^[ ]*#[ ]*define[ ][ ]*/ /
18810 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18812 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
18816 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
18817 D["\1"]=" \3\\\\\\n"\\/p
18819 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
18824 s/.\{148\}/&'"$ac_delim"'/g
18829 s/["\\]/\\&/g; s/^/"/; s/$/"/p
18832 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
18834 ' <confdefs.h | sed '
18835 s/'"$ac_delim"'/"\\\
18836 "/g' >>$CONFIG_STATUS || ac_write_fail=1
18838 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18839 for (key in D) D_is_set[key] = 1
18842 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
18844 split(line, arg, " ")
18845 if (arg[1] == "#") {
18849 defundef = substr(arg[1], 2)
18852 split(mac1, mac2, "(") #)
18854 prefix = substr(line, 1, index(line, defundef) - 1)
18855 if (D_is_set[macro]) {
18856 # Preserve the white space surrounding the "#".
18857 print prefix "define", macro P[macro] D[macro]
18860 # Replace #undef with comments. This is necessary, for example,
18861 # in the case of _POSIX_SOURCE, which is predefined and required
18862 # on some systems where configure will not decide to define it.
18863 if (defundef == "undef") {
18864 print "/*", prefix defundef, macro, "*/"
18872 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18873 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
18874 fi # test -n "$CONFIG_HEADERS"
18877 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
18882 :[FHLC]) ac_mode=$ac_tag; continue;;
18884 case $ac_mode$ac_tag in
18886 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
18887 :[FH]-) ac_tag=-:-;;
18888 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
18905 -) ac_f="$ac_tmp/stdin";;
18906 *) # Look for the file first in the build tree, then in the source tree
18907 # (if the path is not absolute). The absolute path cannot be DOS-style,
18908 # because $ac_f cannot contain `:'.
18912 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
18914 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
18916 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
18917 as_fn_append ac_file_inputs " '$ac_f'"
18920 # Let's still pretend it is `configure' which instantiates (i.e., don't
18921 # use $as_me), people would be surprised to read:
18922 # /* config.h. Generated by config.status. */
18923 configure_input='Generated from '`
18924 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
18926 if test x"$ac_file" != x-; then
18927 configure_input="$ac_file. $configure_input"
18928 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
18929 $as_echo "$as_me: creating $ac_file" >&6;}
18931 # Neutralize special characters interpreted by sed in replacement strings.
18932 case $configure_input in #(
18933 *\&* | *\|* | *\\* )
18934 ac_sed_conf_input=`$as_echo "$configure_input" |
18935 sed 's/[\\\\&|]/\\\\&/g'`;; #(
18936 *) ac_sed_conf_input=$configure_input;;
18940 *:-:* | *:-) cat >"$ac_tmp/stdin" \
18941 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
18946 ac_dir=`$as_dirname -- "$ac_file" ||
18947 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
18948 X"$ac_file" : 'X\(//\)[^/]' \| \
18949 X"$ac_file" : 'X\(//\)$' \| \
18950 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
18951 $as_echo X"$ac_file" |
18952 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
18956 /^X\(\/\/\)[^/].*/{
18969 as_dir="$ac_dir"; as_fn_mkdir_p
18973 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
18975 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
18976 # A ".." for each directory in $ac_dir_suffix.
18977 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
18978 case $ac_top_builddir_sub in
18979 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
18980 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
18983 ac_abs_top_builddir=$ac_pwd
18984 ac_abs_builddir=$ac_pwd$ac_dir_suffix
18985 # for backward compatibility:
18986 ac_top_builddir=$ac_top_build_prefix
18989 .) # We are building in place.
18991 ac_top_srcdir=$ac_top_builddir_sub
18992 ac_abs_top_srcdir=$ac_pwd ;;
18993 [\\/]* | ?:[\\/]* ) # Absolute name.
18994 ac_srcdir=$srcdir$ac_dir_suffix;
18995 ac_top_srcdir=$srcdir
18996 ac_abs_top_srcdir=$srcdir ;;
18997 *) # Relative name.
18998 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
18999 ac_top_srcdir=$ac_top_build_prefix$srcdir
19000 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
19002 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
19012 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
19013 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
19015 ac_MKDIR_P=$MKDIR_P
19017 [\\/$]* | ?:[\\/]* ) ;;
19018 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
19022 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19023 # If the template does not know about datarootdir, expand it.
19024 # FIXME: This hack should be removed a few years after 2.60.
19025 ac_datarootdir_hack=; ac_datarootdir_seen=
19036 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
19037 *datarootdir*) ac_datarootdir_seen=yes;;
19038 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
19040 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
19042 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19043 ac_datarootdir_hack='
19044 s&@datadir@&$datadir&g
19045 s&@docdir@&$docdir&g
19046 s&@infodir@&$infodir&g
19047 s&@localedir@&$localedir&g
19048 s&@mandir@&$mandir&g
19049 s&\\\${datarootdir}&$datarootdir&g' ;;
19053 # Neutralize VPATH when `$srcdir' = `.'.
19054 # Shell code in configure.ac might set extrasub.
19055 # FIXME: do we really want to maintain this feature?
19056 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19057 ac_sed_extra="$ac_vpsub
19060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19062 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
19063 s|@configure_input@|$ac_sed_conf_input|;t t
19064 s&@top_builddir@&$ac_top_builddir_sub&;t t
19065 s&@top_build_prefix@&$ac_top_build_prefix&;t t
19066 s&@srcdir@&$ac_srcdir&;t t
19067 s&@abs_srcdir@&$ac_abs_srcdir&;t t
19068 s&@top_srcdir@&$ac_top_srcdir&;t t
19069 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
19070 s&@builddir@&$ac_builddir&;t t
19071 s&@abs_builddir@&$ac_abs_builddir&;t t
19072 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
19073 s&@INSTALL@&$ac_INSTALL&;t t
19074 s&@MKDIR_P@&$ac_MKDIR_P&;t t
19075 $ac_datarootdir_hack
19077 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
19078 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19080 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19081 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
19082 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
19083 "$ac_tmp/out"`; test -z "$ac_out"; } &&
19084 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19085 which seems to be undefined. Please make sure it is defined" >&5
19086 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19087 which seems to be undefined. Please make sure it is defined" >&2;}
19089 rm -f "$ac_tmp/stdin"
19091 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
19092 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19094 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19100 if test x"$ac_file" != x-; then
19102 $as_echo "/* $configure_input */" \
19103 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
19104 } >"$ac_tmp/config.h" \
19105 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19106 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19107 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19108 $as_echo "$as_me: $ac_file is unchanged" >&6;}
19111 mv "$ac_tmp/config.h" "$ac_file" \
19112 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19115 $as_echo "/* $configure_input */" \
19116 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19117 || as_fn_error $? "could not create -" "$LINENO" 5
19119 # Compute "$ac_file"'s index in $config_headers.
19122 for _am_header in $config_headers :; do
19123 case $_am_header in
19124 $_am_arg | $_am_arg:* )
19127 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
19130 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
19131 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19132 X"$_am_arg" : 'X\(//\)[^/]' \| \
19133 X"$_am_arg" : 'X\(//\)$' \| \
19134 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
19135 $as_echo X"$_am_arg" |
19136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19140 /^X\(\/\/\)[^/].*/{
19152 s/.*/./; q'`/stamp-h$_am_stamp_count
19155 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
19156 $as_echo "$as_me: executing $ac_file commands" >&6;}
19161 case $ac_file$ac_mode in
19162 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
19163 # Older Autoconf quotes --file arguments for eval, but not when files
19164 # are listed without --file. Let's play safe and only enable the eval
19165 # if we detect the quoting.
19166 case $CONFIG_FILES in
19167 *\'*) eval set x "$CONFIG_FILES" ;;
19168 *) set x $CONFIG_FILES ;;
19173 # Strip MF so we end up with the name of the file.
19174 mf=`echo "$mf" | sed -e 's/:.*$//'`
19175 # Check whether this is an Automake generated Makefile or not.
19176 # We used to match only the files named 'Makefile.in', but
19177 # some people rename them; so instead we look at the file content.
19178 # Grep'ing the first line is not enough: some people post-process
19179 # each Makefile.in and add a new line on top of each file to say so.
19180 # Grep'ing the whole file is not good either: AIX grep has a line
19181 # limit of 2048, but all sed's we know have understand at least 4000.
19182 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
19183 dirpart=`$as_dirname -- "$mf" ||
19184 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19185 X"$mf" : 'X\(//\)[^/]' \| \
19186 X"$mf" : 'X\(//\)$' \| \
19187 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
19189 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19193 /^X\(\/\/\)[^/].*/{
19209 # Extract the definition of DEPDIR, am__include, and am__quote
19210 # from the Makefile without running 'make'.
19211 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
19212 test -z "$DEPDIR" && continue
19213 am__include=`sed -n 's/^am__include = //p' < "$mf"`
19214 test -z "$am__include" && continue
19215 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
19216 # Find all dependency output files, they are included files with
19217 # $(DEPDIR) in their names. We invoke sed twice because it is the
19218 # simplest approach to changing $(DEPDIR) to its actual value in the
19220 for file in `sed -n "
19221 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
19222 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
19223 # Make sure the directory exists.
19224 test -f "$dirpart/$file" && continue
19225 fdir=`$as_dirname -- "$file" ||
19226 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19227 X"$file" : 'X\(//\)[^/]' \| \
19228 X"$file" : 'X\(//\)$' \| \
19229 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
19230 $as_echo X"$file" |
19231 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19235 /^X\(\/\/\)[^/].*/{
19248 as_dir=$dirpart/$fdir; as_fn_mkdir_p
19249 # echo "creating $dirpart/$file"
19250 echo '# dummy' > "$dirpart/$file"
19257 # See if we are running on zsh, and set the options which allow our
19258 # commands through without removal of \ escapes.
19259 if test -n "${ZSH_VERSION+set}" ; then
19260 setopt NO_GLOB_SUBST
19263 cfgfile="${ofile}T"
19264 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
19267 cat <<_LT_EOF >> "$cfgfile"
19270 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
19271 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
19272 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
19273 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
19275 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
19276 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
19278 # Written by Gordon Matzigkeit, 1996
19280 # This file is part of GNU Libtool.
19282 # GNU Libtool is free software; you can redistribute it and/or
19283 # modify it under the terms of the GNU General Public License as
19284 # published by the Free Software Foundation; either version 2 of
19285 # the License, or (at your option) any later version.
19287 # As a special exception to the GNU General Public License,
19288 # if you distribute this file as part of a program or library that
19289 # is built using GNU Libtool, you may include this file under the
19290 # same distribution terms that you use for the rest of that program.
19292 # GNU Libtool is distributed in the hope that it will be useful,
19293 # but WITHOUT ANY WARRANTY; without even the implied warranty of
19294 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
19295 # GNU General Public License for more details.
19297 # You should have received a copy of the GNU General Public License
19298 # along with GNU Libtool; see the file COPYING. If not, a copy
19299 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
19300 # obtained by writing to the Free Software Foundation, Inc.,
19301 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
19304 # The names of the tagged configurations supported by this script.
19307 # ### BEGIN LIBTOOL CONFIG
19309 # Whether or not to build static libraries.
19310 build_old_libs=$enable_static
19312 # Which release of libtool.m4 was used?
19313 macro_version=$macro_version
19314 macro_revision=$macro_revision
19316 # Whether or not to build shared libraries.
19317 build_libtool_libs=$enable_shared
19319 # What type of objects to build.
19322 # Whether or not to optimize for fast installation.
19323 fast_install=$enable_fast_install
19325 # Shell to use when invoking shell scripts.
19328 # An echo program that protects backslashes.
19331 # The PATH separator for the build system.
19332 PATH_SEPARATOR=$lt_PATH_SEPARATOR
19335 host_alias=$host_alias
19339 # The build system.
19340 build_alias=$build_alias
19344 # A sed program that does not truncate output.
19347 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
19348 Xsed="\$SED -e 1s/^X//"
19350 # A grep program that handles long lines.
19356 # A literal string matcher.
19359 # A BSD- or MS-compatible name lister.
19362 # Whether we need soft or hard links.
19365 # What is the maximum length of a command?
19366 max_cmd_len=$max_cmd_len
19368 # Object file suffix (normally "o").
19371 # Executable file suffix (normally "").
19374 # whether the shell understands "unset".
19377 # turn spaces into newlines.
19380 # turn newlines into spaces.
19383 # convert \$build file names to \$host format.
19384 to_host_file_cmd=$lt_cv_to_host_file_cmd
19386 # convert \$build files to toolchain format.
19387 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
19389 # An object symbol dumper.
19390 OBJDUMP=$lt_OBJDUMP
19392 # Method to check whether dependent libraries are shared objects.
19393 deplibs_check_method=$lt_deplibs_check_method
19395 # Command to use when deplibs_check_method = "file_magic".
19396 file_magic_cmd=$lt_file_magic_cmd
19398 # How to find potential files when deplibs_check_method = "file_magic".
19399 file_magic_glob=$lt_file_magic_glob
19401 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
19402 want_nocaseglob=$lt_want_nocaseglob
19404 # DLL creation program.
19405 DLLTOOL=$lt_DLLTOOL
19407 # Command to associate shared and link libraries.
19408 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
19413 # Flags to create an archive.
19414 AR_FLAGS=$lt_AR_FLAGS
19416 # How to feed a file listing to the archiver.
19417 archiver_list_spec=$lt_archiver_list_spec
19419 # A symbol stripping program.
19422 # Commands used to install an old-style archive.
19424 old_postinstall_cmds=$lt_old_postinstall_cmds
19425 old_postuninstall_cmds=$lt_old_postuninstall_cmds
19427 # Whether to use a lock for old archive extraction.
19428 lock_old_archive_extraction=$lock_old_archive_extraction
19433 # LTCC compiler flags.
19434 LTCFLAGS=$lt_CFLAGS
19436 # Take the output of nm and produce a listing of raw symbols and C names.
19437 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
19439 # Transform the output of nm in a proper C declaration.
19440 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
19442 # Transform the output of nm in a C name address pair.
19443 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
19445 # Transform the output of nm in a C name address pair when lib prefix is needed.
19446 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
19448 # Specify filename containing input files for \$NM.
19449 nm_file_list_spec=$lt_nm_file_list_spec
19451 # The root where to search for dependent libraries,and in which our libraries should be installed.
19452 lt_sysroot=$lt_sysroot
19454 # The name of the directory that contains temporary libtool files.
19457 # Used to examine libraries when file_magic_cmd begins with "file".
19458 MAGIC_CMD=$MAGIC_CMD
19460 # Must we lock files when doing compilation?
19461 need_locks=$lt_need_locks
19464 MANIFEST_TOOL=$lt_MANIFEST_TOOL
19466 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
19467 DSYMUTIL=$lt_DSYMUTIL
19469 # Tool to change global to local symbols on Mac OS X.
19472 # Tool to manipulate fat objects and archives on Mac OS X.
19475 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
19478 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
19479 OTOOL64=$lt_OTOOL64
19481 # Old archive suffix (normally "a").
19484 # Shared library suffix (normally ".so").
19485 shrext_cmds=$lt_shrext_cmds
19487 # The commands to extract the exported symbol list from a shared archive.
19488 extract_expsyms_cmds=$lt_extract_expsyms_cmds
19490 # Variables whose values should be saved in libtool wrapper scripts and
19491 # restored at link time.
19492 variables_saved_for_relink=$lt_variables_saved_for_relink
19494 # Do we need the "lib" prefix for modules?
19495 need_lib_prefix=$need_lib_prefix
19497 # Do we need a version for libraries?
19498 need_version=$need_version
19500 # Library versioning type.
19501 version_type=$version_type
19503 # Shared library runtime path variable.
19504 runpath_var=$runpath_var
19506 # Shared library path variable.
19507 shlibpath_var=$shlibpath_var
19509 # Is shlibpath searched before the hard-coded library search path?
19510 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
19512 # Format of library name prefix.
19513 libname_spec=$lt_libname_spec
19515 # List of archive names. First name is the real one, the rest are links.
19516 # The last name is the one that the linker finds with -lNAME
19517 library_names_spec=$lt_library_names_spec
19519 # The coded name of the library, if different from the real name.
19520 soname_spec=$lt_soname_spec
19522 # Permission mode override for installation of shared libraries.
19523 install_override_mode=$lt_install_override_mode
19525 # Command to use after installation of a shared archive.
19526 postinstall_cmds=$lt_postinstall_cmds
19528 # Command to use after uninstallation of a shared archive.
19529 postuninstall_cmds=$lt_postuninstall_cmds
19531 # Commands used to finish a libtool library installation in a directory.
19532 finish_cmds=$lt_finish_cmds
19534 # As "finish_cmds", except a single script fragment to be evaled but
19536 finish_eval=$lt_finish_eval
19538 # Whether we should hardcode library paths into libraries.
19539 hardcode_into_libs=$hardcode_into_libs
19541 # Compile-time system search path for libraries.
19542 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
19544 # Run-time system search path for libraries.
19545 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19547 # Whether dlopen is supported.
19548 dlopen_support=$enable_dlopen
19550 # Whether dlopen of programs is supported.
19551 dlopen_self=$enable_dlopen_self
19553 # Whether dlopen of statically linked programs is supported.
19554 dlopen_self_static=$enable_dlopen_self_static
19556 # Commands to strip libraries.
19557 old_striplib=$lt_old_striplib
19558 striplib=$lt_striplib
19561 # The linker used to build libraries.
19564 # How to create reloadable object files.
19565 reload_flag=$lt_reload_flag
19566 reload_cmds=$lt_reload_cmds
19568 # Commands used to build an old-style archive.
19569 old_archive_cmds=$lt_old_archive_cmds
19571 # A language specific compiler.
19574 # Is the compiler the GNU compiler?
19577 # Compiler flag to turn off builtin functions.
19578 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
19580 # Additional compiler flags for building library objects.
19581 pic_flag=$lt_lt_prog_compiler_pic
19583 # How to pass a linker flag through the compiler.
19584 wl=$lt_lt_prog_compiler_wl
19586 # Compiler flag to prevent dynamic linking.
19587 link_static_flag=$lt_lt_prog_compiler_static
19589 # Does compiler simultaneously support -c and -o options?
19590 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
19592 # Whether or not to add -lc for building shared libraries.
19593 build_libtool_need_lc=$archive_cmds_need_lc
19595 # Whether or not to disallow shared libs when runtime libs are static.
19596 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
19598 # Compiler flag to allow reflexive dlopens.
19599 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
19601 # Compiler flag to generate shared objects directly from archives.
19602 whole_archive_flag_spec=$lt_whole_archive_flag_spec
19604 # Whether the compiler copes with passing no objects directly.
19605 compiler_needs_object=$lt_compiler_needs_object
19607 # Create an old-style archive from a shared archive.
19608 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
19610 # Create a temporary old-style archive to link instead of a shared archive.
19611 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
19613 # Commands used to build a shared archive.
19614 archive_cmds=$lt_archive_cmds
19615 archive_expsym_cmds=$lt_archive_expsym_cmds
19617 # Commands used to build a loadable module if different from building
19618 # a shared archive.
19619 module_cmds=$lt_module_cmds
19620 module_expsym_cmds=$lt_module_expsym_cmds
19622 # Whether we are building with GNU ld or not.
19623 with_gnu_ld=$lt_with_gnu_ld
19625 # Flag that allows shared libraries with undefined symbols to be built.
19626 allow_undefined_flag=$lt_allow_undefined_flag
19628 # Flag that enforces no undefined symbols.
19629 no_undefined_flag=$lt_no_undefined_flag
19631 # Flag to hardcode \$libdir into a binary during linking.
19632 # This must work even if \$libdir does not exist
19633 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
19635 # Whether we need a single "-rpath" flag with a separated argument.
19636 hardcode_libdir_separator=$lt_hardcode_libdir_separator
19638 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19639 # DIR into the resulting binary.
19640 hardcode_direct=$hardcode_direct
19642 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
19643 # DIR into the resulting binary and the resulting library dependency is
19644 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
19645 # library is relocated.
19646 hardcode_direct_absolute=$hardcode_direct_absolute
19648 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
19649 # into the resulting binary.
19650 hardcode_minus_L=$hardcode_minus_L
19652 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
19653 # into the resulting binary.
19654 hardcode_shlibpath_var=$hardcode_shlibpath_var
19656 # Set to "yes" if building a shared library automatically hardcodes DIR
19657 # into the library and all subsequent libraries and executables linked
19659 hardcode_automatic=$hardcode_automatic
19661 # Set to yes if linker adds runtime paths of dependent libraries
19662 # to runtime path list.
19663 inherit_rpath=$inherit_rpath
19665 # Whether libtool must link a program against all its dependency libraries.
19666 link_all_deplibs=$link_all_deplibs
19668 # Set to "yes" if exported symbols are required.
19669 always_export_symbols=$always_export_symbols
19671 # The commands to list exported symbols.
19672 export_symbols_cmds=$lt_export_symbols_cmds
19674 # Symbols that should not be listed in the preloaded symbols.
19675 exclude_expsyms=$lt_exclude_expsyms
19677 # Symbols that must always be exported.
19678 include_expsyms=$lt_include_expsyms
19680 # Commands necessary for linking programs (against libraries) with templates.
19681 prelink_cmds=$lt_prelink_cmds
19683 # Commands necessary for finishing linking programs.
19684 postlink_cmds=$lt_postlink_cmds
19686 # Specify filename containing input files.
19687 file_list_spec=$lt_file_list_spec
19689 # How to hardcode a shared library path into an executable.
19690 hardcode_action=$hardcode_action
19692 # ### END LIBTOOL CONFIG
19698 cat <<\_LT_EOF >> "$cfgfile"
19699 # AIX sometimes has problems with the GCC collect2 program. For some
19700 # reason, if we set the COLLECT_NAMES environment variable, the problems
19701 # vanish in a puff of smoke.
19702 if test "X${COLLECT_NAMES+set}" != Xset; then
19704 export COLLECT_NAMES
19711 ltmain="$ac_aux_dir/ltmain.sh"
19714 # We use sed instead of cat because bash on DJGPP gets confused if
19715 # if finds mixed CR/LF and LF-only lines. Since sed operates in
19716 # text mode, it properly converts lines to CR/LF. This bash problem
19717 # is reportedly fixed, but why not run on old versions too?
19718 sed '$q' "$ltmain" >> "$cfgfile" \
19719 || (rm -f "$cfgfile"; exit 1)
19721 if test x"$xsi_shell" = xyes; then
19722 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
19726 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19727 \ * ) func_dirname_result="${3}" ;;\
19729 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
19730 && mv -f "$cfgfile.tmp" "$cfgfile" \
19731 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19732 test 0 -eq $? || _lt_function_replace_fail=:
19735 sed -e '/^func_basename ()$/,/^} # func_basename /c\
19738 \ func_basename_result="${1##*/}"\
19739 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
19740 && mv -f "$cfgfile.tmp" "$cfgfile" \
19741 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19742 test 0 -eq $? || _lt_function_replace_fail=:
19745 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
19746 func_dirname_and_basename ()\
19749 \ */*) func_dirname_result="${1%/*}${2}" ;;\
19750 \ * ) func_dirname_result="${3}" ;;\
19752 \ func_basename_result="${1##*/}"\
19753 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
19754 && mv -f "$cfgfile.tmp" "$cfgfile" \
19755 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19756 test 0 -eq $? || _lt_function_replace_fail=:
19759 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
19762 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
19763 \ # positional parameters, so assign one to ordinary parameter first.\
19764 \ func_stripname_result=${3}\
19765 \ func_stripname_result=${func_stripname_result#"${1}"}\
19766 \ func_stripname_result=${func_stripname_result%"${2}"}\
19767 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
19768 && mv -f "$cfgfile.tmp" "$cfgfile" \
19769 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19770 test 0 -eq $? || _lt_function_replace_fail=:
19773 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
19774 func_split_long_opt ()\
19776 \ func_split_long_opt_name=${1%%=*}\
19777 \ func_split_long_opt_arg=${1#*=}\
19778 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
19779 && mv -f "$cfgfile.tmp" "$cfgfile" \
19780 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19781 test 0 -eq $? || _lt_function_replace_fail=:
19784 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
19785 func_split_short_opt ()\
19787 \ func_split_short_opt_arg=${1#??}\
19788 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
19789 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
19790 && mv -f "$cfgfile.tmp" "$cfgfile" \
19791 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19792 test 0 -eq $? || _lt_function_replace_fail=:
19795 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
19799 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
19800 \ *) func_lo2o_result=${1} ;;\
19802 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
19803 && mv -f "$cfgfile.tmp" "$cfgfile" \
19804 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19805 test 0 -eq $? || _lt_function_replace_fail=:
19808 sed -e '/^func_xform ()$/,/^} # func_xform /c\
19811 func_xform_result=${1%.*}.lo\
19812 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
19813 && mv -f "$cfgfile.tmp" "$cfgfile" \
19814 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19815 test 0 -eq $? || _lt_function_replace_fail=:
19818 sed -e '/^func_arith ()$/,/^} # func_arith /c\
19821 func_arith_result=$(( $* ))\
19822 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
19823 && mv -f "$cfgfile.tmp" "$cfgfile" \
19824 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19825 test 0 -eq $? || _lt_function_replace_fail=:
19828 sed -e '/^func_len ()$/,/^} # func_len /c\
19831 func_len_result=${#1}\
19832 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
19833 && mv -f "$cfgfile.tmp" "$cfgfile" \
19834 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19835 test 0 -eq $? || _lt_function_replace_fail=:
19839 if test x"$lt_shell_append" = xyes; then
19840 sed -e '/^func_append ()$/,/^} # func_append /c\
19843 eval "${1}+=\\${2}"\
19844 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
19845 && mv -f "$cfgfile.tmp" "$cfgfile" \
19846 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19847 test 0 -eq $? || _lt_function_replace_fail=:
19850 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
19851 func_append_quoted ()\
19853 \ func_quote_for_eval "${2}"\
19854 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
19855 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
19856 && mv -f "$cfgfile.tmp" "$cfgfile" \
19857 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19858 test 0 -eq $? || _lt_function_replace_fail=:
19861 # Save a `func_append' function call where possible by direct use of '+='
19862 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
19863 && mv -f "$cfgfile.tmp" "$cfgfile" \
19864 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19865 test 0 -eq $? || _lt_function_replace_fail=:
19867 # Save a `func_append' function call even when '+=' is not available
19868 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
19869 && mv -f "$cfgfile.tmp" "$cfgfile" \
19870 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
19871 test 0 -eq $? || _lt_function_replace_fail=:
19874 if test x"$_lt_function_replace_fail" = x":"; then
19875 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
19876 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
19880 mv -f "$cfgfile" "$ofile" ||
19881 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
19892 ac_clean_files=$ac_clean_files_save
19894 test $ac_write_fail = 0 ||
19895 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
19898 # configure is writing to config.log, and then calls config.status.
19899 # config.status does its own redirection, appending to config.log.
19900 # Unfortunately, on DOS this fails, as config.log is still kept open
19901 # by configure, so config.status won't be able to write to it; its
19902 # output is simply discarded. So we exec the FD to /dev/null,
19903 # effectively closing config.log, so it can be properly (re)opened and
19904 # appended to by config.status. When coming back to configure, we
19905 # need to make the FD available again.
19906 if test "$no_create" != yes; then
19908 ac_config_status_args=
19909 test "$silent" = yes &&
19910 ac_config_status_args="$ac_config_status_args --quiet"
19912 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
19914 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
19915 # would make configure fail if this is the last instruction.
19916 $ac_cs_success || as_fn_exit 1
19918 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
19919 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
19920 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}