2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for krb5-strength 3.1.
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.1'
594 PACKAGE_STRING='krb5-strength 3.1'
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
654 EMBEDDED_CRACKLIB_FALSE
655 EMBEDDED_CRACKLIB_TRUE
712 MAINTAINER_MODE_FALSE
726 INSTALL_STRIP_PROGRAM
769 program_transform_name
782 enable_option_checking
784 enable_maintainer_mode
785 enable_dependency_tracking
799 with_cracklib_include
804 enable_reduced_depends
809 ac_precious_vars='build_alias
827 # Initialize some variables set by options.
829 ac_init_version=false
830 ac_unrecognized_opts=
832 # The variables have the same names as the options, with
833 # dashes changed to underlines.
841 program_transform_name=s,x,x,
849 # Installation directory options.
850 # These are left unexpanded so users can "make install exec_prefix=/foo"
851 # and all the variables that are supposed to be based on exec_prefix
852 # by default will actually change.
853 # Use braces instead of parens because sh, perl, etc. also accept them.
854 # (The list follows the same order as the GNU Coding Standards.)
855 bindir='${exec_prefix}/bin'
856 sbindir='${exec_prefix}/sbin'
857 libexecdir='${exec_prefix}/libexec'
858 datarootdir='${prefix}/share'
859 datadir='${datarootdir}'
860 sysconfdir='${prefix}/etc'
861 sharedstatedir='${prefix}/com'
862 localstatedir='${prefix}/var'
863 runstatedir='${localstatedir}/run'
864 includedir='${prefix}/include'
865 oldincludedir='/usr/include'
866 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
867 infodir='${datarootdir}/info'
872 libdir='${exec_prefix}/lib'
873 localedir='${datarootdir}/locale'
874 mandir='${datarootdir}/man'
880 # If the previous option needs an argument, assign it.
881 if test -n "$ac_prev"; then
882 eval $ac_prev=\$ac_option
888 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
893 # Accept the important Cygnus configure options, so we can diagnose typos.
895 case $ac_dashdash$ac_option in
899 -bindir | --bindir | --bindi | --bind | --bin | --bi)
901 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
904 -build | --build | --buil | --bui | --bu)
905 ac_prev=build_alias ;;
906 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
907 build_alias=$ac_optarg ;;
909 -cache-file | --cache-file | --cache-fil | --cache-fi \
910 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
911 ac_prev=cache_file ;;
912 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
913 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
914 cache_file=$ac_optarg ;;
917 cache_file=config.cache ;;
919 -datadir | --datadir | --datadi | --datad)
921 -datadir=* | --datadir=* | --datadi=* | --datad=*)
922 datadir=$ac_optarg ;;
924 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
925 | --dataroo | --dataro | --datar)
926 ac_prev=datarootdir ;;
927 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
928 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
929 datarootdir=$ac_optarg ;;
931 -disable-* | --disable-*)
932 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
933 # Reject names that are not valid shell variable names.
934 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
935 as_fn_error $? "invalid feature name: $ac_useropt"
936 ac_useropt_orig=$ac_useropt
937 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
938 case $ac_user_opts in
942 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
943 ac_unrecognized_sep=', ';;
945 eval enable_$ac_useropt=no ;;
947 -docdir | --docdir | --docdi | --doc | --do)
949 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
952 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
954 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
957 -enable-* | --enable-*)
958 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
959 # Reject names that are not valid shell variable names.
960 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
961 as_fn_error $? "invalid feature name: $ac_useropt"
962 ac_useropt_orig=$ac_useropt
963 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
964 case $ac_user_opts in
968 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
969 ac_unrecognized_sep=', ';;
971 eval enable_$ac_useropt=\$ac_optarg ;;
973 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
974 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
975 | --exec | --exe | --ex)
976 ac_prev=exec_prefix ;;
977 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
978 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
979 | --exec=* | --exe=* | --ex=*)
980 exec_prefix=$ac_optarg ;;
982 -gas | --gas | --ga | --g)
983 # Obsolete; use --with-gas.
986 -help | --help | --hel | --he | -h)
988 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
989 ac_init_help=recursive ;;
990 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
991 ac_init_help=short ;;
993 -host | --host | --hos | --ho)
994 ac_prev=host_alias ;;
995 -host=* | --host=* | --hos=* | --ho=*)
996 host_alias=$ac_optarg ;;
998 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1000 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1002 htmldir=$ac_optarg ;;
1004 -includedir | --includedir | --includedi | --included | --include \
1005 | --includ | --inclu | --incl | --inc)
1006 ac_prev=includedir ;;
1007 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1008 | --includ=* | --inclu=* | --incl=* | --inc=*)
1009 includedir=$ac_optarg ;;
1011 -infodir | --infodir | --infodi | --infod | --info | --inf)
1013 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1014 infodir=$ac_optarg ;;
1016 -libdir | --libdir | --libdi | --libd)
1018 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1019 libdir=$ac_optarg ;;
1021 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1022 | --libexe | --libex | --libe)
1023 ac_prev=libexecdir ;;
1024 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1025 | --libexe=* | --libex=* | --libe=*)
1026 libexecdir=$ac_optarg ;;
1028 -localedir | --localedir | --localedi | --localed | --locale)
1029 ac_prev=localedir ;;
1030 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1031 localedir=$ac_optarg ;;
1033 -localstatedir | --localstatedir | --localstatedi | --localstated \
1034 | --localstate | --localstat | --localsta | --localst | --locals)
1035 ac_prev=localstatedir ;;
1036 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1037 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1038 localstatedir=$ac_optarg ;;
1040 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1042 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1043 mandir=$ac_optarg ;;
1045 -nfp | --nfp | --nf)
1046 # Obsolete; use --without-fp.
1049 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1050 | --no-cr | --no-c | -n)
1053 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1054 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1057 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1058 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1059 | --oldin | --oldi | --old | --ol | --o)
1060 ac_prev=oldincludedir ;;
1061 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1062 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1063 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1064 oldincludedir=$ac_optarg ;;
1066 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1068 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1069 prefix=$ac_optarg ;;
1071 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1072 | --program-pre | --program-pr | --program-p)
1073 ac_prev=program_prefix ;;
1074 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1075 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1076 program_prefix=$ac_optarg ;;
1078 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1079 | --program-suf | --program-su | --program-s)
1080 ac_prev=program_suffix ;;
1081 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1082 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1083 program_suffix=$ac_optarg ;;
1085 -program-transform-name | --program-transform-name \
1086 | --program-transform-nam | --program-transform-na \
1087 | --program-transform-n | --program-transform- \
1088 | --program-transform | --program-transfor \
1089 | --program-transfo | --program-transf \
1090 | --program-trans | --program-tran \
1091 | --progr-tra | --program-tr | --program-t)
1092 ac_prev=program_transform_name ;;
1093 -program-transform-name=* | --program-transform-name=* \
1094 | --program-transform-nam=* | --program-transform-na=* \
1095 | --program-transform-n=* | --program-transform-=* \
1096 | --program-transform=* | --program-transfor=* \
1097 | --program-transfo=* | --program-transf=* \
1098 | --program-trans=* | --program-tran=* \
1099 | --progr-tra=* | --program-tr=* | --program-t=*)
1100 program_transform_name=$ac_optarg ;;
1102 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1104 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1105 pdfdir=$ac_optarg ;;
1107 -psdir | --psdir | --psdi | --psd | --ps)
1109 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1112 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1113 | -silent | --silent | --silen | --sile | --sil)
1116 -runstatedir | --runstatedir | --runstatedi | --runstated \
1117 | --runstate | --runstat | --runsta | --runst | --runs \
1118 | --run | --ru | --r)
1119 ac_prev=runstatedir ;;
1120 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1121 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1122 | --run=* | --ru=* | --r=*)
1123 runstatedir=$ac_optarg ;;
1125 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1127 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1129 sbindir=$ac_optarg ;;
1131 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1132 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1133 | --sharedst | --shareds | --shared | --share | --shar \
1135 ac_prev=sharedstatedir ;;
1136 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1137 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1138 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1140 sharedstatedir=$ac_optarg ;;
1142 -site | --site | --sit)
1144 -site=* | --site=* | --sit=*)
1147 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1149 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1150 srcdir=$ac_optarg ;;
1152 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1153 | --syscon | --sysco | --sysc | --sys | --sy)
1154 ac_prev=sysconfdir ;;
1155 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1156 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1157 sysconfdir=$ac_optarg ;;
1159 -target | --target | --targe | --targ | --tar | --ta | --t)
1160 ac_prev=target_alias ;;
1161 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1162 target_alias=$ac_optarg ;;
1164 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1167 -version | --version | --versio | --versi | --vers | -V)
1168 ac_init_version=: ;;
1171 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
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--with-$ac_useropt_orig"
1182 ac_unrecognized_sep=', ';;
1184 eval with_$ac_useropt=\$ac_optarg ;;
1186 -without-* | --without-*)
1187 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1188 # Reject names that are not valid shell variable names.
1189 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1190 as_fn_error $? "invalid package name: $ac_useropt"
1191 ac_useropt_orig=$ac_useropt
1192 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1193 case $ac_user_opts in
1197 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1198 ac_unrecognized_sep=', ';;
1200 eval with_$ac_useropt=no ;;
1203 # Obsolete; use --with-x.
1206 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1207 | --x-incl | --x-inc | --x-in | --x-i)
1208 ac_prev=x_includes ;;
1209 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1210 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1211 x_includes=$ac_optarg ;;
1213 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1214 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1215 ac_prev=x_libraries ;;
1216 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1217 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1218 x_libraries=$ac_optarg ;;
1220 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1221 Try \`$0 --help' for more information"
1225 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1226 # Reject names that are not valid shell variable names.
1227 case $ac_envvar in #(
1228 '' | [0-9]* | *[!_$as_cr_alnum]* )
1229 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1231 eval $ac_envvar=\$ac_optarg
1232 export $ac_envvar ;;
1235 # FIXME: should be removed in autoconf 3.0.
1236 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1237 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1238 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1239 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1245 if test -n "$ac_prev"; then
1246 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1247 as_fn_error $? "missing argument to $ac_option"
1250 if test -n "$ac_unrecognized_opts"; then
1251 case $enable_option_checking in
1253 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1254 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1258 # Check all directory arguments for consistency.
1259 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1260 datadir sysconfdir sharedstatedir localstatedir includedir \
1261 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1262 libdir localedir mandir runstatedir
1264 eval ac_val=\$$ac_var
1265 # Remove trailing slashes.
1268 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1269 eval $ac_var=\$ac_val;;
1271 # Be sure to have absolute directory names.
1273 [\\/$]* | ?:[\\/]* ) continue;;
1274 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1276 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1279 # There might be people who depend on the old broken behavior: `$host'
1280 # used to hold the argument of --host etc.
1281 # FIXME: To remove some day.
1284 target=$target_alias
1286 # FIXME: To remove some day.
1287 if test "x$host_alias" != x; then
1288 if test "x$build_alias" = x; then
1289 cross_compiling=maybe
1290 elif test "x$build_alias" != "x$host_alias"; then
1296 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1298 test "$silent" = yes && exec 6>/dev/null
1301 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1302 ac_ls_di=`ls -di .` &&
1303 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1304 as_fn_error $? "working directory cannot be determined"
1305 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1306 as_fn_error $? "pwd does not report name of working directory"
1309 # Find the source files, if location was not specified.
1310 if test -z "$srcdir"; then
1311 ac_srcdir_defaulted=yes
1312 # Try the directory containing this script, then the parent directory.
1313 ac_confdir=`$as_dirname -- "$as_myself" ||
1314 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1315 X"$as_myself" : 'X\(//\)[^/]' \| \
1316 X"$as_myself" : 'X\(//\)$' \| \
1317 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1318 $as_echo X"$as_myself" |
1319 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1337 if test ! -r "$srcdir/$ac_unique_file"; then
1341 ac_srcdir_defaulted=no
1343 if test ! -r "$srcdir/$ac_unique_file"; then
1344 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1345 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1347 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1349 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1351 # When building in place, set srcdir=.
1352 if test "$ac_abs_confdir" = "$ac_pwd"; then
1355 # Remove unnecessary trailing slashes from srcdir.
1356 # Double slashes in file names in object file debugging info
1357 # mess up M-x gdb in Emacs.
1359 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1361 for ac_var in $ac_precious_vars; do
1362 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1363 eval ac_env_${ac_var}_value=\$${ac_var}
1364 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1365 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1369 # Report the --help message.
1371 if test "$ac_init_help" = "long"; then
1372 # Omit some internal or obsolete options to make the list less imposing.
1373 # This message is too long to be a string in the A/UX 3.1 sh.
1375 \`configure' configures krb5-strength 3.1 to adapt to many kinds of systems.
1377 Usage: $0 [OPTION]... [VAR=VALUE]...
1379 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1380 VAR=VALUE. See below for descriptions of some of the useful variables.
1382 Defaults for the options are specified in brackets.
1385 -h, --help display this help and exit
1386 --help=short display options specific to this package
1387 --help=recursive display the short help of all the included packages
1388 -V, --version display version information and exit
1389 -q, --quiet, --silent do not print \`checking ...' messages
1390 --cache-file=FILE cache test results in FILE [disabled]
1391 -C, --config-cache alias for \`--cache-file=config.cache'
1392 -n, --no-create do not create output files
1393 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1395 Installation directories:
1396 --prefix=PREFIX install architecture-independent files in PREFIX
1397 [$ac_default_prefix]
1398 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1401 By default, \`make install' will install all the files in
1402 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1403 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1404 for instance \`--prefix=\$HOME'.
1406 For better control, use the options below.
1408 Fine tuning of the installation directories:
1409 --bindir=DIR user executables [EPREFIX/bin]
1410 --sbindir=DIR system admin executables [EPREFIX/sbin]
1411 --libexecdir=DIR program executables [EPREFIX/libexec]
1412 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1413 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1414 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1415 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1416 --libdir=DIR object code libraries [EPREFIX/lib]
1417 --includedir=DIR C header files [PREFIX/include]
1418 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1419 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1420 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1421 --infodir=DIR info documentation [DATAROOTDIR/info]
1422 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1423 --mandir=DIR man documentation [DATAROOTDIR/man]
1424 --docdir=DIR documentation root [DATAROOTDIR/doc/krb5-strength]
1425 --htmldir=DIR html documentation [DOCDIR]
1426 --dvidir=DIR dvi documentation [DOCDIR]
1427 --pdfdir=DIR pdf documentation [DOCDIR]
1428 --psdir=DIR ps documentation [DOCDIR]
1434 --program-prefix=PREFIX prepend PREFIX to installed program names
1435 --program-suffix=SUFFIX append SUFFIX to installed program names
1436 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1439 --build=BUILD configure for building on BUILD [guessed]
1440 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1444 if test -n "$ac_init_help"; then
1445 case $ac_init_help in
1446 short | recursive ) echo "Configuration of krb5-strength 3.1:";;
1451 --disable-option-checking ignore unrecognized --enable/--with options
1452 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1453 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1454 --enable-silent-rules less verbose build output (undo: "make V=1")
1455 --disable-silent-rules verbose build output (undo: "make V=0")
1456 --enable-maintainer-mode
1457 enable make rules and dependencies not useful (and
1458 sometimes confusing) to the casual installer
1459 --enable-dependency-tracking
1460 do not reject slow dependency extractors
1461 --disable-dependency-tracking
1462 speeds up one-time build
1463 --disable-largefile omit support for large files
1464 --enable-static[=PKGS] build static libraries [default=no]
1465 --enable-shared[=PKGS] build shared libraries [default=yes]
1466 --enable-fast-install[=PKGS]
1467 optimize for fast installation [default=yes]
1468 --disable-libtool-lock avoid locking (might break parallel builds)
1469 --enable-reduced-depends
1470 Try to minimize shared library dependencies
1473 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1474 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1475 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1477 --with-aix-soname=aix|svr4|both
1478 shared library versioning (aka "SONAME") variant to
1479 provide on AIX, [default=aix].
1480 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1481 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1482 compiler's sysroot if not specified).
1483 --with-tinycdb[=DIR] Location of TinyCDB headers and libraries
1484 --with-tinycdb-include=DIR
1485 Location of TinyCDB headers
1486 --with-tinycdb-lib=DIR Location of TinyCDB libraries
1487 --with-cracklib[=DIR] Use system CrackLib instead of embedded copy
1488 --with-cracklib-include=DIR
1489 Location of CrackLib headers
1490 --with-cracklib-lib=DIR Location of cracklib libraries
1491 --with-krb5=DIR Location of Kerberos headers and libraries
1492 --with-krb5-include=DIR Location of Kerberos headers
1493 --with-krb5-lib=DIR Location of Kerberos libraries
1494 --with-sqlite[=DIR] Location of SQLite headers and libraries
1495 --with-sqlite-include=DIR
1496 Location of SQLite headers
1497 --with-sqlite-lib=DIR Location of SQLite libraries
1499 Some influential environment variables:
1500 CC C compiler command
1501 CFLAGS C compiler flags
1502 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1503 nonstandard directory <lib dir>
1504 LIBS libraries to pass to the linker, e.g. -l<library>
1505 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1506 you have headers in a nonstandard directory <include dir>
1509 User-defined run-time library search path.
1512 PKG_CONFIG path to pkg-config utility
1514 directories to add to pkg-config's search path
1516 path overriding pkg-config's built-in search path
1518 C compiler flags for SQLITE, overriding pkg-config
1519 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1521 Use these variables to override the choices made by `configure' or to help
1522 it to find libraries and programs with nonstandard names/locations.
1524 Report bugs to <eagle@eyrie.org>.
1529 if test "$ac_init_help" = "recursive"; then
1530 # If there are subdirs, report their specific --help.
1531 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1532 test -d "$ac_dir" ||
1533 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1538 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1540 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1541 # A ".." for each directory in $ac_dir_suffix.
1542 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1543 case $ac_top_builddir_sub in
1544 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1545 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1548 ac_abs_top_builddir=$ac_pwd
1549 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1550 # for backward compatibility:
1551 ac_top_builddir=$ac_top_build_prefix
1554 .) # We are building in place.
1556 ac_top_srcdir=$ac_top_builddir_sub
1557 ac_abs_top_srcdir=$ac_pwd ;;
1558 [\\/]* | ?:[\\/]* ) # Absolute name.
1559 ac_srcdir=$srcdir$ac_dir_suffix;
1560 ac_top_srcdir=$srcdir
1561 ac_abs_top_srcdir=$srcdir ;;
1563 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1564 ac_top_srcdir=$ac_top_build_prefix$srcdir
1565 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1567 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1569 cd "$ac_dir" || { ac_status=$?; continue; }
1570 # Check for guested configure.
1571 if test -f "$ac_srcdir/configure.gnu"; then
1573 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1574 elif test -f "$ac_srcdir/configure"; then
1576 $SHELL "$ac_srcdir/configure" --help=recursive
1578 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1580 cd "$ac_pwd" || { ac_status=$?; break; }
1584 test -n "$ac_init_help" && exit $ac_status
1585 if $ac_init_version; then
1587 krb5-strength configure 3.1
1588 generated by GNU Autoconf 2.69
1590 Copyright (C) 2012 Free Software Foundation, Inc.
1591 This configure script is free software; the Free Software Foundation
1592 gives unlimited permission to copy, distribute and modify it.
1597 ## ------------------------ ##
1598 ## Autoconf initialization. ##
1599 ## ------------------------ ##
1601 # ac_fn_c_try_compile LINENO
1602 # --------------------------
1603 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1604 ac_fn_c_try_compile ()
1606 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1607 rm -f conftest.$ac_objext
1608 if { { ac_try="$ac_compile"
1610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1611 *) ac_try_echo=$ac_try;;
1613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1614 $as_echo "$ac_try_echo"; } >&5
1615 (eval "$ac_compile") 2>conftest.err
1617 if test -s conftest.err; then
1618 grep -v '^ *+' conftest.err >conftest.er1
1619 cat conftest.er1 >&5
1620 mv -f conftest.er1 conftest.err
1622 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1623 test $ac_status = 0; } && {
1624 test -z "$ac_c_werror_flag" ||
1625 test ! -s conftest.err
1626 } && test -s conftest.$ac_objext; then :
1629 $as_echo "$as_me: failed program was:" >&5
1630 sed 's/^/| /' conftest.$ac_ext >&5
1634 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1635 as_fn_set_status $ac_retval
1637 } # ac_fn_c_try_compile
1639 # ac_fn_c_try_cpp LINENO
1640 # ----------------------
1641 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1644 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1645 if { { ac_try="$ac_cpp conftest.$ac_ext"
1647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1648 *) ac_try_echo=$ac_try;;
1650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1651 $as_echo "$ac_try_echo"; } >&5
1652 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1654 if test -s conftest.err; then
1655 grep -v '^ *+' conftest.err >conftest.er1
1656 cat conftest.er1 >&5
1657 mv -f conftest.er1 conftest.err
1659 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1660 test $ac_status = 0; } > conftest.i && {
1661 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1662 test ! -s conftest.err
1666 $as_echo "$as_me: failed program was:" >&5
1667 sed 's/^/| /' conftest.$ac_ext >&5
1671 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1672 as_fn_set_status $ac_retval
1676 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1677 # -------------------------------------------------------
1678 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1679 # the include files in INCLUDES and setting the cache variable VAR
1681 ac_fn_c_check_header_mongrel ()
1683 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1684 if eval \${$3+:} false; then :
1685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1686 $as_echo_n "checking for $2... " >&6; }
1687 if eval \${$3+:} false; then :
1688 $as_echo_n "(cached) " >&6
1691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1692 $as_echo "$ac_res" >&6; }
1694 # Is the header compilable?
1695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1696 $as_echo_n "checking $2 usability... " >&6; }
1697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1698 /* end confdefs.h. */
1702 if ac_fn_c_try_compile "$LINENO"; then :
1703 ac_header_compiler=yes
1705 ac_header_compiler=no
1707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1709 $as_echo "$ac_header_compiler" >&6; }
1711 # Is the header present?
1712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1713 $as_echo_n "checking $2 presence... " >&6; }
1714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1715 /* end confdefs.h. */
1718 if ac_fn_c_try_cpp "$LINENO"; then :
1719 ac_header_preproc=yes
1721 ac_header_preproc=no
1723 rm -f conftest.err conftest.i conftest.$ac_ext
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1725 $as_echo "$ac_header_preproc" >&6; }
1727 # So? What about this header?
1728 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1731 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1733 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1736 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1737 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1739 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1740 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1741 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1743 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1744 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1745 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1746 ( $as_echo "## ------------------------------ ##
1747 ## Report this to eagle@eyrie.org ##
1748 ## ------------------------------ ##"
1749 ) | sed "s/^/$as_me: WARNING: /" >&2
1752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1753 $as_echo_n "checking for $2... " >&6; }
1754 if eval \${$3+:} false; then :
1755 $as_echo_n "(cached) " >&6
1757 eval "$3=\$ac_header_compiler"
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1761 $as_echo "$ac_res" >&6; }
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1765 } # ac_fn_c_check_header_mongrel
1767 # ac_fn_c_try_run LINENO
1768 # ----------------------
1769 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1770 # that executables *can* be run.
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 if { { ac_try="$ac_link"
1776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1777 *) ac_try_echo=$ac_try;;
1779 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1780 $as_echo "$ac_try_echo"; } >&5
1781 (eval "$ac_link") 2>&5
1783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1784 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1785 { { case "(($ac_try" in
1786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1787 *) ac_try_echo=$ac_try;;
1789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1790 $as_echo "$ac_try_echo"; } >&5
1791 (eval "$ac_try") 2>&5
1793 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1794 test $ac_status = 0; }; }; then :
1797 $as_echo "$as_me: program exited with status $ac_status" >&5
1798 $as_echo "$as_me: failed program was:" >&5
1799 sed 's/^/| /' conftest.$ac_ext >&5
1801 ac_retval=$ac_status
1803 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1804 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1805 as_fn_set_status $ac_retval
1809 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1810 # -------------------------------------------------------
1811 # Tests whether HEADER exists and can be compiled using the include files in
1812 # INCLUDES, setting the cache variable VAR accordingly.
1813 ac_fn_c_check_header_compile ()
1815 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1817 $as_echo_n "checking for $2... " >&6; }
1818 if eval \${$3+:} false; then :
1819 $as_echo_n "(cached) " >&6
1821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1822 /* end confdefs.h. */
1826 if ac_fn_c_try_compile "$LINENO"; then :
1831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1835 $as_echo "$ac_res" >&6; }
1836 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1838 } # ac_fn_c_check_header_compile
1840 # ac_fn_c_try_link LINENO
1841 # -----------------------
1842 # Try to link conftest.$ac_ext, and return whether this succeeded.
1845 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1846 rm -f conftest.$ac_objext conftest$ac_exeext
1847 if { { ac_try="$ac_link"
1849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1850 *) ac_try_echo=$ac_try;;
1852 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1853 $as_echo "$ac_try_echo"; } >&5
1854 (eval "$ac_link") 2>conftest.err
1856 if test -s conftest.err; then
1857 grep -v '^ *+' conftest.err >conftest.er1
1858 cat conftest.er1 >&5
1859 mv -f conftest.er1 conftest.err
1861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1862 test $ac_status = 0; } && {
1863 test -z "$ac_c_werror_flag" ||
1864 test ! -s conftest.err
1865 } && test -s conftest$ac_exeext && {
1866 test "$cross_compiling" = yes ||
1867 test -x conftest$ac_exeext
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1876 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1877 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1878 # interfere with the next link command; also delete a directory that is
1879 # left behind by Apple's compiler. We do this before executing the actions.
1880 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1881 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1882 as_fn_set_status $ac_retval
1884 } # ac_fn_c_try_link
1886 # ac_fn_c_check_func LINENO FUNC VAR
1887 # ----------------------------------
1888 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1889 ac_fn_c_check_func ()
1891 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1893 $as_echo_n "checking for $2... " >&6; }
1894 if eval \${$3+:} false; then :
1895 $as_echo_n "(cached) " >&6
1897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1898 /* end confdefs.h. */
1899 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1900 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1901 #define $2 innocuous_$2
1903 /* System header to define __stub macros and hopefully few prototypes,
1904 which can conflict with char $2 (); below.
1905 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1906 <limits.h> exists even on freestanding compilers. */
1909 # include <limits.h>
1911 # include <assert.h>
1916 /* Override any GCC internal prototype to avoid an error.
1917 Use char because int might match the return type of a GCC
1918 builtin and then its argument prototype would still apply. */
1923 /* The GNU C library defines this for functions which it implements
1924 to always fail with ENOSYS. Some functions are actually named
1925 something starting with __ and the normal name is an alias. */
1926 #if defined __stub_$2 || defined __stub___$2
1938 if ac_fn_c_try_link "$LINENO"; then :
1943 rm -f core conftest.err conftest.$ac_objext \
1944 conftest$ac_exeext conftest.$ac_ext
1947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1948 $as_echo "$ac_res" >&6; }
1949 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1951 } # ac_fn_c_check_func
1953 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1954 # --------------------------------------------
1955 # Tries to find the compile-time value of EXPR in a program that includes
1956 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1958 ac_fn_c_compute_int ()
1960 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1961 if test "$cross_compiling" = yes; then
1962 # Depending upon the size, compute the lo and hi bounds.
1963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1964 /* end confdefs.h. */
1969 static int test_array [1 - 2 * !(($2) >= 0)];
1971 return test_array [0];
1977 if ac_fn_c_try_compile "$LINENO"; then :
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1986 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1988 return test_array [0];
1994 if ac_fn_c_try_compile "$LINENO"; then :
1995 ac_hi=$ac_mid; break
1997 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1998 if test $ac_lo -le $ac_mid; then
2002 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2008 /* end confdefs.h. */
2013 static int test_array [1 - 2 * !(($2) < 0)];
2015 return test_array [0];
2021 if ac_fn_c_try_compile "$LINENO"; then :
2024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2025 /* end confdefs.h. */
2030 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2032 return test_array [0];
2038 if ac_fn_c_try_compile "$LINENO"; then :
2039 ac_lo=$ac_mid; break
2041 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2042 if test $ac_mid -le $ac_hi; then
2046 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 # Binary search between lo and hi bounds.
2057 while test "x$ac_lo" != "x$ac_hi"; do
2058 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2060 /* end confdefs.h. */
2065 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2067 return test_array [0];
2073 if ac_fn_c_try_compile "$LINENO"; then :
2076 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2081 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2086 /* end confdefs.h. */
2088 static long int longval () { return $2; }
2089 static unsigned long int ulongval () { return $2; }
2096 FILE *f = fopen ("conftest.val", "w");
2101 long int i = longval ();
2104 fprintf (f, "%ld", i);
2108 unsigned long int i = ulongval ();
2111 fprintf (f, "%lu", i);
2113 /* Do not output a trailing newline, as this causes \r\n confusion
2114 on some platforms. */
2115 return ferror (f) || fclose (f) != 0;
2121 if ac_fn_c_try_run "$LINENO"; then :
2122 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2127 conftest.$ac_objext conftest.beam conftest.$ac_ext
2131 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2132 as_fn_set_status $ac_retval
2134 } # ac_fn_c_compute_int
2136 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2137 # -------------------------------------------
2138 # Tests whether TYPE exists after having included INCLUDES, setting cache
2139 # variable VAR accordingly.
2140 ac_fn_c_check_type ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2144 $as_echo_n "checking for $2... " >&6; }
2145 if eval \${$3+:} false; then :
2146 $as_echo_n "(cached) " >&6
2149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2150 /* end confdefs.h. */
2161 if ac_fn_c_try_compile "$LINENO"; then :
2162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2163 /* end confdefs.h. */
2174 if ac_fn_c_try_compile "$LINENO"; then :
2179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2185 $as_echo "$ac_res" >&6; }
2186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2188 } # ac_fn_c_check_type
2190 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2191 # ---------------------------------------------
2192 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2194 ac_fn_c_check_decl ()
2196 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2197 as_decl_name=`echo $2|sed 's/ *(.*//'`
2198 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2200 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2201 if eval \${$3+:} false; then :
2202 $as_echo_n "(cached) " >&6
2204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2205 /* end confdefs.h. */
2210 #ifndef $as_decl_name
2212 (void) $as_decl_use;
2214 (void) $as_decl_name;
2222 if ac_fn_c_try_compile "$LINENO"; then :
2227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2231 $as_echo "$ac_res" >&6; }
2232 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2234 } # ac_fn_c_check_decl
2236 # ac_fn_c_find_uintX_t LINENO BITS VAR
2237 # ------------------------------------
2238 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2240 ac_fn_c_find_uintX_t ()
2242 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2244 $as_echo_n "checking for uint$2_t... " >&6; }
2245 if eval \${$3+:} false; then :
2246 $as_echo_n "(cached) " >&6
2249 # Order is important - never check a type that is potentially smaller
2250 # than half of the expected target width.
2251 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2252 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2255 $ac_includes_default
2259 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2261 return test_array [0];
2267 if ac_fn_c_try_compile "$LINENO"; then :
2272 eval "$3=\$ac_type" ;;
2275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2276 if eval test \"x\$"$3"\" = x"no"; then :
2284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2285 $as_echo "$ac_res" >&6; }
2286 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2288 } # ac_fn_c_find_uintX_t
2289 cat >config.log <<_ACEOF
2290 This file contains any messages produced by compilers while
2291 running configure, to aid debugging if configure makes a mistake.
2293 It was created by krb5-strength $as_me 3.1, which was
2294 generated by GNU Autoconf 2.69. Invocation command line was
2306 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2307 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2308 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2309 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2310 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2312 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2313 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2315 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2316 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2317 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2318 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2319 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2320 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2321 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2329 test -z "$as_dir" && as_dir=.
2330 $as_echo "PATH: $as_dir"
2346 # Keep a trace of the command line.
2347 # Strip out --no-create and --no-recursion so they do not pile up.
2348 # Strip out --silent because we don't want to record it for future runs.
2349 # Also quote any args containing shell meta-characters.
2350 # Make two passes to allow for proper duplicate-argument suppression.
2354 ac_must_keep_next=false
2360 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2361 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2362 | -silent | --silent | --silen | --sile | --sil)
2365 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2368 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2370 as_fn_append ac_configure_args1 " '$ac_arg'"
2371 if test $ac_must_keep_next = true; then
2372 ac_must_keep_next=false # Got value, back to normal.
2375 *=* | --config-cache | -C | -disable-* | --disable-* \
2376 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2377 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2378 | -with-* | --with-* | -without-* | --without-* | --x)
2379 case "$ac_configure_args0 " in
2380 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2383 -* ) ac_must_keep_next=true ;;
2386 as_fn_append ac_configure_args " '$ac_arg'"
2391 { ac_configure_args0=; unset ac_configure_args0;}
2392 { ac_configure_args1=; unset ac_configure_args1;}
2394 # When interrupted or exit'd, cleanup temporary files, and complete
2395 # config.log. We remove comments because anyway the quotes in there
2396 # would cause problems or look ugly.
2397 # WARNING: Use '\'' to represent an apostrophe within the trap.
2398 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2399 trap 'exit_status=$?
2400 # Save into config.log some information that might help in debugging.
2404 $as_echo "## ---------------- ##
2405 ## Cache variables. ##
2406 ## ---------------- ##"
2408 # The following way of writing the cache mishandles newlines in values,
2410 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2411 eval ac_val=\$$ac_var
2415 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2416 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2419 _ | IFS | as_nl) ;; #(
2420 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2421 *) { eval $ac_var=; unset $ac_var;} ;;
2426 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2427 *${as_nl}ac_space=\ *)
2429 "s/'\''/'\''\\\\'\'''\''/g;
2430 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2433 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2440 $as_echo "## ----------------- ##
2441 ## Output variables. ##
2442 ## ----------------- ##"
2444 for ac_var in $ac_subst_vars
2446 eval ac_val=\$$ac_var
2448 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2450 $as_echo "$ac_var='\''$ac_val'\''"
2454 if test -n "$ac_subst_files"; then
2455 $as_echo "## ------------------- ##
2456 ## File substitutions. ##
2457 ## ------------------- ##"
2459 for ac_var in $ac_subst_files
2461 eval ac_val=\$$ac_var
2463 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2465 $as_echo "$ac_var='\''$ac_val'\''"
2470 if test -s confdefs.h; then
2471 $as_echo "## ----------- ##
2478 test "$ac_signal" != 0 &&
2479 $as_echo "$as_me: caught signal $ac_signal"
2480 $as_echo "$as_me: exit $exit_status"
2482 rm -f core *.core core.conftest.* &&
2483 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2486 for ac_signal in 1 2 13 15; do
2487 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2491 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2492 rm -f -r conftest* confdefs.h
2494 $as_echo "/* confdefs.h */" > confdefs.h
2496 # Predefined preprocessor variables.
2498 cat >>confdefs.h <<_ACEOF
2499 #define PACKAGE_NAME "$PACKAGE_NAME"
2502 cat >>confdefs.h <<_ACEOF
2503 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2506 cat >>confdefs.h <<_ACEOF
2507 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2510 cat >>confdefs.h <<_ACEOF
2511 #define PACKAGE_STRING "$PACKAGE_STRING"
2514 cat >>confdefs.h <<_ACEOF
2515 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2518 cat >>confdefs.h <<_ACEOF
2519 #define PACKAGE_URL "$PACKAGE_URL"
2523 # Let the site file select an alternate cache file if it wants to.
2524 # Prefer an explicitly selected file to automatically selected ones.
2527 if test -n "$CONFIG_SITE"; then
2528 # We do not want a PATH search for config.site.
2529 case $CONFIG_SITE in #((
2530 -*) ac_site_file1=./$CONFIG_SITE;;
2531 */*) ac_site_file1=$CONFIG_SITE;;
2532 *) ac_site_file1=./$CONFIG_SITE;;
2534 elif test "x$prefix" != xNONE; then
2535 ac_site_file1=$prefix/share/config.site
2536 ac_site_file2=$prefix/etc/config.site
2538 ac_site_file1=$ac_default_prefix/share/config.site
2539 ac_site_file2=$ac_default_prefix/etc/config.site
2541 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2543 test "x$ac_site_file" = xNONE && continue
2544 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2545 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2546 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2547 sed 's/^/| /' "$ac_site_file" >&5
2549 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2550 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2551 as_fn_error $? "failed to load site script $ac_site_file
2552 See \`config.log' for more details" "$LINENO" 5; }
2556 if test -r "$cache_file"; then
2557 # Some versions of bash will fail to source /dev/null (special files
2558 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2559 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2560 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2561 $as_echo "$as_me: loading cache $cache_file" >&6;}
2563 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2564 *) . "./$cache_file";;
2568 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2569 $as_echo "$as_me: creating cache $cache_file" >&6;}
2573 # Check that the precious variables saved in the cache have kept the same
2575 ac_cache_corrupted=false
2576 for ac_var in $ac_precious_vars; do
2577 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2578 eval ac_new_set=\$ac_env_${ac_var}_set
2579 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2580 eval ac_new_val=\$ac_env_${ac_var}_value
2581 case $ac_old_set,$ac_new_set in
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2584 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2585 ac_cache_corrupted=: ;;
2587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2588 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2589 ac_cache_corrupted=: ;;
2592 if test "x$ac_old_val" != "x$ac_new_val"; then
2593 # differences in whitespace do not lead to failure.
2594 ac_old_val_w=`echo x $ac_old_val`
2595 ac_new_val_w=`echo x $ac_new_val`
2596 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2597 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2598 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2599 ac_cache_corrupted=:
2601 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2602 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2603 eval $ac_var=\$ac_old_val
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2606 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2608 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2611 # Pass precious variables to config.status.
2612 if test "$ac_new_set" = set; then
2614 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2615 *) ac_arg=$ac_var=$ac_new_val ;;
2617 case " $ac_configure_args " in
2618 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2619 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2623 if $ac_cache_corrupted; then
2624 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2627 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2628 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2630 ## -------------------- ##
2631 ## Main body of script. ##
2632 ## -------------------- ##
2635 ac_cpp='$CPP $CPPFLAGS'
2636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2642 for ac_dir in build-aux "$srcdir"/build-aux; do
2643 if test -f "$ac_dir/install-sh"; then
2645 ac_install_sh="$ac_aux_dir/install-sh -c"
2647 elif test -f "$ac_dir/install.sh"; then
2649 ac_install_sh="$ac_aux_dir/install.sh -c"
2651 elif test -f "$ac_dir/shtool"; then
2653 ac_install_sh="$ac_aux_dir/shtool install -c"
2657 if test -z "$ac_aux_dir"; then
2658 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2661 # These three variables are undocumented and unsupported,
2662 # and are intended to be withdrawn in a future Autoconf release.
2663 # They can cause serious problems if a builder's source tree is in a directory
2664 # whose full name contains unusual characters.
2665 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2666 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2667 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2672 am__api_version='1.15'
2674 # Find a good install program. We prefer a C program (faster),
2675 # so one script is as good as another. But avoid the broken or
2676 # incompatible versions:
2677 # SysV /etc/install, /usr/sbin/install
2678 # SunOS /usr/etc/install
2679 # IRIX /sbin/install
2681 # AmigaOS /C/install, which installs bootblocks on floppy discs
2682 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2683 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2684 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2685 # OS/2's system install, which has a completely different semantic
2686 # ./install, which can be erroneously created by make from ./install.sh.
2687 # Reject install programs that cannot install multiple files.
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2689 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2690 if test -z "$INSTALL"; then
2691 if ${ac_cv_path_install+:} false; then :
2692 $as_echo_n "(cached) " >&6
2694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2698 test -z "$as_dir" && as_dir=.
2699 # Account for people who put trailing slashes in PATH elements.
2700 case $as_dir/ in #((
2701 ./ | .// | /[cC]/* | \
2702 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2703 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2706 # OSF1 and SCO ODT 3.0 have their own names for install.
2707 # Don't use installbsd from OSF since it installs stuff as root
2709 for ac_prog in ginstall scoinst install; do
2710 for ac_exec_ext in '' $ac_executable_extensions; do
2711 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2712 if test $ac_prog = install &&
2713 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2714 # AIX install. It has an incompatible calling convention.
2716 elif test $ac_prog = install &&
2717 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2718 # program-specific install script used by HP pwplus--don't use.
2721 rm -rf conftest.one conftest.two conftest.dir
2722 echo one > conftest.one
2723 echo two > conftest.two
2725 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2726 test -s conftest.one && test -s conftest.two &&
2727 test -s conftest.dir/conftest.one &&
2728 test -s conftest.dir/conftest.two
2730 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2743 rm -rf conftest.one conftest.two conftest.dir
2746 if test "${ac_cv_path_install+set}" = set; then
2747 INSTALL=$ac_cv_path_install
2749 # As a last resort, use the slow shell script. Don't cache a
2750 # value for INSTALL within a source directory, because that will
2751 # break other packages using the cache if that directory is
2752 # removed, or if the value is a relative name.
2753 INSTALL=$ac_install_sh
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2757 $as_echo "$INSTALL" >&6; }
2759 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2760 # It thinks the first close brace ends the variable substitution.
2761 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2763 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2765 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2768 $as_echo_n "checking whether build environment is sane... " >&6; }
2769 # Reject unsafe characters in $srcdir or the absolute working directory
2770 # name. Accept space and tab only in the latter.
2774 *[\\\"\#\$\&\'\`$am_lf]*)
2775 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2778 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2779 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2782 # Do 'set' in a subshell so we don't clobber the current shell's
2783 # arguments. Must try -L first in case configure is actually a
2784 # symlink; some systems play weird games with the mod time of symlinks
2785 # (eg FreeBSD returns the mod time of the symlink's containing
2789 for am_try in 1 2; do
2790 echo "timestamp, slept: $am_has_slept" > conftest.file
2791 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2792 if test "$*" = "X"; then
2794 set X `ls -t "$srcdir/configure" conftest.file`
2796 if test "$*" != "X $srcdir/configure conftest.file" \
2797 && test "$*" != "X conftest.file $srcdir/configure"; then
2799 # If neither matched, then we have a broken ls. This can happen
2800 # if, for instance, CONFIG_SHELL is bash and it inherits a
2801 # broken ls alias from the environment. This has actually
2802 # happened. Such a system could not be considered "sane".
2803 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2804 alias in your environment" "$LINENO" 5
2806 if test "$2" = conftest.file || test $am_try -eq 2; then
2813 test "$2" = conftest.file
2819 as_fn_error $? "newly created file is older than distributed files!
2820 Check your system clock" "$LINENO" 5
2822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2823 $as_echo "yes" >&6; }
2824 # If we didn't sleep, we still need to ensure time stamps of config.status and
2825 # generated files are strictly newer.
2827 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2834 test "$program_prefix" != NONE &&
2835 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2836 # Use a double $ so make ignores it.
2837 test "$program_suffix" != NONE &&
2838 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2839 # Double any \ or $.
2840 # By default was `s,x,x', remove it if useless.
2841 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2842 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2844 # Expand $ac_aux_dir to an absolute path.
2845 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2847 if test x"${MISSING+set}" != xset; then
2850 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2852 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2855 # Use eval to expand $SHELL
2856 if eval "$MISSING --is-lightweight"; then
2857 am_missing_run="$MISSING "
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2861 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2864 if test x"${install_sh+set}" != xset; then
2867 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2869 install_sh="\${SHELL} $am_aux_dir/install-sh"
2873 # Installed binaries are usually stripped using 'strip' when the user
2874 # run "make install-strip". However 'strip' might not be the right
2875 # tool to use in cross-compilation environments, therefore Automake
2876 # will honor the 'STRIP' environment variable to overrule this program.
2877 if test "$cross_compiling" != no; then
2878 if test -n "$ac_tool_prefix"; then
2879 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2880 set dummy ${ac_tool_prefix}strip; ac_word=$2
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2882 $as_echo_n "checking for $ac_word... " >&6; }
2883 if ${ac_cv_prog_STRIP+:} false; then :
2884 $as_echo_n "(cached) " >&6
2886 if test -n "$STRIP"; then
2887 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 test -z "$as_dir" && as_dir=.
2894 for ac_exec_ext in '' $ac_executable_extensions; do
2895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2896 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2906 STRIP=$ac_cv_prog_STRIP
2907 if test -n "$STRIP"; then
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2909 $as_echo "$STRIP" >&6; }
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2912 $as_echo "no" >&6; }
2917 if test -z "$ac_cv_prog_STRIP"; then
2919 # Extract the first word of "strip", so it can be a program name with args.
2920 set dummy strip; ac_word=$2
2921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2922 $as_echo_n "checking for $ac_word... " >&6; }
2923 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2924 $as_echo_n "(cached) " >&6
2926 if test -n "$ac_ct_STRIP"; then
2927 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2933 test -z "$as_dir" && as_dir=.
2934 for ac_exec_ext in '' $ac_executable_extensions; do
2935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2936 ac_cv_prog_ac_ct_STRIP="strip"
2937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2947 if test -n "$ac_ct_STRIP"; then
2948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2949 $as_echo "$ac_ct_STRIP" >&6; }
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2952 $as_echo "no" >&6; }
2955 if test "x$ac_ct_STRIP" = x; then
2958 case $cross_compiling:$ac_tool_warned in
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2962 ac_tool_warned=yes ;;
2967 STRIP="$ac_cv_prog_STRIP"
2971 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2974 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2975 if test -z "$MKDIR_P"; then
2976 if ${ac_cv_path_mkdir+:} false; then :
2977 $as_echo_n "(cached) " >&6
2979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2980 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2983 test -z "$as_dir" && as_dir=.
2984 for ac_prog in mkdir gmkdir; do
2985 for ac_exec_ext in '' $ac_executable_extensions; do
2986 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2987 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2988 'mkdir (GNU coreutils) '* | \
2989 'mkdir (coreutils) '* | \
2990 'mkdir (fileutils) '4.1*)
2991 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3001 test -d ./--version && rmdir ./--version
3002 if test "${ac_cv_path_mkdir+set}" = set; then
3003 MKDIR_P="$ac_cv_path_mkdir -p"
3005 # As a last resort, use the slow shell script. Don't cache a
3006 # value for MKDIR_P within a source directory, because that will
3007 # break other packages using the cache if that directory is
3008 # removed, or if the value is a relative name.
3009 MKDIR_P="$ac_install_sh -d"
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3013 $as_echo "$MKDIR_P" >&6; }
3015 for ac_prog in gawk mawk nawk awk
3017 # Extract the first word of "$ac_prog", so it can be a program name with args.
3018 set dummy $ac_prog; ac_word=$2
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020 $as_echo_n "checking for $ac_word... " >&6; }
3021 if ${ac_cv_prog_AWK+:} false; then :
3022 $as_echo_n "(cached) " >&6
3024 if test -n "$AWK"; then
3025 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3027 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3031 test -z "$as_dir" && as_dir=.
3032 for ac_exec_ext in '' $ac_executable_extensions; do
3033 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3034 ac_cv_prog_AWK="$ac_prog"
3035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3045 if test -n "$AWK"; then
3046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3047 $as_echo "$AWK" >&6; }
3049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3050 $as_echo "no" >&6; }
3054 test -n "$AWK" && break
3057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3058 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3060 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3061 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3062 $as_echo_n "(cached) " >&6
3064 cat >conftest.make <<\_ACEOF
3067 @echo '@@@%%%=$(MAKE)=@@@%%%'
3069 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3070 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3072 eval ac_cv_prog_make_${ac_make}_set=yes;;
3074 eval ac_cv_prog_make_${ac_make}_set=no;;
3078 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3080 $as_echo "yes" >&6; }
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3084 $as_echo "no" >&6; }
3085 SET_MAKE="MAKE=${MAKE-make}"
3088 rm -rf .tst 2>/dev/null
3089 mkdir .tst 2>/dev/null
3090 if test -d .tst; then
3095 rmdir .tst 2>/dev/null
3097 # Check whether --enable-silent-rules was given.
3098 if test "${enable_silent_rules+set}" = set; then :
3099 enableval=$enable_silent_rules;
3102 case $enable_silent_rules in # (((
3103 yes) AM_DEFAULT_VERBOSITY=0;;
3104 no) AM_DEFAULT_VERBOSITY=1;;
3105 *) AM_DEFAULT_VERBOSITY=1;;
3107 am_make=${MAKE-make}
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3109 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3110 if ${am_cv_make_support_nested_variables+:} false; then :
3111 $as_echo_n "(cached) " >&6
3113 if $as_echo 'TRUE=$(BAR$(V))
3119 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3120 am_cv_make_support_nested_variables=yes
3122 am_cv_make_support_nested_variables=no
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3126 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3127 if test $am_cv_make_support_nested_variables = yes; then
3129 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3131 AM_V=$AM_DEFAULT_VERBOSITY
3132 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3136 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3137 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3138 # is not polluted with repeated "-I."
3139 am__isrc=' -I$(srcdir)'
3140 # test to see if srcdir already configured
3141 if test -f $srcdir/config.status; then
3142 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3146 # test whether we have cygpath
3147 if test -z "$CYGPATH_W"; then
3148 if (cygpath --version) >/dev/null 2>/dev/null; then
3149 CYGPATH_W='cygpath -w'
3156 # Define the identity of the package.
3157 PACKAGE='krb5-strength'
3161 cat >>confdefs.h <<_ACEOF
3162 #define PACKAGE "$PACKAGE"
3166 cat >>confdefs.h <<_ACEOF
3167 #define VERSION "$VERSION"
3170 # Some tools Automake needs.
3172 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3175 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3178 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3181 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3184 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3186 # For better backward compatibility. To be removed once Automake 1.9.x
3187 # dies out for good. For more background, see:
3188 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3189 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3190 mkdir_p='$(MKDIR_P)'
3192 # We need awk for the "check" target (and possibly the TAP driver). The
3193 # system "awk" is bad on some platforms.
3194 # Always define AMTAR for backward compatibility. Yes, it's still used
3195 # in the wild :-( We should find a proper way to deprecate it ...
3199 # We'll loop over all known methods to create a tar archive until one works.
3200 _am_tools='gnutar pax cpio none'
3202 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3209 # POSIX will say in a future version that running "rm -f" with no argument
3210 # is OK; and we want to be able to make that assumption in our Makefile
3211 # recipes. So use an aggressive probe to check that the usage we want is
3212 # actually supported "in the wild" to an acceptable degree.
3213 # See automake bug#10828.
3214 # To make any issue more visible, cause the running configure to be aborted
3215 # by default if the 'rm' program in use doesn't match our expectations; the
3216 # user can still override this though.
3217 if rm -f && rm -fr && rm -rf; then : OK; else
3221 Your 'rm' program seems unable to run without file operands specified
3222 on the command line, even when the '-f' option is present. This is contrary
3223 to the behaviour of most rm programs out there, and not conforming with
3224 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3226 Please tell bug-automake@gnu.org about your system, including the value
3227 of your $PATH and any error possibly output before this message. This
3228 can help us improve future automake versions.
3231 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3232 echo 'Configuration will proceed anyway, since you have set the' >&2
3233 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3237 Aborting the configuration process, to ensure you take notice of the issue.
3239 You can download and install GNU coreutils to get an 'rm' implementation
3240 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3242 If you want to complete the configuration process using your problematic
3243 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3244 to "yes", and re-run configure.
3247 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3253 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3254 # Check whether --enable-maintainer-mode was given.
3255 if test "${enable_maintainer_mode+set}" = set; then :
3256 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3258 USE_MAINTAINER_MODE=no
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3262 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3263 if test $USE_MAINTAINER_MODE = yes; then
3264 MAINTAINER_MODE_TRUE=
3265 MAINTAINER_MODE_FALSE='#'
3267 MAINTAINER_MODE_TRUE='#'
3268 MAINTAINER_MODE_FALSE=
3271 MAINT=$MAINTAINER_MODE_TRUE
3279 ac_cpp='$CPP $CPPFLAGS'
3280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3283 if test -n "$ac_tool_prefix"; then
3284 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3285 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3287 $as_echo_n "checking for $ac_word... " >&6; }
3288 if ${ac_cv_prog_CC+:} false; then :
3289 $as_echo_n "(cached) " >&6
3291 if test -n "$CC"; then
3292 ac_cv_prog_CC="$CC" # Let the user override the test.
3294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3298 test -z "$as_dir" && as_dir=.
3299 for ac_exec_ext in '' $ac_executable_extensions; do
3300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3301 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3312 if test -n "$CC"; then
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3314 $as_echo "$CC" >&6; }
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3317 $as_echo "no" >&6; }
3322 if test -z "$ac_cv_prog_CC"; then
3324 # Extract the first word of "gcc", so it can be a program name with args.
3325 set dummy gcc; ac_word=$2
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3327 $as_echo_n "checking for $ac_word... " >&6; }
3328 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3329 $as_echo_n "(cached) " >&6
3331 if test -n "$ac_ct_CC"; then
3332 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3338 test -z "$as_dir" && as_dir=.
3339 for ac_exec_ext in '' $ac_executable_extensions; do
3340 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3341 ac_cv_prog_ac_ct_CC="gcc"
3342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3351 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3352 if test -n "$ac_ct_CC"; then
3353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3354 $as_echo "$ac_ct_CC" >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3357 $as_echo "no" >&6; }
3360 if test "x$ac_ct_CC" = x; then
3363 case $cross_compiling:$ac_tool_warned in
3365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3367 ac_tool_warned=yes ;;
3375 if test -z "$CC"; then
3376 if test -n "$ac_tool_prefix"; then
3377 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3378 set dummy ${ac_tool_prefix}cc; ac_word=$2
3379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3380 $as_echo_n "checking for $ac_word... " >&6; }
3381 if ${ac_cv_prog_CC+:} false; then :
3382 $as_echo_n "(cached) " >&6
3384 if test -n "$CC"; then
3385 ac_cv_prog_CC="$CC" # Let the user override the test.
3387 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3391 test -z "$as_dir" && as_dir=.
3392 for ac_exec_ext in '' $ac_executable_extensions; do
3393 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3394 ac_cv_prog_CC="${ac_tool_prefix}cc"
3395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3405 if test -n "$CC"; then
3406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3407 $as_echo "$CC" >&6; }
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3410 $as_echo "no" >&6; }
3416 if test -z "$CC"; then
3417 # Extract the first word of "cc", so it can be a program name with args.
3418 set dummy cc; ac_word=$2
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3420 $as_echo_n "checking for $ac_word... " >&6; }
3421 if ${ac_cv_prog_CC+:} false; then :
3422 $as_echo_n "(cached) " >&6
3424 if test -n "$CC"; then
3425 ac_cv_prog_CC="$CC" # Let the user override the test.
3428 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3432 test -z "$as_dir" && as_dir=.
3433 for ac_exec_ext in '' $ac_executable_extensions; do
3434 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3435 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3436 ac_prog_rejected=yes
3440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3447 if test $ac_prog_rejected = yes; then
3448 # We found a bogon in the path, so make sure we never use it.
3449 set dummy $ac_cv_prog_CC
3451 if test $# != 0; then
3452 # We chose a different compiler from the bogus one.
3453 # However, it has the same basename, so the bogon will be chosen
3454 # first if we set CC to just the basename; use the full file name.
3456 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3462 if test -n "$CC"; then
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3464 $as_echo "$CC" >&6; }
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3467 $as_echo "no" >&6; }
3472 if test -z "$CC"; then
3473 if test -n "$ac_tool_prefix"; then
3474 for ac_prog in cl.exe
3476 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3477 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3479 $as_echo_n "checking for $ac_word... " >&6; }
3480 if ${ac_cv_prog_CC+:} false; then :
3481 $as_echo_n "(cached) " >&6
3483 if test -n "$CC"; then
3484 ac_cv_prog_CC="$CC" # Let the user override the test.
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3490 test -z "$as_dir" && as_dir=.
3491 for ac_exec_ext in '' $ac_executable_extensions; do
3492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3493 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3504 if test -n "$CC"; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3506 $as_echo "$CC" >&6; }
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3513 test -n "$CC" && break
3516 if test -z "$CC"; then
3518 for ac_prog in cl.exe
3520 # Extract the first word of "$ac_prog", so it can be a program name with args.
3521 set dummy $ac_prog; ac_word=$2
3522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3523 $as_echo_n "checking for $ac_word... " >&6; }
3524 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3525 $as_echo_n "(cached) " >&6
3527 if test -n "$ac_ct_CC"; then
3528 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3534 test -z "$as_dir" && as_dir=.
3535 for ac_exec_ext in '' $ac_executable_extensions; do
3536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3537 ac_cv_prog_ac_ct_CC="$ac_prog"
3538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3547 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3548 if test -n "$ac_ct_CC"; then
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3550 $as_echo "$ac_ct_CC" >&6; }
3552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3553 $as_echo "no" >&6; }
3557 test -n "$ac_ct_CC" && break
3560 if test "x$ac_ct_CC" = x; then
3563 case $cross_compiling:$ac_tool_warned in
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3566 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3567 ac_tool_warned=yes ;;
3576 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3577 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3578 as_fn_error $? "no acceptable C compiler found in \$PATH
3579 See \`config.log' for more details" "$LINENO" 5; }
3581 # Provide some information about the compiler.
3582 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3585 for ac_option in --version -v -V -qversion; do
3586 { { ac_try="$ac_compiler $ac_option >&5"
3588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3589 *) ac_try_echo=$ac_try;;
3591 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3592 $as_echo "$ac_try_echo"; } >&5
3593 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3595 if test -s conftest.err; then
3597 ... rest of stderr output deleted ...
3598 10q' conftest.err >conftest.er1
3599 cat conftest.er1 >&5
3601 rm -f conftest.er1 conftest.err
3602 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3603 test $ac_status = 0; }
3606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3607 /* end confdefs.h. */
3617 ac_clean_files_save=$ac_clean_files
3618 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3619 # Try to create an executable without -o first, disregard a.out.
3620 # It will help us diagnose broken compilers, and finding out an intuition
3622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3623 $as_echo_n "checking whether the C compiler works... " >&6; }
3624 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3626 # The possible output files:
3627 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3630 for ac_file in $ac_files
3633 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3634 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3639 if { { ac_try="$ac_link_default"
3641 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3642 *) ac_try_echo=$ac_try;;
3644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3645 $as_echo "$ac_try_echo"; } >&5
3646 (eval "$ac_link_default") 2>&5
3648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3649 test $ac_status = 0; }; then :
3650 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3651 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3652 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3653 # so that the user can short-circuit this test for compilers unknown to
3655 for ac_file in $ac_files ''
3657 test -f "$ac_file" || continue
3659 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3662 # We found the default executable, but exeext='' is most
3666 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3668 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3670 # We set ac_cv_exeext here because the later test for it is not
3671 # safe: cross compilers may not add the suffix if given an `-o'
3672 # argument, so we may need to know it at that point already.
3673 # Even if this section looks crufty: it has the advantage of
3680 test "$ac_cv_exeext" = no && ac_cv_exeext=
3685 if test -z "$ac_file"; then :
3686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3687 $as_echo "no" >&6; }
3688 $as_echo "$as_me: failed program was:" >&5
3689 sed 's/^/| /' conftest.$ac_ext >&5
3691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3693 as_fn_error 77 "C compiler cannot create executables
3694 See \`config.log' for more details" "$LINENO" 5; }
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3697 $as_echo "yes" >&6; }
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3700 $as_echo_n "checking for C compiler default output file name... " >&6; }
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3702 $as_echo "$ac_file" >&6; }
3703 ac_exeext=$ac_cv_exeext
3705 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3706 ac_clean_files=$ac_clean_files_save
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3708 $as_echo_n "checking for suffix of executables... " >&6; }
3709 if { { ac_try="$ac_link"
3711 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3712 *) ac_try_echo=$ac_try;;
3714 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3715 $as_echo "$ac_try_echo"; } >&5
3716 (eval "$ac_link") 2>&5
3718 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3719 test $ac_status = 0; }; then :
3720 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3721 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3722 # work properly (i.e., refer to `conftest.exe'), while it won't with
3724 for ac_file in conftest.exe conftest conftest.*; do
3725 test -f "$ac_file" || continue
3727 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3728 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3736 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3737 See \`config.log' for more details" "$LINENO" 5; }
3739 rm -f conftest conftest$ac_cv_exeext
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3741 $as_echo "$ac_cv_exeext" >&6; }
3743 rm -f conftest.$ac_ext
3744 EXEEXT=$ac_cv_exeext
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3752 FILE *f = fopen ("conftest.out", "w");
3753 return ferror (f) || fclose (f) != 0;
3759 ac_clean_files="$ac_clean_files conftest.out"
3760 # Check that the compiler produces executables we can run. If not, either
3761 # the compiler is broken, or we cross compile.
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3763 $as_echo_n "checking whether we are cross compiling... " >&6; }
3764 if test "$cross_compiling" != yes; then
3765 { { ac_try="$ac_link"
3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768 *) ac_try_echo=$ac_try;;
3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 $as_echo "$ac_try_echo"; } >&5
3772 (eval "$ac_link") 2>&5
3774 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3775 test $ac_status = 0; }
3776 if { ac_try='./conftest$ac_cv_exeext'
3777 { { case "(($ac_try" in
3778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3779 *) ac_try_echo=$ac_try;;
3781 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3782 $as_echo "$ac_try_echo"; } >&5
3783 (eval "$ac_try") 2>&5
3785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3786 test $ac_status = 0; }; }; then
3789 if test "$cross_compiling" = maybe; then
3792 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3793 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3794 as_fn_error $? "cannot run C compiled programs.
3795 If you meant to cross compile, use \`--host'.
3796 See \`config.log' for more details" "$LINENO" 5; }
3800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3801 $as_echo "$cross_compiling" >&6; }
3803 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3804 ac_clean_files=$ac_clean_files_save
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3806 $as_echo_n "checking for suffix of object files... " >&6; }
3807 if ${ac_cv_objext+:} false; then :
3808 $as_echo_n "(cached) " >&6
3810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3811 /* end confdefs.h. */
3821 rm -f conftest.o conftest.obj
3822 if { { ac_try="$ac_compile"
3824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3825 *) ac_try_echo=$ac_try;;
3827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3828 $as_echo "$ac_try_echo"; } >&5
3829 (eval "$ac_compile") 2>&5
3831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3832 test $ac_status = 0; }; then :
3833 for ac_file in conftest.o conftest.obj conftest.*; do
3834 test -f "$ac_file" || continue;
3836 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3837 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3842 $as_echo "$as_me: failed program was:" >&5
3843 sed 's/^/| /' conftest.$ac_ext >&5
3845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3847 as_fn_error $? "cannot compute suffix of object files: cannot compile
3848 See \`config.log' for more details" "$LINENO" 5; }
3850 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3853 $as_echo "$ac_cv_objext" >&6; }
3854 OBJEXT=$ac_cv_objext
3856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3857 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3858 if ${ac_cv_c_compiler_gnu+:} false; then :
3859 $as_echo_n "(cached) " >&6
3861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3875 if ac_fn_c_try_compile "$LINENO"; then :
3880 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3881 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3885 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3886 if test $ac_compiler_gnu = yes; then
3891 ac_test_CFLAGS=${CFLAGS+set}
3892 ac_save_CFLAGS=$CFLAGS
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3894 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3895 if ${ac_cv_prog_cc_g+:} false; then :
3896 $as_echo_n "(cached) " >&6
3898 ac_save_c_werror_flag=$ac_c_werror_flag
3899 ac_c_werror_flag=yes
3902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3903 /* end confdefs.h. */
3913 if ac_fn_c_try_compile "$LINENO"; then :
3917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3918 /* end confdefs.h. */
3928 if ac_fn_c_try_compile "$LINENO"; then :
3931 ac_c_werror_flag=$ac_save_c_werror_flag
3933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3934 /* end confdefs.h. */
3944 if ac_fn_c_try_compile "$LINENO"; then :
3947 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 ac_c_werror_flag=$ac_save_c_werror_flag
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3955 $as_echo "$ac_cv_prog_cc_g" >&6; }
3956 if test "$ac_test_CFLAGS" = set; then
3957 CFLAGS=$ac_save_CFLAGS
3958 elif test $ac_cv_prog_cc_g = yes; then
3959 if test "$GCC" = yes; then
3965 if test "$GCC" = yes; then
3971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3972 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3973 if ${ac_cv_prog_cc_c89+:} false; then :
3974 $as_echo_n "(cached) " >&6
3976 ac_cv_prog_cc_c89=no
3978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3979 /* end confdefs.h. */
3983 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3984 struct buf { int x; };
3985 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3986 static char *e (p, i)
3992 static char *f (char * (*g) (char **, int), char **p, ...)
3997 s = g (p, va_arg (v,int));
4002 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4003 function prototypes and stuff, but not '\xHH' hex character constants.
4004 These don't provoke an error unfortunately, instead are silently treated
4005 as 'x'. The following induces an error, until -std is added to get
4006 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4007 array size at least. It's necessary to write '\x00'==0 to get something
4008 that's true only with -std. */
4009 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4011 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4012 inside strings and character constants. */
4014 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4016 int test (int i, double x);
4017 struct s1 {int (*f) (int a);};
4018 struct s2 {int (*f) (double a);};
4019 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4025 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4030 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4031 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4033 CC="$ac_save_CC $ac_arg"
4034 if ac_fn_c_try_compile "$LINENO"; then :
4035 ac_cv_prog_cc_c89=$ac_arg
4037 rm -f core conftest.err conftest.$ac_objext
4038 test "x$ac_cv_prog_cc_c89" != "xno" && break
4040 rm -f conftest.$ac_ext
4045 case "x$ac_cv_prog_cc_c89" in
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4048 $as_echo "none needed" >&6; } ;;
4050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4051 $as_echo "unsupported" >&6; } ;;
4053 CC="$CC $ac_cv_prog_cc_c89"
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4055 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4057 if test "x$ac_cv_prog_cc_c89" != xno; then :
4062 ac_cpp='$CPP $CPPFLAGS'
4063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4068 ac_cpp='$CPP $CPPFLAGS'
4069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4073 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4074 if ${am_cv_prog_cc_c_o+:} false; then :
4075 $as_echo_n "(cached) " >&6
4077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4078 /* end confdefs.h. */
4088 # Make sure it works both with $CC and with simple cc.
4089 # Following AC_PROG_CC_C_O, we do the test twice because some
4090 # compilers refuse to overwrite an existing .o file with -o,
4091 # though they will create one.
4092 am_cv_prog_cc_c_o=yes
4094 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4095 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4097 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4098 (exit $ac_status); } \
4099 && test -f conftest2.$ac_objext; then
4102 am_cv_prog_cc_c_o=no
4106 rm -f core conftest*
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4110 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4111 if test "$am_cv_prog_cc_c_o" != yes; then
4112 # Losing compiler, so override with the script.
4113 # FIXME: It is wrong to rewrite CC.
4114 # But if we don't then we get into trouble of one sort or another.
4115 # A longer-term fix would be to have automake use am__CC in this case,
4116 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4117 CC="$am_aux_dir/compile $CC"
4120 ac_cpp='$CPP $CPPFLAGS'
4121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4125 DEPDIR="${am__leading_dot}deps"
4127 ac_config_commands="$ac_config_commands depfiles"
4130 am_make=${MAKE-make}
4131 cat > confinc << 'END'
4133 @echo this is the am__doit target
4136 # If we don't find an include directive, just comment out the code.
4137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
4138 $as_echo_n "checking for style of include used by $am_make... " >&6; }
4142 # First try GNU make style include.
4143 echo "include confinc" > confmf
4144 # Ignore all kinds of additional output from 'make'.
4145 case `$am_make -s -f confmf 2> /dev/null` in #(
4146 *the\ am__doit\ target*)
4152 # Now try BSD make style include.
4153 if test "$am__include" = "#"; then
4154 echo '.include "confinc"' > confmf
4155 case `$am_make -s -f confmf 2> /dev/null` in #(
4156 *the\ am__doit\ target*)
4157 am__include=.include
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
4166 $as_echo "$_am_result" >&6; }
4167 rm -f confinc confmf
4169 # Check whether --enable-dependency-tracking was given.
4170 if test "${enable_dependency_tracking+set}" = set; then :
4171 enableval=$enable_dependency_tracking;
4174 if test "x$enable_dependency_tracking" != xno; then
4175 am_depcomp="$ac_aux_dir/depcomp"
4179 if test "x$enable_dependency_tracking" != xno; then
4189 depcc="$CC" am_compiler_list=
4191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4192 $as_echo_n "checking dependency style of $depcc... " >&6; }
4193 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4194 $as_echo_n "(cached) " >&6
4196 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4197 # We make a subdir and do the tests there. Otherwise we can end up
4198 # making bogus files that we don't know about and never remove. For
4199 # instance it was reported that on HP-UX the gcc test will end up
4200 # making a dummy file named 'D' -- because '-MD' means "put the output
4204 # Copy depcomp to subdir because otherwise we won't find it if we're
4205 # using a relative directory.
4206 cp "$am_depcomp" conftest.dir
4208 # We will build objects and dependencies in a subdirectory because
4209 # it helps to detect inapplicable dependency modes. For instance
4210 # both Tru64's cc and ICC support -MD to output dependencies as a
4211 # side effect of compilation, but ICC will put the dependencies in
4212 # the current directory while Tru64 will put them in the object
4216 am_cv_CC_dependencies_compiler_type=none
4217 if test "$am_compiler_list" = ""; then
4218 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4221 case " $depcc " in #(
4222 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4225 for depmode in $am_compiler_list; do
4226 # Setup a source with many dependencies, because some compilers
4227 # like to wrap large dependency lists on column 80 (with \), and
4228 # we should not choose a depcomp mode which is confused by this.
4230 # We need to recreate these files for each test, as the compiler may
4231 # overwrite some of them when testing with obscure command lines.
4232 # This happens at least with the AIX C compiler.
4234 for i in 1 2 3 4 5 6; do
4235 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4236 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4237 # Solaris 10 /bin/sh.
4238 echo '/* dummy */' > sub/conftst$i.h
4240 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4242 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4243 # mode. It turns out that the SunPro C++ compiler does not properly
4244 # handle '-M -o', and we need to detect this. Also, some Intel
4245 # versions had trouble with output in subdirs.
4246 am__obj=sub/conftest.${OBJEXT-o}
4247 am__minus_obj="-o $am__obj"
4250 # This depmode causes a compiler race in universal mode.
4251 test "$am__universal" = false || continue
4254 # After this tag, mechanisms are not by side-effect, so they'll
4255 # only be used when explicitly requested.
4256 if test "x$enable_dependency_tracking" = xyes; then
4262 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4263 # This compiler won't grok '-c -o', but also, the minuso test has
4264 # not run yet. These depmodes are late enough in the game, and
4265 # so weak that their functioning should not be impacted.
4266 am__obj=conftest.${OBJEXT-o}
4271 if depmode=$depmode \
4272 source=sub/conftest.c object=$am__obj \
4273 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4274 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4275 >/dev/null 2>conftest.err &&
4276 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4277 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4278 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4279 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4280 # icc doesn't choke on unknown options, it will just issue warnings
4281 # or remarks (even with -Werror). So we grep stderr for any message
4282 # that says an option was ignored or not supported.
4283 # When given -MP, icc 7.0 and 7.1 complain thusly:
4284 # icc: Command line warning: ignoring option '-M'; no argument required
4285 # The diagnosis changed in icc 8.0:
4286 # icc: Command line remark: option '-MP' not supported
4287 if (grep 'ignoring option' conftest.err ||
4288 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4289 am_cv_CC_dependencies_compiler_type=$depmode
4298 am_cv_CC_dependencies_compiler_type=none
4302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4303 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4304 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4307 test "x$enable_dependency_tracking" != xno \
4308 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4310 am__fastdepCC_FALSE='#'
4312 am__fastdepCC_TRUE='#'
4313 am__fastdepCC_FALSE=
4319 ac_cpp='$CPP $CPPFLAGS'
4320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4324 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4325 # On Suns, sometimes $CPP names a directory.
4326 if test -n "$CPP" && test -d "$CPP"; then
4329 if test -z "$CPP"; then
4330 if ${ac_cv_prog_CPP+:} false; then :
4331 $as_echo_n "(cached) " >&6
4333 # Double quotes because CPP needs to be expanded
4334 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4337 for ac_c_preproc_warn_flag in '' yes
4339 # Use a header file that comes with gcc, so configuring glibc
4340 # with a fresh cross-compiler works.
4341 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4342 # <limits.h> exists even on freestanding compilers.
4343 # On the NeXT, cc -E runs the code through the compiler's parser,
4344 # not just through cpp. "Syntax error" is here to catch this case.
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4348 # include <limits.h>
4350 # include <assert.h>
4354 if ac_fn_c_try_cpp "$LINENO"; then :
4357 # Broken: fails on valid input.
4360 rm -f conftest.err conftest.i conftest.$ac_ext
4362 # OK, works on sane cases. Now check whether nonexistent headers
4363 # can be detected and how.
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4365 /* end confdefs.h. */
4366 #include <ac_nonexistent.h>
4368 if ac_fn_c_try_cpp "$LINENO"; then :
4369 # Broken: success on invalid input.
4372 # Passes both tests.
4376 rm -f conftest.err conftest.i conftest.$ac_ext
4379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4380 rm -f conftest.i conftest.err conftest.$ac_ext
4381 if $ac_preproc_ok; then :
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4394 $as_echo "$CPP" >&6; }
4396 for ac_c_preproc_warn_flag in '' yes
4398 # Use a header file that comes with gcc, so configuring glibc
4399 # with a fresh cross-compiler works.
4400 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4401 # <limits.h> exists even on freestanding compilers.
4402 # On the NeXT, cc -E runs the code through the compiler's parser,
4403 # not just through cpp. "Syntax error" is here to catch this case.
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4405 /* end confdefs.h. */
4407 # include <limits.h>
4409 # include <assert.h>
4413 if ac_fn_c_try_cpp "$LINENO"; then :
4416 # Broken: fails on valid input.
4419 rm -f conftest.err conftest.i conftest.$ac_ext
4421 # OK, works on sane cases. Now check whether nonexistent headers
4422 # can be detected and how.
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4424 /* end confdefs.h. */
4425 #include <ac_nonexistent.h>
4427 if ac_fn_c_try_cpp "$LINENO"; then :
4428 # Broken: success on invalid input.
4431 # Passes both tests.
4435 rm -f conftest.err conftest.i conftest.$ac_ext
4438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4439 rm -f conftest.i conftest.err conftest.$ac_ext
4440 if $ac_preproc_ok; then :
4443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4445 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4446 See \`config.log' for more details" "$LINENO" 5; }
4450 ac_cpp='$CPP $CPPFLAGS'
4451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4457 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4458 if ${ac_cv_path_GREP+:} false; then :
4459 $as_echo_n "(cached) " >&6
4461 if test -z "$GREP"; then
4462 ac_path_GREP_found=false
4463 # Loop through the user's path and test for each of PROGNAME-LIST
4464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4465 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4468 test -z "$as_dir" && as_dir=.
4469 for ac_prog in grep ggrep; do
4470 for ac_exec_ext in '' $ac_executable_extensions; do
4471 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4472 as_fn_executable_p "$ac_path_GREP" || continue
4473 # Check for GNU ac_path_GREP and select it if it is found.
4474 # Check for GNU $ac_path_GREP
4475 case `"$ac_path_GREP" --version 2>&1` in
4477 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4480 $as_echo_n 0123456789 >"conftest.in"
4483 cat "conftest.in" "conftest.in" >"conftest.tmp"
4484 mv "conftest.tmp" "conftest.in"
4485 cp "conftest.in" "conftest.nl"
4486 $as_echo 'GREP' >> "conftest.nl"
4487 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4489 as_fn_arith $ac_count + 1 && ac_count=$as_val
4490 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4491 # Best one so far, save it but keep looking for a better one
4492 ac_cv_path_GREP="$ac_path_GREP"
4493 ac_path_GREP_max=$ac_count
4495 # 10*(2^10) chars as input seems more than enough
4496 test $ac_count -gt 10 && break
4498 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4501 $ac_path_GREP_found && break 3
4506 if test -z "$ac_cv_path_GREP"; then
4507 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4510 ac_cv_path_GREP=$GREP
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4515 $as_echo "$ac_cv_path_GREP" >&6; }
4516 GREP="$ac_cv_path_GREP"
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4520 $as_echo_n "checking for egrep... " >&6; }
4521 if ${ac_cv_path_EGREP+:} false; then :
4522 $as_echo_n "(cached) " >&6
4524 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4525 then ac_cv_path_EGREP="$GREP -E"
4527 if test -z "$EGREP"; then
4528 ac_path_EGREP_found=false
4529 # Loop through the user's path and test for each of PROGNAME-LIST
4530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4531 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4534 test -z "$as_dir" && as_dir=.
4535 for ac_prog in egrep; do
4536 for ac_exec_ext in '' $ac_executable_extensions; do
4537 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4538 as_fn_executable_p "$ac_path_EGREP" || continue
4539 # Check for GNU ac_path_EGREP and select it if it is found.
4540 # Check for GNU $ac_path_EGREP
4541 case `"$ac_path_EGREP" --version 2>&1` in
4543 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4546 $as_echo_n 0123456789 >"conftest.in"
4549 cat "conftest.in" "conftest.in" >"conftest.tmp"
4550 mv "conftest.tmp" "conftest.in"
4551 cp "conftest.in" "conftest.nl"
4552 $as_echo 'EGREP' >> "conftest.nl"
4553 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4554 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4555 as_fn_arith $ac_count + 1 && ac_count=$as_val
4556 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4557 # Best one so far, save it but keep looking for a better one
4558 ac_cv_path_EGREP="$ac_path_EGREP"
4559 ac_path_EGREP_max=$ac_count
4561 # 10*(2^10) chars as input seems more than enough
4562 test $ac_count -gt 10 && break
4564 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4567 $ac_path_EGREP_found && break 3
4572 if test -z "$ac_cv_path_EGREP"; then
4573 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4576 ac_cv_path_EGREP=$EGREP
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4582 $as_echo "$ac_cv_path_EGREP" >&6; }
4583 EGREP="$ac_cv_path_EGREP"
4586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4587 $as_echo_n "checking for ANSI C header files... " >&6; }
4588 if ${ac_cv_header_stdc+:} false; then :
4589 $as_echo_n "(cached) " >&6
4591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4592 /* end confdefs.h. */
4606 if ac_fn_c_try_compile "$LINENO"; then :
4607 ac_cv_header_stdc=yes
4609 ac_cv_header_stdc=no
4611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4613 if test $ac_cv_header_stdc = yes; then
4614 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4616 /* end confdefs.h. */
4620 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4621 $EGREP "memchr" >/dev/null 2>&1; then :
4624 ac_cv_header_stdc=no
4630 if test $ac_cv_header_stdc = yes; then
4631 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4633 /* end confdefs.h. */
4637 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4638 $EGREP "free" >/dev/null 2>&1; then :
4641 ac_cv_header_stdc=no
4647 if test $ac_cv_header_stdc = yes; then
4648 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4649 if test "$cross_compiling" = yes; then :
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 #if ((' ' & 0x0FF) == 0x020)
4657 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4658 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4660 # define ISLOWER(c) \
4661 (('a' <= (c) && (c) <= 'i') \
4662 || ('j' <= (c) && (c) <= 'r') \
4663 || ('s' <= (c) && (c) <= 'z'))
4664 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4667 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4672 for (i = 0; i < 256; i++)
4673 if (XOR (islower (i), ISLOWER (i))
4674 || toupper (i) != TOUPPER (i))
4679 if ac_fn_c_try_run "$LINENO"; then :
4682 ac_cv_header_stdc=no
4684 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4685 conftest.$ac_objext conftest.beam conftest.$ac_ext
4690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4691 $as_echo "$ac_cv_header_stdc" >&6; }
4692 if test $ac_cv_header_stdc = yes; then
4694 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4698 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4699 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4700 inttypes.h stdint.h unistd.h
4702 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4703 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4705 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4706 cat >>confdefs.h <<_ACEOF
4707 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4716 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4717 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4724 if test "$MINIX" = yes; then
4726 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4729 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4732 $as_echo "#define _MINIX 1" >>confdefs.h
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4738 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4739 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4740 $as_echo_n "(cached) " >&6
4742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4743 /* end confdefs.h. */
4745 # define __EXTENSIONS__ 1
4746 $ac_includes_default
4755 if ac_fn_c_try_compile "$LINENO"; then :
4756 ac_cv_safe_to_define___extensions__=yes
4758 ac_cv_safe_to_define___extensions__=no
4760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4763 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4764 test $ac_cv_safe_to_define___extensions__ = yes &&
4765 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4767 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4769 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4771 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4773 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler is Clang" >&5
4777 $as_echo_n "checking if the compiler is Clang... " >&6; }
4778 if ${rra_cv_prog_cc_clang+:} false; then :
4779 $as_echo_n "(cached) " >&6
4781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4782 /* end confdefs.h. */
4789 if ac_fn_c_try_compile "$LINENO"; then :
4790 rra_cv_prog_cc_clang=yes
4792 rra_cv_prog_cc_clang=no
4794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_prog_cc_clang" >&5
4797 $as_echo "$rra_cv_prog_cc_clang" >&6; }
4798 if test x"$rra_cv_prog_cc_clang" = xyes; then :
4802 if test x"$CLANG" = xyes; then :
4803 WARNINGS_CFLAGS="-Werror"
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Weverything" >&5
4806 $as_echo_n "checking if $CC supports -Weverything... " >&6; }
4807 if ${rra_cv_compiler_c__Weverything+:} false; then :
4808 $as_echo_n "(cached) " >&6
4811 case -Weverything in #(
4813 CFLAGS="$CFLAGS `echo "-Weverything" | sed 's/-Wno-/-W/'`" ;; #(
4815 CFLAGS="$CFLAGS -Weverything" ;; #(
4819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4820 /* end confdefs.h. */
4830 if ac_fn_c_try_compile "$LINENO"; then :
4831 rra_cv_compiler_c__Weverything=yes
4833 rra_cv_compiler_c__Weverything=no
4835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Weverything" >&5
4840 $as_echo "$rra_cv_compiler_c__Weverything" >&6; }
4841 if test x"$rra_cv_compiler_c__Weverything" = xyes; then :
4842 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Weverything"
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-padded" >&5
4845 $as_echo_n "checking if $CC supports -Wno-padded... " >&6; }
4846 if ${rra_cv_compiler_c__Wno_padded+:} false; then :
4847 $as_echo_n "(cached) " >&6
4850 case -Wno-padded in #(
4852 CFLAGS="$CFLAGS `echo "-Wno-padded" | sed 's/-Wno-/-W/'`" ;; #(
4854 CFLAGS="$CFLAGS -Wno-padded" ;; #(
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4869 if ac_fn_c_try_compile "$LINENO"; then :
4870 rra_cv_compiler_c__Wno_padded=yes
4872 rra_cv_compiler_c__Wno_padded=no
4874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_padded" >&5
4879 $as_echo "$rra_cv_compiler_c__Wno_padded" >&6; }
4880 if test x"$rra_cv_compiler_c__Wno_padded" = xyes; then :
4881 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-padded"
4884 WARNINGS_CFLAGS="-g -O2 -D_FORTIFY_SOURCE=2 -Werror"
4886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-overflow" >&5
4887 $as_echo_n "checking if $CC supports -fstrict-overflow... " >&6; }
4888 if ${rra_cv_compiler_c__fstrict_overflow+:} false; then :
4889 $as_echo_n "(cached) " >&6
4892 case -fstrict-overflow in #(
4894 CFLAGS="$CFLAGS `echo "-fstrict-overflow" | sed 's/-Wno-/-W/'`" ;; #(
4896 CFLAGS="$CFLAGS -fstrict-overflow" ;; #(
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4911 if ac_fn_c_try_compile "$LINENO"; then :
4912 rra_cv_compiler_c__fstrict_overflow=yes
4914 rra_cv_compiler_c__fstrict_overflow=no
4916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_overflow" >&5
4921 $as_echo "$rra_cv_compiler_c__fstrict_overflow" >&6; }
4922 if test x"$rra_cv_compiler_c__fstrict_overflow" = xyes; then :
4923 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-overflow"
4925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-aliasing" >&5
4926 $as_echo_n "checking if $CC supports -fstrict-aliasing... " >&6; }
4927 if ${rra_cv_compiler_c__fstrict_aliasing+:} false; then :
4928 $as_echo_n "(cached) " >&6
4931 case -fstrict-aliasing in #(
4933 CFLAGS="$CFLAGS `echo "-fstrict-aliasing" | sed 's/-Wno-/-W/'`" ;; #(
4935 CFLAGS="$CFLAGS -fstrict-aliasing" ;; #(
4939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4940 /* end confdefs.h. */
4950 if ac_fn_c_try_compile "$LINENO"; then :
4951 rra_cv_compiler_c__fstrict_aliasing=yes
4953 rra_cv_compiler_c__fstrict_aliasing=no
4955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_aliasing" >&5
4960 $as_echo "$rra_cv_compiler_c__fstrict_aliasing" >&6; }
4961 if test x"$rra_cv_compiler_c__fstrict_aliasing" = xyes; then :
4962 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-aliasing"
4964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcomments" >&5
4965 $as_echo_n "checking if $CC supports -Wcomments... " >&6; }
4966 if ${rra_cv_compiler_c__Wcomments+:} false; then :
4967 $as_echo_n "(cached) " >&6
4970 case -Wcomments in #(
4972 CFLAGS="$CFLAGS `echo "-Wcomments" | sed 's/-Wno-/-W/'`" ;; #(
4974 CFLAGS="$CFLAGS -Wcomments" ;; #(
4978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4979 /* end confdefs.h. */
4989 if ac_fn_c_try_compile "$LINENO"; then :
4990 rra_cv_compiler_c__Wcomments=yes
4992 rra_cv_compiler_c__Wcomments=no
4994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wcomments" >&5
4999 $as_echo "$rra_cv_compiler_c__Wcomments" >&6; }
5000 if test x"$rra_cv_compiler_c__Wcomments" = xyes; then :
5001 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wcomments"
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wendif-labels" >&5
5004 $as_echo_n "checking if $CC supports -Wendif-labels... " >&6; }
5005 if ${rra_cv_compiler_c__Wendif_labels+:} false; then :
5006 $as_echo_n "(cached) " >&6
5009 case -Wendif-labels in #(
5011 CFLAGS="$CFLAGS `echo "-Wendif-labels" | sed 's/-Wno-/-W/'`" ;; #(
5013 CFLAGS="$CFLAGS -Wendif-labels" ;; #(
5017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5018 /* end confdefs.h. */
5028 if ac_fn_c_try_compile "$LINENO"; then :
5029 rra_cv_compiler_c__Wendif_labels=yes
5031 rra_cv_compiler_c__Wendif_labels=no
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wendif_labels" >&5
5038 $as_echo "$rra_cv_compiler_c__Wendif_labels" >&6; }
5039 if test x"$rra_cv_compiler_c__Wendif_labels" = xyes; then :
5040 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wendif-labels"
5042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
5043 $as_echo_n "checking if $CC supports -Wall... " >&6; }
5044 if ${rra_cv_compiler_c__Wall+:} false; then :
5045 $as_echo_n "(cached) " >&6
5050 CFLAGS="$CFLAGS `echo "-Wall" | sed 's/-Wno-/-W/'`" ;; #(
5052 CFLAGS="$CFLAGS -Wall" ;; #(
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5067 if ac_fn_c_try_compile "$LINENO"; then :
5068 rra_cv_compiler_c__Wall=yes
5070 rra_cv_compiler_c__Wall=no
5072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wall" >&5
5077 $as_echo "$rra_cv_compiler_c__Wall" >&6; }
5078 if test x"$rra_cv_compiler_c__Wall" = xyes; then :
5079 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wall"
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wextra" >&5
5082 $as_echo_n "checking if $CC supports -Wextra... " >&6; }
5083 if ${rra_cv_compiler_c__Wextra+:} false; then :
5084 $as_echo_n "(cached) " >&6
5089 CFLAGS="$CFLAGS `echo "-Wextra" | sed 's/-Wno-/-W/'`" ;; #(
5091 CFLAGS="$CFLAGS -Wextra" ;; #(
5095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5096 /* end confdefs.h. */
5106 if ac_fn_c_try_compile "$LINENO"; then :
5107 rra_cv_compiler_c__Wextra=yes
5109 rra_cv_compiler_c__Wextra=no
5111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wextra" >&5
5116 $as_echo "$rra_cv_compiler_c__Wextra" >&6; }
5117 if test x"$rra_cv_compiler_c__Wextra" = xyes; then :
5118 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wextra"
5120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5121 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
5122 if ${rra_cv_compiler_c__Wformat_2+:} false; then :
5123 $as_echo_n "(cached) " >&6
5126 case -Wformat=2 in #(
5128 CFLAGS="$CFLAGS `echo "-Wformat=2" | sed 's/-Wno-/-W/'`" ;; #(
5130 CFLAGS="$CFLAGS -Wformat=2" ;; #(
5134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5135 /* end confdefs.h. */
5145 if ac_fn_c_try_compile "$LINENO"; then :
5146 rra_cv_compiler_c__Wformat_2=yes
5148 rra_cv_compiler_c__Wformat_2=no
5150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_2" >&5
5155 $as_echo "$rra_cv_compiler_c__Wformat_2" >&6; }
5156 if test x"$rra_cv_compiler_c__Wformat_2" = xyes; then :
5157 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat=2"
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-signedness" >&5
5160 $as_echo_n "checking if $CC supports -Wformat-signedness... " >&6; }
5161 if ${rra_cv_compiler_c__Wformat_signedness+:} false; then :
5162 $as_echo_n "(cached) " >&6
5165 case -Wformat-signedness in #(
5167 CFLAGS="$CFLAGS `echo "-Wformat-signedness" | sed 's/-Wno-/-W/'`" ;; #(
5169 CFLAGS="$CFLAGS -Wformat-signedness" ;; #(
5173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5174 /* end confdefs.h. */
5184 if ac_fn_c_try_compile "$LINENO"; then :
5185 rra_cv_compiler_c__Wformat_signedness=yes
5187 rra_cv_compiler_c__Wformat_signedness=no
5189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_signedness" >&5
5194 $as_echo "$rra_cv_compiler_c__Wformat_signedness" >&6; }
5195 if test x"$rra_cv_compiler_c__Wformat_signedness" = xyes; then :
5196 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-signedness"
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnull-dereference" >&5
5199 $as_echo_n "checking if $CC supports -Wnull-dereference... " >&6; }
5200 if ${rra_cv_compiler_c__Wnull_dereference+:} false; then :
5201 $as_echo_n "(cached) " >&6
5204 case -Wnull-dereference in #(
5206 CFLAGS="$CFLAGS `echo "-Wnull-dereference" | sed 's/-Wno-/-W/'`" ;; #(
5208 CFLAGS="$CFLAGS -Wnull-dereference" ;; #(
5212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5213 /* end confdefs.h. */
5223 if ac_fn_c_try_compile "$LINENO"; then :
5224 rra_cv_compiler_c__Wnull_dereference=yes
5226 rra_cv_compiler_c__Wnull_dereference=no
5228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnull_dereference" >&5
5233 $as_echo "$rra_cv_compiler_c__Wnull_dereference" >&6; }
5234 if test x"$rra_cv_compiler_c__Wnull_dereference" = xyes; then :
5235 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnull-dereference"
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
5238 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
5239 if ${rra_cv_compiler_c__Winit_self+:} false; then :
5240 $as_echo_n "(cached) " >&6
5243 case -Winit-self in #(
5245 CFLAGS="$CFLAGS `echo "-Winit-self" | sed 's/-Wno-/-W/'`" ;; #(
5247 CFLAGS="$CFLAGS -Winit-self" ;; #(
5251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5252 /* end confdefs.h. */
5262 if ac_fn_c_try_compile "$LINENO"; then :
5263 rra_cv_compiler_c__Winit_self=yes
5265 rra_cv_compiler_c__Winit_self=no
5267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winit_self" >&5
5272 $as_echo "$rra_cv_compiler_c__Winit_self" >&6; }
5273 if test x"$rra_cv_compiler_c__Winit_self" = xyes; then :
5274 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winit-self"
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wswitch-enum" >&5
5277 $as_echo_n "checking if $CC supports -Wswitch-enum... " >&6; }
5278 if ${rra_cv_compiler_c__Wswitch_enum+:} false; then :
5279 $as_echo_n "(cached) " >&6
5282 case -Wswitch-enum in #(
5284 CFLAGS="$CFLAGS `echo "-Wswitch-enum" | sed 's/-Wno-/-W/'`" ;; #(
5286 CFLAGS="$CFLAGS -Wswitch-enum" ;; #(
5290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5291 /* end confdefs.h. */
5301 if ac_fn_c_try_compile "$LINENO"; then :
5302 rra_cv_compiler_c__Wswitch_enum=yes
5304 rra_cv_compiler_c__Wswitch_enum=no
5306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wswitch_enum" >&5
5311 $as_echo "$rra_cv_compiler_c__Wswitch_enum" >&6; }
5312 if test x"$rra_cv_compiler_c__Wswitch_enum" = xyes; then :
5313 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wswitch-enum"
5315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wuninitialized" >&5
5316 $as_echo_n "checking if $CC supports -Wuninitialized... " >&6; }
5317 if ${rra_cv_compiler_c__Wuninitialized+:} false; then :
5318 $as_echo_n "(cached) " >&6
5321 case -Wuninitialized in #(
5323 CFLAGS="$CFLAGS `echo "-Wuninitialized" | sed 's/-Wno-/-W/'`" ;; #(
5325 CFLAGS="$CFLAGS -Wuninitialized" ;; #(
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5340 if ac_fn_c_try_compile "$LINENO"; then :
5341 rra_cv_compiler_c__Wuninitialized=yes
5343 rra_cv_compiler_c__Wuninitialized=no
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wuninitialized" >&5
5350 $as_echo "$rra_cv_compiler_c__Wuninitialized" >&6; }
5351 if test x"$rra_cv_compiler_c__Wuninitialized" = xyes; then :
5352 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wuninitialized"
5354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-overflow=5" >&5
5355 $as_echo_n "checking if $CC supports -Wstrict-overflow=5... " >&6; }
5356 if ${rra_cv_compiler_c__Wstrict_overflow_5+:} false; then :
5357 $as_echo_n "(cached) " >&6
5360 case -Wstrict-overflow=5 in #(
5362 CFLAGS="$CFLAGS `echo "-Wstrict-overflow=5" | sed 's/-Wno-/-W/'`" ;; #(
5364 CFLAGS="$CFLAGS -Wstrict-overflow=5" ;; #(
5368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5369 /* end confdefs.h. */
5379 if ac_fn_c_try_compile "$LINENO"; then :
5380 rra_cv_compiler_c__Wstrict_overflow_5=yes
5382 rra_cv_compiler_c__Wstrict_overflow_5=no
5384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_overflow_5" >&5
5389 $as_echo "$rra_cv_compiler_c__Wstrict_overflow_5" >&6; }
5390 if test x"$rra_cv_compiler_c__Wstrict_overflow_5" = xyes; then :
5391 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-overflow=5"
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
5394 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
5395 if ${rra_cv_compiler_c__Wmissing_format_attribute+:} false; then :
5396 $as_echo_n "(cached) " >&6
5399 case -Wmissing-format-attribute in #(
5401 CFLAGS="$CFLAGS `echo "-Wmissing-format-attribute" | sed 's/-Wno-/-W/'`" ;; #(
5403 CFLAGS="$CFLAGS -Wmissing-format-attribute" ;; #(
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5418 if ac_fn_c_try_compile "$LINENO"; then :
5419 rra_cv_compiler_c__Wmissing_format_attribute=yes
5421 rra_cv_compiler_c__Wmissing_format_attribute=no
5423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_format_attribute" >&5
5428 $as_echo "$rra_cv_compiler_c__Wmissing_format_attribute" >&6; }
5429 if test x"$rra_cv_compiler_c__Wmissing_format_attribute" = xyes; then :
5430 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-format-attribute"
5432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-cond" >&5
5433 $as_echo_n "checking if $CC supports -Wduplicated-cond... " >&6; }
5434 if ${rra_cv_compiler_c__Wduplicated_cond+:} false; then :
5435 $as_echo_n "(cached) " >&6
5438 case -Wduplicated-cond in #(
5440 CFLAGS="$CFLAGS `echo "-Wduplicated-cond" | sed 's/-Wno-/-W/'`" ;; #(
5442 CFLAGS="$CFLAGS -Wduplicated-cond" ;; #(
5446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5447 /* end confdefs.h. */
5457 if ac_fn_c_try_compile "$LINENO"; then :
5458 rra_cv_compiler_c__Wduplicated_cond=yes
5460 rra_cv_compiler_c__Wduplicated_cond=no
5462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_cond" >&5
5467 $as_echo "$rra_cv_compiler_c__Wduplicated_cond" >&6; }
5468 if test x"$rra_cv_compiler_c__Wduplicated_cond" = xyes; then :
5469 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-cond"
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrampolines" >&5
5472 $as_echo_n "checking if $CC supports -Wtrampolines... " >&6; }
5473 if ${rra_cv_compiler_c__Wtrampolines+:} false; then :
5474 $as_echo_n "(cached) " >&6
5477 case -Wtrampolines in #(
5479 CFLAGS="$CFLAGS `echo "-Wtrampolines" | sed 's/-Wno-/-W/'`" ;; #(
5481 CFLAGS="$CFLAGS -Wtrampolines" ;; #(
5485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5486 /* end confdefs.h. */
5496 if ac_fn_c_try_compile "$LINENO"; then :
5497 rra_cv_compiler_c__Wtrampolines=yes
5499 rra_cv_compiler_c__Wtrampolines=no
5501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wtrampolines" >&5
5506 $as_echo "$rra_cv_compiler_c__Wtrampolines" >&6; }
5507 if test x"$rra_cv_compiler_c__Wtrampolines" = xyes; then :
5508 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wtrampolines"
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wfloat-equal" >&5
5511 $as_echo_n "checking if $CC supports -Wfloat-equal... " >&6; }
5512 if ${rra_cv_compiler_c__Wfloat_equal+:} false; then :
5513 $as_echo_n "(cached) " >&6
5516 case -Wfloat-equal in #(
5518 CFLAGS="$CFLAGS `echo "-Wfloat-equal" | sed 's/-Wno-/-W/'`" ;; #(
5520 CFLAGS="$CFLAGS -Wfloat-equal" ;; #(
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5535 if ac_fn_c_try_compile "$LINENO"; then :
5536 rra_cv_compiler_c__Wfloat_equal=yes
5538 rra_cv_compiler_c__Wfloat_equal=no
5540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wfloat_equal" >&5
5545 $as_echo "$rra_cv_compiler_c__Wfloat_equal" >&6; }
5546 if test x"$rra_cv_compiler_c__Wfloat_equal" = xyes; then :
5547 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wfloat-equal"
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5550 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5551 if ${rra_cv_compiler_c__Wdeclaration_after_statement+:} false; then :
5552 $as_echo_n "(cached) " >&6
5555 case -Wdeclaration-after-statement in #(
5557 CFLAGS="$CFLAGS `echo "-Wdeclaration-after-statement" | sed 's/-Wno-/-W/'`" ;; #(
5559 CFLAGS="$CFLAGS -Wdeclaration-after-statement" ;; #(
5563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5564 /* end confdefs.h. */
5574 if ac_fn_c_try_compile "$LINENO"; then :
5575 rra_cv_compiler_c__Wdeclaration_after_statement=yes
5577 rra_cv_compiler_c__Wdeclaration_after_statement=no
5579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdeclaration_after_statement" >&5
5584 $as_echo "$rra_cv_compiler_c__Wdeclaration_after_statement" >&6; }
5585 if test x"$rra_cv_compiler_c__Wdeclaration_after_statement" = xyes; then :
5586 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdeclaration-after-statement"
5588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
5589 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
5590 if ${rra_cv_compiler_c__Wshadow+:} false; then :
5591 $as_echo_n "(cached) " >&6
5596 CFLAGS="$CFLAGS `echo "-Wshadow" | sed 's/-Wno-/-W/'`" ;; #(
5598 CFLAGS="$CFLAGS -Wshadow" ;; #(
5602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5603 /* end confdefs.h. */
5613 if ac_fn_c_try_compile "$LINENO"; then :
5614 rra_cv_compiler_c__Wshadow=yes
5616 rra_cv_compiler_c__Wshadow=no
5618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wshadow" >&5
5623 $as_echo "$rra_cv_compiler_c__Wshadow" >&6; }
5624 if test x"$rra_cv_compiler_c__Wshadow" = xyes; then :
5625 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wshadow"
5627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
5628 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
5629 if ${rra_cv_compiler_c__Wpointer_arith+:} false; then :
5630 $as_echo_n "(cached) " >&6
5633 case -Wpointer-arith in #(
5635 CFLAGS="$CFLAGS `echo "-Wpointer-arith" | sed 's/-Wno-/-W/'`" ;; #(
5637 CFLAGS="$CFLAGS -Wpointer-arith" ;; #(
5641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5642 /* end confdefs.h. */
5652 if ac_fn_c_try_compile "$LINENO"; then :
5653 rra_cv_compiler_c__Wpointer_arith=yes
5655 rra_cv_compiler_c__Wpointer_arith=no
5657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wpointer_arith" >&5
5662 $as_echo "$rra_cv_compiler_c__Wpointer_arith" >&6; }
5663 if test x"$rra_cv_compiler_c__Wpointer_arith" = xyes; then :
5664 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wpointer-arith"
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
5667 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
5668 if ${rra_cv_compiler_c__Wbad_function_cast+:} false; then :
5669 $as_echo_n "(cached) " >&6
5672 case -Wbad-function-cast in #(
5674 CFLAGS="$CFLAGS `echo "-Wbad-function-cast" | sed 's/-Wno-/-W/'`" ;; #(
5676 CFLAGS="$CFLAGS -Wbad-function-cast" ;; #(
5680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5681 /* end confdefs.h. */
5691 if ac_fn_c_try_compile "$LINENO"; then :
5692 rra_cv_compiler_c__Wbad_function_cast=yes
5694 rra_cv_compiler_c__Wbad_function_cast=no
5696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wbad_function_cast" >&5
5701 $as_echo "$rra_cv_compiler_c__Wbad_function_cast" >&6; }
5702 if test x"$rra_cv_compiler_c__Wbad_function_cast" = xyes; then :
5703 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wbad-function-cast"
5705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-align" >&5
5706 $as_echo_n "checking if $CC supports -Wcast-align... " >&6; }
5707 if ${rra_cv_compiler_c__Wcast_align+:} false; then :
5708 $as_echo_n "(cached) " >&6
5711 case -Wcast-align in #(
5713 CFLAGS="$CFLAGS `echo "-Wcast-align" | sed 's/-Wno-/-W/'`" ;; #(
5715 CFLAGS="$CFLAGS -Wcast-align" ;; #(
5719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5720 /* end confdefs.h. */
5730 if ac_fn_c_try_compile "$LINENO"; then :
5731 rra_cv_compiler_c__Wcast_align=yes
5733 rra_cv_compiler_c__Wcast_align=no
5735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wcast_align" >&5
5740 $as_echo "$rra_cv_compiler_c__Wcast_align" >&6; }
5741 if test x"$rra_cv_compiler_c__Wcast_align" = xyes; then :
5742 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wcast-align"
5744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
5745 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
5746 if ${rra_cv_compiler_c__Wwrite_strings+:} false; then :
5747 $as_echo_n "(cached) " >&6
5750 case -Wwrite-strings in #(
5752 CFLAGS="$CFLAGS `echo "-Wwrite-strings" | sed 's/-Wno-/-W/'`" ;; #(
5754 CFLAGS="$CFLAGS -Wwrite-strings" ;; #(
5758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5759 /* end confdefs.h. */
5769 if ac_fn_c_try_compile "$LINENO"; then :
5770 rra_cv_compiler_c__Wwrite_strings=yes
5772 rra_cv_compiler_c__Wwrite_strings=no
5774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wwrite_strings" >&5
5779 $as_echo "$rra_cv_compiler_c__Wwrite_strings" >&6; }
5780 if test x"$rra_cv_compiler_c__Wwrite_strings" = xyes; then :
5781 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wwrite-strings"
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdate-time" >&5
5784 $as_echo_n "checking if $CC supports -Wdate-time... " >&6; }
5785 if ${rra_cv_compiler_c__Wdate_time+:} false; then :
5786 $as_echo_n "(cached) " >&6
5789 case -Wdate-time in #(
5791 CFLAGS="$CFLAGS `echo "-Wdate-time" | sed 's/-Wno-/-W/'`" ;; #(
5793 CFLAGS="$CFLAGS -Wdate-time" ;; #(
5797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5798 /* end confdefs.h. */
5808 if ac_fn_c_try_compile "$LINENO"; then :
5809 rra_cv_compiler_c__Wdate_time=yes
5811 rra_cv_compiler_c__Wdate_time=no
5813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdate_time" >&5
5818 $as_echo "$rra_cv_compiler_c__Wdate_time" >&6; }
5819 if test x"$rra_cv_compiler_c__Wdate_time" = xyes; then :
5820 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdate-time"
5822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wjump-misses-init" >&5
5823 $as_echo_n "checking if $CC supports -Wjump-misses-init... " >&6; }
5824 if ${rra_cv_compiler_c__Wjump_misses_init+:} false; then :
5825 $as_echo_n "(cached) " >&6
5828 case -Wjump-misses-init in #(
5830 CFLAGS="$CFLAGS `echo "-Wjump-misses-init" | sed 's/-Wno-/-W/'`" ;; #(
5832 CFLAGS="$CFLAGS -Wjump-misses-init" ;; #(
5836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5837 /* end confdefs.h. */
5847 if ac_fn_c_try_compile "$LINENO"; then :
5848 rra_cv_compiler_c__Wjump_misses_init=yes
5850 rra_cv_compiler_c__Wjump_misses_init=no
5852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wjump_misses_init" >&5
5857 $as_echo "$rra_cv_compiler_c__Wjump_misses_init" >&6; }
5858 if test x"$rra_cv_compiler_c__Wjump_misses_init" = xyes; then :
5859 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wjump-misses-init"
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wfloat-conversion" >&5
5862 $as_echo_n "checking if $CC supports -Wfloat-conversion... " >&6; }
5863 if ${rra_cv_compiler_c__Wfloat_conversion+:} false; then :
5864 $as_echo_n "(cached) " >&6
5867 case -Wfloat-conversion in #(
5869 CFLAGS="$CFLAGS `echo "-Wfloat-conversion" | sed 's/-Wno-/-W/'`" ;; #(
5871 CFLAGS="$CFLAGS -Wfloat-conversion" ;; #(
5875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5876 /* end confdefs.h. */
5886 if ac_fn_c_try_compile "$LINENO"; then :
5887 rra_cv_compiler_c__Wfloat_conversion=yes
5889 rra_cv_compiler_c__Wfloat_conversion=no
5891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wfloat_conversion" >&5
5896 $as_echo "$rra_cv_compiler_c__Wfloat_conversion" >&6; }
5897 if test x"$rra_cv_compiler_c__Wfloat_conversion" = xyes; then :
5898 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wfloat-conversion"
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
5901 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
5902 if ${rra_cv_compiler_c__Wlogical_op+:} false; then :
5903 $as_echo_n "(cached) " >&6
5906 case -Wlogical-op in #(
5908 CFLAGS="$CFLAGS `echo "-Wlogical-op" | sed 's/-Wno-/-W/'`" ;; #(
5910 CFLAGS="$CFLAGS -Wlogical-op" ;; #(
5914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5915 /* end confdefs.h. */
5925 if ac_fn_c_try_compile "$LINENO"; then :
5926 rra_cv_compiler_c__Wlogical_op=yes
5928 rra_cv_compiler_c__Wlogical_op=no
5930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wlogical_op" >&5
5935 $as_echo "$rra_cv_compiler_c__Wlogical_op" >&6; }
5936 if test x"$rra_cv_compiler_c__Wlogical_op" = xyes; then :
5937 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wlogical-op"
5939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
5940 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
5941 if ${rra_cv_compiler_c__Wstrict_prototypes+:} false; then :
5942 $as_echo_n "(cached) " >&6
5945 case -Wstrict-prototypes in #(
5947 CFLAGS="$CFLAGS `echo "-Wstrict-prototypes" | sed 's/-Wno-/-W/'`" ;; #(
5949 CFLAGS="$CFLAGS -Wstrict-prototypes" ;; #(
5953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5954 /* end confdefs.h. */
5964 if ac_fn_c_try_compile "$LINENO"; then :
5965 rra_cv_compiler_c__Wstrict_prototypes=yes
5967 rra_cv_compiler_c__Wstrict_prototypes=no
5969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_prototypes" >&5
5974 $as_echo "$rra_cv_compiler_c__Wstrict_prototypes" >&6; }
5975 if test x"$rra_cv_compiler_c__Wstrict_prototypes" = xyes; then :
5976 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-prototypes"
5978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
5979 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
5980 if ${rra_cv_compiler_c__Wold_style_definition+:} false; then :
5981 $as_echo_n "(cached) " >&6
5984 case -Wold-style-definition in #(
5986 CFLAGS="$CFLAGS `echo "-Wold-style-definition" | sed 's/-Wno-/-W/'`" ;; #(
5988 CFLAGS="$CFLAGS -Wold-style-definition" ;; #(
5992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5993 /* end confdefs.h. */
6003 if ac_fn_c_try_compile "$LINENO"; then :
6004 rra_cv_compiler_c__Wold_style_definition=yes
6006 rra_cv_compiler_c__Wold_style_definition=no
6008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wold_style_definition" >&5
6013 $as_echo "$rra_cv_compiler_c__Wold_style_definition" >&6; }
6014 if test x"$rra_cv_compiler_c__Wold_style_definition" = xyes; then :
6015 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wold-style-definition"
6017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
6018 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
6019 if ${rra_cv_compiler_c__Wmissing_prototypes+:} false; then :
6020 $as_echo_n "(cached) " >&6
6023 case -Wmissing-prototypes in #(
6025 CFLAGS="$CFLAGS `echo "-Wmissing-prototypes" | sed 's/-Wno-/-W/'`" ;; #(
6027 CFLAGS="$CFLAGS -Wmissing-prototypes" ;; #(
6031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6032 /* end confdefs.h. */
6042 if ac_fn_c_try_compile "$LINENO"; then :
6043 rra_cv_compiler_c__Wmissing_prototypes=yes
6045 rra_cv_compiler_c__Wmissing_prototypes=no
6047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_prototypes" >&5
6052 $as_echo "$rra_cv_compiler_c__Wmissing_prototypes" >&6; }
6053 if test x"$rra_cv_compiler_c__Wmissing_prototypes" = xyes; then :
6054 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-prototypes"
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnormalized=nfc" >&5
6057 $as_echo_n "checking if $CC supports -Wnormalized=nfc... " >&6; }
6058 if ${rra_cv_compiler_c__Wnormalized_nfc+:} false; then :
6059 $as_echo_n "(cached) " >&6
6062 case -Wnormalized=nfc in #(
6064 CFLAGS="$CFLAGS `echo "-Wnormalized=nfc" | sed 's/-Wno-/-W/'`" ;; #(
6066 CFLAGS="$CFLAGS -Wnormalized=nfc" ;; #(
6070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6071 /* end confdefs.h. */
6081 if ac_fn_c_try_compile "$LINENO"; then :
6082 rra_cv_compiler_c__Wnormalized_nfc=yes
6084 rra_cv_compiler_c__Wnormalized_nfc=no
6086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnormalized_nfc" >&5
6091 $as_echo "$rra_cv_compiler_c__Wnormalized_nfc" >&6; }
6092 if test x"$rra_cv_compiler_c__Wnormalized_nfc" = xyes; then :
6093 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnormalized=nfc"
6095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpacked" >&5
6096 $as_echo_n "checking if $CC supports -Wpacked... " >&6; }
6097 if ${rra_cv_compiler_c__Wpacked+:} false; then :
6098 $as_echo_n "(cached) " >&6
6103 CFLAGS="$CFLAGS `echo "-Wpacked" | sed 's/-Wno-/-W/'`" ;; #(
6105 CFLAGS="$CFLAGS -Wpacked" ;; #(
6109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6110 /* end confdefs.h. */
6120 if ac_fn_c_try_compile "$LINENO"; then :
6121 rra_cv_compiler_c__Wpacked=yes
6123 rra_cv_compiler_c__Wpacked=no
6125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wpacked" >&5
6130 $as_echo "$rra_cv_compiler_c__Wpacked" >&6; }
6131 if test x"$rra_cv_compiler_c__Wpacked" = xyes; then :
6132 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wpacked"
6134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6135 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
6136 if ${rra_cv_compiler_c__Wredundant_decls+:} false; then :
6137 $as_echo_n "(cached) " >&6
6140 case -Wredundant-decls in #(
6142 CFLAGS="$CFLAGS `echo "-Wredundant-decls" | sed 's/-Wno-/-W/'`" ;; #(
6144 CFLAGS="$CFLAGS -Wredundant-decls" ;; #(
6148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6149 /* end confdefs.h. */
6159 if ac_fn_c_try_compile "$LINENO"; then :
6160 rra_cv_compiler_c__Wredundant_decls=yes
6162 rra_cv_compiler_c__Wredundant_decls=no
6164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wredundant_decls" >&5
6169 $as_echo "$rra_cv_compiler_c__Wredundant_decls" >&6; }
6170 if test x"$rra_cv_compiler_c__Wredundant_decls" = xyes; then :
6171 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wredundant-decls"
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
6174 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
6175 if ${rra_cv_compiler_c__Wnested_externs+:} false; then :
6176 $as_echo_n "(cached) " >&6
6179 case -Wnested-externs in #(
6181 CFLAGS="$CFLAGS `echo "-Wnested-externs" | sed 's/-Wno-/-W/'`" ;; #(
6183 CFLAGS="$CFLAGS -Wnested-externs" ;; #(
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6198 if ac_fn_c_try_compile "$LINENO"; then :
6199 rra_cv_compiler_c__Wnested_externs=yes
6201 rra_cv_compiler_c__Wnested_externs=no
6203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnested_externs" >&5
6208 $as_echo "$rra_cv_compiler_c__Wnested_externs" >&6; }
6209 if test x"$rra_cv_compiler_c__Wnested_externs" = xyes; then :
6210 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnested-externs"
6212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winline" >&5
6213 $as_echo_n "checking if $CC supports -Winline... " >&6; }
6214 if ${rra_cv_compiler_c__Winline+:} false; then :
6215 $as_echo_n "(cached) " >&6
6220 CFLAGS="$CFLAGS `echo "-Winline" | sed 's/-Wno-/-W/'`" ;; #(
6222 CFLAGS="$CFLAGS -Winline" ;; #(
6226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6227 /* end confdefs.h. */
6237 if ac_fn_c_try_compile "$LINENO"; then :
6238 rra_cv_compiler_c__Winline=yes
6240 rra_cv_compiler_c__Winline=no
6242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winline" >&5
6247 $as_echo "$rra_cv_compiler_c__Winline" >&6; }
6248 if test x"$rra_cv_compiler_c__Winline" = xyes; then :
6249 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winline"
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wvla" >&5
6252 $as_echo_n "checking if $CC supports -Wvla... " >&6; }
6253 if ${rra_cv_compiler_c__Wvla+:} false; then :
6254 $as_echo_n "(cached) " >&6
6259 CFLAGS="$CFLAGS `echo "-Wvla" | sed 's/-Wno-/-W/'`" ;; #(
6261 CFLAGS="$CFLAGS -Wvla" ;; #(
6265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6266 /* end confdefs.h. */
6276 if ac_fn_c_try_compile "$LINENO"; then :
6277 rra_cv_compiler_c__Wvla=yes
6279 rra_cv_compiler_c__Wvla=no
6281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wvla" >&5
6286 $as_echo "$rra_cv_compiler_c__Wvla" >&6; }
6287 if test x"$rra_cv_compiler_c__Wvla" = xyes; then :
6288 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wvla"
6292 # Check whether --enable-largefile was given.
6293 if test "${enable_largefile+set}" = set; then :
6294 enableval=$enable_largefile;
6297 if test "$enable_largefile" != no; then
6299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6300 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6301 if ${ac_cv_sys_largefile_CC+:} false; then :
6302 $as_echo_n "(cached) " >&6
6304 ac_cv_sys_largefile_CC=no
6305 if test "$GCC" != yes; then
6308 # IRIX 6.2 and later do not support large files by default,
6309 # so use the C compiler's -n32 option if that helps.
6310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6311 /* end confdefs.h. */
6312 #include <sys/types.h>
6313 /* Check that off_t can represent 2**63 - 1 correctly.
6314 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6315 since some C++ compilers masquerading as C compilers
6316 incorrectly reject 9223372036854775807. */
6317 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6318 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6319 && LARGE_OFF_T % 2147483647 == 1)
6329 if ac_fn_c_try_compile "$LINENO"; then :
6332 rm -f core conftest.err conftest.$ac_objext
6334 if ac_fn_c_try_compile "$LINENO"; then :
6335 ac_cv_sys_largefile_CC=' -n32'; break
6337 rm -f core conftest.err conftest.$ac_objext
6341 rm -f conftest.$ac_ext
6344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6345 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6346 if test "$ac_cv_sys_largefile_CC" != no; then
6347 CC=$CC$ac_cv_sys_largefile_CC
6350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6351 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6352 if ${ac_cv_sys_file_offset_bits+:} false; then :
6353 $as_echo_n "(cached) " >&6
6356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6357 /* end confdefs.h. */
6358 #include <sys/types.h>
6359 /* Check that off_t can represent 2**63 - 1 correctly.
6360 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6361 since some C++ compilers masquerading as C compilers
6362 incorrectly reject 9223372036854775807. */
6363 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6364 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6365 && LARGE_OFF_T % 2147483647 == 1)
6375 if ac_fn_c_try_compile "$LINENO"; then :
6376 ac_cv_sys_file_offset_bits=no; break
6378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6380 /* end confdefs.h. */
6381 #define _FILE_OFFSET_BITS 64
6382 #include <sys/types.h>
6383 /* Check that off_t can represent 2**63 - 1 correctly.
6384 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6385 since some C++ compilers masquerading as C compilers
6386 incorrectly reject 9223372036854775807. */
6387 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6388 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6389 && LARGE_OFF_T % 2147483647 == 1)
6399 if ac_fn_c_try_compile "$LINENO"; then :
6400 ac_cv_sys_file_offset_bits=64; break
6402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 ac_cv_sys_file_offset_bits=unknown
6407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6408 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6409 case $ac_cv_sys_file_offset_bits in #(
6412 cat >>confdefs.h <<_ACEOF
6413 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6418 if test $ac_cv_sys_file_offset_bits = unknown; then
6419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6420 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6421 if ${ac_cv_sys_large_files+:} false; then :
6422 $as_echo_n "(cached) " >&6
6425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6426 /* end confdefs.h. */
6427 #include <sys/types.h>
6428 /* Check that off_t can represent 2**63 - 1 correctly.
6429 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6430 since some C++ compilers masquerading as C compilers
6431 incorrectly reject 9223372036854775807. */
6432 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6433 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6434 && LARGE_OFF_T % 2147483647 == 1)
6444 if ac_fn_c_try_compile "$LINENO"; then :
6445 ac_cv_sys_large_files=no; break
6447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6449 /* end confdefs.h. */
6450 #define _LARGE_FILES 1
6451 #include <sys/types.h>
6452 /* Check that off_t can represent 2**63 - 1 correctly.
6453 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6454 since some C++ compilers masquerading as C compilers
6455 incorrectly reject 9223372036854775807. */
6456 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6457 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6458 && LARGE_OFF_T % 2147483647 == 1)
6468 if ac_fn_c_try_compile "$LINENO"; then :
6469 ac_cv_sys_large_files=1; break
6471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6472 ac_cv_sys_large_files=unknown
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6477 $as_echo "$ac_cv_sys_large_files" >&6; }
6478 case $ac_cv_sys_large_files in #(
6481 cat >>confdefs.h <<_ACEOF
6482 #define _LARGE_FILES $ac_cv_sys_large_files
6493 if test -n "$ac_tool_prefix"; then
6494 for ac_prog in ar lib "link -lib"
6496 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6497 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499 $as_echo_n "checking for $ac_word... " >&6; }
6500 if ${ac_cv_prog_AR+:} false; then :
6501 $as_echo_n "(cached) " >&6
6503 if test -n "$AR"; then
6504 ac_cv_prog_AR="$AR" # Let the user override the test.
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6510 test -z "$as_dir" && as_dir=.
6511 for ac_exec_ext in '' $ac_executable_extensions; do
6512 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6513 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6524 if test -n "$AR"; then
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6526 $as_echo "$AR" >&6; }
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6529 $as_echo "no" >&6; }
6533 test -n "$AR" && break
6536 if test -z "$AR"; then
6538 for ac_prog in ar lib "link -lib"
6540 # Extract the first word of "$ac_prog", so it can be a program name with args.
6541 set dummy $ac_prog; ac_word=$2
6542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543 $as_echo_n "checking for $ac_word... " >&6; }
6544 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6545 $as_echo_n "(cached) " >&6
6547 if test -n "$ac_ct_AR"; then
6548 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6554 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6557 ac_cv_prog_ac_ct_AR="$ac_prog"
6558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6567 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6568 if test -n "$ac_ct_AR"; then
6569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6570 $as_echo "$ac_ct_AR" >&6; }
6572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6573 $as_echo "no" >&6; }
6577 test -n "$ac_ct_AR" && break
6580 if test "x$ac_ct_AR" = x; then
6583 case $cross_compiling:$ac_tool_warned in
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6586 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6587 ac_tool_warned=yes ;;
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
6596 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
6597 if ${am_cv_ar_interface+:} false; then :
6598 $as_echo_n "(cached) " >&6
6601 ac_cpp='$CPP $CPPFLAGS'
6602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6606 am_cv_ar_interface=ar
6607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6608 /* end confdefs.h. */
6609 int some_variable = 0;
6611 if ac_fn_c_try_compile "$LINENO"; then :
6612 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
6613 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6614 (eval $am_ar_try) 2>&5
6616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6617 test $ac_status = 0; }
6618 if test "$ac_status" -eq 0; then
6619 am_cv_ar_interface=ar
6621 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
6622 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
6623 (eval $am_ar_try) 2>&5
6625 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6626 test $ac_status = 0; }
6627 if test "$ac_status" -eq 0; then
6628 am_cv_ar_interface=lib
6630 am_cv_ar_interface=unknown
6633 rm -f conftest.lib libconftest.a
6636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6638 ac_cpp='$CPP $CPPFLAGS'
6639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
6645 $as_echo "$am_cv_ar_interface" >&6; }
6647 case $am_cv_ar_interface in
6651 # Microsoft lib, so override with the ar-lib wrapper script.
6652 # FIXME: It is wrong to rewrite AR.
6653 # But if we don't then we get into trouble of one sort or another.
6654 # A longer-term fix would be to have automake use am__AR in this case,
6655 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
6657 AR="$am_aux_dir/ar-lib $AR"
6660 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
6665 # Check whether --enable-static was given.
6666 if test "${enable_static+set}" = set; then :
6667 enableval=$enable_static; p=${PACKAGE-default}
6669 yes) enable_static=yes ;;
6670 no) enable_static=no ;;
6673 # Look at the argument we got. We use all the common list separators.
6674 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
6675 for pkg in $enableval; do
6677 if test "X$pkg" = "X$p"; then
6698 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
6699 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
6704 macro_version='2.4.6'
6705 macro_revision='2.4.6'
6719 ltmain=$ac_aux_dir/ltmain.sh
6721 # Make sure we can run config.sub.
6722 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
6723 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
6725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6726 $as_echo_n "checking build system type... " >&6; }
6727 if ${ac_cv_build+:} false; then :
6728 $as_echo_n "(cached) " >&6
6730 ac_build_alias=$build_alias
6731 test "x$ac_build_alias" = x &&
6732 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
6733 test "x$ac_build_alias" = x &&
6734 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6735 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
6736 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
6739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6740 $as_echo "$ac_cv_build" >&6; }
6741 case $ac_cv_build in
6743 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6746 ac_save_IFS=$IFS; IFS='-'
6752 # Remember, the first character of IFS is used to create $*,
6753 # except with old shells:
6756 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6760 $as_echo_n "checking host system type... " >&6; }
6761 if ${ac_cv_host+:} false; then :
6762 $as_echo_n "(cached) " >&6
6764 if test "x$host_alias" = x; then
6765 ac_cv_host=$ac_cv_build
6767 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
6768 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
6772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6773 $as_echo "$ac_cv_host" >&6; }
6776 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6779 ac_save_IFS=$IFS; IFS='-'
6785 # Remember, the first character of IFS is used to create $*,
6786 # except with old shells:
6789 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6792 # Backslashify metacharacters that are still active within
6793 # double-quoted strings.
6794 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
6796 # Same as above, but do not quote variable references.
6797 double_quote_subst='s/\(["`\\]\)/\\\1/g'
6799 # Sed substitution to delay expansion of an escaped shell variable in a
6800 # double_quote_subst'ed string.
6801 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
6803 # Sed substitution to delay expansion of an escaped single quote.
6804 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
6806 # Sed substitution to avoid accidental globbing in evaled expressions
6807 no_glob_subst='s/\*/\\\*/g'
6809 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
6810 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
6811 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
6813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
6814 $as_echo_n "checking how to print strings... " >&6; }
6815 # Test print first, because it will be a builtin if present.
6816 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
6817 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
6819 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
6822 # Use this function as a fallback that always works.
6823 func_fallback_echo ()
6825 eval 'cat <<_LTECHO_EOF
6829 ECHO='func_fallback_echo'
6832 # func_echo_all arg...
6833 # Invoke $ECHO with all args, space-separated.
6840 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
6841 $as_echo "printf" >&6; } ;;
6842 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
6843 $as_echo "print -r" >&6; } ;;
6844 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
6845 $as_echo "cat" >&6; } ;;
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6862 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6863 if ${ac_cv_path_SED+:} false; then :
6864 $as_echo_n "(cached) " >&6
6866 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6867 for ac_i in 1 2 3 4 5 6 7; do
6868 ac_script="$ac_script$as_nl$ac_script"
6870 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6871 { ac_script=; unset ac_script;}
6872 if test -z "$SED"; then
6873 ac_path_SED_found=false
6874 # Loop through the user's path and test for each of PROGNAME-LIST
6875 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6879 test -z "$as_dir" && as_dir=.
6880 for ac_prog in sed gsed; do
6881 for ac_exec_ext in '' $ac_executable_extensions; do
6882 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6883 as_fn_executable_p "$ac_path_SED" || continue
6884 # Check for GNU ac_path_SED and select it if it is found.
6885 # Check for GNU $ac_path_SED
6886 case `"$ac_path_SED" --version 2>&1` in
6888 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6891 $as_echo_n 0123456789 >"conftest.in"
6894 cat "conftest.in" "conftest.in" >"conftest.tmp"
6895 mv "conftest.tmp" "conftest.in"
6896 cp "conftest.in" "conftest.nl"
6897 $as_echo '' >> "conftest.nl"
6898 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6899 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6900 as_fn_arith $ac_count + 1 && ac_count=$as_val
6901 if test $ac_count -gt ${ac_path_SED_max-0}; then
6902 # Best one so far, save it but keep looking for a better one
6903 ac_cv_path_SED="$ac_path_SED"
6904 ac_path_SED_max=$ac_count
6906 # 10*(2^10) chars as input seems more than enough
6907 test $ac_count -gt 10 && break
6909 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6912 $ac_path_SED_found && break 3
6917 if test -z "$ac_cv_path_SED"; then
6918 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6926 $as_echo "$ac_cv_path_SED" >&6; }
6927 SED="$ac_cv_path_SED"
6930 test -z "$SED" && SED=sed
6931 Xsed="$SED -e 1s/^X//"
6943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6944 $as_echo_n "checking for fgrep... " >&6; }
6945 if ${ac_cv_path_FGREP+:} false; then :
6946 $as_echo_n "(cached) " >&6
6948 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6949 then ac_cv_path_FGREP="$GREP -F"
6951 if test -z "$FGREP"; then
6952 ac_path_FGREP_found=false
6953 # Loop through the user's path and test for each of PROGNAME-LIST
6954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6955 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6958 test -z "$as_dir" && as_dir=.
6959 for ac_prog in fgrep; do
6960 for ac_exec_ext in '' $ac_executable_extensions; do
6961 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6962 as_fn_executable_p "$ac_path_FGREP" || continue
6963 # Check for GNU ac_path_FGREP and select it if it is found.
6964 # Check for GNU $ac_path_FGREP
6965 case `"$ac_path_FGREP" --version 2>&1` in
6967 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6970 $as_echo_n 0123456789 >"conftest.in"
6973 cat "conftest.in" "conftest.in" >"conftest.tmp"
6974 mv "conftest.tmp" "conftest.in"
6975 cp "conftest.in" "conftest.nl"
6976 $as_echo 'FGREP' >> "conftest.nl"
6977 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6978 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6979 as_fn_arith $ac_count + 1 && ac_count=$as_val
6980 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6981 # Best one so far, save it but keep looking for a better one
6982 ac_cv_path_FGREP="$ac_path_FGREP"
6983 ac_path_FGREP_max=$ac_count
6985 # 10*(2^10) chars as input seems more than enough
6986 test $ac_count -gt 10 && break
6988 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6991 $ac_path_FGREP_found && break 3
6996 if test -z "$ac_cv_path_FGREP"; then
6997 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7000 ac_cv_path_FGREP=$FGREP
7005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7006 $as_echo "$ac_cv_path_FGREP" >&6; }
7007 FGREP="$ac_cv_path_FGREP"
7010 test -z "$GREP" && GREP=grep
7030 # Check whether --with-gnu-ld was given.
7031 if test "${with_gnu_ld+set}" = set; then :
7032 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7038 if test yes = "$GCC"; then
7039 # Check if gcc -print-prog-name=ld gives a path.
7040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7041 $as_echo_n "checking for ld used by $CC... " >&6; }
7044 # gcc leaves a trailing carriage return, which upsets mingw
7045 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7047 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7050 # Accept absolute paths.
7052 re_direlt='/[^/][^/]*/\.\./'
7053 # Canonicalize the pathname of ld
7054 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7055 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7056 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7058 test -z "$LD" && LD=$ac_prog
7061 # If it fails, then pretend we aren't using GCC.
7065 # If it is relative, then search for the first ld in PATH.
7069 elif test yes = "$with_gnu_ld"; then
7070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7071 $as_echo_n "checking for GNU ld... " >&6; }
7073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7074 $as_echo_n "checking for non-GNU ld... " >&6; }
7076 if ${lt_cv_path_LD+:} false; then :
7077 $as_echo_n "(cached) " >&6
7079 if test -z "$LD"; then
7080 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7081 for ac_dir in $PATH; do
7083 test -z "$ac_dir" && ac_dir=.
7084 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7085 lt_cv_path_LD=$ac_dir/$ac_prog
7086 # Check to see if the program is GNU ld. I'd rather use --version,
7087 # but apparently some variants of GNU ld only accept -v.
7088 # Break only if it was the GNU/non-GNU ld that we prefer.
7089 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7090 *GNU* | *'with BFD'*)
7091 test no != "$with_gnu_ld" && break
7094 test yes != "$with_gnu_ld" && break
7101 lt_cv_path_LD=$LD # Let the user override the test with a path.
7106 if test -n "$LD"; then
7107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7108 $as_echo "$LD" >&6; }
7110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7111 $as_echo "no" >&6; }
7113 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7115 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7116 if ${lt_cv_prog_gnu_ld+:} false; then :
7117 $as_echo_n "(cached) " >&6
7119 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7120 case `$LD -v 2>&1 </dev/null` in
7121 *GNU* | *'with BFD'*)
7122 lt_cv_prog_gnu_ld=yes
7125 lt_cv_prog_gnu_ld=no
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7130 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7131 with_gnu_ld=$lt_cv_prog_gnu_ld
7141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7142 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7143 if ${lt_cv_path_NM+:} false; then :
7144 $as_echo_n "(cached) " >&6
7146 if test -n "$NM"; then
7147 # Let the user override the test.
7150 lt_nm_to_check=${ac_tool_prefix}nm
7151 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7152 lt_nm_to_check="$lt_nm_to_check nm"
7154 for lt_tmp_nm in $lt_nm_to_check; do
7155 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7156 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7158 test -z "$ac_dir" && ac_dir=.
7159 tmp_nm=$ac_dir/$lt_tmp_nm
7160 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7161 # Check to see if the nm accepts a BSD-compat flag.
7162 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7163 # nm: unknown option "B" ignored
7164 # Tru64's nm complains that /dev/null is an invalid object file
7165 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7167 mingw*) lt_bad_file=conftest.nm/nofile ;;
7168 *) lt_bad_file=/dev/null ;;
7170 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7171 *$lt_bad_file* | *'Invalid file or object type'*)
7172 lt_cv_path_NM="$tmp_nm -B"
7176 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7178 lt_cv_path_NM="$tmp_nm -p"
7182 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7183 continue # so that we can try to find one that supports BSD flags
7192 : ${lt_cv_path_NM=no}
7195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7196 $as_echo "$lt_cv_path_NM" >&6; }
7197 if test no != "$lt_cv_path_NM"; then
7200 # Didn't find any BSD compatible name lister, look for dumpbin.
7201 if test -n "$DUMPBIN"; then :
7202 # Let the user override the test.
7204 if test -n "$ac_tool_prefix"; then
7205 for ac_prog in dumpbin "link -dump"
7207 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7208 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7210 $as_echo_n "checking for $ac_word... " >&6; }
7211 if ${ac_cv_prog_DUMPBIN+:} false; then :
7212 $as_echo_n "(cached) " >&6
7214 if test -n "$DUMPBIN"; then
7215 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 test -z "$as_dir" && as_dir=.
7222 for ac_exec_ext in '' $ac_executable_extensions; do
7223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7224 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7234 DUMPBIN=$ac_cv_prog_DUMPBIN
7235 if test -n "$DUMPBIN"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7237 $as_echo "$DUMPBIN" >&6; }
7239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7240 $as_echo "no" >&6; }
7244 test -n "$DUMPBIN" && break
7247 if test -z "$DUMPBIN"; then
7248 ac_ct_DUMPBIN=$DUMPBIN
7249 for ac_prog in dumpbin "link -dump"
7251 # Extract the first word of "$ac_prog", so it can be a program name with args.
7252 set dummy $ac_prog; ac_word=$2
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7254 $as_echo_n "checking for $ac_word... " >&6; }
7255 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7256 $as_echo_n "(cached) " >&6
7258 if test -n "$ac_ct_DUMPBIN"; then
7259 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7261 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7265 test -z "$as_dir" && as_dir=.
7266 for ac_exec_ext in '' $ac_executable_extensions; do
7267 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7268 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7269 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7278 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7279 if test -n "$ac_ct_DUMPBIN"; then
7280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7281 $as_echo "$ac_ct_DUMPBIN" >&6; }
7283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7284 $as_echo "no" >&6; }
7288 test -n "$ac_ct_DUMPBIN" && break
7291 if test "x$ac_ct_DUMPBIN" = x; then
7294 case $cross_compiling:$ac_tool_warned in
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7297 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7298 ac_tool_warned=yes ;;
7300 DUMPBIN=$ac_ct_DUMPBIN
7304 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7306 DUMPBIN="$DUMPBIN -symbols -headers"
7314 if test : != "$DUMPBIN"; then
7318 test -z "$NM" && NM=nm
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7326 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7327 if ${lt_cv_nm_interface+:} false; then :
7328 $as_echo_n "(cached) " >&6
7330 lt_cv_nm_interface="BSD nm"
7331 echo "int some_variable = 0;" > conftest.$ac_ext
7332 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7333 (eval "$ac_compile" 2>conftest.err)
7334 cat conftest.err >&5
7335 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7336 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7337 cat conftest.err >&5
7338 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7339 cat conftest.out >&5
7340 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7341 lt_cv_nm_interface="MS dumpbin"
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7346 $as_echo "$lt_cv_nm_interface" >&6; }
7348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7349 $as_echo_n "checking whether ln -s works... " >&6; }
7351 if test "$LN_S" = "ln -s"; then
7352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7353 $as_echo "yes" >&6; }
7355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7356 $as_echo "no, using $LN_S" >&6; }
7359 # find the maximum length of command line arguments
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7361 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7362 if ${lt_cv_sys_max_cmd_len+:} false; then :
7363 $as_echo_n "(cached) " >&6
7370 # On DJGPP, this test can blow up pretty badly due to problems in libc
7371 # (any single argument exceeding 2000 bytes causes a buffer overrun
7372 # during glob expansion). Even if it were fixed, the result of this
7373 # check would be larger than it should be.
7374 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7378 # Under GNU Hurd, this test is not required because there is
7379 # no limit to the length of command line arguments.
7380 # Libtool will interpret -1 as no limit whatsoever
7381 lt_cv_sys_max_cmd_len=-1;
7384 cygwin* | mingw* | cegcc*)
7385 # On Win9x/ME, this test blows up -- it succeeds, but takes
7386 # about 5 minutes as the teststring grows exponentially.
7387 # Worse, since 9x/ME are not pre-emptively multitasking,
7388 # you end up with a "frozen" computer, even though with patience
7389 # the test eventually succeeds (with a max line length of 256k).
7390 # Instead, let's just punt: use the minimum linelength reported by
7391 # all of the supported platforms: 8192 (on NT/2K/XP).
7392 lt_cv_sys_max_cmd_len=8192;
7396 # On MiNT this can take a long time and run out of memory.
7397 lt_cv_sys_max_cmd_len=8192;
7401 # On AmigaOS with pdksh, this test takes hours, literally.
7402 # So we just punt and use a minimum line length of 8192.
7403 lt_cv_sys_max_cmd_len=8192;
7406 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7407 # This has been around since 386BSD, at least. Likely further.
7408 if test -x /sbin/sysctl; then
7409 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7410 elif test -x /usr/sbin/sysctl; then
7411 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7413 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7415 # And add a safety zone
7416 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7417 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7421 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7422 lt_cv_sys_max_cmd_len=196608
7426 # The test takes a long time on OS/2.
7427 lt_cv_sys_max_cmd_len=8192
7431 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7432 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7433 # nice to cause kernel panics so lets avoid the loop below.
7434 # First set a reasonable default.
7435 lt_cv_sys_max_cmd_len=16384
7437 if test -x /sbin/sysconfig; then
7438 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7439 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7444 lt_cv_sys_max_cmd_len=102400
7446 sysv5* | sco5v6* | sysv4.2uw2*)
7447 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7448 if test -n "$kargmax"; then
7449 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7451 lt_cv_sys_max_cmd_len=32768
7455 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7456 if test -n "$lt_cv_sys_max_cmd_len" && \
7457 test undefined != "$lt_cv_sys_max_cmd_len"; then
7458 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7459 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7461 # Make teststring a little bigger before we do anything with it.
7462 # a 1K string should be a reasonable start.
7463 for i in 1 2 3 4 5 6 7 8; do
7464 teststring=$teststring$teststring
7466 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7467 # If test is not a shell built-in, we'll probably end up computing a
7468 # maximum length that is only half of the actual maximum length, but
7470 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
7471 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7472 test 17 != "$i" # 1/2 MB should be enough
7475 teststring=$teststring$teststring
7477 # Only check the string length outside the loop.
7478 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7480 # Add a significant safety factor because C++ compilers can tack on
7481 # massive amounts of additional arguments before passing them to the
7482 # linker. It appears as though 1/2 is a usable value.
7483 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7490 if test -n "$lt_cv_sys_max_cmd_len"; then
7491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7492 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7495 $as_echo "none" >&6; }
7497 max_cmd_len=$lt_cv_sys_max_cmd_len
7508 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
7518 # test EBCDIC or ASCII
7519 case `echo X|tr X '\101'` in
7520 A) # ASCII based system
7521 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
7522 lt_SP2NL='tr \040 \012'
7523 lt_NL2SP='tr \015\012 \040\040'
7525 *) # EBCDIC based system
7526 lt_SP2NL='tr \100 \n'
7527 lt_NL2SP='tr \r\n \100\100'
7539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
7540 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
7541 if ${lt_cv_to_host_file_cmd+:} false; then :
7542 $as_echo_n "(cached) " >&6
7547 *-*-mingw* ) # actually msys
7548 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
7551 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
7553 * ) # otherwise, assume *nix
7554 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
7560 *-*-mingw* ) # actually msys
7561 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
7564 lt_cv_to_host_file_cmd=func_convert_file_noop
7566 * ) # otherwise, assume *nix
7567 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
7571 * ) # unhandled hosts (and "normal" native builds)
7572 lt_cv_to_host_file_cmd=func_convert_file_noop
7578 to_host_file_cmd=$lt_cv_to_host_file_cmd
7579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
7580 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
7586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
7587 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
7588 if ${lt_cv_to_tool_file_cmd+:} false; then :
7589 $as_echo_n "(cached) " >&6
7591 #assume ordinary cross tools, or native build.
7592 lt_cv_to_tool_file_cmd=func_convert_file_noop
7596 *-*-mingw* ) # actually msys
7597 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
7605 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
7607 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
7614 $as_echo_n "checking for $LD option to reload object files... " >&6; }
7615 if ${lt_cv_ld_reload_flag+:} false; then :
7616 $as_echo_n "(cached) " >&6
7618 lt_cv_ld_reload_flag='-r'
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
7621 $as_echo "$lt_cv_ld_reload_flag" >&6; }
7622 reload_flag=$lt_cv_ld_reload_flag
7623 case $reload_flag in
7625 *) reload_flag=" $reload_flag" ;;
7627 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7629 cygwin* | mingw* | pw32* | cegcc*)
7630 if test yes != "$GCC"; then
7635 if test yes = "$GCC"; then
7636 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
7638 reload_cmds='$LD$reload_flag -o $output$reload_objs'
7651 if test -n "$ac_tool_prefix"; then
7652 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
7653 set dummy ${ac_tool_prefix}objdump; ac_word=$2
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7655 $as_echo_n "checking for $ac_word... " >&6; }
7656 if ${ac_cv_prog_OBJDUMP+:} false; then :
7657 $as_echo_n "(cached) " >&6
7659 if test -n "$OBJDUMP"; then
7660 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
7662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7666 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7669 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
7670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7679 OBJDUMP=$ac_cv_prog_OBJDUMP
7680 if test -n "$OBJDUMP"; then
7681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
7682 $as_echo "$OBJDUMP" >&6; }
7684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7685 $as_echo "no" >&6; }
7690 if test -z "$ac_cv_prog_OBJDUMP"; then
7691 ac_ct_OBJDUMP=$OBJDUMP
7692 # Extract the first word of "objdump", so it can be a program name with args.
7693 set dummy objdump; ac_word=$2
7694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7695 $as_echo_n "checking for $ac_word... " >&6; }
7696 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
7697 $as_echo_n "(cached) " >&6
7699 if test -n "$ac_ct_OBJDUMP"; then
7700 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
7702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7706 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7709 ac_cv_prog_ac_ct_OBJDUMP="objdump"
7710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7719 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
7720 if test -n "$ac_ct_OBJDUMP"; then
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
7722 $as_echo "$ac_ct_OBJDUMP" >&6; }
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7725 $as_echo "no" >&6; }
7728 if test "x$ac_ct_OBJDUMP" = x; then
7731 case $cross_compiling:$ac_tool_warned in
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7734 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7735 ac_tool_warned=yes ;;
7737 OBJDUMP=$ac_ct_OBJDUMP
7740 OBJDUMP="$ac_cv_prog_OBJDUMP"
7743 test -z "$OBJDUMP" && OBJDUMP=objdump
7753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
7754 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
7755 if ${lt_cv_deplibs_check_method+:} false; then :
7756 $as_echo_n "(cached) " >&6
7758 lt_cv_file_magic_cmd='$MAGIC_CMD'
7759 lt_cv_file_magic_test_file=
7760 lt_cv_deplibs_check_method='unknown'
7761 # Need to set the preceding variable on all platforms that support
7762 # interlibrary dependencies.
7763 # 'none' -- dependencies not supported.
7764 # 'unknown' -- same as none, but documents that we really don't know.
7765 # 'pass_all' -- all dependencies passed with no checks.
7766 # 'test_compile' -- check by making test program.
7767 # 'file_magic [[regex]]' -- check by looking for files in library path
7768 # that responds to the $file_magic_cmd with a given extended regex.
7769 # If you have 'file' or equivalent on your system and you're not sure
7770 # whether 'pass_all' will *always* work, you probably want this one.
7774 lt_cv_deplibs_check_method=pass_all
7778 lt_cv_deplibs_check_method=pass_all
7782 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
7783 lt_cv_file_magic_cmd='/usr/bin/file -L'
7784 lt_cv_file_magic_test_file=/shlib/libc.so
7788 # func_win32_libid is a shell function defined in ltmain.sh
7789 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7790 lt_cv_file_magic_cmd='func_win32_libid'
7794 # Base MSYS/MinGW do not provide the 'file' command needed by
7795 # func_win32_libid shell function, so use a weaker test based on 'objdump',
7796 # unless we find 'file', for example because we are cross-compiling.
7797 if ( file / ) >/dev/null 2>&1; then
7798 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
7799 lt_cv_file_magic_cmd='func_win32_libid'
7801 # Keep this pattern in sync with the one in func_win32_libid.
7802 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
7803 lt_cv_file_magic_cmd='$OBJDUMP -f'
7808 # use the weaker test based on 'objdump'. See mingw*.
7809 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
7810 lt_cv_file_magic_cmd='$OBJDUMP -f'
7813 darwin* | rhapsody*)
7814 lt_cv_deplibs_check_method=pass_all
7817 freebsd* | dragonfly*)
7818 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7821 # Not sure whether the presence of OpenBSD here was a mistake.
7822 # Let's accept both of them until this is cleared up.
7823 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
7824 lt_cv_file_magic_cmd=/usr/bin/file
7825 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
7829 lt_cv_deplibs_check_method=pass_all
7834 lt_cv_deplibs_check_method=pass_all
7837 hpux10.20* | hpux11*)
7838 lt_cv_file_magic_cmd=/usr/bin/file
7841 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
7842 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
7845 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]'
7846 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
7849 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
7850 lt_cv_file_magic_test_file=/usr/lib/libc.sl
7856 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
7857 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
7860 irix5* | irix6* | nonstopux*)
7862 *-32|*"-32 ") libmagic=32-bit;;
7863 *-n32|*"-n32 ") libmagic=N32;;
7864 *-64|*"-64 ") libmagic=64-bit;;
7865 *) libmagic=never-match;;
7867 lt_cv_deplibs_check_method=pass_all
7870 # This must be glibc/ELF.
7871 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
7872 lt_cv_deplibs_check_method=pass_all
7875 netbsd* | netbsdelf*-gnu)
7876 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
7877 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7879 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
7884 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
7885 lt_cv_file_magic_cmd=/usr/bin/file
7886 lt_cv_file_magic_test_file=/usr/lib/libnls.so
7890 lt_cv_deplibs_check_method=pass_all
7894 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
7895 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
7897 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
7901 osf3* | osf4* | osf5*)
7902 lt_cv_deplibs_check_method=pass_all
7906 lt_cv_deplibs_check_method=pass_all
7910 lt_cv_deplibs_check_method=pass_all
7913 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
7914 lt_cv_deplibs_check_method=pass_all
7918 case $host_vendor in
7920 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]'
7921 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
7924 lt_cv_deplibs_check_method=pass_all
7927 lt_cv_file_magic_cmd='/bin/file'
7928 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7931 lt_cv_file_magic_cmd='/bin/file'
7932 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7933 lt_cv_file_magic_test_file=/lib/libc.so
7936 lt_cv_deplibs_check_method=pass_all
7939 lt_cv_deplibs_check_method=pass_all
7945 lt_cv_deplibs_check_method=pass_all
7948 lt_cv_deplibs_check_method=pass_all
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7954 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7958 if test "$build" = "$host"; then
7961 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
7964 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
7970 file_magic_cmd=$lt_cv_file_magic_cmd
7971 deplibs_check_method=$lt_cv_deplibs_check_method
7972 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7995 if test -n "$ac_tool_prefix"; then
7996 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7997 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_DLLTOOL+:} false; then :
8001 $as_echo_n "(cached) " >&6
8003 if test -n "$DLLTOOL"; then
8004 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8023 DLLTOOL=$ac_cv_prog_DLLTOOL
8024 if test -n "$DLLTOOL"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8026 $as_echo "$DLLTOOL" >&6; }
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8034 if test -z "$ac_cv_prog_DLLTOOL"; then
8035 ac_ct_DLLTOOL=$DLLTOOL
8036 # Extract the first word of "dlltool", so it can be a program name with args.
8037 set dummy dlltool; ac_word=$2
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8039 $as_echo_n "checking for $ac_word... " >&6; }
8040 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8041 $as_echo_n "(cached) " >&6
8043 if test -n "$ac_ct_DLLTOOL"; then
8044 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8050 test -z "$as_dir" && as_dir=.
8051 for ac_exec_ext in '' $ac_executable_extensions; do
8052 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8053 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8054 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8063 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8064 if test -n "$ac_ct_DLLTOOL"; then
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8066 $as_echo "$ac_ct_DLLTOOL" >&6; }
8068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8069 $as_echo "no" >&6; }
8072 if test "x$ac_ct_DLLTOOL" = x; then
8075 case $cross_compiling:$ac_tool_warned in
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8078 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8079 ac_tool_warned=yes ;;
8081 DLLTOOL=$ac_ct_DLLTOOL
8084 DLLTOOL="$ac_cv_prog_DLLTOOL"
8087 test -z "$DLLTOOL" && DLLTOOL=dlltool
8098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8099 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8100 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8101 $as_echo_n "(cached) " >&6
8103 lt_cv_sharedlib_from_linklib_cmd='unknown'
8106 cygwin* | mingw* | pw32* | cegcc*)
8107 # two different shell functions defined in ltmain.sh;
8108 # decide which one to use based on capabilities of $DLLTOOL
8109 case `$DLLTOOL --help 2>&1` in
8110 *--identify-strict*)
8111 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8114 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8119 # fallback: assume linklib IS sharedlib
8120 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8126 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8127 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8128 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8136 if test -n "$ac_tool_prefix"; then
8139 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8140 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8142 $as_echo_n "checking for $ac_word... " >&6; }
8143 if ${ac_cv_prog_AR+:} false; then :
8144 $as_echo_n "(cached) " >&6
8146 if test -n "$AR"; then
8147 ac_cv_prog_AR="$AR" # Let the user override the test.
8149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8153 test -z "$as_dir" && as_dir=.
8154 for ac_exec_ext in '' $ac_executable_extensions; do
8155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8156 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8167 if test -n "$AR"; then
8168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8169 $as_echo "$AR" >&6; }
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8172 $as_echo "no" >&6; }
8176 test -n "$AR" && break
8179 if test -z "$AR"; then
8183 # Extract the first word of "$ac_prog", so it can be a program name with args.
8184 set dummy $ac_prog; ac_word=$2
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8186 $as_echo_n "checking for $ac_word... " >&6; }
8187 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8188 $as_echo_n "(cached) " >&6
8190 if test -n "$ac_ct_AR"; then
8191 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 test -z "$as_dir" && as_dir=.
8198 for ac_exec_ext in '' $ac_executable_extensions; do
8199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8200 ac_cv_prog_ac_ct_AR="$ac_prog"
8201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8210 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8211 if test -n "$ac_ct_AR"; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8213 $as_echo "$ac_ct_AR" >&6; }
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8216 $as_echo "no" >&6; }
8220 test -n "$ac_ct_AR" && break
8223 if test "x$ac_ct_AR" = x; then
8226 case $cross_compiling:$ac_tool_warned in
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8230 ac_tool_warned=yes ;;
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8250 $as_echo_n "checking for archiver @FILE support... " >&6; }
8251 if ${lt_cv_ar_at_file+:} false; then :
8252 $as_echo_n "(cached) " >&6
8255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8256 /* end confdefs.h. */
8266 if ac_fn_c_try_compile "$LINENO"; then :
8267 echo conftest.$ac_objext > conftest.lst
8268 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8269 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8270 (eval $lt_ar_try) 2>&5
8272 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8273 test $ac_status = 0; }
8274 if test 0 -eq "$ac_status"; then
8275 # Ensure the archiver fails upon bogus file names.
8276 rm -f conftest.$ac_objext libconftest.a
8277 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8278 (eval $lt_ar_try) 2>&5
8280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8281 test $ac_status = 0; }
8282 if test 0 -ne "$ac_status"; then
8286 rm -f conftest.* libconftest.a
8289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8293 $as_echo "$lt_cv_ar_at_file" >&6; }
8295 if test no = "$lt_cv_ar_at_file"; then
8298 archiver_list_spec=$lt_cv_ar_at_file
8307 if test -n "$ac_tool_prefix"; then
8308 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8309 set dummy ${ac_tool_prefix}strip; ac_word=$2
8310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8311 $as_echo_n "checking for $ac_word... " >&6; }
8312 if ${ac_cv_prog_STRIP+:} false; then :
8313 $as_echo_n "(cached) " >&6
8315 if test -n "$STRIP"; then
8316 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8322 test -z "$as_dir" && as_dir=.
8323 for ac_exec_ext in '' $ac_executable_extensions; do
8324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8325 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8335 STRIP=$ac_cv_prog_STRIP
8336 if test -n "$STRIP"; then
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8338 $as_echo "$STRIP" >&6; }
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8341 $as_echo "no" >&6; }
8346 if test -z "$ac_cv_prog_STRIP"; then
8348 # Extract the first word of "strip", so it can be a program name with args.
8349 set dummy strip; ac_word=$2
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8351 $as_echo_n "checking for $ac_word... " >&6; }
8352 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8353 $as_echo_n "(cached) " >&6
8355 if test -n "$ac_ct_STRIP"; then
8356 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8362 test -z "$as_dir" && as_dir=.
8363 for ac_exec_ext in '' $ac_executable_extensions; do
8364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8365 ac_cv_prog_ac_ct_STRIP="strip"
8366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8375 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8376 if test -n "$ac_ct_STRIP"; then
8377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8378 $as_echo "$ac_ct_STRIP" >&6; }
8380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8381 $as_echo "no" >&6; }
8384 if test "x$ac_ct_STRIP" = x; then
8387 case $cross_compiling:$ac_tool_warned in
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8391 ac_tool_warned=yes ;;
8396 STRIP="$ac_cv_prog_STRIP"
8399 test -z "$STRIP" && STRIP=:
8406 if test -n "$ac_tool_prefix"; then
8407 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8408 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8410 $as_echo_n "checking for $ac_word... " >&6; }
8411 if ${ac_cv_prog_RANLIB+:} false; then :
8412 $as_echo_n "(cached) " >&6
8414 if test -n "$RANLIB"; then
8415 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8417 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8421 test -z "$as_dir" && as_dir=.
8422 for ac_exec_ext in '' $ac_executable_extensions; do
8423 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8424 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8425 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8434 RANLIB=$ac_cv_prog_RANLIB
8435 if test -n "$RANLIB"; then
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8437 $as_echo "$RANLIB" >&6; }
8439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8440 $as_echo "no" >&6; }
8445 if test -z "$ac_cv_prog_RANLIB"; then
8446 ac_ct_RANLIB=$RANLIB
8447 # Extract the first word of "ranlib", so it can be a program name with args.
8448 set dummy ranlib; ac_word=$2
8449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8450 $as_echo_n "checking for $ac_word... " >&6; }
8451 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8452 $as_echo_n "(cached) " >&6
8454 if test -n "$ac_ct_RANLIB"; then
8455 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8461 test -z "$as_dir" && as_dir=.
8462 for ac_exec_ext in '' $ac_executable_extensions; do
8463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8464 ac_cv_prog_ac_ct_RANLIB="ranlib"
8465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8474 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8475 if test -n "$ac_ct_RANLIB"; then
8476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8477 $as_echo "$ac_ct_RANLIB" >&6; }
8479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8480 $as_echo "no" >&6; }
8483 if test "x$ac_ct_RANLIB" = x; then
8486 case $cross_compiling:$ac_tool_warned in
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8489 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8490 ac_tool_warned=yes ;;
8492 RANLIB=$ac_ct_RANLIB
8495 RANLIB="$ac_cv_prog_RANLIB"
8498 test -z "$RANLIB" && RANLIB=:
8505 # Determine commands to create old-style static archives.
8506 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
8507 old_postinstall_cmds='chmod 644 $oldlib'
8508 old_postuninstall_cmds=
8510 if test -n "$RANLIB"; then
8513 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
8516 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
8519 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
8524 lock_old_archive_extraction=yes ;;
8526 lock_old_archive_extraction=no ;;
8567 # If no C compiler was specified, use CC.
8570 # If no C compiler flags were specified, use CFLAGS.
8571 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8573 # Allow CC to be a program name with arguments.
8577 # Check for command to grab the raw symbol name followed by C symbol from nm.
8578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
8579 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
8580 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
8581 $as_echo_n "(cached) " >&6
8584 # These are sane defaults that work on at least a few old systems.
8585 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
8587 # Character class describing NM global symbol codes.
8588 symcode='[BCDEGRST]'
8590 # Regexp to match symbols that can be accessed directly from C.
8591 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
8593 # Define system-specific variables.
8598 cygwin* | mingw* | pw32* | cegcc*)
8599 symcode='[ABCDGISTW]'
8602 if test ia64 = "$host_cpu"; then
8603 symcode='[ABCDEGRST]'
8607 symcode='[BCDEGRST]'
8610 symcode='[BCDEGQRST]'
8621 sysv5* | sco5v6* | unixware* | OpenUNIX*)
8629 # If we're using GNU nm, then use its standard symbol codes.
8630 case `$NM -V 2>&1` in
8631 *GNU* | *'with BFD'*)
8632 symcode='[ABCDGIRSTW]' ;;
8635 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8636 # Gets list of data symbols to import.
8637 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
8638 # Adjust the below global symbol transforms to fixup imported variables.
8639 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
8640 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
8641 lt_c_name_lib_hook="\
8642 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
8643 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
8645 # Disable hooks by default.
8646 lt_cv_sys_global_symbol_to_import=
8652 # Transform an extracted symbol line into a proper C declaration.
8653 # Some systems (esp. on ia64) link data and code symbols differently,
8654 # so use this general approach.
8655 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
8657 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
8658 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
8660 # Transform an extracted symbol line into symbol name and symbol address
8661 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
8663 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8664 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
8666 # Transform an extracted symbol line into symbol name with lib prefix and
8668 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
8669 $lt_c_name_lib_hook\
8670 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
8671 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
8672 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
8674 # Handle CRLF in mingw tool chain
8678 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
8682 # Try without a prefix underscore, then with it.
8683 for ac_symprfx in "" "_"; do
8685 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
8686 symxfrm="\\1 $ac_symprfx\\2 \\2"
8688 # Write the raw and C identifiers.
8689 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8690 # Fake it for dumpbin and say T for any non-static function,
8691 # D for any global variable and I for any imported variable.
8692 # Also find C++ and __fastcall symbols from MSVC++,
8693 # which start with @ or ?.
8694 lt_cv_sys_global_symbol_pipe="$AWK '"\
8695 " {last_section=section; section=\$ 3};"\
8696 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
8697 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
8698 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
8699 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
8700 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
8701 " \$ 0!~/External *\|/{next};"\
8702 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
8703 " {if(hide[section]) next};"\
8704 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
8705 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
8706 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
8707 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
8708 " ' prfx=^$ac_symprfx"
8710 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
8712 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
8714 # Check to see that the pipe works correctly.
8718 cat > conftest.$ac_ext <<_LT_EOF
8723 void nm_test_func(void);
8724 void nm_test_func(void){}
8728 int main(){nm_test_var='a';nm_test_func();return(0);}
8731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
8732 (eval $ac_compile) 2>&5
8734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8735 test $ac_status = 0; }; then
8736 # Now try to grab the symbols.
8738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
8739 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
8741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8742 test $ac_status = 0; } && test -s "$nlist"; then
8743 # Try sorting and uniquifying the output.
8744 if sort "$nlist" | uniq > "$nlist"T; then
8745 mv -f "$nlist"T "$nlist"
8750 # Make sure that we snagged all the symbols we need.
8751 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
8752 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
8753 cat <<_LT_EOF > conftest.$ac_ext
8754 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
8755 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
8756 /* DATA imports from DLLs on WIN32 can't be const, because runtime
8757 relocations are performed -- see ld's documentation on pseudo-relocs. */
8758 # define LT_DLSYM_CONST
8759 #elif defined __osf__
8760 /* This system does not cope well with relocations in const data. */
8761 # define LT_DLSYM_CONST
8763 # define LT_DLSYM_CONST const
8771 # Now generate the symbol file.
8772 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
8774 cat <<_LT_EOF >> conftest.$ac_ext
8776 /* The mapping between symbol names and symbols. */
8777 LT_DLSYM_CONST struct {
8781 lt__PROGRAM__LTX_preloaded_symbols[] =
8783 { "@PROGRAM@", (void *) 0 },
8785 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
8786 cat <<\_LT_EOF >> conftest.$ac_ext
8790 /* This works around a problem in FreeBSD linker */
8791 #ifdef FREEBSD_WORKAROUND
8792 static const void *lt_preloaded_setup() {
8793 return lt__PROGRAM__LTX_preloaded_symbols;
8801 # Now try linking the two files.
8802 mv conftest.$ac_objext conftstm.$ac_objext
8803 lt_globsym_save_LIBS=$LIBS
8804 lt_globsym_save_CFLAGS=$CFLAGS
8805 LIBS=conftstm.$ac_objext
8806 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
8807 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
8808 (eval $ac_link) 2>&5
8810 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8811 test $ac_status = 0; } && test -s conftest$ac_exeext; then
8814 LIBS=$lt_globsym_save_LIBS
8815 CFLAGS=$lt_globsym_save_CFLAGS
8817 echo "cannot find nm_test_func in $nlist" >&5
8820 echo "cannot find nm_test_var in $nlist" >&5
8823 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
8826 echo "$progname: failed program was:" >&5
8827 cat conftest.$ac_ext >&5
8829 rm -rf conftest* conftst*
8831 # Do not use the global_symbol_pipe unless it works.
8832 if test yes = "$pipe_works"; then
8835 lt_cv_sys_global_symbol_pipe=
8841 if test -z "$lt_cv_sys_global_symbol_pipe"; then
8842 lt_cv_sys_global_symbol_to_cdecl=
8844 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
8845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
8846 $as_echo "failed" >&6; }
8848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
8849 $as_echo "ok" >&6; }
8852 # Response file support.
8853 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
8854 nm_file_list_spec='@'
8855 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
8856 nm_file_list_spec='@'
8895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
8896 $as_echo_n "checking for sysroot... " >&6; }
8898 # Check whether --with-sysroot was given.
8899 if test "${with_sysroot+set}" = set; then :
8900 withval=$with_sysroot;
8907 case $with_sysroot in #(
8909 if test yes = "$GCC"; then
8910 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
8914 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
8920 $as_echo "$with_sysroot" >&6; }
8921 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
8925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
8926 $as_echo "${lt_sysroot:-no}" >&6; }
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
8933 $as_echo_n "checking for a working dd... " >&6; }
8934 if ${ac_cv_path_lt_DD+:} false; then :
8935 $as_echo_n "(cached) " >&6
8937 printf 0123456789abcdef0123456789abcdef >conftest.i
8938 cat conftest.i conftest.i >conftest2.i
8940 if test -z "$lt_DD"; then
8941 ac_path_lt_DD_found=false
8942 # Loop through the user's path and test for each of PROGNAME-LIST
8943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8947 test -z "$as_dir" && as_dir=.
8948 for ac_prog in dd; do
8949 for ac_exec_ext in '' $ac_executable_extensions; do
8950 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
8951 as_fn_executable_p "$ac_path_lt_DD" || continue
8952 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8953 cmp -s conftest.i conftest.out \
8954 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
8956 $ac_path_lt_DD_found && break 3
8961 if test -z "$ac_cv_path_lt_DD"; then
8965 ac_cv_path_lt_DD=$lt_DD
8968 rm -f conftest.i conftest2.i conftest.out
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
8971 $as_echo "$ac_cv_path_lt_DD" >&6; }
8974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
8975 $as_echo_n "checking how to truncate binary pipes... " >&6; }
8976 if ${lt_cv_truncate_bin+:} false; then :
8977 $as_echo_n "(cached) " >&6
8979 printf 0123456789abcdef0123456789abcdef >conftest.i
8980 cat conftest.i conftest.i >conftest2.i
8982 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
8983 cmp -s conftest.i conftest.out \
8984 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
8986 rm -f conftest.i conftest2.i conftest.out
8987 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
8989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
8990 $as_echo "$lt_cv_truncate_bin" >&6; }
8998 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9001 for cc_temp in $*""; do
9003 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9004 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9009 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9012 # Check whether --enable-libtool-lock was given.
9013 if test "${enable_libtool_lock+set}" = set; then :
9014 enableval=$enable_libtool_lock;
9017 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9019 # Some flags need to be propagated to the compiler or linker for good
9023 # Find out what ABI is being produced by ac_compile, and set mode
9024 # options accordingly.
9025 echo 'int i;' > conftest.$ac_ext
9026 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9027 (eval $ac_compile) 2>&5
9029 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9030 test $ac_status = 0; }; then
9031 case `/usr/bin/file conftest.$ac_objext` in
9043 # Find out what ABI is being produced by ac_compile, and set linker
9044 # options accordingly.
9045 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9047 (eval $ac_compile) 2>&5
9049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9050 test $ac_status = 0; }; then
9051 if test yes = "$lt_cv_prog_gnu_ld"; then
9052 case `/usr/bin/file conftest.$ac_objext` in
9054 LD="${LD-ld} -melf32bsmip"
9057 LD="${LD-ld} -melf32bmipn32"
9060 LD="${LD-ld} -melf64bmip"
9064 case `/usr/bin/file conftest.$ac_objext` in
9081 # Find out what ABI is being produced by ac_compile, and set linker
9082 # options accordingly.
9083 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9084 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9085 (eval $ac_compile) 2>&5
9087 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9088 test $ac_status = 0; }; then
9090 case `/usr/bin/file conftest.$ac_objext` in
9098 case `/usr/bin/file conftest.$ac_objext` in
9100 emul="${emul}btsmip"
9103 emul="${emul}ltsmip"
9106 case `/usr/bin/file conftest.$ac_objext` in
9111 LD="${LD-ld} -m $emul"
9116 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9117 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9118 # Find out what ABI is being produced by ac_compile, and set linker
9119 # options accordingly. Note that the listed cases only cover the
9120 # situations where additional linker options are needed (such as when
9121 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9122 # vice versa); the common cases where no linker options are needed do
9123 # not appear in the list.
9124 echo 'int i;' > conftest.$ac_ext
9125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9126 (eval $ac_compile) 2>&5
9128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9129 test $ac_status = 0; }; then
9130 case `/usr/bin/file conftest.o` in
9133 x86_64-*kfreebsd*-gnu)
9134 LD="${LD-ld} -m elf_i386_fbsd"
9137 case `/usr/bin/file conftest.o` in
9139 LD="${LD-ld} -m elf32_x86_64"
9142 LD="${LD-ld} -m elf_i386"
9146 powerpc64le-*linux*)
9147 LD="${LD-ld} -m elf32lppclinux"
9150 LD="${LD-ld} -m elf32ppclinux"
9153 LD="${LD-ld} -m elf_s390"
9156 LD="${LD-ld} -m elf32_sparc"
9162 x86_64-*kfreebsd*-gnu)
9163 LD="${LD-ld} -m elf_x86_64_fbsd"
9166 LD="${LD-ld} -m elf_x86_64"
9169 LD="${LD-ld} -m elf64lppc"
9172 LD="${LD-ld} -m elf64ppc"
9174 s390*-*linux*|s390*-*tpf*)
9175 LD="${LD-ld} -m elf64_s390"
9178 LD="${LD-ld} -m elf64_sparc"
9188 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9190 CFLAGS="$CFLAGS -belf"
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9192 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9193 if ${lt_cv_cc_needs_belf+:} false; then :
9194 $as_echo_n "(cached) " >&6
9197 ac_cpp='$CPP $CPPFLAGS'
9198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9213 if ac_fn_c_try_link "$LINENO"; then :
9214 lt_cv_cc_needs_belf=yes
9216 lt_cv_cc_needs_belf=no
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9221 ac_cpp='$CPP $CPPFLAGS'
9222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9228 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9229 if test yes != "$lt_cv_cc_needs_belf"; then
9230 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9235 # Find out what ABI is being produced by ac_compile, and set linker
9236 # options accordingly.
9237 echo 'int i;' > conftest.$ac_ext
9238 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9239 (eval $ac_compile) 2>&5
9241 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9242 test $ac_status = 0; }; then
9243 case `/usr/bin/file conftest.o` in
9245 case $lt_cv_prog_gnu_ld in
9248 i?86-*-solaris*|x86_64-*-solaris*)
9249 LD="${LD-ld} -m elf_x86_64"
9252 LD="${LD-ld} -m elf64_sparc"
9255 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9256 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9261 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9273 need_locks=$enable_libtool_lock
9275 if test -n "$ac_tool_prefix"; then
9276 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9277 set dummy ${ac_tool_prefix}mt; ac_word=$2
9278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9279 $as_echo_n "checking for $ac_word... " >&6; }
9280 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9281 $as_echo_n "(cached) " >&6
9283 if test -n "$MANIFEST_TOOL"; then
9284 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290 test -z "$as_dir" && as_dir=.
9291 for ac_exec_ext in '' $ac_executable_extensions; do
9292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9293 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9303 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9304 if test -n "$MANIFEST_TOOL"; then
9305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9306 $as_echo "$MANIFEST_TOOL" >&6; }
9308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9309 $as_echo "no" >&6; }
9314 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9315 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9316 # Extract the first word of "mt", so it can be a program name with args.
9317 set dummy mt; ac_word=$2
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9319 $as_echo_n "checking for $ac_word... " >&6; }
9320 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9321 $as_echo_n "(cached) " >&6
9323 if test -n "$ac_ct_MANIFEST_TOOL"; then
9324 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9330 test -z "$as_dir" && as_dir=.
9331 for ac_exec_ext in '' $ac_executable_extensions; do
9332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9333 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9343 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9344 if test -n "$ac_ct_MANIFEST_TOOL"; then
9345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9346 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9349 $as_echo "no" >&6; }
9352 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9355 case $cross_compiling:$ac_tool_warned in
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9358 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9359 ac_tool_warned=yes ;;
9361 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9364 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9367 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9369 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9370 if ${lt_cv_path_mainfest_tool+:} false; then :
9371 $as_echo_n "(cached) " >&6
9373 lt_cv_path_mainfest_tool=no
9374 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9375 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9376 cat conftest.err >&5
9377 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9378 lt_cv_path_mainfest_tool=yes
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9383 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9384 if test yes != "$lt_cv_path_mainfest_tool"; then
9394 rhapsody* | darwin*)
9395 if test -n "$ac_tool_prefix"; then
9396 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9397 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9399 $as_echo_n "checking for $ac_word... " >&6; }
9400 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9401 $as_echo_n "(cached) " >&6
9403 if test -n "$DSYMUTIL"; then
9404 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9406 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9410 test -z "$as_dir" && as_dir=.
9411 for ac_exec_ext in '' $ac_executable_extensions; do
9412 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9413 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9414 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9423 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9424 if test -n "$DSYMUTIL"; then
9425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9426 $as_echo "$DSYMUTIL" >&6; }
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9429 $as_echo "no" >&6; }
9434 if test -z "$ac_cv_prog_DSYMUTIL"; then
9435 ac_ct_DSYMUTIL=$DSYMUTIL
9436 # Extract the first word of "dsymutil", so it can be a program name with args.
9437 set dummy dsymutil; ac_word=$2
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9439 $as_echo_n "checking for $ac_word... " >&6; }
9440 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9441 $as_echo_n "(cached) " >&6
9443 if test -n "$ac_ct_DSYMUTIL"; then
9444 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9450 test -z "$as_dir" && as_dir=.
9451 for ac_exec_ext in '' $ac_executable_extensions; do
9452 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9453 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9454 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9463 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9464 if test -n "$ac_ct_DSYMUTIL"; then
9465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9466 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9469 $as_echo "no" >&6; }
9472 if test "x$ac_ct_DSYMUTIL" = x; then
9475 case $cross_compiling:$ac_tool_warned in
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9478 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9479 ac_tool_warned=yes ;;
9481 DSYMUTIL=$ac_ct_DSYMUTIL
9484 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9487 if test -n "$ac_tool_prefix"; then
9488 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9489 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9491 $as_echo_n "checking for $ac_word... " >&6; }
9492 if ${ac_cv_prog_NMEDIT+:} false; then :
9493 $as_echo_n "(cached) " >&6
9495 if test -n "$NMEDIT"; then
9496 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9498 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9502 test -z "$as_dir" && as_dir=.
9503 for ac_exec_ext in '' $ac_executable_extensions; do
9504 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9505 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9506 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9515 NMEDIT=$ac_cv_prog_NMEDIT
9516 if test -n "$NMEDIT"; then
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9518 $as_echo "$NMEDIT" >&6; }
9520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9521 $as_echo "no" >&6; }
9526 if test -z "$ac_cv_prog_NMEDIT"; then
9527 ac_ct_NMEDIT=$NMEDIT
9528 # Extract the first word of "nmedit", so it can be a program name with args.
9529 set dummy nmedit; ac_word=$2
9530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9531 $as_echo_n "checking for $ac_word... " >&6; }
9532 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9533 $as_echo_n "(cached) " >&6
9535 if test -n "$ac_ct_NMEDIT"; then
9536 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9538 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9542 test -z "$as_dir" && as_dir=.
9543 for ac_exec_ext in '' $ac_executable_extensions; do
9544 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9545 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9546 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9555 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9556 if test -n "$ac_ct_NMEDIT"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9558 $as_echo "$ac_ct_NMEDIT" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9561 $as_echo "no" >&6; }
9564 if test "x$ac_ct_NMEDIT" = x; then
9567 case $cross_compiling:$ac_tool_warned in
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9570 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9571 ac_tool_warned=yes ;;
9573 NMEDIT=$ac_ct_NMEDIT
9576 NMEDIT="$ac_cv_prog_NMEDIT"
9579 if test -n "$ac_tool_prefix"; then
9580 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9581 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9583 $as_echo_n "checking for $ac_word... " >&6; }
9584 if ${ac_cv_prog_LIPO+:} false; then :
9585 $as_echo_n "(cached) " >&6
9587 if test -n "$LIPO"; then
9588 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9590 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 test -z "$as_dir" && as_dir=.
9595 for ac_exec_ext in '' $ac_executable_extensions; do
9596 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9597 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9598 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9607 LIPO=$ac_cv_prog_LIPO
9608 if test -n "$LIPO"; then
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9610 $as_echo "$LIPO" >&6; }
9612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9613 $as_echo "no" >&6; }
9618 if test -z "$ac_cv_prog_LIPO"; then
9620 # Extract the first word of "lipo", so it can be a program name with args.
9621 set dummy lipo; ac_word=$2
9622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9623 $as_echo_n "checking for $ac_word... " >&6; }
9624 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9625 $as_echo_n "(cached) " >&6
9627 if test -n "$ac_ct_LIPO"; then
9628 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9634 test -z "$as_dir" && as_dir=.
9635 for ac_exec_ext in '' $ac_executable_extensions; do
9636 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9637 ac_cv_prog_ac_ct_LIPO="lipo"
9638 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9647 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
9648 if test -n "$ac_ct_LIPO"; then
9649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
9650 $as_echo "$ac_ct_LIPO" >&6; }
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9653 $as_echo "no" >&6; }
9656 if test "x$ac_ct_LIPO" = x; then
9659 case $cross_compiling:$ac_tool_warned in
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9662 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9663 ac_tool_warned=yes ;;
9668 LIPO="$ac_cv_prog_LIPO"
9671 if test -n "$ac_tool_prefix"; then
9672 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9673 set dummy ${ac_tool_prefix}otool; ac_word=$2
9674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9675 $as_echo_n "checking for $ac_word... " >&6; }
9676 if ${ac_cv_prog_OTOOL+:} false; then :
9677 $as_echo_n "(cached) " >&6
9679 if test -n "$OTOOL"; then
9680 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9682 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 test -z "$as_dir" && as_dir=.
9687 for ac_exec_ext in '' $ac_executable_extensions; do
9688 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9689 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9690 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9699 OTOOL=$ac_cv_prog_OTOOL
9700 if test -n "$OTOOL"; then
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9702 $as_echo "$OTOOL" >&6; }
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9705 $as_echo "no" >&6; }
9710 if test -z "$ac_cv_prog_OTOOL"; then
9712 # Extract the first word of "otool", so it can be a program name with args.
9713 set dummy otool; ac_word=$2
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9715 $as_echo_n "checking for $ac_word... " >&6; }
9716 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
9717 $as_echo_n "(cached) " >&6
9719 if test -n "$ac_ct_OTOOL"; then
9720 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9722 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9726 test -z "$as_dir" && as_dir=.
9727 for ac_exec_ext in '' $ac_executable_extensions; do
9728 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9729 ac_cv_prog_ac_ct_OTOOL="otool"
9730 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9739 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9740 if test -n "$ac_ct_OTOOL"; then
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9742 $as_echo "$ac_ct_OTOOL" >&6; }
9744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9745 $as_echo "no" >&6; }
9748 if test "x$ac_ct_OTOOL" = x; then
9751 case $cross_compiling:$ac_tool_warned in
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9754 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9755 ac_tool_warned=yes ;;
9760 OTOOL="$ac_cv_prog_OTOOL"
9763 if test -n "$ac_tool_prefix"; then
9764 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
9765 set dummy ${ac_tool_prefix}otool64; ac_word=$2
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9767 $as_echo_n "checking for $ac_word... " >&6; }
9768 if ${ac_cv_prog_OTOOL64+:} false; then :
9769 $as_echo_n "(cached) " >&6
9771 if test -n "$OTOOL64"; then
9772 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
9774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9778 test -z "$as_dir" && as_dir=.
9779 for ac_exec_ext in '' $ac_executable_extensions; do
9780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9781 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
9782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9791 OTOOL64=$ac_cv_prog_OTOOL64
9792 if test -n "$OTOOL64"; then
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
9794 $as_echo "$OTOOL64" >&6; }
9796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9797 $as_echo "no" >&6; }
9802 if test -z "$ac_cv_prog_OTOOL64"; then
9803 ac_ct_OTOOL64=$OTOOL64
9804 # Extract the first word of "otool64", so it can be a program name with args.
9805 set dummy otool64; ac_word=$2
9806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9807 $as_echo_n "checking for $ac_word... " >&6; }
9808 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
9809 $as_echo_n "(cached) " >&6
9811 if test -n "$ac_ct_OTOOL64"; then
9812 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
9814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9818 test -z "$as_dir" && as_dir=.
9819 for ac_exec_ext in '' $ac_executable_extensions; do
9820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9821 ac_cv_prog_ac_ct_OTOOL64="otool64"
9822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9831 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
9832 if test -n "$ac_ct_OTOOL64"; then
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
9834 $as_echo "$ac_ct_OTOOL64" >&6; }
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9837 $as_echo "no" >&6; }
9840 if test "x$ac_ct_OTOOL64" = x; then
9843 case $cross_compiling:$ac_tool_warned in
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9847 ac_tool_warned=yes ;;
9849 OTOOL64=$ac_ct_OTOOL64
9852 OTOOL64="$ac_cv_prog_OTOOL64"
9881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
9882 $as_echo_n "checking for -single_module linker flag... " >&6; }
9883 if ${lt_cv_apple_cc_single_mod+:} false; then :
9884 $as_echo_n "(cached) " >&6
9886 lt_cv_apple_cc_single_mod=no
9887 if test -z "$LT_MULTI_MODULE"; then
9888 # By default we will add the -single_module flag. You can override
9889 # by either setting the environment variable LT_MULTI_MODULE
9890 # non-empty at configure time, or by adding -multi_module to the
9892 rm -rf libconftest.dylib*
9893 echo "int foo(void){return 1;}" > conftest.c
9894 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9895 -dynamiclib -Wl,-single_module conftest.c" >&5
9896 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
9897 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
9899 # If there is a non-empty error log, and "single_module"
9900 # appears in it, assume the flag caused a linker warning
9901 if test -s conftest.err && $GREP single_module conftest.err; then
9902 cat conftest.err >&5
9903 # Otherwise, if the output was created with a 0 exit code from
9904 # the compiler, it worked.
9905 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
9906 lt_cv_apple_cc_single_mod=yes
9908 cat conftest.err >&5
9910 rm -rf libconftest.dylib*
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
9915 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
9918 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
9919 if ${lt_cv_ld_exported_symbols_list+:} false; then :
9920 $as_echo_n "(cached) " >&6
9922 lt_cv_ld_exported_symbols_list=no
9923 save_LDFLAGS=$LDFLAGS
9924 echo "_main" > conftest.sym
9925 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9937 if ac_fn_c_try_link "$LINENO"; then :
9938 lt_cv_ld_exported_symbols_list=yes
9940 lt_cv_ld_exported_symbols_list=no
9942 rm -f core conftest.err conftest.$ac_objext \
9943 conftest$ac_exeext conftest.$ac_ext
9944 LDFLAGS=$save_LDFLAGS
9947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
9948 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
9951 $as_echo_n "checking for -force_load linker flag... " >&6; }
9952 if ${lt_cv_ld_force_load+:} false; then :
9953 $as_echo_n "(cached) " >&6
9955 lt_cv_ld_force_load=no
9956 cat > conftest.c << _LT_EOF
9957 int forced_loaded() { return 2;}
9959 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
9960 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
9961 echo "$AR cru libconftest.a conftest.o" >&5
9962 $AR cru libconftest.a conftest.o 2>&5
9963 echo "$RANLIB libconftest.a" >&5
9964 $RANLIB libconftest.a 2>&5
9965 cat > conftest.c << _LT_EOF
9966 int main() { return 0;}
9968 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
9969 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
9971 if test -s conftest.err && $GREP force_load conftest.err; then
9972 cat conftest.err >&5
9973 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
9974 lt_cv_ld_force_load=yes
9976 cat conftest.err >&5
9978 rm -f conftest.err libconftest.a conftest conftest.c
9979 rm -rf conftest.dSYM
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
9983 $as_echo "$lt_cv_ld_force_load" >&6; }
9985 rhapsody* | darwin1.[012])
9986 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
9988 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9989 darwin*) # darwin 5.x on
9990 # if running on 10.5 or later, the deployment target defaults
9991 # to the OS version, if on x86, and 10.4, the deployment
9992 # target defaults to 10.4. Don't you love it?
9993 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
9994 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
9995 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
9997 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
9999 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10003 if test yes = "$lt_cv_apple_cc_single_mod"; then
10004 _lt_dar_single_mod='$single_module'
10006 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10007 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10009 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10011 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10012 _lt_dsymutil='~$DSYMUTIL $lib || :'
10019 # func_munge_path_list VARIABLE PATH
10020 # -----------------------------------
10021 # VARIABLE is name of variable containing _space_ separated list of
10022 # directories to be munged by the contents of PATH, which is string
10025 # string "DIR[ DIR]" will be prepended to VARIABLE
10027 # string "DIR[ DIR]" will be appended to VARIABLE
10028 # "DIRP[:DIRP]::[DIRA:]DIRA"
10029 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10030 # "DIRA[ DIRA]" will be appended to VARIABLE
10032 # VARIABLE will be replaced by "DIR[ DIR]"
10033 func_munge_path_list ()
10039 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10042 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10045 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10046 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10049 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10054 for ac_header in dlfcn.h
10056 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10058 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10059 cat >>confdefs.h <<_ACEOF
10060 #define HAVE_DLFCN_H 1
10078 enable_win32_dll=no
10081 # Check whether --enable-shared was given.
10082 if test "${enable_shared+set}" = set; then :
10083 enableval=$enable_shared; p=${PACKAGE-default}
10085 yes) enable_shared=yes ;;
10086 no) enable_shared=no ;;
10089 # Look at the argument we got. We use all the common list separators.
10090 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10091 for pkg in $enableval; do
10093 if test "X$pkg" = "X$p"; then
10114 # Check whether --with-pic was given.
10115 if test "${with_pic+set}" = set; then :
10116 withval=$with_pic; lt_p=${PACKAGE-default}
10118 yes|no) pic_mode=$withval ;;
10121 # Look at the argument we got. We use all the common list separators.
10122 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10123 for lt_pkg in $withval; do
10125 if test "X$lt_pkg" = "X$lt_p"; then
10143 # Check whether --enable-fast-install was given.
10144 if test "${enable_fast_install+set}" = set; then :
10145 enableval=$enable_fast_install; p=${PACKAGE-default}
10147 yes) enable_fast_install=yes ;;
10148 no) enable_fast_install=no ;;
10150 enable_fast_install=no
10151 # Look at the argument we got. We use all the common list separators.
10152 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10153 for pkg in $enableval; do
10155 if test "X$pkg" = "X$p"; then
10156 enable_fast_install=yes
10163 enable_fast_install=yes
10173 shared_archive_member_spec=
10174 case $host,$enable_shared in
10175 power*-*-aix[5-9]*,yes)
10176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10177 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10179 # Check whether --with-aix-soname was given.
10180 if test "${with_aix_soname+set}" = set; then :
10181 withval=$with_aix_soname; case $withval in
10185 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10188 lt_cv_with_aix_soname=$with_aix_soname
10190 if ${lt_cv_with_aix_soname+:} false; then :
10191 $as_echo_n "(cached) " >&6
10193 lt_cv_with_aix_soname=aix
10196 with_aix_soname=$lt_cv_with_aix_soname
10199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10200 $as_echo "$with_aix_soname" >&6; }
10201 if test aix != "$with_aix_soname"; then
10202 # For the AIX way of multilib, we name the shared archive member
10203 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10204 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10205 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10206 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10207 if test 64 = "${OBJECT_MODE-32}"; then
10208 shared_archive_member_spec=shr_64
10210 shared_archive_member_spec=shr
10215 with_aix_soname=aix
10228 # This can be used to rebuild libtool when needed
10229 LIBTOOL_DEPS=$ltmain
10231 # Always use our own libtool.
10232 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10263 test -z "$LN_S" && LN_S="ln -s"
10278 if test -n "${ZSH_VERSION+set}"; then
10279 setopt NO_GLOB_SUBST
10282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10283 $as_echo_n "checking for objdir... " >&6; }
10284 if ${lt_cv_objdir+:} false; then :
10285 $as_echo_n "(cached) " >&6
10287 rm -f .libs 2>/dev/null
10288 mkdir .libs 2>/dev/null
10289 if test -d .libs; then
10292 # MS-DOS does not allow filenames that begin with a dot.
10295 rmdir .libs 2>/dev/null
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10298 $as_echo "$lt_cv_objdir" >&6; }
10299 objdir=$lt_cv_objdir
10305 cat >>confdefs.h <<_ACEOF
10306 #define LT_OBJDIR "$lt_cv_objdir/"
10314 # AIX sometimes has problems with the GCC collect2 program. For some
10315 # reason, if we set the COLLECT_NAMES environment variable, the problems
10316 # vanish in a puff of smoke.
10317 if test set != "${COLLECT_NAMES+set}"; then
10319 export COLLECT_NAMES
10324 # Global variables:
10326 can_build_shared=yes
10328 # All known linkers require a '.a' archive for static linking (except MSVC,
10329 # which needs '.lib').
10332 with_gnu_ld=$lt_cv_prog_gnu_ld
10337 # Set sane defaults for various variables
10338 test -z "$CC" && CC=cc
10339 test -z "$LTCC" && LTCC=$CC
10340 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10341 test -z "$LD" && LD=ld
10342 test -z "$ac_objext" && ac_objext=o
10344 func_cc_basename $compiler
10345 cc_basename=$func_cc_basename_result
10348 # Only perform the check for file, if the check method requires it
10349 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10350 case $deplibs_check_method in
10352 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10354 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10355 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10356 $as_echo_n "(cached) " >&6
10360 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10363 lt_save_MAGIC_CMD=$MAGIC_CMD
10364 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10365 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10366 for ac_dir in $ac_dummy; do
10368 test -z "$ac_dir" && ac_dir=.
10369 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10370 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10371 if test -n "$file_magic_test_file"; then
10372 case $deplibs_check_method in
10374 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10375 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10376 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10377 $EGREP "$file_magic_regex" > /dev/null; then
10382 *** Warning: the command libtool uses to detect shared libraries,
10383 *** $file_magic_cmd, produces output that libtool cannot recognize.
10384 *** The result is that libtool may fail to recognize shared libraries
10385 *** as such. This will affect the creation of libtool libraries that
10386 *** depend on shared libraries, but programs linked with such libtool
10387 *** libraries will work regardless of this problem. Nevertheless, you
10388 *** may want to report the problem to your system manager and/or to
10389 *** bug-libtool@gnu.org
10399 MAGIC_CMD=$lt_save_MAGIC_CMD
10404 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10405 if test -n "$MAGIC_CMD"; then
10406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10407 $as_echo "$MAGIC_CMD" >&6; }
10409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10410 $as_echo "no" >&6; }
10417 if test -z "$lt_cv_path_MAGIC_CMD"; then
10418 if test -n "$ac_tool_prefix"; then
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10420 $as_echo_n "checking for file... " >&6; }
10421 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10422 $as_echo_n "(cached) " >&6
10426 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10429 lt_save_MAGIC_CMD=$MAGIC_CMD
10430 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10431 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10432 for ac_dir in $ac_dummy; do
10434 test -z "$ac_dir" && ac_dir=.
10435 if test -f "$ac_dir/file"; then
10436 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10437 if test -n "$file_magic_test_file"; then
10438 case $deplibs_check_method in
10440 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10441 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10442 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10443 $EGREP "$file_magic_regex" > /dev/null; then
10448 *** Warning: the command libtool uses to detect shared libraries,
10449 *** $file_magic_cmd, produces output that libtool cannot recognize.
10450 *** The result is that libtool may fail to recognize shared libraries
10451 *** as such. This will affect the creation of libtool libraries that
10452 *** depend on shared libraries, but programs linked with such libtool
10453 *** libraries will work regardless of this problem. Nevertheless, you
10454 *** may want to report the problem to your system manager and/or to
10455 *** bug-libtool@gnu.org
10465 MAGIC_CMD=$lt_save_MAGIC_CMD
10470 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10471 if test -n "$MAGIC_CMD"; then
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10473 $as_echo "$MAGIC_CMD" >&6; }
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10476 $as_echo "no" >&6; }
10489 # Use C for the default configuration in the libtool script
10493 ac_cpp='$CPP $CPPFLAGS'
10494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10499 # Source file extension for C test sources.
10502 # Object file extension for compiled C test sources.
10506 # Code to be used in simple compile tests
10507 lt_simple_compile_test_code="int some_variable = 0;"
10509 # Code to be used in simple link tests
10510 lt_simple_link_test_code='int main(){return(0);}'
10518 # If no C compiler was specified, use CC.
10521 # If no C compiler flags were specified, use CFLAGS.
10522 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10524 # Allow CC to be a program name with arguments.
10527 # Save the default compiler, since it gets overwritten when the other
10528 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10529 compiler_DEFAULT=$CC
10531 # save warnings/boilerplate of simple test code
10532 ac_outfile=conftest.$ac_objext
10533 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10534 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10535 _lt_compiler_boilerplate=`cat conftest.err`
10538 ac_outfile=conftest.$ac_objext
10539 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10540 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10541 _lt_linker_boilerplate=`cat conftest.err`
10546 ## There is no encapsulation within the following macros, do not change
10547 ## the running order or otherwise move them around unless you know exactly
10548 ## what you are doing...
10549 if test -n "$compiler"; then
10551 lt_prog_compiler_no_builtin_flag=
10553 if test yes = "$GCC"; then
10554 case $cc_basename in
10556 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10558 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10562 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10563 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10564 $as_echo_n "(cached) " >&6
10566 lt_cv_prog_compiler_rtti_exceptions=no
10567 ac_outfile=conftest.$ac_objext
10568 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10569 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
10570 # Insert the option either (1) after the last *FLAGS variable, or
10571 # (2) before a word containing "conftest.", or (3) at the end.
10572 # Note that $ac_compile itself does not contain backslashes and begins
10573 # with a dollar sign (not a hyphen), so the echo should work correctly.
10574 # The option is referenced via a variable to avoid confusing sed.
10575 lt_compile=`echo "$ac_compile" | $SED \
10576 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10577 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10578 -e 's:$: $lt_compiler_flag:'`
10579 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10580 (eval "$lt_compile" 2>conftest.err)
10582 cat conftest.err >&5
10583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10584 if (exit $ac_status) && test -s "$ac_outfile"; then
10585 # The compiler can only warn and ignore the option if not recognized
10586 # So say no if there are warnings other than the usual output.
10587 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10588 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10589 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10590 lt_cv_prog_compiler_rtti_exceptions=yes
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10597 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10599 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
10600 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10612 lt_prog_compiler_wl=
10613 lt_prog_compiler_pic=
10614 lt_prog_compiler_static=
10617 if test yes = "$GCC"; then
10618 lt_prog_compiler_wl='-Wl,'
10619 lt_prog_compiler_static='-static'
10623 # All AIX code is PIC.
10624 if test ia64 = "$host_cpu"; then
10625 # AIX 5 now supports IA64 processor
10626 lt_prog_compiler_static='-Bstatic'
10628 lt_prog_compiler_pic='-fPIC'
10634 # see comment about AmigaOS4 .so support
10635 lt_prog_compiler_pic='-fPIC'
10638 # FIXME: we need at least 68020 code to build shared libraries, but
10639 # adding the '-m68020' flag to GCC prevents building anything better,
10641 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10646 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10647 # PIC is the default for these OSes.
10650 mingw* | cygwin* | pw32* | os2* | cegcc*)
10651 # This hack is so that the source file can tell whether it is being
10652 # built for inclusion in a dll (and should export symbols for example).
10653 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10654 # (--disable-auto-import) libraries
10655 lt_prog_compiler_pic='-DDLL_EXPORT'
10658 lt_prog_compiler_static='$wl-static'
10663 darwin* | rhapsody*)
10664 # PIC is the default on this platform
10665 # Common symbols not allowed in MH_DYLIB files
10666 lt_prog_compiler_pic='-fno-common'
10670 # PIC is the default for Haiku.
10671 # The "-static" flag exists, but is broken.
10672 lt_prog_compiler_static=
10676 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10677 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10678 # sets the default TLS model and affects inlining.
10684 lt_prog_compiler_pic='-fPIC'
10690 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
10691 # Instead, we relocate shared libraries at runtime.
10695 # Just because we use GCC doesn't mean we suddenly get shared libraries
10696 # on systems that don't support them.
10697 lt_prog_compiler_can_build_shared=no
10702 # QNX uses GNU C++, but need to define -shared option too, otherwise
10703 # it will coredump.
10704 lt_prog_compiler_pic='-fPIC -shared'
10708 if test -d /usr/nec; then
10709 lt_prog_compiler_pic=-Kconform_pic
10714 lt_prog_compiler_pic='-fPIC'
10718 case $cc_basename in
10719 nvcc*) # Cuda Compiler Driver 2.2
10720 lt_prog_compiler_wl='-Xlinker '
10721 if test -n "$lt_prog_compiler_pic"; then
10722 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
10727 # PORTME Check for flag to pass linker flags through the system compiler.
10730 lt_prog_compiler_wl='-Wl,'
10731 if test ia64 = "$host_cpu"; then
10732 # AIX 5 now supports IA64 processor
10733 lt_prog_compiler_static='-Bstatic'
10735 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
10739 darwin* | rhapsody*)
10740 # PIC is the default on this platform
10741 # Common symbols not allowed in MH_DYLIB files
10742 lt_prog_compiler_pic='-fno-common'
10743 case $cc_basename in
10745 # NAG Fortran compiler
10746 lt_prog_compiler_wl='-Wl,-Wl,,'
10747 lt_prog_compiler_pic='-PIC'
10748 lt_prog_compiler_static='-Bstatic'
10753 mingw* | cygwin* | pw32* | os2* | cegcc*)
10754 # This hack is so that the source file can tell whether it is being
10755 # built for inclusion in a dll (and should export symbols for example).
10756 lt_prog_compiler_pic='-DDLL_EXPORT'
10759 lt_prog_compiler_static='$wl-static'
10764 hpux9* | hpux10* | hpux11*)
10765 lt_prog_compiler_wl='-Wl,'
10766 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10767 # not for PA HP-UX.
10773 lt_prog_compiler_pic='+Z'
10776 # Is there a better lt_prog_compiler_static that works with the bundled CC?
10777 lt_prog_compiler_static='$wl-a ${wl}archive'
10780 irix5* | irix6* | nonstopux*)
10781 lt_prog_compiler_wl='-Wl,'
10782 # PIC (with -KPIC) is the default.
10783 lt_prog_compiler_static='-non_shared'
10786 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
10787 case $cc_basename in
10788 # old Intel for x86_64, which still supported -KPIC.
10790 lt_prog_compiler_wl='-Wl,'
10791 lt_prog_compiler_pic='-KPIC'
10792 lt_prog_compiler_static='-static'
10794 # icc used to be incompatible with GCC.
10795 # ICC 10 doesn't accept -KPIC any more.
10797 lt_prog_compiler_wl='-Wl,'
10798 lt_prog_compiler_pic='-fPIC'
10799 lt_prog_compiler_static='-static'
10801 # Lahey Fortran 8.1.
10803 lt_prog_compiler_wl='-Wl,'
10804 lt_prog_compiler_pic='--shared'
10805 lt_prog_compiler_static='--static'
10808 # NAG Fortran compiler
10809 lt_prog_compiler_wl='-Wl,-Wl,,'
10810 lt_prog_compiler_pic='-PIC'
10811 lt_prog_compiler_static='-Bstatic'
10814 # Fabrice Bellard et al's Tiny C Compiler
10815 lt_prog_compiler_wl='-Wl,'
10816 lt_prog_compiler_pic='-fPIC'
10817 lt_prog_compiler_static='-static'
10819 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
10820 # Portland Group compilers (*not* the Pentium gcc compiler,
10821 # which looks to be a dead project)
10822 lt_prog_compiler_wl='-Wl,'
10823 lt_prog_compiler_pic='-fpic'
10824 lt_prog_compiler_static='-Bstatic'
10827 lt_prog_compiler_wl='-Wl,'
10828 # All Alpha code is PIC.
10829 lt_prog_compiler_static='-non_shared'
10831 xl* | bgxl* | bgf* | mpixl*)
10832 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
10833 lt_prog_compiler_wl='-Wl,'
10834 lt_prog_compiler_pic='-qpic'
10835 lt_prog_compiler_static='-qstaticlink'
10838 case `$CC -V 2>&1 | sed 5q` in
10839 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
10840 # Sun Fortran 8.3 passes all unrecognized flags to the linker
10841 lt_prog_compiler_pic='-KPIC'
10842 lt_prog_compiler_static='-Bstatic'
10843 lt_prog_compiler_wl=''
10845 *Sun\ F* | *Sun*Fortran*)
10846 lt_prog_compiler_pic='-KPIC'
10847 lt_prog_compiler_static='-Bstatic'
10848 lt_prog_compiler_wl='-Qoption ld '
10852 lt_prog_compiler_pic='-KPIC'
10853 lt_prog_compiler_static='-Bstatic'
10854 lt_prog_compiler_wl='-Wl,'
10856 *Intel*\ [CF]*Compiler*)
10857 lt_prog_compiler_wl='-Wl,'
10858 lt_prog_compiler_pic='-fPIC'
10859 lt_prog_compiler_static='-static'
10862 lt_prog_compiler_wl='-Wl,'
10863 lt_prog_compiler_pic='-fpic'
10864 lt_prog_compiler_static='-Bstatic'
10872 lt_prog_compiler_pic='-KPIC'
10873 lt_prog_compiler_static='-Bstatic'
10877 # QNX uses GNU C++, but need to define -shared option too, otherwise
10878 # it will coredump.
10879 lt_prog_compiler_pic='-fPIC -shared'
10882 osf3* | osf4* | osf5*)
10883 lt_prog_compiler_wl='-Wl,'
10884 # All OSF/1 code is PIC.
10885 lt_prog_compiler_static='-non_shared'
10889 lt_prog_compiler_static='-non_shared'
10893 lt_prog_compiler_pic='-KPIC'
10894 lt_prog_compiler_static='-Bstatic'
10895 case $cc_basename in
10896 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
10897 lt_prog_compiler_wl='-Qoption ld ';;
10899 lt_prog_compiler_wl='-Wl,';;
10904 lt_prog_compiler_wl='-Qoption ld '
10905 lt_prog_compiler_pic='-PIC'
10906 lt_prog_compiler_static='-Bstatic'
10909 sysv4 | sysv4.2uw2* | sysv4.3*)
10910 lt_prog_compiler_wl='-Wl,'
10911 lt_prog_compiler_pic='-KPIC'
10912 lt_prog_compiler_static='-Bstatic'
10916 if test -d /usr/nec; then
10917 lt_prog_compiler_pic='-Kconform_pic'
10918 lt_prog_compiler_static='-Bstatic'
10922 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
10923 lt_prog_compiler_wl='-Wl,'
10924 lt_prog_compiler_pic='-KPIC'
10925 lt_prog_compiler_static='-Bstatic'
10929 lt_prog_compiler_wl='-Wl,'
10930 lt_prog_compiler_can_build_shared=no
10934 lt_prog_compiler_pic='-pic'
10935 lt_prog_compiler_static='-Bstatic'
10939 lt_prog_compiler_can_build_shared=no
10945 # For platforms that do not support PIC, -DPIC is meaningless:
10947 lt_prog_compiler_pic=
10950 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
10955 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
10956 if ${lt_cv_prog_compiler_pic+:} false; then :
10957 $as_echo_n "(cached) " >&6
10959 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
10962 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
10963 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
10966 # Check to make sure the PIC flag actually works.
10968 if test -n "$lt_prog_compiler_pic"; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
10970 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
10971 if ${lt_cv_prog_compiler_pic_works+:} false; then :
10972 $as_echo_n "(cached) " >&6
10974 lt_cv_prog_compiler_pic_works=no
10975 ac_outfile=conftest.$ac_objext
10976 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10977 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
10978 # Insert the option either (1) after the last *FLAGS variable, or
10979 # (2) before a word containing "conftest.", or (3) at the end.
10980 # Note that $ac_compile itself does not contain backslashes and begins
10981 # with a dollar sign (not a hyphen), so the echo should work correctly.
10982 # The option is referenced via a variable to avoid confusing sed.
10983 lt_compile=`echo "$ac_compile" | $SED \
10984 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10985 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10986 -e 's:$: $lt_compiler_flag:'`
10987 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10988 (eval "$lt_compile" 2>conftest.err)
10990 cat conftest.err >&5
10991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10992 if (exit $ac_status) && test -s "$ac_outfile"; then
10993 # The compiler can only warn and ignore the option if not recognized
10994 # So say no if there are warnings other than the usual output.
10995 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10996 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10997 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10998 lt_cv_prog_compiler_pic_works=yes
11004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11005 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11007 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11008 case $lt_prog_compiler_pic in
11010 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11013 lt_prog_compiler_pic=
11014 lt_prog_compiler_can_build_shared=no
11030 # Check to make sure the static flag actually works.
11032 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11034 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11035 if ${lt_cv_prog_compiler_static_works+:} false; then :
11036 $as_echo_n "(cached) " >&6
11038 lt_cv_prog_compiler_static_works=no
11039 save_LDFLAGS=$LDFLAGS
11040 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11041 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11042 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11043 # The linker can only warn and ignore the option if not recognized
11044 # So say no if there are warnings
11045 if test -s conftest.err; then
11046 # Append any errors to the config.log.
11047 cat conftest.err 1>&5
11048 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11049 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11050 if diff conftest.exp conftest.er2 >/dev/null; then
11051 lt_cv_prog_compiler_static_works=yes
11054 lt_cv_prog_compiler_static_works=yes
11058 LDFLAGS=$save_LDFLAGS
11061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11062 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11064 if test yes = "$lt_cv_prog_compiler_static_works"; then
11067 lt_prog_compiler_static=
11076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11077 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11078 if ${lt_cv_prog_compiler_c_o+:} false; then :
11079 $as_echo_n "(cached) " >&6
11081 lt_cv_prog_compiler_c_o=no
11082 $RM -r conftest 2>/dev/null
11086 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11088 lt_compiler_flag="-o out/conftest2.$ac_objext"
11089 # Insert the option either (1) after the last *FLAGS variable, or
11090 # (2) before a word containing "conftest.", or (3) at the end.
11091 # Note that $ac_compile itself does not contain backslashes and begins
11092 # with a dollar sign (not a hyphen), so the echo should work correctly.
11093 lt_compile=`echo "$ac_compile" | $SED \
11094 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11095 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11096 -e 's:$: $lt_compiler_flag:'`
11097 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11098 (eval "$lt_compile" 2>out/conftest.err)
11100 cat out/conftest.err >&5
11101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11102 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11104 # The compiler can only warn and ignore the option if not recognized
11105 # So say no if there are warnings
11106 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11107 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11108 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11109 lt_cv_prog_compiler_c_o=yes
11114 # SGI C++ compiler will create directory out/ii_files/ for
11115 # template instantiation
11116 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11117 $RM out/* && rmdir out
11123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11124 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11132 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11133 if ${lt_cv_prog_compiler_c_o+:} false; then :
11134 $as_echo_n "(cached) " >&6
11136 lt_cv_prog_compiler_c_o=no
11137 $RM -r conftest 2>/dev/null
11141 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11143 lt_compiler_flag="-o out/conftest2.$ac_objext"
11144 # Insert the option either (1) after the last *FLAGS variable, or
11145 # (2) before a word containing "conftest.", or (3) at the end.
11146 # Note that $ac_compile itself does not contain backslashes and begins
11147 # with a dollar sign (not a hyphen), so the echo should work correctly.
11148 lt_compile=`echo "$ac_compile" | $SED \
11149 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11150 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11151 -e 's:$: $lt_compiler_flag:'`
11152 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11153 (eval "$lt_compile" 2>out/conftest.err)
11155 cat out/conftest.err >&5
11156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11157 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11159 # The compiler can only warn and ignore the option if not recognized
11160 # So say no if there are warnings
11161 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11162 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11163 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11164 lt_cv_prog_compiler_c_o=yes
11169 # SGI C++ compiler will create directory out/ii_files/ for
11170 # template instantiation
11171 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11172 $RM out/* && rmdir out
11178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11179 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11184 hard_links=nottested
11185 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11186 # do not overwrite the value of need_locks provided by the user
11187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11188 $as_echo_n "checking if we can lock with hard links... " >&6; }
11191 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11193 ln conftest.a conftest.b 2>&5 || hard_links=no
11194 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11196 $as_echo "$hard_links" >&6; }
11197 if test no = "$hard_links"; then
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11199 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11212 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11215 allow_undefined_flag=
11216 always_export_symbols=no
11218 archive_expsym_cmds=
11219 compiler_needs_object=no
11220 enable_shared_with_static_runtimes=no
11221 export_dynamic_flag_spec=
11222 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11223 hardcode_automatic=no
11225 hardcode_direct_absolute=no
11226 hardcode_libdir_flag_spec=
11227 hardcode_libdir_separator=
11228 hardcode_minus_L=no
11229 hardcode_shlibpath_var=unsupported
11231 link_all_deplibs=unknown
11233 module_expsym_cmds=
11234 old_archive_from_new_cmds=
11235 old_archive_from_expsyms_cmds=
11236 thread_safe_flag_spec=
11237 whole_archive_flag_spec=
11238 # include_expsyms should be a list of space-separated symbols to be *always*
11239 # included in the symbol list
11241 # exclude_expsyms can be an extended regexp of symbols to exclude
11242 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11243 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11244 # as well as any symbol that contains 'd'.
11245 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11246 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11247 # platforms (ab)use it in PIC code, but their linkers get confused if
11248 # the symbol is explicitly referenced. Since portable code cannot
11249 # rely on this symbol name, it's probably fine to never include it in
11250 # preloaded symbol tables.
11251 # Exclude shared library initialization/finalization symbols.
11252 extract_expsyms_cmds=
11255 cygwin* | mingw* | pw32* | cegcc*)
11256 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11257 # When not using gcc, we currently assume that we are using
11258 # Microsoft Visual C++.
11259 if test yes != "$GCC"; then
11264 # we just hope/assume this is gcc and not c89 (= MSVC++)
11267 openbsd* | bitrig*)
11270 linux* | k*bsd*-gnu | gnu*)
11271 link_all_deplibs=no
11277 # On some targets, GNU ld is compatible enough with the native linker
11278 # that we're better off using the native interface for both.
11279 lt_use_gnu_ld_interface=no
11280 if test yes = "$with_gnu_ld"; then
11283 # The AIX port of GNU ld has always aspired to compatibility
11284 # with the native linker. However, as the warning in the GNU ld
11285 # block says, versions before 2.19.5* couldn't really create working
11286 # shared libraries, regardless of the interface used.
11287 case `$LD -v 2>&1` in
11288 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11289 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11290 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11292 lt_use_gnu_ld_interface=yes
11297 lt_use_gnu_ld_interface=yes
11302 if test yes = "$lt_use_gnu_ld_interface"; then
11303 # If archive_cmds runs LD, not CC, wlarc should be empty
11306 # Set some defaults for GNU ld with shared library support. These
11307 # are reset later if shared libraries are not supported. Putting them
11308 # here allows them to be overridden if necessary.
11309 runpath_var=LD_RUN_PATH
11310 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11311 export_dynamic_flag_spec='$wl--export-dynamic'
11312 # ancient GNU ld didn't support --whole-archive et. al.
11313 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11314 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11316 whole_archive_flag_spec=
11318 supports_anon_versioning=no
11319 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11320 *GNU\ gold*) supports_anon_versioning=yes ;;
11321 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11322 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11323 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11324 *\ 2.11.*) ;; # other 2.11 versions
11325 *) supports_anon_versioning=yes ;;
11328 # See if GNU ld supports shared libraries.
11331 # On AIX/PPC, the GNU linker is very broken
11332 if test ia64 != "$host_cpu"; then
11336 *** Warning: the GNU linker, at least up to release 2.19, is reported
11337 *** to be unable to reliably create shared libraries on AIX.
11338 *** Therefore, libtool is disabling shared libraries support. If you
11339 *** really care for shared libraries, you may want to install binutils
11340 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11341 *** You will then need to restart the configuration process.
11350 # see comment about AmigaOS4 .so support
11351 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11352 archive_expsym_cmds=''
11355 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)'
11356 hardcode_libdir_flag_spec='-L$libdir'
11357 hardcode_minus_L=yes
11363 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11364 allow_undefined_flag=unsupported
11365 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11366 # support --undefined. This deserves some investigation. FIXME
11367 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11373 cygwin* | mingw* | pw32* | cegcc*)
11374 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11375 # as there is no search path for DLLs.
11376 hardcode_libdir_flag_spec='-L$libdir'
11377 export_dynamic_flag_spec='$wl--export-all-symbols'
11378 allow_undefined_flag=unsupported
11379 always_export_symbols=no
11380 enable_shared_with_static_runtimes=yes
11381 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'
11382 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11384 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11385 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11386 # If the export-symbols file already is a .def file, use it as
11387 # is; otherwise, prepend EXPORTS...
11388 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11389 cp $export_symbols $output_objdir/$soname.def;
11391 echo EXPORTS > $output_objdir/$soname.def;
11392 cat $export_symbols >> $output_objdir/$soname.def;
11394 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11401 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11402 link_all_deplibs=yes
11406 hardcode_libdir_flag_spec='-L$libdir'
11407 hardcode_minus_L=yes
11408 allow_undefined_flag=unsupported
11410 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11411 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11412 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11413 $ECHO EXPORTS >> $output_objdir/$libname.def~
11414 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11415 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11416 emximp -o $lib $output_objdir/$libname.def'
11417 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11418 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11419 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11420 $ECHO EXPORTS >> $output_objdir/$libname.def~
11421 prefix_cmds="$SED"~
11422 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11423 prefix_cmds="$prefix_cmds -e 1d";
11425 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11426 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11427 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11428 emximp -o $lib $output_objdir/$libname.def'
11429 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11430 enable_shared_with_static_runtimes=yes
11435 hardcode_shlibpath_var=no
11436 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11437 export_dynamic_flag_spec='$wl-E'
11438 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11439 # Instead, shared libraries are loaded at an image base (0x10000000 by
11440 # default) and relocated if they conflict, which is a slow very memory
11441 # consuming and fragmenting process. To avoid this, we pick a random,
11442 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11443 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11444 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11445 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'
11448 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11450 if test linux-dietlibc = "$host_os"; then
11451 case $cc_basename in
11452 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11455 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11456 && test no = "$tmp_diet"
11458 tmp_addflag=' $pic_flag'
11459 tmp_sharedflag='-shared'
11460 case $cc_basename,$host_cpu in
11461 pgcc*) # Portland Group C compiler
11462 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'
11463 tmp_addflag=' $pic_flag'
11465 pgf77* | pgf90* | pgf95* | pgfortran*)
11466 # Portland Group f77 and f90 compilers
11467 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'
11468 tmp_addflag=' $pic_flag -Mnomain' ;;
11469 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11470 tmp_addflag=' -i_dynamic' ;;
11471 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11472 tmp_addflag=' -i_dynamic -nofor_main' ;;
11473 ifc* | ifort*) # Intel Fortran compiler
11474 tmp_addflag=' -nofor_main' ;;
11475 lf95*) # Lahey Fortran 8.1
11476 whole_archive_flag_spec=
11477 tmp_sharedflag='--shared' ;;
11478 nagfor*) # NAGFOR 5.3
11479 tmp_sharedflag='-Wl,-shared' ;;
11480 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11481 tmp_sharedflag='-qmkshrobj'
11483 nvcc*) # Cuda Compiler Driver 2.2
11484 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'
11485 compiler_needs_object=yes
11488 case `$CC -V 2>&1 | sed 5q` in
11489 *Sun\ C*) # Sun C 5.9
11490 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'
11491 compiler_needs_object=yes
11492 tmp_sharedflag='-G' ;;
11493 *Sun\ F*) # Sun Fortran 8.3
11494 tmp_sharedflag='-G' ;;
11496 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11498 if test yes = "$supports_anon_versioning"; then
11499 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11500 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11501 echo "local: *; };" >> $output_objdir/$libname.ver~
11502 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
11505 case $cc_basename in
11507 export_dynamic_flag_spec='-rdynamic'
11509 xlf* | bgf* | bgxlf* | mpixlf*)
11510 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11511 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11512 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11513 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11514 if test yes = "$supports_anon_versioning"; then
11515 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11516 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11517 echo "local: *; };" >> $output_objdir/$libname.ver~
11518 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11527 netbsd* | netbsdelf*-gnu)
11528 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11529 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11532 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11533 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11538 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11542 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11543 *** create shared libraries on Solaris systems. Therefore, libtool
11544 *** is disabling shared libraries support. We urge you to upgrade GNU
11545 *** binutils to release 2.9.1 or newer. Another option is to modify
11546 *** your PATH or compiler configuration so that the native linker is
11547 *** used, and then restart.
11550 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11551 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11552 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11558 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11559 case `$LD -v 2>&1` in
11560 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11564 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
11565 *** reliably create shared libraries on SCO systems. Therefore, libtool
11566 *** is disabling shared libraries support. We urge you to upgrade GNU
11567 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11568 *** your PATH or compiler configuration so that the native linker is
11569 *** used, and then restart.
11574 # For security reasons, it is highly recommended that you always
11575 # use absolute paths for naming shared libraries, and exclude the
11576 # DT_RUNPATH tag from executables and libraries. But doing so
11577 # requires that you compile everything twice, which is a pain.
11578 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11579 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11580 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11581 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11590 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11592 hardcode_direct=yes
11593 hardcode_shlibpath_var=no
11597 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11598 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11599 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
11606 if test no = "$ld_shlibs"; then
11608 hardcode_libdir_flag_spec=
11609 export_dynamic_flag_spec=
11610 whole_archive_flag_spec=
11613 # PORTME fill in a description of your system's linker (not GNU ld)
11616 allow_undefined_flag=unsupported
11617 always_export_symbols=yes
11618 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'
11619 # Note: this linker hardcodes the directories in LIBPATH if there
11620 # are no directories specified by -L.
11621 hardcode_minus_L=yes
11622 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
11623 # Neither direct hardcoding nor static linking is supported with a
11625 hardcode_direct=unsupported
11630 if test ia64 = "$host_cpu"; then
11631 # On IA64, the linker does run time linking by default, so we don't
11632 # have to do anything special.
11633 aix_use_runtimelinking=no
11634 exp_sym_flag='-Bexport'
11637 # If we're using GNU nm, then we don't want the "-C" option.
11638 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
11639 # Without the "-l" option, or with the "-B" option, AIX nm treats
11640 # weak defined symbols like other global defined symbols, whereas
11641 # GNU nm marks them as "W".
11642 # While the 'weak' keyword is ignored in the Export File, we need
11643 # it in the Import File for the 'aix-soname' feature, so we have
11644 # to replace the "-B" option with "-P" for AIX nm.
11645 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11646 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { if (\$ 2 == "W") { print \$ 3 " weak" } else { print \$ 3 } } }'\'' | sort -u > $export_symbols'
11648 export_symbols_cmds='`func_echo_all $NM | $SED -e '\''s/B\([^B]*\)$/P\1/'\''` -PCpgl $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) && (substr(\$ 1,1,1) != ".")) { if ((\$ 2 == "W") || (\$ 2 == "V") || (\$ 2 == "Z")) { print \$ 1 " weak" } else { print \$ 1 } } }'\'' | sort -u > $export_symbols'
11650 aix_use_runtimelinking=no
11652 # Test if we are trying to use run time linking or normal
11653 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11654 # have runtime linking enabled, and use it for executables.
11655 # For shared libraries, we enable/disable runtime linking
11656 # depending on the kind of the shared library created -
11657 # when "with_aix_soname,aix_use_runtimelinking" is:
11658 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
11659 # "aix,yes" lib.so shared, rtl:yes, for executables
11660 # lib.a static archive
11661 # "both,no" lib.so.V(shr.o) shared, rtl:yes
11662 # lib.a(lib.so.V) shared, rtl:no, for executables
11663 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
11664 # lib.a(lib.so.V) shared, rtl:no
11665 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
11666 # lib.a static archive
11667 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11668 for ld_flag in $LDFLAGS; do
11669 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
11670 aix_use_runtimelinking=yes
11674 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
11675 # With aix-soname=svr4, we create the lib.so.V shared archives only,
11676 # so we don't have lib.a shared libs to link our executables.
11677 # We have to force runtime linking in this case.
11678 aix_use_runtimelinking=yes
11679 LDFLAGS="$LDFLAGS -Wl,-brtl"
11684 exp_sym_flag='-bexport'
11685 no_entry_flag='-bnoentry'
11688 # When large executables or shared objects are built, AIX ld can
11689 # have problems creating the table of contents. If linking a library
11690 # or program results in "error TOC overflow" add -mminimal-toc to
11691 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11692 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11695 hardcode_direct=yes
11696 hardcode_direct_absolute=yes
11697 hardcode_libdir_separator=':'
11698 link_all_deplibs=yes
11699 file_list_spec='$wl-f,'
11700 case $with_aix_soname,$aix_use_runtimelinking in
11701 aix,*) ;; # traditional, no import file
11702 svr4,* | *,yes) # use import file
11703 # The Import File defines what to hardcode.
11705 hardcode_direct_absolute=no
11709 if test yes = "$GCC"; then
11710 case $host_os in aix4.[012]|aix4.[012].*)
11711 # We only want to do this on AIX 4.2 and lower, the check
11712 # below for broken collect2 doesn't work under 4.3+
11713 collect2name=`$CC -print-prog-name=collect2`
11714 if test -f "$collect2name" &&
11715 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11717 # We have reworked collect2
11720 # We have old collect2
11721 hardcode_direct=unsupported
11722 # It fails to find uninstalled libraries when the uninstalled
11723 # path is not listed in the libpath. Setting hardcode_minus_L
11724 # to unsupported forces relinking
11725 hardcode_minus_L=yes
11726 hardcode_libdir_flag_spec='-L$libdir'
11727 hardcode_libdir_separator=
11731 shared_flag='-shared'
11732 if test yes = "$aix_use_runtimelinking"; then
11733 shared_flag="$shared_flag "'$wl-G'
11735 # Need to ensure runtime linking is disabled for the traditional
11736 # shared library, or the linker may eventually find shared libraries
11737 # /with/ Import File - we do not want to mix them.
11738 shared_flag_aix='-shared'
11739 shared_flag_svr4='-shared $wl-G'
11742 if test ia64 = "$host_cpu"; then
11743 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11744 # chokes on -Wl,-G. The following line is correct:
11747 if test yes = "$aix_use_runtimelinking"; then
11748 shared_flag='$wl-G'
11750 shared_flag='$wl-bM:SRE'
11752 shared_flag_aix='$wl-bM:SRE'
11753 shared_flag_svr4='$wl-G'
11757 export_dynamic_flag_spec='$wl-bexpall'
11758 # It seems that -bexpall does not export symbols beginning with
11759 # underscore (_), so it is better to generate a list of symbols to export.
11760 always_export_symbols=yes
11761 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
11762 # Warning - without using the other runtime loading flags (-brtl),
11763 # -berok will link without error, but may produce a broken library.
11764 allow_undefined_flag='-berok'
11765 # Determine the default libpath from the value encoded in an
11766 # empty executable.
11767 if test set = "${lt_cv_aix_libpath+set}"; then
11768 aix_libpath=$lt_cv_aix_libpath
11770 if ${lt_cv_aix_libpath_+:} false; then :
11771 $as_echo_n "(cached) " >&6
11773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11774 /* end confdefs.h. */
11784 if ac_fn_c_try_link "$LINENO"; then :
11786 lt_aix_libpath_sed='
11787 /Import File Strings/,/^$/ {
11789 s/^0 *\([^ ]*\) *$/\1/
11793 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11794 # Check for a 64-bit object if we didn't find anything.
11795 if test -z "$lt_cv_aix_libpath_"; then
11796 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11799 rm -f core conftest.err conftest.$ac_objext \
11800 conftest$ac_exeext conftest.$ac_ext
11801 if test -z "$lt_cv_aix_libpath_"; then
11802 lt_cv_aix_libpath_=/usr/lib:/lib
11807 aix_libpath=$lt_cv_aix_libpath_
11810 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11811 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs $wl'$no_entry_flag' $compiler_flags `if test -n "$allow_undefined_flag"; then func_echo_all "$wl$allow_undefined_flag"; else :; fi` $wl'$exp_sym_flag:\$export_symbols' '$shared_flag
11813 if test ia64 = "$host_cpu"; then
11814 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
11815 allow_undefined_flag="-z nodefs"
11816 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"
11818 # Determine the default libpath from the value encoded in an
11819 # empty executable.
11820 if test set = "${lt_cv_aix_libpath+set}"; then
11821 aix_libpath=$lt_cv_aix_libpath
11823 if ${lt_cv_aix_libpath_+:} false; then :
11824 $as_echo_n "(cached) " >&6
11826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11827 /* end confdefs.h. */
11837 if ac_fn_c_try_link "$LINENO"; then :
11839 lt_aix_libpath_sed='
11840 /Import File Strings/,/^$/ {
11842 s/^0 *\([^ ]*\) *$/\1/
11846 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11847 # Check for a 64-bit object if we didn't find anything.
11848 if test -z "$lt_cv_aix_libpath_"; then
11849 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11852 rm -f core conftest.err conftest.$ac_objext \
11853 conftest$ac_exeext conftest.$ac_ext
11854 if test -z "$lt_cv_aix_libpath_"; then
11855 lt_cv_aix_libpath_=/usr/lib:/lib
11860 aix_libpath=$lt_cv_aix_libpath_
11863 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
11864 # Warning - without using the other run time loading flags,
11865 # -berok will link without error, but may produce a broken library.
11866 no_undefined_flag=' $wl-bernotok'
11867 allow_undefined_flag=' $wl-berok'
11868 if test yes = "$with_gnu_ld"; then
11869 # We only use this code for GNU lds that support --whole-archive.
11870 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
11872 # Exported symbols can be pulled into shared objects from archives
11873 whole_archive_flag_spec='$convenience'
11875 archive_cmds_need_lc=yes
11876 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
11877 # -brtl affects multiple linker settings, -berok does not and is overridden later
11878 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
11879 if test svr4 != "$with_aix_soname"; then
11880 # This is similar to how AIX traditionally builds its shared libraries.
11881 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_aix' -o $output_objdir/$realname.d/$soname $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$realname.d/$soname'
11883 if test aix != "$with_aix_soname"; then
11884 archive_expsym_cmds="$archive_expsym_cmds"'~$CC '$shared_flag_svr4' -o $output_objdir/$realname.d/$shared_archive_member_spec.o $libobjs $deplibs $wl-bnoentry '$compiler_flags_filtered'$wl-bE:$export_symbols$allow_undefined_flag~$STRIP -e $output_objdir/$realname.d/$shared_archive_member_spec.o~( func_echo_all "#! $soname($shared_archive_member_spec.o)"; if test shr_64 = "$shared_archive_member_spec"; then func_echo_all "# 64"; else func_echo_all "# 32"; fi; cat $export_symbols ) > $output_objdir/$realname.d/$shared_archive_member_spec.imp~$AR $AR_FLAGS $output_objdir/$soname $output_objdir/$realname.d/$shared_archive_member_spec.o $output_objdir/$realname.d/$shared_archive_member_spec.imp'
11886 # used by -dlpreopen to get the symbols
11887 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
11889 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
11897 # see comment about AmigaOS4 .so support
11898 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11899 archive_expsym_cmds=''
11902 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)'
11903 hardcode_libdir_flag_spec='-L$libdir'
11904 hardcode_minus_L=yes
11910 export_dynamic_flag_spec=-rdynamic
11913 cygwin* | mingw* | pw32* | cegcc*)
11914 # When not using gcc, we currently assume that we are using
11915 # Microsoft Visual C++.
11916 # hardcode_libdir_flag_spec is actually meaningless, as there is
11917 # no search path for DLLs.
11918 case $cc_basename in
11921 hardcode_libdir_flag_spec=' '
11922 allow_undefined_flag=unsupported
11923 always_export_symbols=yes
11925 # Tell ltmain to make .lib files, not .a files.
11927 # Tell ltmain to make .dll files, not .so files.
11929 # FIXME: Setting linknames here is a bad hack.
11930 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
11931 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11932 cp "$export_symbols" "$output_objdir/$soname.def";
11933 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
11935 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
11937 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
11939 # The linker will not automatically build a static lib if we build a DLL.
11940 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
11941 enable_shared_with_static_runtimes=yes
11942 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
11943 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
11945 old_postinstall_cmds='chmod 644 $oldlib'
11946 postlink_cmds='lt_outputfile="@OUTPUT@"~
11947 lt_tool_outputfile="@TOOL_OUTPUT@"~
11948 case $lt_outputfile in
11951 lt_outputfile=$lt_outputfile.exe
11952 lt_tool_outputfile=$lt_tool_outputfile.exe
11955 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
11956 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
11957 $RM "$lt_outputfile.manifest";
11961 # Assume MSVC wrapper
11962 hardcode_libdir_flag_spec=' '
11963 allow_undefined_flag=unsupported
11964 # Tell ltmain to make .lib files, not .a files.
11966 # Tell ltmain to make .dll files, not .so files.
11968 # FIXME: Setting linknames here is a bad hack.
11969 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
11970 # The linker will automatically build a .lib file if we build a DLL.
11971 old_archive_from_new_cmds='true'
11972 # FIXME: Should let the user specify the lib program.
11973 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
11974 enable_shared_with_static_runtimes=yes
11979 darwin* | rhapsody*)
11982 archive_cmds_need_lc=no
11984 hardcode_automatic=yes
11985 hardcode_shlibpath_var=unsupported
11986 if test yes = "$lt_cv_ld_force_load"; then
11987 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\"`'
11990 whole_archive_flag_spec=''
11992 link_all_deplibs=yes
11993 allow_undefined_flag=$_lt_dar_allow_undefined
11994 case $cc_basename in
11995 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
11996 *) _lt_dar_can_shared=$GCC ;;
11998 if test yes = "$_lt_dar_can_shared"; then
11999 output_verbose_link_cmd=func_echo_all
12000 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12001 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12002 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"
12003 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"
12012 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12013 hardcode_libdir_flag_spec='-L$libdir'
12014 hardcode_shlibpath_var=no
12017 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12018 # support. Future versions do this automatically, but an explicit c++rt0.o
12019 # does not break anything, and helps significantly (at the cost of a little
12022 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12023 hardcode_libdir_flag_spec='-R$libdir'
12024 hardcode_direct=yes
12025 hardcode_shlibpath_var=no
12028 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12030 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12031 hardcode_direct=yes
12032 hardcode_minus_L=yes
12033 hardcode_shlibpath_var=no
12036 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12037 freebsd* | dragonfly*)
12038 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12039 hardcode_libdir_flag_spec='-R$libdir'
12040 hardcode_direct=yes
12041 hardcode_shlibpath_var=no
12045 if test yes = "$GCC"; then
12046 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12048 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
12050 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12051 hardcode_libdir_separator=:
12052 hardcode_direct=yes
12054 # hardcode_minus_L: Not really in the search PATH,
12055 # but as the default location of the library.
12056 hardcode_minus_L=yes
12057 export_dynamic_flag_spec='$wl-E'
12061 if test yes,no = "$GCC,$with_gnu_ld"; then
12062 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12064 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12066 if test no = "$with_gnu_ld"; then
12067 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12068 hardcode_libdir_separator=:
12069 hardcode_direct=yes
12070 hardcode_direct_absolute=yes
12071 export_dynamic_flag_spec='$wl-E'
12072 # hardcode_minus_L: Not really in the search PATH,
12073 # but as the default location of the library.
12074 hardcode_minus_L=yes
12079 if test yes,no = "$GCC,$with_gnu_ld"; then
12082 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12085 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12088 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12094 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12097 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12101 # Older versions of the 11.00 compiler do not understand -b yet
12102 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12104 $as_echo_n "checking if $CC understands -b... " >&6; }
12105 if ${lt_cv_prog_compiler__b+:} false; then :
12106 $as_echo_n "(cached) " >&6
12108 lt_cv_prog_compiler__b=no
12109 save_LDFLAGS=$LDFLAGS
12110 LDFLAGS="$LDFLAGS -b"
12111 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12112 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12113 # The linker can only warn and ignore the option if not recognized
12114 # So say no if there are warnings
12115 if test -s conftest.err; then
12116 # Append any errors to the config.log.
12117 cat conftest.err 1>&5
12118 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12119 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12120 if diff conftest.exp conftest.er2 >/dev/null; then
12121 lt_cv_prog_compiler__b=yes
12124 lt_cv_prog_compiler__b=yes
12128 LDFLAGS=$save_LDFLAGS
12131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12132 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12134 if test yes = "$lt_cv_prog_compiler__b"; then
12135 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12137 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12143 if test no = "$with_gnu_ld"; then
12144 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12145 hardcode_libdir_separator=:
12150 hardcode_shlibpath_var=no
12153 hardcode_direct=yes
12154 hardcode_direct_absolute=yes
12155 export_dynamic_flag_spec='$wl-E'
12157 # hardcode_minus_L: Not really in the search PATH,
12158 # but as the default location of the library.
12159 hardcode_minus_L=yes
12165 irix5* | irix6* | nonstopux*)
12166 if test yes = "$GCC"; then
12167 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'
12168 # Try to use the -exported_symbol ld option, if it does not
12169 # work, assume that -exports_file does not work either and
12170 # implicitly export all symbols.
12171 # This should be the same for all languages, so no per-tag cache variable.
12172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12173 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12174 if ${lt_cv_irix_exported_symbol+:} false; then :
12175 $as_echo_n "(cached) " >&6
12177 save_LDFLAGS=$LDFLAGS
12178 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12180 /* end confdefs.h. */
12181 int foo (void) { return 0; }
12183 if ac_fn_c_try_link "$LINENO"; then :
12184 lt_cv_irix_exported_symbol=yes
12186 lt_cv_irix_exported_symbol=no
12188 rm -f core conftest.err conftest.$ac_objext \
12189 conftest$ac_exeext conftest.$ac_ext
12190 LDFLAGS=$save_LDFLAGS
12192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12193 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12194 if test yes = "$lt_cv_irix_exported_symbol"; then
12195 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'
12197 link_all_deplibs=no
12199 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'
12200 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'
12202 archive_cmds_need_lc='no'
12203 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12204 hardcode_libdir_separator=:
12206 link_all_deplibs=yes
12210 case $cc_basename in
12212 # Fabrice Bellard et al's Tiny C Compiler
12214 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12219 netbsd* | netbsdelf*-gnu)
12220 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12221 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12223 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12225 hardcode_libdir_flag_spec='-R$libdir'
12226 hardcode_direct=yes
12227 hardcode_shlibpath_var=no
12231 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12232 hardcode_direct=yes
12233 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12234 hardcode_libdir_separator=:
12235 hardcode_shlibpath_var=no
12241 openbsd* | bitrig*)
12242 if test -f /usr/libexec/ld.so; then
12243 hardcode_direct=yes
12244 hardcode_shlibpath_var=no
12245 hardcode_direct_absolute=yes
12246 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12247 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12248 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12249 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12250 export_dynamic_flag_spec='$wl-E'
12252 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12253 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12261 hardcode_libdir_flag_spec='-L$libdir'
12262 hardcode_minus_L=yes
12263 allow_undefined_flag=unsupported
12265 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12266 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12267 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12268 $ECHO EXPORTS >> $output_objdir/$libname.def~
12269 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12270 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12271 emximp -o $lib $output_objdir/$libname.def'
12272 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12273 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12274 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12275 $ECHO EXPORTS >> $output_objdir/$libname.def~
12276 prefix_cmds="$SED"~
12277 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12278 prefix_cmds="$prefix_cmds -e 1d";
12280 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12281 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12282 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12283 emximp -o $lib $output_objdir/$libname.def'
12284 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12285 enable_shared_with_static_runtimes=yes
12289 if test yes = "$GCC"; then
12290 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12291 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'
12293 allow_undefined_flag=' -expect_unresolved \*'
12294 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'
12296 archive_cmds_need_lc='no'
12297 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12298 hardcode_libdir_separator=:
12301 osf4* | osf5*) # as osf3* with the addition of -msym flag
12302 if test yes = "$GCC"; then
12303 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12304 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'
12305 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12307 allow_undefined_flag=' -expect_unresolved \*'
12308 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'
12309 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~
12310 $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'
12312 # Both c and cxx compiler support -rpath directly
12313 hardcode_libdir_flag_spec='-rpath $libdir'
12315 archive_cmds_need_lc='no'
12316 hardcode_libdir_separator=:
12320 no_undefined_flag=' -z defs'
12321 if test yes = "$GCC"; then
12323 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12324 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12325 $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'
12327 case `$CC -V 2>&1` in
12330 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12331 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12332 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12336 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12337 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12338 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12342 hardcode_libdir_flag_spec='-R$libdir'
12343 hardcode_shlibpath_var=no
12345 solaris2.[0-5] | solaris2.[0-5].*) ;;
12347 # The compiler driver will combine and reorder linker options,
12348 # but understands '-z linker_flag'. GCC discards it without '$wl',
12349 # but is careful enough not to reorder.
12350 # Supported since Solaris 2.6 (maybe 2.5.1?)
12351 if test yes = "$GCC"; then
12352 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12354 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12358 link_all_deplibs=yes
12362 if test sequent = "$host_vendor"; then
12363 # Use $CC to link under sequent, because it throws in some extra .o
12364 # files that make .init and .fini sections work.
12365 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12367 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12369 hardcode_libdir_flag_spec='-L$libdir'
12370 hardcode_direct=yes
12371 hardcode_minus_L=yes
12372 hardcode_shlibpath_var=no
12376 case $host_vendor in
12378 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12379 hardcode_direct=yes # is this really true???
12382 ## LD is ld it makes a PLAMLIB
12383 ## CC just makes a GrossModule.
12384 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12385 reload_cmds='$CC -r -o $output$reload_objs'
12389 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12390 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12393 runpath_var='LD_RUN_PATH'
12394 hardcode_shlibpath_var=no
12398 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12399 hardcode_shlibpath_var=no
12400 export_dynamic_flag_spec='-Bexport'
12404 if test -d /usr/nec; then
12405 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12406 hardcode_shlibpath_var=no
12407 runpath_var=LD_RUN_PATH
12408 hardcode_runpath_var=yes
12413 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12414 no_undefined_flag='$wl-z,text'
12415 archive_cmds_need_lc=no
12416 hardcode_shlibpath_var=no
12417 runpath_var='LD_RUN_PATH'
12419 if test yes = "$GCC"; then
12420 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12421 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12423 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12424 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12428 sysv5* | sco3.2v5* | sco5v6*)
12429 # Note: We CANNOT use -z defs as we might desire, because we do not
12430 # link with -lc, and that would cause any symbols used from libc to
12431 # always be unresolved, which means just about no library would
12432 # ever link correctly. If we're not using GNU ld we use -z text
12433 # though, which does catch some bad symbols but isn't as heavy-handed
12435 no_undefined_flag='$wl-z,text'
12436 allow_undefined_flag='$wl-z,nodefs'
12437 archive_cmds_need_lc=no
12438 hardcode_shlibpath_var=no
12439 hardcode_libdir_flag_spec='$wl-R,$libdir'
12440 hardcode_libdir_separator=':'
12441 link_all_deplibs=yes
12442 export_dynamic_flag_spec='$wl-Bexport'
12443 runpath_var='LD_RUN_PATH'
12445 if test yes = "$GCC"; then
12446 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12447 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12449 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12450 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12455 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12456 hardcode_libdir_flag_spec='-L$libdir'
12457 hardcode_shlibpath_var=no
12465 if test sni = "$host_vendor"; then
12467 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12468 export_dynamic_flag_spec='$wl-Blargedynsym'
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12475 $as_echo "$ld_shlibs" >&6; }
12476 test no = "$ld_shlibs" && can_build_shared=no
12478 with_gnu_ld=$with_gnu_ld
12495 # Do we need to explicitly link libc?
12497 case "x$archive_cmds_need_lc" in
12499 # Assume -lc should be added
12500 archive_cmds_need_lc=yes
12502 if test yes,yes = "$GCC,$enable_shared"; then
12503 case $archive_cmds in
12505 # FIXME: we may have to deal with multi-command sequences.
12508 # Test whether the compiler implicitly links with -lc since on some
12509 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12510 # to ld, don't add -lc before -lgcc.
12511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12512 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12513 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12514 $as_echo_n "(cached) " >&6
12517 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12520 (eval $ac_compile) 2>&5
12522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12523 test $ac_status = 0; } 2>conftest.err; then
12526 libobjs=conftest.$ac_objext
12528 wl=$lt_prog_compiler_wl
12529 pic_flag=$lt_prog_compiler_pic
12535 lt_save_allow_undefined_flag=$allow_undefined_flag
12536 allow_undefined_flag=
12537 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12538 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12541 test $ac_status = 0; }
12543 lt_cv_archive_cmds_need_lc=no
12545 lt_cv_archive_cmds_need_lc=yes
12547 allow_undefined_flag=$lt_save_allow_undefined_flag
12549 cat conftest.err 1>&5
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12555 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12556 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12715 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12717 if test yes = "$GCC"; then
12719 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
12720 *) lt_awk_arg='/^libraries:/' ;;
12723 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
12724 *) lt_sed_strip_eq='s|=/|/|g' ;;
12726 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12727 case $lt_search_path_spec in
12729 # if the path contains ";" then we assume it to be the separator
12730 # otherwise default to the standard path separator (i.e. ":") - it is
12731 # assumed that no part of a normal pathname contains ";" but that should
12732 # okay in the real world where ";" in dirpaths is itself problematic.
12733 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12736 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12739 # Ok, now we have the path, separated by spaces, we can step through it
12740 # and add multilib dir if necessary...
12741 lt_tmp_lt_search_path_spec=
12742 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12743 # ...but if some path component already ends with the multilib dir we assume
12744 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
12745 case "$lt_multi_os_dir; $lt_search_path_spec " in
12746 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
12750 for lt_sys_path in $lt_search_path_spec; do
12751 if test -d "$lt_sys_path$lt_multi_os_dir"; then
12752 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
12753 elif test -n "$lt_multi_os_dir"; then
12754 test -d "$lt_sys_path" && \
12755 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12758 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12759 BEGIN {RS = " "; FS = "/|\n";} {
12762 for (lt_i = NF; lt_i > 0; lt_i--) {
12763 if ($lt_i != "" && $lt_i != ".") {
12764 if ($lt_i == "..") {
12767 if (lt_count == 0) {
12768 lt_foo = "/" $lt_i lt_foo;
12775 if (lt_foo != "") { lt_freq[lt_foo]++; }
12776 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12778 # AWK program above erroneously prepends '/' to C:/dos/paths
12781 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12782 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
12784 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12786 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12788 library_names_spec=
12789 libname_spec='lib$name'
12793 postuninstall_cmds=
12797 shlibpath_overrides_runpath=unknown
12799 dynamic_linker="$host_os ld.so"
12800 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12801 need_lib_prefix=unknown
12802 hardcode_into_libs=no
12804 # when you set need_version to no, make sure it does not cause -set_version
12805 # flags to be left without arguments
12806 need_version=unknown
12812 version_type=linux # correct to gnu/linux during the next big refactor
12813 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
12814 shlibpath_var=LIBPATH
12816 # AIX 3 has no versioning support, so we append a major version to the name.
12817 soname_spec='$libname$release$shared_ext$major'
12821 version_type=linux # correct to gnu/linux during the next big refactor
12824 hardcode_into_libs=yes
12825 if test ia64 = "$host_cpu"; then
12826 # AIX 5 supports IA64
12827 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
12828 shlibpath_var=LD_LIBRARY_PATH
12830 # With GCC up to 2.95.x, collect2 would create an import file
12831 # for dependence libraries. The import file would start with
12832 # the line '#! .'. This would cause the generated library to
12833 # depend on '.', always an invalid library. This was fixed in
12834 # development snapshots of GCC prior to 3.0.
12836 aix4 | aix4.[01] | aix4.[01].*)
12837 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
12839 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
12842 can_build_shared=no
12846 # Using Import Files as archive members, it is possible to support
12847 # filename-based versioning of shared library archives on AIX. While
12848 # this would work for both with and without runtime linking, it will
12849 # prevent static linking of such archives. So we do filename-based
12850 # shared library versioning with .so extension only, which is used
12851 # when both runtime linking and shared linking is enabled.
12852 # Unfortunately, runtime linking may impact performance, so we do
12853 # not want this to be the default eventually. Also, we use the
12854 # versioned .so libs for executables only if there is the -brtl
12855 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
12856 # To allow for filename-based versioning support, we need to create
12857 # libNAME.so.V as an archive file, containing:
12858 # *) an Import File, referring to the versioned filename of the
12859 # archive as well as the shared archive member, telling the
12860 # bitwidth (32 or 64) of that shared object, and providing the
12861 # list of exported symbols of that shared object, eventually
12862 # decorated with the 'weak' keyword
12863 # *) the shared object with the F_LOADONLY flag set, to really avoid
12864 # it being seen by the linker.
12865 # At run time we better use the real file rather than another symlink,
12866 # but for link time we create the symlink libNAME.so -> libNAME.so.V
12868 case $with_aix_soname,$aix_use_runtimelinking in
12869 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
12870 # soname into executable. Probably we can add versioning support to
12871 # collect2, so additional links can be useful in future.
12872 aix,yes) # traditional libtool
12873 dynamic_linker='AIX unversionable lib.so'
12874 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
12875 # instead of lib<name>.a to let people know that these are not
12876 # typical AIX shared libraries.
12877 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12879 aix,no) # traditional AIX only
12880 dynamic_linker='AIX lib.a(lib.so.V)'
12881 # We preserve .a as extension for shared libraries through AIX4.2
12882 # and later when we are not doing run time linking.
12883 library_names_spec='$libname$release.a $libname.a'
12884 soname_spec='$libname$release$shared_ext$major'
12886 svr4,*) # full svr4 only
12887 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
12888 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12889 # We do not specify a path in Import Files, so LIBPATH fires.
12890 shlibpath_overrides_runpath=yes
12892 *,yes) # both, prefer svr4
12893 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
12894 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
12895 # unpreferred sharedlib libNAME.a needs extra handling
12896 postinstall_cmds='test -n "$linkname" || linkname="$realname"~func_stripname "" ".so" "$linkname"~$install_shared_prog "$dir/$func_stripname_result.$libext" "$destdir/$func_stripname_result.$libext"~test -z "$tstripme" || test -z "$striplib" || $striplib "$destdir/$func_stripname_result.$libext"'
12897 postuninstall_cmds='for n in $library_names $old_library; do :; done~func_stripname "" ".so" "$n"~test "$func_stripname_result" = "$n" || func_append rmfiles " $odir/$func_stripname_result.$libext"'
12898 # We do not specify a path in Import Files, so LIBPATH fires.
12899 shlibpath_overrides_runpath=yes
12901 *,no) # both, prefer aix
12902 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
12903 library_names_spec='$libname$release.a $libname.a'
12904 soname_spec='$libname$release$shared_ext$major'
12905 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
12906 postinstall_cmds='test -z "$dlname" || $install_shared_prog $dir/$dlname $destdir/$dlname~test -z "$tstripme" || test -z "$striplib" || $striplib $destdir/$dlname~test -n "$linkname" || linkname=$realname~func_stripname "" ".a" "$linkname"~(cd "$destdir" && $LN_S -f $dlname $func_stripname_result.so)'
12907 postuninstall_cmds='test -z "$dlname" || func_append rmfiles " $odir/$dlname"~for n in $old_library $library_names; do :; done~func_stripname "" ".a" "$n"~func_append rmfiles " $odir/$func_stripname_result.so"'
12910 shlibpath_var=LIBPATH
12917 # Since July 2007 AmigaOS4 officially supports .so libraries.
12918 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
12919 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12922 library_names_spec='$libname.ixlibrary $libname.a'
12923 # Create ${libname}_ixlibrary.a entries in /sys/libs.
12924 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; $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'
12930 library_names_spec='$libname$shared_ext'
12931 dynamic_linker="$host_os ld.so"
12932 shlibpath_var=LIBRARY_PATH
12936 version_type=linux # correct to gnu/linux during the next big refactor
12938 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
12939 soname_spec='$libname$release$shared_ext$major'
12940 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
12941 shlibpath_var=LD_LIBRARY_PATH
12942 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
12943 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
12944 # the default ld.so.conf also contains /usr/contrib/lib and
12945 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
12946 # libtool to hard-code these into programs
12949 cygwin* | mingw* | pw32* | cegcc*)
12950 version_type=windows
12955 case $GCC,$cc_basename in
12958 library_names_spec='$libname.dll.a'
12959 # DLL is installed to $(libdir)/../bin by postinstall_cmds
12960 postinstall_cmds='base_file=`basename \$file`~
12961 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
12962 dldir=$destdir/`dirname \$dlpath`~
12963 test -d \$dldir || mkdir -p \$dldir~
12964 $install_prog $dir/$dlname \$dldir/$dlname~
12965 chmod a+x \$dldir/$dlname~
12966 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
12967 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
12969 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
12970 dlpath=$dir/\$dldll~
12972 shlibpath_overrides_runpath=yes
12976 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
12977 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12979 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
12982 # MinGW DLLs use traditional 'lib' prefix
12983 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12986 # pw32 DLLs use 'pw' prefix rather than 'lib'
12987 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12990 dynamic_linker='Win32 ld.exe'
12995 libname_spec='$name'
12996 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
12997 library_names_spec='$libname.dll.lib'
13001 sys_lib_search_path_spec=
13004 for lt_path in $LIB
13007 # Let DOS variable expansion print the short 8.3 style file name.
13008 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13009 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13012 # Convert to MSYS style.
13013 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13016 # Convert to unix form, then to dos form, then back to unix form
13017 # but this time dos style (no spaces!) so that the unix form looks
13018 # like /cygdrive/c/PROGRA~1:/cygdr...
13019 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13020 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13021 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13024 sys_lib_search_path_spec=$LIB
13025 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13026 # It is most probably a Windows format PATH.
13027 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13029 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13031 # FIXME: find the short name or the path components, as spaces are
13032 # common. (e.g. "Program Files" -> "PROGRA~1")
13036 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13037 postinstall_cmds='base_file=`basename \$file`~
13038 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13039 dldir=$destdir/`dirname \$dlpath`~
13040 test -d \$dldir || mkdir -p \$dldir~
13041 $install_prog $dir/$dlname \$dldir/$dlname'
13042 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13043 dlpath=$dir/\$dldll~
13045 shlibpath_overrides_runpath=yes
13046 dynamic_linker='Win32 link.exe'
13050 # Assume MSVC wrapper
13051 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13052 dynamic_linker='Win32 ld.exe'
13055 # FIXME: first we should search . and the directory the executable is in
13059 darwin* | rhapsody*)
13060 dynamic_linker="$host_os dyld"
13061 version_type=darwin
13064 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13065 soname_spec='$libname$release$major$shared_ext'
13066 shlibpath_overrides_runpath=yes
13067 shlibpath_var=DYLD_LIBRARY_PATH
13068 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13070 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13071 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13075 version_type=linux # correct to gnu/linux during the next big refactor
13078 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13079 soname_spec='$libname$release$shared_ext$major'
13080 shlibpath_var=LD_LIBRARY_PATH
13083 freebsd* | dragonfly*)
13084 # DragonFly does not have aout. When/if they implement a new
13085 # versioning mechanism, adjust this.
13086 if test -x /usr/bin/objformat; then
13087 objformat=`/usr/bin/objformat`
13090 freebsd[23].*) objformat=aout ;;
13091 *) objformat=elf ;;
13094 version_type=freebsd-$objformat
13095 case $version_type in
13097 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13098 soname_spec='$libname$release$shared_ext$major'
13103 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13107 shlibpath_var=LD_LIBRARY_PATH
13110 shlibpath_overrides_runpath=yes
13112 freebsd3.[01]* | freebsdelf3.[01]*)
13113 shlibpath_overrides_runpath=yes
13114 hardcode_into_libs=yes
13116 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13117 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13118 shlibpath_overrides_runpath=no
13119 hardcode_into_libs=yes
13121 *) # from 4.6 on, and DragonFly
13122 shlibpath_overrides_runpath=yes
13123 hardcode_into_libs=yes
13129 version_type=linux # correct to gnu/linux during the next big refactor
13132 dynamic_linker="$host_os runtime_loader"
13133 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13134 soname_spec='$libname$release$shared_ext$major'
13135 shlibpath_var=LIBRARY_PATH
13136 shlibpath_overrides_runpath=no
13137 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13138 hardcode_into_libs=yes
13141 hpux9* | hpux10* | hpux11*)
13142 # Give a soname corresponding to the major version so that dld.sl refuses to
13143 # link against other versions.
13150 hardcode_into_libs=yes
13151 dynamic_linker="$host_os dld.so"
13152 shlibpath_var=LD_LIBRARY_PATH
13153 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13155 soname_spec='$libname$release$shared_ext$major'
13156 if test 32 = "$HPUX_IA64_MODE"; then
13157 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13158 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13160 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13161 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13166 hardcode_into_libs=yes
13167 dynamic_linker="$host_os dld.sl"
13168 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13169 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13170 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13171 soname_spec='$libname$release$shared_ext$major'
13172 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13173 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13177 dynamic_linker="$host_os dld.sl"
13178 shlibpath_var=SHLIB_PATH
13179 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13180 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13181 soname_spec='$libname$release$shared_ext$major'
13184 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13185 postinstall_cmds='chmod 555 $lib'
13186 # or fails outright, so override atomically:
13187 install_override_mode=555
13191 version_type=linux # correct to gnu/linux during the next big refactor
13194 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13195 soname_spec='$libname$release$shared_ext$major'
13196 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13197 shlibpath_var=LD_LIBRARY_PATH
13198 shlibpath_overrides_runpath=no
13199 hardcode_into_libs=yes
13202 irix5* | irix6* | nonstopux*)
13204 nonstopux*) version_type=nonstopux ;;
13206 if test yes = "$lt_cv_prog_gnu_ld"; then
13207 version_type=linux # correct to gnu/linux during the next big refactor
13214 soname_spec='$libname$release$shared_ext$major'
13215 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13217 irix5* | nonstopux*)
13218 libsuff= shlibsuff=
13221 case $LD in # libtool.m4 will add one of these switches to LD
13222 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13223 libsuff= shlibsuff= libmagic=32-bit;;
13224 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13225 libsuff=32 shlibsuff=N32 libmagic=N32;;
13226 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13227 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13228 *) libsuff= shlibsuff= libmagic=never-match;;
13232 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13233 shlibpath_overrides_runpath=no
13234 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13235 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13236 hardcode_into_libs=yes
13239 # No shared lib support for Linux oldld, aout, or coff.
13240 linux*oldld* | linux*aout* | linux*coff*)
13245 version_type=none # Android doesn't support versioned libraries.
13248 library_names_spec='$libname$release$shared_ext'
13249 soname_spec='$libname$release$shared_ext'
13251 shlibpath_var=LD_LIBRARY_PATH
13252 shlibpath_overrides_runpath=yes
13254 # This implies no fast_install, which is unacceptable.
13255 # Some rework will be needed to allow for fast_install
13256 # before this can be enabled.
13257 hardcode_into_libs=yes
13259 dynamic_linker='Android linker'
13260 # Don't embed -rpath directories since the linker doesn't support them.
13261 hardcode_libdir_flag_spec='-L$libdir'
13264 # This must be glibc/ELF.
13265 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13266 version_type=linux # correct to gnu/linux during the next big refactor
13269 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13270 soname_spec='$libname$release$shared_ext$major'
13271 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13272 shlibpath_var=LD_LIBRARY_PATH
13273 shlibpath_overrides_runpath=no
13275 # Some binutils ld are patched to set DT_RUNPATH
13276 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13277 $as_echo_n "(cached) " >&6
13279 lt_cv_shlibpath_overrides_runpath=no
13280 save_LDFLAGS=$LDFLAGS
13281 save_libdir=$libdir
13282 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13283 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13285 /* end confdefs.h. */
13295 if ac_fn_c_try_link "$LINENO"; then :
13296 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13297 lt_cv_shlibpath_overrides_runpath=yes
13300 rm -f core conftest.err conftest.$ac_objext \
13301 conftest$ac_exeext conftest.$ac_ext
13302 LDFLAGS=$save_LDFLAGS
13303 libdir=$save_libdir
13307 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13309 # This implies no fast_install, which is unacceptable.
13310 # Some rework will be needed to allow for fast_install
13311 # before this can be enabled.
13312 hardcode_into_libs=yes
13314 # Ideally, we could use ldconfig to report *all* directores which are
13315 # searched for libraries, however this is still not possible. Aside from not
13316 # being certain /sbin/ldconfig is available, command
13317 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13318 # even though it is searched at run-time. Try to do the best guess by
13319 # appending ld.so.conf contents (and includes) to the search path.
13320 if test -f /etc/ld.so.conf; then
13321 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' ' '`
13322 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13325 # We used to test for /lib/ld.so.1 and disable shared libraries on
13326 # powerpc, because MkLinux only supported shared libraries with the
13327 # GNU dynamic linker. Since this was broken with cross compilers,
13328 # most powerpc-linux boxes support dynamic linking these days and
13329 # people can always --disable-shared, the test was removed, and we
13330 # assume the GNU/Linux dynamic linker is in use.
13331 dynamic_linker='GNU/Linux ld.so'
13338 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13339 soname_spec='${libname}${release}${shared_ext}$major'
13340 shlibpath_var=LD_LIBRARY_PATH
13341 shlibpath_overrides_runpath=no
13342 hardcode_into_libs=yes
13343 dynamic_linker='NetBSD ld.elf_so'
13350 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13351 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13352 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13353 dynamic_linker='NetBSD (a.out) ld.so'
13355 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13356 soname_spec='$libname$release$shared_ext$major'
13357 dynamic_linker='NetBSD ld.elf_so'
13359 shlibpath_var=LD_LIBRARY_PATH
13360 shlibpath_overrides_runpath=yes
13361 hardcode_into_libs=yes
13365 version_type=linux # correct to gnu/linux during the next big refactor
13366 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13367 shlibpath_var=LD_LIBRARY_PATH
13368 shlibpath_overrides_runpath=yes
13375 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13376 soname_spec='$libname$release$shared_ext$major'
13377 shlibpath_var=LD_LIBRARY_PATH
13378 shlibpath_overrides_runpath=no
13379 hardcode_into_libs=yes
13380 dynamic_linker='ldqnx.so'
13383 openbsd* | bitrig*)
13385 sys_lib_dlsearch_path_spec=/usr/lib
13387 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13392 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13393 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13394 shlibpath_var=LD_LIBRARY_PATH
13395 shlibpath_overrides_runpath=yes
13399 libname_spec='$name'
13400 version_type=windows
13404 # OS/2 can only load a DLL with a base name of 8 characters or less.
13405 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13406 v=$($ECHO $release$versuffix | tr -d .-);
13407 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13408 $ECHO $n$v`$shared_ext'
13409 library_names_spec='${libname}_dll.$libext'
13410 dynamic_linker='OS/2 ld.exe'
13411 shlibpath_var=BEGINLIBPATH
13412 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13413 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13414 postinstall_cmds='base_file=`basename \$file`~
13415 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13416 dldir=$destdir/`dirname \$dlpath`~
13417 test -d \$dldir || mkdir -p \$dldir~
13418 $install_prog $dir/$dlname \$dldir/$dlname~
13419 chmod a+x \$dldir/$dlname~
13420 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13421 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13423 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13424 dlpath=$dir/\$dldll~
13428 osf3* | osf4* | osf5*)
13432 soname_spec='$libname$release$shared_ext$major'
13433 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13434 shlibpath_var=LD_LIBRARY_PATH
13435 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13436 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13444 version_type=linux # correct to gnu/linux during the next big refactor
13447 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13448 soname_spec='$libname$release$shared_ext$major'
13449 shlibpath_var=LD_LIBRARY_PATH
13450 shlibpath_overrides_runpath=yes
13451 hardcode_into_libs=yes
13452 # ldd complains unless libraries are executable
13453 postinstall_cmds='chmod +x $lib'
13458 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13459 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13460 shlibpath_var=LD_LIBRARY_PATH
13461 shlibpath_overrides_runpath=yes
13462 if test yes = "$with_gnu_ld"; then
13469 version_type=linux # correct to gnu/linux during the next big refactor
13470 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13471 soname_spec='$libname$release$shared_ext$major'
13472 shlibpath_var=LD_LIBRARY_PATH
13473 case $host_vendor in
13475 shlibpath_overrides_runpath=no
13477 runpath_var=LD_RUN_PATH
13485 shlibpath_overrides_runpath=no
13486 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13492 if test -d /usr/nec; then
13493 version_type=linux # correct to gnu/linux during the next big refactor
13494 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
13495 soname_spec='$libname$shared_ext.$major'
13496 shlibpath_var=LD_LIBRARY_PATH
13500 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13504 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
13505 soname_spec='$libname$release$shared_ext$major'
13506 shlibpath_var=LD_LIBRARY_PATH
13507 shlibpath_overrides_runpath=yes
13508 hardcode_into_libs=yes
13509 if test yes = "$with_gnu_ld"; then
13510 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13512 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13515 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13519 sys_lib_dlsearch_path_spec='/usr/lib'
13523 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13524 version_type=linux # correct to gnu/linux during the next big refactor
13527 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13528 shlibpath_var=LD_LIBRARY_PATH
13529 shlibpath_overrides_runpath=no
13530 hardcode_into_libs=yes
13534 version_type=linux # correct to gnu/linux during the next big refactor
13535 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13536 soname_spec='$libname$release$shared_ext$major'
13537 shlibpath_var=LD_LIBRARY_PATH
13544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13545 $as_echo "$dynamic_linker" >&6; }
13546 test no = "$dynamic_linker" && can_build_shared=no
13548 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13549 if test yes = "$GCC"; then
13550 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13553 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
13554 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
13557 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
13558 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
13561 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
13562 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
13564 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
13565 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
13567 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
13568 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13667 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13669 if test -n "$hardcode_libdir_flag_spec" ||
13670 test -n "$runpath_var" ||
13671 test yes = "$hardcode_automatic"; then
13673 # We can hardcode non-existent directories.
13674 if test no != "$hardcode_direct" &&
13675 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13676 # have to relink, otherwise we might link with an installed library
13677 # when we should be linking with a yet-to-be-installed one
13678 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
13679 test no != "$hardcode_minus_L"; then
13680 # Linking always hardcodes the temporary library directory.
13681 hardcode_action=relink
13683 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13684 hardcode_action=immediate
13687 # We cannot hardcode anything, or else we can only hardcode existing
13689 hardcode_action=unsupported
13691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13692 $as_echo "$hardcode_action" >&6; }
13694 if test relink = "$hardcode_action" ||
13695 test yes = "$inherit_rpath"; then
13696 # Fast installation is not supported
13697 enable_fast_install=no
13698 elif test yes = "$shlibpath_overrides_runpath" ||
13699 test no = "$enable_shared"; then
13700 # Fast installation is not necessary
13701 enable_fast_install=needless
13709 if test yes != "$enable_dlopen"; then
13710 enable_dlopen=unknown
13711 enable_dlopen_self=unknown
13712 enable_dlopen_self_static=unknown
13719 lt_cv_dlopen=load_add_on
13721 lt_cv_dlopen_self=yes
13724 mingw* | pw32* | cegcc*)
13725 lt_cv_dlopen=LoadLibrary
13730 lt_cv_dlopen=dlopen
13735 # if libdl is installed we need to link against it
13736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13737 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13738 if ${ac_cv_lib_dl_dlopen+:} false; then :
13739 $as_echo_n "(cached) " >&6
13741 ac_check_lib_save_LIBS=$LIBS
13743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13744 /* end confdefs.h. */
13746 /* Override any GCC internal prototype to avoid an error.
13747 Use char because int might match the return type of a GCC
13748 builtin and then its argument prototype would still apply. */
13761 if ac_fn_c_try_link "$LINENO"; then :
13762 ac_cv_lib_dl_dlopen=yes
13764 ac_cv_lib_dl_dlopen=no
13766 rm -f core conftest.err conftest.$ac_objext \
13767 conftest$ac_exeext conftest.$ac_ext
13768 LIBS=$ac_check_lib_save_LIBS
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13771 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13772 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13773 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13778 lt_cv_dlopen_self=yes
13785 # Don't try to run any link tests for TPF. We know it's impossible
13786 # because TPF is a cross-compiler, and we know how we open DSOs.
13787 lt_cv_dlopen=dlopen
13789 lt_cv_dlopen_self=no
13793 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13794 if test "x$ac_cv_func_shl_load" = xyes; then :
13795 lt_cv_dlopen=shl_load
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13798 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13799 if ${ac_cv_lib_dld_shl_load+:} false; then :
13800 $as_echo_n "(cached) " >&6
13802 ac_check_lib_save_LIBS=$LIBS
13804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13807 /* Override any GCC internal prototype to avoid an error.
13808 Use char because int might match the return type of a GCC
13809 builtin and then its argument prototype would still apply. */
13817 return shl_load ();
13822 if ac_fn_c_try_link "$LINENO"; then :
13823 ac_cv_lib_dld_shl_load=yes
13825 ac_cv_lib_dld_shl_load=no
13827 rm -f core conftest.err conftest.$ac_objext \
13828 conftest$ac_exeext conftest.$ac_ext
13829 LIBS=$ac_check_lib_save_LIBS
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13832 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13833 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13834 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
13836 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13837 if test "x$ac_cv_func_dlopen" = xyes; then :
13838 lt_cv_dlopen=dlopen
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13841 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13842 if ${ac_cv_lib_dl_dlopen+:} false; then :
13843 $as_echo_n "(cached) " >&6
13845 ac_check_lib_save_LIBS=$LIBS
13847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13848 /* end confdefs.h. */
13850 /* Override any GCC internal prototype to avoid an error.
13851 Use char because int might match the return type of a GCC
13852 builtin and then its argument prototype would still apply. */
13865 if ac_fn_c_try_link "$LINENO"; then :
13866 ac_cv_lib_dl_dlopen=yes
13868 ac_cv_lib_dl_dlopen=no
13870 rm -f core conftest.err conftest.$ac_objext \
13871 conftest$ac_exeext conftest.$ac_ext
13872 LIBS=$ac_check_lib_save_LIBS
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13875 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13876 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13877 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
13879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13880 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13881 if ${ac_cv_lib_svld_dlopen+:} false; then :
13882 $as_echo_n "(cached) " >&6
13884 ac_check_lib_save_LIBS=$LIBS
13885 LIBS="-lsvld $LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13889 /* Override any GCC internal prototype to avoid an error.
13890 Use char because int might match the return type of a GCC
13891 builtin and then its argument prototype would still apply. */
13904 if ac_fn_c_try_link "$LINENO"; then :
13905 ac_cv_lib_svld_dlopen=yes
13907 ac_cv_lib_svld_dlopen=no
13909 rm -f core conftest.err conftest.$ac_objext \
13910 conftest$ac_exeext conftest.$ac_ext
13911 LIBS=$ac_check_lib_save_LIBS
13913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13914 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13915 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13916 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13919 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13920 if ${ac_cv_lib_dld_dld_link+:} false; then :
13921 $as_echo_n "(cached) " >&6
13923 ac_check_lib_save_LIBS=$LIBS
13925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13926 /* end confdefs.h. */
13928 /* Override any GCC internal prototype to avoid an error.
13929 Use char because int might match the return type of a GCC
13930 builtin and then its argument prototype would still apply. */
13938 return dld_link ();
13943 if ac_fn_c_try_link "$LINENO"; then :
13944 ac_cv_lib_dld_dld_link=yes
13946 ac_cv_lib_dld_dld_link=no
13948 rm -f core conftest.err conftest.$ac_objext \
13949 conftest$ac_exeext conftest.$ac_ext
13950 LIBS=$ac_check_lib_save_LIBS
13952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
13953 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
13954 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
13955 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
13976 if test no = "$lt_cv_dlopen"; then
13982 case $lt_cv_dlopen in
13984 save_CPPFLAGS=$CPPFLAGS
13985 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
13987 save_LDFLAGS=$LDFLAGS
13988 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
13991 LIBS="$lt_cv_dlopen_libs $LIBS"
13993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
13994 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
13995 if ${lt_cv_dlopen_self+:} false; then :
13996 $as_echo_n "(cached) " >&6
13998 if test yes = "$cross_compiling"; then :
13999 lt_cv_dlopen_self=cross
14001 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14002 lt_status=$lt_dlunknown
14003 cat > conftest.$ac_ext <<_LT_EOF
14004 #line $LINENO "configure"
14005 #include "confdefs.h"
14014 # define LT_DLGLOBAL RTLD_GLOBAL
14017 # define LT_DLGLOBAL DL_GLOBAL
14019 # define LT_DLGLOBAL 0
14023 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14024 find out it does not work in some platform. */
14025 #ifndef LT_DLLAZY_OR_NOW
14027 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14030 # define LT_DLLAZY_OR_NOW DL_LAZY
14033 # define LT_DLLAZY_OR_NOW RTLD_NOW
14036 # define LT_DLLAZY_OR_NOW DL_NOW
14038 # define LT_DLLAZY_OR_NOW 0
14045 /* When -fvisibility=hidden is used, assume the code has been annotated
14046 correspondingly for the symbols needed. */
14047 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14048 int fnord () __attribute__((visibility("default")));
14051 int fnord () { return 42; }
14054 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14055 int status = $lt_dlunknown;
14059 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14062 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14063 else puts (dlerror ());
14065 /* dlclose (self); */
14073 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14074 (eval $ac_link) 2>&5
14076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14077 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14078 (./conftest; exit; ) >&5 2>/dev/null
14080 case x$lt_status in
14081 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14082 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14083 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14086 # compilation failed
14087 lt_cv_dlopen_self=no
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14095 $as_echo "$lt_cv_dlopen_self" >&6; }
14097 if test yes = "$lt_cv_dlopen_self"; then
14098 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14100 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14101 if ${lt_cv_dlopen_self_static+:} false; then :
14102 $as_echo_n "(cached) " >&6
14104 if test yes = "$cross_compiling"; then :
14105 lt_cv_dlopen_self_static=cross
14107 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14108 lt_status=$lt_dlunknown
14109 cat > conftest.$ac_ext <<_LT_EOF
14110 #line $LINENO "configure"
14111 #include "confdefs.h"
14120 # define LT_DLGLOBAL RTLD_GLOBAL
14123 # define LT_DLGLOBAL DL_GLOBAL
14125 # define LT_DLGLOBAL 0
14129 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14130 find out it does not work in some platform. */
14131 #ifndef LT_DLLAZY_OR_NOW
14133 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14136 # define LT_DLLAZY_OR_NOW DL_LAZY
14139 # define LT_DLLAZY_OR_NOW RTLD_NOW
14142 # define LT_DLLAZY_OR_NOW DL_NOW
14144 # define LT_DLLAZY_OR_NOW 0
14151 /* When -fvisibility=hidden is used, assume the code has been annotated
14152 correspondingly for the symbols needed. */
14153 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14154 int fnord () __attribute__((visibility("default")));
14157 int fnord () { return 42; }
14160 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14161 int status = $lt_dlunknown;
14165 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14168 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14169 else puts (dlerror ());
14171 /* dlclose (self); */
14179 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14180 (eval $ac_link) 2>&5
14182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14183 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14184 (./conftest; exit; ) >&5 2>/dev/null
14186 case x$lt_status in
14187 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14188 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14189 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14192 # compilation failed
14193 lt_cv_dlopen_self_static=no
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14201 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14204 CPPFLAGS=$save_CPPFLAGS
14205 LDFLAGS=$save_LDFLAGS
14210 case $lt_cv_dlopen_self in
14211 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14212 *) enable_dlopen_self=unknown ;;
14215 case $lt_cv_dlopen_self_static in
14216 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14217 *) enable_dlopen_self_static=unknown ;;
14239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14240 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14241 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14242 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14243 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14245 $as_echo "yes" >&6; }
14247 # FIXME - insert some real tests, host_os isn't really good enough
14250 if test -n "$STRIP"; then
14251 striplib="$STRIP -x"
14252 old_striplib="$STRIP -S"
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14254 $as_echo "yes" >&6; }
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14257 $as_echo "no" >&6; }
14261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14262 $as_echo "no" >&6; }
14278 # Report what library types will actually be built
14279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14280 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14282 $as_echo "$can_build_shared" >&6; }
14284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14285 $as_echo_n "checking whether to build shared libraries... " >&6; }
14286 test no = "$can_build_shared" && enable_shared=no
14288 # On AIX, shared libraries and static libraries use the same namespace, and
14289 # are all built from PIC.
14292 test yes = "$enable_shared" && enable_static=no
14293 if test -n "$RANLIB"; then
14294 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14295 postinstall_cmds='$RANLIB $lib'
14300 if test ia64 != "$host_cpu"; then
14301 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14302 yes,aix,yes) ;; # shared object as lib.so file only
14303 yes,svr4,*) ;; # shared object as lib.so archive member only
14304 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14310 $as_echo "$enable_shared" >&6; }
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14313 $as_echo_n "checking whether to build static libraries... " >&6; }
14314 # Make sure either enable_shared or enable_static is yes.
14315 test yes = "$enable_shared" || enable_static=yes
14316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14317 $as_echo "$enable_static" >&6; }
14324 ac_cpp='$CPP $CPPFLAGS'
14325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14345 ac_config_commands="$ac_config_commands libtool"
14350 # Only expand once:
14354 rra_lib_arch_name=lib
14355 # The cast to long int works around a bug in the HP C Compiler
14356 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14357 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14358 # This bug is HP SR number 8606223364.
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14360 $as_echo_n "checking size of long... " >&6; }
14361 if ${ac_cv_sizeof_long+:} false; then :
14362 $as_echo_n "(cached) " >&6
14364 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14367 if test "$ac_cv_type_long" = yes; then
14368 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14369 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14370 as_fn_error 77 "cannot compute sizeof (long)
14371 See \`config.log' for more details" "$LINENO" 5; }
14373 ac_cv_sizeof_long=0
14378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14379 $as_echo "$ac_cv_sizeof_long" >&6; }
14383 cat >>confdefs.h <<_ACEOF
14384 #define SIZEOF_LONG $ac_cv_sizeof_long
14388 if test "$ac_cv_sizeof_long" -eq 4 && test -d /usr/lib32; then :
14389 rra_lib_arch_name=lib32
14391 if test "$ac_cv_sizeof_long" -eq 8 && test -d /usr/lib64; then :
14392 rra_lib_arch_name=lib64
14397 rra_CDB_includedir=
14406 # Check whether --with-tinycdb was given.
14407 if test "${with_tinycdb+set}" = set; then :
14408 withval=$with_tinycdb; if test x"$withval" = xno; then :
14411 if test x"$withval" != xyes; then :
14412 rra_CDB_root="$withval"
14419 # Check whether --with-tinycdb-include was given.
14420 if test "${with_tinycdb_include+set}" = set; then :
14421 withval=$with_tinycdb_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
14422 rra_CDB_includedir="$withval"
14427 # Check whether --with-tinycdb-lib was given.
14428 if test "${with_tinycdb_lib+set}" = set; then :
14429 withval=$with_tinycdb_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
14430 rra_CDB_libdir="$withval"
14434 if test x"$rra_use_CDB" != xfalse; then :
14435 if test x"$rra_use_CDB" = xtrue; then :
14436 if test x"$rra_CDB_libdir" != x; then :
14437 CDB_LDFLAGS="-L$rra_CDB_libdir"
14439 if test x"$rra_CDB_root" != x; then :
14441 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
14442 if test x"" = x; then :
14443 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
14445 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
14448 if test x"" = x; then :
14449 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
14451 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
14454 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
14457 if test x"$rra_CDB_includedir" != x; then :
14458 CDB_CPPFLAGS="-I$rra_CDB_includedir"
14460 if test x"$rra_CDB_root" != x; then :
14461 if test x"$rra_CDB_root" != x/usr; then :
14462 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
14466 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
14467 rra_CDB_save_LDFLAGS="$LDFLAGS"
14468 rra_CDB_save_LIBS="$LIBS"
14469 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
14470 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
14471 LIBS="$CDB_LIBS $LIBS"
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
14473 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
14474 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
14475 $as_echo_n "(cached) " >&6
14477 ac_check_lib_save_LIBS=$LIBS
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14482 /* Override any GCC internal prototype to avoid an error.
14483 Use char because int might match the return type of a GCC
14484 builtin and then its argument prototype would still apply. */
14492 return cdb_init ();
14497 if ac_fn_c_try_link "$LINENO"; then :
14498 ac_cv_lib_cdb_cdb_init=yes
14500 ac_cv_lib_cdb_cdb_init=no
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LIBS=$ac_check_lib_save_LIBS
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
14507 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
14508 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
14511 if test x"true" = xtrue; then :
14512 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
14516 for ac_header in cdb.h
14518 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
14519 if test "x$ac_cv_header_cdb_h" = xyes; then :
14520 cat >>confdefs.h <<_ACEOF
14521 #define HAVE_CDB_H 1
14528 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
14529 LDFLAGS="$rra_CDB_save_LDFLAGS"
14530 LIBS="$rra_CDB_save_LIBS"
14532 if test x"$rra_CDB_libdir" != x; then :
14533 CDB_LDFLAGS="-L$rra_CDB_libdir"
14535 if test x"$rra_CDB_root" != x; then :
14537 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
14538 if test x"" = x; then :
14539 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
14541 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
14544 if test x"" = x; then :
14545 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
14547 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
14550 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
14553 if test x"$rra_CDB_includedir" != x; then :
14554 CDB_CPPFLAGS="-I$rra_CDB_includedir"
14556 if test x"$rra_CDB_root" != x; then :
14557 if test x"$rra_CDB_root" != x/usr; then :
14558 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
14562 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
14563 rra_CDB_save_LDFLAGS="$LDFLAGS"
14564 rra_CDB_save_LIBS="$LIBS"
14565 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
14566 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
14567 LIBS="$CDB_LIBS $LIBS"
14568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
14569 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
14570 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
14571 $as_echo_n "(cached) " >&6
14573 ac_check_lib_save_LIBS=$LIBS
14575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14576 /* end confdefs.h. */
14578 /* Override any GCC internal prototype to avoid an error.
14579 Use char because int might match the return type of a GCC
14580 builtin and then its argument prototype would still apply. */
14588 return cdb_init ();
14593 if ac_fn_c_try_link "$LINENO"; then :
14594 ac_cv_lib_cdb_cdb_init=yes
14596 ac_cv_lib_cdb_cdb_init=no
14598 rm -f core conftest.err conftest.$ac_objext \
14599 conftest$ac_exeext conftest.$ac_ext
14600 LIBS=$ac_check_lib_save_LIBS
14602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
14603 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
14604 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
14607 if test x"false" = xtrue; then :
14608 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
14612 for ac_header in cdb.h
14614 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
14615 if test "x$ac_cv_header_cdb_h" = xyes; then :
14616 cat >>confdefs.h <<_ACEOF
14617 #define HAVE_CDB_H 1
14624 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
14625 LDFLAGS="$rra_CDB_save_LDFLAGS"
14626 LIBS="$rra_CDB_save_LIBS"
14629 if test x"$CDB_LIBS" != x; then :
14632 $as_echo "#define HAVE_CDB 1" >>confdefs.h
14635 rra_system_cracklib=
14637 rra_cracklib_libdir=
14638 rra_cracklib_includedir=
14647 # Check whether --with-cracklib was given.
14648 if test "${with_cracklib+set}" = set; then :
14649 withval=$with_cracklib; if test x"$withval" != xno; then :
14650 rra_system_cracklib=yes
14652 if test x"$withval" != xyes && test x"$withval" != xno; then :
14653 rra_cracklib_root="$withval"
14658 # Check whether --with-cracklib-include was given.
14659 if test "${with_cracklib_include+set}" = set; then :
14660 withval=$with_cracklib_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
14661 rra_cracklib_includedir="$withval"
14666 # Check whether --with-cracklib-lib was given.
14667 if test "${with_cracklib_lib+set}" = set; then :
14668 withval=$with_cracklib_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
14669 rra_cracklib_libdir="$withval"
14674 if test x"$rra_system_cracklib" != xyes; then
14675 EMBEDDED_CRACKLIB_TRUE=
14676 EMBEDDED_CRACKLIB_FALSE='#'
14678 EMBEDDED_CRACKLIB_TRUE='#'
14679 EMBEDDED_CRACKLIB_FALSE=
14682 if test x"$rra_system_cracklib" = xyes; then :
14683 if test x"$rra_cracklib_libdir" != x; then :
14684 CRACKLIB_LDFLAGS="-L$rra_cracklib_libdir"
14686 if test x"$rra_cracklib_root" != x; then :
14688 if test -d "$rra_cracklib_root/$rra_lib_arch_name"; then :
14689 if test x"" = x; then :
14690 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}"
14692 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/${rra_lib_arch_name}/"
14695 if test x"" = x; then :
14696 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib"
14698 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L$rra_cracklib_root/lib/"
14701 CRACKLIB_LDFLAGS=`echo "$CRACKLIB_LDFLAGS" | sed -e 's/^ *//'`
14704 if test x"$rra_cracklib_includedir" != x; then :
14705 CRACKLIB_CPPFLAGS="-I$rra_cracklib_includedir"
14707 if test x"$rra_cracklib_root" != x; then :
14708 if test x"$rra_cracklib_root" != x/usr; then :
14709 CRACKLIB_CPPFLAGS="-I${rra_cracklib_root}/include"
14713 CRACKLIB_LIBS="-lcrack"
14714 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
14715 rra_cracklib_save_LDFLAGS="$LDFLAGS"
14716 rra_cracklib_save_LIBS="$LIBS"
14717 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
14718 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
14719 LIBS="$CRACKLIB_LIBS $LIBS"
14720 ac_fn_c_check_func "$LINENO" "FascistCheck" "ac_cv_func_FascistCheck"
14721 if test "x$ac_cv_func_FascistCheck" = xyes; then :
14724 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14725 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14726 as_fn_error $? "unable to link with CrackLib library
14727 See \`config.log' for more details" "$LINENO" 5; }
14730 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
14731 LDFLAGS="$rra_cracklib_save_LDFLAGS"
14732 LIBS="$rra_cracklib_save_LIBS"
14734 if test x"$rra_system_cracklib" = xyes; then :
14735 rra_cracklib_save_CPPFLAGS="$CPPFLAGS"
14736 rra_cracklib_save_LDFLAGS="$LDFLAGS"
14737 rra_cracklib_save_LIBS="$LIBS"
14738 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
14739 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
14740 LIBS="$CRACKLIB_LIBS $LIBS"
14741 for ac_header in crack.h
14743 ac_fn_c_check_header_mongrel "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
14744 if test "x$ac_cv_header_crack_h" = xyes; then :
14745 cat >>confdefs.h <<_ACEOF
14746 #define HAVE_CRACK_H 1
14753 CPPFLAGS="$rra_cracklib_save_CPPFLAGS"
14754 LDFLAGS="$rra_cracklib_save_LDFLAGS"
14755 LIBS="$rra_cracklib_save_LIBS"
14757 rra_reduced_depends=false
14758 # Check whether --enable-reduced-depends was given.
14759 if test "${enable_reduced_depends+set}" = set; then :
14760 enableval=$enable_reduced_depends; if test x"$enableval" = xyes; then :
14761 rra_reduced_depends=true
14766 # Extract the first word of "krb5-config", so it can be a program name with args.
14767 set dummy krb5-config; ac_word=$2
14768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14769 $as_echo_n "checking for $ac_word... " >&6; }
14770 if ${ac_cv_path_PATH_KRB5_CONFIG+:} false; then :
14771 $as_echo_n "(cached) " >&6
14773 case $PATH_KRB5_CONFIG in
14775 ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
14778 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14779 as_dummy="${PATH}:/usr/kerberos/bin"
14780 for as_dir in $as_dummy
14783 test -z "$as_dir" && as_dir=.
14784 for ac_exec_ext in '' $ac_executable_extensions; do
14785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14786 ac_cv_path_PATH_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
14787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14797 PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
14798 if test -n "$PATH_KRB5_CONFIG"; then
14799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
14800 $as_echo "$PATH_KRB5_CONFIG" >&6; }
14802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14803 $as_echo "no" >&6; }
14809 rra_krb5_includedir=
14813 # Check whether --with-krb5 was given.
14814 if test "${with_krb5+set}" = set; then :
14815 withval=$with_krb5; if test x"$withval" != xyes && test x"$withval" != xno; then :
14816 rra_krb5_root="$withval"
14821 # Check whether --with-krb5-include was given.
14822 if test "${with_krb5_include+set}" = set; then :
14823 withval=$with_krb5_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
14824 rra_krb5_includedir="$withval"
14829 # Check whether --with-krb5-lib was given.
14830 if test "${with_krb5_lib+set}" = set; then :
14831 withval=$with_krb5_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
14832 rra_krb5_libdir="$withval"
14842 if test x"$rra_krb5_includedir" != x; then :
14843 rra_krb5_incroot="$rra_krb5_includedir"
14845 if test x"$rra_krb5_root" != x; then :
14846 rra_krb5_incroot="${rra_krb5_root}/include"
14849 if test x"$rra_reduced_depends" = xtrue; then :
14850 if test x"$rra_krb5_libdir" != x; then :
14851 KRB5_LDFLAGS="-L$rra_krb5_libdir"
14853 if test x"$rra_krb5_root" != x; then :
14855 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
14856 if test x"" = x; then :
14857 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
14859 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
14862 if test x"" = x; then :
14863 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
14865 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
14868 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
14871 if test x"$rra_krb5_includedir" != x; then :
14872 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
14874 if test x"$rra_krb5_root" != x; then :
14875 if test x"$rra_krb5_root" != x/usr; then :
14876 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
14880 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
14881 rra_krb5_save_LDFLAGS="$LDFLAGS"
14882 rra_krb5_save_LIBS="$LIBS"
14883 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
14884 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
14885 LIBS="$KRB5_LIBS $LIBS"
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
14887 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
14888 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
14889 $as_echo_n "(cached) " >&6
14891 ac_check_lib_save_LIBS=$LIBS
14892 LIBS="-lkrb5 $LIBS"
14893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14894 /* end confdefs.h. */
14896 /* Override any GCC internal prototype to avoid an error.
14897 Use char because int might match the return type of a GCC
14898 builtin and then its argument prototype would still apply. */
14902 char krb5_init_context ();
14906 return krb5_init_context ();
14911 if ac_fn_c_try_link "$LINENO"; then :
14912 ac_cv_lib_krb5_krb5_init_context=yes
14914 ac_cv_lib_krb5_krb5_init_context=no
14916 rm -f core conftest.err conftest.$ac_objext \
14917 conftest$ac_exeext conftest.$ac_ext
14918 LIBS=$ac_check_lib_save_LIBS
14920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
14921 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
14922 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
14925 if test x"true" = xtrue; then :
14926 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
14930 LIBS="$KRB5_LIBS $LIBS"
14931 if test x"$rra_krb5_incroot" = x; then :
14932 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
14934 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
14935 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
14936 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
14937 cat >>confdefs.h <<_ACEOF
14938 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
14946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
14947 $as_echo_n "checking for krb5.h... " >&6; }
14948 if test -f "${rra_krb5_incroot}/krb5.h"; then :
14950 cat >>confdefs.h <<_ACEOF
14951 #define HAVE_KRB5_H 1
14954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14955 $as_echo "yes" >&6; }
14957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14958 $as_echo "no" >&6; }
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
14961 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
14962 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
14964 cat >>confdefs.h <<_ACEOF
14965 #define HAVE_KERBEROSV5_KRB5_H 1
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14969 $as_echo "yes" >&6; }
14971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14972 $as_echo "no" >&6; }
14974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
14975 $as_echo_n "checking for krb5/krb5.h... " >&6; }
14976 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
14978 cat >>confdefs.h <<_ACEOF
14979 #define HAVE_KRB5_KRB5_H 1
14982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14983 $as_echo "yes" >&6; }
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14986 $as_echo "no" >&6; }
14989 for ac_func in krb5_get_error_message
14991 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
14992 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
14993 cat >>confdefs.h <<_ACEOF
14994 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
14996 for ac_func in krb5_free_error_message
14998 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
14999 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
15000 cat >>confdefs.h <<_ACEOF
15001 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
15008 for ac_func in krb5_get_error_string
15010 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
15011 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
15012 cat >>confdefs.h <<_ACEOF
15013 #define HAVE_KRB5_GET_ERROR_STRING 1
15017 for ac_func in krb5_get_err_txt
15019 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
15020 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
15021 cat >>confdefs.h <<_ACEOF
15022 #define HAVE_KRB5_GET_ERR_TXT 1
15026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
15027 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
15028 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
15029 $as_echo_n "(cached) " >&6
15031 ac_check_lib_save_LIBS=$LIBS
15032 LIBS="-lksvc $LIBS"
15033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15034 /* end confdefs.h. */
15036 /* Override any GCC internal prototype to avoid an error.
15037 Use char because int might match the return type of a GCC
15038 builtin and then its argument prototype would still apply. */
15042 char krb5_svc_get_msg ();
15046 return krb5_svc_get_msg ();
15051 if ac_fn_c_try_link "$LINENO"; then :
15052 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
15054 ac_cv_lib_ksvc_krb5_svc_get_msg=no
15056 rm -f core conftest.err conftest.$ac_objext \
15057 conftest$ac_exeext conftest.$ac_ext
15058 LIBS=$ac_check_lib_save_LIBS
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
15061 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
15062 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
15063 KRB5_LIBS="$KRB5_LIBS -lksvc"
15064 $as_echo "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
15066 for ac_header in ibm_svc/krb5_svc.h
15068 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
15071 #elif HAVE_KERBEROSV5_KRB5_H
15072 # include <kerberosv5/krb5.h>
15074 # include <krb5/krb5.h>
15078 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
15079 cat >>confdefs.h <<_ACEOF
15080 #define HAVE_IBM_SVC_KRB5_SVC_H 1
15088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
15089 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
15090 if ${ac_cv_lib_com_err_com_err+:} false; then :
15091 $as_echo_n "(cached) " >&6
15093 ac_check_lib_save_LIBS=$LIBS
15094 LIBS="-lcom_err $LIBS"
15095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15096 /* end confdefs.h. */
15098 /* Override any GCC internal prototype to avoid an error.
15099 Use char because int might match the return type of a GCC
15100 builtin and then its argument prototype would still apply. */
15113 if ac_fn_c_try_link "$LINENO"; then :
15114 ac_cv_lib_com_err_com_err=yes
15116 ac_cv_lib_com_err_com_err=no
15118 rm -f core conftest.err conftest.$ac_objext \
15119 conftest$ac_exeext conftest.$ac_ext
15120 LIBS=$ac_check_lib_save_LIBS
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
15123 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
15124 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
15125 KRB5_LIBS="$KRB5_LIBS -lcom_err"
15127 if test x"true" = xtrue; then :
15128 as_fn_error $? "cannot find usable com_err library" "$LINENO" 5
15134 if test x"$rra_krb5_incroot" = x; then :
15135 for ac_header in et/com_err.h kerberosv5/com_err.h
15137 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15138 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15139 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15140 cat >>confdefs.h <<_ACEOF
15141 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
15150 $as_echo_n "checking for et/com_err.h... " >&6; }
15151 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
15153 cat >>confdefs.h <<_ACEOF
15154 #define HAVE_ET_COM_ERR_H 1
15157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15158 $as_echo "yes" >&6; }
15160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15161 $as_echo "no" >&6; }
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
15164 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
15165 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
15167 cat >>confdefs.h <<_ACEOF
15168 #define HAVE_KERBEROSV5_COM_ERR_H 1
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15172 $as_echo "yes" >&6; }
15174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15175 $as_echo "no" >&6; }
15189 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15190 LDFLAGS="$rra_krb5_save_LDFLAGS"
15191 LIBS="$rra_krb5_save_LIBS"
15193 if test x"$rra_krb5_includedir" = x && test x"$rra_krb5_libdir" = x; then :
15195 rra_krb5_config_KRB5=
15196 rra_krb5_config_KRB5_ok=
15197 if test x"${rra_krb5_root}" != x && test -x "${rra_krb5_root}/bin/krb5-config"; then :
15198 rra_krb5_config_KRB5="${rra_krb5_root}/bin/krb5-config"
15200 rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
15202 if test x"$rra_krb5_config_KRB5" != x && test -x "$rra_krb5_config_KRB5"; then :
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5 support in krb5-config" >&5
15204 $as_echo_n "checking for krb5 support in krb5-config... " >&6; }
15205 if ${rra_cv_lib_KRB5_config+:} false; then :
15206 $as_echo_n "(cached) " >&6
15208 if "$rra_krb5_config_KRB5" 2>&1 | grep krb5 >/dev/null 2>&1; then :
15209 rra_cv_lib_KRB5_config=yes
15211 rra_cv_lib_KRB5_config=no
15214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_lib_KRB5_config" >&5
15215 $as_echo "$rra_cv_lib_KRB5_config" >&6; }
15216 if test "$rra_cv_lib_KRB5_config" = yes; then :
15217 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags krb5 2>/dev/null`
15221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --deps support in krb5-config" >&5
15222 $as_echo_n "checking for --deps support in krb5-config... " >&6; }
15223 if ${rra_cv_krb5_config_deps+:} false; then :
15224 $as_echo_n "(cached) " >&6
15226 if "$rra_krb5_config_KRB5" 2>&1 | grep deps >/dev/null 2>&1; then :
15227 rra_cv_krb5_config_deps=yes
15229 rra_cv_krb5_config_deps=no
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_krb5_config_deps" >&5
15233 $as_echo "$rra_cv_krb5_config_deps" >&6; }
15234 if test x"$rra_reduced_depends" = xfalse \
15235 && test x"$rra_cv_krb5_config_deps" = xyes; then :
15236 KRB5_LIBS=`"$rra_krb5_config_KRB5" --deps --libs krb5 2>/dev/null`
15238 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
15240 rra_krb5_config_KRB5_ok=yes
15242 if test x"krb5" = xkrb5; then :
15243 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags 2>/dev/null`
15244 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
15245 rra_krb5_config_KRB5_ok=yes
15249 if test x"$rra_krb5_config_KRB5_ok" = xyes; then :
15250 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include %%'`
15251 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include$%%'`
15252 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15253 rra_krb5_save_LDFLAGS="$LDFLAGS"
15254 rra_krb5_save_LIBS="$LIBS"
15255 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15256 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15257 LIBS="$KRB5_LIBS $LIBS"
15258 ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
15259 if test "x$ac_cv_func_krb5_init_context" = xyes; then :
15260 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15261 LDFLAGS="$rra_krb5_save_LDFLAGS"
15262 LIBS="$rra_krb5_save_LIBS"
15264 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15265 LDFLAGS="$rra_krb5_save_LDFLAGS"
15266 LIBS="$rra_krb5_save_LIBS"
15269 if test x"$rra_krb5_libdir" != x; then :
15270 KRB5_LDFLAGS="-L$rra_krb5_libdir"
15272 if test x"$rra_krb5_root" != x; then :
15274 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
15275 if test x"" = x; then :
15276 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
15278 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
15281 if test x"" = x; then :
15282 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
15284 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
15287 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
15290 if test x"$rra_krb5_includedir" != x; then :
15291 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
15293 if test x"$rra_krb5_root" != x; then :
15294 if test x"$rra_krb5_root" != x/usr; then :
15295 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
15299 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15300 rra_krb5_save_LDFLAGS="$LDFLAGS"
15301 rra_krb5_save_LIBS="$LIBS"
15302 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15303 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15304 LIBS="$KRB5_LIBS $LIBS"
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
15308 $as_echo_n "checking for library containing res_search... " >&6; }
15309 if ${ac_cv_search_res_search+:} false; then :
15310 $as_echo_n "(cached) " >&6
15312 ac_func_search_save_LIBS=$LIBS
15313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15314 /* end confdefs.h. */
15316 /* Override any GCC internal prototype to avoid an error.
15317 Use char because int might match the return type of a GCC
15318 builtin and then its argument prototype would still apply. */
15322 char res_search ();
15326 return res_search ();
15331 for ac_lib in '' resolv; do
15332 if test -z "$ac_lib"; then
15333 ac_res="none required"
15336 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15338 if ac_fn_c_try_link "$LINENO"; then :
15339 ac_cv_search_res_search=$ac_res
15341 rm -f core conftest.err conftest.$ac_objext \
15343 if ${ac_cv_search_res_search+:} false; then :
15347 if ${ac_cv_search_res_search+:} false; then :
15350 ac_cv_search_res_search=no
15352 rm conftest.$ac_ext
15353 LIBS=$ac_func_search_save_LIBS
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
15356 $as_echo "$ac_cv_search_res_search" >&6; }
15357 ac_res=$ac_cv_search_res_search
15358 if test "$ac_res" != no; then :
15359 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
15363 $as_echo_n "checking for library containing __res_search... " >&6; }
15364 if ${ac_cv_search___res_search+:} false; then :
15365 $as_echo_n "(cached) " >&6
15367 ac_func_search_save_LIBS=$LIBS
15368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15369 /* end confdefs.h. */
15371 /* Override any GCC internal prototype to avoid an error.
15372 Use char because int might match the return type of a GCC
15373 builtin and then its argument prototype would still apply. */
15377 char __res_search ();
15381 return __res_search ();
15386 for ac_lib in '' resolv; do
15387 if test -z "$ac_lib"; then
15388 ac_res="none required"
15391 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15393 if ac_fn_c_try_link "$LINENO"; then :
15394 ac_cv_search___res_search=$ac_res
15396 rm -f core conftest.err conftest.$ac_objext \
15398 if ${ac_cv_search___res_search+:} false; then :
15402 if ${ac_cv_search___res_search+:} false; then :
15405 ac_cv_search___res_search=no
15407 rm conftest.$ac_ext
15408 LIBS=$ac_func_search_save_LIBS
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
15411 $as_echo "$ac_cv_search___res_search" >&6; }
15412 ac_res=$ac_cv_search___res_search
15413 if test "$ac_res" != no; then :
15414 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15421 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15422 if ${ac_cv_search_gethostbyname+:} false; then :
15423 $as_echo_n "(cached) " >&6
15425 ac_func_search_save_LIBS=$LIBS
15426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15427 /* end confdefs.h. */
15429 /* Override any GCC internal prototype to avoid an error.
15430 Use char because int might match the return type of a GCC
15431 builtin and then its argument prototype would still apply. */
15435 char gethostbyname ();
15439 return gethostbyname ();
15444 for ac_lib in '' nsl; do
15445 if test -z "$ac_lib"; then
15446 ac_res="none required"
15449 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15451 if ac_fn_c_try_link "$LINENO"; then :
15452 ac_cv_search_gethostbyname=$ac_res
15454 rm -f core conftest.err conftest.$ac_objext \
15456 if ${ac_cv_search_gethostbyname+:} false; then :
15460 if ${ac_cv_search_gethostbyname+:} false; then :
15463 ac_cv_search_gethostbyname=no
15465 rm conftest.$ac_ext
15466 LIBS=$ac_func_search_save_LIBS
15468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15469 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15470 ac_res=$ac_cv_search_gethostbyname
15471 if test "$ac_res" != no; then :
15472 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
15477 $as_echo_n "checking for library containing socket... " >&6; }
15478 if ${ac_cv_search_socket+:} false; then :
15479 $as_echo_n "(cached) " >&6
15481 ac_func_search_save_LIBS=$LIBS
15482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15483 /* end confdefs.h. */
15485 /* Override any GCC internal prototype to avoid an error.
15486 Use char because int might match the return type of a GCC
15487 builtin and then its argument prototype would still apply. */
15500 for ac_lib in '' socket; do
15501 if test -z "$ac_lib"; then
15502 ac_res="none required"
15505 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15507 if ac_fn_c_try_link "$LINENO"; then :
15508 ac_cv_search_socket=$ac_res
15510 rm -f core conftest.err conftest.$ac_objext \
15512 if ${ac_cv_search_socket+:} false; then :
15516 if ${ac_cv_search_socket+:} false; then :
15519 ac_cv_search_socket=no
15521 rm conftest.$ac_ext
15522 LIBS=$ac_func_search_save_LIBS
15524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
15525 $as_echo "$ac_cv_search_socket" >&6; }
15526 ac_res=$ac_cv_search_socket
15527 if test "$ac_res" != no; then :
15528 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
15532 $as_echo_n "checking for socket in -lnsl... " >&6; }
15533 if ${ac_cv_lib_nsl_socket+:} false; then :
15534 $as_echo_n "(cached) " >&6
15536 ac_check_lib_save_LIBS=$LIBS
15537 LIBS="-lnsl -lsocket $LIBS"
15538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15539 /* end confdefs.h. */
15541 /* Override any GCC internal prototype to avoid an error.
15542 Use char because int might match the return type of a GCC
15543 builtin and then its argument prototype would still apply. */
15556 if ac_fn_c_try_link "$LINENO"; then :
15557 ac_cv_lib_nsl_socket=yes
15559 ac_cv_lib_nsl_socket=no
15561 rm -f core conftest.err conftest.$ac_objext \
15562 conftest$ac_exeext conftest.$ac_ext
15563 LIBS=$ac_check_lib_save_LIBS
15565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
15566 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
15567 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
15568 LIBS="-lnsl -lsocket $LIBS"
15573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
15574 $as_echo_n "checking for library containing crypt... " >&6; }
15575 if ${ac_cv_search_crypt+:} false; then :
15576 $as_echo_n "(cached) " >&6
15578 ac_func_search_save_LIBS=$LIBS
15579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15580 /* end confdefs.h. */
15582 /* Override any GCC internal prototype to avoid an error.
15583 Use char because int might match the return type of a GCC
15584 builtin and then its argument prototype would still apply. */
15597 for ac_lib in '' crypt; do
15598 if test -z "$ac_lib"; then
15599 ac_res="none required"
15602 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 ac_cv_search_crypt=$ac_res
15607 rm -f core conftest.err conftest.$ac_objext \
15609 if ${ac_cv_search_crypt+:} false; then :
15613 if ${ac_cv_search_crypt+:} false; then :
15616 ac_cv_search_crypt=no
15618 rm conftest.$ac_ext
15619 LIBS=$ac_func_search_save_LIBS
15621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
15622 $as_echo "$ac_cv_search_crypt" >&6; }
15623 ac_res=$ac_cv_search_crypt
15624 if test "$ac_res" != no; then :
15625 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
15630 $as_echo_n "checking for library containing roken_concat... " >&6; }
15631 if ${ac_cv_search_roken_concat+:} false; then :
15632 $as_echo_n "(cached) " >&6
15634 ac_func_search_save_LIBS=$LIBS
15635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15636 /* end confdefs.h. */
15638 /* Override any GCC internal prototype to avoid an error.
15639 Use char because int might match the return type of a GCC
15640 builtin and then its argument prototype would still apply. */
15644 char roken_concat ();
15648 return roken_concat ();
15653 for ac_lib in '' roken; do
15654 if test -z "$ac_lib"; then
15655 ac_res="none required"
15658 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15660 if ac_fn_c_try_link "$LINENO"; then :
15661 ac_cv_search_roken_concat=$ac_res
15663 rm -f core conftest.err conftest.$ac_objext \
15665 if ${ac_cv_search_roken_concat+:} false; then :
15669 if ${ac_cv_search_roken_concat+:} false; then :
15672 ac_cv_search_roken_concat=no
15674 rm conftest.$ac_ext
15675 LIBS=$ac_func_search_save_LIBS
15677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
15678 $as_echo "$ac_cv_search_roken_concat" >&6; }
15679 ac_res=$ac_cv_search_roken_concat
15680 if test "$ac_res" != no; then :
15681 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15685 rra_krb5_extra="$LIBS"
15686 LIBS="$rra_krb5_save_LIBS"
15687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
15688 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
15689 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
15690 $as_echo_n "(cached) " >&6
15692 ac_check_lib_save_LIBS=$LIBS
15693 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
15694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15695 /* end confdefs.h. */
15697 /* Override any GCC internal prototype to avoid an error.
15698 Use char because int might match the return type of a GCC
15699 builtin and then its argument prototype would still apply. */
15703 char krb5_init_context ();
15707 return krb5_init_context ();
15712 if ac_fn_c_try_link "$LINENO"; then :
15713 ac_cv_lib_krb5_krb5_init_context=yes
15715 ac_cv_lib_krb5_krb5_init_context=no
15717 rm -f core conftest.err conftest.$ac_objext \
15718 conftest$ac_exeext conftest.$ac_ext
15719 LIBS=$ac_check_lib_save_LIBS
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
15722 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
15723 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
15724 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
15726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
15727 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
15728 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
15729 $as_echo_n "(cached) " >&6
15731 ac_check_lib_save_LIBS=$LIBS
15732 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
15733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15734 /* end confdefs.h. */
15736 /* Override any GCC internal prototype to avoid an error.
15737 Use char because int might match the return type of a GCC
15738 builtin and then its argument prototype would still apply. */
15742 char krb5int_getspecific ();
15746 return krb5int_getspecific ();
15751 if ac_fn_c_try_link "$LINENO"; then :
15752 ac_cv_lib_krb5support_krb5int_getspecific=yes
15754 ac_cv_lib_krb5support_krb5int_getspecific=no
15756 rm -f core conftest.err conftest.$ac_objext \
15757 conftest$ac_exeext conftest.$ac_ext
15758 LIBS=$ac_check_lib_save_LIBS
15760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
15761 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
15762 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
15763 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
15765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
15766 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
15767 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
15768 $as_echo_n "(cached) " >&6
15770 ac_check_lib_save_LIBS=$LIBS
15771 LIBS="-lpthreads $LIBS"
15772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15773 /* end confdefs.h. */
15775 /* Override any GCC internal prototype to avoid an error.
15776 Use char because int might match the return type of a GCC
15777 builtin and then its argument prototype would still apply. */
15781 char pthread_setspecific ();
15785 return pthread_setspecific ();
15790 if ac_fn_c_try_link "$LINENO"; then :
15791 ac_cv_lib_pthreads_pthread_setspecific=yes
15793 ac_cv_lib_pthreads_pthread_setspecific=no
15795 rm -f core conftest.err conftest.$ac_objext \
15796 conftest$ac_exeext conftest.$ac_ext
15797 LIBS=$ac_check_lib_save_LIBS
15799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
15800 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
15801 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
15802 rra_krb5_pthread="-lpthreads"
15804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
15805 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
15806 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
15807 $as_echo_n "(cached) " >&6
15809 ac_check_lib_save_LIBS=$LIBS
15810 LIBS="-lpthread $LIBS"
15811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15812 /* end confdefs.h. */
15814 /* Override any GCC internal prototype to avoid an error.
15815 Use char because int might match the return type of a GCC
15816 builtin and then its argument prototype would still apply. */
15820 char pthread_setspecific ();
15824 return pthread_setspecific ();
15829 if ac_fn_c_try_link "$LINENO"; then :
15830 ac_cv_lib_pthread_pthread_setspecific=yes
15832 ac_cv_lib_pthread_pthread_setspecific=no
15834 rm -f core conftest.err conftest.$ac_objext \
15835 conftest$ac_exeext conftest.$ac_ext
15836 LIBS=$ac_check_lib_save_LIBS
15838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
15839 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
15840 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
15841 rra_krb5_pthread="-lpthread"
15846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
15847 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
15848 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
15849 $as_echo_n "(cached) " >&6
15851 ac_check_lib_save_LIBS=$LIBS
15852 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
15853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15854 /* end confdefs.h. */
15856 /* Override any GCC internal prototype to avoid an error.
15857 Use char because int might match the return type of a GCC
15858 builtin and then its argument prototype would still apply. */
15862 char krb5int_setspecific ();
15866 return krb5int_setspecific ();
15871 if ac_fn_c_try_link "$LINENO"; then :
15872 ac_cv_lib_krb5support_krb5int_setspecific=yes
15874 ac_cv_lib_krb5support_krb5int_setspecific=no
15876 rm -f core conftest.err conftest.$ac_objext \
15877 conftest$ac_exeext conftest.$ac_ext
15878 LIBS=$ac_check_lib_save_LIBS
15880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
15881 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
15882 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
15883 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
15889 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
15890 if ${ac_cv_lib_com_err_error_message+:} false; then :
15891 $as_echo_n "(cached) " >&6
15893 ac_check_lib_save_LIBS=$LIBS
15894 LIBS="-lcom_err $rra_krb5_extra $LIBS"
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15904 char error_message ();
15908 return error_message ();
15913 if ac_fn_c_try_link "$LINENO"; then :
15914 ac_cv_lib_com_err_error_message=yes
15916 ac_cv_lib_com_err_error_message=no
15918 rm -f core conftest.err conftest.$ac_objext \
15919 conftest$ac_exeext conftest.$ac_ext
15920 LIBS=$ac_check_lib_save_LIBS
15922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
15923 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
15924 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
15925 rra_krb5_extra="-lcom_err $rra_krb5_extra"
15928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
15929 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
15930 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
15931 $as_echo_n "(cached) " >&6
15933 ac_check_lib_save_LIBS=$LIBS
15934 LIBS="-lksvc $rra_krb5_extra $LIBS"
15935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15936 /* end confdefs.h. */
15938 /* Override any GCC internal prototype to avoid an error.
15939 Use char because int might match the return type of a GCC
15940 builtin and then its argument prototype would still apply. */
15944 char krb5_svc_get_msg ();
15948 return krb5_svc_get_msg ();
15953 if ac_fn_c_try_link "$LINENO"; then :
15954 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
15956 ac_cv_lib_ksvc_krb5_svc_get_msg=no
15958 rm -f core conftest.err conftest.$ac_objext \
15959 conftest$ac_exeext conftest.$ac_ext
15960 LIBS=$ac_check_lib_save_LIBS
15962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
15963 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
15964 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
15965 rra_krb5_extra="-lksvc $rra_krb5_extra"
15968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
15969 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
15970 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
15971 $as_echo_n "(cached) " >&6
15973 ac_check_lib_save_LIBS=$LIBS
15974 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
15975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15976 /* end confdefs.h. */
15978 /* Override any GCC internal prototype to avoid an error.
15979 Use char because int might match the return type of a GCC
15980 builtin and then its argument prototype would still apply. */
15984 char krb5int_hash_md5 ();
15988 return krb5int_hash_md5 ();
15993 if ac_fn_c_try_link "$LINENO"; then :
15994 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
15996 ac_cv_lib_k5crypto_krb5int_hash_md5=no
15998 rm -f core conftest.err conftest.$ac_objext \
15999 conftest$ac_exeext conftest.$ac_ext
16000 LIBS=$ac_check_lib_save_LIBS
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
16003 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
16004 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
16005 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
16008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
16009 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
16010 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
16011 $as_echo_n "(cached) " >&6
16013 ac_check_lib_save_LIBS=$LIBS
16014 LIBS="-lk5profile $rra_krb5_extra $LIBS"
16015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16016 /* end confdefs.h. */
16018 /* Override any GCC internal prototype to avoid an error.
16019 Use char because int might match the return type of a GCC
16020 builtin and then its argument prototype would still apply. */
16024 char profile_get_values ();
16028 return profile_get_values ();
16033 if ac_fn_c_try_link "$LINENO"; then :
16034 ac_cv_lib_k5profile_profile_get_values=yes
16036 ac_cv_lib_k5profile_profile_get_values=no
16038 rm -f core conftest.err conftest.$ac_objext \
16039 conftest$ac_exeext conftest.$ac_ext
16040 LIBS=$ac_check_lib_save_LIBS
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
16043 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
16044 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
16045 rra_krb5_extra="-lk5profile $rra_krb5_extra"
16048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
16049 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
16050 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
16051 $as_echo_n "(cached) " >&6
16053 ac_check_lib_save_LIBS=$LIBS
16054 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
16055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16056 /* end confdefs.h. */
16058 /* Override any GCC internal prototype to avoid an error.
16059 Use char because int might match the return type of a GCC
16060 builtin and then its argument prototype would still apply. */
16064 char krb5_cc_default ();
16068 return krb5_cc_default ();
16073 if ac_fn_c_try_link "$LINENO"; then :
16074 ac_cv_lib_krb5_krb5_cc_default=yes
16076 ac_cv_lib_krb5_krb5_cc_default=no
16078 rm -f core conftest.err conftest.$ac_objext \
16079 conftest$ac_exeext conftest.$ac_ext
16080 LIBS=$ac_check_lib_save_LIBS
16082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
16083 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
16084 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
16085 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
16087 if test x"true" = xtrue; then :
16088 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
16094 LIBS="$KRB5_LIBS $LIBS"
16095 if test x"$rra_krb5_incroot" = x; then :
16096 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
16098 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16099 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16100 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
16111 $as_echo_n "checking for krb5.h... " >&6; }
16112 if test -f "${rra_krb5_incroot}/krb5.h"; then :
16114 cat >>confdefs.h <<_ACEOF
16115 #define HAVE_KRB5_H 1
16118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16119 $as_echo "yes" >&6; }
16121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16122 $as_echo "no" >&6; }
16124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
16125 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
16126 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
16128 cat >>confdefs.h <<_ACEOF
16129 #define HAVE_KERBEROSV5_KRB5_H 1
16132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16133 $as_echo "yes" >&6; }
16135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16136 $as_echo "no" >&6; }
16138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
16139 $as_echo_n "checking for krb5/krb5.h... " >&6; }
16140 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
16142 cat >>confdefs.h <<_ACEOF
16143 #define HAVE_KRB5_KRB5_H 1
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16147 $as_echo "yes" >&6; }
16149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16150 $as_echo "no" >&6; }
16153 for ac_func in krb5_get_error_message
16155 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16156 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
16157 cat >>confdefs.h <<_ACEOF
16158 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
16160 for ac_func in krb5_free_error_message
16162 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16163 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
16164 cat >>confdefs.h <<_ACEOF
16165 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
16172 for ac_func in krb5_get_error_string
16174 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16175 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
16176 cat >>confdefs.h <<_ACEOF
16177 #define HAVE_KRB5_GET_ERROR_STRING 1
16181 for ac_func in krb5_get_err_txt
16183 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16184 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
16185 cat >>confdefs.h <<_ACEOF
16186 #define HAVE_KRB5_GET_ERR_TXT 1
16190 for ac_func in krb5_svc_get_msg
16192 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
16193 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
16194 cat >>confdefs.h <<_ACEOF
16195 #define HAVE_KRB5_SVC_GET_MSG 1
16197 for ac_header in ibm_svc/krb5_svc.h
16199 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
16202 #elif HAVE_KERBEROSV5_KRB5_H
16203 # include <kerberosv5/krb5.h>
16205 # include <krb5/krb5.h>
16209 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
16210 cat >>confdefs.h <<_ACEOF
16211 #define HAVE_IBM_SVC_KRB5_SVC_H 1
16219 if test x"$rra_krb5_incroot" = x; then :
16220 for ac_header in et/com_err.h kerberosv5/com_err.h
16222 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16223 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16224 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16225 cat >>confdefs.h <<_ACEOF
16226 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
16235 $as_echo_n "checking for et/com_err.h... " >&6; }
16236 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
16238 cat >>confdefs.h <<_ACEOF
16239 #define HAVE_ET_COM_ERR_H 1
16242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16243 $as_echo "yes" >&6; }
16245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16246 $as_echo "no" >&6; }
16248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
16249 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
16250 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
16252 cat >>confdefs.h <<_ACEOF
16253 #define HAVE_KERBEROSV5_COM_ERR_H 1
16256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16257 $as_echo "yes" >&6; }
16259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16260 $as_echo "no" >&6; }
16275 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16276 LDFLAGS="$rra_krb5_save_LDFLAGS"
16277 LIBS="$rra_krb5_save_LIBS"
16280 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
16281 rra_krb5_save_LDFLAGS="$LDFLAGS"
16282 rra_krb5_save_LIBS="$LIBS"
16283 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
16284 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
16285 LIBS="$KRB5_LIBS $LIBS"
16286 if test x"$rra_krb5_incroot" = x; then :
16287 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
16289 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16290 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16292 cat >>confdefs.h <<_ACEOF
16293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
16302 $as_echo_n "checking for krb5.h... " >&6; }
16303 if test -f "${rra_krb5_incroot}/krb5.h"; then :
16305 cat >>confdefs.h <<_ACEOF
16306 #define HAVE_KRB5_H 1
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16310 $as_echo "yes" >&6; }
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16313 $as_echo "no" >&6; }
16315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
16316 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
16317 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
16319 cat >>confdefs.h <<_ACEOF
16320 #define HAVE_KERBEROSV5_KRB5_H 1
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16324 $as_echo "yes" >&6; }
16326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16327 $as_echo "no" >&6; }
16329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
16330 $as_echo_n "checking for krb5/krb5.h... " >&6; }
16331 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
16333 cat >>confdefs.h <<_ACEOF
16334 #define HAVE_KRB5_KRB5_H 1
16337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16338 $as_echo "yes" >&6; }
16340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16341 $as_echo "no" >&6; }
16344 for ac_func in krb5_get_error_message
16346 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16347 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
16348 cat >>confdefs.h <<_ACEOF
16349 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
16351 for ac_func in krb5_free_error_message
16353 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16354 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
16355 cat >>confdefs.h <<_ACEOF
16356 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
16363 for ac_func in krb5_get_error_string
16365 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16366 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
16367 cat >>confdefs.h <<_ACEOF
16368 #define HAVE_KRB5_GET_ERROR_STRING 1
16372 for ac_func in krb5_get_err_txt
16374 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16375 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
16376 cat >>confdefs.h <<_ACEOF
16377 #define HAVE_KRB5_GET_ERR_TXT 1
16381 for ac_func in krb5_svc_get_msg
16383 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
16384 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
16385 cat >>confdefs.h <<_ACEOF
16386 #define HAVE_KRB5_SVC_GET_MSG 1
16388 for ac_header in ibm_svc/krb5_svc.h
16390 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
16393 #elif HAVE_KERBEROSV5_KRB5_H
16394 # include <kerberosv5/krb5.h>
16396 # include <krb5/krb5.h>
16400 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
16401 cat >>confdefs.h <<_ACEOF
16402 #define HAVE_IBM_SVC_KRB5_SVC_H 1
16410 if test x"$rra_krb5_incroot" = x; then :
16411 for ac_header in et/com_err.h kerberosv5/com_err.h
16413 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16414 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16415 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16416 cat >>confdefs.h <<_ACEOF
16417 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
16426 $as_echo_n "checking for et/com_err.h... " >&6; }
16427 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
16429 cat >>confdefs.h <<_ACEOF
16430 #define HAVE_ET_COM_ERR_H 1
16433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16434 $as_echo "yes" >&6; }
16436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16437 $as_echo "no" >&6; }
16439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
16440 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
16441 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
16443 cat >>confdefs.h <<_ACEOF
16444 #define HAVE_KERBEROSV5_COM_ERR_H 1
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16448 $as_echo "yes" >&6; }
16450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16451 $as_echo "no" >&6; }
16466 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16467 LDFLAGS="$rra_krb5_save_LDFLAGS"
16468 LIBS="$rra_krb5_save_LIBS"
16470 if test x"$rra_krb5_libdir" != x; then :
16471 KRB5_LDFLAGS="-L$rra_krb5_libdir"
16473 if test x"$rra_krb5_root" != x; then :
16475 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
16476 if test x"" = x; then :
16477 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
16479 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
16482 if test x"" = x; then :
16483 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
16485 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
16488 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
16491 if test x"$rra_krb5_includedir" != x; then :
16492 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
16494 if test x"$rra_krb5_root" != x; then :
16495 if test x"$rra_krb5_root" != x/usr; then :
16496 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
16500 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
16501 rra_krb5_save_LDFLAGS="$LDFLAGS"
16502 rra_krb5_save_LIBS="$LIBS"
16503 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
16504 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
16505 LIBS="$KRB5_LIBS $LIBS"
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
16509 $as_echo_n "checking for library containing res_search... " >&6; }
16510 if ${ac_cv_search_res_search+:} false; then :
16511 $as_echo_n "(cached) " >&6
16513 ac_func_search_save_LIBS=$LIBS
16514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16515 /* end confdefs.h. */
16517 /* Override any GCC internal prototype to avoid an error.
16518 Use char because int might match the return type of a GCC
16519 builtin and then its argument prototype would still apply. */
16523 char res_search ();
16527 return res_search ();
16532 for ac_lib in '' resolv; do
16533 if test -z "$ac_lib"; then
16534 ac_res="none required"
16537 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16539 if ac_fn_c_try_link "$LINENO"; then :
16540 ac_cv_search_res_search=$ac_res
16542 rm -f core conftest.err conftest.$ac_objext \
16544 if ${ac_cv_search_res_search+:} false; then :
16548 if ${ac_cv_search_res_search+:} false; then :
16551 ac_cv_search_res_search=no
16553 rm conftest.$ac_ext
16554 LIBS=$ac_func_search_save_LIBS
16556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
16557 $as_echo "$ac_cv_search_res_search" >&6; }
16558 ac_res=$ac_cv_search_res_search
16559 if test "$ac_res" != no; then :
16560 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
16564 $as_echo_n "checking for library containing __res_search... " >&6; }
16565 if ${ac_cv_search___res_search+:} false; then :
16566 $as_echo_n "(cached) " >&6
16568 ac_func_search_save_LIBS=$LIBS
16569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16570 /* end confdefs.h. */
16572 /* Override any GCC internal prototype to avoid an error.
16573 Use char because int might match the return type of a GCC
16574 builtin and then its argument prototype would still apply. */
16578 char __res_search ();
16582 return __res_search ();
16587 for ac_lib in '' resolv; do
16588 if test -z "$ac_lib"; then
16589 ac_res="none required"
16592 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16594 if ac_fn_c_try_link "$LINENO"; then :
16595 ac_cv_search___res_search=$ac_res
16597 rm -f core conftest.err conftest.$ac_objext \
16599 if ${ac_cv_search___res_search+:} false; then :
16603 if ${ac_cv_search___res_search+:} false; then :
16606 ac_cv_search___res_search=no
16608 rm conftest.$ac_ext
16609 LIBS=$ac_func_search_save_LIBS
16611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
16612 $as_echo "$ac_cv_search___res_search" >&6; }
16613 ac_res=$ac_cv_search___res_search
16614 if test "$ac_res" != no; then :
16615 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16622 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16623 if ${ac_cv_search_gethostbyname+:} false; then :
16624 $as_echo_n "(cached) " >&6
16626 ac_func_search_save_LIBS=$LIBS
16627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16628 /* end confdefs.h. */
16630 /* Override any GCC internal prototype to avoid an error.
16631 Use char because int might match the return type of a GCC
16632 builtin and then its argument prototype would still apply. */
16636 char gethostbyname ();
16640 return gethostbyname ();
16645 for ac_lib in '' nsl; do
16646 if test -z "$ac_lib"; then
16647 ac_res="none required"
16650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16652 if ac_fn_c_try_link "$LINENO"; then :
16653 ac_cv_search_gethostbyname=$ac_res
16655 rm -f core conftest.err conftest.$ac_objext \
16657 if ${ac_cv_search_gethostbyname+:} false; then :
16661 if ${ac_cv_search_gethostbyname+:} false; then :
16664 ac_cv_search_gethostbyname=no
16666 rm conftest.$ac_ext
16667 LIBS=$ac_func_search_save_LIBS
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16670 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16671 ac_res=$ac_cv_search_gethostbyname
16672 if test "$ac_res" != no; then :
16673 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
16678 $as_echo_n "checking for library containing socket... " >&6; }
16679 if ${ac_cv_search_socket+:} false; then :
16680 $as_echo_n "(cached) " >&6
16682 ac_func_search_save_LIBS=$LIBS
16683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16684 /* end confdefs.h. */
16686 /* Override any GCC internal prototype to avoid an error.
16687 Use char because int might match the return type of a GCC
16688 builtin and then its argument prototype would still apply. */
16701 for ac_lib in '' socket; do
16702 if test -z "$ac_lib"; then
16703 ac_res="none required"
16706 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16708 if ac_fn_c_try_link "$LINENO"; then :
16709 ac_cv_search_socket=$ac_res
16711 rm -f core conftest.err conftest.$ac_objext \
16713 if ${ac_cv_search_socket+:} false; then :
16717 if ${ac_cv_search_socket+:} false; then :
16720 ac_cv_search_socket=no
16722 rm conftest.$ac_ext
16723 LIBS=$ac_func_search_save_LIBS
16725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
16726 $as_echo "$ac_cv_search_socket" >&6; }
16727 ac_res=$ac_cv_search_socket
16728 if test "$ac_res" != no; then :
16729 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
16733 $as_echo_n "checking for socket in -lnsl... " >&6; }
16734 if ${ac_cv_lib_nsl_socket+:} false; then :
16735 $as_echo_n "(cached) " >&6
16737 ac_check_lib_save_LIBS=$LIBS
16738 LIBS="-lnsl -lsocket $LIBS"
16739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16740 /* end confdefs.h. */
16742 /* Override any GCC internal prototype to avoid an error.
16743 Use char because int might match the return type of a GCC
16744 builtin and then its argument prototype would still apply. */
16757 if ac_fn_c_try_link "$LINENO"; then :
16758 ac_cv_lib_nsl_socket=yes
16760 ac_cv_lib_nsl_socket=no
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16764 LIBS=$ac_check_lib_save_LIBS
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
16767 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
16768 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
16769 LIBS="-lnsl -lsocket $LIBS"
16774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
16775 $as_echo_n "checking for library containing crypt... " >&6; }
16776 if ${ac_cv_search_crypt+:} false; then :
16777 $as_echo_n "(cached) " >&6
16779 ac_func_search_save_LIBS=$LIBS
16780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16781 /* end confdefs.h. */
16783 /* Override any GCC internal prototype to avoid an error.
16784 Use char because int might match the return type of a GCC
16785 builtin and then its argument prototype would still apply. */
16798 for ac_lib in '' crypt; do
16799 if test -z "$ac_lib"; then
16800 ac_res="none required"
16803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16805 if ac_fn_c_try_link "$LINENO"; then :
16806 ac_cv_search_crypt=$ac_res
16808 rm -f core conftest.err conftest.$ac_objext \
16810 if ${ac_cv_search_crypt+:} false; then :
16814 if ${ac_cv_search_crypt+:} false; then :
16817 ac_cv_search_crypt=no
16819 rm conftest.$ac_ext
16820 LIBS=$ac_func_search_save_LIBS
16822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
16823 $as_echo "$ac_cv_search_crypt" >&6; }
16824 ac_res=$ac_cv_search_crypt
16825 if test "$ac_res" != no; then :
16826 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
16831 $as_echo_n "checking for library containing roken_concat... " >&6; }
16832 if ${ac_cv_search_roken_concat+:} false; then :
16833 $as_echo_n "(cached) " >&6
16835 ac_func_search_save_LIBS=$LIBS
16836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16837 /* end confdefs.h. */
16839 /* Override any GCC internal prototype to avoid an error.
16840 Use char because int might match the return type of a GCC
16841 builtin and then its argument prototype would still apply. */
16845 char roken_concat ();
16849 return roken_concat ();
16854 for ac_lib in '' roken; do
16855 if test -z "$ac_lib"; then
16856 ac_res="none required"
16859 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16861 if ac_fn_c_try_link "$LINENO"; then :
16862 ac_cv_search_roken_concat=$ac_res
16864 rm -f core conftest.err conftest.$ac_objext \
16866 if ${ac_cv_search_roken_concat+:} false; then :
16870 if ${ac_cv_search_roken_concat+:} false; then :
16873 ac_cv_search_roken_concat=no
16875 rm conftest.$ac_ext
16876 LIBS=$ac_func_search_save_LIBS
16878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
16879 $as_echo "$ac_cv_search_roken_concat" >&6; }
16880 ac_res=$ac_cv_search_roken_concat
16881 if test "$ac_res" != no; then :
16882 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16886 rra_krb5_extra="$LIBS"
16887 LIBS="$rra_krb5_save_LIBS"
16888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
16889 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
16890 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
16891 $as_echo_n "(cached) " >&6
16893 ac_check_lib_save_LIBS=$LIBS
16894 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
16895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16896 /* end confdefs.h. */
16898 /* Override any GCC internal prototype to avoid an error.
16899 Use char because int might match the return type of a GCC
16900 builtin and then its argument prototype would still apply. */
16904 char krb5_init_context ();
16908 return krb5_init_context ();
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_lib_krb5_krb5_init_context=yes
16916 ac_cv_lib_krb5_krb5_init_context=no
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16920 LIBS=$ac_check_lib_save_LIBS
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
16923 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
16924 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
16925 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
16927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
16928 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
16929 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
16930 $as_echo_n "(cached) " >&6
16932 ac_check_lib_save_LIBS=$LIBS
16933 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16943 char krb5int_getspecific ();
16947 return krb5int_getspecific ();
16952 if ac_fn_c_try_link "$LINENO"; then :
16953 ac_cv_lib_krb5support_krb5int_getspecific=yes
16955 ac_cv_lib_krb5support_krb5int_getspecific=no
16957 rm -f core conftest.err conftest.$ac_objext \
16958 conftest$ac_exeext conftest.$ac_ext
16959 LIBS=$ac_check_lib_save_LIBS
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
16962 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
16963 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
16964 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
16967 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
16968 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
16969 $as_echo_n "(cached) " >&6
16971 ac_check_lib_save_LIBS=$LIBS
16972 LIBS="-lpthreads $LIBS"
16973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16974 /* end confdefs.h. */
16976 /* Override any GCC internal prototype to avoid an error.
16977 Use char because int might match the return type of a GCC
16978 builtin and then its argument prototype would still apply. */
16982 char pthread_setspecific ();
16986 return pthread_setspecific ();
16991 if ac_fn_c_try_link "$LINENO"; then :
16992 ac_cv_lib_pthreads_pthread_setspecific=yes
16994 ac_cv_lib_pthreads_pthread_setspecific=no
16996 rm -f core conftest.err conftest.$ac_objext \
16997 conftest$ac_exeext conftest.$ac_ext
16998 LIBS=$ac_check_lib_save_LIBS
17000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
17001 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
17002 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
17003 rra_krb5_pthread="-lpthreads"
17005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
17006 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
17007 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
17008 $as_echo_n "(cached) " >&6
17010 ac_check_lib_save_LIBS=$LIBS
17011 LIBS="-lpthread $LIBS"
17012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17013 /* end confdefs.h. */
17015 /* Override any GCC internal prototype to avoid an error.
17016 Use char because int might match the return type of a GCC
17017 builtin and then its argument prototype would still apply. */
17021 char pthread_setspecific ();
17025 return pthread_setspecific ();
17030 if ac_fn_c_try_link "$LINENO"; then :
17031 ac_cv_lib_pthread_pthread_setspecific=yes
17033 ac_cv_lib_pthread_pthread_setspecific=no
17035 rm -f core conftest.err conftest.$ac_objext \
17036 conftest$ac_exeext conftest.$ac_ext
17037 LIBS=$ac_check_lib_save_LIBS
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
17040 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
17041 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
17042 rra_krb5_pthread="-lpthread"
17047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
17048 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
17049 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
17050 $as_echo_n "(cached) " >&6
17052 ac_check_lib_save_LIBS=$LIBS
17053 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
17054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17055 /* end confdefs.h. */
17057 /* Override any GCC internal prototype to avoid an error.
17058 Use char because int might match the return type of a GCC
17059 builtin and then its argument prototype would still apply. */
17063 char krb5int_setspecific ();
17067 return krb5int_setspecific ();
17072 if ac_fn_c_try_link "$LINENO"; then :
17073 ac_cv_lib_krb5support_krb5int_setspecific=yes
17075 ac_cv_lib_krb5support_krb5int_setspecific=no
17077 rm -f core conftest.err conftest.$ac_objext \
17078 conftest$ac_exeext conftest.$ac_ext
17079 LIBS=$ac_check_lib_save_LIBS
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
17082 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
17083 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
17084 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
17090 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
17091 if ${ac_cv_lib_com_err_error_message+:} false; then :
17092 $as_echo_n "(cached) " >&6
17094 ac_check_lib_save_LIBS=$LIBS
17095 LIBS="-lcom_err $rra_krb5_extra $LIBS"
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17099 /* Override any GCC internal prototype to avoid an error.
17100 Use char because int might match the return type of a GCC
17101 builtin and then its argument prototype would still apply. */
17105 char error_message ();
17109 return error_message ();
17114 if ac_fn_c_try_link "$LINENO"; then :
17115 ac_cv_lib_com_err_error_message=yes
17117 ac_cv_lib_com_err_error_message=no
17119 rm -f core conftest.err conftest.$ac_objext \
17120 conftest$ac_exeext conftest.$ac_ext
17121 LIBS=$ac_check_lib_save_LIBS
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
17124 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
17125 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
17126 rra_krb5_extra="-lcom_err $rra_krb5_extra"
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
17130 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
17131 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
17132 $as_echo_n "(cached) " >&6
17134 ac_check_lib_save_LIBS=$LIBS
17135 LIBS="-lksvc $rra_krb5_extra $LIBS"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17139 /* Override any GCC internal prototype to avoid an error.
17140 Use char because int might match the return type of a GCC
17141 builtin and then its argument prototype would still apply. */
17145 char krb5_svc_get_msg ();
17149 return krb5_svc_get_msg ();
17154 if ac_fn_c_try_link "$LINENO"; then :
17155 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
17157 ac_cv_lib_ksvc_krb5_svc_get_msg=no
17159 rm -f core conftest.err conftest.$ac_objext \
17160 conftest$ac_exeext conftest.$ac_ext
17161 LIBS=$ac_check_lib_save_LIBS
17163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
17164 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
17165 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
17166 rra_krb5_extra="-lksvc $rra_krb5_extra"
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
17170 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
17171 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
17172 $as_echo_n "(cached) " >&6
17174 ac_check_lib_save_LIBS=$LIBS
17175 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
17176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17177 /* end confdefs.h. */
17179 /* Override any GCC internal prototype to avoid an error.
17180 Use char because int might match the return type of a GCC
17181 builtin and then its argument prototype would still apply. */
17185 char krb5int_hash_md5 ();
17189 return krb5int_hash_md5 ();
17194 if ac_fn_c_try_link "$LINENO"; then :
17195 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
17197 ac_cv_lib_k5crypto_krb5int_hash_md5=no
17199 rm -f core conftest.err conftest.$ac_objext \
17200 conftest$ac_exeext conftest.$ac_ext
17201 LIBS=$ac_check_lib_save_LIBS
17203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
17204 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
17205 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
17206 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
17210 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
17211 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
17212 $as_echo_n "(cached) " >&6
17214 ac_check_lib_save_LIBS=$LIBS
17215 LIBS="-lk5profile $rra_krb5_extra $LIBS"
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17219 /* Override any GCC internal prototype to avoid an error.
17220 Use char because int might match the return type of a GCC
17221 builtin and then its argument prototype would still apply. */
17225 char profile_get_values ();
17229 return profile_get_values ();
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 ac_cv_lib_k5profile_profile_get_values=yes
17237 ac_cv_lib_k5profile_profile_get_values=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17241 LIBS=$ac_check_lib_save_LIBS
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
17244 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
17245 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
17246 rra_krb5_extra="-lk5profile $rra_krb5_extra"
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
17250 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
17251 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
17252 $as_echo_n "(cached) " >&6
17254 ac_check_lib_save_LIBS=$LIBS
17255 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
17256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17257 /* end confdefs.h. */
17259 /* Override any GCC internal prototype to avoid an error.
17260 Use char because int might match the return type of a GCC
17261 builtin and then its argument prototype would still apply. */
17265 char krb5_cc_default ();
17269 return krb5_cc_default ();
17274 if ac_fn_c_try_link "$LINENO"; then :
17275 ac_cv_lib_krb5_krb5_cc_default=yes
17277 ac_cv_lib_krb5_krb5_cc_default=no
17279 rm -f core conftest.err conftest.$ac_objext \
17280 conftest$ac_exeext conftest.$ac_ext
17281 LIBS=$ac_check_lib_save_LIBS
17283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
17284 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
17285 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
17286 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
17288 if test x"true" = xtrue; then :
17289 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
17295 LIBS="$KRB5_LIBS $LIBS"
17296 if test x"$rra_krb5_incroot" = x; then :
17297 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
17299 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17300 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17301 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17302 cat >>confdefs.h <<_ACEOF
17303 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
17312 $as_echo_n "checking for krb5.h... " >&6; }
17313 if test -f "${rra_krb5_incroot}/krb5.h"; then :
17315 cat >>confdefs.h <<_ACEOF
17316 #define HAVE_KRB5_H 1
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17320 $as_echo "yes" >&6; }
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17323 $as_echo "no" >&6; }
17325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
17326 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
17327 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
17329 cat >>confdefs.h <<_ACEOF
17330 #define HAVE_KERBEROSV5_KRB5_H 1
17333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17334 $as_echo "yes" >&6; }
17336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17337 $as_echo "no" >&6; }
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
17340 $as_echo_n "checking for krb5/krb5.h... " >&6; }
17341 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
17343 cat >>confdefs.h <<_ACEOF
17344 #define HAVE_KRB5_KRB5_H 1
17347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17348 $as_echo "yes" >&6; }
17350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17351 $as_echo "no" >&6; }
17354 for ac_func in krb5_get_error_message
17356 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
17357 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
17358 cat >>confdefs.h <<_ACEOF
17359 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
17361 for ac_func in krb5_free_error_message
17363 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
17364 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
17365 cat >>confdefs.h <<_ACEOF
17366 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
17373 for ac_func in krb5_get_error_string
17375 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
17376 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
17377 cat >>confdefs.h <<_ACEOF
17378 #define HAVE_KRB5_GET_ERROR_STRING 1
17382 for ac_func in krb5_get_err_txt
17384 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
17385 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
17386 cat >>confdefs.h <<_ACEOF
17387 #define HAVE_KRB5_GET_ERR_TXT 1
17391 for ac_func in krb5_svc_get_msg
17393 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
17394 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
17395 cat >>confdefs.h <<_ACEOF
17396 #define HAVE_KRB5_SVC_GET_MSG 1
17398 for ac_header in ibm_svc/krb5_svc.h
17400 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
17403 #elif HAVE_KERBEROSV5_KRB5_H
17404 # include <kerberosv5/krb5.h>
17406 # include <krb5/krb5.h>
17410 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
17411 cat >>confdefs.h <<_ACEOF
17412 #define HAVE_IBM_SVC_KRB5_SVC_H 1
17420 if test x"$rra_krb5_incroot" = x; then :
17421 for ac_header in et/com_err.h kerberosv5/com_err.h
17423 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17424 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17425 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17426 cat >>confdefs.h <<_ACEOF
17427 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
17436 $as_echo_n "checking for et/com_err.h... " >&6; }
17437 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
17439 cat >>confdefs.h <<_ACEOF
17440 #define HAVE_ET_COM_ERR_H 1
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17444 $as_echo "yes" >&6; }
17446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17447 $as_echo "no" >&6; }
17449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
17450 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
17451 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
17453 cat >>confdefs.h <<_ACEOF
17454 #define HAVE_KERBEROSV5_COM_ERR_H 1
17457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17458 $as_echo "yes" >&6; }
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17461 $as_echo "no" >&6; }
17476 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
17477 LDFLAGS="$rra_krb5_save_LDFLAGS"
17478 LIBS="$rra_krb5_save_LIBS"
17481 if test x"$rra_krb5_libdir" != x; then :
17482 KRB5_LDFLAGS="-L$rra_krb5_libdir"
17484 if test x"$rra_krb5_root" != x; then :
17486 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
17487 if test x"" = x; then :
17488 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
17490 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
17493 if test x"" = x; then :
17494 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
17496 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
17499 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
17502 if test x"$rra_krb5_includedir" != x; then :
17503 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
17505 if test x"$rra_krb5_root" != x; then :
17506 if test x"$rra_krb5_root" != x/usr; then :
17507 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
17511 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
17512 rra_krb5_save_LDFLAGS="$LDFLAGS"
17513 rra_krb5_save_LIBS="$LIBS"
17514 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
17515 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
17516 LIBS="$KRB5_LIBS $LIBS"
17519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
17520 $as_echo_n "checking for library containing res_search... " >&6; }
17521 if ${ac_cv_search_res_search+:} false; then :
17522 $as_echo_n "(cached) " >&6
17524 ac_func_search_save_LIBS=$LIBS
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17528 /* Override any GCC internal prototype to avoid an error.
17529 Use char because int might match the return type of a GCC
17530 builtin and then its argument prototype would still apply. */
17534 char res_search ();
17538 return res_search ();
17543 for ac_lib in '' resolv; do
17544 if test -z "$ac_lib"; then
17545 ac_res="none required"
17548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17550 if ac_fn_c_try_link "$LINENO"; then :
17551 ac_cv_search_res_search=$ac_res
17553 rm -f core conftest.err conftest.$ac_objext \
17555 if ${ac_cv_search_res_search+:} false; then :
17559 if ${ac_cv_search_res_search+:} false; then :
17562 ac_cv_search_res_search=no
17564 rm conftest.$ac_ext
17565 LIBS=$ac_func_search_save_LIBS
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
17568 $as_echo "$ac_cv_search_res_search" >&6; }
17569 ac_res=$ac_cv_search_res_search
17570 if test "$ac_res" != no; then :
17571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
17575 $as_echo_n "checking for library containing __res_search... " >&6; }
17576 if ${ac_cv_search___res_search+:} false; then :
17577 $as_echo_n "(cached) " >&6
17579 ac_func_search_save_LIBS=$LIBS
17580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17581 /* end confdefs.h. */
17583 /* Override any GCC internal prototype to avoid an error.
17584 Use char because int might match the return type of a GCC
17585 builtin and then its argument prototype would still apply. */
17589 char __res_search ();
17593 return __res_search ();
17598 for ac_lib in '' resolv; do
17599 if test -z "$ac_lib"; then
17600 ac_res="none required"
17603 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17605 if ac_fn_c_try_link "$LINENO"; then :
17606 ac_cv_search___res_search=$ac_res
17608 rm -f core conftest.err conftest.$ac_objext \
17610 if ${ac_cv_search___res_search+:} false; then :
17614 if ${ac_cv_search___res_search+:} false; then :
17617 ac_cv_search___res_search=no
17619 rm conftest.$ac_ext
17620 LIBS=$ac_func_search_save_LIBS
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
17623 $as_echo "$ac_cv_search___res_search" >&6; }
17624 ac_res=$ac_cv_search___res_search
17625 if test "$ac_res" != no; then :
17626 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17633 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17634 if ${ac_cv_search_gethostbyname+:} false; then :
17635 $as_echo_n "(cached) " >&6
17637 ac_func_search_save_LIBS=$LIBS
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17641 /* Override any GCC internal prototype to avoid an error.
17642 Use char because int might match the return type of a GCC
17643 builtin and then its argument prototype would still apply. */
17647 char gethostbyname ();
17651 return gethostbyname ();
17656 for ac_lib in '' nsl; do
17657 if test -z "$ac_lib"; then
17658 ac_res="none required"
17661 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17663 if ac_fn_c_try_link "$LINENO"; then :
17664 ac_cv_search_gethostbyname=$ac_res
17666 rm -f core conftest.err conftest.$ac_objext \
17668 if ${ac_cv_search_gethostbyname+:} false; then :
17672 if ${ac_cv_search_gethostbyname+:} false; then :
17675 ac_cv_search_gethostbyname=no
17677 rm conftest.$ac_ext
17678 LIBS=$ac_func_search_save_LIBS
17680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17681 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17682 ac_res=$ac_cv_search_gethostbyname
17683 if test "$ac_res" != no; then :
17684 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
17689 $as_echo_n "checking for library containing socket... " >&6; }
17690 if ${ac_cv_search_socket+:} false; then :
17691 $as_echo_n "(cached) " >&6
17693 ac_func_search_save_LIBS=$LIBS
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17697 /* Override any GCC internal prototype to avoid an error.
17698 Use char because int might match the return type of a GCC
17699 builtin and then its argument prototype would still apply. */
17712 for ac_lib in '' socket; do
17713 if test -z "$ac_lib"; then
17714 ac_res="none required"
17717 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17719 if ac_fn_c_try_link "$LINENO"; then :
17720 ac_cv_search_socket=$ac_res
17722 rm -f core conftest.err conftest.$ac_objext \
17724 if ${ac_cv_search_socket+:} false; then :
17728 if ${ac_cv_search_socket+:} false; then :
17731 ac_cv_search_socket=no
17733 rm conftest.$ac_ext
17734 LIBS=$ac_func_search_save_LIBS
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
17737 $as_echo "$ac_cv_search_socket" >&6; }
17738 ac_res=$ac_cv_search_socket
17739 if test "$ac_res" != no; then :
17740 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
17744 $as_echo_n "checking for socket in -lnsl... " >&6; }
17745 if ${ac_cv_lib_nsl_socket+:} false; then :
17746 $as_echo_n "(cached) " >&6
17748 ac_check_lib_save_LIBS=$LIBS
17749 LIBS="-lnsl -lsocket $LIBS"
17750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17751 /* end confdefs.h. */
17753 /* Override any GCC internal prototype to avoid an error.
17754 Use char because int might match the return type of a GCC
17755 builtin and then its argument prototype would still apply. */
17768 if ac_fn_c_try_link "$LINENO"; then :
17769 ac_cv_lib_nsl_socket=yes
17771 ac_cv_lib_nsl_socket=no
17773 rm -f core conftest.err conftest.$ac_objext \
17774 conftest$ac_exeext conftest.$ac_ext
17775 LIBS=$ac_check_lib_save_LIBS
17777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
17778 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
17779 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
17780 LIBS="-lnsl -lsocket $LIBS"
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
17786 $as_echo_n "checking for library containing crypt... " >&6; }
17787 if ${ac_cv_search_crypt+:} false; then :
17788 $as_echo_n "(cached) " >&6
17790 ac_func_search_save_LIBS=$LIBS
17791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17792 /* end confdefs.h. */
17794 /* Override any GCC internal prototype to avoid an error.
17795 Use char because int might match the return type of a GCC
17796 builtin and then its argument prototype would still apply. */
17809 for ac_lib in '' crypt; do
17810 if test -z "$ac_lib"; then
17811 ac_res="none required"
17814 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17816 if ac_fn_c_try_link "$LINENO"; then :
17817 ac_cv_search_crypt=$ac_res
17819 rm -f core conftest.err conftest.$ac_objext \
17821 if ${ac_cv_search_crypt+:} false; then :
17825 if ${ac_cv_search_crypt+:} false; then :
17828 ac_cv_search_crypt=no
17830 rm conftest.$ac_ext
17831 LIBS=$ac_func_search_save_LIBS
17833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
17834 $as_echo "$ac_cv_search_crypt" >&6; }
17835 ac_res=$ac_cv_search_crypt
17836 if test "$ac_res" != no; then :
17837 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
17842 $as_echo_n "checking for library containing roken_concat... " >&6; }
17843 if ${ac_cv_search_roken_concat+:} false; then :
17844 $as_echo_n "(cached) " >&6
17846 ac_func_search_save_LIBS=$LIBS
17847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17848 /* end confdefs.h. */
17850 /* Override any GCC internal prototype to avoid an error.
17851 Use char because int might match the return type of a GCC
17852 builtin and then its argument prototype would still apply. */
17856 char roken_concat ();
17860 return roken_concat ();
17865 for ac_lib in '' roken; do
17866 if test -z "$ac_lib"; then
17867 ac_res="none required"
17870 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17872 if ac_fn_c_try_link "$LINENO"; then :
17873 ac_cv_search_roken_concat=$ac_res
17875 rm -f core conftest.err conftest.$ac_objext \
17877 if ${ac_cv_search_roken_concat+:} false; then :
17881 if ${ac_cv_search_roken_concat+:} false; then :
17884 ac_cv_search_roken_concat=no
17886 rm conftest.$ac_ext
17887 LIBS=$ac_func_search_save_LIBS
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
17890 $as_echo "$ac_cv_search_roken_concat" >&6; }
17891 ac_res=$ac_cv_search_roken_concat
17892 if test "$ac_res" != no; then :
17893 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17897 rra_krb5_extra="$LIBS"
17898 LIBS="$rra_krb5_save_LIBS"
17899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
17900 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
17901 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
17902 $as_echo_n "(cached) " >&6
17904 ac_check_lib_save_LIBS=$LIBS
17905 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
17906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17907 /* end confdefs.h. */
17909 /* Override any GCC internal prototype to avoid an error.
17910 Use char because int might match the return type of a GCC
17911 builtin and then its argument prototype would still apply. */
17915 char krb5_init_context ();
17919 return krb5_init_context ();
17924 if ac_fn_c_try_link "$LINENO"; then :
17925 ac_cv_lib_krb5_krb5_init_context=yes
17927 ac_cv_lib_krb5_krb5_init_context=no
17929 rm -f core conftest.err conftest.$ac_objext \
17930 conftest$ac_exeext conftest.$ac_ext
17931 LIBS=$ac_check_lib_save_LIBS
17933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
17934 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
17935 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
17936 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
17939 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
17940 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
17941 $as_echo_n "(cached) " >&6
17943 ac_check_lib_save_LIBS=$LIBS
17944 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
17945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 /* end confdefs.h. */
17948 /* Override any GCC internal prototype to avoid an error.
17949 Use char because int might match the return type of a GCC
17950 builtin and then its argument prototype would still apply. */
17954 char krb5int_getspecific ();
17958 return krb5int_getspecific ();
17963 if ac_fn_c_try_link "$LINENO"; then :
17964 ac_cv_lib_krb5support_krb5int_getspecific=yes
17966 ac_cv_lib_krb5support_krb5int_getspecific=no
17968 rm -f core conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17970 LIBS=$ac_check_lib_save_LIBS
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
17973 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
17974 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
17975 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
17977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
17978 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
17979 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
17980 $as_echo_n "(cached) " >&6
17982 ac_check_lib_save_LIBS=$LIBS
17983 LIBS="-lpthreads $LIBS"
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17993 char pthread_setspecific ();
17997 return pthread_setspecific ();
18002 if ac_fn_c_try_link "$LINENO"; then :
18003 ac_cv_lib_pthreads_pthread_setspecific=yes
18005 ac_cv_lib_pthreads_pthread_setspecific=no
18007 rm -f core conftest.err conftest.$ac_objext \
18008 conftest$ac_exeext conftest.$ac_ext
18009 LIBS=$ac_check_lib_save_LIBS
18011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
18012 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
18013 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
18014 rra_krb5_pthread="-lpthreads"
18016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
18017 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
18018 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
18019 $as_echo_n "(cached) " >&6
18021 ac_check_lib_save_LIBS=$LIBS
18022 LIBS="-lpthread $LIBS"
18023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18024 /* end confdefs.h. */
18026 /* Override any GCC internal prototype to avoid an error.
18027 Use char because int might match the return type of a GCC
18028 builtin and then its argument prototype would still apply. */
18032 char pthread_setspecific ();
18036 return pthread_setspecific ();
18041 if ac_fn_c_try_link "$LINENO"; then :
18042 ac_cv_lib_pthread_pthread_setspecific=yes
18044 ac_cv_lib_pthread_pthread_setspecific=no
18046 rm -f core conftest.err conftest.$ac_objext \
18047 conftest$ac_exeext conftest.$ac_ext
18048 LIBS=$ac_check_lib_save_LIBS
18050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
18051 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
18052 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
18053 rra_krb5_pthread="-lpthread"
18058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
18059 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
18060 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
18061 $as_echo_n "(cached) " >&6
18063 ac_check_lib_save_LIBS=$LIBS
18064 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18068 /* Override any GCC internal prototype to avoid an error.
18069 Use char because int might match the return type of a GCC
18070 builtin and then its argument prototype would still apply. */
18074 char krb5int_setspecific ();
18078 return krb5int_setspecific ();
18083 if ac_fn_c_try_link "$LINENO"; then :
18084 ac_cv_lib_krb5support_krb5int_setspecific=yes
18086 ac_cv_lib_krb5support_krb5int_setspecific=no
18088 rm -f core conftest.err conftest.$ac_objext \
18089 conftest$ac_exeext conftest.$ac_ext
18090 LIBS=$ac_check_lib_save_LIBS
18092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
18093 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
18094 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
18095 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
18100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
18101 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
18102 if ${ac_cv_lib_com_err_error_message+:} false; then :
18103 $as_echo_n "(cached) " >&6
18105 ac_check_lib_save_LIBS=$LIBS
18106 LIBS="-lcom_err $rra_krb5_extra $LIBS"
18107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18108 /* end confdefs.h. */
18110 /* Override any GCC internal prototype to avoid an error.
18111 Use char because int might match the return type of a GCC
18112 builtin and then its argument prototype would still apply. */
18116 char error_message ();
18120 return error_message ();
18125 if ac_fn_c_try_link "$LINENO"; then :
18126 ac_cv_lib_com_err_error_message=yes
18128 ac_cv_lib_com_err_error_message=no
18130 rm -f core conftest.err conftest.$ac_objext \
18131 conftest$ac_exeext conftest.$ac_ext
18132 LIBS=$ac_check_lib_save_LIBS
18134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
18135 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
18136 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
18137 rra_krb5_extra="-lcom_err $rra_krb5_extra"
18140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
18141 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
18142 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
18143 $as_echo_n "(cached) " >&6
18145 ac_check_lib_save_LIBS=$LIBS
18146 LIBS="-lksvc $rra_krb5_extra $LIBS"
18147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18148 /* end confdefs.h. */
18150 /* Override any GCC internal prototype to avoid an error.
18151 Use char because int might match the return type of a GCC
18152 builtin and then its argument prototype would still apply. */
18156 char krb5_svc_get_msg ();
18160 return krb5_svc_get_msg ();
18165 if ac_fn_c_try_link "$LINENO"; then :
18166 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
18168 ac_cv_lib_ksvc_krb5_svc_get_msg=no
18170 rm -f core conftest.err conftest.$ac_objext \
18171 conftest$ac_exeext conftest.$ac_ext
18172 LIBS=$ac_check_lib_save_LIBS
18174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
18175 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
18176 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
18177 rra_krb5_extra="-lksvc $rra_krb5_extra"
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
18181 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
18182 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
18183 $as_echo_n "(cached) " >&6
18185 ac_check_lib_save_LIBS=$LIBS
18186 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18196 char krb5int_hash_md5 ();
18200 return krb5int_hash_md5 ();
18205 if ac_fn_c_try_link "$LINENO"; then :
18206 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
18208 ac_cv_lib_k5crypto_krb5int_hash_md5=no
18210 rm -f core conftest.err conftest.$ac_objext \
18211 conftest$ac_exeext conftest.$ac_ext
18212 LIBS=$ac_check_lib_save_LIBS
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
18215 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
18216 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
18217 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
18220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
18221 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
18222 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
18223 $as_echo_n "(cached) " >&6
18225 ac_check_lib_save_LIBS=$LIBS
18226 LIBS="-lk5profile $rra_krb5_extra $LIBS"
18227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18228 /* end confdefs.h. */
18230 /* Override any GCC internal prototype to avoid an error.
18231 Use char because int might match the return type of a GCC
18232 builtin and then its argument prototype would still apply. */
18236 char profile_get_values ();
18240 return profile_get_values ();
18245 if ac_fn_c_try_link "$LINENO"; then :
18246 ac_cv_lib_k5profile_profile_get_values=yes
18248 ac_cv_lib_k5profile_profile_get_values=no
18250 rm -f core conftest.err conftest.$ac_objext \
18251 conftest$ac_exeext conftest.$ac_ext
18252 LIBS=$ac_check_lib_save_LIBS
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
18255 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
18256 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
18257 rra_krb5_extra="-lk5profile $rra_krb5_extra"
18260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
18261 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
18262 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
18263 $as_echo_n "(cached) " >&6
18265 ac_check_lib_save_LIBS=$LIBS
18266 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
18267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18268 /* end confdefs.h. */
18270 /* Override any GCC internal prototype to avoid an error.
18271 Use char because int might match the return type of a GCC
18272 builtin and then its argument prototype would still apply. */
18276 char krb5_cc_default ();
18280 return krb5_cc_default ();
18285 if ac_fn_c_try_link "$LINENO"; then :
18286 ac_cv_lib_krb5_krb5_cc_default=yes
18288 ac_cv_lib_krb5_krb5_cc_default=no
18290 rm -f core conftest.err conftest.$ac_objext \
18291 conftest$ac_exeext conftest.$ac_ext
18292 LIBS=$ac_check_lib_save_LIBS
18294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
18295 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
18296 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
18297 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
18299 if test x"true" = xtrue; then :
18300 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
18306 LIBS="$KRB5_LIBS $LIBS"
18307 if test x"$rra_krb5_incroot" = x; then :
18308 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
18310 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18311 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18312 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18313 cat >>confdefs.h <<_ACEOF
18314 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
18323 $as_echo_n "checking for krb5.h... " >&6; }
18324 if test -f "${rra_krb5_incroot}/krb5.h"; then :
18326 cat >>confdefs.h <<_ACEOF
18327 #define HAVE_KRB5_H 1
18330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18331 $as_echo "yes" >&6; }
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18334 $as_echo "no" >&6; }
18336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
18337 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
18338 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
18340 cat >>confdefs.h <<_ACEOF
18341 #define HAVE_KERBEROSV5_KRB5_H 1
18344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18345 $as_echo "yes" >&6; }
18347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18348 $as_echo "no" >&6; }
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
18351 $as_echo_n "checking for krb5/krb5.h... " >&6; }
18352 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
18354 cat >>confdefs.h <<_ACEOF
18355 #define HAVE_KRB5_KRB5_H 1
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18359 $as_echo "yes" >&6; }
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18362 $as_echo "no" >&6; }
18365 for ac_func in krb5_get_error_message
18367 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
18368 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
18369 cat >>confdefs.h <<_ACEOF
18370 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
18372 for ac_func in krb5_free_error_message
18374 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
18375 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
18376 cat >>confdefs.h <<_ACEOF
18377 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
18384 for ac_func in krb5_get_error_string
18386 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
18387 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
18388 cat >>confdefs.h <<_ACEOF
18389 #define HAVE_KRB5_GET_ERROR_STRING 1
18393 for ac_func in krb5_get_err_txt
18395 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
18396 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
18397 cat >>confdefs.h <<_ACEOF
18398 #define HAVE_KRB5_GET_ERR_TXT 1
18402 for ac_func in krb5_svc_get_msg
18404 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
18405 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
18406 cat >>confdefs.h <<_ACEOF
18407 #define HAVE_KRB5_SVC_GET_MSG 1
18409 for ac_header in ibm_svc/krb5_svc.h
18411 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
18414 #elif HAVE_KERBEROSV5_KRB5_H
18415 # include <kerberosv5/krb5.h>
18417 # include <krb5/krb5.h>
18421 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
18422 cat >>confdefs.h <<_ACEOF
18423 #define HAVE_IBM_SVC_KRB5_SVC_H 1
18431 if test x"$rra_krb5_incroot" = x; then :
18432 for ac_header in et/com_err.h kerberosv5/com_err.h
18434 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18435 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18436 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18437 cat >>confdefs.h <<_ACEOF
18438 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
18447 $as_echo_n "checking for et/com_err.h... " >&6; }
18448 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
18450 cat >>confdefs.h <<_ACEOF
18451 #define HAVE_ET_COM_ERR_H 1
18454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18455 $as_echo "yes" >&6; }
18457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18458 $as_echo "no" >&6; }
18460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
18461 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
18462 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
18464 cat >>confdefs.h <<_ACEOF
18465 #define HAVE_KERBEROSV5_COM_ERR_H 1
18468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18469 $as_echo "yes" >&6; }
18471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18472 $as_echo "no" >&6; }
18487 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
18488 LDFLAGS="$rra_krb5_save_LDFLAGS"
18489 LIBS="$rra_krb5_save_LIBS"
18492 rra_krb5_uses_com_err=false
18493 case $KRB5_LIBS in #(
18495 rra_krb5_uses_com_err=true ;; #(
18499 if test x"$rra_krb5_uses_com_err" = xtrue; then
18500 KRB5_USES_COM_ERR_TRUE=
18501 KRB5_USES_COM_ERR_FALSE='#'
18503 KRB5_USES_COM_ERR_TRUE='#'
18504 KRB5_USES_COM_ERR_FALSE=
18507 KRB5_CPPFLAGS_GCC=`echo "$KRB5_CPPFLAGS" | sed -e 's/-I/-isystem /g'`
18509 $as_echo "#define HAVE_KRB5 1" >>confdefs.h
18511 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
18512 rra_krb5_save_LDFLAGS="$LDFLAGS"
18513 rra_krb5_save_LIBS="$LIBS"
18514 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
18515 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
18516 LIBS="$KRB5_LIBS $LIBS"
18517 for ac_header in krb5/pwqual_plugin.h
18519 ac_fn_c_check_header_compile "$LINENO" "krb5/pwqual_plugin.h" "ac_cv_header_krb5_pwqual_plugin_h" "
18522 #elif HAVE_KERBEROSV5_KRB5_H
18523 # include <kerberosv5/krb5.h>
18525 # include <krb5/krb5.h>
18529 if test "x$ac_cv_header_krb5_pwqual_plugin_h" = xyes; then :
18530 cat >>confdefs.h <<_ACEOF
18531 #define HAVE_KRB5_PWQUAL_PLUGIN_H 1
18538 ac_fn_c_check_type "$LINENO" "krb5_realm" "ac_cv_type_krb5_realm" "
18541 #elif HAVE_KERBEROSV5_KRB5_H
18542 # include <kerberosv5/krb5.h>
18544 # include <krb5/krb5.h>
18548 if test "x$ac_cv_type_krb5_realm" = xyes; then :
18550 cat >>confdefs.h <<_ACEOF
18551 #define HAVE_KRB5_REALM 1
18557 for ac_func in krb5_free_default_realm \
18559 krb5_get_init_creds_opt_alloc \
18560 krb5_get_init_creds_opt_set_default_flags \
18561 krb5_principal_get_realm \
18564 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18565 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18566 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18567 cat >>confdefs.h <<_ACEOF
18568 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18574 for ac_func in krb5_get_init_creds_opt_free
18576 ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_free" "ac_cv_func_krb5_get_init_creds_opt_free"
18577 if test "x$ac_cv_func_krb5_get_init_creds_opt_free" = xyes; then :
18578 cat >>confdefs.h <<_ACEOF
18579 #define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE 1
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if krb5_get_init_creds_opt_free takes two arguments" >&5
18582 $as_echo_n "checking if krb5_get_init_creds_opt_free takes two arguments... " >&6; }
18583 if ${rra_cv_func_krb5_get_init_creds_opt_free_args+:} false; then :
18584 $as_echo_n "(cached) " >&6
18586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18591 #elif HAVE_KERBEROSV5_KRB5_H
18592 # include <kerberosv5/krb5.h>
18594 # include <krb5/krb5.h>
18600 krb5_get_init_creds_opt *opts;
18602 krb5_get_init_creds_opt_free(c, opts);
18606 if ac_fn_c_try_compile "$LINENO"; then :
18607 rra_cv_func_krb5_get_init_creds_opt_free_args=yes
18609 rra_cv_func_krb5_get_init_creds_opt_free_args=no
18611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_krb5_get_init_creds_opt_free_args" >&5
18614 $as_echo "$rra_cv_func_krb5_get_init_creds_opt_free_args" >&6; }
18615 if test $rra_cv_func_krb5_get_init_creds_opt_free_args = yes; then :
18617 $as_echo "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_2_ARGS 1" >>confdefs.h
18623 ac_fn_c_check_decl "$LINENO" "krb5_kt_free_entry" "ac_cv_have_decl_krb5_kt_free_entry" "
18626 #elif HAVE_KERBEROSV5_KRB5_H
18627 # include <kerberosv5/krb5.h>
18629 # include <krb5/krb5.h>
18633 if test "x$ac_cv_have_decl_krb5_kt_free_entry" = xyes; then :
18639 cat >>confdefs.h <<_ACEOF
18640 #define HAVE_DECL_KRB5_KT_FREE_ENTRY $ac_have_decl
18643 case " $LIBOBJS " in
18644 *" krb5-extra.$ac_objext "* ) ;;
18645 *) LIBOBJS="$LIBOBJS krb5-extra.$ac_objext"
18649 for ac_header in kadm5/kadm5-pwcheck.h kadm5/kadm5_err.h
18651 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18652 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
18655 #elif HAVE_KERBEROSV5_KRB5_H
18656 # include <kerberosv5/krb5.h>
18658 # include <krb5/krb5.h>
18662 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18663 cat >>confdefs.h <<_ACEOF
18664 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18671 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
18672 LDFLAGS="$rra_krb5_save_LDFLAGS"
18673 LIBS="$rra_krb5_save_LIBS"
18681 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
18682 if test -n "$ac_tool_prefix"; then
18683 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
18684 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18686 $as_echo_n "checking for $ac_word... " >&6; }
18687 if ${ac_cv_path_PKG_CONFIG+:} false; then :
18688 $as_echo_n "(cached) " >&6
18690 case $PKG_CONFIG in
18692 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
18695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18696 for as_dir in $PATH
18699 test -z "$as_dir" && as_dir=.
18700 for ac_exec_ext in '' $ac_executable_extensions; do
18701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18702 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18713 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
18714 if test -n "$PKG_CONFIG"; then
18715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
18716 $as_echo "$PKG_CONFIG" >&6; }
18718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18719 $as_echo "no" >&6; }
18724 if test -z "$ac_cv_path_PKG_CONFIG"; then
18725 ac_pt_PKG_CONFIG=$PKG_CONFIG
18726 # Extract the first word of "pkg-config", so it can be a program name with args.
18727 set dummy pkg-config; ac_word=$2
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18729 $as_echo_n "checking for $ac_word... " >&6; }
18730 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
18731 $as_echo_n "(cached) " >&6
18733 case $ac_pt_PKG_CONFIG in
18735 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
18738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18739 for as_dir in $PATH
18742 test -z "$as_dir" && as_dir=.
18743 for ac_exec_ext in '' $ac_executable_extensions; do
18744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18745 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
18746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18756 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
18757 if test -n "$ac_pt_PKG_CONFIG"; then
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
18759 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
18761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18762 $as_echo "no" >&6; }
18765 if test "x$ac_pt_PKG_CONFIG" = x; then
18768 case $cross_compiling:$ac_tool_warned in
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
18771 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
18772 ac_tool_warned=yes ;;
18774 PKG_CONFIG=$ac_pt_PKG_CONFIG
18777 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
18781 if test -n "$PKG_CONFIG"; then
18782 _pkg_min_version=0.9.0
18783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
18784 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
18785 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18787 $as_echo "yes" >&6; }
18789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18790 $as_echo "no" >&6; }
18796 rra_SQLITE_includedir=
18805 # Check whether --with-sqlite was given.
18806 if test "${with_sqlite+set}" = set; then :
18807 withval=$with_sqlite; if test x"$withval" = xno; then :
18808 rra_use_SQLITE=false
18810 if test x"$withval" != xyes; then :
18811 rra_SQLITE_root="$withval"
18813 rra_use_SQLITE=true
18818 # Check whether --with-sqlite-include was given.
18819 if test "${with_sqlite_include+set}" = set; then :
18820 withval=$with_sqlite_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
18821 rra_SQLITE_includedir="$withval"
18826 # Check whether --with-sqlite-lib was given.
18827 if test "${with_sqlite_lib+set}" = set; then :
18828 withval=$with_sqlite_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
18829 rra_SQLITE_libdir="$withval"
18833 if test x"$rra_use_SQLITE" != xfalse; then :
18834 if test x"$rra_use_SQLITE" = xtrue; then :
18835 if test x"$rra_SQLITE_libdir" != x; then :
18836 SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
18838 if test x"$rra_SQLITE_root" != x; then :
18840 if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
18841 if test x"" = x; then :
18842 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
18844 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
18847 if test x"" = x; then :
18848 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
18850 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
18853 SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
18856 if test x"$rra_SQLITE_includedir" != x; then :
18857 SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
18859 if test x"$rra_SQLITE_root" != x; then :
18860 if test x"$rra_SQLITE_root" != x/usr; then :
18861 SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
18865 if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
18866 if test -n "$PKG_CONFIG" && \
18867 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
18868 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
18870 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18871 test $ac_status = 0; }; then
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
18875 $as_echo_n "checking for SQLITE... " >&6; }
18877 if test -n "$SQLITE_CFLAGS"; then
18878 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
18879 elif test -n "$PKG_CONFIG"; then
18880 if test -n "$PKG_CONFIG" && \
18881 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
18882 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
18884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18885 test $ac_status = 0; }; then
18886 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
18887 test "x$?" != "x0" && pkg_failed=yes
18894 if test -n "$SQLITE_LIBS"; then
18895 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
18896 elif test -n "$PKG_CONFIG"; then
18897 if test -n "$PKG_CONFIG" && \
18898 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
18899 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
18901 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
18902 test $ac_status = 0; }; then
18903 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
18904 test "x$?" != "x0" && pkg_failed=yes
18914 if test $pkg_failed = yes; then
18915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18916 $as_echo "no" >&6; }
18918 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
18919 _pkg_short_errors_supported=yes
18921 _pkg_short_errors_supported=no
18923 if test $_pkg_short_errors_supported = yes; then
18924 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
18926 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
18928 # Put the nasty error message in config.log where it belongs
18929 echo "$SQLITE_PKG_ERRORS" >&5
18931 as_fn_error $? "Package requirements (sqlite3) were not met:
18935 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18936 installed software in a non-standard prefix.
18938 Alternatively, you may set the environment variables SQLITE_CFLAGS
18939 and SQLITE_LIBS to avoid the need to call pkg-config.
18940 See the pkg-config man page for more details." "$LINENO" 5
18941 elif test $pkg_failed = untried; then
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18943 $as_echo "no" >&6; }
18944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18946 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
18947 is in your PATH or set the PKG_CONFIG environment variable to the full
18948 path to pkg-config.
18950 Alternatively, you may set the environment variables SQLITE_CFLAGS
18951 and SQLITE_LIBS to avoid the need to call pkg-config.
18952 See the pkg-config man page for more details.
18954 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18955 See \`config.log' for more details" "$LINENO" 5; }
18957 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
18958 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
18959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18960 $as_echo "yes" >&6; }
18963 SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
18966 if test x"$SQLITE_LIBS" = x; then :
18967 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
18968 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
18969 rra_SQLITE_save_LIBS="$LIBS"
18970 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
18971 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
18972 LIBS="$SQLITE_LIBS $LIBS"
18974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
18975 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
18976 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
18977 $as_echo_n "(cached) " >&6
18979 ac_func_search_save_LIBS=$LIBS
18980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18981 /* end confdefs.h. */
18983 /* Override any GCC internal prototype to avoid an error.
18984 Use char because int might match the return type of a GCC
18985 builtin and then its argument prototype would still apply. */
18989 char sqlite3_open_v2 ();
18993 return sqlite3_open_v2 ();
18998 for ac_lib in '' sqlite3; do
18999 if test -z "$ac_lib"; then
19000 ac_res="none required"
19003 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19005 if ac_fn_c_try_link "$LINENO"; then :
19006 ac_cv_search_sqlite3_open_v2=$ac_res
19008 rm -f core conftest.err conftest.$ac_objext \
19010 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19014 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19017 ac_cv_search_sqlite3_open_v2=no
19019 rm conftest.$ac_ext
19020 LIBS=$ac_func_search_save_LIBS
19022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
19023 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
19024 ac_res=$ac_cv_search_sqlite3_open_v2
19025 if test "$ac_res" != no; then :
19026 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19027 SQLITE_LIBS="$LIBS"
19029 if test x"true" = xtrue; then :
19030 as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
19034 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19035 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19036 LIBS="$rra_SQLITE_save_LIBS"
19038 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
19039 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
19040 rra_SQLITE_save_LIBS="$LIBS"
19041 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
19042 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
19043 LIBS="$SQLITE_LIBS $LIBS"
19044 for ac_header in sqlite3.h
19046 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
19047 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
19048 cat >>confdefs.h <<_ACEOF
19049 #define HAVE_SQLITE3_H 1
19056 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19057 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19058 LIBS="$rra_SQLITE_save_LIBS"
19060 if test x"$rra_SQLITE_libdir" != x; then :
19061 SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
19063 if test x"$rra_SQLITE_root" != x; then :
19065 if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
19066 if test x"" = x; then :
19067 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
19069 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
19072 if test x"" = x; then :
19073 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
19075 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
19078 SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
19081 if test x"$rra_SQLITE_includedir" != x; then :
19082 SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
19084 if test x"$rra_SQLITE_root" != x; then :
19085 if test x"$rra_SQLITE_root" != x/usr; then :
19086 SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
19090 if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
19091 if test -n "$PKG_CONFIG" && \
19092 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19093 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19095 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19096 test $ac_status = 0; }; then
19099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SQLITE" >&5
19100 $as_echo_n "checking for SQLITE... " >&6; }
19102 if test -n "$SQLITE_CFLAGS"; then
19103 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
19104 elif test -n "$PKG_CONFIG"; then
19105 if test -n "$PKG_CONFIG" && \
19106 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19107 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19109 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19110 test $ac_status = 0; }; then
19111 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
19112 test "x$?" != "x0" && pkg_failed=yes
19119 if test -n "$SQLITE_LIBS"; then
19120 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
19121 elif test -n "$PKG_CONFIG"; then
19122 if test -n "$PKG_CONFIG" && \
19123 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19124 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19127 test $ac_status = 0; }; then
19128 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
19129 test "x$?" != "x0" && pkg_failed=yes
19139 if test $pkg_failed = yes; then
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19141 $as_echo "no" >&6; }
19143 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19144 _pkg_short_errors_supported=yes
19146 _pkg_short_errors_supported=no
19148 if test $_pkg_short_errors_supported = yes; then
19149 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
19151 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
19153 # Put the nasty error message in config.log where it belongs
19154 echo "$SQLITE_PKG_ERRORS" >&5
19156 as_fn_error $? "Package requirements (sqlite3) were not met:
19160 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19161 installed software in a non-standard prefix.
19163 Alternatively, you may set the environment variables SQLITE_CFLAGS
19164 and SQLITE_LIBS to avoid the need to call pkg-config.
19165 See the pkg-config man page for more details." "$LINENO" 5
19166 elif test $pkg_failed = untried; then
19167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19168 $as_echo "no" >&6; }
19169 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19170 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19171 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19172 is in your PATH or set the PKG_CONFIG environment variable to the full
19173 path to pkg-config.
19175 Alternatively, you may set the environment variables SQLITE_CFLAGS
19176 and SQLITE_LIBS to avoid the need to call pkg-config.
19177 See the pkg-config man page for more details.
19179 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19180 See \`config.log' for more details" "$LINENO" 5; }
19182 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
19183 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
19184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19185 $as_echo "yes" >&6; }
19188 SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
19191 if test x"$SQLITE_LIBS" = x; then :
19192 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
19193 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
19194 rra_SQLITE_save_LIBS="$LIBS"
19195 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
19196 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
19197 LIBS="$SQLITE_LIBS $LIBS"
19199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
19200 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
19201 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19202 $as_echo_n "(cached) " >&6
19204 ac_func_search_save_LIBS=$LIBS
19205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19206 /* end confdefs.h. */
19208 /* Override any GCC internal prototype to avoid an error.
19209 Use char because int might match the return type of a GCC
19210 builtin and then its argument prototype would still apply. */
19214 char sqlite3_open_v2 ();
19218 return sqlite3_open_v2 ();
19223 for ac_lib in '' sqlite3; do
19224 if test -z "$ac_lib"; then
19225 ac_res="none required"
19228 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19230 if ac_fn_c_try_link "$LINENO"; then :
19231 ac_cv_search_sqlite3_open_v2=$ac_res
19233 rm -f core conftest.err conftest.$ac_objext \
19235 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19239 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19242 ac_cv_search_sqlite3_open_v2=no
19244 rm conftest.$ac_ext
19245 LIBS=$ac_func_search_save_LIBS
19247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
19248 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
19249 ac_res=$ac_cv_search_sqlite3_open_v2
19250 if test "$ac_res" != no; then :
19251 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19252 SQLITE_LIBS="$LIBS"
19254 if test x"false" = xtrue; then :
19255 as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
19259 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19260 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19261 LIBS="$rra_SQLITE_save_LIBS"
19263 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
19264 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
19265 rra_SQLITE_save_LIBS="$LIBS"
19266 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
19267 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
19268 LIBS="$SQLITE_LIBS $LIBS"
19269 for ac_header in sqlite3.h
19271 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
19272 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
19273 cat >>confdefs.h <<_ACEOF
19274 #define HAVE_SQLITE3_H 1
19281 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19282 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19283 LIBS="$rra_SQLITE_save_LIBS"
19286 if test x"$SQLITE_LIBS" != x; then :
19287 rra_use_SQLITE=true
19289 $as_echo "#define HAVE_SQLITE 1" >>confdefs.h
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19295 $as_echo_n "checking for library containing dlopen... " >&6; }
19296 if ${ac_cv_search_dlopen+:} false; then :
19297 $as_echo_n "(cached) " >&6
19299 ac_func_search_save_LIBS=$LIBS
19300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19301 /* end confdefs.h. */
19303 /* Override any GCC internal prototype to avoid an error.
19304 Use char because int might match the return type of a GCC
19305 builtin and then its argument prototype would still apply. */
19318 for ac_lib in '' dl; do
19319 if test -z "$ac_lib"; then
19320 ac_res="none required"
19323 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19325 if ac_fn_c_try_link "$LINENO"; then :
19326 ac_cv_search_dlopen=$ac_res
19328 rm -f core conftest.err conftest.$ac_objext \
19330 if ${ac_cv_search_dlopen+:} false; then :
19334 if ${ac_cv_search_dlopen+:} false; then :
19337 ac_cv_search_dlopen=no
19339 rm conftest.$ac_ext
19340 LIBS=$ac_func_search_save_LIBS
19342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19343 $as_echo "$ac_cv_search_dlopen" >&6; }
19344 ac_res=$ac_cv_search_dlopen
19345 if test "$ac_res" != no; then :
19346 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
19354 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
19355 if ${ac_cv_header_stdbool_h+:} false; then :
19356 $as_echo_n "(cached) " >&6
19358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19359 /* end confdefs.h. */
19361 #include <stdbool.h>
19363 "error: bool is not defined"
19366 "error: false is not defined"
19369 "error: false is not 0"
19372 "error: true is not defined"
19375 "error: true is not 1"
19377 #ifndef __bool_true_false_are_defined
19378 "error: __bool_true_false_are_defined is not defined"
19381 struct s { _Bool s: 1; _Bool t; } s;
19383 char a[true == 1 ? 1 : -1];
19384 char b[false == 0 ? 1 : -1];
19385 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
19386 char d[(bool) 0.5 == true ? 1 : -1];
19387 /* See body of main program for 'e'. */
19388 char f[(_Bool) 0.0 == false ? 1 : -1];
19390 char h[sizeof (_Bool)];
19391 char i[sizeof s.t];
19392 enum { j = false, k = true, l = false * true, m = true * 256 };
19393 /* The following fails for
19394 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
19396 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
19397 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
19398 /* Catch a bug in an HP-UX C compiler. See
19399 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
19400 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
19412 /* Refer to every declared value, to avoid compiler optimizations. */
19413 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
19414 + !m + !n + !o + !p + !q + !pq);
19420 if ac_fn_c_try_compile "$LINENO"; then :
19421 ac_cv_header_stdbool_h=yes
19423 ac_cv_header_stdbool_h=no
19425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
19428 $as_echo "$ac_cv_header_stdbool_h" >&6; }
19429 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
19430 if test "x$ac_cv_type__Bool" = xyes; then :
19432 cat >>confdefs.h <<_ACEOF
19433 #define HAVE__BOOL 1
19440 if test $ac_cv_header_stdbool_h = yes; then
19442 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
19446 for ac_header in sys/bittypes.h sys/select.h sys/time.h syslog.h
19448 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19449 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19450 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19451 cat >>confdefs.h <<_ACEOF
19452 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19459 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
19460 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
19466 cat >>confdefs.h <<_ACEOF
19467 #define HAVE_DECL_SNPRINTF $ac_have_decl
19469 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
19470 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
19476 cat >>confdefs.h <<_ACEOF
19477 #define HAVE_DECL_VSNPRINTF $ac_have_decl
19480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variadic macros" >&5
19481 $as_echo_n "checking for C99 variadic macros... " >&6; }
19482 if ${rra_cv_c_c99_vamacros+:} false; then :
19483 $as_echo_n "(cached) " >&6
19485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19486 /* end confdefs.h. */
19489 #define error(...) fprintf(stderr, __VA_ARGS__)
19494 error("foo %d", 0);
19499 if ac_fn_c_try_compile "$LINENO"; then :
19500 rra_cv_c_c99_vamacros=yes
19502 rra_cv_c_c99_vamacros=no
19504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_c99_vamacros" >&5
19507 $as_echo "$rra_cv_c_c99_vamacros" >&6; }
19508 if test x"$rra_cv_c_c99_vamacros" = xyes; then :
19510 $as_echo "#define HAVE_C99_VAMACROS 1" >>confdefs.h
19513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style variadic macros" >&5
19514 $as_echo_n "checking for GNU-style variadic macros... " >&6; }
19515 if ${rra_cv_c_gnu_vamacros+:} false; then :
19516 $as_echo_n "(cached) " >&6
19518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19519 /* end confdefs.h. */
19522 #define error(args...) fprintf(stderr, args)
19527 error("foo %d", 0);
19532 if ac_fn_c_try_compile "$LINENO"; then :
19533 rra_cv_c_gnu_vamacros=yes
19535 rra_cv_c_gnu_vamacros=no
19537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_gnu_vamacros" >&5
19540 $as_echo "$rra_cv_c_gnu_vamacros" >&6; }
19541 if test x"$rra_cv_c_gnu_vamacros" = xyes; then :
19543 $as_echo "#define HAVE_GNU_VAMACROS 1" >>confdefs.h
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
19548 $as_echo_n "checking for unsigned long long int... " >&6; }
19549 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
19550 $as_echo_n "(cached) " >&6
19552 ac_cv_type_unsigned_long_long_int=yes
19553 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
19554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19555 /* end confdefs.h. */
19557 /* For now, do not test the preprocessor; as of 2007 there are too many
19558 implementations with broken preprocessors. Perhaps this can
19559 be revisited in 2012. In the meantime, code should not expect
19560 #if to work with literals wider than 32 bits. */
19561 /* Test literals. */
19562 long long int ll = 9223372036854775807ll;
19563 long long int nll = -9223372036854775807LL;
19564 unsigned long long int ull = 18446744073709551615ULL;
19565 /* Test constant expressions. */
19566 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
19568 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
19574 /* Test availability of runtime routines for shift and division. */
19575 long long int llmax = 9223372036854775807ll;
19576 unsigned long long int ullmax = 18446744073709551615ull;
19577 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
19578 | (llmax / ll) | (llmax % ll)
19579 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
19580 | (ullmax / ull) | (ullmax % ull));
19586 if ac_fn_c_try_link "$LINENO"; then :
19589 ac_cv_type_unsigned_long_long_int=no
19591 rm -f core conftest.err conftest.$ac_objext \
19592 conftest$ac_exeext conftest.$ac_ext
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
19596 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
19597 if test $ac_cv_type_unsigned_long_long_int = yes; then
19599 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
19606 $as_echo_n "checking for long long int... " >&6; }
19607 if ${ac_cv_type_long_long_int+:} false; then :
19608 $as_echo_n "(cached) " >&6
19610 ac_cv_type_long_long_int=yes
19611 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
19612 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
19613 if test $ac_cv_type_long_long_int = yes; then
19614 if test "$cross_compiling" = yes; then :
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619 #include <limits.h>
19622 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
19623 # define LLONG_MAX (HALF - 1 + HALF)
19628 long long int n = 1;
19632 long long int m = n << i;
19635 if (LLONG_MAX / 2 < m)
19643 if ac_fn_c_try_run "$LINENO"; then :
19646 ac_cv_type_long_long_int=no
19648 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19649 conftest.$ac_objext conftest.beam conftest.$ac_ext
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
19656 $as_echo "$ac_cv_type_long_long_int" >&6; }
19657 if test $ac_cv_type_long_long_int = yes; then
19659 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
19663 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
19664 case $ac_cv_c_uint8_t in #(
19668 $as_echo "#define _UINT8_T 1" >>confdefs.h
19671 cat >>confdefs.h <<_ACEOF
19672 #define uint8_t $ac_cv_c_uint8_t
19677 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
19678 case $ac_cv_c_uint16_t in #(
19683 cat >>confdefs.h <<_ACEOF
19684 #define uint16_t $ac_cv_c_uint16_t
19689 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
19690 case $ac_cv_c_uint32_t in #(
19694 $as_echo "#define _UINT32_T 1" >>confdefs.h
19697 cat >>confdefs.h <<_ACEOF
19698 #define uint32_t $ac_cv_c_uint32_t
19703 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
19705 if test "x$ac_cv_type_ssize_t" = xyes; then :
19707 cat >>confdefs.h <<_ACEOF
19708 #define HAVE_SSIZE_T 1
19714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working snprintf" >&5
19715 $as_echo_n "checking for working snprintf... " >&6; }
19716 if ${rra_cv_func_snprintf_works+:} false; then :
19717 $as_echo_n "(cached) " >&6
19719 if test "$cross_compiling" = yes; then :
19720 rra_cv_func_snprintf_works=no
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19726 #include <stdarg.h>
19731 test(char *format, ...)
19736 va_start(args, format);
19737 count = vsnprintf(buf, sizeof buf, format, args);
19745 return ((test("%s", "abcd") == 4 && buf[0] == 'a' && buf[1] == '\0'
19746 && snprintf(NULL, 0, "%s", "abcd") == 4) ? 0 : 1);
19750 if ac_fn_c_try_run "$LINENO"; then :
19751 rra_cv_func_snprintf_works=yes
19753 rra_cv_func_snprintf_works=no
19755 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19756 conftest.$ac_objext conftest.beam conftest.$ac_ext
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_snprintf_works" >&5
19761 $as_echo "$rra_cv_func_snprintf_works" >&6; }
19762 if test x"$rra_cv_func_snprintf_works" = xyes; then :
19764 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
19767 case " $LIBOBJS " in
19768 *" snprintf.$ac_objext "* ) ;;
19769 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
19774 for ac_func in setrlimit
19776 ac_fn_c_check_func "$LINENO" "setrlimit" "ac_cv_func_setrlimit"
19777 if test "x$ac_cv_func_setrlimit" = xyes; then :
19778 cat >>confdefs.h <<_ACEOF
19779 #define HAVE_SETRLIMIT 1
19785 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
19786 if test "x$ac_cv_func_asprintf" = xyes; then :
19787 $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
19790 case " $LIBOBJS " in
19791 *" asprintf.$ac_objext "* ) ;;
19792 *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
19798 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
19799 if test "x$ac_cv_func_mkstemp" = xyes; then :
19800 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
19803 case " $LIBOBJS " in
19804 *" mkstemp.$ac_objext "* ) ;;
19805 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
19811 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
19812 if test "x$ac_cv_func_reallocarray" = xyes; then :
19813 $as_echo "#define HAVE_REALLOCARRAY 1" >>confdefs.h
19816 case " $LIBOBJS " in
19817 *" reallocarray.$ac_objext "* ) ;;
19818 *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
19824 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
19825 if test "x$ac_cv_func_strndup" = xyes; then :
19826 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
19829 case " $LIBOBJS " in
19830 *" strndup.$ac_objext "* ) ;;
19831 *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
19839 ac_config_files="$ac_config_files Makefile"
19841 ac_config_headers="$ac_config_headers config.h"
19843 cat >confcache <<\_ACEOF
19844 # This file is a shell script that caches the results of configure
19845 # tests run on this system so they can be shared between configure
19846 # scripts and configure runs, see configure's option --config-cache.
19847 # It is not useful on other systems. If it contains results you don't
19848 # want to keep, you may remove or edit it.
19850 # config.status only pays attention to the cache file if you give it
19851 # the --recheck option to rerun configure.
19853 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19854 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19855 # following values.
19859 # The following way of writing the cache mishandles newlines in values,
19860 # but we know of no workaround that is simple, portable, and efficient.
19861 # So, we kill variables containing newlines.
19862 # Ultrix sh set writes to stderr and can't be redirected directly,
19863 # and sets the high bit in the cache file unless we assign to the vars.
19865 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19866 eval ac_val=\$$ac_var
19870 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19871 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19874 _ | IFS | as_nl) ;; #(
19875 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19876 *) { eval $ac_var=; unset $ac_var;} ;;
19882 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19883 *${as_nl}ac_space=\ *)
19884 # `set' does not quote correctly, so add quotes: double-quote
19885 # substitution turns \\\\ into \\, and sed turns \\ into \.
19888 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19891 # `set' quotes correctly as required by POSIX, so do not add quotes.
19892 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19901 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19903 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19905 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19906 if test -w "$cache_file"; then
19907 if test "x$cache_file" != "x/dev/null"; then
19908 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19909 $as_echo "$as_me: updating cache $cache_file" >&6;}
19910 if test ! -f "$cache_file" || test -h "$cache_file"; then
19911 cat confcache >"$cache_file"
19913 case $cache_file in #(
19915 mv -f confcache "$cache_file"$$ &&
19916 mv -f "$cache_file"$$ "$cache_file" ;; #(
19918 mv -f confcache "$cache_file" ;;
19923 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19924 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19929 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19930 # Let make expand exec_prefix.
19931 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19933 DEFS=-DHAVE_CONFIG_H
19938 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19939 # 1. Remove the extension, and $U if already installed.
19940 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19941 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19942 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19943 # will be set to the directory where LIBOBJS objects are built.
19944 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19945 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19947 LIBOBJS=$ac_libobjs
19949 LTLIBOBJS=$ac_ltlibobjs
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
19953 $as_echo_n "checking that generated files are newer than configure... " >&6; }
19954 if test -n "$am_sleep_pid"; then
19955 # Hide warnings about reused PIDs.
19956 wait $am_sleep_pid 2>/dev/null
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
19959 $as_echo "done" >&6; }
19960 if test -n "$EXEEXT"; then
19962 am__EXEEXT_FALSE='#'
19964 am__EXEEXT_TRUE='#'
19968 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
19969 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
19970 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19972 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
19973 as_fn_error $? "conditional \"AMDEP\" was never defined.
19974 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19976 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
19977 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
19978 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19980 if test -z "${EMBEDDED_CRACKLIB_TRUE}" && test -z "${EMBEDDED_CRACKLIB_FALSE}"; then
19981 as_fn_error $? "conditional \"EMBEDDED_CRACKLIB\" was never defined.
19982 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19984 if test -z "${KRB5_USES_COM_ERR_TRUE}" && test -z "${KRB5_USES_COM_ERR_FALSE}"; then
19985 as_fn_error $? "conditional \"KRB5_USES_COM_ERR\" was never defined.
19986 Usually this means the macro was only invoked conditionally." "$LINENO" 5
19989 : "${CONFIG_STATUS=./config.status}"
19991 ac_clean_files_save=$ac_clean_files
19992 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19993 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19994 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19996 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19998 # Generated by $as_me.
19999 # Run this file to recreate the current configuration.
20000 # Compiler output produced by configure, useful for debugging
20001 # configure, is in config.log if it exists.
20004 ac_cs_recheck=false
20007 SHELL=\${CONFIG_SHELL-$SHELL}
20010 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20011 ## -------------------- ##
20012 ## M4sh Initialization. ##
20013 ## -------------------- ##
20015 # Be more Bourne compatible
20016 DUALCASE=1; export DUALCASE # for MKS sh
20017 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20020 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20021 # is contrary to our usage. Disable this feature.
20022 alias -g '${1+"$@"}'='"$@"'
20023 setopt NO_GLOB_SUBST
20025 case `(set -o) 2>/dev/null` in #(
20037 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20038 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20039 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20040 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20041 # Prefer a ksh shell builtin over an external printf program on Solaris,
20042 # but without wasting forks for bash or zsh.
20043 if test -z "$BASH_VERSION$ZSH_VERSION" \
20044 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20045 as_echo='print -r --'
20046 as_echo_n='print -rn --'
20047 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20048 as_echo='printf %s\n'
20049 as_echo_n='printf %s'
20051 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20052 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20053 as_echo_n='/usr/ucb/echo -n'
20055 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20056 as_echo_n_body='eval
20060 expr "X$arg" : "X\\(.*\\)$as_nl";
20061 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20063 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20065 export as_echo_n_body
20066 as_echo_n='sh -c $as_echo_n_body as_echo'
20068 export as_echo_body
20069 as_echo='sh -c $as_echo_body as_echo'
20072 # The user is always right.
20073 if test "${PATH_SEPARATOR+set}" != set; then
20075 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20076 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20083 # We need space, tab and new line, in precisely that order. Quoting is
20084 # there to prevent editors from complaining about space-tab.
20085 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20086 # splitting by setting IFS to empty value.)
20089 # Find who we are. Look in the path if we contain no directory separator.
20092 *[\\/]* ) as_myself=$0 ;;
20093 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20094 for as_dir in $PATH
20097 test -z "$as_dir" && as_dir=.
20098 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20104 # We did not find ourselves, most probably we were run as `sh COMMAND'
20105 # in which case we are not to be found in the path.
20106 if test "x$as_myself" = x; then
20109 if test ! -f "$as_myself"; then
20110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20114 # Unset variables that we do not need and which cause bugs (e.g. in
20115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20116 # suppresses any "Segmentation fault" message there. '((' could
20117 # trigger a bug in pdksh 5.2.14.
20118 for as_var in BASH_ENV ENV MAIL MAILPATH
20119 do eval test x\${$as_var+set} = xset \
20120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20136 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20137 # ----------------------------------------
20138 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20139 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20140 # script with STATUS, using 1 if that was 0.
20143 as_status=$1; test $as_status -eq 0 && as_status=1
20145 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20146 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20148 $as_echo "$as_me: error: $2" >&2
20149 as_fn_exit $as_status
20153 # as_fn_set_status STATUS
20154 # -----------------------
20155 # Set $? to STATUS, without forking.
20156 as_fn_set_status ()
20159 } # as_fn_set_status
20161 # as_fn_exit STATUS
20162 # -----------------
20163 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20167 as_fn_set_status $1
20173 # Portably unset VAR.
20176 { eval $1=; unset $1;}
20178 as_unset=as_fn_unset
20179 # as_fn_append VAR VALUE
20180 # ----------------------
20181 # Append the text in VALUE to the end of the definition contained in VAR. Take
20182 # advantage of any shell optimizations that allow amortized linear growth over
20183 # repeated appends, instead of the typical quadratic growth present in naive
20185 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20186 eval 'as_fn_append ()
20197 # as_fn_arith ARG...
20198 # ------------------
20199 # Perform arithmetic evaluation on the ARGs, and store the result in the
20200 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20201 # must be portable across $(()) and expr.
20202 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20203 eval 'as_fn_arith ()
20210 as_val=`expr "$@" || test $? -eq 1`
20215 if expr a : '\(a\)' >/dev/null 2>&1 &&
20216 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20222 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20223 as_basename=basename
20228 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20234 as_me=`$as_basename -- "$0" ||
20235 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20236 X"$0" : 'X\(//\)$' \| \
20237 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20239 sed '/^.*\/\([^/][^/]*\)\/*$/{
20253 # Avoid depending upon Character Ranges.
20254 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20255 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20256 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20257 as_cr_digits='0123456789'
20258 as_cr_alnum=$as_cr_Letters$as_cr_digits
20260 ECHO_C= ECHO_N= ECHO_T=
20261 case `echo -n x` in #(((((
20263 case `echo 'xy\c'` in
20264 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20266 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20273 rm -f conf$$ conf$$.exe conf$$.file
20274 if test -d conf$$.dir; then
20275 rm -f conf$$.dir/conf$$.file
20278 mkdir conf$$.dir 2>/dev/null
20280 if (echo >conf$$.file) 2>/dev/null; then
20281 if ln -s conf$$.file conf$$ 2>/dev/null; then
20283 # ... but there are two gotchas:
20284 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20285 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20286 # In both cases, we have to default to `cp -pR'.
20287 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20289 elif ln conf$$.file conf$$ 2>/dev/null; then
20297 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20298 rmdir conf$$.dir 2>/dev/null
20303 # Create "$as_dir" as a directory, including parents if necessary.
20308 -*) as_dir=./$as_dir;;
20310 test -d "$as_dir" || eval $as_mkdir_p || {
20314 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20315 *) as_qdir=$as_dir;;
20317 as_dirs="'$as_qdir' $as_dirs"
20318 as_dir=`$as_dirname -- "$as_dir" ||
20319 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20320 X"$as_dir" : 'X\(//\)[^/]' \| \
20321 X"$as_dir" : 'X\(//\)$' \| \
20322 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20323 $as_echo X"$as_dir" |
20324 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20328 /^X\(\/\/\)[^/].*/{
20341 test -d "$as_dir" && break
20343 test -z "$as_dirs" || eval "mkdir $as_dirs"
20344 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
20348 if mkdir -p . 2>/dev/null; then
20349 as_mkdir_p='mkdir -p "$as_dir"'
20351 test -d ./-p && rmdir ./-p
20356 # as_fn_executable_p FILE
20357 # -----------------------
20358 # Test if FILE is an executable regular file.
20359 as_fn_executable_p ()
20361 test -f "$1" && test -x "$1"
20362 } # as_fn_executable_p
20363 as_test_x='test -x'
20364 as_executable_p=as_fn_executable_p
20366 # Sed expression to map a string onto a valid CPP name.
20367 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
20369 # Sed expression to map a string onto a valid variable name.
20370 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
20374 ## ----------------------------------- ##
20375 ## Main body of $CONFIG_STATUS script. ##
20376 ## ----------------------------------- ##
20378 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
20380 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20381 # Save the log message, to keep $0 and so on meaningful, and to
20382 # report actual input values of CONFIG_FILES etc. instead of their
20383 # values after options handling.
20385 This file was extended by krb5-strength $as_me 3.1, which was
20386 generated by GNU Autoconf 2.69. Invocation command line was
20388 CONFIG_FILES = $CONFIG_FILES
20389 CONFIG_HEADERS = $CONFIG_HEADERS
20390 CONFIG_LINKS = $CONFIG_LINKS
20391 CONFIG_COMMANDS = $CONFIG_COMMANDS
20394 on `(hostname || uname -n) 2>/dev/null | sed 1q`
20399 case $ac_config_files in *"
20400 "*) set x $ac_config_files; shift; ac_config_files=$*;;
20403 case $ac_config_headers in *"
20404 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
20408 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20409 # Files that config.status was made for.
20410 config_files="$ac_config_files"
20411 config_headers="$ac_config_headers"
20412 config_commands="$ac_config_commands"
20416 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20418 \`$as_me' instantiates files and other configuration actions
20419 from templates according to the current configuration. Unless the files
20420 and actions are specified as TAGs, all are instantiated by default.
20422 Usage: $0 [OPTION]... [TAG]...
20424 -h, --help print this help, then exit
20425 -V, --version print version number and configuration settings, then exit
20426 --config print configuration, then exit
20427 -q, --quiet, --silent
20428 do not print progress messages
20429 -d, --debug don't remove temporary files
20430 --recheck update $as_me by reconfiguring in the same conditions
20431 --file=FILE[:TEMPLATE]
20432 instantiate the configuration file FILE
20433 --header=FILE[:TEMPLATE]
20434 instantiate the configuration header FILE
20436 Configuration files:
20439 Configuration headers:
20442 Configuration commands:
20445 Report bugs to <eagle@eyrie.org>."
20448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20449 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
20451 krb5-strength config.status 3.1
20452 configured by $0, generated by GNU Autoconf 2.69,
20453 with options \\"\$ac_cs_config\\"
20455 Copyright (C) 2012 Free Software Foundation, Inc.
20456 This config.status script is free software; the Free Software Foundation
20457 gives unlimited permission to copy, distribute and modify it."
20464 test -n "\$AWK" || AWK=awk
20467 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20468 # The default lists apply if the user does not specify any file.
20474 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20475 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
20479 ac_option=`expr "X$1" : 'X\([^=]*\)='`
20491 # Handling of the options.
20492 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20494 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20495 $as_echo "$ac_cs_version"; exit ;;
20496 --config | --confi | --conf | --con | --co | --c )
20497 $as_echo "$ac_cs_config"; exit ;;
20498 --debug | --debu | --deb | --de | --d | -d )
20500 --file | --fil | --fi | --f )
20503 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20504 '') as_fn_error $? "missing file argument" ;;
20506 as_fn_append CONFIG_FILES " '$ac_optarg'"
20507 ac_need_defaults=false;;
20508 --header | --heade | --head | --hea )
20511 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20513 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20514 ac_need_defaults=false;;
20516 # Conflict between --help and --header
20517 as_fn_error $? "ambiguous option: \`$1'
20518 Try \`$0 --help' for more information.";;
20519 --help | --hel | -h )
20520 $as_echo "$ac_cs_usage"; exit ;;
20521 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20522 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20525 # This is an error.
20526 -*) as_fn_error $? "unrecognized option: \`$1'
20527 Try \`$0 --help' for more information." ;;
20529 *) as_fn_append ac_config_targets " $1"
20530 ac_need_defaults=false ;;
20536 ac_configure_extra_args=
20538 if $ac_cs_silent; then
20540 ac_configure_extra_args="$ac_configure_extra_args --silent"
20544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20545 if \$ac_cs_recheck; then
20546 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20548 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20549 CONFIG_SHELL='$SHELL'
20550 export CONFIG_SHELL
20555 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20559 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20560 ## Running $as_me. ##
20566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20570 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
20573 # The HP-UX ksh and POSIX shell print the target directory to stdout
20574 # if CDPATH is set.
20575 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20577 sed_quote_subst='$sed_quote_subst'
20578 double_quote_subst='$double_quote_subst'
20579 delay_variable_subst='$delay_variable_subst'
20580 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
20581 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
20582 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
20583 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
20584 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
20585 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
20586 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
20587 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
20588 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
20589 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
20590 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
20591 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
20592 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
20593 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
20594 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
20595 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
20596 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
20597 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
20598 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
20599 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
20600 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
20601 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
20602 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
20603 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
20604 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
20605 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
20606 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
20607 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
20608 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
20609 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
20610 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
20611 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
20612 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
20613 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
20614 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
20615 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
20616 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
20617 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
20618 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
20619 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
20620 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
20621 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
20622 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
20623 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
20624 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
20625 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
20626 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20627 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20628 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
20629 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
20630 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
20631 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
20632 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
20633 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
20634 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
20635 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
20636 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
20637 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
20638 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"`'
20639 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
20640 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
20641 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
20642 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
20643 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
20644 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
20645 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
20646 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
20647 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
20648 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
20649 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
20650 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
20651 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
20652 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
20653 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
20654 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
20655 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
20656 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
20657 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
20658 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
20659 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20660 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
20661 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
20662 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
20663 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
20664 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
20665 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
20666 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
20667 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
20668 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20669 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
20670 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
20671 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
20672 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
20673 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
20674 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
20675 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
20676 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
20677 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
20678 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
20679 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
20680 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
20681 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
20682 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
20683 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
20684 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
20685 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
20686 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
20687 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
20688 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
20689 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
20690 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
20691 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
20692 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
20693 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
20694 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
20695 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
20696 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
20697 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
20698 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
20699 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
20700 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
20701 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
20702 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
20703 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
20704 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
20705 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
20706 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
20707 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
20708 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
20709 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
20710 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
20711 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
20712 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
20713 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
20714 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
20717 LTCFLAGS='$LTCFLAGS'
20718 compiler='$compiler_DEFAULT'
20720 # A function that is used when there is no print builtin or printf.
20721 func_fallback_echo ()
20723 eval 'cat <<_LTECHO_EOF
20728 # Quote evaled strings.
20743 deplibs_check_method \
20748 sharedlib_from_linklib_cmd \
20751 archiver_list_spec \
20757 lt_cv_sys_global_symbol_pipe \
20758 lt_cv_sys_global_symbol_to_cdecl \
20759 lt_cv_sys_global_symbol_to_import \
20760 lt_cv_sys_global_symbol_to_c_name_address \
20761 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
20762 lt_cv_nm_interface \
20763 nm_file_list_spec \
20764 lt_cv_truncate_bin \
20765 lt_prog_compiler_no_builtin_flag \
20766 lt_prog_compiler_pic \
20767 lt_prog_compiler_wl \
20768 lt_prog_compiler_static \
20769 lt_cv_prog_compiler_c_o \
20778 export_dynamic_flag_spec \
20779 whole_archive_flag_spec \
20780 compiler_needs_object \
20782 allow_undefined_flag \
20783 no_undefined_flag \
20784 hardcode_libdir_flag_spec \
20785 hardcode_libdir_separator \
20789 variables_saved_for_relink \
20791 library_names_spec \
20793 install_override_mode \
20797 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20798 *[\\\\\\\`\\"\\\$]*)
20799 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20802 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20807 # Double-quote double-evaled strings.
20808 for var in reload_cmds \
20809 old_postinstall_cmds \
20810 old_postuninstall_cmds \
20812 extract_expsyms_cmds \
20813 old_archive_from_new_cmds \
20814 old_archive_from_expsyms_cmds \
20816 archive_expsym_cmds \
20818 module_expsym_cmds \
20819 export_symbols_cmds \
20823 postuninstall_cmds \
20825 sys_lib_search_path_spec \
20826 configure_time_dlsearch_path \
20827 configure_time_lt_sys_library_path; do
20828 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
20829 *[\\\\\\\`\\"\\\$]*)
20830 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
20833 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
20838 ac_aux_dir='$ac_aux_dir'
20840 # See if we are running on zsh, and set the options that allow our
20841 # commands through without removal of \ escapes INIT.
20842 if test -n "\${ZSH_VERSION+set}"; then
20843 setopt NO_GLOB_SUBST
20857 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20859 # Handling of arguments.
20860 for ac_config_target in $ac_config_targets
20862 case $ac_config_target in
20863 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
20864 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
20865 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
20866 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
20868 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20873 # If the user did not use the arguments to specify the items to instantiate,
20874 # then the envvar interface is used. Set only those that are not.
20875 # We use the long form for the default assignment because of an extremely
20876 # bizarre bug on SunOS 4.1.3.
20877 if $ac_need_defaults; then
20878 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20879 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20880 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20883 # Have a temporary directory for convenience. Make it in the build tree
20884 # simply because there is no reason against having it here, and in addition,
20885 # creating and moving files from /tmp can sometimes cause problems.
20886 # Hook for its removal unless debugging.
20887 # Note that there is a small window in which the directory will not be cleaned:
20888 # after its creation but before its name has been assigned to `$tmp'.
20892 trap 'exit_status=$?
20893 : "${ac_tmp:=$tmp}"
20894 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20896 trap 'as_fn_exit 1' 1 2 13 15
20898 # Create a (secure) tmp directory for tmp files.
20901 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20905 tmp=./conf$$-$RANDOM
20906 (umask 077 && mkdir "$tmp")
20907 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20910 # Set up the scripts for CONFIG_FILES section.
20911 # No need to generate them if there are no CONFIG_FILES.
20912 # This happens for instance with `./config.status config.h'.
20913 if test -n "$CONFIG_FILES"; then
20916 ac_cr=`echo X | tr X '\015'`
20917 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20918 # But we know of no other shell where ac_cr would be empty at this
20919 # point, so we can use a bashism as a fallback.
20920 if test "x$ac_cr" = x; then
20921 eval ac_cr=\$\'\\r\'
20923 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20924 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20927 ac_cs_awk_cr=$ac_cr
20930 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20935 echo "cat >conf$$subs.awk <<_ACEOF" &&
20936 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20938 } >conf$$subs.sh ||
20939 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20940 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20942 for ac_last_try in false false false false false :; do
20943 . ./conf$$subs.sh ||
20944 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20946 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20947 if test $ac_delim_n = $ac_delim_num; then
20949 elif $ac_last_try; then
20950 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20952 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20955 rm -f conf$$subs.sh
20957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20958 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20962 s/^/S["/; s/!.*/"]=/
20972 s/\(.\{148\}\)..*/\1/
20974 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20979 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20986 s/\(.\{148\}\)..*/\1/
20988 s/["\\]/\\&/g; s/^/"/; s/$/"/
20992 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20997 ' <conf$$subs.awk | sed '
21002 ' >>$CONFIG_STATUS || ac_write_fail=1
21003 rm -f conf$$subs.awk
21004 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21006 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21007 for (key in S) S_is_set[key] = 1
21013 nfields = split(line, field, "@")
21015 len = length(field[1])
21016 for (i = 2; i < nfields; i++) {
21018 keylen = length(key)
21019 if (S_is_set[key]) {
21021 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21022 len += length(value) + length(field[++i])
21033 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21034 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21035 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21038 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21039 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21042 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21043 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21044 # trailing colons and then remove the whole line if VPATH becomes empty
21045 # (actually we leave an empty line to preserve line numbers).
21046 if test "x$srcdir" = x.; then
21047 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21065 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21066 fi # test -n "$CONFIG_FILES"
21068 # Set up the scripts for CONFIG_HEADERS section.
21069 # No need to generate them if there are no CONFIG_HEADERS.
21070 # This happens for instance with `./config.status Makefile'.
21071 if test -n "$CONFIG_HEADERS"; then
21072 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21076 # Transform confdefs.h into an awk script `defines.awk', embedded as
21077 # here-document in config.status, that substitutes the proper values into
21078 # config.h.in to produce config.h.
21080 # Create a delimiter string that does not exist in confdefs.h, to ease
21081 # handling of long lines.
21083 for ac_last_try in false false :; do
21084 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21085 if test -z "$ac_tt"; then
21087 elif $ac_last_try; then
21088 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21090 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21094 # For the awk script, D is an array of macro values keyed by name,
21095 # likewise P contains macro parameters if any. Preserve backslash
21096 # newline sequences.
21098 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21100 s/.\{148\}/&'"$ac_delim"'/g
21103 s/^[ ]*#[ ]*define[ ][ ]*/ /
21110 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21112 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21116 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21117 D["\1"]=" \3\\\\\\n"\\/p
21119 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21124 s/.\{148\}/&'"$ac_delim"'/g
21129 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21132 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21134 ' <confdefs.h | sed '
21135 s/'"$ac_delim"'/"\\\
21136 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21138 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21139 for (key in D) D_is_set[key] = 1
21142 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21144 split(line, arg, " ")
21145 if (arg[1] == "#") {
21149 defundef = substr(arg[1], 2)
21152 split(mac1, mac2, "(") #)
21154 prefix = substr(line, 1, index(line, defundef) - 1)
21155 if (D_is_set[macro]) {
21156 # Preserve the white space surrounding the "#".
21157 print prefix "define", macro P[macro] D[macro]
21160 # Replace #undef with comments. This is necessary, for example,
21161 # in the case of _POSIX_SOURCE, which is predefined and required
21162 # on some systems where configure will not decide to define it.
21163 if (defundef == "undef") {
21164 print "/*", prefix defundef, macro, "*/"
21172 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21173 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21174 fi # test -n "$CONFIG_HEADERS"
21177 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21182 :[FHLC]) ac_mode=$ac_tag; continue;;
21184 case $ac_mode$ac_tag in
21186 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21187 :[FH]-) ac_tag=-:-;;
21188 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21205 -) ac_f="$ac_tmp/stdin";;
21206 *) # Look for the file first in the build tree, then in the source tree
21207 # (if the path is not absolute). The absolute path cannot be DOS-style,
21208 # because $ac_f cannot contain `:'.
21212 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21214 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21216 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21217 as_fn_append ac_file_inputs " '$ac_f'"
21220 # Let's still pretend it is `configure' which instantiates (i.e., don't
21221 # use $as_me), people would be surprised to read:
21222 # /* config.h. Generated by config.status. */
21223 configure_input='Generated from '`
21224 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21226 if test x"$ac_file" != x-; then
21227 configure_input="$ac_file. $configure_input"
21228 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21229 $as_echo "$as_me: creating $ac_file" >&6;}
21231 # Neutralize special characters interpreted by sed in replacement strings.
21232 case $configure_input in #(
21233 *\&* | *\|* | *\\* )
21234 ac_sed_conf_input=`$as_echo "$configure_input" |
21235 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21236 *) ac_sed_conf_input=$configure_input;;
21240 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21241 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21246 ac_dir=`$as_dirname -- "$ac_file" ||
21247 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21248 X"$ac_file" : 'X\(//\)[^/]' \| \
21249 X"$ac_file" : 'X\(//\)$' \| \
21250 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21251 $as_echo X"$ac_file" |
21252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21256 /^X\(\/\/\)[^/].*/{
21269 as_dir="$ac_dir"; as_fn_mkdir_p
21273 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21275 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21276 # A ".." for each directory in $ac_dir_suffix.
21277 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21278 case $ac_top_builddir_sub in
21279 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21280 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21283 ac_abs_top_builddir=$ac_pwd
21284 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21285 # for backward compatibility:
21286 ac_top_builddir=$ac_top_build_prefix
21289 .) # We are building in place.
21291 ac_top_srcdir=$ac_top_builddir_sub
21292 ac_abs_top_srcdir=$ac_pwd ;;
21293 [\\/]* | ?:[\\/]* ) # Absolute name.
21294 ac_srcdir=$srcdir$ac_dir_suffix;
21295 ac_top_srcdir=$srcdir
21296 ac_abs_top_srcdir=$srcdir ;;
21297 *) # Relative name.
21298 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21299 ac_top_srcdir=$ac_top_build_prefix$srcdir
21300 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21302 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21312 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21313 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21315 ac_MKDIR_P=$MKDIR_P
21317 [\\/$]* | ?:[\\/]* ) ;;
21318 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21322 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21323 # If the template does not know about datarootdir, expand it.
21324 # FIXME: This hack should be removed a few years after 2.60.
21325 ac_datarootdir_hack=; ac_datarootdir_seen=
21336 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
21337 *datarootdir*) ac_datarootdir_seen=yes;;
21338 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
21340 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
21342 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21343 ac_datarootdir_hack='
21344 s&@datadir@&$datadir&g
21345 s&@docdir@&$docdir&g
21346 s&@infodir@&$infodir&g
21347 s&@localedir@&$localedir&g
21348 s&@mandir@&$mandir&g
21349 s&\\\${datarootdir}&$datarootdir&g' ;;
21353 # Neutralize VPATH when `$srcdir' = `.'.
21354 # Shell code in configure.ac might set extrasub.
21355 # FIXME: do we really want to maintain this feature?
21356 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21357 ac_sed_extra="$ac_vpsub
21360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21362 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
21363 s|@configure_input@|$ac_sed_conf_input|;t t
21364 s&@top_builddir@&$ac_top_builddir_sub&;t t
21365 s&@top_build_prefix@&$ac_top_build_prefix&;t t
21366 s&@srcdir@&$ac_srcdir&;t t
21367 s&@abs_srcdir@&$ac_abs_srcdir&;t t
21368 s&@top_srcdir@&$ac_top_srcdir&;t t
21369 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
21370 s&@builddir@&$ac_builddir&;t t
21371 s&@abs_builddir@&$ac_abs_builddir&;t t
21372 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
21373 s&@INSTALL@&$ac_INSTALL&;t t
21374 s&@MKDIR_P@&$ac_MKDIR_P&;t t
21375 $ac_datarootdir_hack
21377 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
21378 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21380 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
21381 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
21382 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
21383 "$ac_tmp/out"`; test -z "$ac_out"; } &&
21384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21385 which seems to be undefined. Please make sure it is defined" >&5
21386 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
21387 which seems to be undefined. Please make sure it is defined" >&2;}
21389 rm -f "$ac_tmp/stdin"
21391 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
21392 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
21394 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21400 if test x"$ac_file" != x-; then
21402 $as_echo "/* $configure_input */" \
21403 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
21404 } >"$ac_tmp/config.h" \
21405 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21406 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
21407 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
21408 $as_echo "$as_me: $ac_file is unchanged" >&6;}
21411 mv "$ac_tmp/config.h" "$ac_file" \
21412 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
21415 $as_echo "/* $configure_input */" \
21416 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
21417 || as_fn_error $? "could not create -" "$LINENO" 5
21419 # Compute "$ac_file"'s index in $config_headers.
21422 for _am_header in $config_headers :; do
21423 case $_am_header in
21424 $_am_arg | $_am_arg:* )
21427 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
21430 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
21431 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21432 X"$_am_arg" : 'X\(//\)[^/]' \| \
21433 X"$_am_arg" : 'X\(//\)$' \| \
21434 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
21435 $as_echo X"$_am_arg" |
21436 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21440 /^X\(\/\/\)[^/].*/{
21452 s/.*/./; q'`/stamp-h$_am_stamp_count
21455 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
21456 $as_echo "$as_me: executing $ac_file commands" >&6;}
21461 case $ac_file$ac_mode in
21462 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
21463 # Older Autoconf quotes --file arguments for eval, but not when files
21464 # are listed without --file. Let's play safe and only enable the eval
21465 # if we detect the quoting.
21466 case $CONFIG_FILES in
21467 *\'*) eval set x "$CONFIG_FILES" ;;
21468 *) set x $CONFIG_FILES ;;
21473 # Strip MF so we end up with the name of the file.
21474 mf=`echo "$mf" | sed -e 's/:.*$//'`
21475 # Check whether this is an Automake generated Makefile or not.
21476 # We used to match only the files named 'Makefile.in', but
21477 # some people rename them; so instead we look at the file content.
21478 # Grep'ing the first line is not enough: some people post-process
21479 # each Makefile.in and add a new line on top of each file to say so.
21480 # Grep'ing the whole file is not good either: AIX grep has a line
21481 # limit of 2048, but all sed's we know have understand at least 4000.
21482 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
21483 dirpart=`$as_dirname -- "$mf" ||
21484 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21485 X"$mf" : 'X\(//\)[^/]' \| \
21486 X"$mf" : 'X\(//\)$' \| \
21487 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
21489 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21493 /^X\(\/\/\)[^/].*/{
21509 # Extract the definition of DEPDIR, am__include, and am__quote
21510 # from the Makefile without running 'make'.
21511 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
21512 test -z "$DEPDIR" && continue
21513 am__include=`sed -n 's/^am__include = //p' < "$mf"`
21514 test -z "$am__include" && continue
21515 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
21516 # Find all dependency output files, they are included files with
21517 # $(DEPDIR) in their names. We invoke sed twice because it is the
21518 # simplest approach to changing $(DEPDIR) to its actual value in the
21520 for file in `sed -n "
21521 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
21522 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
21523 # Make sure the directory exists.
21524 test -f "$dirpart/$file" && continue
21525 fdir=`$as_dirname -- "$file" ||
21526 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21527 X"$file" : 'X\(//\)[^/]' \| \
21528 X"$file" : 'X\(//\)$' \| \
21529 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
21530 $as_echo X"$file" |
21531 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21535 /^X\(\/\/\)[^/].*/{
21548 as_dir=$dirpart/$fdir; as_fn_mkdir_p
21549 # echo "creating $dirpart/$file"
21550 echo '# dummy' > "$dirpart/$file"
21557 # See if we are running on zsh, and set the options that allow our
21558 # commands through without removal of \ escapes.
21559 if test -n "${ZSH_VERSION+set}"; then
21560 setopt NO_GLOB_SUBST
21564 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
21567 cat <<_LT_EOF >> "$cfgfile"
21569 # Generated automatically by $as_me ($PACKAGE) $VERSION
21570 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
21572 # Provide generalized library-building support services.
21573 # Written by Gordon Matzigkeit, 1996
21575 # Copyright (C) 2014 Free Software Foundation, Inc.
21576 # This is free software; see the source for copying conditions. There is NO
21577 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
21579 # GNU Libtool is free software; you can redistribute it and/or modify
21580 # it under the terms of the GNU General Public License as published by
21581 # the Free Software Foundation; either version 2 of of the License, or
21582 # (at your option) any later version.
21584 # As a special exception to the GNU General Public License, if you
21585 # distribute this file as part of a program or library that is built
21586 # using GNU Libtool, you may include this file under the same
21587 # distribution terms that you use for the rest of that program.
21589 # GNU Libtool is distributed in the hope that it will be useful, but
21590 # WITHOUT ANY WARRANTY; without even the implied warranty of
21591 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
21592 # GNU General Public License for more details.
21594 # You should have received a copy of the GNU General Public License
21595 # along with this program. If not, see <http://www.gnu.org/licenses/>.
21598 # The names of the tagged configurations supported by this script.
21601 # Configured defaults for sys_lib_dlsearch_path munging.
21602 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
21604 # ### BEGIN LIBTOOL CONFIG
21606 # Whether or not to build static libraries.
21607 build_old_libs=$enable_static
21609 # Which release of libtool.m4 was used?
21610 macro_version=$macro_version
21611 macro_revision=$macro_revision
21613 # Whether or not to build shared libraries.
21614 build_libtool_libs=$enable_shared
21616 # What type of objects to build.
21619 # Whether or not to optimize for fast installation.
21620 fast_install=$enable_fast_install
21622 # Shared archive member basename,for filename based shared library versioning on AIX.
21623 shared_archive_member_spec=$shared_archive_member_spec
21625 # Shell to use when invoking shell scripts.
21628 # An echo program that protects backslashes.
21631 # The PATH separator for the build system.
21632 PATH_SEPARATOR=$lt_PATH_SEPARATOR
21635 host_alias=$host_alias
21639 # The build system.
21640 build_alias=$build_alias
21644 # A sed program that does not truncate output.
21647 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
21648 Xsed="\$SED -e 1s/^X//"
21650 # A grep program that handles long lines.
21656 # A literal string matcher.
21659 # A BSD- or MS-compatible name lister.
21662 # Whether we need soft or hard links.
21665 # What is the maximum length of a command?
21666 max_cmd_len=$max_cmd_len
21668 # Object file suffix (normally "o").
21671 # Executable file suffix (normally "").
21674 # whether the shell understands "unset".
21677 # turn spaces into newlines.
21680 # turn newlines into spaces.
21683 # convert \$build file names to \$host format.
21684 to_host_file_cmd=$lt_cv_to_host_file_cmd
21686 # convert \$build files to toolchain format.
21687 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
21689 # An object symbol dumper.
21690 OBJDUMP=$lt_OBJDUMP
21692 # Method to check whether dependent libraries are shared objects.
21693 deplibs_check_method=$lt_deplibs_check_method
21695 # Command to use when deplibs_check_method = "file_magic".
21696 file_magic_cmd=$lt_file_magic_cmd
21698 # How to find potential files when deplibs_check_method = "file_magic".
21699 file_magic_glob=$lt_file_magic_glob
21701 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
21702 want_nocaseglob=$lt_want_nocaseglob
21704 # DLL creation program.
21705 DLLTOOL=$lt_DLLTOOL
21707 # Command to associate shared and link libraries.
21708 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
21713 # Flags to create an archive.
21714 AR_FLAGS=$lt_AR_FLAGS
21716 # How to feed a file listing to the archiver.
21717 archiver_list_spec=$lt_archiver_list_spec
21719 # A symbol stripping program.
21722 # Commands used to install an old-style archive.
21724 old_postinstall_cmds=$lt_old_postinstall_cmds
21725 old_postuninstall_cmds=$lt_old_postuninstall_cmds
21727 # Whether to use a lock for old archive extraction.
21728 lock_old_archive_extraction=$lock_old_archive_extraction
21733 # LTCC compiler flags.
21734 LTCFLAGS=$lt_CFLAGS
21736 # Take the output of nm and produce a listing of raw symbols and C names.
21737 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
21739 # Transform the output of nm in a proper C declaration.
21740 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
21742 # Transform the output of nm into a list of symbols to manually relocate.
21743 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
21745 # Transform the output of nm in a C name address pair.
21746 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
21748 # Transform the output of nm in a C name address pair when lib prefix is needed.
21749 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
21751 # The name lister interface.
21752 nm_interface=$lt_lt_cv_nm_interface
21754 # Specify filename containing input files for \$NM.
21755 nm_file_list_spec=$lt_nm_file_list_spec
21757 # The root where to search for dependent libraries,and where our libraries should be installed.
21758 lt_sysroot=$lt_sysroot
21760 # Command to truncate a binary pipe.
21761 lt_truncate_bin=$lt_lt_cv_truncate_bin
21763 # The name of the directory that contains temporary libtool files.
21766 # Used to examine libraries when file_magic_cmd begins with "file".
21767 MAGIC_CMD=$MAGIC_CMD
21769 # Must we lock files when doing compilation?
21770 need_locks=$lt_need_locks
21773 MANIFEST_TOOL=$lt_MANIFEST_TOOL
21775 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
21776 DSYMUTIL=$lt_DSYMUTIL
21778 # Tool to change global to local symbols on Mac OS X.
21781 # Tool to manipulate fat objects and archives on Mac OS X.
21784 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
21787 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
21788 OTOOL64=$lt_OTOOL64
21790 # Old archive suffix (normally "a").
21793 # Shared library suffix (normally ".so").
21794 shrext_cmds=$lt_shrext_cmds
21796 # The commands to extract the exported symbol list from a shared archive.
21797 extract_expsyms_cmds=$lt_extract_expsyms_cmds
21799 # Variables whose values should be saved in libtool wrapper scripts and
21800 # restored at link time.
21801 variables_saved_for_relink=$lt_variables_saved_for_relink
21803 # Do we need the "lib" prefix for modules?
21804 need_lib_prefix=$need_lib_prefix
21806 # Do we need a version for libraries?
21807 need_version=$need_version
21809 # Library versioning type.
21810 version_type=$version_type
21812 # Shared library runtime path variable.
21813 runpath_var=$runpath_var
21815 # Shared library path variable.
21816 shlibpath_var=$shlibpath_var
21818 # Is shlibpath searched before the hard-coded library search path?
21819 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
21821 # Format of library name prefix.
21822 libname_spec=$lt_libname_spec
21824 # List of archive names. First name is the real one, the rest are links.
21825 # The last name is the one that the linker finds with -lNAME
21826 library_names_spec=$lt_library_names_spec
21828 # The coded name of the library, if different from the real name.
21829 soname_spec=$lt_soname_spec
21831 # Permission mode override for installation of shared libraries.
21832 install_override_mode=$lt_install_override_mode
21834 # Command to use after installation of a shared archive.
21835 postinstall_cmds=$lt_postinstall_cmds
21837 # Command to use after uninstallation of a shared archive.
21838 postuninstall_cmds=$lt_postuninstall_cmds
21840 # Commands used to finish a libtool library installation in a directory.
21841 finish_cmds=$lt_finish_cmds
21843 # As "finish_cmds", except a single script fragment to be evaled but
21845 finish_eval=$lt_finish_eval
21847 # Whether we should hardcode library paths into libraries.
21848 hardcode_into_libs=$hardcode_into_libs
21850 # Compile-time system search path for libraries.
21851 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
21853 # Detected run-time system search path for libraries.
21854 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
21856 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
21857 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
21859 # Whether dlopen is supported.
21860 dlopen_support=$enable_dlopen
21862 # Whether dlopen of programs is supported.
21863 dlopen_self=$enable_dlopen_self
21865 # Whether dlopen of statically linked programs is supported.
21866 dlopen_self_static=$enable_dlopen_self_static
21868 # Commands to strip libraries.
21869 old_striplib=$lt_old_striplib
21870 striplib=$lt_striplib
21873 # The linker used to build libraries.
21876 # How to create reloadable object files.
21877 reload_flag=$lt_reload_flag
21878 reload_cmds=$lt_reload_cmds
21880 # Commands used to build an old-style archive.
21881 old_archive_cmds=$lt_old_archive_cmds
21883 # A language specific compiler.
21886 # Is the compiler the GNU compiler?
21889 # Compiler flag to turn off builtin functions.
21890 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
21892 # Additional compiler flags for building library objects.
21893 pic_flag=$lt_lt_prog_compiler_pic
21895 # How to pass a linker flag through the compiler.
21896 wl=$lt_lt_prog_compiler_wl
21898 # Compiler flag to prevent dynamic linking.
21899 link_static_flag=$lt_lt_prog_compiler_static
21901 # Does compiler simultaneously support -c and -o options?
21902 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
21904 # Whether or not to add -lc for building shared libraries.
21905 build_libtool_need_lc=$archive_cmds_need_lc
21907 # Whether or not to disallow shared libs when runtime libs are static.
21908 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
21910 # Compiler flag to allow reflexive dlopens.
21911 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
21913 # Compiler flag to generate shared objects directly from archives.
21914 whole_archive_flag_spec=$lt_whole_archive_flag_spec
21916 # Whether the compiler copes with passing no objects directly.
21917 compiler_needs_object=$lt_compiler_needs_object
21919 # Create an old-style archive from a shared archive.
21920 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
21922 # Create a temporary old-style archive to link instead of a shared archive.
21923 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
21925 # Commands used to build a shared archive.
21926 archive_cmds=$lt_archive_cmds
21927 archive_expsym_cmds=$lt_archive_expsym_cmds
21929 # Commands used to build a loadable module if different from building
21930 # a shared archive.
21931 module_cmds=$lt_module_cmds
21932 module_expsym_cmds=$lt_module_expsym_cmds
21934 # Whether we are building with GNU ld or not.
21935 with_gnu_ld=$lt_with_gnu_ld
21937 # Flag that allows shared libraries with undefined symbols to be built.
21938 allow_undefined_flag=$lt_allow_undefined_flag
21940 # Flag that enforces no undefined symbols.
21941 no_undefined_flag=$lt_no_undefined_flag
21943 # Flag to hardcode \$libdir into a binary during linking.
21944 # This must work even if \$libdir does not exist
21945 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
21947 # Whether we need a single "-rpath" flag with a separated argument.
21948 hardcode_libdir_separator=$lt_hardcode_libdir_separator
21950 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21951 # DIR into the resulting binary.
21952 hardcode_direct=$hardcode_direct
21954 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
21955 # DIR into the resulting binary and the resulting library dependency is
21956 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
21957 # library is relocated.
21958 hardcode_direct_absolute=$hardcode_direct_absolute
21960 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
21961 # into the resulting binary.
21962 hardcode_minus_L=$hardcode_minus_L
21964 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
21965 # into the resulting binary.
21966 hardcode_shlibpath_var=$hardcode_shlibpath_var
21968 # Set to "yes" if building a shared library automatically hardcodes DIR
21969 # into the library and all subsequent libraries and executables linked
21971 hardcode_automatic=$hardcode_automatic
21973 # Set to yes if linker adds runtime paths of dependent libraries
21974 # to runtime path list.
21975 inherit_rpath=$inherit_rpath
21977 # Whether libtool must link a program against all its dependency libraries.
21978 link_all_deplibs=$link_all_deplibs
21980 # Set to "yes" if exported symbols are required.
21981 always_export_symbols=$always_export_symbols
21983 # The commands to list exported symbols.
21984 export_symbols_cmds=$lt_export_symbols_cmds
21986 # Symbols that should not be listed in the preloaded symbols.
21987 exclude_expsyms=$lt_exclude_expsyms
21989 # Symbols that must always be exported.
21990 include_expsyms=$lt_include_expsyms
21992 # Commands necessary for linking programs (against libraries) with templates.
21993 prelink_cmds=$lt_prelink_cmds
21995 # Commands necessary for finishing linking programs.
21996 postlink_cmds=$lt_postlink_cmds
21998 # Specify filename containing input files.
21999 file_list_spec=$lt_file_list_spec
22001 # How to hardcode a shared library path into an executable.
22002 hardcode_action=$hardcode_action
22004 # ### END LIBTOOL CONFIG
22008 cat <<'_LT_EOF' >> "$cfgfile"
22010 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22012 # func_munge_path_list VARIABLE PATH
22013 # -----------------------------------
22014 # VARIABLE is name of variable containing _space_ separated list of
22015 # directories to be munged by the contents of PATH, which is string
22018 # string "DIR[ DIR]" will be prepended to VARIABLE
22020 # string "DIR[ DIR]" will be appended to VARIABLE
22021 # "DIRP[:DIRP]::[DIRA:]DIRA"
22022 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22023 # "DIRA[ DIRA]" will be appended to VARIABLE
22025 # VARIABLE will be replaced by "DIR[ DIR]"
22026 func_munge_path_list ()
22032 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22035 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22038 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22039 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22042 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22048 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
22049 func_cc_basename ()
22051 for cc_temp in $*""; do
22053 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22054 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22059 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22063 # ### END FUNCTIONS SHARED WITH CONFIGURE
22069 cat <<\_LT_EOF >> "$cfgfile"
22070 # AIX sometimes has problems with the GCC collect2 program. For some
22071 # reason, if we set the COLLECT_NAMES environment variable, the problems
22072 # vanish in a puff of smoke.
22073 if test set != "${COLLECT_NAMES+set}"; then
22075 export COLLECT_NAMES
22082 ltmain=$ac_aux_dir/ltmain.sh
22085 # We use sed instead of cat because bash on DJGPP gets confused if
22086 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22087 # text mode, it properly converts lines to CR/LF. This bash problem
22088 # is reportedly fixed, but why not run on old versions too?
22089 sed '$q' "$ltmain" >> "$cfgfile" \
22090 || (rm -f "$cfgfile"; exit 1)
22092 mv -f "$cfgfile" "$ofile" ||
22093 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22104 ac_clean_files=$ac_clean_files_save
22106 test $ac_write_fail = 0 ||
22107 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22110 # configure is writing to config.log, and then calls config.status.
22111 # config.status does its own redirection, appending to config.log.
22112 # Unfortunately, on DOS this fails, as config.log is still kept open
22113 # by configure, so config.status won't be able to write to it; its
22114 # output is simply discarded. So we exec the FD to /dev/null,
22115 # effectively closing config.log, so it can be properly (re)opened and
22116 # appended to by config.status. When coming back to configure, we
22117 # need to make the FD available again.
22118 if test "$no_create" != yes; then
22120 ac_config_status_args=
22121 test "$silent" = yes &&
22122 ac_config_status_args="$ac_config_status_args --quiet"
22124 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22126 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22127 # would make configure fail if this is the last instruction.
22128 $ac_cs_success || as_fn_exit 1
22130 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22131 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22132 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}