2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for krb5-strength 3.2.
5 # Report bugs to <eagle@eyrie.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
149 *v*x* | *x*v* ) as_opts=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1
203 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
204 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
205 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
206 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
207 PATH=/empty FPATH=/empty; export PATH FPATH
208 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
209 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
210 if (eval "$as_required") 2>/dev/null; then :
215 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir=.
227 for as_base in sh bash ksh sh5; do
228 # Try only shells that exist, to save several forks.
229 as_shell=$as_dir/$as_base
230 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 CONFIG_SHELL=$as_shell as_have_required=yes
233 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
241 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
242 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
243 CONFIG_SHELL=$SHELL as_have_required=yes
248 if test "x$CONFIG_SHELL" != x; then :
250 # We cannot yet assume a decent shell, so we have to provide a
251 # neutralization value for shells without unset; and this also
252 # works around shells that cannot unset nonexistent variables.
253 # Preserve -v and -x to the replacement shell.
256 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
258 *v*x* | *x*v* ) as_opts=-vx ;;
263 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
264 # Admittedly, this is quite paranoid, since all the known shells bail
265 # out after a failed `exec'.
266 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
270 if test x$as_have_required = xno; then :
271 $as_echo "$0: This script requires a shell more modern than all"
272 $as_echo "$0: the shells that I found on your system."
273 if test x${ZSH_VERSION+set} = xset ; then
274 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
275 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
277 $as_echo "$0: Please tell bug-autoconf@gnu.org and eagle@eyrie.org
278 $0: about your system, including any error possibly output
279 $0: before this message. Then install a modern shell, or
280 $0: manually run the script under such a shell if you do
287 SHELL=${CONFIG_SHELL-/bin/sh}
289 # Unset more variables known to interfere with behavior of common tools.
290 CLICOLOR_FORCE= GREP_OPTIONS=
291 unset CLICOLOR_FORCE GREP_OPTIONS
293 ## --------------------- ##
294 ## M4sh Shell Functions. ##
295 ## --------------------- ##
298 # Portably unset VAR.
301 { eval $1=; unset $1;}
305 # as_fn_set_status STATUS
306 # -----------------------
307 # Set $? to STATUS, without forking.
315 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
325 # Create "$as_dir" as a directory, including parents if necessary.
330 -*) as_dir=./$as_dir;;
332 test -d "$as_dir" || eval $as_mkdir_p || {
336 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 as_dirs="'$as_qdir' $as_dirs"
340 as_dir=`$as_dirname -- "$as_dir" ||
341 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
342 X"$as_dir" : 'X\(//\)[^/]' \| \
343 X"$as_dir" : 'X\(//\)$' \| \
344 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
345 $as_echo X"$as_dir" |
346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
363 test -d "$as_dir" && break
365 test -z "$as_dirs" || eval "mkdir $as_dirs"
366 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 # as_fn_executable_p FILE
372 # -----------------------
373 # Test if FILE is an executable regular file.
374 as_fn_executable_p ()
376 test -f "$1" && test -x "$1"
377 } # as_fn_executable_p
378 # as_fn_append VAR VALUE
379 # ----------------------
380 # Append the text in VALUE to the end of the definition contained in VAR. Take
381 # advantage of any shell optimizations that allow amortized linear growth over
382 # repeated appends, instead of the typical quadratic growth present in naive
384 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
385 eval 'as_fn_append ()
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
409 as_val=`expr "$@" || test $? -eq 1`
414 # as_fn_error STATUS ERROR [LINENO LOG_FD]
415 # ----------------------------------------
416 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
417 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
418 # script with STATUS, using 1 if that was 0.
421 as_status=$1; test $as_status -eq 0 && as_status=1
423 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
424 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
426 $as_echo "$as_me: error: $2" >&2
427 as_fn_exit $as_status
430 if expr a : '\(a\)' >/dev/null 2>&1 &&
431 test "X`expr 00001 : '.*\(...\)'`" = X001; then
437 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
443 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
449 as_me=`$as_basename -- "$0" ||
450 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
451 X"$0" : 'X\(//\)$' \| \
452 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
454 sed '/^.*\/\([^/][^/]*\)\/*$/{
468 # Avoid depending upon Character Ranges.
469 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
470 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
471 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
472 as_cr_digits='0123456789'
473 as_cr_alnum=$as_cr_Letters$as_cr_digits
476 as_lineno_1=$LINENO as_lineno_1a=$LINENO
477 as_lineno_2=$LINENO as_lineno_2a=$LINENO
478 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
479 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
480 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
492 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
496 chmod +x "$as_me.lineno" ||
497 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
499 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
500 # already done that, so ensure we don't try to do so again and fall
501 # in an infinite loop. This has already happened in practice.
502 _as_can_reexec=no; export _as_can_reexec
503 # Don't try to exec as it changes $[0], causing all sort of problems
504 # (the dirname of $[0] is not the place where we might find the
505 # original and so on. Autoconf is especially sensitive to this).
507 # Exit status is that of the last command.
511 ECHO_C= ECHO_N= ECHO_T=
512 case `echo -n x` in #(((((
514 case `echo 'xy\c'` in
515 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
517 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
524 rm -f conf$$ conf$$.exe conf$$.file
525 if test -d conf$$.dir; then
526 rm -f conf$$.dir/conf$$.file
529 mkdir conf$$.dir 2>/dev/null
531 if (echo >conf$$.file) 2>/dev/null; then
532 if ln -s conf$$.file conf$$ 2>/dev/null; then
534 # ... but there are two gotchas:
535 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
536 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
537 # In both cases, we have to default to `cp -pR'.
538 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
540 elif ln conf$$.file conf$$ 2>/dev/null; then
548 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
549 rmdir conf$$.dir 2>/dev/null
551 if mkdir -p . 2>/dev/null; then
552 as_mkdir_p='mkdir -p "$as_dir"'
554 test -d ./-p && rmdir ./-p
559 as_executable_p=as_fn_executable_p
561 # Sed expression to map a string onto a valid CPP name.
562 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
564 # Sed expression to map a string onto a valid variable name.
565 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
567 SHELL=${CONFIG_SHELL-/bin/sh}
570 test -n "$DJDIR" || exec 7<&0 </dev/null
574 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
575 # so uname gets run too.
576 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
581 ac_default_prefix=/usr/local
583 ac_config_libobj_dir=.
590 # Identity of this package.
591 PACKAGE_NAME='krb5-strength'
592 PACKAGE_TARNAME='krb5-strength'
593 PACKAGE_VERSION='3.2'
594 PACKAGE_STRING='krb5-strength 3.2'
595 PACKAGE_BUGREPORT='eagle@eyrie.org'
598 ac_config_libobj_dir=portable
599 # Factoring default headers for most tests.
600 ac_includes_default="\
602 #ifdef HAVE_SYS_TYPES_H
603 # include <sys/types.h>
605 #ifdef HAVE_SYS_STAT_H
606 # include <sys/stat.h>
612 # ifdef HAVE_STDLIB_H
617 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
622 #ifdef HAVE_STRINGS_H
623 # include <strings.h>
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
635 ac_subst_vars='am__EXEEXT_FALSE
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
783 enable_option_checking
785 enable_maintainer_mode
786 enable_dependency_tracking
800 with_cracklib_include
805 enable_reduced_depends
810 ac_precious_vars='build_alias
828 # Initialize some variables set by options.
830 ac_init_version=false
831 ac_unrecognized_opts=
833 # The variables have the same names as the options, with
834 # dashes changed to underlines.
842 program_transform_name=s,x,x,
850 # Installation directory options.
851 # These are left unexpanded so users can "make install exec_prefix=/foo"
852 # and all the variables that are supposed to be based on exec_prefix
853 # by default will actually change.
854 # Use braces instead of parens because sh, perl, etc. also accept them.
855 # (The list follows the same order as the GNU Coding Standards.)
856 bindir='${exec_prefix}/bin'
857 sbindir='${exec_prefix}/sbin'
858 libexecdir='${exec_prefix}/libexec'
859 datarootdir='${prefix}/share'
860 datadir='${datarootdir}'
861 sysconfdir='${prefix}/etc'
862 sharedstatedir='${prefix}/com'
863 localstatedir='${prefix}/var'
864 runstatedir='${localstatedir}/run'
865 includedir='${prefix}/include'
866 oldincludedir='/usr/include'
867 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
868 infodir='${datarootdir}/info'
873 libdir='${exec_prefix}/lib'
874 localedir='${datarootdir}/locale'
875 mandir='${datarootdir}/man'
881 # If the previous option needs an argument, assign it.
882 if test -n "$ac_prev"; then
883 eval $ac_prev=\$ac_option
889 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
894 # Accept the important Cygnus configure options, so we can diagnose typos.
896 case $ac_dashdash$ac_option in
900 -bindir | --bindir | --bindi | --bind | --bin | --bi)
902 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
905 -build | --build | --buil | --bui | --bu)
906 ac_prev=build_alias ;;
907 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
908 build_alias=$ac_optarg ;;
910 -cache-file | --cache-file | --cache-fil | --cache-fi \
911 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
912 ac_prev=cache_file ;;
913 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
914 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
915 cache_file=$ac_optarg ;;
918 cache_file=config.cache ;;
920 -datadir | --datadir | --datadi | --datad)
922 -datadir=* | --datadir=* | --datadi=* | --datad=*)
923 datadir=$ac_optarg ;;
925 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
926 | --dataroo | --dataro | --datar)
927 ac_prev=datarootdir ;;
928 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
929 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
930 datarootdir=$ac_optarg ;;
932 -disable-* | --disable-*)
933 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
934 # Reject names that are not valid shell variable names.
935 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
936 as_fn_error $? "invalid feature name: $ac_useropt"
937 ac_useropt_orig=$ac_useropt
938 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
939 case $ac_user_opts in
943 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
944 ac_unrecognized_sep=', ';;
946 eval enable_$ac_useropt=no ;;
948 -docdir | --docdir | --docdi | --doc | --do)
950 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
953 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
955 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
958 -enable-* | --enable-*)
959 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
962 as_fn_error $? "invalid feature name: $ac_useropt"
963 ac_useropt_orig=$ac_useropt
964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
970 ac_unrecognized_sep=', ';;
972 eval enable_$ac_useropt=\$ac_optarg ;;
974 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
975 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
976 | --exec | --exe | --ex)
977 ac_prev=exec_prefix ;;
978 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
979 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
980 | --exec=* | --exe=* | --ex=*)
981 exec_prefix=$ac_optarg ;;
983 -gas | --gas | --ga | --g)
984 # Obsolete; use --with-gas.
987 -help | --help | --hel | --he | -h)
989 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
990 ac_init_help=recursive ;;
991 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
992 ac_init_help=short ;;
994 -host | --host | --hos | --ho)
995 ac_prev=host_alias ;;
996 -host=* | --host=* | --hos=* | --ho=*)
997 host_alias=$ac_optarg ;;
999 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1001 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1003 htmldir=$ac_optarg ;;
1005 -includedir | --includedir | --includedi | --included | --include \
1006 | --includ | --inclu | --incl | --inc)
1007 ac_prev=includedir ;;
1008 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1009 | --includ=* | --inclu=* | --incl=* | --inc=*)
1010 includedir=$ac_optarg ;;
1012 -infodir | --infodir | --infodi | --infod | --info | --inf)
1014 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1015 infodir=$ac_optarg ;;
1017 -libdir | --libdir | --libdi | --libd)
1019 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1020 libdir=$ac_optarg ;;
1022 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1023 | --libexe | --libex | --libe)
1024 ac_prev=libexecdir ;;
1025 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1026 | --libexe=* | --libex=* | --libe=*)
1027 libexecdir=$ac_optarg ;;
1029 -localedir | --localedir | --localedi | --localed | --locale)
1030 ac_prev=localedir ;;
1031 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1032 localedir=$ac_optarg ;;
1034 -localstatedir | --localstatedir | --localstatedi | --localstated \
1035 | --localstate | --localstat | --localsta | --localst | --locals)
1036 ac_prev=localstatedir ;;
1037 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1038 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1039 localstatedir=$ac_optarg ;;
1041 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1043 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1044 mandir=$ac_optarg ;;
1046 -nfp | --nfp | --nf)
1047 # Obsolete; use --without-fp.
1050 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1051 | --no-cr | --no-c | -n)
1054 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1055 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1058 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1059 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1060 | --oldin | --oldi | --old | --ol | --o)
1061 ac_prev=oldincludedir ;;
1062 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1063 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1064 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1065 oldincludedir=$ac_optarg ;;
1067 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1069 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1070 prefix=$ac_optarg ;;
1072 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1073 | --program-pre | --program-pr | --program-p)
1074 ac_prev=program_prefix ;;
1075 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1076 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1077 program_prefix=$ac_optarg ;;
1079 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1080 | --program-suf | --program-su | --program-s)
1081 ac_prev=program_suffix ;;
1082 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1083 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1084 program_suffix=$ac_optarg ;;
1086 -program-transform-name | --program-transform-name \
1087 | --program-transform-nam | --program-transform-na \
1088 | --program-transform-n | --program-transform- \
1089 | --program-transform | --program-transfor \
1090 | --program-transfo | --program-transf \
1091 | --program-trans | --program-tran \
1092 | --progr-tra | --program-tr | --program-t)
1093 ac_prev=program_transform_name ;;
1094 -program-transform-name=* | --program-transform-name=* \
1095 | --program-transform-nam=* | --program-transform-na=* \
1096 | --program-transform-n=* | --program-transform-=* \
1097 | --program-transform=* | --program-transfor=* \
1098 | --program-transfo=* | --program-transf=* \
1099 | --program-trans=* | --program-tran=* \
1100 | --progr-tra=* | --program-tr=* | --program-t=*)
1101 program_transform_name=$ac_optarg ;;
1103 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1105 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1106 pdfdir=$ac_optarg ;;
1108 -psdir | --psdir | --psdi | --psd | --ps)
1110 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1113 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1114 | -silent | --silent | --silen | --sile | --sil)
1117 -runstatedir | --runstatedir | --runstatedi | --runstated \
1118 | --runstate | --runstat | --runsta | --runst | --runs \
1119 | --run | --ru | --r)
1120 ac_prev=runstatedir ;;
1121 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1122 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1123 | --run=* | --ru=* | --r=*)
1124 runstatedir=$ac_optarg ;;
1126 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1128 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1130 sbindir=$ac_optarg ;;
1132 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1133 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1134 | --sharedst | --shareds | --shared | --share | --shar \
1136 ac_prev=sharedstatedir ;;
1137 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1138 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1139 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1141 sharedstatedir=$ac_optarg ;;
1143 -site | --site | --sit)
1145 -site=* | --site=* | --sit=*)
1148 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1150 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1151 srcdir=$ac_optarg ;;
1153 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1154 | --syscon | --sysco | --sysc | --sys | --sy)
1155 ac_prev=sysconfdir ;;
1156 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1157 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1158 sysconfdir=$ac_optarg ;;
1160 -target | --target | --targe | --targ | --tar | --ta | --t)
1161 ac_prev=target_alias ;;
1162 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1163 target_alias=$ac_optarg ;;
1165 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1168 -version | --version | --versio | --versi | --vers | -V)
1169 ac_init_version=: ;;
1172 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1173 # Reject names that are not valid shell variable names.
1174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1175 as_fn_error $? "invalid package name: $ac_useropt"
1176 ac_useropt_orig=$ac_useropt
1177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1178 case $ac_user_opts in
1182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1183 ac_unrecognized_sep=', ';;
1185 eval with_$ac_useropt=\$ac_optarg ;;
1187 -without-* | --without-*)
1188 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1189 # Reject names that are not valid shell variable names.
1190 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1191 as_fn_error $? "invalid package name: $ac_useropt"
1192 ac_useropt_orig=$ac_useropt
1193 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1194 case $ac_user_opts in
1198 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1199 ac_unrecognized_sep=', ';;
1201 eval with_$ac_useropt=no ;;
1204 # Obsolete; use --with-x.
1207 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1208 | --x-incl | --x-inc | --x-in | --x-i)
1209 ac_prev=x_includes ;;
1210 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1211 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1212 x_includes=$ac_optarg ;;
1214 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1215 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1216 ac_prev=x_libraries ;;
1217 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1218 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1219 x_libraries=$ac_optarg ;;
1221 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1222 Try \`$0 --help' for more information"
1226 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1227 # Reject names that are not valid shell variable names.
1228 case $ac_envvar in #(
1229 '' | [0-9]* | *[!_$as_cr_alnum]* )
1230 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1232 eval $ac_envvar=\$ac_optarg
1233 export $ac_envvar ;;
1236 # FIXME: should be removed in autoconf 3.0.
1237 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1238 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1239 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1240 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1246 if test -n "$ac_prev"; then
1247 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1248 as_fn_error $? "missing argument to $ac_option"
1251 if test -n "$ac_unrecognized_opts"; then
1252 case $enable_option_checking in
1254 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1255 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1259 # Check all directory arguments for consistency.
1260 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1261 datadir sysconfdir sharedstatedir localstatedir includedir \
1262 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1263 libdir localedir mandir runstatedir
1265 eval ac_val=\$$ac_var
1266 # Remove trailing slashes.
1269 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1270 eval $ac_var=\$ac_val;;
1272 # Be sure to have absolute directory names.
1274 [\\/$]* | ?:[\\/]* ) continue;;
1275 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1277 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1280 # There might be people who depend on the old broken behavior: `$host'
1281 # used to hold the argument of --host etc.
1282 # FIXME: To remove some day.
1285 target=$target_alias
1287 # FIXME: To remove some day.
1288 if test "x$host_alias" != x; then
1289 if test "x$build_alias" = x; then
1290 cross_compiling=maybe
1291 elif test "x$build_alias" != "x$host_alias"; then
1297 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1299 test "$silent" = yes && exec 6>/dev/null
1302 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1303 ac_ls_di=`ls -di .` &&
1304 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1305 as_fn_error $? "working directory cannot be determined"
1306 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1307 as_fn_error $? "pwd does not report name of working directory"
1310 # Find the source files, if location was not specified.
1311 if test -z "$srcdir"; then
1312 ac_srcdir_defaulted=yes
1313 # Try the directory containing this script, then the parent directory.
1314 ac_confdir=`$as_dirname -- "$as_myself" ||
1315 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1316 X"$as_myself" : 'X\(//\)[^/]' \| \
1317 X"$as_myself" : 'X\(//\)$' \| \
1318 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1319 $as_echo X"$as_myself" |
1320 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1338 if test ! -r "$srcdir/$ac_unique_file"; then
1342 ac_srcdir_defaulted=no
1344 if test ! -r "$srcdir/$ac_unique_file"; then
1345 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1346 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1348 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1350 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1352 # When building in place, set srcdir=.
1353 if test "$ac_abs_confdir" = "$ac_pwd"; then
1356 # Remove unnecessary trailing slashes from srcdir.
1357 # Double slashes in file names in object file debugging info
1358 # mess up M-x gdb in Emacs.
1360 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1362 for ac_var in $ac_precious_vars; do
1363 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1364 eval ac_env_${ac_var}_value=\$${ac_var}
1365 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1366 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1370 # Report the --help message.
1372 if test "$ac_init_help" = "long"; then
1373 # Omit some internal or obsolete options to make the list less imposing.
1374 # This message is too long to be a string in the A/UX 3.1 sh.
1376 \`configure' configures krb5-strength 3.2 to adapt to many kinds of systems.
1378 Usage: $0 [OPTION]... [VAR=VALUE]...
1380 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1381 VAR=VALUE. See below for descriptions of some of the useful variables.
1383 Defaults for the options are specified in brackets.
1386 -h, --help display this help and exit
1387 --help=short display options specific to this package
1388 --help=recursive display the short help of all the included packages
1389 -V, --version display version information and exit
1390 -q, --quiet, --silent do not print \`checking ...' messages
1391 --cache-file=FILE cache test results in FILE [disabled]
1392 -C, --config-cache alias for \`--cache-file=config.cache'
1393 -n, --no-create do not create output files
1394 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1396 Installation directories:
1397 --prefix=PREFIX install architecture-independent files in PREFIX
1398 [$ac_default_prefix]
1399 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1402 By default, \`make install' will install all the files in
1403 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1404 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1405 for instance \`--prefix=\$HOME'.
1407 For better control, use the options below.
1409 Fine tuning of the installation directories:
1410 --bindir=DIR user executables [EPREFIX/bin]
1411 --sbindir=DIR system admin executables [EPREFIX/sbin]
1412 --libexecdir=DIR program executables [EPREFIX/libexec]
1413 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1414 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1415 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1416 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1417 --libdir=DIR object code libraries [EPREFIX/lib]
1418 --includedir=DIR C header files [PREFIX/include]
1419 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1420 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1421 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1422 --infodir=DIR info documentation [DATAROOTDIR/info]
1423 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1424 --mandir=DIR man documentation [DATAROOTDIR/man]
1425 --docdir=DIR documentation root [DATAROOTDIR/doc/krb5-strength]
1426 --htmldir=DIR html documentation [DOCDIR]
1427 --dvidir=DIR dvi documentation [DOCDIR]
1428 --pdfdir=DIR pdf documentation [DOCDIR]
1429 --psdir=DIR ps documentation [DOCDIR]
1435 --program-prefix=PREFIX prepend PREFIX to installed program names
1436 --program-suffix=SUFFIX append SUFFIX to installed program names
1437 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1440 --build=BUILD configure for building on BUILD [guessed]
1441 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1445 if test -n "$ac_init_help"; then
1446 case $ac_init_help in
1447 short | recursive ) echo "Configuration of krb5-strength 3.2:";;
1452 --disable-option-checking ignore unrecognized --enable/--with options
1453 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1454 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1455 --enable-silent-rules less verbose build output (undo: "make V=1")
1456 --disable-silent-rules verbose build output (undo: "make V=0")
1457 --enable-maintainer-mode
1458 enable make rules and dependencies not useful (and
1459 sometimes confusing) to the casual installer
1460 --enable-dependency-tracking
1461 do not reject slow dependency extractors
1462 --disable-dependency-tracking
1463 speeds up one-time build
1464 --disable-largefile omit support for large files
1465 --enable-static[=PKGS] build static libraries [default=no]
1466 --enable-shared[=PKGS] build shared libraries [default=yes]
1467 --enable-fast-install[=PKGS]
1468 optimize for fast installation [default=yes]
1469 --disable-libtool-lock avoid locking (might break parallel builds)
1470 --enable-reduced-depends
1471 Try to minimize shared library dependencies
1474 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1475 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1476 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1478 --with-aix-soname=aix|svr4|both
1479 shared library versioning (aka "SONAME") variant to
1480 provide on AIX, [default=aix].
1481 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1482 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1483 compiler's sysroot if not specified).
1484 --with-tinycdb[=DIR] Location of TinyCDB headers and libraries
1485 --with-tinycdb-include=DIR
1486 Location of TinyCDB headers
1487 --with-tinycdb-lib=DIR Location of TinyCDB libraries
1488 --with-cracklib[=DIR] Use system CrackLib instead of embedded copy
1489 --with-cracklib-include=DIR
1490 Location of CrackLib headers
1491 --with-cracklib-lib=DIR Location of CrackLib libraries
1492 --with-krb5=DIR Location of Kerberos headers and libraries
1493 --with-krb5-include=DIR Location of Kerberos headers
1494 --with-krb5-lib=DIR Location of Kerberos libraries
1495 --with-sqlite[=DIR] Location of SQLite headers and libraries
1496 --with-sqlite-include=DIR
1497 Location of SQLite headers
1498 --with-sqlite-lib=DIR Location of SQLite libraries
1500 Some influential environment variables:
1501 CC C compiler command
1502 CFLAGS C compiler flags
1503 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1504 nonstandard directory <lib dir>
1505 LIBS libraries to pass to the linker, e.g. -l<library>
1506 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1507 you have headers in a nonstandard directory <include dir>
1510 User-defined run-time library search path.
1513 PKG_CONFIG path to pkg-config utility
1515 directories to add to pkg-config's search path
1517 path overriding pkg-config's built-in search path
1519 C compiler flags for SQLITE, overriding pkg-config
1520 SQLITE_LIBS linker flags for SQLITE, overriding pkg-config
1522 Use these variables to override the choices made by `configure' or to help
1523 it to find libraries and programs with nonstandard names/locations.
1525 Report bugs to <eagle@eyrie.org>.
1530 if test "$ac_init_help" = "recursive"; then
1531 # If there are subdirs, report their specific --help.
1532 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1533 test -d "$ac_dir" ||
1534 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1539 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1541 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1542 # A ".." for each directory in $ac_dir_suffix.
1543 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1544 case $ac_top_builddir_sub in
1545 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1546 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1549 ac_abs_top_builddir=$ac_pwd
1550 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1551 # for backward compatibility:
1552 ac_top_builddir=$ac_top_build_prefix
1555 .) # We are building in place.
1557 ac_top_srcdir=$ac_top_builddir_sub
1558 ac_abs_top_srcdir=$ac_pwd ;;
1559 [\\/]* | ?:[\\/]* ) # Absolute name.
1560 ac_srcdir=$srcdir$ac_dir_suffix;
1561 ac_top_srcdir=$srcdir
1562 ac_abs_top_srcdir=$srcdir ;;
1564 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1565 ac_top_srcdir=$ac_top_build_prefix$srcdir
1566 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1568 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1570 cd "$ac_dir" || { ac_status=$?; continue; }
1571 # Check for guested configure.
1572 if test -f "$ac_srcdir/configure.gnu"; then
1574 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1575 elif test -f "$ac_srcdir/configure"; then
1577 $SHELL "$ac_srcdir/configure" --help=recursive
1579 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1581 cd "$ac_pwd" || { ac_status=$?; break; }
1585 test -n "$ac_init_help" && exit $ac_status
1586 if $ac_init_version; then
1588 krb5-strength configure 3.2
1589 generated by GNU Autoconf 2.69
1591 Copyright (C) 2012 Free Software Foundation, Inc.
1592 This configure script is free software; the Free Software Foundation
1593 gives unlimited permission to copy, distribute and modify it.
1598 ## ------------------------ ##
1599 ## Autoconf initialization. ##
1600 ## ------------------------ ##
1602 # ac_fn_c_try_compile LINENO
1603 # --------------------------
1604 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1605 ac_fn_c_try_compile ()
1607 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1608 rm -f conftest.$ac_objext
1609 if { { ac_try="$ac_compile"
1611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1612 *) ac_try_echo=$ac_try;;
1614 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1615 $as_echo "$ac_try_echo"; } >&5
1616 (eval "$ac_compile") 2>conftest.err
1618 if test -s conftest.err; then
1619 grep -v '^ *+' conftest.err >conftest.er1
1620 cat conftest.er1 >&5
1621 mv -f conftest.er1 conftest.err
1623 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1624 test $ac_status = 0; } && {
1625 test -z "$ac_c_werror_flag" ||
1626 test ! -s conftest.err
1627 } && test -s conftest.$ac_objext; then :
1630 $as_echo "$as_me: failed program was:" >&5
1631 sed 's/^/| /' conftest.$ac_ext >&5
1635 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1636 as_fn_set_status $ac_retval
1638 } # ac_fn_c_try_compile
1640 # ac_fn_c_try_cpp LINENO
1641 # ----------------------
1642 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1645 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1646 if { { ac_try="$ac_cpp conftest.$ac_ext"
1648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1649 *) ac_try_echo=$ac_try;;
1651 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1652 $as_echo "$ac_try_echo"; } >&5
1653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1655 if test -s conftest.err; then
1656 grep -v '^ *+' conftest.err >conftest.er1
1657 cat conftest.er1 >&5
1658 mv -f conftest.er1 conftest.err
1660 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1661 test $ac_status = 0; } > conftest.i && {
1662 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1663 test ! -s conftest.err
1667 $as_echo "$as_me: failed program was:" >&5
1668 sed 's/^/| /' conftest.$ac_ext >&5
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1673 as_fn_set_status $ac_retval
1677 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1678 # -------------------------------------------------------
1679 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1680 # the include files in INCLUDES and setting the cache variable VAR
1682 ac_fn_c_check_header_mongrel ()
1684 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1685 if eval \${$3+:} false; then :
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1687 $as_echo_n "checking for $2... " >&6; }
1688 if eval \${$3+:} false; then :
1689 $as_echo_n "(cached) " >&6
1692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1693 $as_echo "$ac_res" >&6; }
1695 # Is the header compilable?
1696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1697 $as_echo_n "checking $2 usability... " >&6; }
1698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1699 /* end confdefs.h. */
1703 if ac_fn_c_try_compile "$LINENO"; then :
1704 ac_header_compiler=yes
1706 ac_header_compiler=no
1708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1710 $as_echo "$ac_header_compiler" >&6; }
1712 # Is the header present?
1713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1714 $as_echo_n "checking $2 presence... " >&6; }
1715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1716 /* end confdefs.h. */
1719 if ac_fn_c_try_cpp "$LINENO"; then :
1720 ac_header_preproc=yes
1722 ac_header_preproc=no
1724 rm -f conftest.err conftest.i conftest.$ac_ext
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1726 $as_echo "$ac_header_preproc" >&6; }
1728 # So? What about this header?
1729 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1731 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1732 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1733 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1734 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1737 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1738 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1740 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1742 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1743 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1744 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1746 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1747 ( $as_echo "## ------------------------------ ##
1748 ## Report this to eagle@eyrie.org ##
1749 ## ------------------------------ ##"
1750 ) | sed "s/^/$as_me: WARNING: /" >&2
1753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1754 $as_echo_n "checking for $2... " >&6; }
1755 if eval \${$3+:} false; then :
1756 $as_echo_n "(cached) " >&6
1758 eval "$3=\$ac_header_compiler"
1761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1762 $as_echo "$ac_res" >&6; }
1764 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1766 } # ac_fn_c_check_header_mongrel
1768 # ac_fn_c_try_run LINENO
1769 # ----------------------
1770 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1771 # that executables *can* be run.
1774 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1775 if { { ac_try="$ac_link"
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_link") 2>&5
1784 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1785 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1786 { { case "(($ac_try" in
1787 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1788 *) ac_try_echo=$ac_try;;
1790 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1791 $as_echo "$ac_try_echo"; } >&5
1792 (eval "$ac_try") 2>&5
1794 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1795 test $ac_status = 0; }; }; then :
1798 $as_echo "$as_me: program exited with status $ac_status" >&5
1799 $as_echo "$as_me: failed program was:" >&5
1800 sed 's/^/| /' conftest.$ac_ext >&5
1802 ac_retval=$ac_status
1804 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1805 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1806 as_fn_set_status $ac_retval
1810 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1811 # -------------------------------------------------------
1812 # Tests whether HEADER exists and can be compiled using the include files in
1813 # INCLUDES, setting the cache variable VAR accordingly.
1814 ac_fn_c_check_header_compile ()
1816 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1818 $as_echo_n "checking for $2... " >&6; }
1819 if eval \${$3+:} false; then :
1820 $as_echo_n "(cached) " >&6
1822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1823 /* end confdefs.h. */
1827 if ac_fn_c_try_compile "$LINENO"; then :
1832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1836 $as_echo "$ac_res" >&6; }
1837 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1839 } # ac_fn_c_check_header_compile
1841 # ac_fn_c_try_link LINENO
1842 # -----------------------
1843 # Try to link conftest.$ac_ext, and return whether this succeeded.
1846 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1847 rm -f conftest.$ac_objext conftest$ac_exeext
1848 if { { ac_try="$ac_link"
1850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1851 *) ac_try_echo=$ac_try;;
1853 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1854 $as_echo "$ac_try_echo"; } >&5
1855 (eval "$ac_link") 2>conftest.err
1857 if test -s conftest.err; then
1858 grep -v '^ *+' conftest.err >conftest.er1
1859 cat conftest.er1 >&5
1860 mv -f conftest.er1 conftest.err
1862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1863 test $ac_status = 0; } && {
1864 test -z "$ac_c_werror_flag" ||
1865 test ! -s conftest.err
1866 } && test -s conftest$ac_exeext && {
1867 test "$cross_compiling" = yes ||
1868 test -x conftest$ac_exeext
1872 $as_echo "$as_me: failed program was:" >&5
1873 sed 's/^/| /' conftest.$ac_ext >&5
1877 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1878 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1879 # interfere with the next link command; also delete a directory that is
1880 # left behind by Apple's compiler. We do this before executing the actions.
1881 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1882 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1883 as_fn_set_status $ac_retval
1885 } # ac_fn_c_try_link
1887 # ac_fn_c_check_func LINENO FUNC VAR
1888 # ----------------------------------
1889 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1890 ac_fn_c_check_func ()
1892 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1894 $as_echo_n "checking for $2... " >&6; }
1895 if eval \${$3+:} false; then :
1896 $as_echo_n "(cached) " >&6
1898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1899 /* end confdefs.h. */
1900 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1901 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1902 #define $2 innocuous_$2
1904 /* System header to define __stub macros and hopefully few prototypes,
1905 which can conflict with char $2 (); below.
1906 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1907 <limits.h> exists even on freestanding compilers. */
1910 # include <limits.h>
1912 # include <assert.h>
1917 /* Override any GCC internal prototype to avoid an error.
1918 Use char because int might match the return type of a GCC
1919 builtin and then its argument prototype would still apply. */
1924 /* The GNU C library defines this for functions which it implements
1925 to always fail with ENOSYS. Some functions are actually named
1926 something starting with __ and the normal name is an alias. */
1927 #if defined __stub_$2 || defined __stub___$2
1939 if ac_fn_c_try_link "$LINENO"; then :
1944 rm -f core conftest.err conftest.$ac_objext \
1945 conftest$ac_exeext conftest.$ac_ext
1948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1949 $as_echo "$ac_res" >&6; }
1950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1952 } # ac_fn_c_check_func
1954 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1955 # --------------------------------------------
1956 # Tries to find the compile-time value of EXPR in a program that includes
1957 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1959 ac_fn_c_compute_int ()
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 if test "$cross_compiling" = yes; then
1963 # Depending upon the size, compute the lo and hi bounds.
1964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1965 /* end confdefs.h. */
1970 static int test_array [1 - 2 * !(($2) >= 0)];
1972 return test_array [0];
1978 if ac_fn_c_try_compile "$LINENO"; then :
1981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1982 /* end confdefs.h. */
1987 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1989 return test_array [0];
1995 if ac_fn_c_try_compile "$LINENO"; then :
1996 ac_hi=$ac_mid; break
1998 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
1999 if test $ac_lo -le $ac_mid; then
2003 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2009 /* end confdefs.h. */
2014 static int test_array [1 - 2 * !(($2) < 0)];
2016 return test_array [0];
2022 if ac_fn_c_try_compile "$LINENO"; then :
2025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2026 /* end confdefs.h. */
2031 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2033 return test_array [0];
2039 if ac_fn_c_try_compile "$LINENO"; then :
2040 ac_lo=$ac_mid; break
2042 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2043 if test $ac_mid -le $ac_hi; then
2047 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2057 # Binary search between lo and hi bounds.
2058 while test "x$ac_lo" != "x$ac_hi"; do
2059 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2061 /* end confdefs.h. */
2066 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2068 return test_array [0];
2074 if ac_fn_c_try_compile "$LINENO"; then :
2077 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2082 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2087 /* end confdefs.h. */
2089 static long int longval () { return $2; }
2090 static unsigned long int ulongval () { return $2; }
2097 FILE *f = fopen ("conftest.val", "w");
2102 long int i = longval ();
2105 fprintf (f, "%ld", i);
2109 unsigned long int i = ulongval ();
2112 fprintf (f, "%lu", i);
2114 /* Do not output a trailing newline, as this causes \r\n confusion
2115 on some platforms. */
2116 return ferror (f) || fclose (f) != 0;
2122 if ac_fn_c_try_run "$LINENO"; then :
2123 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2127 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2128 conftest.$ac_objext conftest.beam conftest.$ac_ext
2132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2133 as_fn_set_status $ac_retval
2135 } # ac_fn_c_compute_int
2137 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2138 # -------------------------------------------
2139 # Tests whether TYPE exists after having included INCLUDES, setting cache
2140 # variable VAR accordingly.
2141 ac_fn_c_check_type ()
2143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2145 $as_echo_n "checking for $2... " >&6; }
2146 if eval \${$3+:} false; then :
2147 $as_echo_n "(cached) " >&6
2150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2151 /* end confdefs.h. */
2162 if ac_fn_c_try_compile "$LINENO"; then :
2163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2164 /* end confdefs.h. */
2175 if ac_fn_c_try_compile "$LINENO"; then :
2180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2189 } # ac_fn_c_check_type
2191 # ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2192 # ---------------------------------------------
2193 # Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2195 ac_fn_c_check_decl ()
2197 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2198 as_decl_name=`echo $2|sed 's/ *(.*//'`
2199 as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2201 $as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2202 if eval \${$3+:} false; then :
2203 $as_echo_n "(cached) " >&6
2205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2206 /* end confdefs.h. */
2211 #ifndef $as_decl_name
2213 (void) $as_decl_use;
2215 (void) $as_decl_name;
2223 if ac_fn_c_try_compile "$LINENO"; then :
2228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2232 $as_echo "$ac_res" >&6; }
2233 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2235 } # ac_fn_c_check_decl
2237 # ac_fn_c_find_uintX_t LINENO BITS VAR
2238 # ------------------------------------
2239 # Finds an unsigned integer type with width BITS, setting cache variable VAR
2241 ac_fn_c_find_uintX_t ()
2243 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uint$2_t" >&5
2245 $as_echo_n "checking for uint$2_t... " >&6; }
2246 if eval \${$3+:} false; then :
2247 $as_echo_n "(cached) " >&6
2250 # Order is important - never check a type that is potentially smaller
2251 # than half of the expected target width.
2252 for ac_type in uint$2_t 'unsigned int' 'unsigned long int' \
2253 'unsigned long long int' 'unsigned short int' 'unsigned char'; do
2254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2255 /* end confdefs.h. */
2256 $ac_includes_default
2260 static int test_array [1 - 2 * !((($ac_type) -1 >> ($2 / 2 - 1)) >> ($2 / 2 - 1) == 3)];
2262 return test_array [0];
2268 if ac_fn_c_try_compile "$LINENO"; then :
2273 eval "$3=\$ac_type" ;;
2276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2277 if eval test \"x\$"$3"\" = x"no"; then :
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2286 $as_echo "$ac_res" >&6; }
2287 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2289 } # ac_fn_c_find_uintX_t
2290 cat >config.log <<_ACEOF
2291 This file contains any messages produced by compilers while
2292 running configure, to aid debugging if configure makes a mistake.
2294 It was created by krb5-strength $as_me 3.2, which was
2295 generated by GNU Autoconf 2.69. Invocation command line was
2307 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2308 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2309 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2310 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2311 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2313 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2314 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2316 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2317 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2318 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2319 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2320 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2321 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2322 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2330 test -z "$as_dir" && as_dir=.
2331 $as_echo "PATH: $as_dir"
2347 # Keep a trace of the command line.
2348 # Strip out --no-create and --no-recursion so they do not pile up.
2349 # Strip out --silent because we don't want to record it for future runs.
2350 # Also quote any args containing shell meta-characters.
2351 # Make two passes to allow for proper duplicate-argument suppression.
2355 ac_must_keep_next=false
2361 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2362 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2363 | -silent | --silent | --silen | --sile | --sil)
2366 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2369 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2371 as_fn_append ac_configure_args1 " '$ac_arg'"
2372 if test $ac_must_keep_next = true; then
2373 ac_must_keep_next=false # Got value, back to normal.
2376 *=* | --config-cache | -C | -disable-* | --disable-* \
2377 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2378 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2379 | -with-* | --with-* | -without-* | --without-* | --x)
2380 case "$ac_configure_args0 " in
2381 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2384 -* ) ac_must_keep_next=true ;;
2387 as_fn_append ac_configure_args " '$ac_arg'"
2392 { ac_configure_args0=; unset ac_configure_args0;}
2393 { ac_configure_args1=; unset ac_configure_args1;}
2395 # When interrupted or exit'd, cleanup temporary files, and complete
2396 # config.log. We remove comments because anyway the quotes in there
2397 # would cause problems or look ugly.
2398 # WARNING: Use '\'' to represent an apostrophe within the trap.
2399 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2400 trap 'exit_status=$?
2401 # Save into config.log some information that might help in debugging.
2405 $as_echo "## ---------------- ##
2406 ## Cache variables. ##
2407 ## ---------------- ##"
2409 # The following way of writing the cache mishandles newlines in values,
2411 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2412 eval ac_val=\$$ac_var
2416 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2417 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2420 _ | IFS | as_nl) ;; #(
2421 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2422 *) { eval $ac_var=; unset $ac_var;} ;;
2427 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2428 *${as_nl}ac_space=\ *)
2430 "s/'\''/'\''\\\\'\'''\''/g;
2431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2434 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2441 $as_echo "## ----------------- ##
2442 ## Output variables. ##
2443 ## ----------------- ##"
2445 for ac_var in $ac_subst_vars
2447 eval ac_val=\$$ac_var
2449 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2451 $as_echo "$ac_var='\''$ac_val'\''"
2455 if test -n "$ac_subst_files"; then
2456 $as_echo "## ------------------- ##
2457 ## File substitutions. ##
2458 ## ------------------- ##"
2460 for ac_var in $ac_subst_files
2462 eval ac_val=\$$ac_var
2464 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2466 $as_echo "$ac_var='\''$ac_val'\''"
2471 if test -s confdefs.h; then
2472 $as_echo "## ----------- ##
2479 test "$ac_signal" != 0 &&
2480 $as_echo "$as_me: caught signal $ac_signal"
2481 $as_echo "$as_me: exit $exit_status"
2483 rm -f core *.core core.conftest.* &&
2484 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2487 for ac_signal in 1 2 13 15; do
2488 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2492 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2493 rm -f -r conftest* confdefs.h
2495 $as_echo "/* confdefs.h */" > confdefs.h
2497 # Predefined preprocessor variables.
2499 cat >>confdefs.h <<_ACEOF
2500 #define PACKAGE_NAME "$PACKAGE_NAME"
2503 cat >>confdefs.h <<_ACEOF
2504 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2507 cat >>confdefs.h <<_ACEOF
2508 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2511 cat >>confdefs.h <<_ACEOF
2512 #define PACKAGE_STRING "$PACKAGE_STRING"
2515 cat >>confdefs.h <<_ACEOF
2516 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2519 cat >>confdefs.h <<_ACEOF
2520 #define PACKAGE_URL "$PACKAGE_URL"
2524 # Let the site file select an alternate cache file if it wants to.
2525 # Prefer an explicitly selected file to automatically selected ones.
2528 if test -n "$CONFIG_SITE"; then
2529 # We do not want a PATH search for config.site.
2530 case $CONFIG_SITE in #((
2531 -*) ac_site_file1=./$CONFIG_SITE;;
2532 */*) ac_site_file1=$CONFIG_SITE;;
2533 *) ac_site_file1=./$CONFIG_SITE;;
2535 elif test "x$prefix" != xNONE; then
2536 ac_site_file1=$prefix/share/config.site
2537 ac_site_file2=$prefix/etc/config.site
2539 ac_site_file1=$ac_default_prefix/share/config.site
2540 ac_site_file2=$ac_default_prefix/etc/config.site
2542 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2544 test "x$ac_site_file" = xNONE && continue
2545 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2546 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2547 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2548 sed 's/^/| /' "$ac_site_file" >&5
2550 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2551 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2552 as_fn_error $? "failed to load site script $ac_site_file
2553 See \`config.log' for more details" "$LINENO" 5; }
2557 if test -r "$cache_file"; then
2558 # Some versions of bash will fail to source /dev/null (special files
2559 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2560 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2562 $as_echo "$as_me: loading cache $cache_file" >&6;}
2564 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2565 *) . "./$cache_file";;
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2570 $as_echo "$as_me: creating cache $cache_file" >&6;}
2574 # Check that the precious variables saved in the cache have kept the same
2576 ac_cache_corrupted=false
2577 for ac_var in $ac_precious_vars; do
2578 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2579 eval ac_new_set=\$ac_env_${ac_var}_set
2580 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2581 eval ac_new_val=\$ac_env_${ac_var}_value
2582 case $ac_old_set,$ac_new_set in
2584 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2585 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2586 ac_cache_corrupted=: ;;
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2589 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2590 ac_cache_corrupted=: ;;
2593 if test "x$ac_old_val" != "x$ac_new_val"; then
2594 # differences in whitespace do not lead to failure.
2595 ac_old_val_w=`echo x $ac_old_val`
2596 ac_new_val_w=`echo x $ac_new_val`
2597 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2599 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2600 ac_cache_corrupted=:
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2603 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2604 eval $ac_var=\$ac_old_val
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2607 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2608 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2609 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2612 # Pass precious variables to config.status.
2613 if test "$ac_new_set" = set; then
2615 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2616 *) ac_arg=$ac_var=$ac_new_val ;;
2618 case " $ac_configure_args " in
2619 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2620 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2624 if $ac_cache_corrupted; then
2625 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2628 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2629 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2631 ## -------------------- ##
2632 ## Main body of script. ##
2633 ## -------------------- ##
2636 ac_cpp='$CPP $CPPFLAGS'
2637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2643 for ac_dir in build-aux "$srcdir"/build-aux; do
2644 if test -f "$ac_dir/install-sh"; then
2646 ac_install_sh="$ac_aux_dir/install-sh -c"
2648 elif test -f "$ac_dir/install.sh"; then
2650 ac_install_sh="$ac_aux_dir/install.sh -c"
2652 elif test -f "$ac_dir/shtool"; then
2654 ac_install_sh="$ac_aux_dir/shtool install -c"
2658 if test -z "$ac_aux_dir"; then
2659 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2662 # These three variables are undocumented and unsupported,
2663 # and are intended to be withdrawn in a future Autoconf release.
2664 # They can cause serious problems if a builder's source tree is in a directory
2665 # whose full name contains unusual characters.
2666 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2667 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2668 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2673 am__api_version='1.16'
2675 # Find a good install program. We prefer a C program (faster),
2676 # so one script is as good as another. But avoid the broken or
2677 # incompatible versions:
2678 # SysV /etc/install, /usr/sbin/install
2679 # SunOS /usr/etc/install
2680 # IRIX /sbin/install
2682 # AmigaOS /C/install, which installs bootblocks on floppy discs
2683 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2684 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2685 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2686 # OS/2's system install, which has a completely different semantic
2687 # ./install, which can be erroneously created by make from ./install.sh.
2688 # Reject install programs that cannot install multiple files.
2689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2690 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2691 if test -z "$INSTALL"; then
2692 if ${ac_cv_path_install+:} false; then :
2693 $as_echo_n "(cached) " >&6
2695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2699 test -z "$as_dir" && as_dir=.
2700 # Account for people who put trailing slashes in PATH elements.
2701 case $as_dir/ in #((
2702 ./ | .// | /[cC]/* | \
2703 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2704 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2707 # OSF1 and SCO ODT 3.0 have their own names for install.
2708 # Don't use installbsd from OSF since it installs stuff as root
2710 for ac_prog in ginstall scoinst install; do
2711 for ac_exec_ext in '' $ac_executable_extensions; do
2712 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2713 if test $ac_prog = install &&
2714 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2715 # AIX install. It has an incompatible calling convention.
2717 elif test $ac_prog = install &&
2718 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2719 # program-specific install script used by HP pwplus--don't use.
2722 rm -rf conftest.one conftest.two conftest.dir
2723 echo one > conftest.one
2724 echo two > conftest.two
2726 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2727 test -s conftest.one && test -s conftest.two &&
2728 test -s conftest.dir/conftest.one &&
2729 test -s conftest.dir/conftest.two
2731 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2744 rm -rf conftest.one conftest.two conftest.dir
2747 if test "${ac_cv_path_install+set}" = set; then
2748 INSTALL=$ac_cv_path_install
2750 # As a last resort, use the slow shell script. Don't cache a
2751 # value for INSTALL within a source directory, because that will
2752 # break other packages using the cache if that directory is
2753 # removed, or if the value is a relative name.
2754 INSTALL=$ac_install_sh
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2758 $as_echo "$INSTALL" >&6; }
2760 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2761 # It thinks the first close brace ends the variable substitution.
2762 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2764 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2766 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2769 $as_echo_n "checking whether build environment is sane... " >&6; }
2770 # Reject unsafe characters in $srcdir or the absolute working directory
2771 # name. Accept space and tab only in the latter.
2775 *[\\\"\#\$\&\'\`$am_lf]*)
2776 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2779 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2780 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2783 # Do 'set' in a subshell so we don't clobber the current shell's
2784 # arguments. Must try -L first in case configure is actually a
2785 # symlink; some systems play weird games with the mod time of symlinks
2786 # (eg FreeBSD returns the mod time of the symlink's containing
2790 for am_try in 1 2; do
2791 echo "timestamp, slept: $am_has_slept" > conftest.file
2792 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2793 if test "$*" = "X"; then
2795 set X `ls -t "$srcdir/configure" conftest.file`
2797 if test "$*" != "X $srcdir/configure conftest.file" \
2798 && test "$*" != "X conftest.file $srcdir/configure"; then
2800 # If neither matched, then we have a broken ls. This can happen
2801 # if, for instance, CONFIG_SHELL is bash and it inherits a
2802 # broken ls alias from the environment. This has actually
2803 # happened. Such a system could not be considered "sane".
2804 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2805 alias in your environment" "$LINENO" 5
2807 if test "$2" = conftest.file || test $am_try -eq 2; then
2814 test "$2" = conftest.file
2820 as_fn_error $? "newly created file is older than distributed files!
2821 Check your system clock" "$LINENO" 5
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2824 $as_echo "yes" >&6; }
2825 # If we didn't sleep, we still need to ensure time stamps of config.status and
2826 # generated files are strictly newer.
2828 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2835 test "$program_prefix" != NONE &&
2836 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2837 # Use a double $ so make ignores it.
2838 test "$program_suffix" != NONE &&
2839 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2840 # Double any \ or $.
2841 # By default was `s,x,x', remove it if useless.
2842 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2843 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2845 # Expand $ac_aux_dir to an absolute path.
2846 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2848 if test x"${MISSING+set}" != xset; then
2851 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2853 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2856 # Use eval to expand $SHELL
2857 if eval "$MISSING --is-lightweight"; then
2858 am_missing_run="$MISSING "
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2862 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2865 if test x"${install_sh+set}" != xset; then
2868 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2870 install_sh="\${SHELL} $am_aux_dir/install-sh"
2874 # Installed binaries are usually stripped using 'strip' when the user
2875 # run "make install-strip". However 'strip' might not be the right
2876 # tool to use in cross-compilation environments, therefore Automake
2877 # will honor the 'STRIP' environment variable to overrule this program.
2878 if test "$cross_compiling" != no; then
2879 if test -n "$ac_tool_prefix"; then
2880 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2881 set dummy ${ac_tool_prefix}strip; ac_word=$2
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2883 $as_echo_n "checking for $ac_word... " >&6; }
2884 if ${ac_cv_prog_STRIP+:} false; then :
2885 $as_echo_n "(cached) " >&6
2887 if test -n "$STRIP"; then
2888 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2894 test -z "$as_dir" && as_dir=.
2895 for ac_exec_ext in '' $ac_executable_extensions; do
2896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2897 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2907 STRIP=$ac_cv_prog_STRIP
2908 if test -n "$STRIP"; then
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2910 $as_echo "$STRIP" >&6; }
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2913 $as_echo "no" >&6; }
2918 if test -z "$ac_cv_prog_STRIP"; then
2920 # Extract the first word of "strip", so it can be a program name with args.
2921 set dummy strip; ac_word=$2
2922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2923 $as_echo_n "checking for $ac_word... " >&6; }
2924 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2925 $as_echo_n "(cached) " >&6
2927 if test -n "$ac_ct_STRIP"; then
2928 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2934 test -z "$as_dir" && as_dir=.
2935 for ac_exec_ext in '' $ac_executable_extensions; do
2936 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2937 ac_cv_prog_ac_ct_STRIP="strip"
2938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2947 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2948 if test -n "$ac_ct_STRIP"; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2950 $as_echo "$ac_ct_STRIP" >&6; }
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2953 $as_echo "no" >&6; }
2956 if test "x$ac_ct_STRIP" = x; then
2959 case $cross_compiling:$ac_tool_warned in
2961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2963 ac_tool_warned=yes ;;
2968 STRIP="$ac_cv_prog_STRIP"
2972 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2975 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2976 if test -z "$MKDIR_P"; then
2977 if ${ac_cv_path_mkdir+:} false; then :
2978 $as_echo_n "(cached) " >&6
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2984 test -z "$as_dir" && as_dir=.
2985 for ac_prog in mkdir gmkdir; do
2986 for ac_exec_ext in '' $ac_executable_extensions; do
2987 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2988 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2989 'mkdir (GNU coreutils) '* | \
2990 'mkdir (coreutils) '* | \
2991 'mkdir (fileutils) '4.1*)
2992 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3002 test -d ./--version && rmdir ./--version
3003 if test "${ac_cv_path_mkdir+set}" = set; then
3004 MKDIR_P="$ac_cv_path_mkdir -p"
3006 # As a last resort, use the slow shell script. Don't cache a
3007 # value for MKDIR_P within a source directory, because that will
3008 # break other packages using the cache if that directory is
3009 # removed, or if the value is a relative name.
3010 MKDIR_P="$ac_install_sh -d"
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3014 $as_echo "$MKDIR_P" >&6; }
3016 for ac_prog in gawk mawk nawk awk
3018 # Extract the first word of "$ac_prog", so it can be a program name with args.
3019 set dummy $ac_prog; ac_word=$2
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3021 $as_echo_n "checking for $ac_word... " >&6; }
3022 if ${ac_cv_prog_AWK+:} false; then :
3023 $as_echo_n "(cached) " >&6
3025 if test -n "$AWK"; then
3026 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3032 test -z "$as_dir" && as_dir=.
3033 for ac_exec_ext in '' $ac_executable_extensions; do
3034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3035 ac_cv_prog_AWK="$ac_prog"
3036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3046 if test -n "$AWK"; then
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3048 $as_echo "$AWK" >&6; }
3050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3051 $as_echo "no" >&6; }
3055 test -n "$AWK" && break
3058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3059 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3061 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3062 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3063 $as_echo_n "(cached) " >&6
3065 cat >conftest.make <<\_ACEOF
3068 @echo '@@@%%%=$(MAKE)=@@@%%%'
3070 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3071 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3073 eval ac_cv_prog_make_${ac_make}_set=yes;;
3075 eval ac_cv_prog_make_${ac_make}_set=no;;
3079 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3081 $as_echo "yes" >&6; }
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3085 $as_echo "no" >&6; }
3086 SET_MAKE="MAKE=${MAKE-make}"
3089 rm -rf .tst 2>/dev/null
3090 mkdir .tst 2>/dev/null
3091 if test -d .tst; then
3096 rmdir .tst 2>/dev/null
3098 # Check whether --enable-silent-rules was given.
3099 if test "${enable_silent_rules+set}" = set; then :
3100 enableval=$enable_silent_rules;
3103 case $enable_silent_rules in # (((
3104 yes) AM_DEFAULT_VERBOSITY=0;;
3105 no) AM_DEFAULT_VERBOSITY=1;;
3106 *) AM_DEFAULT_VERBOSITY=1;;
3108 am_make=${MAKE-make}
3109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3110 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3111 if ${am_cv_make_support_nested_variables+:} false; then :
3112 $as_echo_n "(cached) " >&6
3114 if $as_echo 'TRUE=$(BAR$(V))
3120 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3121 am_cv_make_support_nested_variables=yes
3123 am_cv_make_support_nested_variables=no
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3127 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3128 if test $am_cv_make_support_nested_variables = yes; then
3130 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3132 AM_V=$AM_DEFAULT_VERBOSITY
3133 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3137 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3138 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3139 # is not polluted with repeated "-I."
3140 am__isrc=' -I$(srcdir)'
3141 # test to see if srcdir already configured
3142 if test -f $srcdir/config.status; then
3143 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3147 # test whether we have cygpath
3148 if test -z "$CYGPATH_W"; then
3149 if (cygpath --version) >/dev/null 2>/dev/null; then
3150 CYGPATH_W='cygpath -w'
3157 # Define the identity of the package.
3158 PACKAGE='krb5-strength'
3162 cat >>confdefs.h <<_ACEOF
3163 #define PACKAGE "$PACKAGE"
3167 cat >>confdefs.h <<_ACEOF
3168 #define VERSION "$VERSION"
3171 # Some tools Automake needs.
3173 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3176 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3179 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3182 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3185 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3187 # For better backward compatibility. To be removed once Automake 1.9.x
3188 # dies out for good. For more background, see:
3189 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3190 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3191 mkdir_p='$(MKDIR_P)'
3193 # We need awk for the "check" target (and possibly the TAP driver). The
3194 # system "awk" is bad on some platforms.
3195 # Always define AMTAR for backward compatibility. Yes, it's still used
3196 # in the wild :-( We should find a proper way to deprecate it ...
3200 # We'll loop over all known methods to create a tar archive until one works.
3201 _am_tools='gnutar pax cpio none'
3203 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3210 # POSIX will say in a future version that running "rm -f" with no argument
3211 # is OK; and we want to be able to make that assumption in our Makefile
3212 # recipes. So use an aggressive probe to check that the usage we want is
3213 # actually supported "in the wild" to an acceptable degree.
3214 # See automake bug#10828.
3215 # To make any issue more visible, cause the running configure to be aborted
3216 # by default if the 'rm' program in use doesn't match our expectations; the
3217 # user can still override this though.
3218 if rm -f && rm -fr && rm -rf; then : OK; else
3222 Your 'rm' program seems unable to run without file operands specified
3223 on the command line, even when the '-f' option is present. This is contrary
3224 to the behaviour of most rm programs out there, and not conforming with
3225 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3227 Please tell bug-automake@gnu.org about your system, including the value
3228 of your $PATH and any error possibly output before this message. This
3229 can help us improve future automake versions.
3232 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3233 echo 'Configuration will proceed anyway, since you have set the' >&2
3234 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3238 Aborting the configuration process, to ensure you take notice of the issue.
3240 You can download and install GNU coreutils to get an 'rm' implementation
3241 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3243 If you want to complete the configuration process using your problematic
3244 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3245 to "yes", and re-run configure.
3248 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3254 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3255 # Check whether --enable-maintainer-mode was given.
3256 if test "${enable_maintainer_mode+set}" = set; then :
3257 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
3259 USE_MAINTAINER_MODE=no
3262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3263 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3264 if test $USE_MAINTAINER_MODE = yes; then
3265 MAINTAINER_MODE_TRUE=
3266 MAINTAINER_MODE_FALSE='#'
3268 MAINTAINER_MODE_TRUE='#'
3269 MAINTAINER_MODE_FALSE=
3272 MAINT=$MAINTAINER_MODE_TRUE
3280 ac_cpp='$CPP $CPPFLAGS'
3281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3284 if test -n "$ac_tool_prefix"; then
3285 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3286 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3288 $as_echo_n "checking for $ac_word... " >&6; }
3289 if ${ac_cv_prog_CC+:} false; then :
3290 $as_echo_n "(cached) " >&6
3292 if test -n "$CC"; then
3293 ac_cv_prog_CC="$CC" # Let the user override the test.
3295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3299 test -z "$as_dir" && as_dir=.
3300 for ac_exec_ext in '' $ac_executable_extensions; do
3301 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3302 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3303 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3313 if test -n "$CC"; then
3314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3315 $as_echo "$CC" >&6; }
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3318 $as_echo "no" >&6; }
3323 if test -z "$ac_cv_prog_CC"; then
3325 # Extract the first word of "gcc", so it can be a program name with args.
3326 set dummy gcc; ac_word=$2
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3328 $as_echo_n "checking for $ac_word... " >&6; }
3329 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3330 $as_echo_n "(cached) " >&6
3332 if test -n "$ac_ct_CC"; then
3333 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3339 test -z "$as_dir" && as_dir=.
3340 for ac_exec_ext in '' $ac_executable_extensions; do
3341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3342 ac_cv_prog_ac_ct_CC="gcc"
3343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3352 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3353 if test -n "$ac_ct_CC"; then
3354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3355 $as_echo "$ac_ct_CC" >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3358 $as_echo "no" >&6; }
3361 if test "x$ac_ct_CC" = x; then
3364 case $cross_compiling:$ac_tool_warned in
3366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3367 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3368 ac_tool_warned=yes ;;
3376 if test -z "$CC"; then
3377 if test -n "$ac_tool_prefix"; then
3378 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3379 set dummy ${ac_tool_prefix}cc; ac_word=$2
3380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3381 $as_echo_n "checking for $ac_word... " >&6; }
3382 if ${ac_cv_prog_CC+:} false; then :
3383 $as_echo_n "(cached) " >&6
3385 if test -n "$CC"; then
3386 ac_cv_prog_CC="$CC" # Let the user override the test.
3388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3392 test -z "$as_dir" && as_dir=.
3393 for ac_exec_ext in '' $ac_executable_extensions; do
3394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3395 ac_cv_prog_CC="${ac_tool_prefix}cc"
3396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3406 if test -n "$CC"; then
3407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3408 $as_echo "$CC" >&6; }
3410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3411 $as_echo "no" >&6; }
3417 if test -z "$CC"; then
3418 # Extract the first word of "cc", so it can be a program name with args.
3419 set dummy cc; ac_word=$2
3420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3421 $as_echo_n "checking for $ac_word... " >&6; }
3422 if ${ac_cv_prog_CC+:} false; then :
3423 $as_echo_n "(cached) " >&6
3425 if test -n "$CC"; then
3426 ac_cv_prog_CC="$CC" # Let the user override the test.
3429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3433 test -z "$as_dir" && as_dir=.
3434 for ac_exec_ext in '' $ac_executable_extensions; do
3435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3436 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3437 ac_prog_rejected=yes
3441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3448 if test $ac_prog_rejected = yes; then
3449 # We found a bogon in the path, so make sure we never use it.
3450 set dummy $ac_cv_prog_CC
3452 if test $# != 0; then
3453 # We chose a different compiler from the bogus one.
3454 # However, it has the same basename, so the bogon will be chosen
3455 # first if we set CC to just the basename; use the full file name.
3457 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3463 if test -n "$CC"; then
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3465 $as_echo "$CC" >&6; }
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3468 $as_echo "no" >&6; }
3473 if test -z "$CC"; then
3474 if test -n "$ac_tool_prefix"; then
3475 for ac_prog in cl.exe
3477 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3478 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3480 $as_echo_n "checking for $ac_word... " >&6; }
3481 if ${ac_cv_prog_CC+:} false; then :
3482 $as_echo_n "(cached) " >&6
3484 if test -n "$CC"; then
3485 ac_cv_prog_CC="$CC" # Let the user override the test.
3487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3491 test -z "$as_dir" && as_dir=.
3492 for ac_exec_ext in '' $ac_executable_extensions; do
3493 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3494 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3495 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3505 if test -n "$CC"; then
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3507 $as_echo "$CC" >&6; }
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3510 $as_echo "no" >&6; }
3514 test -n "$CC" && break
3517 if test -z "$CC"; then
3519 for ac_prog in cl.exe
3521 # Extract the first word of "$ac_prog", so it can be a program name with args.
3522 set dummy $ac_prog; ac_word=$2
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3524 $as_echo_n "checking for $ac_word... " >&6; }
3525 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3526 $as_echo_n "(cached) " >&6
3528 if test -n "$ac_ct_CC"; then
3529 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3535 test -z "$as_dir" && as_dir=.
3536 for ac_exec_ext in '' $ac_executable_extensions; do
3537 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3538 ac_cv_prog_ac_ct_CC="$ac_prog"
3539 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3548 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3549 if test -n "$ac_ct_CC"; then
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3551 $as_echo "$ac_ct_CC" >&6; }
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3554 $as_echo "no" >&6; }
3558 test -n "$ac_ct_CC" && break
3561 if test "x$ac_ct_CC" = x; then
3564 case $cross_compiling:$ac_tool_warned in
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3567 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3568 ac_tool_warned=yes ;;
3577 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3579 as_fn_error $? "no acceptable C compiler found in \$PATH
3580 See \`config.log' for more details" "$LINENO" 5; }
3582 # Provide some information about the compiler.
3583 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3586 for ac_option in --version -v -V -qversion; do
3587 { { ac_try="$ac_compiler $ac_option >&5"
3589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3590 *) ac_try_echo=$ac_try;;
3592 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3593 $as_echo "$ac_try_echo"; } >&5
3594 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3596 if test -s conftest.err; then
3598 ... rest of stderr output deleted ...
3599 10q' conftest.err >conftest.er1
3600 cat conftest.er1 >&5
3602 rm -f conftest.er1 conftest.err
3603 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3604 test $ac_status = 0; }
3607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3608 /* end confdefs.h. */
3618 ac_clean_files_save=$ac_clean_files
3619 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3620 # Try to create an executable without -o first, disregard a.out.
3621 # It will help us diagnose broken compilers, and finding out an intuition
3623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3624 $as_echo_n "checking whether the C compiler works... " >&6; }
3625 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3627 # The possible output files:
3628 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3631 for ac_file in $ac_files
3634 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3635 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3640 if { { ac_try="$ac_link_default"
3642 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3643 *) ac_try_echo=$ac_try;;
3645 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3646 $as_echo "$ac_try_echo"; } >&5
3647 (eval "$ac_link_default") 2>&5
3649 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3650 test $ac_status = 0; }; then :
3651 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3652 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3653 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3654 # so that the user can short-circuit this test for compilers unknown to
3656 for ac_file in $ac_files ''
3658 test -f "$ac_file" || continue
3660 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3663 # We found the default executable, but exeext='' is most
3667 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3669 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3671 # We set ac_cv_exeext here because the later test for it is not
3672 # safe: cross compilers may not add the suffix if given an `-o'
3673 # argument, so we may need to know it at that point already.
3674 # Even if this section looks crufty: it has the advantage of
3681 test "$ac_cv_exeext" = no && ac_cv_exeext=
3686 if test -z "$ac_file"; then :
3687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 $as_echo "no" >&6; }
3689 $as_echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.$ac_ext >&5
3692 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3693 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3694 as_fn_error 77 "C compiler cannot create executables
3695 See \`config.log' for more details" "$LINENO" 5; }
3697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3698 $as_echo "yes" >&6; }
3700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3701 $as_echo_n "checking for C compiler default output file name... " >&6; }
3702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3703 $as_echo "$ac_file" >&6; }
3704 ac_exeext=$ac_cv_exeext
3706 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3707 ac_clean_files=$ac_clean_files_save
3708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3709 $as_echo_n "checking for suffix of executables... " >&6; }
3710 if { { ac_try="$ac_link"
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3716 $as_echo "$ac_try_echo"; } >&5
3717 (eval "$ac_link") 2>&5
3719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720 test $ac_status = 0; }; then :
3721 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3722 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3723 # work properly (i.e., refer to `conftest.exe'), while it won't with
3725 for ac_file in conftest.exe conftest conftest.*; do
3726 test -f "$ac_file" || continue
3728 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3729 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3735 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3736 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3737 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3738 See \`config.log' for more details" "$LINENO" 5; }
3740 rm -f conftest conftest$ac_cv_exeext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3742 $as_echo "$ac_cv_exeext" >&6; }
3744 rm -f conftest.$ac_ext
3745 EXEEXT=$ac_cv_exeext
3747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3748 /* end confdefs.h. */
3753 FILE *f = fopen ("conftest.out", "w");
3754 return ferror (f) || fclose (f) != 0;
3760 ac_clean_files="$ac_clean_files conftest.out"
3761 # Check that the compiler produces executables we can run. If not, either
3762 # the compiler is broken, or we cross compile.
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3764 $as_echo_n "checking whether we are cross compiling... " >&6; }
3765 if test "$cross_compiling" != yes; then
3766 { { ac_try="$ac_link"
3768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3769 *) ac_try_echo=$ac_try;;
3771 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3772 $as_echo "$ac_try_echo"; } >&5
3773 (eval "$ac_link") 2>&5
3775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3776 test $ac_status = 0; }
3777 if { ac_try='./conftest$ac_cv_exeext'
3778 { { case "(($ac_try" in
3779 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3780 *) ac_try_echo=$ac_try;;
3782 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3783 $as_echo "$ac_try_echo"; } >&5
3784 (eval "$ac_try") 2>&5
3786 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3787 test $ac_status = 0; }; }; then
3790 if test "$cross_compiling" = maybe; then
3793 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3794 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3795 as_fn_error $? "cannot run C compiled programs.
3796 If you meant to cross compile, use \`--host'.
3797 See \`config.log' for more details" "$LINENO" 5; }
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3802 $as_echo "$cross_compiling" >&6; }
3804 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3805 ac_clean_files=$ac_clean_files_save
3806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3807 $as_echo_n "checking for suffix of object files... " >&6; }
3808 if ${ac_cv_objext+:} false; then :
3809 $as_echo_n "(cached) " >&6
3811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3812 /* end confdefs.h. */
3822 rm -f conftest.o conftest.obj
3823 if { { ac_try="$ac_compile"
3825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3826 *) ac_try_echo=$ac_try;;
3828 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3829 $as_echo "$ac_try_echo"; } >&5
3830 (eval "$ac_compile") 2>&5
3832 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3833 test $ac_status = 0; }; then :
3834 for ac_file in conftest.o conftest.obj conftest.*; do
3835 test -f "$ac_file" || continue;
3837 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3838 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3843 $as_echo "$as_me: failed program was:" >&5
3844 sed 's/^/| /' conftest.$ac_ext >&5
3846 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3847 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3848 as_fn_error $? "cannot compute suffix of object files: cannot compile
3849 See \`config.log' for more details" "$LINENO" 5; }
3851 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3854 $as_echo "$ac_cv_objext" >&6; }
3855 OBJEXT=$ac_cv_objext
3857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3858 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3859 if ${ac_cv_c_compiler_gnu+:} false; then :
3860 $as_echo_n "(cached) " >&6
3862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3863 /* end confdefs.h. */
3876 if ac_fn_c_try_compile "$LINENO"; then :
3881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3882 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3886 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3887 if test $ac_compiler_gnu = yes; then
3892 ac_test_CFLAGS=${CFLAGS+set}
3893 ac_save_CFLAGS=$CFLAGS
3894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3895 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3896 if ${ac_cv_prog_cc_g+:} false; then :
3897 $as_echo_n "(cached) " >&6
3899 ac_save_c_werror_flag=$ac_c_werror_flag
3900 ac_c_werror_flag=yes
3903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3904 /* end confdefs.h. */
3914 if ac_fn_c_try_compile "$LINENO"; then :
3918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3919 /* end confdefs.h. */
3929 if ac_fn_c_try_compile "$LINENO"; then :
3932 ac_c_werror_flag=$ac_save_c_werror_flag
3934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3935 /* end confdefs.h. */
3945 if ac_fn_c_try_compile "$LINENO"; then :
3948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3953 ac_c_werror_flag=$ac_save_c_werror_flag
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3956 $as_echo "$ac_cv_prog_cc_g" >&6; }
3957 if test "$ac_test_CFLAGS" = set; then
3958 CFLAGS=$ac_save_CFLAGS
3959 elif test $ac_cv_prog_cc_g = yes; then
3960 if test "$GCC" = yes; then
3966 if test "$GCC" = yes; then
3972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3973 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3974 if ${ac_cv_prog_cc_c89+:} false; then :
3975 $as_echo_n "(cached) " >&6
3977 ac_cv_prog_cc_c89=no
3979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3980 /* end confdefs.h. */
3984 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3985 struct buf { int x; };
3986 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3987 static char *e (p, i)
3993 static char *f (char * (*g) (char **, int), char **p, ...)
3998 s = g (p, va_arg (v,int));
4003 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4004 function prototypes and stuff, but not '\xHH' hex character constants.
4005 These don't provoke an error unfortunately, instead are silently treated
4006 as 'x'. The following induces an error, until -std is added to get
4007 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4008 array size at least. It's necessary to write '\x00'==0 to get something
4009 that's true only with -std. */
4010 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4012 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4013 inside strings and character constants. */
4015 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4017 int test (int i, double x);
4018 struct s1 {int (*f) (int a);};
4019 struct s2 {int (*f) (double a);};
4020 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4026 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4031 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4032 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4034 CC="$ac_save_CC $ac_arg"
4035 if ac_fn_c_try_compile "$LINENO"; then :
4036 ac_cv_prog_cc_c89=$ac_arg
4038 rm -f core conftest.err conftest.$ac_objext
4039 test "x$ac_cv_prog_cc_c89" != "xno" && break
4041 rm -f conftest.$ac_ext
4046 case "x$ac_cv_prog_cc_c89" in
4048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4049 $as_echo "none needed" >&6; } ;;
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4052 $as_echo "unsupported" >&6; } ;;
4054 CC="$CC $ac_cv_prog_cc_c89"
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4056 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4058 if test "x$ac_cv_prog_cc_c89" != xno; then :
4063 ac_cpp='$CPP $CPPFLAGS'
4064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4069 ac_cpp='$CPP $CPPFLAGS'
4070 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4071 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4072 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4074 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4075 if ${am_cv_prog_cc_c_o+:} false; then :
4076 $as_echo_n "(cached) " >&6
4078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4079 /* end confdefs.h. */
4089 # Make sure it works both with $CC and with simple cc.
4090 # Following AC_PROG_CC_C_O, we do the test twice because some
4091 # compilers refuse to overwrite an existing .o file with -o,
4092 # though they will create one.
4093 am_cv_prog_cc_c_o=yes
4095 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4096 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4099 (exit $ac_status); } \
4100 && test -f conftest2.$ac_objext; then
4103 am_cv_prog_cc_c_o=no
4107 rm -f core conftest*
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4111 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4112 if test "$am_cv_prog_cc_c_o" != yes; then
4113 # Losing compiler, so override with the script.
4114 # FIXME: It is wrong to rewrite CC.
4115 # But if we don't then we get into trouble of one sort or another.
4116 # A longer-term fix would be to have automake use am__CC in this case,
4117 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4118 CC="$am_aux_dir/compile $CC"
4121 ac_cpp='$CPP $CPPFLAGS'
4122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126 DEPDIR="${am__leading_dot}deps"
4128 ac_config_commands="$ac_config_commands depfiles"
4130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
4131 $as_echo_n "checking whether ${MAKE-make} supports the include directive... " >&6; }
4132 cat > confinc.mk << 'END'
4134 @echo this is the am__doit target >confinc.out
4139 # BSD make does it like this.
4140 echo '.include "confinc.mk" # ignored' > confmf.BSD
4141 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
4142 echo 'include confinc.mk # ignored' > confmf.GNU
4144 for s in GNU BSD; do
4145 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
4146 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
4148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4149 (exit $ac_status); }
4150 case $?:`cat confinc.out 2>/dev/null` in #(
4151 '0:this is the am__doit target') :
4154 am__include='.include' am__quote='"' ;; #(
4156 am__include='include' am__quote='' ;;
4161 if test "$am__include" != "#"; then
4162 _am_result="yes ($s style)"
4166 rm -f confinc.* confmf.*
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
4168 $as_echo "${_am_result}" >&6; }
4170 # Check whether --enable-dependency-tracking was given.
4171 if test "${enable_dependency_tracking+set}" = set; then :
4172 enableval=$enable_dependency_tracking;
4175 if test "x$enable_dependency_tracking" != xno; then
4176 am_depcomp="$ac_aux_dir/depcomp"
4180 if test "x$enable_dependency_tracking" != xno; then
4190 depcc="$CC" am_compiler_list=
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4193 $as_echo_n "checking dependency style of $depcc... " >&6; }
4194 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4195 $as_echo_n "(cached) " >&6
4197 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4198 # We make a subdir and do the tests there. Otherwise we can end up
4199 # making bogus files that we don't know about and never remove. For
4200 # instance it was reported that on HP-UX the gcc test will end up
4201 # making a dummy file named 'D' -- because '-MD' means "put the output
4205 # Copy depcomp to subdir because otherwise we won't find it if we're
4206 # using a relative directory.
4207 cp "$am_depcomp" conftest.dir
4209 # We will build objects and dependencies in a subdirectory because
4210 # it helps to detect inapplicable dependency modes. For instance
4211 # both Tru64's cc and ICC support -MD to output dependencies as a
4212 # side effect of compilation, but ICC will put the dependencies in
4213 # the current directory while Tru64 will put them in the object
4217 am_cv_CC_dependencies_compiler_type=none
4218 if test "$am_compiler_list" = ""; then
4219 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4222 case " $depcc " in #(
4223 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4226 for depmode in $am_compiler_list; do
4227 # Setup a source with many dependencies, because some compilers
4228 # like to wrap large dependency lists on column 80 (with \), and
4229 # we should not choose a depcomp mode which is confused by this.
4231 # We need to recreate these files for each test, as the compiler may
4232 # overwrite some of them when testing with obscure command lines.
4233 # This happens at least with the AIX C compiler.
4235 for i in 1 2 3 4 5 6; do
4236 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4237 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4238 # Solaris 10 /bin/sh.
4239 echo '/* dummy */' > sub/conftst$i.h
4241 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4243 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4244 # mode. It turns out that the SunPro C++ compiler does not properly
4245 # handle '-M -o', and we need to detect this. Also, some Intel
4246 # versions had trouble with output in subdirs.
4247 am__obj=sub/conftest.${OBJEXT-o}
4248 am__minus_obj="-o $am__obj"
4251 # This depmode causes a compiler race in universal mode.
4252 test "$am__universal" = false || continue
4255 # After this tag, mechanisms are not by side-effect, so they'll
4256 # only be used when explicitly requested.
4257 if test "x$enable_dependency_tracking" = xyes; then
4263 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4264 # This compiler won't grok '-c -o', but also, the minuso test has
4265 # not run yet. These depmodes are late enough in the game, and
4266 # so weak that their functioning should not be impacted.
4267 am__obj=conftest.${OBJEXT-o}
4272 if depmode=$depmode \
4273 source=sub/conftest.c object=$am__obj \
4274 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4275 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4276 >/dev/null 2>conftest.err &&
4277 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4278 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4279 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4280 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4281 # icc doesn't choke on unknown options, it will just issue warnings
4282 # or remarks (even with -Werror). So we grep stderr for any message
4283 # that says an option was ignored or not supported.
4284 # When given -MP, icc 7.0 and 7.1 complain thusly:
4285 # icc: Command line warning: ignoring option '-M'; no argument required
4286 # The diagnosis changed in icc 8.0:
4287 # icc: Command line remark: option '-MP' not supported
4288 if (grep 'ignoring option' conftest.err ||
4289 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4290 am_cv_CC_dependencies_compiler_type=$depmode
4299 am_cv_CC_dependencies_compiler_type=none
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4304 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4305 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4308 test "x$enable_dependency_tracking" != xno \
4309 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4311 am__fastdepCC_FALSE='#'
4313 am__fastdepCC_TRUE='#'
4314 am__fastdepCC_FALSE=
4320 ac_cpp='$CPP $CPPFLAGS'
4321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4325 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4326 # On Suns, sometimes $CPP names a directory.
4327 if test -n "$CPP" && test -d "$CPP"; then
4330 if test -z "$CPP"; then
4331 if ${ac_cv_prog_CPP+:} false; then :
4332 $as_echo_n "(cached) " >&6
4334 # Double quotes because CPP needs to be expanded
4335 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4338 for ac_c_preproc_warn_flag in '' yes
4340 # Use a header file that comes with gcc, so configuring glibc
4341 # with a fresh cross-compiler works.
4342 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4343 # <limits.h> exists even on freestanding compilers.
4344 # On the NeXT, cc -E runs the code through the compiler's parser,
4345 # not just through cpp. "Syntax error" is here to catch this case.
4346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4347 /* end confdefs.h. */
4349 # include <limits.h>
4351 # include <assert.h>
4355 if ac_fn_c_try_cpp "$LINENO"; then :
4358 # Broken: fails on valid input.
4361 rm -f conftest.err conftest.i conftest.$ac_ext
4363 # OK, works on sane cases. Now check whether nonexistent headers
4364 # can be detected and how.
4365 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4366 /* end confdefs.h. */
4367 #include <ac_nonexistent.h>
4369 if ac_fn_c_try_cpp "$LINENO"; then :
4370 # Broken: success on invalid input.
4373 # Passes both tests.
4377 rm -f conftest.err conftest.i conftest.$ac_ext
4380 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4381 rm -f conftest.i conftest.err conftest.$ac_ext
4382 if $ac_preproc_ok; then :
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4395 $as_echo "$CPP" >&6; }
4397 for ac_c_preproc_warn_flag in '' yes
4399 # Use a header file that comes with gcc, so configuring glibc
4400 # with a fresh cross-compiler works.
4401 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4402 # <limits.h> exists even on freestanding compilers.
4403 # On the NeXT, cc -E runs the code through the compiler's parser,
4404 # not just through cpp. "Syntax error" is here to catch this case.
4405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4406 /* end confdefs.h. */
4408 # include <limits.h>
4410 # include <assert.h>
4414 if ac_fn_c_try_cpp "$LINENO"; then :
4417 # Broken: fails on valid input.
4420 rm -f conftest.err conftest.i conftest.$ac_ext
4422 # OK, works on sane cases. Now check whether nonexistent headers
4423 # can be detected and how.
4424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4425 /* end confdefs.h. */
4426 #include <ac_nonexistent.h>
4428 if ac_fn_c_try_cpp "$LINENO"; then :
4429 # Broken: success on invalid input.
4432 # Passes both tests.
4436 rm -f conftest.err conftest.i conftest.$ac_ext
4439 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4440 rm -f conftest.i conftest.err conftest.$ac_ext
4441 if $ac_preproc_ok; then :
4444 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4445 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4446 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4447 See \`config.log' for more details" "$LINENO" 5; }
4451 ac_cpp='$CPP $CPPFLAGS'
4452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4458 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4459 if ${ac_cv_path_GREP+:} false; then :
4460 $as_echo_n "(cached) " >&6
4462 if test -z "$GREP"; then
4463 ac_path_GREP_found=false
4464 # Loop through the user's path and test for each of PROGNAME-LIST
4465 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4466 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4469 test -z "$as_dir" && as_dir=.
4470 for ac_prog in grep ggrep; do
4471 for ac_exec_ext in '' $ac_executable_extensions; do
4472 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4473 as_fn_executable_p "$ac_path_GREP" || continue
4474 # Check for GNU ac_path_GREP and select it if it is found.
4475 # Check for GNU $ac_path_GREP
4476 case `"$ac_path_GREP" --version 2>&1` in
4478 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4481 $as_echo_n 0123456789 >"conftest.in"
4484 cat "conftest.in" "conftest.in" >"conftest.tmp"
4485 mv "conftest.tmp" "conftest.in"
4486 cp "conftest.in" "conftest.nl"
4487 $as_echo 'GREP' >> "conftest.nl"
4488 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4489 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4490 as_fn_arith $ac_count + 1 && ac_count=$as_val
4491 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4492 # Best one so far, save it but keep looking for a better one
4493 ac_cv_path_GREP="$ac_path_GREP"
4494 ac_path_GREP_max=$ac_count
4496 # 10*(2^10) chars as input seems more than enough
4497 test $ac_count -gt 10 && break
4499 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4502 $ac_path_GREP_found && break 3
4507 if test -z "$ac_cv_path_GREP"; then
4508 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4511 ac_cv_path_GREP=$GREP
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4516 $as_echo "$ac_cv_path_GREP" >&6; }
4517 GREP="$ac_cv_path_GREP"
4520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4521 $as_echo_n "checking for egrep... " >&6; }
4522 if ${ac_cv_path_EGREP+:} false; then :
4523 $as_echo_n "(cached) " >&6
4525 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4526 then ac_cv_path_EGREP="$GREP -E"
4528 if test -z "$EGREP"; then
4529 ac_path_EGREP_found=false
4530 # Loop through the user's path and test for each of PROGNAME-LIST
4531 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4532 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4535 test -z "$as_dir" && as_dir=.
4536 for ac_prog in egrep; do
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4539 as_fn_executable_p "$ac_path_EGREP" || continue
4540 # Check for GNU ac_path_EGREP and select it if it is found.
4541 # Check for GNU $ac_path_EGREP
4542 case `"$ac_path_EGREP" --version 2>&1` in
4544 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4547 $as_echo_n 0123456789 >"conftest.in"
4550 cat "conftest.in" "conftest.in" >"conftest.tmp"
4551 mv "conftest.tmp" "conftest.in"
4552 cp "conftest.in" "conftest.nl"
4553 $as_echo 'EGREP' >> "conftest.nl"
4554 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4555 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4556 as_fn_arith $ac_count + 1 && ac_count=$as_val
4557 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4558 # Best one so far, save it but keep looking for a better one
4559 ac_cv_path_EGREP="$ac_path_EGREP"
4560 ac_path_EGREP_max=$ac_count
4562 # 10*(2^10) chars as input seems more than enough
4563 test $ac_count -gt 10 && break
4565 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4568 $ac_path_EGREP_found && break 3
4573 if test -z "$ac_cv_path_EGREP"; then
4574 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4577 ac_cv_path_EGREP=$EGREP
4582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4583 $as_echo "$ac_cv_path_EGREP" >&6; }
4584 EGREP="$ac_cv_path_EGREP"
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4588 $as_echo_n "checking for ANSI C header files... " >&6; }
4589 if ${ac_cv_header_stdc+:} false; then :
4590 $as_echo_n "(cached) " >&6
4592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4593 /* end confdefs.h. */
4607 if ac_fn_c_try_compile "$LINENO"; then :
4608 ac_cv_header_stdc=yes
4610 ac_cv_header_stdc=no
4612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4614 if test $ac_cv_header_stdc = yes; then
4615 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4617 /* end confdefs.h. */
4621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4622 $EGREP "memchr" >/dev/null 2>&1; then :
4625 ac_cv_header_stdc=no
4631 if test $ac_cv_header_stdc = yes; then
4632 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4634 /* end confdefs.h. */
4638 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4639 $EGREP "free" >/dev/null 2>&1; then :
4642 ac_cv_header_stdc=no
4648 if test $ac_cv_header_stdc = yes; then
4649 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4650 if test "$cross_compiling" = yes; then :
4653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4654 /* end confdefs.h. */
4657 #if ((' ' & 0x0FF) == 0x020)
4658 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4659 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4661 # define ISLOWER(c) \
4662 (('a' <= (c) && (c) <= 'i') \
4663 || ('j' <= (c) && (c) <= 'r') \
4664 || ('s' <= (c) && (c) <= 'z'))
4665 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4668 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4673 for (i = 0; i < 256; i++)
4674 if (XOR (islower (i), ISLOWER (i))
4675 || toupper (i) != TOUPPER (i))
4680 if ac_fn_c_try_run "$LINENO"; then :
4683 ac_cv_header_stdc=no
4685 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4686 conftest.$ac_objext conftest.beam conftest.$ac_ext
4691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4692 $as_echo "$ac_cv_header_stdc" >&6; }
4693 if test $ac_cv_header_stdc = yes; then
4695 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4699 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4700 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4701 inttypes.h stdint.h unistd.h
4703 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4704 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4706 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4707 cat >>confdefs.h <<_ACEOF
4708 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4717 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4718 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4725 if test "$MINIX" = yes; then
4727 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4730 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4733 $as_echo "#define _MINIX 1" >>confdefs.h
4738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4739 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4740 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4741 $as_echo_n "(cached) " >&6
4743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4744 /* end confdefs.h. */
4746 # define __EXTENSIONS__ 1
4747 $ac_includes_default
4756 if ac_fn_c_try_compile "$LINENO"; then :
4757 ac_cv_safe_to_define___extensions__=yes
4759 ac_cv_safe_to_define___extensions__=no
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4764 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4765 test $ac_cv_safe_to_define___extensions__ = yes &&
4766 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4768 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4770 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4772 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4774 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler is Clang" >&5
4778 $as_echo_n "checking if the compiler is Clang... " >&6; }
4779 if ${rra_cv_prog_cc_clang+:} false; then :
4780 $as_echo_n "(cached) " >&6
4782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4783 /* end confdefs.h. */
4790 if ac_fn_c_try_compile "$LINENO"; then :
4791 rra_cv_prog_cc_clang=yes
4793 rra_cv_prog_cc_clang=no
4795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_prog_cc_clang" >&5
4798 $as_echo "$rra_cv_prog_cc_clang" >&6; }
4799 if test x"$rra_cv_prog_cc_clang" = xyes; then :
4803 if test x"$CLANG" = xyes; then :
4804 WARNINGS_CFLAGS="-Werror"
4806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Weverything" >&5
4807 $as_echo_n "checking if $CC supports -Weverything... " >&6; }
4808 if ${rra_cv_compiler_c__Weverything+:} false; then :
4809 $as_echo_n "(cached) " >&6
4812 case -Weverything in #(
4814 CFLAGS="$CFLAGS `echo "-Weverything" | sed 's/-Wno-/-W/'`" ;; #(
4816 CFLAGS="$CFLAGS -Weverything" ;; #(
4820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4821 /* end confdefs.h. */
4831 if ac_fn_c_try_compile "$LINENO"; then :
4832 rra_cv_compiler_c__Weverything=yes
4834 rra_cv_compiler_c__Weverything=no
4836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Weverything" >&5
4841 $as_echo "$rra_cv_compiler_c__Weverything" >&6; }
4842 if test x"$rra_cv_compiler_c__Weverything" = xyes; then :
4843 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Weverything"
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-cast-qual" >&5
4846 $as_echo_n "checking if $CC supports -Wno-cast-qual... " >&6; }
4847 if ${rra_cv_compiler_c__Wno_cast_qual+:} false; then :
4848 $as_echo_n "(cached) " >&6
4851 case -Wno-cast-qual in #(
4853 CFLAGS="$CFLAGS `echo "-Wno-cast-qual" | sed 's/-Wno-/-W/'`" ;; #(
4855 CFLAGS="$CFLAGS -Wno-cast-qual" ;; #(
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4870 if ac_fn_c_try_compile "$LINENO"; then :
4871 rra_cv_compiler_c__Wno_cast_qual=yes
4873 rra_cv_compiler_c__Wno_cast_qual=no
4875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_cast_qual" >&5
4880 $as_echo "$rra_cv_compiler_c__Wno_cast_qual" >&6; }
4881 if test x"$rra_cv_compiler_c__Wno_cast_qual" = xyes; then :
4882 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-cast-qual"
4884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-disabled-macro-expansion" >&5
4885 $as_echo_n "checking if $CC supports -Wno-disabled-macro-expansion... " >&6; }
4886 if ${rra_cv_compiler_c__Wno_disabled_macro_expansion+:} false; then :
4887 $as_echo_n "(cached) " >&6
4890 case -Wno-disabled-macro-expansion in #(
4892 CFLAGS="$CFLAGS `echo "-Wno-disabled-macro-expansion" | sed 's/-Wno-/-W/'`" ;; #(
4894 CFLAGS="$CFLAGS -Wno-disabled-macro-expansion" ;; #(
4898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4899 /* end confdefs.h. */
4909 if ac_fn_c_try_compile "$LINENO"; then :
4910 rra_cv_compiler_c__Wno_disabled_macro_expansion=yes
4912 rra_cv_compiler_c__Wno_disabled_macro_expansion=no
4914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_disabled_macro_expansion" >&5
4919 $as_echo "$rra_cv_compiler_c__Wno_disabled_macro_expansion" >&6; }
4920 if test x"$rra_cv_compiler_c__Wno_disabled_macro_expansion" = xyes; then :
4921 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-disabled-macro-expansion"
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-padded" >&5
4924 $as_echo_n "checking if $CC supports -Wno-padded... " >&6; }
4925 if ${rra_cv_compiler_c__Wno_padded+:} false; then :
4926 $as_echo_n "(cached) " >&6
4929 case -Wno-padded in #(
4931 CFLAGS="$CFLAGS `echo "-Wno-padded" | sed 's/-Wno-/-W/'`" ;; #(
4933 CFLAGS="$CFLAGS -Wno-padded" ;; #(
4937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4938 /* end confdefs.h. */
4948 if ac_fn_c_try_compile "$LINENO"; then :
4949 rra_cv_compiler_c__Wno_padded=yes
4951 rra_cv_compiler_c__Wno_padded=no
4953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_padded" >&5
4958 $as_echo "$rra_cv_compiler_c__Wno_padded" >&6; }
4959 if test x"$rra_cv_compiler_c__Wno_padded" = xyes; then :
4960 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-padded"
4962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-sign-conversion" >&5
4963 $as_echo_n "checking if $CC supports -Wno-sign-conversion... " >&6; }
4964 if ${rra_cv_compiler_c__Wno_sign_conversion+:} false; then :
4965 $as_echo_n "(cached) " >&6
4968 case -Wno-sign-conversion in #(
4970 CFLAGS="$CFLAGS `echo "-Wno-sign-conversion" | sed 's/-Wno-/-W/'`" ;; #(
4972 CFLAGS="$CFLAGS -Wno-sign-conversion" ;; #(
4976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4977 /* end confdefs.h. */
4987 if ac_fn_c_try_compile "$LINENO"; then :
4988 rra_cv_compiler_c__Wno_sign_conversion=yes
4990 rra_cv_compiler_c__Wno_sign_conversion=no
4992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_sign_conversion" >&5
4997 $as_echo "$rra_cv_compiler_c__Wno_sign_conversion" >&6; }
4998 if test x"$rra_cv_compiler_c__Wno_sign_conversion" = xyes; then :
4999 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-sign-conversion"
5001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-reserved-id-macro" >&5
5002 $as_echo_n "checking if $CC supports -Wno-reserved-id-macro... " >&6; }
5003 if ${rra_cv_compiler_c__Wno_reserved_id_macro+:} false; then :
5004 $as_echo_n "(cached) " >&6
5007 case -Wno-reserved-id-macro in #(
5009 CFLAGS="$CFLAGS `echo "-Wno-reserved-id-macro" | sed 's/-Wno-/-W/'`" ;; #(
5011 CFLAGS="$CFLAGS -Wno-reserved-id-macro" ;; #(
5015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5016 /* end confdefs.h. */
5026 if ac_fn_c_try_compile "$LINENO"; then :
5027 rra_cv_compiler_c__Wno_reserved_id_macro=yes
5029 rra_cv_compiler_c__Wno_reserved_id_macro=no
5031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_reserved_id_macro" >&5
5036 $as_echo "$rra_cv_compiler_c__Wno_reserved_id_macro" >&6; }
5037 if test x"$rra_cv_compiler_c__Wno_reserved_id_macro" = xyes; then :
5038 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-reserved-id-macro"
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-tautological-pointer-compare" >&5
5041 $as_echo_n "checking if $CC supports -Wno-tautological-pointer-compare... " >&6; }
5042 if ${rra_cv_compiler_c__Wno_tautological_pointer_compare+:} false; then :
5043 $as_echo_n "(cached) " >&6
5046 case -Wno-tautological-pointer-compare in #(
5048 CFLAGS="$CFLAGS `echo "-Wno-tautological-pointer-compare" | sed 's/-Wno-/-W/'`" ;; #(
5050 CFLAGS="$CFLAGS -Wno-tautological-pointer-compare" ;; #(
5054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5055 /* end confdefs.h. */
5065 if ac_fn_c_try_compile "$LINENO"; then :
5066 rra_cv_compiler_c__Wno_tautological_pointer_compare=yes
5068 rra_cv_compiler_c__Wno_tautological_pointer_compare=no
5070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_tautological_pointer_compare" >&5
5075 $as_echo "$rra_cv_compiler_c__Wno_tautological_pointer_compare" >&6; }
5076 if test x"$rra_cv_compiler_c__Wno_tautological_pointer_compare" = xyes; then :
5077 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-tautological-pointer-compare"
5079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-undef" >&5
5080 $as_echo_n "checking if $CC supports -Wno-undef... " >&6; }
5081 if ${rra_cv_compiler_c__Wno_undef+:} false; then :
5082 $as_echo_n "(cached) " >&6
5085 case -Wno-undef in #(
5087 CFLAGS="$CFLAGS `echo "-Wno-undef" | sed 's/-Wno-/-W/'`" ;; #(
5089 CFLAGS="$CFLAGS -Wno-undef" ;; #(
5093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5094 /* end confdefs.h. */
5104 if ac_fn_c_try_compile "$LINENO"; then :
5105 rra_cv_compiler_c__Wno_undef=yes
5107 rra_cv_compiler_c__Wno_undef=no
5109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_undef" >&5
5114 $as_echo "$rra_cv_compiler_c__Wno_undef" >&6; }
5115 if test x"$rra_cv_compiler_c__Wno_undef" = xyes; then :
5116 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-undef"
5118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unreachable-code" >&5
5119 $as_echo_n "checking if $CC supports -Wno-unreachable-code... " >&6; }
5120 if ${rra_cv_compiler_c__Wno_unreachable_code+:} false; then :
5121 $as_echo_n "(cached) " >&6
5124 case -Wno-unreachable-code in #(
5126 CFLAGS="$CFLAGS `echo "-Wno-unreachable-code" | sed 's/-Wno-/-W/'`" ;; #(
5128 CFLAGS="$CFLAGS -Wno-unreachable-code" ;; #(
5132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5133 /* end confdefs.h. */
5143 if ac_fn_c_try_compile "$LINENO"; then :
5144 rra_cv_compiler_c__Wno_unreachable_code=yes
5146 rra_cv_compiler_c__Wno_unreachable_code=no
5148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unreachable_code" >&5
5153 $as_echo "$rra_cv_compiler_c__Wno_unreachable_code" >&6; }
5154 if test x"$rra_cv_compiler_c__Wno_unreachable_code" = xyes; then :
5155 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unreachable-code"
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unreachable-code-return" >&5
5158 $as_echo_n "checking if $CC supports -Wno-unreachable-code-return... " >&6; }
5159 if ${rra_cv_compiler_c__Wno_unreachable_code_return+:} false; then :
5160 $as_echo_n "(cached) " >&6
5163 case -Wno-unreachable-code-return in #(
5165 CFLAGS="$CFLAGS `echo "-Wno-unreachable-code-return" | sed 's/-Wno-/-W/'`" ;; #(
5167 CFLAGS="$CFLAGS -Wno-unreachable-code-return" ;; #(
5171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5172 /* end confdefs.h. */
5182 if ac_fn_c_try_compile "$LINENO"; then :
5183 rra_cv_compiler_c__Wno_unreachable_code_return=yes
5185 rra_cv_compiler_c__Wno_unreachable_code_return=no
5187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unreachable_code_return" >&5
5192 $as_echo "$rra_cv_compiler_c__Wno_unreachable_code_return" >&6; }
5193 if test x"$rra_cv_compiler_c__Wno_unreachable_code_return" = xyes; then :
5194 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unreachable-code-return"
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-unused-macros" >&5
5197 $as_echo_n "checking if $CC supports -Wno-unused-macros... " >&6; }
5198 if ${rra_cv_compiler_c__Wno_unused_macros+:} false; then :
5199 $as_echo_n "(cached) " >&6
5202 case -Wno-unused-macros in #(
5204 CFLAGS="$CFLAGS `echo "-Wno-unused-macros" | sed 's/-Wno-/-W/'`" ;; #(
5206 CFLAGS="$CFLAGS -Wno-unused-macros" ;; #(
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5221 if ac_fn_c_try_compile "$LINENO"; then :
5222 rra_cv_compiler_c__Wno_unused_macros=yes
5224 rra_cv_compiler_c__Wno_unused_macros=no
5226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_unused_macros" >&5
5231 $as_echo "$rra_cv_compiler_c__Wno_unused_macros" >&6; }
5232 if test x"$rra_cv_compiler_c__Wno_unused_macros" = xyes; then :
5233 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-unused-macros"
5235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-used-but-marked-unused" >&5
5236 $as_echo_n "checking if $CC supports -Wno-used-but-marked-unused... " >&6; }
5237 if ${rra_cv_compiler_c__Wno_used_but_marked_unused+:} false; then :
5238 $as_echo_n "(cached) " >&6
5241 case -Wno-used-but-marked-unused in #(
5243 CFLAGS="$CFLAGS `echo "-Wno-used-but-marked-unused" | sed 's/-Wno-/-W/'`" ;; #(
5245 CFLAGS="$CFLAGS -Wno-used-but-marked-unused" ;; #(
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5260 if ac_fn_c_try_compile "$LINENO"; then :
5261 rra_cv_compiler_c__Wno_used_but_marked_unused=yes
5263 rra_cv_compiler_c__Wno_used_but_marked_unused=no
5265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_used_but_marked_unused" >&5
5270 $as_echo "$rra_cv_compiler_c__Wno_used_but_marked_unused" >&6; }
5271 if test x"$rra_cv_compiler_c__Wno_used_but_marked_unused" = xyes; then :
5272 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-used-but-marked-unused"
5275 WARNINGS_CFLAGS="-g -O2 -D_FORTIFY_SOURCE=2 -Werror"
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-overflow" >&5
5278 $as_echo_n "checking if $CC supports -fstrict-overflow... " >&6; }
5279 if ${rra_cv_compiler_c__fstrict_overflow+:} false; then :
5280 $as_echo_n "(cached) " >&6
5283 case -fstrict-overflow in #(
5285 CFLAGS="$CFLAGS `echo "-fstrict-overflow" | sed 's/-Wno-/-W/'`" ;; #(
5287 CFLAGS="$CFLAGS -fstrict-overflow" ;; #(
5291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5292 /* end confdefs.h. */
5302 if ac_fn_c_try_compile "$LINENO"; then :
5303 rra_cv_compiler_c__fstrict_overflow=yes
5305 rra_cv_compiler_c__fstrict_overflow=no
5307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_overflow" >&5
5312 $as_echo "$rra_cv_compiler_c__fstrict_overflow" >&6; }
5313 if test x"$rra_cv_compiler_c__fstrict_overflow" = xyes; then :
5314 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-overflow"
5316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -fstrict-aliasing" >&5
5317 $as_echo_n "checking if $CC supports -fstrict-aliasing... " >&6; }
5318 if ${rra_cv_compiler_c__fstrict_aliasing+:} false; then :
5319 $as_echo_n "(cached) " >&6
5322 case -fstrict-aliasing in #(
5324 CFLAGS="$CFLAGS `echo "-fstrict-aliasing" | sed 's/-Wno-/-W/'`" ;; #(
5326 CFLAGS="$CFLAGS -fstrict-aliasing" ;; #(
5330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5331 /* end confdefs.h. */
5341 if ac_fn_c_try_compile "$LINENO"; then :
5342 rra_cv_compiler_c__fstrict_aliasing=yes
5344 rra_cv_compiler_c__fstrict_aliasing=no
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__fstrict_aliasing" >&5
5351 $as_echo "$rra_cv_compiler_c__fstrict_aliasing" >&6; }
5352 if test x"$rra_cv_compiler_c__fstrict_aliasing" = xyes; then :
5353 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -fstrict-aliasing"
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wall" >&5
5356 $as_echo_n "checking if $CC supports -Wall... " >&6; }
5357 if ${rra_cv_compiler_c__Wall+:} false; then :
5358 $as_echo_n "(cached) " >&6
5363 CFLAGS="$CFLAGS `echo "-Wall" | sed 's/-Wno-/-W/'`" ;; #(
5365 CFLAGS="$CFLAGS -Wall" ;; #(
5369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5370 /* end confdefs.h. */
5380 if ac_fn_c_try_compile "$LINENO"; then :
5381 rra_cv_compiler_c__Wall=yes
5383 rra_cv_compiler_c__Wall=no
5385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wall" >&5
5390 $as_echo "$rra_cv_compiler_c__Wall" >&6; }
5391 if test x"$rra_cv_compiler_c__Wall" = xyes; then :
5392 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wall"
5394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wextra" >&5
5395 $as_echo_n "checking if $CC supports -Wextra... " >&6; }
5396 if ${rra_cv_compiler_c__Wextra+:} false; then :
5397 $as_echo_n "(cached) " >&6
5402 CFLAGS="$CFLAGS `echo "-Wextra" | sed 's/-Wno-/-W/'`" ;; #(
5404 CFLAGS="$CFLAGS -Wextra" ;; #(
5408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5409 /* end confdefs.h. */
5419 if ac_fn_c_try_compile "$LINENO"; then :
5420 rra_cv_compiler_c__Wextra=yes
5422 rra_cv_compiler_c__Wextra=no
5424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wextra" >&5
5429 $as_echo "$rra_cv_compiler_c__Wextra" >&6; }
5430 if test x"$rra_cv_compiler_c__Wextra" = xyes; then :
5431 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wextra"
5433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat=2" >&5
5434 $as_echo_n "checking if $CC supports -Wformat=2... " >&6; }
5435 if ${rra_cv_compiler_c__Wformat_2+:} false; then :
5436 $as_echo_n "(cached) " >&6
5439 case -Wformat=2 in #(
5441 CFLAGS="$CFLAGS `echo "-Wformat=2" | sed 's/-Wno-/-W/'`" ;; #(
5443 CFLAGS="$CFLAGS -Wformat=2" ;; #(
5447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5448 /* end confdefs.h. */
5458 if ac_fn_c_try_compile "$LINENO"; then :
5459 rra_cv_compiler_c__Wformat_2=yes
5461 rra_cv_compiler_c__Wformat_2=no
5463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_2" >&5
5468 $as_echo "$rra_cv_compiler_c__Wformat_2" >&6; }
5469 if test x"$rra_cv_compiler_c__Wformat_2" = xyes; then :
5470 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat=2"
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-overflow=2" >&5
5473 $as_echo_n "checking if $CC supports -Wformat-overflow=2... " >&6; }
5474 if ${rra_cv_compiler_c__Wformat_overflow_2+:} false; then :
5475 $as_echo_n "(cached) " >&6
5478 case -Wformat-overflow=2 in #(
5480 CFLAGS="$CFLAGS `echo "-Wformat-overflow=2" | sed 's/-Wno-/-W/'`" ;; #(
5482 CFLAGS="$CFLAGS -Wformat-overflow=2" ;; #(
5486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5487 /* end confdefs.h. */
5497 if ac_fn_c_try_compile "$LINENO"; then :
5498 rra_cv_compiler_c__Wformat_overflow_2=yes
5500 rra_cv_compiler_c__Wformat_overflow_2=no
5502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_overflow_2" >&5
5507 $as_echo "$rra_cv_compiler_c__Wformat_overflow_2" >&6; }
5508 if test x"$rra_cv_compiler_c__Wformat_overflow_2" = xyes; then :
5509 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-overflow=2"
5511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-signedness" >&5
5512 $as_echo_n "checking if $CC supports -Wformat-signedness... " >&6; }
5513 if ${rra_cv_compiler_c__Wformat_signedness+:} false; then :
5514 $as_echo_n "(cached) " >&6
5517 case -Wformat-signedness in #(
5519 CFLAGS="$CFLAGS `echo "-Wformat-signedness" | sed 's/-Wno-/-W/'`" ;; #(
5521 CFLAGS="$CFLAGS -Wformat-signedness" ;; #(
5525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5526 /* end confdefs.h. */
5536 if ac_fn_c_try_compile "$LINENO"; then :
5537 rra_cv_compiler_c__Wformat_signedness=yes
5539 rra_cv_compiler_c__Wformat_signedness=no
5541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_signedness" >&5
5546 $as_echo "$rra_cv_compiler_c__Wformat_signedness" >&6; }
5547 if test x"$rra_cv_compiler_c__Wformat_signedness" = xyes; then :
5548 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-signedness"
5550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wformat-truncation=2" >&5
5551 $as_echo_n "checking if $CC supports -Wformat-truncation=2... " >&6; }
5552 if ${rra_cv_compiler_c__Wformat_truncation_2+:} false; then :
5553 $as_echo_n "(cached) " >&6
5556 case -Wformat-truncation=2 in #(
5558 CFLAGS="$CFLAGS `echo "-Wformat-truncation=2" | sed 's/-Wno-/-W/'`" ;; #(
5560 CFLAGS="$CFLAGS -Wformat-truncation=2" ;; #(
5564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5565 /* end confdefs.h. */
5575 if ac_fn_c_try_compile "$LINENO"; then :
5576 rra_cv_compiler_c__Wformat_truncation_2=yes
5578 rra_cv_compiler_c__Wformat_truncation_2=no
5580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wformat_truncation_2" >&5
5585 $as_echo "$rra_cv_compiler_c__Wformat_truncation_2" >&6; }
5586 if test x"$rra_cv_compiler_c__Wformat_truncation_2" = xyes; then :
5587 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wformat-truncation=2"
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnull-dereference" >&5
5590 $as_echo_n "checking if $CC supports -Wnull-dereference... " >&6; }
5591 if ${rra_cv_compiler_c__Wnull_dereference+:} false; then :
5592 $as_echo_n "(cached) " >&6
5595 case -Wnull-dereference in #(
5597 CFLAGS="$CFLAGS `echo "-Wnull-dereference" | sed 's/-Wno-/-W/'`" ;; #(
5599 CFLAGS="$CFLAGS -Wnull-dereference" ;; #(
5603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5604 /* end confdefs.h. */
5614 if ac_fn_c_try_compile "$LINENO"; then :
5615 rra_cv_compiler_c__Wnull_dereference=yes
5617 rra_cv_compiler_c__Wnull_dereference=no
5619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnull_dereference" >&5
5624 $as_echo "$rra_cv_compiler_c__Wnull_dereference" >&6; }
5625 if test x"$rra_cv_compiler_c__Wnull_dereference" = xyes; then :
5626 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnull-dereference"
5628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winit-self" >&5
5629 $as_echo_n "checking if $CC supports -Winit-self... " >&6; }
5630 if ${rra_cv_compiler_c__Winit_self+:} false; then :
5631 $as_echo_n "(cached) " >&6
5634 case -Winit-self in #(
5636 CFLAGS="$CFLAGS `echo "-Winit-self" | sed 's/-Wno-/-W/'`" ;; #(
5638 CFLAGS="$CFLAGS -Winit-self" ;; #(
5642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5643 /* end confdefs.h. */
5653 if ac_fn_c_try_compile "$LINENO"; then :
5654 rra_cv_compiler_c__Winit_self=yes
5656 rra_cv_compiler_c__Winit_self=no
5658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winit_self" >&5
5663 $as_echo "$rra_cv_compiler_c__Winit_self" >&6; }
5664 if test x"$rra_cv_compiler_c__Winit_self" = xyes; then :
5665 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winit-self"
5667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wswitch-enum" >&5
5668 $as_echo_n "checking if $CC supports -Wswitch-enum... " >&6; }
5669 if ${rra_cv_compiler_c__Wswitch_enum+:} false; then :
5670 $as_echo_n "(cached) " >&6
5673 case -Wswitch-enum in #(
5675 CFLAGS="$CFLAGS `echo "-Wswitch-enum" | sed 's/-Wno-/-W/'`" ;; #(
5677 CFLAGS="$CFLAGS -Wswitch-enum" ;; #(
5681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5682 /* end confdefs.h. */
5692 if ac_fn_c_try_compile "$LINENO"; then :
5693 rra_cv_compiler_c__Wswitch_enum=yes
5695 rra_cv_compiler_c__Wswitch_enum=no
5697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wswitch_enum" >&5
5702 $as_echo "$rra_cv_compiler_c__Wswitch_enum" >&6; }
5703 if test x"$rra_cv_compiler_c__Wswitch_enum" = xyes; then :
5704 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wswitch-enum"
5706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-overflow=5" >&5
5707 $as_echo_n "checking if $CC supports -Wstrict-overflow=5... " >&6; }
5708 if ${rra_cv_compiler_c__Wstrict_overflow_5+:} false; then :
5709 $as_echo_n "(cached) " >&6
5712 case -Wstrict-overflow=5 in #(
5714 CFLAGS="$CFLAGS `echo "-Wstrict-overflow=5" | sed 's/-Wno-/-W/'`" ;; #(
5716 CFLAGS="$CFLAGS -Wstrict-overflow=5" ;; #(
5720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5721 /* end confdefs.h. */
5731 if ac_fn_c_try_compile "$LINENO"; then :
5732 rra_cv_compiler_c__Wstrict_overflow_5=yes
5734 rra_cv_compiler_c__Wstrict_overflow_5=no
5736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_overflow_5" >&5
5741 $as_echo "$rra_cv_compiler_c__Wstrict_overflow_5" >&6; }
5742 if test x"$rra_cv_compiler_c__Wstrict_overflow_5" = xyes; then :
5743 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-overflow=5"
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-format-attribute" >&5
5746 $as_echo_n "checking if $CC supports -Wmissing-format-attribute... " >&6; }
5747 if ${rra_cv_compiler_c__Wmissing_format_attribute+:} false; then :
5748 $as_echo_n "(cached) " >&6
5751 case -Wmissing-format-attribute in #(
5753 CFLAGS="$CFLAGS `echo "-Wmissing-format-attribute" | sed 's/-Wno-/-W/'`" ;; #(
5755 CFLAGS="$CFLAGS -Wmissing-format-attribute" ;; #(
5759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5760 /* end confdefs.h. */
5770 if ac_fn_c_try_compile "$LINENO"; then :
5771 rra_cv_compiler_c__Wmissing_format_attribute=yes
5773 rra_cv_compiler_c__Wmissing_format_attribute=no
5775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_format_attribute" >&5
5780 $as_echo "$rra_cv_compiler_c__Wmissing_format_attribute" >&6; }
5781 if test x"$rra_cv_compiler_c__Wmissing_format_attribute" = xyes; then :
5782 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-format-attribute"
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Walloc-zero" >&5
5785 $as_echo_n "checking if $CC supports -Walloc-zero... " >&6; }
5786 if ${rra_cv_compiler_c__Walloc_zero+:} false; then :
5787 $as_echo_n "(cached) " >&6
5790 case -Walloc-zero in #(
5792 CFLAGS="$CFLAGS `echo "-Walloc-zero" | sed 's/-Wno-/-W/'`" ;; #(
5794 CFLAGS="$CFLAGS -Walloc-zero" ;; #(
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5809 if ac_fn_c_try_compile "$LINENO"; then :
5810 rra_cv_compiler_c__Walloc_zero=yes
5812 rra_cv_compiler_c__Walloc_zero=no
5814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Walloc_zero" >&5
5819 $as_echo "$rra_cv_compiler_c__Walloc_zero" >&6; }
5820 if test x"$rra_cv_compiler_c__Walloc_zero" = xyes; then :
5821 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Walloc-zero"
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-branches" >&5
5824 $as_echo_n "checking if $CC supports -Wduplicated-branches... " >&6; }
5825 if ${rra_cv_compiler_c__Wduplicated_branches+:} false; then :
5826 $as_echo_n "(cached) " >&6
5829 case -Wduplicated-branches in #(
5831 CFLAGS="$CFLAGS `echo "-Wduplicated-branches" | sed 's/-Wno-/-W/'`" ;; #(
5833 CFLAGS="$CFLAGS -Wduplicated-branches" ;; #(
5837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5838 /* end confdefs.h. */
5848 if ac_fn_c_try_compile "$LINENO"; then :
5849 rra_cv_compiler_c__Wduplicated_branches=yes
5851 rra_cv_compiler_c__Wduplicated_branches=no
5853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_branches" >&5
5858 $as_echo "$rra_cv_compiler_c__Wduplicated_branches" >&6; }
5859 if test x"$rra_cv_compiler_c__Wduplicated_branches" = xyes; then :
5860 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-branches"
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wduplicated-cond" >&5
5863 $as_echo_n "checking if $CC supports -Wduplicated-cond... " >&6; }
5864 if ${rra_cv_compiler_c__Wduplicated_cond+:} false; then :
5865 $as_echo_n "(cached) " >&6
5868 case -Wduplicated-cond in #(
5870 CFLAGS="$CFLAGS `echo "-Wduplicated-cond" | sed 's/-Wno-/-W/'`" ;; #(
5872 CFLAGS="$CFLAGS -Wduplicated-cond" ;; #(
5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5887 if ac_fn_c_try_compile "$LINENO"; then :
5888 rra_cv_compiler_c__Wduplicated_cond=yes
5890 rra_cv_compiler_c__Wduplicated_cond=no
5892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wduplicated_cond" >&5
5897 $as_echo "$rra_cv_compiler_c__Wduplicated_cond" >&6; }
5898 if test x"$rra_cv_compiler_c__Wduplicated_cond" = xyes; then :
5899 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wduplicated-cond"
5901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wtrampolines" >&5
5902 $as_echo_n "checking if $CC supports -Wtrampolines... " >&6; }
5903 if ${rra_cv_compiler_c__Wtrampolines+:} false; then :
5904 $as_echo_n "(cached) " >&6
5907 case -Wtrampolines in #(
5909 CFLAGS="$CFLAGS `echo "-Wtrampolines" | sed 's/-Wno-/-W/'`" ;; #(
5911 CFLAGS="$CFLAGS -Wtrampolines" ;; #(
5915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5916 /* end confdefs.h. */
5926 if ac_fn_c_try_compile "$LINENO"; then :
5927 rra_cv_compiler_c__Wtrampolines=yes
5929 rra_cv_compiler_c__Wtrampolines=no
5931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wtrampolines" >&5
5936 $as_echo "$rra_cv_compiler_c__Wtrampolines" >&6; }
5937 if test x"$rra_cv_compiler_c__Wtrampolines" = xyes; then :
5938 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wtrampolines"
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wfloat-equal" >&5
5941 $as_echo_n "checking if $CC supports -Wfloat-equal... " >&6; }
5942 if ${rra_cv_compiler_c__Wfloat_equal+:} false; then :
5943 $as_echo_n "(cached) " >&6
5946 case -Wfloat-equal in #(
5948 CFLAGS="$CFLAGS `echo "-Wfloat-equal" | sed 's/-Wno-/-W/'`" ;; #(
5950 CFLAGS="$CFLAGS -Wfloat-equal" ;; #(
5954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5955 /* end confdefs.h. */
5965 if ac_fn_c_try_compile "$LINENO"; then :
5966 rra_cv_compiler_c__Wfloat_equal=yes
5968 rra_cv_compiler_c__Wfloat_equal=no
5970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wfloat_equal" >&5
5975 $as_echo "$rra_cv_compiler_c__Wfloat_equal" >&6; }
5976 if test x"$rra_cv_compiler_c__Wfloat_equal" = xyes; then :
5977 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wfloat-equal"
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdeclaration-after-statement" >&5
5980 $as_echo_n "checking if $CC supports -Wdeclaration-after-statement... " >&6; }
5981 if ${rra_cv_compiler_c__Wdeclaration_after_statement+:} false; then :
5982 $as_echo_n "(cached) " >&6
5985 case -Wdeclaration-after-statement in #(
5987 CFLAGS="$CFLAGS `echo "-Wdeclaration-after-statement" | sed 's/-Wno-/-W/'`" ;; #(
5989 CFLAGS="$CFLAGS -Wdeclaration-after-statement" ;; #(
5993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5994 /* end confdefs.h. */
6004 if ac_fn_c_try_compile "$LINENO"; then :
6005 rra_cv_compiler_c__Wdeclaration_after_statement=yes
6007 rra_cv_compiler_c__Wdeclaration_after_statement=no
6009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdeclaration_after_statement" >&5
6014 $as_echo "$rra_cv_compiler_c__Wdeclaration_after_statement" >&6; }
6015 if test x"$rra_cv_compiler_c__Wdeclaration_after_statement" = xyes; then :
6016 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdeclaration-after-statement"
6018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wshadow" >&5
6019 $as_echo_n "checking if $CC supports -Wshadow... " >&6; }
6020 if ${rra_cv_compiler_c__Wshadow+:} false; then :
6021 $as_echo_n "(cached) " >&6
6026 CFLAGS="$CFLAGS `echo "-Wshadow" | sed 's/-Wno-/-W/'`" ;; #(
6028 CFLAGS="$CFLAGS -Wshadow" ;; #(
6032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6033 /* end confdefs.h. */
6043 if ac_fn_c_try_compile "$LINENO"; then :
6044 rra_cv_compiler_c__Wshadow=yes
6046 rra_cv_compiler_c__Wshadow=no
6048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wshadow" >&5
6053 $as_echo "$rra_cv_compiler_c__Wshadow" >&6; }
6054 if test x"$rra_cv_compiler_c__Wshadow" = xyes; then :
6055 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wshadow"
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpointer-arith" >&5
6058 $as_echo_n "checking if $CC supports -Wpointer-arith... " >&6; }
6059 if ${rra_cv_compiler_c__Wpointer_arith+:} false; then :
6060 $as_echo_n "(cached) " >&6
6063 case -Wpointer-arith in #(
6065 CFLAGS="$CFLAGS `echo "-Wpointer-arith" | sed 's/-Wno-/-W/'`" ;; #(
6067 CFLAGS="$CFLAGS -Wpointer-arith" ;; #(
6071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6072 /* end confdefs.h. */
6082 if ac_fn_c_try_compile "$LINENO"; then :
6083 rra_cv_compiler_c__Wpointer_arith=yes
6085 rra_cv_compiler_c__Wpointer_arith=no
6087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wpointer_arith" >&5
6092 $as_echo "$rra_cv_compiler_c__Wpointer_arith" >&6; }
6093 if test x"$rra_cv_compiler_c__Wpointer_arith" = xyes; then :
6094 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wpointer-arith"
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wbad-function-cast" >&5
6097 $as_echo_n "checking if $CC supports -Wbad-function-cast... " >&6; }
6098 if ${rra_cv_compiler_c__Wbad_function_cast+:} false; then :
6099 $as_echo_n "(cached) " >&6
6102 case -Wbad-function-cast in #(
6104 CFLAGS="$CFLAGS `echo "-Wbad-function-cast" | sed 's/-Wno-/-W/'`" ;; #(
6106 CFLAGS="$CFLAGS -Wbad-function-cast" ;; #(
6110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6111 /* end confdefs.h. */
6121 if ac_fn_c_try_compile "$LINENO"; then :
6122 rra_cv_compiler_c__Wbad_function_cast=yes
6124 rra_cv_compiler_c__Wbad_function_cast=no
6126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wbad_function_cast" >&5
6131 $as_echo "$rra_cv_compiler_c__Wbad_function_cast" >&6; }
6132 if test x"$rra_cv_compiler_c__Wbad_function_cast" = xyes; then :
6133 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wbad-function-cast"
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wcast-align" >&5
6136 $as_echo_n "checking if $CC supports -Wcast-align... " >&6; }
6137 if ${rra_cv_compiler_c__Wcast_align+:} false; then :
6138 $as_echo_n "(cached) " >&6
6141 case -Wcast-align in #(
6143 CFLAGS="$CFLAGS `echo "-Wcast-align" | sed 's/-Wno-/-W/'`" ;; #(
6145 CFLAGS="$CFLAGS -Wcast-align" ;; #(
6149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6150 /* end confdefs.h. */
6160 if ac_fn_c_try_compile "$LINENO"; then :
6161 rra_cv_compiler_c__Wcast_align=yes
6163 rra_cv_compiler_c__Wcast_align=no
6165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wcast_align" >&5
6170 $as_echo "$rra_cv_compiler_c__Wcast_align" >&6; }
6171 if test x"$rra_cv_compiler_c__Wcast_align" = xyes; then :
6172 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wcast-align"
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wwrite-strings" >&5
6175 $as_echo_n "checking if $CC supports -Wwrite-strings... " >&6; }
6176 if ${rra_cv_compiler_c__Wwrite_strings+:} false; then :
6177 $as_echo_n "(cached) " >&6
6180 case -Wwrite-strings in #(
6182 CFLAGS="$CFLAGS `echo "-Wwrite-strings" | sed 's/-Wno-/-W/'`" ;; #(
6184 CFLAGS="$CFLAGS -Wwrite-strings" ;; #(
6188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6189 /* end confdefs.h. */
6199 if ac_fn_c_try_compile "$LINENO"; then :
6200 rra_cv_compiler_c__Wwrite_strings=yes
6202 rra_cv_compiler_c__Wwrite_strings=no
6204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wwrite_strings" >&5
6209 $as_echo "$rra_cv_compiler_c__Wwrite_strings" >&6; }
6210 if test x"$rra_cv_compiler_c__Wwrite_strings" = xyes; then :
6211 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wwrite-strings"
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wconversion" >&5
6214 $as_echo_n "checking if $CC supports -Wconversion... " >&6; }
6215 if ${rra_cv_compiler_c__Wconversion+:} false; then :
6216 $as_echo_n "(cached) " >&6
6219 case -Wconversion in #(
6221 CFLAGS="$CFLAGS `echo "-Wconversion" | sed 's/-Wno-/-W/'`" ;; #(
6223 CFLAGS="$CFLAGS -Wconversion" ;; #(
6227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6228 /* end confdefs.h. */
6238 if ac_fn_c_try_compile "$LINENO"; then :
6239 rra_cv_compiler_c__Wconversion=yes
6241 rra_cv_compiler_c__Wconversion=no
6243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wconversion" >&5
6248 $as_echo "$rra_cv_compiler_c__Wconversion" >&6; }
6249 if test x"$rra_cv_compiler_c__Wconversion" = xyes; then :
6250 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wconversion"
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wno-sign-conversion" >&5
6253 $as_echo_n "checking if $CC supports -Wno-sign-conversion... " >&6; }
6254 if ${rra_cv_compiler_c__Wno_sign_conversion+:} false; then :
6255 $as_echo_n "(cached) " >&6
6258 case -Wno-sign-conversion in #(
6260 CFLAGS="$CFLAGS `echo "-Wno-sign-conversion" | sed 's/-Wno-/-W/'`" ;; #(
6262 CFLAGS="$CFLAGS -Wno-sign-conversion" ;; #(
6266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6267 /* end confdefs.h. */
6277 if ac_fn_c_try_compile "$LINENO"; then :
6278 rra_cv_compiler_c__Wno_sign_conversion=yes
6280 rra_cv_compiler_c__Wno_sign_conversion=no
6282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wno_sign_conversion" >&5
6287 $as_echo "$rra_cv_compiler_c__Wno_sign_conversion" >&6; }
6288 if test x"$rra_cv_compiler_c__Wno_sign_conversion" = xyes; then :
6289 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wno-sign-conversion"
6291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wdate-time" >&5
6292 $as_echo_n "checking if $CC supports -Wdate-time... " >&6; }
6293 if ${rra_cv_compiler_c__Wdate_time+:} false; then :
6294 $as_echo_n "(cached) " >&6
6297 case -Wdate-time in #(
6299 CFLAGS="$CFLAGS `echo "-Wdate-time" | sed 's/-Wno-/-W/'`" ;; #(
6301 CFLAGS="$CFLAGS -Wdate-time" ;; #(
6305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6306 /* end confdefs.h. */
6316 if ac_fn_c_try_compile "$LINENO"; then :
6317 rra_cv_compiler_c__Wdate_time=yes
6319 rra_cv_compiler_c__Wdate_time=no
6321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wdate_time" >&5
6326 $as_echo "$rra_cv_compiler_c__Wdate_time" >&6; }
6327 if test x"$rra_cv_compiler_c__Wdate_time" = xyes; then :
6328 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wdate-time"
6330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wjump-misses-init" >&5
6331 $as_echo_n "checking if $CC supports -Wjump-misses-init... " >&6; }
6332 if ${rra_cv_compiler_c__Wjump_misses_init+:} false; then :
6333 $as_echo_n "(cached) " >&6
6336 case -Wjump-misses-init in #(
6338 CFLAGS="$CFLAGS `echo "-Wjump-misses-init" | sed 's/-Wno-/-W/'`" ;; #(
6340 CFLAGS="$CFLAGS -Wjump-misses-init" ;; #(
6344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6345 /* end confdefs.h. */
6355 if ac_fn_c_try_compile "$LINENO"; then :
6356 rra_cv_compiler_c__Wjump_misses_init=yes
6358 rra_cv_compiler_c__Wjump_misses_init=no
6360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wjump_misses_init" >&5
6365 $as_echo "$rra_cv_compiler_c__Wjump_misses_init" >&6; }
6366 if test x"$rra_cv_compiler_c__Wjump_misses_init" = xyes; then :
6367 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wjump-misses-init"
6369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wlogical-op" >&5
6370 $as_echo_n "checking if $CC supports -Wlogical-op... " >&6; }
6371 if ${rra_cv_compiler_c__Wlogical_op+:} false; then :
6372 $as_echo_n "(cached) " >&6
6375 case -Wlogical-op in #(
6377 CFLAGS="$CFLAGS `echo "-Wlogical-op" | sed 's/-Wno-/-W/'`" ;; #(
6379 CFLAGS="$CFLAGS -Wlogical-op" ;; #(
6383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6384 /* end confdefs.h. */
6394 if ac_fn_c_try_compile "$LINENO"; then :
6395 rra_cv_compiler_c__Wlogical_op=yes
6397 rra_cv_compiler_c__Wlogical_op=no
6399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wlogical_op" >&5
6404 $as_echo "$rra_cv_compiler_c__Wlogical_op" >&6; }
6405 if test x"$rra_cv_compiler_c__Wlogical_op" = xyes; then :
6406 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wlogical-op"
6408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wstrict-prototypes" >&5
6409 $as_echo_n "checking if $CC supports -Wstrict-prototypes... " >&6; }
6410 if ${rra_cv_compiler_c__Wstrict_prototypes+:} false; then :
6411 $as_echo_n "(cached) " >&6
6414 case -Wstrict-prototypes in #(
6416 CFLAGS="$CFLAGS `echo "-Wstrict-prototypes" | sed 's/-Wno-/-W/'`" ;; #(
6418 CFLAGS="$CFLAGS -Wstrict-prototypes" ;; #(
6422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6423 /* end confdefs.h. */
6433 if ac_fn_c_try_compile "$LINENO"; then :
6434 rra_cv_compiler_c__Wstrict_prototypes=yes
6436 rra_cv_compiler_c__Wstrict_prototypes=no
6438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wstrict_prototypes" >&5
6443 $as_echo "$rra_cv_compiler_c__Wstrict_prototypes" >&6; }
6444 if test x"$rra_cv_compiler_c__Wstrict_prototypes" = xyes; then :
6445 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wstrict-prototypes"
6447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wold-style-definition" >&5
6448 $as_echo_n "checking if $CC supports -Wold-style-definition... " >&6; }
6449 if ${rra_cv_compiler_c__Wold_style_definition+:} false; then :
6450 $as_echo_n "(cached) " >&6
6453 case -Wold-style-definition in #(
6455 CFLAGS="$CFLAGS `echo "-Wold-style-definition" | sed 's/-Wno-/-W/'`" ;; #(
6457 CFLAGS="$CFLAGS -Wold-style-definition" ;; #(
6461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6462 /* end confdefs.h. */
6472 if ac_fn_c_try_compile "$LINENO"; then :
6473 rra_cv_compiler_c__Wold_style_definition=yes
6475 rra_cv_compiler_c__Wold_style_definition=no
6477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wold_style_definition" >&5
6482 $as_echo "$rra_cv_compiler_c__Wold_style_definition" >&6; }
6483 if test x"$rra_cv_compiler_c__Wold_style_definition" = xyes; then :
6484 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wold-style-definition"
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-prototypes" >&5
6487 $as_echo_n "checking if $CC supports -Wmissing-prototypes... " >&6; }
6488 if ${rra_cv_compiler_c__Wmissing_prototypes+:} false; then :
6489 $as_echo_n "(cached) " >&6
6492 case -Wmissing-prototypes in #(
6494 CFLAGS="$CFLAGS `echo "-Wmissing-prototypes" | sed 's/-Wno-/-W/'`" ;; #(
6496 CFLAGS="$CFLAGS -Wmissing-prototypes" ;; #(
6500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6501 /* end confdefs.h. */
6511 if ac_fn_c_try_compile "$LINENO"; then :
6512 rra_cv_compiler_c__Wmissing_prototypes=yes
6514 rra_cv_compiler_c__Wmissing_prototypes=no
6516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_prototypes" >&5
6521 $as_echo "$rra_cv_compiler_c__Wmissing_prototypes" >&6; }
6522 if test x"$rra_cv_compiler_c__Wmissing_prototypes" = xyes; then :
6523 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-prototypes"
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wmissing-declarations" >&5
6526 $as_echo_n "checking if $CC supports -Wmissing-declarations... " >&6; }
6527 if ${rra_cv_compiler_c__Wmissing_declarations+:} false; then :
6528 $as_echo_n "(cached) " >&6
6531 case -Wmissing-declarations in #(
6533 CFLAGS="$CFLAGS `echo "-Wmissing-declarations" | sed 's/-Wno-/-W/'`" ;; #(
6535 CFLAGS="$CFLAGS -Wmissing-declarations" ;; #(
6539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6540 /* end confdefs.h. */
6550 if ac_fn_c_try_compile "$LINENO"; then :
6551 rra_cv_compiler_c__Wmissing_declarations=yes
6553 rra_cv_compiler_c__Wmissing_declarations=no
6555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wmissing_declarations" >&5
6560 $as_echo "$rra_cv_compiler_c__Wmissing_declarations" >&6; }
6561 if test x"$rra_cv_compiler_c__Wmissing_declarations" = xyes; then :
6562 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wmissing-declarations"
6564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnormalized=nfc" >&5
6565 $as_echo_n "checking if $CC supports -Wnormalized=nfc... " >&6; }
6566 if ${rra_cv_compiler_c__Wnormalized_nfc+:} false; then :
6567 $as_echo_n "(cached) " >&6
6570 case -Wnormalized=nfc in #(
6572 CFLAGS="$CFLAGS `echo "-Wnormalized=nfc" | sed 's/-Wno-/-W/'`" ;; #(
6574 CFLAGS="$CFLAGS -Wnormalized=nfc" ;; #(
6578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6579 /* end confdefs.h. */
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 rra_cv_compiler_c__Wnormalized_nfc=yes
6592 rra_cv_compiler_c__Wnormalized_nfc=no
6594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnormalized_nfc" >&5
6599 $as_echo "$rra_cv_compiler_c__Wnormalized_nfc" >&6; }
6600 if test x"$rra_cv_compiler_c__Wnormalized_nfc" = xyes; then :
6601 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnormalized=nfc"
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wpacked" >&5
6604 $as_echo_n "checking if $CC supports -Wpacked... " >&6; }
6605 if ${rra_cv_compiler_c__Wpacked+:} false; then :
6606 $as_echo_n "(cached) " >&6
6611 CFLAGS="$CFLAGS `echo "-Wpacked" | sed 's/-Wno-/-W/'`" ;; #(
6613 CFLAGS="$CFLAGS -Wpacked" ;; #(
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6628 if ac_fn_c_try_compile "$LINENO"; then :
6629 rra_cv_compiler_c__Wpacked=yes
6631 rra_cv_compiler_c__Wpacked=no
6633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wpacked" >&5
6638 $as_echo "$rra_cv_compiler_c__Wpacked" >&6; }
6639 if test x"$rra_cv_compiler_c__Wpacked" = xyes; then :
6640 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wpacked"
6642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wredundant-decls" >&5
6643 $as_echo_n "checking if $CC supports -Wredundant-decls... " >&6; }
6644 if ${rra_cv_compiler_c__Wredundant_decls+:} false; then :
6645 $as_echo_n "(cached) " >&6
6648 case -Wredundant-decls in #(
6650 CFLAGS="$CFLAGS `echo "-Wredundant-decls" | sed 's/-Wno-/-W/'`" ;; #(
6652 CFLAGS="$CFLAGS -Wredundant-decls" ;; #(
6656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6657 /* end confdefs.h. */
6667 if ac_fn_c_try_compile "$LINENO"; then :
6668 rra_cv_compiler_c__Wredundant_decls=yes
6670 rra_cv_compiler_c__Wredundant_decls=no
6672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wredundant_decls" >&5
6677 $as_echo "$rra_cv_compiler_c__Wredundant_decls" >&6; }
6678 if test x"$rra_cv_compiler_c__Wredundant_decls" = xyes; then :
6679 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wredundant-decls"
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wrestrict" >&5
6682 $as_echo_n "checking if $CC supports -Wrestrict... " >&6; }
6683 if ${rra_cv_compiler_c__Wrestrict+:} false; then :
6684 $as_echo_n "(cached) " >&6
6687 case -Wrestrict in #(
6689 CFLAGS="$CFLAGS `echo "-Wrestrict" | sed 's/-Wno-/-W/'`" ;; #(
6691 CFLAGS="$CFLAGS -Wrestrict" ;; #(
6695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6696 /* end confdefs.h. */
6706 if ac_fn_c_try_compile "$LINENO"; then :
6707 rra_cv_compiler_c__Wrestrict=yes
6709 rra_cv_compiler_c__Wrestrict=no
6711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wrestrict" >&5
6716 $as_echo "$rra_cv_compiler_c__Wrestrict" >&6; }
6717 if test x"$rra_cv_compiler_c__Wrestrict" = xyes; then :
6718 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wrestrict"
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wnested-externs" >&5
6721 $as_echo_n "checking if $CC supports -Wnested-externs... " >&6; }
6722 if ${rra_cv_compiler_c__Wnested_externs+:} false; then :
6723 $as_echo_n "(cached) " >&6
6726 case -Wnested-externs in #(
6728 CFLAGS="$CFLAGS `echo "-Wnested-externs" | sed 's/-Wno-/-W/'`" ;; #(
6730 CFLAGS="$CFLAGS -Wnested-externs" ;; #(
6734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6735 /* end confdefs.h. */
6745 if ac_fn_c_try_compile "$LINENO"; then :
6746 rra_cv_compiler_c__Wnested_externs=yes
6748 rra_cv_compiler_c__Wnested_externs=no
6750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wnested_externs" >&5
6755 $as_echo "$rra_cv_compiler_c__Wnested_externs" >&6; }
6756 if test x"$rra_cv_compiler_c__Wnested_externs" = xyes; then :
6757 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wnested-externs"
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Winline" >&5
6760 $as_echo_n "checking if $CC supports -Winline... " >&6; }
6761 if ${rra_cv_compiler_c__Winline+:} false; then :
6762 $as_echo_n "(cached) " >&6
6767 CFLAGS="$CFLAGS `echo "-Winline" | sed 's/-Wno-/-W/'`" ;; #(
6769 CFLAGS="$CFLAGS -Winline" ;; #(
6773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6774 /* end confdefs.h. */
6784 if ac_fn_c_try_compile "$LINENO"; then :
6785 rra_cv_compiler_c__Winline=yes
6787 rra_cv_compiler_c__Winline=no
6789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Winline" >&5
6794 $as_echo "$rra_cv_compiler_c__Winline" >&6; }
6795 if test x"$rra_cv_compiler_c__Winline" = xyes; then :
6796 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Winline"
6798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC supports -Wvla" >&5
6799 $as_echo_n "checking if $CC supports -Wvla... " >&6; }
6800 if ${rra_cv_compiler_c__Wvla+:} false; then :
6801 $as_echo_n "(cached) " >&6
6806 CFLAGS="$CFLAGS `echo "-Wvla" | sed 's/-Wno-/-W/'`" ;; #(
6808 CFLAGS="$CFLAGS -Wvla" ;; #(
6812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6813 /* end confdefs.h. */
6823 if ac_fn_c_try_compile "$LINENO"; then :
6824 rra_cv_compiler_c__Wvla=yes
6826 rra_cv_compiler_c__Wvla=no
6828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_compiler_c__Wvla" >&5
6833 $as_echo "$rra_cv_compiler_c__Wvla" >&6; }
6834 if test x"$rra_cv_compiler_c__Wvla" = xyes; then :
6835 WARNINGS_CFLAGS="${WARNINGS_CFLAGS} -Wvla"
6839 # Check whether --enable-largefile was given.
6840 if test "${enable_largefile+set}" = set; then :
6841 enableval=$enable_largefile;
6844 if test "$enable_largefile" != no; then
6846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6847 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6848 if ${ac_cv_sys_largefile_CC+:} false; then :
6849 $as_echo_n "(cached) " >&6
6851 ac_cv_sys_largefile_CC=no
6852 if test "$GCC" != yes; then
6855 # IRIX 6.2 and later do not support large files by default,
6856 # so use the C compiler's -n32 option if that helps.
6857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6858 /* end confdefs.h. */
6859 #include <sys/types.h>
6860 /* Check that off_t can represent 2**63 - 1 correctly.
6861 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6862 since some C++ compilers masquerading as C compilers
6863 incorrectly reject 9223372036854775807. */
6864 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6865 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6866 && LARGE_OFF_T % 2147483647 == 1)
6876 if ac_fn_c_try_compile "$LINENO"; then :
6879 rm -f core conftest.err conftest.$ac_objext
6881 if ac_fn_c_try_compile "$LINENO"; then :
6882 ac_cv_sys_largefile_CC=' -n32'; break
6884 rm -f core conftest.err conftest.$ac_objext
6888 rm -f conftest.$ac_ext
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6892 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6893 if test "$ac_cv_sys_largefile_CC" != no; then
6894 CC=$CC$ac_cv_sys_largefile_CC
6897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6898 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6899 if ${ac_cv_sys_file_offset_bits+:} false; then :
6900 $as_echo_n "(cached) " >&6
6903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6904 /* end confdefs.h. */
6905 #include <sys/types.h>
6906 /* Check that off_t can represent 2**63 - 1 correctly.
6907 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6908 since some C++ compilers masquerading as C compilers
6909 incorrectly reject 9223372036854775807. */
6910 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6911 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6912 && LARGE_OFF_T % 2147483647 == 1)
6922 if ac_fn_c_try_compile "$LINENO"; then :
6923 ac_cv_sys_file_offset_bits=no; break
6925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6927 /* end confdefs.h. */
6928 #define _FILE_OFFSET_BITS 64
6929 #include <sys/types.h>
6930 /* Check that off_t can represent 2**63 - 1 correctly.
6931 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6932 since some C++ compilers masquerading as C compilers
6933 incorrectly reject 9223372036854775807. */
6934 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6935 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6936 && LARGE_OFF_T % 2147483647 == 1)
6946 if ac_fn_c_try_compile "$LINENO"; then :
6947 ac_cv_sys_file_offset_bits=64; break
6949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6950 ac_cv_sys_file_offset_bits=unknown
6954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6955 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6956 case $ac_cv_sys_file_offset_bits in #(
6959 cat >>confdefs.h <<_ACEOF
6960 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6965 if test $ac_cv_sys_file_offset_bits = unknown; then
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6967 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6968 if ${ac_cv_sys_large_files+:} false; then :
6969 $as_echo_n "(cached) " >&6
6972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6973 /* end confdefs.h. */
6974 #include <sys/types.h>
6975 /* Check that off_t can represent 2**63 - 1 correctly.
6976 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6977 since some C++ compilers masquerading as C compilers
6978 incorrectly reject 9223372036854775807. */
6979 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6980 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6981 && LARGE_OFF_T % 2147483647 == 1)
6991 if ac_fn_c_try_compile "$LINENO"; then :
6992 ac_cv_sys_large_files=no; break
6994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6996 /* end confdefs.h. */
6997 #define _LARGE_FILES 1
6998 #include <sys/types.h>
6999 /* Check that off_t can represent 2**63 - 1 correctly.
7000 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7001 since some C++ compilers masquerading as C compilers
7002 incorrectly reject 9223372036854775807. */
7003 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7004 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7005 && LARGE_OFF_T % 2147483647 == 1)
7015 if ac_fn_c_try_compile "$LINENO"; then :
7016 ac_cv_sys_large_files=1; break
7018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7019 ac_cv_sys_large_files=unknown
7023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7024 $as_echo "$ac_cv_sys_large_files" >&6; }
7025 case $ac_cv_sys_large_files in #(
7028 cat >>confdefs.h <<_ACEOF
7029 #define _LARGE_FILES $ac_cv_sys_large_files
7040 if test -n "$ac_tool_prefix"; then
7041 for ac_prog in ar lib "link -lib"
7043 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7044 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7046 $as_echo_n "checking for $ac_word... " >&6; }
7047 if ${ac_cv_prog_AR+:} false; then :
7048 $as_echo_n "(cached) " >&6
7050 if test -n "$AR"; then
7051 ac_cv_prog_AR="$AR" # Let the user override the test.
7053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7057 test -z "$as_dir" && as_dir=.
7058 for ac_exec_ext in '' $ac_executable_extensions; do
7059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7060 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
7061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7071 if test -n "$AR"; then
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7073 $as_echo "$AR" >&6; }
7075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 $as_echo "no" >&6; }
7080 test -n "$AR" && break
7083 if test -z "$AR"; then
7085 for ac_prog in ar lib "link -lib"
7087 # Extract the first word of "$ac_prog", so it can be a program name with args.
7088 set dummy $ac_prog; ac_word=$2
7089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7090 $as_echo_n "checking for $ac_word... " >&6; }
7091 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7092 $as_echo_n "(cached) " >&6
7094 if test -n "$ac_ct_AR"; then
7095 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7097 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7101 test -z "$as_dir" && as_dir=.
7102 for ac_exec_ext in '' $ac_executable_extensions; do
7103 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7104 ac_cv_prog_ac_ct_AR="$ac_prog"
7105 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7114 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7115 if test -n "$ac_ct_AR"; then
7116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7117 $as_echo "$ac_ct_AR" >&6; }
7119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 $as_echo "no" >&6; }
7124 test -n "$ac_ct_AR" && break
7127 if test "x$ac_ct_AR" = x; then
7130 case $cross_compiling:$ac_tool_warned in
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7134 ac_tool_warned=yes ;;
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the archiver ($AR) interface" >&5
7143 $as_echo_n "checking the archiver ($AR) interface... " >&6; }
7144 if ${am_cv_ar_interface+:} false; then :
7145 $as_echo_n "(cached) " >&6
7148 ac_cpp='$CPP $CPPFLAGS'
7149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7153 am_cv_ar_interface=ar
7154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7155 /* end confdefs.h. */
7156 int some_variable = 0;
7158 if ac_fn_c_try_compile "$LINENO"; then :
7159 am_ar_try='$AR cru libconftest.a conftest.$ac_objext >&5'
7160 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7161 (eval $am_ar_try) 2>&5
7163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7164 test $ac_status = 0; }
7165 if test "$ac_status" -eq 0; then
7166 am_cv_ar_interface=ar
7168 am_ar_try='$AR -NOLOGO -OUT:conftest.lib conftest.$ac_objext >&5'
7169 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$am_ar_try\""; } >&5
7170 (eval $am_ar_try) 2>&5
7172 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7173 test $ac_status = 0; }
7174 if test "$ac_status" -eq 0; then
7175 am_cv_ar_interface=lib
7177 am_cv_ar_interface=unknown
7180 rm -f conftest.lib libconftest.a
7183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7185 ac_cpp='$CPP $CPPFLAGS'
7186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_ar_interface" >&5
7192 $as_echo "$am_cv_ar_interface" >&6; }
7194 case $am_cv_ar_interface in
7198 # Microsoft lib, so override with the ar-lib wrapper script.
7199 # FIXME: It is wrong to rewrite AR.
7200 # But if we don't then we get into trouble of one sort or another.
7201 # A longer-term fix would be to have automake use am__AR in this case,
7202 # and then we could set am__AR="$am_aux_dir/ar-lib \$(AR)" or something
7204 AR="$am_aux_dir/ar-lib $AR"
7207 as_fn_error $? "could not determine $AR interface" "$LINENO" 5
7212 # Check whether --enable-static was given.
7213 if test "${enable_static+set}" = set; then :
7214 enableval=$enable_static; p=${PACKAGE-default}
7216 yes) enable_static=yes ;;
7217 no) enable_static=no ;;
7220 # Look at the argument we got. We use all the common list separators.
7221 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
7222 for pkg in $enableval; do
7224 if test "X$pkg" = "X$p"; then
7245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7246 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7251 macro_version='2.4.6'
7252 macro_revision='2.4.6'
7266 ltmain=$ac_aux_dir/ltmain.sh
7268 # Make sure we can run config.sub.
7269 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
7270 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
7272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
7273 $as_echo_n "checking build system type... " >&6; }
7274 if ${ac_cv_build+:} false; then :
7275 $as_echo_n "(cached) " >&6
7277 ac_build_alias=$build_alias
7278 test "x$ac_build_alias" = x &&
7279 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
7280 test "x$ac_build_alias" = x &&
7281 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
7282 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
7283 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
7287 $as_echo "$ac_cv_build" >&6; }
7288 case $ac_cv_build in
7290 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
7293 ac_save_IFS=$IFS; IFS='-'
7299 # Remember, the first character of IFS is used to create $*,
7300 # except with old shells:
7303 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
7307 $as_echo_n "checking host system type... " >&6; }
7308 if ${ac_cv_host+:} false; then :
7309 $as_echo_n "(cached) " >&6
7311 if test "x$host_alias" = x; then
7312 ac_cv_host=$ac_cv_build
7314 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
7315 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
7319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
7320 $as_echo "$ac_cv_host" >&6; }
7323 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
7326 ac_save_IFS=$IFS; IFS='-'
7332 # Remember, the first character of IFS is used to create $*,
7333 # except with old shells:
7336 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
7339 # Backslashify metacharacters that are still active within
7340 # double-quoted strings.
7341 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7343 # Same as above, but do not quote variable references.
7344 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7346 # Sed substitution to delay expansion of an escaped shell variable in a
7347 # double_quote_subst'ed string.
7348 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7350 # Sed substitution to delay expansion of an escaped single quote.
7351 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7353 # Sed substitution to avoid accidental globbing in evaled expressions
7354 no_glob_subst='s/\*/\\\*/g'
7356 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7357 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7358 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7361 $as_echo_n "checking how to print strings... " >&6; }
7362 # Test print first, because it will be a builtin if present.
7363 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7364 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7366 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7369 # Use this function as a fallback that always works.
7370 func_fallback_echo ()
7372 eval 'cat <<_LTECHO_EOF
7376 ECHO='func_fallback_echo'
7379 # func_echo_all arg...
7380 # Invoke $ECHO with all args, space-separated.
7387 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7388 $as_echo "printf" >&6; } ;;
7389 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7390 $as_echo "print -r" >&6; } ;;
7391 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7392 $as_echo "cat" >&6; } ;;
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7409 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7410 if ${ac_cv_path_SED+:} false; then :
7411 $as_echo_n "(cached) " >&6
7413 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7414 for ac_i in 1 2 3 4 5 6 7; do
7415 ac_script="$ac_script$as_nl$ac_script"
7417 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7418 { ac_script=; unset ac_script;}
7419 if test -z "$SED"; then
7420 ac_path_SED_found=false
7421 # Loop through the user's path and test for each of PROGNAME-LIST
7422 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7426 test -z "$as_dir" && as_dir=.
7427 for ac_prog in sed gsed; do
7428 for ac_exec_ext in '' $ac_executable_extensions; do
7429 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7430 as_fn_executable_p "$ac_path_SED" || continue
7431 # Check for GNU ac_path_SED and select it if it is found.
7432 # Check for GNU $ac_path_SED
7433 case `"$ac_path_SED" --version 2>&1` in
7435 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7438 $as_echo_n 0123456789 >"conftest.in"
7441 cat "conftest.in" "conftest.in" >"conftest.tmp"
7442 mv "conftest.tmp" "conftest.in"
7443 cp "conftest.in" "conftest.nl"
7444 $as_echo '' >> "conftest.nl"
7445 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7446 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7447 as_fn_arith $ac_count + 1 && ac_count=$as_val
7448 if test $ac_count -gt ${ac_path_SED_max-0}; then
7449 # Best one so far, save it but keep looking for a better one
7450 ac_cv_path_SED="$ac_path_SED"
7451 ac_path_SED_max=$ac_count
7453 # 10*(2^10) chars as input seems more than enough
7454 test $ac_count -gt 10 && break
7456 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7459 $ac_path_SED_found && break 3
7464 if test -z "$ac_cv_path_SED"; then
7465 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7473 $as_echo "$ac_cv_path_SED" >&6; }
7474 SED="$ac_cv_path_SED"
7477 test -z "$SED" && SED=sed
7478 Xsed="$SED -e 1s/^X//"
7490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7491 $as_echo_n "checking for fgrep... " >&6; }
7492 if ${ac_cv_path_FGREP+:} false; then :
7493 $as_echo_n "(cached) " >&6
7495 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7496 then ac_cv_path_FGREP="$GREP -F"
7498 if test -z "$FGREP"; then
7499 ac_path_FGREP_found=false
7500 # Loop through the user's path and test for each of PROGNAME-LIST
7501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7502 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7505 test -z "$as_dir" && as_dir=.
7506 for ac_prog in fgrep; do
7507 for ac_exec_ext in '' $ac_executable_extensions; do
7508 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7509 as_fn_executable_p "$ac_path_FGREP" || continue
7510 # Check for GNU ac_path_FGREP and select it if it is found.
7511 # Check for GNU $ac_path_FGREP
7512 case `"$ac_path_FGREP" --version 2>&1` in
7514 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7517 $as_echo_n 0123456789 >"conftest.in"
7520 cat "conftest.in" "conftest.in" >"conftest.tmp"
7521 mv "conftest.tmp" "conftest.in"
7522 cp "conftest.in" "conftest.nl"
7523 $as_echo 'FGREP' >> "conftest.nl"
7524 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7525 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7526 as_fn_arith $ac_count + 1 && ac_count=$as_val
7527 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7528 # Best one so far, save it but keep looking for a better one
7529 ac_cv_path_FGREP="$ac_path_FGREP"
7530 ac_path_FGREP_max=$ac_count
7532 # 10*(2^10) chars as input seems more than enough
7533 test $ac_count -gt 10 && break
7535 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7538 $ac_path_FGREP_found && break 3
7543 if test -z "$ac_cv_path_FGREP"; then
7544 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7547 ac_cv_path_FGREP=$FGREP
7552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7553 $as_echo "$ac_cv_path_FGREP" >&6; }
7554 FGREP="$ac_cv_path_FGREP"
7557 test -z "$GREP" && GREP=grep
7577 # Check whether --with-gnu-ld was given.
7578 if test "${with_gnu_ld+set}" = set; then :
7579 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7585 if test yes = "$GCC"; then
7586 # Check if gcc -print-prog-name=ld gives a path.
7587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7588 $as_echo_n "checking for ld used by $CC... " >&6; }
7591 # gcc leaves a trailing carriage return, which upsets mingw
7592 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7594 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7597 # Accept absolute paths.
7599 re_direlt='/[^/][^/]*/\.\./'
7600 # Canonicalize the pathname of ld
7601 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7602 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7603 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7605 test -z "$LD" && LD=$ac_prog
7608 # If it fails, then pretend we aren't using GCC.
7612 # If it is relative, then search for the first ld in PATH.
7616 elif test yes = "$with_gnu_ld"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7618 $as_echo_n "checking for GNU ld... " >&6; }
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7621 $as_echo_n "checking for non-GNU ld... " >&6; }
7623 if ${lt_cv_path_LD+:} false; then :
7624 $as_echo_n "(cached) " >&6
7626 if test -z "$LD"; then
7627 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7628 for ac_dir in $PATH; do
7630 test -z "$ac_dir" && ac_dir=.
7631 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7632 lt_cv_path_LD=$ac_dir/$ac_prog
7633 # Check to see if the program is GNU ld. I'd rather use --version,
7634 # but apparently some variants of GNU ld only accept -v.
7635 # Break only if it was the GNU/non-GNU ld that we prefer.
7636 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7637 *GNU* | *'with BFD'*)
7638 test no != "$with_gnu_ld" && break
7641 test yes != "$with_gnu_ld" && break
7648 lt_cv_path_LD=$LD # Let the user override the test with a path.
7653 if test -n "$LD"; then
7654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7655 $as_echo "$LD" >&6; }
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7658 $as_echo "no" >&6; }
7660 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7662 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7663 if ${lt_cv_prog_gnu_ld+:} false; then :
7664 $as_echo_n "(cached) " >&6
7666 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7667 case `$LD -v 2>&1 </dev/null` in
7668 *GNU* | *'with BFD'*)
7669 lt_cv_prog_gnu_ld=yes
7672 lt_cv_prog_gnu_ld=no
7676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7677 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7678 with_gnu_ld=$lt_cv_prog_gnu_ld
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7689 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7690 if ${lt_cv_path_NM+:} false; then :
7691 $as_echo_n "(cached) " >&6
7693 if test -n "$NM"; then
7694 # Let the user override the test.
7697 lt_nm_to_check=${ac_tool_prefix}nm
7698 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7699 lt_nm_to_check="$lt_nm_to_check nm"
7701 for lt_tmp_nm in $lt_nm_to_check; do
7702 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7703 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7705 test -z "$ac_dir" && ac_dir=.
7706 tmp_nm=$ac_dir/$lt_tmp_nm
7707 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7708 # Check to see if the nm accepts a BSD-compat flag.
7709 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7710 # nm: unknown option "B" ignored
7711 # Tru64's nm complains that /dev/null is an invalid object file
7712 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7714 mingw*) lt_bad_file=conftest.nm/nofile ;;
7715 *) lt_bad_file=/dev/null ;;
7717 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7718 *$lt_bad_file* | *'Invalid file or object type'*)
7719 lt_cv_path_NM="$tmp_nm -B"
7723 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7725 lt_cv_path_NM="$tmp_nm -p"
7729 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7730 continue # so that we can try to find one that supports BSD flags
7739 : ${lt_cv_path_NM=no}
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7743 $as_echo "$lt_cv_path_NM" >&6; }
7744 if test no != "$lt_cv_path_NM"; then
7747 # Didn't find any BSD compatible name lister, look for dumpbin.
7748 if test -n "$DUMPBIN"; then :
7749 # Let the user override the test.
7751 if test -n "$ac_tool_prefix"; then
7752 for ac_prog in dumpbin "link -dump"
7754 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7755 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7757 $as_echo_n "checking for $ac_word... " >&6; }
7758 if ${ac_cv_prog_DUMPBIN+:} false; then :
7759 $as_echo_n "(cached) " >&6
7761 if test -n "$DUMPBIN"; then
7762 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7768 test -z "$as_dir" && as_dir=.
7769 for ac_exec_ext in '' $ac_executable_extensions; do
7770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7771 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7781 DUMPBIN=$ac_cv_prog_DUMPBIN
7782 if test -n "$DUMPBIN"; then
7783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7784 $as_echo "$DUMPBIN" >&6; }
7786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7787 $as_echo "no" >&6; }
7791 test -n "$DUMPBIN" && break
7794 if test -z "$DUMPBIN"; then
7795 ac_ct_DUMPBIN=$DUMPBIN
7796 for ac_prog in dumpbin "link -dump"
7798 # Extract the first word of "$ac_prog", so it can be a program name with args.
7799 set dummy $ac_prog; ac_word=$2
7800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7801 $as_echo_n "checking for $ac_word... " >&6; }
7802 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7803 $as_echo_n "(cached) " >&6
7805 if test -n "$ac_ct_DUMPBIN"; then
7806 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7812 test -z "$as_dir" && as_dir=.
7813 for ac_exec_ext in '' $ac_executable_extensions; do
7814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7815 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7825 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7826 if test -n "$ac_ct_DUMPBIN"; then
7827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7828 $as_echo "$ac_ct_DUMPBIN" >&6; }
7830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7831 $as_echo "no" >&6; }
7835 test -n "$ac_ct_DUMPBIN" && break
7838 if test "x$ac_ct_DUMPBIN" = x; then
7841 case $cross_compiling:$ac_tool_warned in
7843 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7844 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7845 ac_tool_warned=yes ;;
7847 DUMPBIN=$ac_ct_DUMPBIN
7851 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7853 DUMPBIN="$DUMPBIN -symbols -headers"
7861 if test : != "$DUMPBIN"; then
7865 test -z "$NM" && NM=nm
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7873 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7874 if ${lt_cv_nm_interface+:} false; then :
7875 $as_echo_n "(cached) " >&6
7877 lt_cv_nm_interface="BSD nm"
7878 echo "int some_variable = 0;" > conftest.$ac_ext
7879 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7880 (eval "$ac_compile" 2>conftest.err)
7881 cat conftest.err >&5
7882 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7883 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7884 cat conftest.err >&5
7885 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7886 cat conftest.out >&5
7887 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7888 lt_cv_nm_interface="MS dumpbin"
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7893 $as_echo "$lt_cv_nm_interface" >&6; }
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
7896 $as_echo_n "checking whether ln -s works... " >&6; }
7898 if test "$LN_S" = "ln -s"; then
7899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
7900 $as_echo "yes" >&6; }
7902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
7903 $as_echo "no, using $LN_S" >&6; }
7906 # find the maximum length of command line arguments
7907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7908 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7909 if ${lt_cv_sys_max_cmd_len+:} false; then :
7910 $as_echo_n "(cached) " >&6
7917 # On DJGPP, this test can blow up pretty badly due to problems in libc
7918 # (any single argument exceeding 2000 bytes causes a buffer overrun
7919 # during glob expansion). Even if it were fixed, the result of this
7920 # check would be larger than it should be.
7921 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7925 # Under GNU Hurd, this test is not required because there is
7926 # no limit to the length of command line arguments.
7927 # Libtool will interpret -1 as no limit whatsoever
7928 lt_cv_sys_max_cmd_len=-1;
7931 cygwin* | mingw* | cegcc*)
7932 # On Win9x/ME, this test blows up -- it succeeds, but takes
7933 # about 5 minutes as the teststring grows exponentially.
7934 # Worse, since 9x/ME are not pre-emptively multitasking,
7935 # you end up with a "frozen" computer, even though with patience
7936 # the test eventually succeeds (with a max line length of 256k).
7937 # Instead, let's just punt: use the minimum linelength reported by
7938 # all of the supported platforms: 8192 (on NT/2K/XP).
7939 lt_cv_sys_max_cmd_len=8192;
7943 # On MiNT this can take a long time and run out of memory.
7944 lt_cv_sys_max_cmd_len=8192;
7948 # On AmigaOS with pdksh, this test takes hours, literally.
7949 # So we just punt and use a minimum line length of 8192.
7950 lt_cv_sys_max_cmd_len=8192;
7953 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
7954 # This has been around since 386BSD, at least. Likely further.
7955 if test -x /sbin/sysctl; then
7956 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7957 elif test -x /usr/sbin/sysctl; then
7958 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7960 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7962 # And add a safety zone
7963 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7964 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7968 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7969 lt_cv_sys_max_cmd_len=196608
7973 # The test takes a long time on OS/2.
7974 lt_cv_sys_max_cmd_len=8192
7978 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7979 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7980 # nice to cause kernel panics so lets avoid the loop below.
7981 # First set a reasonable default.
7982 lt_cv_sys_max_cmd_len=16384
7984 if test -x /sbin/sysconfig; then
7985 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7986 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7991 lt_cv_sys_max_cmd_len=102400
7993 sysv5* | sco5v6* | sysv4.2uw2*)
7994 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7995 if test -n "$kargmax"; then
7996 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7998 lt_cv_sys_max_cmd_len=32768
8002 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8003 if test -n "$lt_cv_sys_max_cmd_len" && \
8004 test undefined != "$lt_cv_sys_max_cmd_len"; then
8005 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8006 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8008 # Make teststring a little bigger before we do anything with it.
8009 # a 1K string should be a reasonable start.
8010 for i in 1 2 3 4 5 6 7 8; do
8011 teststring=$teststring$teststring
8013 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8014 # If test is not a shell built-in, we'll probably end up computing a
8015 # maximum length that is only half of the actual maximum length, but
8017 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
8018 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8019 test 17 != "$i" # 1/2 MB should be enough
8022 teststring=$teststring$teststring
8024 # Only check the string length outside the loop.
8025 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8027 # Add a significant safety factor because C++ compilers can tack on
8028 # massive amounts of additional arguments before passing them to the
8029 # linker. It appears as though 1/2 is a usable value.
8030 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8037 if test -n "$lt_cv_sys_max_cmd_len"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8039 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8042 $as_echo "none" >&6; }
8044 max_cmd_len=$lt_cv_sys_max_cmd_len
8055 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8065 # test EBCDIC or ASCII
8066 case `echo X|tr X '\101'` in
8067 A) # ASCII based system
8068 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8069 lt_SP2NL='tr \040 \012'
8070 lt_NL2SP='tr \015\012 \040\040'
8072 *) # EBCDIC based system
8073 lt_SP2NL='tr \100 \n'
8074 lt_NL2SP='tr \r\n \100\100'
8086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8087 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8088 if ${lt_cv_to_host_file_cmd+:} false; then :
8089 $as_echo_n "(cached) " >&6
8094 *-*-mingw* ) # actually msys
8095 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8098 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8100 * ) # otherwise, assume *nix
8101 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8107 *-*-mingw* ) # actually msys
8108 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8111 lt_cv_to_host_file_cmd=func_convert_file_noop
8113 * ) # otherwise, assume *nix
8114 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8118 * ) # unhandled hosts (and "normal" native builds)
8119 lt_cv_to_host_file_cmd=func_convert_file_noop
8125 to_host_file_cmd=$lt_cv_to_host_file_cmd
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8127 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8134 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8135 if ${lt_cv_to_tool_file_cmd+:} false; then :
8136 $as_echo_n "(cached) " >&6
8138 #assume ordinary cross tools, or native build.
8139 lt_cv_to_tool_file_cmd=func_convert_file_noop
8143 *-*-mingw* ) # actually msys
8144 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8152 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8154 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8161 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8162 if ${lt_cv_ld_reload_flag+:} false; then :
8163 $as_echo_n "(cached) " >&6
8165 lt_cv_ld_reload_flag='-r'
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8168 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8169 reload_flag=$lt_cv_ld_reload_flag
8170 case $reload_flag in
8172 *) reload_flag=" $reload_flag" ;;
8174 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8176 cygwin* | mingw* | pw32* | cegcc*)
8177 if test yes != "$GCC"; then
8182 if test yes = "$GCC"; then
8183 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8185 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8198 if test -n "$ac_tool_prefix"; then
8199 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8200 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8202 $as_echo_n "checking for $ac_word... " >&6; }
8203 if ${ac_cv_prog_OBJDUMP+:} false; then :
8204 $as_echo_n "(cached) " >&6
8206 if test -n "$OBJDUMP"; then
8207 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8213 test -z "$as_dir" && as_dir=.
8214 for ac_exec_ext in '' $ac_executable_extensions; do
8215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8216 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8226 OBJDUMP=$ac_cv_prog_OBJDUMP
8227 if test -n "$OBJDUMP"; then
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8229 $as_echo "$OBJDUMP" >&6; }
8231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8232 $as_echo "no" >&6; }
8237 if test -z "$ac_cv_prog_OBJDUMP"; then
8238 ac_ct_OBJDUMP=$OBJDUMP
8239 # Extract the first word of "objdump", so it can be a program name with args.
8240 set dummy objdump; ac_word=$2
8241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8242 $as_echo_n "checking for $ac_word... " >&6; }
8243 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8244 $as_echo_n "(cached) " >&6
8246 if test -n "$ac_ct_OBJDUMP"; then
8247 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8253 test -z "$as_dir" && as_dir=.
8254 for ac_exec_ext in '' $ac_executable_extensions; do
8255 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8256 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8257 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8266 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8267 if test -n "$ac_ct_OBJDUMP"; then
8268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8269 $as_echo "$ac_ct_OBJDUMP" >&6; }
8271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8272 $as_echo "no" >&6; }
8275 if test "x$ac_ct_OBJDUMP" = x; then
8278 case $cross_compiling:$ac_tool_warned in
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8281 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8282 ac_tool_warned=yes ;;
8284 OBJDUMP=$ac_ct_OBJDUMP
8287 OBJDUMP="$ac_cv_prog_OBJDUMP"
8290 test -z "$OBJDUMP" && OBJDUMP=objdump
8300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8301 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8302 if ${lt_cv_deplibs_check_method+:} false; then :
8303 $as_echo_n "(cached) " >&6
8305 lt_cv_file_magic_cmd='$MAGIC_CMD'
8306 lt_cv_file_magic_test_file=
8307 lt_cv_deplibs_check_method='unknown'
8308 # Need to set the preceding variable on all platforms that support
8309 # interlibrary dependencies.
8310 # 'none' -- dependencies not supported.
8311 # 'unknown' -- same as none, but documents that we really don't know.
8312 # 'pass_all' -- all dependencies passed with no checks.
8313 # 'test_compile' -- check by making test program.
8314 # 'file_magic [[regex]]' -- check by looking for files in library path
8315 # that responds to the $file_magic_cmd with a given extended regex.
8316 # If you have 'file' or equivalent on your system and you're not sure
8317 # whether 'pass_all' will *always* work, you probably want this one.
8321 lt_cv_deplibs_check_method=pass_all
8325 lt_cv_deplibs_check_method=pass_all
8329 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8330 lt_cv_file_magic_cmd='/usr/bin/file -L'
8331 lt_cv_file_magic_test_file=/shlib/libc.so
8335 # func_win32_libid is a shell function defined in ltmain.sh
8336 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8337 lt_cv_file_magic_cmd='func_win32_libid'
8341 # Base MSYS/MinGW do not provide the 'file' command needed by
8342 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8343 # unless we find 'file', for example because we are cross-compiling.
8344 if ( file / ) >/dev/null 2>&1; then
8345 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8346 lt_cv_file_magic_cmd='func_win32_libid'
8348 # Keep this pattern in sync with the one in func_win32_libid.
8349 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8350 lt_cv_file_magic_cmd='$OBJDUMP -f'
8355 # use the weaker test based on 'objdump'. See mingw*.
8356 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8357 lt_cv_file_magic_cmd='$OBJDUMP -f'
8360 darwin* | rhapsody*)
8361 lt_cv_deplibs_check_method=pass_all
8364 freebsd* | dragonfly*)
8365 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8368 # Not sure whether the presence of OpenBSD here was a mistake.
8369 # Let's accept both of them until this is cleared up.
8370 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8371 lt_cv_file_magic_cmd=/usr/bin/file
8372 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8376 lt_cv_deplibs_check_method=pass_all
8381 lt_cv_deplibs_check_method=pass_all
8384 hpux10.20* | hpux11*)
8385 lt_cv_file_magic_cmd=/usr/bin/file
8388 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8389 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8392 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]'
8393 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8396 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8397 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8403 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8404 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8407 irix5* | irix6* | nonstopux*)
8409 *-32|*"-32 ") libmagic=32-bit;;
8410 *-n32|*"-n32 ") libmagic=N32;;
8411 *-64|*"-64 ") libmagic=64-bit;;
8412 *) libmagic=never-match;;
8414 lt_cv_deplibs_check_method=pass_all
8417 # This must be glibc/ELF.
8418 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8419 lt_cv_deplibs_check_method=pass_all
8422 netbsd* | netbsdelf*-gnu)
8423 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8424 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8426 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8431 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8432 lt_cv_file_magic_cmd=/usr/bin/file
8433 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8437 lt_cv_deplibs_check_method=pass_all
8441 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8442 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8444 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8448 osf3* | osf4* | osf5*)
8449 lt_cv_deplibs_check_method=pass_all
8453 lt_cv_deplibs_check_method=pass_all
8457 lt_cv_deplibs_check_method=pass_all
8460 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8461 lt_cv_deplibs_check_method=pass_all
8465 case $host_vendor in
8467 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]'
8468 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8471 lt_cv_deplibs_check_method=pass_all
8474 lt_cv_file_magic_cmd='/bin/file'
8475 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8478 lt_cv_file_magic_cmd='/bin/file'
8479 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8480 lt_cv_file_magic_test_file=/lib/libc.so
8483 lt_cv_deplibs_check_method=pass_all
8486 lt_cv_deplibs_check_method=pass_all
8492 lt_cv_deplibs_check_method=pass_all
8495 lt_cv_deplibs_check_method=pass_all
8500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8501 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8505 if test "$build" = "$host"; then
8508 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8511 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8517 file_magic_cmd=$lt_cv_file_magic_cmd
8518 deplibs_check_method=$lt_cv_deplibs_check_method
8519 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8542 if test -n "$ac_tool_prefix"; then
8543 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8544 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8546 $as_echo_n "checking for $ac_word... " >&6; }
8547 if ${ac_cv_prog_DLLTOOL+:} false; then :
8548 $as_echo_n "(cached) " >&6
8550 if test -n "$DLLTOOL"; then
8551 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8553 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8557 test -z "$as_dir" && as_dir=.
8558 for ac_exec_ext in '' $ac_executable_extensions; do
8559 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8560 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8561 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8570 DLLTOOL=$ac_cv_prog_DLLTOOL
8571 if test -n "$DLLTOOL"; then
8572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8573 $as_echo "$DLLTOOL" >&6; }
8575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8576 $as_echo "no" >&6; }
8581 if test -z "$ac_cv_prog_DLLTOOL"; then
8582 ac_ct_DLLTOOL=$DLLTOOL
8583 # Extract the first word of "dlltool", so it can be a program name with args.
8584 set dummy dlltool; ac_word=$2
8585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8586 $as_echo_n "checking for $ac_word... " >&6; }
8587 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8588 $as_echo_n "(cached) " >&6
8590 if test -n "$ac_ct_DLLTOOL"; then
8591 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8597 test -z "$as_dir" && as_dir=.
8598 for ac_exec_ext in '' $ac_executable_extensions; do
8599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8600 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8610 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8611 if test -n "$ac_ct_DLLTOOL"; then
8612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8613 $as_echo "$ac_ct_DLLTOOL" >&6; }
8615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8616 $as_echo "no" >&6; }
8619 if test "x$ac_ct_DLLTOOL" = x; then
8622 case $cross_compiling:$ac_tool_warned in
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8625 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8626 ac_tool_warned=yes ;;
8628 DLLTOOL=$ac_ct_DLLTOOL
8631 DLLTOOL="$ac_cv_prog_DLLTOOL"
8634 test -z "$DLLTOOL" && DLLTOOL=dlltool
8645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8646 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8647 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8648 $as_echo_n "(cached) " >&6
8650 lt_cv_sharedlib_from_linklib_cmd='unknown'
8653 cygwin* | mingw* | pw32* | cegcc*)
8654 # two different shell functions defined in ltmain.sh;
8655 # decide which one to use based on capabilities of $DLLTOOL
8656 case `$DLLTOOL --help 2>&1` in
8657 *--identify-strict*)
8658 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8661 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8666 # fallback: assume linklib IS sharedlib
8667 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8673 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8674 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8675 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8683 if test -n "$ac_tool_prefix"; then
8686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8689 $as_echo_n "checking for $ac_word... " >&6; }
8690 if ${ac_cv_prog_AR+:} false; then :
8691 $as_echo_n "(cached) " >&6
8693 if test -n "$AR"; then
8694 ac_cv_prog_AR="$AR" # Let the user override the test.
8696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8700 test -z "$as_dir" && as_dir=.
8701 for ac_exec_ext in '' $ac_executable_extensions; do
8702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8703 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8714 if test -n "$AR"; then
8715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8716 $as_echo "$AR" >&6; }
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8719 $as_echo "no" >&6; }
8723 test -n "$AR" && break
8726 if test -z "$AR"; then
8730 # Extract the first word of "$ac_prog", so it can be a program name with args.
8731 set dummy $ac_prog; ac_word=$2
8732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8733 $as_echo_n "checking for $ac_word... " >&6; }
8734 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8735 $as_echo_n "(cached) " >&6
8737 if test -n "$ac_ct_AR"; then
8738 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8744 test -z "$as_dir" && as_dir=.
8745 for ac_exec_ext in '' $ac_executable_extensions; do
8746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8747 ac_cv_prog_ac_ct_AR="$ac_prog"
8748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8757 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8758 if test -n "$ac_ct_AR"; then
8759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8760 $as_echo "$ac_ct_AR" >&6; }
8762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8763 $as_echo "no" >&6; }
8767 test -n "$ac_ct_AR" && break
8770 if test "x$ac_ct_AR" = x; then
8773 case $cross_compiling:$ac_tool_warned in
8775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8777 ac_tool_warned=yes ;;
8796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8797 $as_echo_n "checking for archiver @FILE support... " >&6; }
8798 if ${lt_cv_ar_at_file+:} false; then :
8799 $as_echo_n "(cached) " >&6
8802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8803 /* end confdefs.h. */
8813 if ac_fn_c_try_compile "$LINENO"; then :
8814 echo conftest.$ac_objext > conftest.lst
8815 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8816 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8817 (eval $lt_ar_try) 2>&5
8819 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8820 test $ac_status = 0; }
8821 if test 0 -eq "$ac_status"; then
8822 # Ensure the archiver fails upon bogus file names.
8823 rm -f conftest.$ac_objext libconftest.a
8824 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8825 (eval $lt_ar_try) 2>&5
8827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8828 test $ac_status = 0; }
8829 if test 0 -ne "$ac_status"; then
8833 rm -f conftest.* libconftest.a
8836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8840 $as_echo "$lt_cv_ar_at_file" >&6; }
8842 if test no = "$lt_cv_ar_at_file"; then
8845 archiver_list_spec=$lt_cv_ar_at_file
8854 if test -n "$ac_tool_prefix"; then
8855 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8856 set dummy ${ac_tool_prefix}strip; ac_word=$2
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8858 $as_echo_n "checking for $ac_word... " >&6; }
8859 if ${ac_cv_prog_STRIP+:} false; then :
8860 $as_echo_n "(cached) " >&6
8862 if test -n "$STRIP"; then
8863 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8869 test -z "$as_dir" && as_dir=.
8870 for ac_exec_ext in '' $ac_executable_extensions; do
8871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8872 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8882 STRIP=$ac_cv_prog_STRIP
8883 if test -n "$STRIP"; then
8884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8885 $as_echo "$STRIP" >&6; }
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8888 $as_echo "no" >&6; }
8893 if test -z "$ac_cv_prog_STRIP"; then
8895 # Extract the first word of "strip", so it can be a program name with args.
8896 set dummy strip; ac_word=$2
8897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8898 $as_echo_n "checking for $ac_word... " >&6; }
8899 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8900 $as_echo_n "(cached) " >&6
8902 if test -n "$ac_ct_STRIP"; then
8903 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8905 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8909 test -z "$as_dir" && as_dir=.
8910 for ac_exec_ext in '' $ac_executable_extensions; do
8911 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8912 ac_cv_prog_ac_ct_STRIP="strip"
8913 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8922 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8923 if test -n "$ac_ct_STRIP"; then
8924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8925 $as_echo "$ac_ct_STRIP" >&6; }
8927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8928 $as_echo "no" >&6; }
8931 if test "x$ac_ct_STRIP" = x; then
8934 case $cross_compiling:$ac_tool_warned in
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8937 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8938 ac_tool_warned=yes ;;
8943 STRIP="$ac_cv_prog_STRIP"
8946 test -z "$STRIP" && STRIP=:
8953 if test -n "$ac_tool_prefix"; then
8954 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8955 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8957 $as_echo_n "checking for $ac_word... " >&6; }
8958 if ${ac_cv_prog_RANLIB+:} false; then :
8959 $as_echo_n "(cached) " >&6
8961 if test -n "$RANLIB"; then
8962 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8968 test -z "$as_dir" && as_dir=.
8969 for ac_exec_ext in '' $ac_executable_extensions; do
8970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8971 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8981 RANLIB=$ac_cv_prog_RANLIB
8982 if test -n "$RANLIB"; then
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8984 $as_echo "$RANLIB" >&6; }
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8987 $as_echo "no" >&6; }
8992 if test -z "$ac_cv_prog_RANLIB"; then
8993 ac_ct_RANLIB=$RANLIB
8994 # Extract the first word of "ranlib", so it can be a program name with args.
8995 set dummy ranlib; ac_word=$2
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8997 $as_echo_n "checking for $ac_word... " >&6; }
8998 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8999 $as_echo_n "(cached) " >&6
9001 if test -n "$ac_ct_RANLIB"; then
9002 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9004 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9008 test -z "$as_dir" && as_dir=.
9009 for ac_exec_ext in '' $ac_executable_extensions; do
9010 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9011 ac_cv_prog_ac_ct_RANLIB="ranlib"
9012 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9021 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9022 if test -n "$ac_ct_RANLIB"; then
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9024 $as_echo "$ac_ct_RANLIB" >&6; }
9026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9027 $as_echo "no" >&6; }
9030 if test "x$ac_ct_RANLIB" = x; then
9033 case $cross_compiling:$ac_tool_warned in
9035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9036 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9037 ac_tool_warned=yes ;;
9039 RANLIB=$ac_ct_RANLIB
9042 RANLIB="$ac_cv_prog_RANLIB"
9045 test -z "$RANLIB" && RANLIB=:
9052 # Determine commands to create old-style static archives.
9053 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9054 old_postinstall_cmds='chmod 644 $oldlib'
9055 old_postuninstall_cmds=
9057 if test -n "$RANLIB"; then
9060 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9063 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9066 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9071 lock_old_archive_extraction=yes ;;
9073 lock_old_archive_extraction=no ;;
9114 # If no C compiler was specified, use CC.
9117 # If no C compiler flags were specified, use CFLAGS.
9118 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9120 # Allow CC to be a program name with arguments.
9124 # Check for command to grab the raw symbol name followed by C symbol from nm.
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9126 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9127 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9128 $as_echo_n "(cached) " >&6
9131 # These are sane defaults that work on at least a few old systems.
9132 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9134 # Character class describing NM global symbol codes.
9135 symcode='[BCDEGRST]'
9137 # Regexp to match symbols that can be accessed directly from C.
9138 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9140 # Define system-specific variables.
9145 cygwin* | mingw* | pw32* | cegcc*)
9146 symcode='[ABCDGISTW]'
9149 if test ia64 = "$host_cpu"; then
9150 symcode='[ABCDEGRST]'
9154 symcode='[BCDEGRST]'
9157 symcode='[BCDEGQRST]'
9168 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9176 # If we're using GNU nm, then use its standard symbol codes.
9177 case `$NM -V 2>&1` in
9178 *GNU* | *'with BFD'*)
9179 symcode='[ABCDGIRSTW]' ;;
9182 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9183 # Gets list of data symbols to import.
9184 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9185 # Adjust the below global symbol transforms to fixup imported variables.
9186 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9187 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9188 lt_c_name_lib_hook="\
9189 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9190 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9192 # Disable hooks by default.
9193 lt_cv_sys_global_symbol_to_import=
9199 # Transform an extracted symbol line into a proper C declaration.
9200 # Some systems (esp. on ia64) link data and code symbols differently,
9201 # so use this general approach.
9202 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9204 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9205 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9207 # Transform an extracted symbol line into symbol name and symbol address
9208 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9210 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9211 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9213 # Transform an extracted symbol line into symbol name with lib prefix and
9215 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9216 $lt_c_name_lib_hook\
9217 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9218 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9219 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9221 # Handle CRLF in mingw tool chain
9225 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9229 # Try without a prefix underscore, then with it.
9230 for ac_symprfx in "" "_"; do
9232 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9233 symxfrm="\\1 $ac_symprfx\\2 \\2"
9235 # Write the raw and C identifiers.
9236 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9237 # Fake it for dumpbin and say T for any non-static function,
9238 # D for any global variable and I for any imported variable.
9239 # Also find C++ and __fastcall symbols from MSVC++,
9240 # which start with @ or ?.
9241 lt_cv_sys_global_symbol_pipe="$AWK '"\
9242 " {last_section=section; section=\$ 3};"\
9243 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9244 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9245 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9246 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9247 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9248 " \$ 0!~/External *\|/{next};"\
9249 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9250 " {if(hide[section]) next};"\
9251 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9252 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9253 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9254 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9255 " ' prfx=^$ac_symprfx"
9257 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9259 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9261 # Check to see that the pipe works correctly.
9265 cat > conftest.$ac_ext <<_LT_EOF
9270 void nm_test_func(void);
9271 void nm_test_func(void){}
9275 int main(){nm_test_var='a';nm_test_func();return(0);}
9278 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9279 (eval $ac_compile) 2>&5
9281 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9282 test $ac_status = 0; }; then
9283 # Now try to grab the symbols.
9285 $ECHO "$as_me:$LINENO: $NM conftest.$ac_objext | $lt_cv_sys_global_symbol_pipe > $nlist" >&5
9286 if eval "$NM" conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist 2>&5 && test -s "$nlist"; then
9287 # Try sorting and uniquifying the output.
9288 if sort "$nlist" | uniq > "$nlist"T; then
9289 mv -f "$nlist"T "$nlist"
9294 # Make sure that we snagged all the symbols we need.
9295 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9296 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9297 cat <<_LT_EOF > conftest.$ac_ext
9298 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9299 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9300 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9301 relocations are performed -- see ld's documentation on pseudo-relocs. */
9302 # define LT_DLSYM_CONST
9303 #elif defined __osf__
9304 /* This system does not cope well with relocations in const data. */
9305 # define LT_DLSYM_CONST
9307 # define LT_DLSYM_CONST const
9315 # Now generate the symbol file.
9316 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9318 cat <<_LT_EOF >> conftest.$ac_ext
9320 /* The mapping between symbol names and symbols. */
9321 LT_DLSYM_CONST struct {
9325 lt__PROGRAM__LTX_preloaded_symbols[] =
9327 { "@PROGRAM@", (void *) 0 },
9329 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9330 cat <<\_LT_EOF >> conftest.$ac_ext
9334 /* This works around a problem in FreeBSD linker */
9335 #ifdef FREEBSD_WORKAROUND
9336 static const void *lt_preloaded_setup() {
9337 return lt__PROGRAM__LTX_preloaded_symbols;
9345 # Now try linking the two files.
9346 mv conftest.$ac_objext conftstm.$ac_objext
9347 lt_globsym_save_LIBS=$LIBS
9348 lt_globsym_save_CFLAGS=$CFLAGS
9349 LIBS=conftstm.$ac_objext
9350 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9351 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9352 (eval $ac_link) 2>&5
9354 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9355 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9358 LIBS=$lt_globsym_save_LIBS
9359 CFLAGS=$lt_globsym_save_CFLAGS
9361 echo "cannot find nm_test_func in $nlist" >&5
9364 echo "cannot find nm_test_var in $nlist" >&5
9367 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9370 echo "$progname: failed program was:" >&5
9371 cat conftest.$ac_ext >&5
9373 rm -rf conftest* conftst*
9375 # Do not use the global_symbol_pipe unless it works.
9376 if test yes = "$pipe_works"; then
9379 lt_cv_sys_global_symbol_pipe=
9385 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9386 lt_cv_sys_global_symbol_to_cdecl=
9388 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9390 $as_echo "failed" >&6; }
9392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9393 $as_echo "ok" >&6; }
9396 # Response file support.
9397 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9398 nm_file_list_spec='@'
9399 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9400 nm_file_list_spec='@'
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9440 $as_echo_n "checking for sysroot... " >&6; }
9442 # Check whether --with-sysroot was given.
9443 if test "${with_sysroot+set}" = set; then :
9444 withval=$with_sysroot;
9451 case $with_sysroot in #(
9453 if test yes = "$GCC"; then
9454 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9458 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9464 $as_echo "$with_sysroot" >&6; }
9465 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9470 $as_echo "${lt_sysroot:-no}" >&6; }
9476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9477 $as_echo_n "checking for a working dd... " >&6; }
9478 if ${ac_cv_path_lt_DD+:} false; then :
9479 $as_echo_n "(cached) " >&6
9481 printf 0123456789abcdef0123456789abcdef >conftest.i
9482 cat conftest.i conftest.i >conftest2.i
9484 if test -z "$lt_DD"; then
9485 ac_path_lt_DD_found=false
9486 # Loop through the user's path and test for each of PROGNAME-LIST
9487 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9491 test -z "$as_dir" && as_dir=.
9492 for ac_prog in dd; do
9493 for ac_exec_ext in '' $ac_executable_extensions; do
9494 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
9495 as_fn_executable_p "$ac_path_lt_DD" || continue
9496 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9497 cmp -s conftest.i conftest.out \
9498 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9500 $ac_path_lt_DD_found && break 3
9505 if test -z "$ac_cv_path_lt_DD"; then
9509 ac_cv_path_lt_DD=$lt_DD
9512 rm -f conftest.i conftest2.i conftest.out
9514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9515 $as_echo "$ac_cv_path_lt_DD" >&6; }
9518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9519 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9520 if ${lt_cv_truncate_bin+:} false; then :
9521 $as_echo_n "(cached) " >&6
9523 printf 0123456789abcdef0123456789abcdef >conftest.i
9524 cat conftest.i conftest.i >conftest2.i
9526 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9527 cmp -s conftest.i conftest.out \
9528 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9530 rm -f conftest.i conftest2.i conftest.out
9531 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9534 $as_echo "$lt_cv_truncate_bin" >&6; }
9542 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9545 for cc_temp in $*""; do
9547 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9548 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9553 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9556 # Check whether --enable-libtool-lock was given.
9557 if test "${enable_libtool_lock+set}" = set; then :
9558 enableval=$enable_libtool_lock;
9561 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9563 # Some flags need to be propagated to the compiler or linker for good
9567 # Find out what ABI is being produced by ac_compile, and set mode
9568 # options accordingly.
9569 echo 'int i;' > conftest.$ac_ext
9570 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9571 (eval $ac_compile) 2>&5
9573 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9574 test $ac_status = 0; }; then
9575 case `/usr/bin/file conftest.$ac_objext` in
9587 # Find out what ABI is being produced by ac_compile, and set linker
9588 # options accordingly.
9589 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9591 (eval $ac_compile) 2>&5
9593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9594 test $ac_status = 0; }; then
9595 if test yes = "$lt_cv_prog_gnu_ld"; then
9596 case `/usr/bin/file conftest.$ac_objext` in
9598 LD="${LD-ld} -melf32bsmip"
9601 LD="${LD-ld} -melf32bmipn32"
9604 LD="${LD-ld} -melf64bmip"
9608 case `/usr/bin/file conftest.$ac_objext` in
9625 # Find out what ABI is being produced by ac_compile, and set linker
9626 # options accordingly.
9627 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9628 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9629 (eval $ac_compile) 2>&5
9631 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9632 test $ac_status = 0; }; then
9634 case `/usr/bin/file conftest.$ac_objext` in
9642 case `/usr/bin/file conftest.$ac_objext` in
9644 emul="${emul}btsmip"
9647 emul="${emul}ltsmip"
9650 case `/usr/bin/file conftest.$ac_objext` in
9655 LD="${LD-ld} -m $emul"
9660 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9661 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9662 # Find out what ABI is being produced by ac_compile, and set linker
9663 # options accordingly. Note that the listed cases only cover the
9664 # situations where additional linker options are needed (such as when
9665 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9666 # vice versa); the common cases where no linker options are needed do
9667 # not appear in the list.
9668 echo 'int i;' > conftest.$ac_ext
9669 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9670 (eval $ac_compile) 2>&5
9672 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9673 test $ac_status = 0; }; then
9674 case `/usr/bin/file conftest.o` in
9677 x86_64-*kfreebsd*-gnu)
9678 LD="${LD-ld} -m elf_i386_fbsd"
9681 case `/usr/bin/file conftest.o` in
9683 LD="${LD-ld} -m elf32_x86_64"
9686 LD="${LD-ld} -m elf_i386"
9690 powerpc64le-*linux*)
9691 LD="${LD-ld} -m elf32lppclinux"
9694 LD="${LD-ld} -m elf32ppclinux"
9697 LD="${LD-ld} -m elf_s390"
9700 LD="${LD-ld} -m elf32_sparc"
9706 x86_64-*kfreebsd*-gnu)
9707 LD="${LD-ld} -m elf_x86_64_fbsd"
9710 LD="${LD-ld} -m elf_x86_64"
9713 LD="${LD-ld} -m elf64lppc"
9716 LD="${LD-ld} -m elf64ppc"
9718 s390*-*linux*|s390*-*tpf*)
9719 LD="${LD-ld} -m elf64_s390"
9722 LD="${LD-ld} -m elf64_sparc"
9732 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9734 CFLAGS="$CFLAGS -belf"
9735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9736 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9737 if ${lt_cv_cc_needs_belf+:} false; then :
9738 $as_echo_n "(cached) " >&6
9741 ac_cpp='$CPP $CPPFLAGS'
9742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9757 if ac_fn_c_try_link "$LINENO"; then :
9758 lt_cv_cc_needs_belf=yes
9760 lt_cv_cc_needs_belf=no
9762 rm -f core conftest.err conftest.$ac_objext \
9763 conftest$ac_exeext conftest.$ac_ext
9765 ac_cpp='$CPP $CPPFLAGS'
9766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9772 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9773 if test yes != "$lt_cv_cc_needs_belf"; then
9774 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9779 # Find out what ABI is being produced by ac_compile, and set linker
9780 # options accordingly.
9781 echo 'int i;' > conftest.$ac_ext
9782 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9783 (eval $ac_compile) 2>&5
9785 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9786 test $ac_status = 0; }; then
9787 case `/usr/bin/file conftest.o` in
9789 case $lt_cv_prog_gnu_ld in
9792 i?86-*-solaris*|x86_64-*-solaris*)
9793 LD="${LD-ld} -m elf_x86_64"
9796 LD="${LD-ld} -m elf64_sparc"
9799 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9800 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9805 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9817 need_locks=$enable_libtool_lock
9819 if test -n "$ac_tool_prefix"; then
9820 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9821 set dummy ${ac_tool_prefix}mt; ac_word=$2
9822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9823 $as_echo_n "checking for $ac_word... " >&6; }
9824 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9825 $as_echo_n "(cached) " >&6
9827 if test -n "$MANIFEST_TOOL"; then
9828 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9834 test -z "$as_dir" && as_dir=.
9835 for ac_exec_ext in '' $ac_executable_extensions; do
9836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9837 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9847 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9848 if test -n "$MANIFEST_TOOL"; then
9849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9850 $as_echo "$MANIFEST_TOOL" >&6; }
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9853 $as_echo "no" >&6; }
9858 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9859 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9860 # Extract the first word of "mt", so it can be a program name with args.
9861 set dummy mt; ac_word=$2
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9863 $as_echo_n "checking for $ac_word... " >&6; }
9864 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9865 $as_echo_n "(cached) " >&6
9867 if test -n "$ac_ct_MANIFEST_TOOL"; then
9868 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9874 test -z "$as_dir" && as_dir=.
9875 for ac_exec_ext in '' $ac_executable_extensions; do
9876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9877 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9887 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9888 if test -n "$ac_ct_MANIFEST_TOOL"; then
9889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9890 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9893 $as_echo "no" >&6; }
9896 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9899 case $cross_compiling:$ac_tool_warned in
9901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9903 ac_tool_warned=yes ;;
9905 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9908 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9911 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9913 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9914 if ${lt_cv_path_mainfest_tool+:} false; then :
9915 $as_echo_n "(cached) " >&6
9917 lt_cv_path_mainfest_tool=no
9918 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9919 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9920 cat conftest.err >&5
9921 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9922 lt_cv_path_mainfest_tool=yes
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9927 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9928 if test yes != "$lt_cv_path_mainfest_tool"; then
9938 rhapsody* | darwin*)
9939 if test -n "$ac_tool_prefix"; then
9940 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9941 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9943 $as_echo_n "checking for $ac_word... " >&6; }
9944 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9945 $as_echo_n "(cached) " >&6
9947 if test -n "$DSYMUTIL"; then
9948 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9954 test -z "$as_dir" && as_dir=.
9955 for ac_exec_ext in '' $ac_executable_extensions; do
9956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9957 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9967 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9968 if test -n "$DSYMUTIL"; then
9969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9970 $as_echo "$DSYMUTIL" >&6; }
9972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9973 $as_echo "no" >&6; }
9978 if test -z "$ac_cv_prog_DSYMUTIL"; then
9979 ac_ct_DSYMUTIL=$DSYMUTIL
9980 # Extract the first word of "dsymutil", so it can be a program name with args.
9981 set dummy dsymutil; ac_word=$2
9982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9983 $as_echo_n "checking for $ac_word... " >&6; }
9984 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9985 $as_echo_n "(cached) " >&6
9987 if test -n "$ac_ct_DSYMUTIL"; then
9988 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9994 test -z "$as_dir" && as_dir=.
9995 for ac_exec_ext in '' $ac_executable_extensions; do
9996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9997 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10007 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10008 if test -n "$ac_ct_DSYMUTIL"; then
10009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10010 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10013 $as_echo "no" >&6; }
10016 if test "x$ac_ct_DSYMUTIL" = x; then
10019 case $cross_compiling:$ac_tool_warned in
10021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10023 ac_tool_warned=yes ;;
10025 DSYMUTIL=$ac_ct_DSYMUTIL
10028 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10031 if test -n "$ac_tool_prefix"; then
10032 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10033 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10035 $as_echo_n "checking for $ac_word... " >&6; }
10036 if ${ac_cv_prog_NMEDIT+:} false; then :
10037 $as_echo_n "(cached) " >&6
10039 if test -n "$NMEDIT"; then
10040 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10043 for as_dir in $PATH
10046 test -z "$as_dir" && as_dir=.
10047 for ac_exec_ext in '' $ac_executable_extensions; do
10048 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10049 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10050 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10059 NMEDIT=$ac_cv_prog_NMEDIT
10060 if test -n "$NMEDIT"; then
10061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10062 $as_echo "$NMEDIT" >&6; }
10064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10065 $as_echo "no" >&6; }
10070 if test -z "$ac_cv_prog_NMEDIT"; then
10071 ac_ct_NMEDIT=$NMEDIT
10072 # Extract the first word of "nmedit", so it can be a program name with args.
10073 set dummy nmedit; ac_word=$2
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10075 $as_echo_n "checking for $ac_word... " >&6; }
10076 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10077 $as_echo_n "(cached) " >&6
10079 if test -n "$ac_ct_NMEDIT"; then
10080 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10082 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10083 for as_dir in $PATH
10086 test -z "$as_dir" && as_dir=.
10087 for ac_exec_ext in '' $ac_executable_extensions; do
10088 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10089 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10090 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10099 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10100 if test -n "$ac_ct_NMEDIT"; then
10101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10102 $as_echo "$ac_ct_NMEDIT" >&6; }
10104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10105 $as_echo "no" >&6; }
10108 if test "x$ac_ct_NMEDIT" = x; then
10111 case $cross_compiling:$ac_tool_warned in
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10114 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10115 ac_tool_warned=yes ;;
10117 NMEDIT=$ac_ct_NMEDIT
10120 NMEDIT="$ac_cv_prog_NMEDIT"
10123 if test -n "$ac_tool_prefix"; then
10124 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10125 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10127 $as_echo_n "checking for $ac_word... " >&6; }
10128 if ${ac_cv_prog_LIPO+:} false; then :
10129 $as_echo_n "(cached) " >&6
10131 if test -n "$LIPO"; then
10132 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10135 for as_dir in $PATH
10138 test -z "$as_dir" && as_dir=.
10139 for ac_exec_ext in '' $ac_executable_extensions; do
10140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10141 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10151 LIPO=$ac_cv_prog_LIPO
10152 if test -n "$LIPO"; then
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10154 $as_echo "$LIPO" >&6; }
10156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10157 $as_echo "no" >&6; }
10162 if test -z "$ac_cv_prog_LIPO"; then
10164 # Extract the first word of "lipo", so it can be a program name with args.
10165 set dummy lipo; ac_word=$2
10166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10167 $as_echo_n "checking for $ac_word... " >&6; }
10168 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10169 $as_echo_n "(cached) " >&6
10171 if test -n "$ac_ct_LIPO"; then
10172 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10175 for as_dir in $PATH
10178 test -z "$as_dir" && as_dir=.
10179 for ac_exec_ext in '' $ac_executable_extensions; do
10180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10181 ac_cv_prog_ac_ct_LIPO="lipo"
10182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10191 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10192 if test -n "$ac_ct_LIPO"; then
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10194 $as_echo "$ac_ct_LIPO" >&6; }
10196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10197 $as_echo "no" >&6; }
10200 if test "x$ac_ct_LIPO" = x; then
10203 case $cross_compiling:$ac_tool_warned in
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10207 ac_tool_warned=yes ;;
10212 LIPO="$ac_cv_prog_LIPO"
10215 if test -n "$ac_tool_prefix"; then
10216 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10217 set dummy ${ac_tool_prefix}otool; ac_word=$2
10218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10219 $as_echo_n "checking for $ac_word... " >&6; }
10220 if ${ac_cv_prog_OTOOL+:} false; then :
10221 $as_echo_n "(cached) " >&6
10223 if test -n "$OTOOL"; then
10224 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10227 for as_dir in $PATH
10230 test -z "$as_dir" && as_dir=.
10231 for ac_exec_ext in '' $ac_executable_extensions; do
10232 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10233 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10234 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10243 OTOOL=$ac_cv_prog_OTOOL
10244 if test -n "$OTOOL"; then
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10246 $as_echo "$OTOOL" >&6; }
10248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10249 $as_echo "no" >&6; }
10254 if test -z "$ac_cv_prog_OTOOL"; then
10256 # Extract the first word of "otool", so it can be a program name with args.
10257 set dummy otool; ac_word=$2
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10259 $as_echo_n "checking for $ac_word... " >&6; }
10260 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10261 $as_echo_n "(cached) " >&6
10263 if test -n "$ac_ct_OTOOL"; then
10264 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10267 for as_dir in $PATH
10270 test -z "$as_dir" && as_dir=.
10271 for ac_exec_ext in '' $ac_executable_extensions; do
10272 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10273 ac_cv_prog_ac_ct_OTOOL="otool"
10274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10283 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10284 if test -n "$ac_ct_OTOOL"; then
10285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10286 $as_echo "$ac_ct_OTOOL" >&6; }
10288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10289 $as_echo "no" >&6; }
10292 if test "x$ac_ct_OTOOL" = x; then
10295 case $cross_compiling:$ac_tool_warned in
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10298 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10299 ac_tool_warned=yes ;;
10304 OTOOL="$ac_cv_prog_OTOOL"
10307 if test -n "$ac_tool_prefix"; then
10308 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10309 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10311 $as_echo_n "checking for $ac_word... " >&6; }
10312 if ${ac_cv_prog_OTOOL64+:} false; then :
10313 $as_echo_n "(cached) " >&6
10315 if test -n "$OTOOL64"; then
10316 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10318 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10319 for as_dir in $PATH
10322 test -z "$as_dir" && as_dir=.
10323 for ac_exec_ext in '' $ac_executable_extensions; do
10324 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10325 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10326 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10335 OTOOL64=$ac_cv_prog_OTOOL64
10336 if test -n "$OTOOL64"; then
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10338 $as_echo "$OTOOL64" >&6; }
10340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10341 $as_echo "no" >&6; }
10346 if test -z "$ac_cv_prog_OTOOL64"; then
10347 ac_ct_OTOOL64=$OTOOL64
10348 # Extract the first word of "otool64", so it can be a program name with args.
10349 set dummy otool64; ac_word=$2
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10351 $as_echo_n "checking for $ac_word... " >&6; }
10352 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10353 $as_echo_n "(cached) " >&6
10355 if test -n "$ac_ct_OTOOL64"; then
10356 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10358 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10359 for as_dir in $PATH
10362 test -z "$as_dir" && as_dir=.
10363 for ac_exec_ext in '' $ac_executable_extensions; do
10364 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10365 ac_cv_prog_ac_ct_OTOOL64="otool64"
10366 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10375 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10376 if test -n "$ac_ct_OTOOL64"; then
10377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10378 $as_echo "$ac_ct_OTOOL64" >&6; }
10380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10381 $as_echo "no" >&6; }
10384 if test "x$ac_ct_OTOOL64" = x; then
10387 case $cross_compiling:$ac_tool_warned in
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10390 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10391 ac_tool_warned=yes ;;
10393 OTOOL64=$ac_ct_OTOOL64
10396 OTOOL64="$ac_cv_prog_OTOOL64"
10425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10426 $as_echo_n "checking for -single_module linker flag... " >&6; }
10427 if ${lt_cv_apple_cc_single_mod+:} false; then :
10428 $as_echo_n "(cached) " >&6
10430 lt_cv_apple_cc_single_mod=no
10431 if test -z "$LT_MULTI_MODULE"; then
10432 # By default we will add the -single_module flag. You can override
10433 # by either setting the environment variable LT_MULTI_MODULE
10434 # non-empty at configure time, or by adding -multi_module to the
10436 rm -rf libconftest.dylib*
10437 echo "int foo(void){return 1;}" > conftest.c
10438 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10439 -dynamiclib -Wl,-single_module conftest.c" >&5
10440 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10441 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10443 # If there is a non-empty error log, and "single_module"
10444 # appears in it, assume the flag caused a linker warning
10445 if test -s conftest.err && $GREP single_module conftest.err; then
10446 cat conftest.err >&5
10447 # Otherwise, if the output was created with a 0 exit code from
10448 # the compiler, it worked.
10449 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10450 lt_cv_apple_cc_single_mod=yes
10452 cat conftest.err >&5
10454 rm -rf libconftest.dylib*
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10459 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10462 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10463 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10464 $as_echo_n "(cached) " >&6
10466 lt_cv_ld_exported_symbols_list=no
10467 save_LDFLAGS=$LDFLAGS
10468 echo "_main" > conftest.sym
10469 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10471 /* end confdefs.h. */
10481 if ac_fn_c_try_link "$LINENO"; then :
10482 lt_cv_ld_exported_symbols_list=yes
10484 lt_cv_ld_exported_symbols_list=no
10486 rm -f core conftest.err conftest.$ac_objext \
10487 conftest$ac_exeext conftest.$ac_ext
10488 LDFLAGS=$save_LDFLAGS
10491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10492 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10495 $as_echo_n "checking for -force_load linker flag... " >&6; }
10496 if ${lt_cv_ld_force_load+:} false; then :
10497 $as_echo_n "(cached) " >&6
10499 lt_cv_ld_force_load=no
10500 cat > conftest.c << _LT_EOF
10501 int forced_loaded() { return 2;}
10503 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10504 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10505 echo "$AR cr libconftest.a conftest.o" >&5
10506 $AR cr libconftest.a conftest.o 2>&5
10507 echo "$RANLIB libconftest.a" >&5
10508 $RANLIB libconftest.a 2>&5
10509 cat > conftest.c << _LT_EOF
10510 int main() { return 0;}
10512 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10513 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10515 if test -s conftest.err && $GREP force_load conftest.err; then
10516 cat conftest.err >&5
10517 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10518 lt_cv_ld_force_load=yes
10520 cat conftest.err >&5
10522 rm -f conftest.err libconftest.a conftest conftest.c
10523 rm -rf conftest.dSYM
10526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10527 $as_echo "$lt_cv_ld_force_load" >&6; }
10529 rhapsody* | darwin1.[012])
10530 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10532 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10533 darwin*) # darwin 5.x on
10534 # if running on 10.5 or later, the deployment target defaults
10535 # to the OS version, if on x86, and 10.4, the deployment
10536 # target defaults to 10.4. Don't you love it?
10537 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10538 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10539 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10541 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10543 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10547 if test yes = "$lt_cv_apple_cc_single_mod"; then
10548 _lt_dar_single_mod='$single_module'
10550 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10551 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10553 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10555 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10556 _lt_dsymutil='~$DSYMUTIL $lib || :'
10563 # func_munge_path_list VARIABLE PATH
10564 # -----------------------------------
10565 # VARIABLE is name of variable containing _space_ separated list of
10566 # directories to be munged by the contents of PATH, which is string
10569 # string "DIR[ DIR]" will be prepended to VARIABLE
10571 # string "DIR[ DIR]" will be appended to VARIABLE
10572 # "DIRP[:DIRP]::[DIRA:]DIRA"
10573 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10574 # "DIRA[ DIRA]" will be appended to VARIABLE
10576 # VARIABLE will be replaced by "DIR[ DIR]"
10577 func_munge_path_list ()
10583 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10586 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10589 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10590 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10593 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10598 for ac_header in dlfcn.h
10600 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10602 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10603 cat >>confdefs.h <<_ACEOF
10604 #define HAVE_DLFCN_H 1
10622 enable_win32_dll=no
10625 # Check whether --enable-shared was given.
10626 if test "${enable_shared+set}" = set; then :
10627 enableval=$enable_shared; p=${PACKAGE-default}
10629 yes) enable_shared=yes ;;
10630 no) enable_shared=no ;;
10633 # Look at the argument we got. We use all the common list separators.
10634 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10635 for pkg in $enableval; do
10637 if test "X$pkg" = "X$p"; then
10658 # Check whether --with-pic was given.
10659 if test "${with_pic+set}" = set; then :
10660 withval=$with_pic; lt_p=${PACKAGE-default}
10662 yes|no) pic_mode=$withval ;;
10665 # Look at the argument we got. We use all the common list separators.
10666 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10667 for lt_pkg in $withval; do
10669 if test "X$lt_pkg" = "X$lt_p"; then
10687 # Check whether --enable-fast-install was given.
10688 if test "${enable_fast_install+set}" = set; then :
10689 enableval=$enable_fast_install; p=${PACKAGE-default}
10691 yes) enable_fast_install=yes ;;
10692 no) enable_fast_install=no ;;
10694 enable_fast_install=no
10695 # Look at the argument we got. We use all the common list separators.
10696 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10697 for pkg in $enableval; do
10699 if test "X$pkg" = "X$p"; then
10700 enable_fast_install=yes
10707 enable_fast_install=yes
10717 shared_archive_member_spec=
10718 case $host,$enable_shared in
10719 power*-*-aix[5-9]*,yes)
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10721 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10723 # Check whether --with-aix-soname was given.
10724 if test "${with_aix_soname+set}" = set; then :
10725 withval=$with_aix_soname; case $withval in
10729 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10732 lt_cv_with_aix_soname=$with_aix_soname
10734 if ${lt_cv_with_aix_soname+:} false; then :
10735 $as_echo_n "(cached) " >&6
10737 lt_cv_with_aix_soname=aix
10740 with_aix_soname=$lt_cv_with_aix_soname
10743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10744 $as_echo "$with_aix_soname" >&6; }
10745 if test aix != "$with_aix_soname"; then
10746 # For the AIX way of multilib, we name the shared archive member
10747 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10748 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10749 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10750 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10751 if test 64 = "${OBJECT_MODE-32}"; then
10752 shared_archive_member_spec=shr_64
10754 shared_archive_member_spec=shr
10759 with_aix_soname=aix
10772 # This can be used to rebuild libtool when needed
10773 LIBTOOL_DEPS=$ltmain
10775 # Always use our own libtool.
10776 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10807 test -z "$LN_S" && LN_S="ln -s"
10822 if test -n "${ZSH_VERSION+set}"; then
10823 setopt NO_GLOB_SUBST
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10827 $as_echo_n "checking for objdir... " >&6; }
10828 if ${lt_cv_objdir+:} false; then :
10829 $as_echo_n "(cached) " >&6
10831 rm -f .libs 2>/dev/null
10832 mkdir .libs 2>/dev/null
10833 if test -d .libs; then
10836 # MS-DOS does not allow filenames that begin with a dot.
10839 rmdir .libs 2>/dev/null
10841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10842 $as_echo "$lt_cv_objdir" >&6; }
10843 objdir=$lt_cv_objdir
10849 cat >>confdefs.h <<_ACEOF
10850 #define LT_OBJDIR "$lt_cv_objdir/"
10858 # AIX sometimes has problems with the GCC collect2 program. For some
10859 # reason, if we set the COLLECT_NAMES environment variable, the problems
10860 # vanish in a puff of smoke.
10861 if test set != "${COLLECT_NAMES+set}"; then
10863 export COLLECT_NAMES
10868 # Global variables:
10870 can_build_shared=yes
10872 # All known linkers require a '.a' archive for static linking (except MSVC,
10873 # which needs '.lib').
10876 with_gnu_ld=$lt_cv_prog_gnu_ld
10881 # Set sane defaults for various variables
10882 test -z "$CC" && CC=cc
10883 test -z "$LTCC" && LTCC=$CC
10884 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10885 test -z "$LD" && LD=ld
10886 test -z "$ac_objext" && ac_objext=o
10888 func_cc_basename $compiler
10889 cc_basename=$func_cc_basename_result
10892 # Only perform the check for file, if the check method requires it
10893 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10894 case $deplibs_check_method in
10896 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10898 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10899 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10900 $as_echo_n "(cached) " >&6
10904 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10907 lt_save_MAGIC_CMD=$MAGIC_CMD
10908 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10909 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10910 for ac_dir in $ac_dummy; do
10912 test -z "$ac_dir" && ac_dir=.
10913 if test -f "$ac_dir/${ac_tool_prefix}file"; then
10914 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
10915 if test -n "$file_magic_test_file"; then
10916 case $deplibs_check_method in
10918 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10919 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10920 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10921 $EGREP "$file_magic_regex" > /dev/null; then
10926 *** Warning: the command libtool uses to detect shared libraries,
10927 *** $file_magic_cmd, produces output that libtool cannot recognize.
10928 *** The result is that libtool may fail to recognize shared libraries
10929 *** as such. This will affect the creation of libtool libraries that
10930 *** depend on shared libraries, but programs linked with such libtool
10931 *** libraries will work regardless of this problem. Nevertheless, you
10932 *** may want to report the problem to your system manager and/or to
10933 *** bug-libtool@gnu.org
10943 MAGIC_CMD=$lt_save_MAGIC_CMD
10948 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10949 if test -n "$MAGIC_CMD"; then
10950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10951 $as_echo "$MAGIC_CMD" >&6; }
10953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10954 $as_echo "no" >&6; }
10961 if test -z "$lt_cv_path_MAGIC_CMD"; then
10962 if test -n "$ac_tool_prefix"; then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10964 $as_echo_n "checking for file... " >&6; }
10965 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10966 $as_echo_n "(cached) " >&6
10970 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
10973 lt_save_MAGIC_CMD=$MAGIC_CMD
10974 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
10975 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10976 for ac_dir in $ac_dummy; do
10978 test -z "$ac_dir" && ac_dir=.
10979 if test -f "$ac_dir/file"; then
10980 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
10981 if test -n "$file_magic_test_file"; then
10982 case $deplibs_check_method in
10984 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10985 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
10986 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10987 $EGREP "$file_magic_regex" > /dev/null; then
10992 *** Warning: the command libtool uses to detect shared libraries,
10993 *** $file_magic_cmd, produces output that libtool cannot recognize.
10994 *** The result is that libtool may fail to recognize shared libraries
10995 *** as such. This will affect the creation of libtool libraries that
10996 *** depend on shared libraries, but programs linked with such libtool
10997 *** libraries will work regardless of this problem. Nevertheless, you
10998 *** may want to report the problem to your system manager and/or to
10999 *** bug-libtool@gnu.org
11009 MAGIC_CMD=$lt_save_MAGIC_CMD
11014 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11015 if test -n "$MAGIC_CMD"; then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11017 $as_echo "$MAGIC_CMD" >&6; }
11019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11020 $as_echo "no" >&6; }
11033 # Use C for the default configuration in the libtool script
11037 ac_cpp='$CPP $CPPFLAGS'
11038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11043 # Source file extension for C test sources.
11046 # Object file extension for compiled C test sources.
11050 # Code to be used in simple compile tests
11051 lt_simple_compile_test_code="int some_variable = 0;"
11053 # Code to be used in simple link tests
11054 lt_simple_link_test_code='int main(){return(0);}'
11062 # If no C compiler was specified, use CC.
11065 # If no C compiler flags were specified, use CFLAGS.
11066 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11068 # Allow CC to be a program name with arguments.
11071 # Save the default compiler, since it gets overwritten when the other
11072 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11073 compiler_DEFAULT=$CC
11075 # save warnings/boilerplate of simple test code
11076 ac_outfile=conftest.$ac_objext
11077 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11078 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11079 _lt_compiler_boilerplate=`cat conftest.err`
11082 ac_outfile=conftest.$ac_objext
11083 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11084 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11085 _lt_linker_boilerplate=`cat conftest.err`
11090 ## There is no encapsulation within the following macros, do not change
11091 ## the running order or otherwise move them around unless you know exactly
11092 ## what you are doing...
11093 if test -n "$compiler"; then
11095 lt_prog_compiler_no_builtin_flag=
11097 if test yes = "$GCC"; then
11098 case $cc_basename in
11100 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11102 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11106 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11107 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11108 $as_echo_n "(cached) " >&6
11110 lt_cv_prog_compiler_rtti_exceptions=no
11111 ac_outfile=conftest.$ac_objext
11112 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11113 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11114 # Insert the option either (1) after the last *FLAGS variable, or
11115 # (2) before a word containing "conftest.", or (3) at the end.
11116 # Note that $ac_compile itself does not contain backslashes and begins
11117 # with a dollar sign (not a hyphen), so the echo should work correctly.
11118 # The option is referenced via a variable to avoid confusing sed.
11119 lt_compile=`echo "$ac_compile" | $SED \
11120 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11121 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11122 -e 's:$: $lt_compiler_flag:'`
11123 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11124 (eval "$lt_compile" 2>conftest.err)
11126 cat conftest.err >&5
11127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11128 if (exit $ac_status) && test -s "$ac_outfile"; then
11129 # The compiler can only warn and ignore the option if not recognized
11130 # So say no if there are warnings other than the usual output.
11131 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11132 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11133 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11134 lt_cv_prog_compiler_rtti_exceptions=yes
11140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11141 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11143 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11144 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11156 lt_prog_compiler_wl=
11157 lt_prog_compiler_pic=
11158 lt_prog_compiler_static=
11161 if test yes = "$GCC"; then
11162 lt_prog_compiler_wl='-Wl,'
11163 lt_prog_compiler_static='-static'
11167 # All AIX code is PIC.
11168 if test ia64 = "$host_cpu"; then
11169 # AIX 5 now supports IA64 processor
11170 lt_prog_compiler_static='-Bstatic'
11172 lt_prog_compiler_pic='-fPIC'
11178 # see comment about AmigaOS4 .so support
11179 lt_prog_compiler_pic='-fPIC'
11182 # FIXME: we need at least 68020 code to build shared libraries, but
11183 # adding the '-m68020' flag to GCC prevents building anything better,
11185 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11190 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11191 # PIC is the default for these OSes.
11194 mingw* | cygwin* | pw32* | os2* | cegcc*)
11195 # This hack is so that the source file can tell whether it is being
11196 # built for inclusion in a dll (and should export symbols for example).
11197 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11198 # (--disable-auto-import) libraries
11199 lt_prog_compiler_pic='-DDLL_EXPORT'
11202 lt_prog_compiler_static='$wl-static'
11207 darwin* | rhapsody*)
11208 # PIC is the default on this platform
11209 # Common symbols not allowed in MH_DYLIB files
11210 lt_prog_compiler_pic='-fno-common'
11214 # PIC is the default for Haiku.
11215 # The "-static" flag exists, but is broken.
11216 lt_prog_compiler_static=
11220 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11221 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11222 # sets the default TLS model and affects inlining.
11228 lt_prog_compiler_pic='-fPIC'
11234 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11235 # Instead, we relocate shared libraries at runtime.
11239 # Just because we use GCC doesn't mean we suddenly get shared libraries
11240 # on systems that don't support them.
11241 lt_prog_compiler_can_build_shared=no
11246 # QNX uses GNU C++, but need to define -shared option too, otherwise
11247 # it will coredump.
11248 lt_prog_compiler_pic='-fPIC -shared'
11252 if test -d /usr/nec; then
11253 lt_prog_compiler_pic=-Kconform_pic
11258 lt_prog_compiler_pic='-fPIC'
11262 case $cc_basename in
11263 nvcc*) # Cuda Compiler Driver 2.2
11264 lt_prog_compiler_wl='-Xlinker '
11265 if test -n "$lt_prog_compiler_pic"; then
11266 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11271 # PORTME Check for flag to pass linker flags through the system compiler.
11274 lt_prog_compiler_wl='-Wl,'
11275 if test ia64 = "$host_cpu"; then
11276 # AIX 5 now supports IA64 processor
11277 lt_prog_compiler_static='-Bstatic'
11279 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11283 darwin* | rhapsody*)
11284 # PIC is the default on this platform
11285 # Common symbols not allowed in MH_DYLIB files
11286 lt_prog_compiler_pic='-fno-common'
11287 case $cc_basename in
11289 # NAG Fortran compiler
11290 lt_prog_compiler_wl='-Wl,-Wl,,'
11291 lt_prog_compiler_pic='-PIC'
11292 lt_prog_compiler_static='-Bstatic'
11297 mingw* | cygwin* | pw32* | os2* | cegcc*)
11298 # This hack is so that the source file can tell whether it is being
11299 # built for inclusion in a dll (and should export symbols for example).
11300 lt_prog_compiler_pic='-DDLL_EXPORT'
11303 lt_prog_compiler_static='$wl-static'
11308 hpux9* | hpux10* | hpux11*)
11309 lt_prog_compiler_wl='-Wl,'
11310 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11311 # not for PA HP-UX.
11317 lt_prog_compiler_pic='+Z'
11320 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11321 lt_prog_compiler_static='$wl-a ${wl}archive'
11324 irix5* | irix6* | nonstopux*)
11325 lt_prog_compiler_wl='-Wl,'
11326 # PIC (with -KPIC) is the default.
11327 lt_prog_compiler_static='-non_shared'
11330 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11331 case $cc_basename in
11332 # old Intel for x86_64, which still supported -KPIC.
11334 lt_prog_compiler_wl='-Wl,'
11335 lt_prog_compiler_pic='-KPIC'
11336 lt_prog_compiler_static='-static'
11338 # flang / f18. f95 an alias for gfortran or flang on Debian
11339 flang* | f18* | f95*)
11340 lt_prog_compiler_wl='-Wl,'
11341 lt_prog_compiler_pic='-fPIC'
11342 lt_prog_compiler_static='-static'
11344 # icc used to be incompatible with GCC.
11345 # ICC 10 doesn't accept -KPIC any more.
11347 lt_prog_compiler_wl='-Wl,'
11348 lt_prog_compiler_pic='-fPIC'
11349 lt_prog_compiler_static='-static'
11351 # Lahey Fortran 8.1.
11353 lt_prog_compiler_wl='-Wl,'
11354 lt_prog_compiler_pic='--shared'
11355 lt_prog_compiler_static='--static'
11358 # NAG Fortran compiler
11359 lt_prog_compiler_wl='-Wl,-Wl,,'
11360 lt_prog_compiler_pic='-PIC'
11361 lt_prog_compiler_static='-Bstatic'
11364 # Fabrice Bellard et al's Tiny C Compiler
11365 lt_prog_compiler_wl='-Wl,'
11366 lt_prog_compiler_pic='-fPIC'
11367 lt_prog_compiler_static='-static'
11369 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11370 # Portland Group compilers (*not* the Pentium gcc compiler,
11371 # which looks to be a dead project)
11372 lt_prog_compiler_wl='-Wl,'
11373 lt_prog_compiler_pic='-fpic'
11374 lt_prog_compiler_static='-Bstatic'
11377 lt_prog_compiler_wl='-Wl,'
11378 # All Alpha code is PIC.
11379 lt_prog_compiler_static='-non_shared'
11381 xl* | bgxl* | bgf* | mpixl*)
11382 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11383 lt_prog_compiler_wl='-Wl,'
11384 lt_prog_compiler_pic='-qpic'
11385 lt_prog_compiler_static='-qstaticlink'
11388 case `$CC -V 2>&1 | sed 5q` in
11389 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11390 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11391 lt_prog_compiler_pic='-KPIC'
11392 lt_prog_compiler_static='-Bstatic'
11393 lt_prog_compiler_wl=''
11395 *Sun\ F* | *Sun*Fortran*)
11396 lt_prog_compiler_pic='-KPIC'
11397 lt_prog_compiler_static='-Bstatic'
11398 lt_prog_compiler_wl='-Qoption ld '
11402 lt_prog_compiler_pic='-KPIC'
11403 lt_prog_compiler_static='-Bstatic'
11404 lt_prog_compiler_wl='-Wl,'
11406 *Intel*\ [CF]*Compiler*)
11407 lt_prog_compiler_wl='-Wl,'
11408 lt_prog_compiler_pic='-fPIC'
11409 lt_prog_compiler_static='-static'
11412 lt_prog_compiler_wl='-Wl,'
11413 lt_prog_compiler_pic='-fpic'
11414 lt_prog_compiler_static='-Bstatic'
11422 lt_prog_compiler_pic='-KPIC'
11423 lt_prog_compiler_static='-Bstatic'
11427 # QNX uses GNU C++, but need to define -shared option too, otherwise
11428 # it will coredump.
11429 lt_prog_compiler_pic='-fPIC -shared'
11432 osf3* | osf4* | osf5*)
11433 lt_prog_compiler_wl='-Wl,'
11434 # All OSF/1 code is PIC.
11435 lt_prog_compiler_static='-non_shared'
11439 lt_prog_compiler_static='-non_shared'
11443 lt_prog_compiler_pic='-KPIC'
11444 lt_prog_compiler_static='-Bstatic'
11445 case $cc_basename in
11446 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11447 lt_prog_compiler_wl='-Qoption ld ';;
11449 lt_prog_compiler_wl='-Wl,';;
11454 lt_prog_compiler_wl='-Qoption ld '
11455 lt_prog_compiler_pic='-PIC'
11456 lt_prog_compiler_static='-Bstatic'
11459 sysv4 | sysv4.2uw2* | sysv4.3*)
11460 lt_prog_compiler_wl='-Wl,'
11461 lt_prog_compiler_pic='-KPIC'
11462 lt_prog_compiler_static='-Bstatic'
11466 if test -d /usr/nec; then
11467 lt_prog_compiler_pic='-Kconform_pic'
11468 lt_prog_compiler_static='-Bstatic'
11472 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11473 lt_prog_compiler_wl='-Wl,'
11474 lt_prog_compiler_pic='-KPIC'
11475 lt_prog_compiler_static='-Bstatic'
11479 lt_prog_compiler_wl='-Wl,'
11480 lt_prog_compiler_can_build_shared=no
11484 lt_prog_compiler_pic='-pic'
11485 lt_prog_compiler_static='-Bstatic'
11489 lt_prog_compiler_can_build_shared=no
11495 # For platforms that do not support PIC, -DPIC is meaningless:
11497 lt_prog_compiler_pic=
11500 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11505 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11506 if ${lt_cv_prog_compiler_pic+:} false; then :
11507 $as_echo_n "(cached) " >&6
11509 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11512 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11513 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11516 # Check to make sure the PIC flag actually works.
11518 if test -n "$lt_prog_compiler_pic"; then
11519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11520 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11521 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11522 $as_echo_n "(cached) " >&6
11524 lt_cv_prog_compiler_pic_works=no
11525 ac_outfile=conftest.$ac_objext
11526 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11527 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11528 # Insert the option either (1) after the last *FLAGS variable, or
11529 # (2) before a word containing "conftest.", or (3) at the end.
11530 # Note that $ac_compile itself does not contain backslashes and begins
11531 # with a dollar sign (not a hyphen), so the echo should work correctly.
11532 # The option is referenced via a variable to avoid confusing sed.
11533 lt_compile=`echo "$ac_compile" | $SED \
11534 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11535 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11536 -e 's:$: $lt_compiler_flag:'`
11537 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11538 (eval "$lt_compile" 2>conftest.err)
11540 cat conftest.err >&5
11541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11542 if (exit $ac_status) && test -s "$ac_outfile"; then
11543 # The compiler can only warn and ignore the option if not recognized
11544 # So say no if there are warnings other than the usual output.
11545 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11546 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11547 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11548 lt_cv_prog_compiler_pic_works=yes
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11555 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11557 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11558 case $lt_prog_compiler_pic in
11560 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11563 lt_prog_compiler_pic=
11564 lt_prog_compiler_can_build_shared=no
11580 # Check to make sure the static flag actually works.
11582 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11584 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11585 if ${lt_cv_prog_compiler_static_works+:} false; then :
11586 $as_echo_n "(cached) " >&6
11588 lt_cv_prog_compiler_static_works=no
11589 save_LDFLAGS=$LDFLAGS
11590 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11591 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11592 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11593 # The linker can only warn and ignore the option if not recognized
11594 # So say no if there are warnings
11595 if test -s conftest.err; then
11596 # Append any errors to the config.log.
11597 cat conftest.err 1>&5
11598 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11599 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11600 if diff conftest.exp conftest.er2 >/dev/null; then
11601 lt_cv_prog_compiler_static_works=yes
11604 lt_cv_prog_compiler_static_works=yes
11608 LDFLAGS=$save_LDFLAGS
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11612 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11614 if test yes = "$lt_cv_prog_compiler_static_works"; then
11617 lt_prog_compiler_static=
11626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11627 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11628 if ${lt_cv_prog_compiler_c_o+:} false; then :
11629 $as_echo_n "(cached) " >&6
11631 lt_cv_prog_compiler_c_o=no
11632 $RM -r conftest 2>/dev/null
11636 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11638 lt_compiler_flag="-o out/conftest2.$ac_objext"
11639 # Insert the option either (1) after the last *FLAGS variable, or
11640 # (2) before a word containing "conftest.", or (3) at the end.
11641 # Note that $ac_compile itself does not contain backslashes and begins
11642 # with a dollar sign (not a hyphen), so the echo should work correctly.
11643 lt_compile=`echo "$ac_compile" | $SED \
11644 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11645 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11646 -e 's:$: $lt_compiler_flag:'`
11647 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11648 (eval "$lt_compile" 2>out/conftest.err)
11650 cat out/conftest.err >&5
11651 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11652 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11654 # The compiler can only warn and ignore the option if not recognized
11655 # So say no if there are warnings
11656 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11657 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11658 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11659 lt_cv_prog_compiler_c_o=yes
11664 # SGI C++ compiler will create directory out/ii_files/ for
11665 # template instantiation
11666 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11667 $RM out/* && rmdir out
11673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11674 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11682 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11683 if ${lt_cv_prog_compiler_c_o+:} false; then :
11684 $as_echo_n "(cached) " >&6
11686 lt_cv_prog_compiler_c_o=no
11687 $RM -r conftest 2>/dev/null
11691 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11693 lt_compiler_flag="-o out/conftest2.$ac_objext"
11694 # Insert the option either (1) after the last *FLAGS variable, or
11695 # (2) before a word containing "conftest.", or (3) at the end.
11696 # Note that $ac_compile itself does not contain backslashes and begins
11697 # with a dollar sign (not a hyphen), so the echo should work correctly.
11698 lt_compile=`echo "$ac_compile" | $SED \
11699 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11700 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11701 -e 's:$: $lt_compiler_flag:'`
11702 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11703 (eval "$lt_compile" 2>out/conftest.err)
11705 cat out/conftest.err >&5
11706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11707 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11709 # The compiler can only warn and ignore the option if not recognized
11710 # So say no if there are warnings
11711 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11712 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11713 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11714 lt_cv_prog_compiler_c_o=yes
11719 # SGI C++ compiler will create directory out/ii_files/ for
11720 # template instantiation
11721 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11722 $RM out/* && rmdir out
11728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11729 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11734 hard_links=nottested
11735 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11736 # do not overwrite the value of need_locks provided by the user
11737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11738 $as_echo_n "checking if we can lock with hard links... " >&6; }
11741 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11743 ln conftest.a conftest.b 2>&5 || hard_links=no
11744 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11746 $as_echo "$hard_links" >&6; }
11747 if test no = "$hard_links"; then
11748 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11749 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11762 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11765 allow_undefined_flag=
11766 always_export_symbols=no
11768 archive_expsym_cmds=
11769 compiler_needs_object=no
11770 enable_shared_with_static_runtimes=no
11771 export_dynamic_flag_spec=
11772 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11773 hardcode_automatic=no
11775 hardcode_direct_absolute=no
11776 hardcode_libdir_flag_spec=
11777 hardcode_libdir_separator=
11778 hardcode_minus_L=no
11779 hardcode_shlibpath_var=unsupported
11781 link_all_deplibs=unknown
11783 module_expsym_cmds=
11784 old_archive_from_new_cmds=
11785 old_archive_from_expsyms_cmds=
11786 thread_safe_flag_spec=
11787 whole_archive_flag_spec=
11788 # include_expsyms should be a list of space-separated symbols to be *always*
11789 # included in the symbol list
11791 # exclude_expsyms can be an extended regexp of symbols to exclude
11792 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11793 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11794 # as well as any symbol that contains 'd'.
11795 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11796 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11797 # platforms (ab)use it in PIC code, but their linkers get confused if
11798 # the symbol is explicitly referenced. Since portable code cannot
11799 # rely on this symbol name, it's probably fine to never include it in
11800 # preloaded symbol tables.
11801 # Exclude shared library initialization/finalization symbols.
11802 extract_expsyms_cmds=
11805 cygwin* | mingw* | pw32* | cegcc*)
11806 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11807 # When not using gcc, we currently assume that we are using
11808 # Microsoft Visual C++.
11809 if test yes != "$GCC"; then
11814 # we just hope/assume this is gcc and not c89 (= MSVC++)
11817 openbsd* | bitrig*)
11820 linux* | k*bsd*-gnu | gnu*)
11821 link_all_deplibs=no
11827 # On some targets, GNU ld is compatible enough with the native linker
11828 # that we're better off using the native interface for both.
11829 lt_use_gnu_ld_interface=no
11830 if test yes = "$with_gnu_ld"; then
11833 # The AIX port of GNU ld has always aspired to compatibility
11834 # with the native linker. However, as the warning in the GNU ld
11835 # block says, versions before 2.19.5* couldn't really create working
11836 # shared libraries, regardless of the interface used.
11837 case `$LD -v 2>&1` in
11838 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11839 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11840 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11842 lt_use_gnu_ld_interface=yes
11847 lt_use_gnu_ld_interface=yes
11852 if test yes = "$lt_use_gnu_ld_interface"; then
11853 # If archive_cmds runs LD, not CC, wlarc should be empty
11856 # Set some defaults for GNU ld with shared library support. These
11857 # are reset later if shared libraries are not supported. Putting them
11858 # here allows them to be overridden if necessary.
11859 runpath_var=LD_RUN_PATH
11860 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
11861 export_dynamic_flag_spec='$wl--export-dynamic'
11862 # ancient GNU ld didn't support --whole-archive et. al.
11863 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11864 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
11866 whole_archive_flag_spec=
11868 supports_anon_versioning=no
11869 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
11870 *GNU\ gold*) supports_anon_versioning=yes ;;
11871 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11872 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11873 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11874 *\ 2.11.*) ;; # other 2.11 versions
11875 *) supports_anon_versioning=yes ;;
11878 # See if GNU ld supports shared libraries.
11881 # On AIX/PPC, the GNU linker is very broken
11882 if test ia64 != "$host_cpu"; then
11886 *** Warning: the GNU linker, at least up to release 2.19, is reported
11887 *** to be unable to reliably create shared libraries on AIX.
11888 *** Therefore, libtool is disabling shared libraries support. If you
11889 *** really care for shared libraries, you may want to install binutils
11890 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11891 *** You will then need to restart the configuration process.
11900 # see comment about AmigaOS4 .so support
11901 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11902 archive_expsym_cmds=''
11905 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)'
11906 hardcode_libdir_flag_spec='-L$libdir'
11907 hardcode_minus_L=yes
11913 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11914 allow_undefined_flag=unsupported
11915 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11916 # support --undefined. This deserves some investigation. FIXME
11917 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11923 cygwin* | mingw* | pw32* | cegcc*)
11924 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11925 # as there is no search path for DLLs.
11926 hardcode_libdir_flag_spec='-L$libdir'
11927 export_dynamic_flag_spec='$wl--export-all-symbols'
11928 allow_undefined_flag=unsupported
11929 always_export_symbols=no
11930 enable_shared_with_static_runtimes=yes
11931 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'
11932 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11934 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11935 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11936 # If the export-symbols file already is a .def file, use it as
11937 # is; otherwise, prepend EXPORTS...
11938 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
11939 cp $export_symbols $output_objdir/$soname.def;
11941 echo EXPORTS > $output_objdir/$soname.def;
11942 cat $export_symbols >> $output_objdir/$soname.def;
11944 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11951 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
11952 link_all_deplibs=yes
11956 hardcode_libdir_flag_spec='-L$libdir'
11957 hardcode_minus_L=yes
11958 allow_undefined_flag=unsupported
11960 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11961 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11962 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11963 $ECHO EXPORTS >> $output_objdir/$libname.def~
11964 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
11965 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11966 emximp -o $lib $output_objdir/$libname.def'
11967 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
11968 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
11969 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
11970 $ECHO EXPORTS >> $output_objdir/$libname.def~
11971 prefix_cmds="$SED"~
11972 if test EXPORTS = "`$SED 1q $export_symbols`"; then
11973 prefix_cmds="$prefix_cmds -e 1d";
11975 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
11976 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
11977 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
11978 emximp -o $lib $output_objdir/$libname.def'
11979 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
11980 enable_shared_with_static_runtimes=yes
11985 hardcode_shlibpath_var=no
11986 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
11987 export_dynamic_flag_spec='$wl-E'
11988 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11989 # Instead, shared libraries are loaded at an image base (0x10000000 by
11990 # default) and relocated if they conflict, which is a slow very memory
11991 # consuming and fragmenting process. To avoid this, we pick a random,
11992 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11993 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11994 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11995 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'
11998 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12000 if test linux-dietlibc = "$host_os"; then
12001 case $cc_basename in
12002 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12005 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12006 && test no = "$tmp_diet"
12008 tmp_addflag=' $pic_flag'
12009 tmp_sharedflag='-shared'
12010 case $cc_basename,$host_cpu in
12011 pgcc*) # Portland Group C compiler
12012 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'
12013 tmp_addflag=' $pic_flag'
12015 pgf77* | pgf90* | pgf95* | pgfortran*)
12016 # Portland Group f77 and f90 compilers
12017 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'
12018 tmp_addflag=' $pic_flag -Mnomain' ;;
12019 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12020 tmp_addflag=' -i_dynamic' ;;
12021 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12022 tmp_addflag=' -i_dynamic -nofor_main' ;;
12023 ifc* | ifort*) # Intel Fortran compiler
12024 tmp_addflag=' -nofor_main' ;;
12025 lf95*) # Lahey Fortran 8.1
12026 whole_archive_flag_spec=
12027 tmp_sharedflag='--shared' ;;
12028 nagfor*) # NAGFOR 5.3
12029 tmp_sharedflag='-Wl,-shared' ;;
12030 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12031 tmp_sharedflag='-qmkshrobj'
12033 nvcc*) # Cuda Compiler Driver 2.2
12034 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'
12035 compiler_needs_object=yes
12038 case `$CC -V 2>&1 | sed 5q` in
12039 *Sun\ C*) # Sun C 5.9
12040 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'
12041 compiler_needs_object=yes
12042 tmp_sharedflag='-G' ;;
12043 *Sun\ F*) # Sun Fortran 8.3
12044 tmp_sharedflag='-G' ;;
12046 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12048 if test yes = "$supports_anon_versioning"; then
12049 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12050 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12051 echo "local: *; };" >> $output_objdir/$libname.ver~
12052 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12055 case $cc_basename in
12057 export_dynamic_flag_spec='-rdynamic'
12059 xlf* | bgf* | bgxlf* | mpixlf*)
12060 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12061 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12062 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12063 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12064 if test yes = "$supports_anon_versioning"; then
12065 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12066 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12067 echo "local: *; };" >> $output_objdir/$libname.ver~
12068 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12077 netbsd* | netbsdelf*-gnu)
12078 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12079 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12082 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12083 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12088 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12092 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12093 *** create shared libraries on Solaris systems. Therefore, libtool
12094 *** is disabling shared libraries support. We urge you to upgrade GNU
12095 *** binutils to release 2.9.1 or newer. Another option is to modify
12096 *** your PATH or compiler configuration so that the native linker is
12097 *** used, and then restart.
12100 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12101 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12102 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12108 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12109 case `$LD -v 2>&1` in
12110 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12114 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12115 *** reliably create shared libraries on SCO systems. Therefore, libtool
12116 *** is disabling shared libraries support. We urge you to upgrade GNU
12117 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12118 *** your PATH or compiler configuration so that the native linker is
12119 *** used, and then restart.
12124 # For security reasons, it is highly recommended that you always
12125 # use absolute paths for naming shared libraries, and exclude the
12126 # DT_RUNPATH tag from executables and libraries. But doing so
12127 # requires that you compile everything twice, which is a pain.
12128 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12129 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12130 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12131 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12140 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12142 hardcode_direct=yes
12143 hardcode_shlibpath_var=no
12147 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12148 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12149 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12156 if test no = "$ld_shlibs"; then
12158 hardcode_libdir_flag_spec=
12159 export_dynamic_flag_spec=
12160 whole_archive_flag_spec=
12163 # PORTME fill in a description of your system's linker (not GNU ld)
12166 allow_undefined_flag=unsupported
12167 always_export_symbols=yes
12168 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'
12169 # Note: this linker hardcodes the directories in LIBPATH if there
12170 # are no directories specified by -L.
12171 hardcode_minus_L=yes
12172 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12173 # Neither direct hardcoding nor static linking is supported with a
12175 hardcode_direct=unsupported
12180 if test ia64 = "$host_cpu"; then
12181 # On IA64, the linker does run time linking by default, so we don't
12182 # have to do anything special.
12183 aix_use_runtimelinking=no
12184 exp_sym_flag='-Bexport'
12187 # If we're using GNU nm, then we don't want the "-C" option.
12188 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12189 # Without the "-l" option, or with the "-B" option, AIX nm treats
12190 # weak defined symbols like other global defined symbols, whereas
12191 # GNU nm marks them as "W".
12192 # While the 'weak' keyword is ignored in the Export File, we need
12193 # it in the Import File for the 'aix-soname' feature, so we have
12194 # to replace the "-B" option with "-P" for AIX nm.
12195 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12196 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'
12198 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'
12200 aix_use_runtimelinking=no
12202 # Test if we are trying to use run time linking or normal
12203 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12204 # have runtime linking enabled, and use it for executables.
12205 # For shared libraries, we enable/disable runtime linking
12206 # depending on the kind of the shared library created -
12207 # when "with_aix_soname,aix_use_runtimelinking" is:
12208 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12209 # "aix,yes" lib.so shared, rtl:yes, for executables
12210 # lib.a static archive
12211 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12212 # lib.a(lib.so.V) shared, rtl:no, for executables
12213 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12214 # lib.a(lib.so.V) shared, rtl:no
12215 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12216 # lib.a static archive
12217 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12218 for ld_flag in $LDFLAGS; do
12219 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12220 aix_use_runtimelinking=yes
12224 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12225 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12226 # so we don't have lib.a shared libs to link our executables.
12227 # We have to force runtime linking in this case.
12228 aix_use_runtimelinking=yes
12229 LDFLAGS="$LDFLAGS -Wl,-brtl"
12234 exp_sym_flag='-bexport'
12235 no_entry_flag='-bnoentry'
12238 # When large executables or shared objects are built, AIX ld can
12239 # have problems creating the table of contents. If linking a library
12240 # or program results in "error TOC overflow" add -mminimal-toc to
12241 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12242 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12245 hardcode_direct=yes
12246 hardcode_direct_absolute=yes
12247 hardcode_libdir_separator=':'
12248 link_all_deplibs=yes
12249 file_list_spec='$wl-f,'
12250 case $with_aix_soname,$aix_use_runtimelinking in
12251 aix,*) ;; # traditional, no import file
12252 svr4,* | *,yes) # use import file
12253 # The Import File defines what to hardcode.
12255 hardcode_direct_absolute=no
12259 if test yes = "$GCC"; then
12260 case $host_os in aix4.[012]|aix4.[012].*)
12261 # We only want to do this on AIX 4.2 and lower, the check
12262 # below for broken collect2 doesn't work under 4.3+
12263 collect2name=`$CC -print-prog-name=collect2`
12264 if test -f "$collect2name" &&
12265 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12267 # We have reworked collect2
12270 # We have old collect2
12271 hardcode_direct=unsupported
12272 # It fails to find uninstalled libraries when the uninstalled
12273 # path is not listed in the libpath. Setting hardcode_minus_L
12274 # to unsupported forces relinking
12275 hardcode_minus_L=yes
12276 hardcode_libdir_flag_spec='-L$libdir'
12277 hardcode_libdir_separator=
12281 shared_flag='-shared'
12282 if test yes = "$aix_use_runtimelinking"; then
12283 shared_flag="$shared_flag "'$wl-G'
12285 # Need to ensure runtime linking is disabled for the traditional
12286 # shared library, or the linker may eventually find shared libraries
12287 # /with/ Import File - we do not want to mix them.
12288 shared_flag_aix='-shared'
12289 shared_flag_svr4='-shared $wl-G'
12292 if test ia64 = "$host_cpu"; then
12293 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12294 # chokes on -Wl,-G. The following line is correct:
12297 if test yes = "$aix_use_runtimelinking"; then
12298 shared_flag='$wl-G'
12300 shared_flag='$wl-bM:SRE'
12302 shared_flag_aix='$wl-bM:SRE'
12303 shared_flag_svr4='$wl-G'
12307 export_dynamic_flag_spec='$wl-bexpall'
12308 # It seems that -bexpall does not export symbols beginning with
12309 # underscore (_), so it is better to generate a list of symbols to export.
12310 always_export_symbols=yes
12311 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12312 # Warning - without using the other runtime loading flags (-brtl),
12313 # -berok will link without error, but may produce a broken library.
12314 allow_undefined_flag='-berok'
12315 # Determine the default libpath from the value encoded in an
12316 # empty executable.
12317 if test set = "${lt_cv_aix_libpath+set}"; then
12318 aix_libpath=$lt_cv_aix_libpath
12320 if ${lt_cv_aix_libpath_+:} false; then :
12321 $as_echo_n "(cached) " >&6
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12334 if ac_fn_c_try_link "$LINENO"; then :
12336 lt_aix_libpath_sed='
12337 /Import File Strings/,/^$/ {
12339 s/^0 *\([^ ]*\) *$/\1/
12343 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12344 # Check for a 64-bit object if we didn't find anything.
12345 if test -z "$lt_cv_aix_libpath_"; then
12346 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12349 rm -f core conftest.err conftest.$ac_objext \
12350 conftest$ac_exeext conftest.$ac_ext
12351 if test -z "$lt_cv_aix_libpath_"; then
12352 lt_cv_aix_libpath_=/usr/lib:/lib
12357 aix_libpath=$lt_cv_aix_libpath_
12360 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12361 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
12363 if test ia64 = "$host_cpu"; then
12364 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12365 allow_undefined_flag="-z nodefs"
12366 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"
12368 # Determine the default libpath from the value encoded in an
12369 # empty executable.
12370 if test set = "${lt_cv_aix_libpath+set}"; then
12371 aix_libpath=$lt_cv_aix_libpath
12373 if ${lt_cv_aix_libpath_+:} false; then :
12374 $as_echo_n "(cached) " >&6
12376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12377 /* end confdefs.h. */
12387 if ac_fn_c_try_link "$LINENO"; then :
12389 lt_aix_libpath_sed='
12390 /Import File Strings/,/^$/ {
12392 s/^0 *\([^ ]*\) *$/\1/
12396 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12397 # Check for a 64-bit object if we didn't find anything.
12398 if test -z "$lt_cv_aix_libpath_"; then
12399 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 if test -z "$lt_cv_aix_libpath_"; then
12405 lt_cv_aix_libpath_=/usr/lib:/lib
12410 aix_libpath=$lt_cv_aix_libpath_
12413 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12414 # Warning - without using the other run time loading flags,
12415 # -berok will link without error, but may produce a broken library.
12416 no_undefined_flag=' $wl-bernotok'
12417 allow_undefined_flag=' $wl-berok'
12418 if test yes = "$with_gnu_ld"; then
12419 # We only use this code for GNU lds that support --whole-archive.
12420 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12422 # Exported symbols can be pulled into shared objects from archives
12423 whole_archive_flag_spec='$convenience'
12425 archive_cmds_need_lc=yes
12426 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12427 # -brtl affects multiple linker settings, -berok does not and is overridden later
12428 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12429 if test svr4 != "$with_aix_soname"; then
12430 # This is similar to how AIX traditionally builds its shared libraries.
12431 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'
12433 if test aix != "$with_aix_soname"; then
12434 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'
12436 # used by -dlpreopen to get the symbols
12437 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12439 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12447 # see comment about AmigaOS4 .so support
12448 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12449 archive_expsym_cmds=''
12452 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)'
12453 hardcode_libdir_flag_spec='-L$libdir'
12454 hardcode_minus_L=yes
12460 export_dynamic_flag_spec=-rdynamic
12463 cygwin* | mingw* | pw32* | cegcc*)
12464 # When not using gcc, we currently assume that we are using
12465 # Microsoft Visual C++.
12466 # hardcode_libdir_flag_spec is actually meaningless, as there is
12467 # no search path for DLLs.
12468 case $cc_basename in
12471 hardcode_libdir_flag_spec=' '
12472 allow_undefined_flag=unsupported
12473 always_export_symbols=yes
12475 # Tell ltmain to make .lib files, not .a files.
12477 # Tell ltmain to make .dll files, not .so files.
12479 # FIXME: Setting linknames here is a bad hack.
12480 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12481 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12482 cp "$export_symbols" "$output_objdir/$soname.def";
12483 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12485 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12487 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12489 # The linker will not automatically build a static lib if we build a DLL.
12490 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12491 enable_shared_with_static_runtimes=yes
12492 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12493 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12495 old_postinstall_cmds='chmod 644 $oldlib'
12496 postlink_cmds='lt_outputfile="@OUTPUT@"~
12497 lt_tool_outputfile="@TOOL_OUTPUT@"~
12498 case $lt_outputfile in
12501 lt_outputfile=$lt_outputfile.exe
12502 lt_tool_outputfile=$lt_tool_outputfile.exe
12505 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12506 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12507 $RM "$lt_outputfile.manifest";
12511 # Assume MSVC wrapper
12512 hardcode_libdir_flag_spec=' '
12513 allow_undefined_flag=unsupported
12514 # Tell ltmain to make .lib files, not .a files.
12516 # Tell ltmain to make .dll files, not .so files.
12518 # FIXME: Setting linknames here is a bad hack.
12519 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12520 # The linker will automatically build a .lib file if we build a DLL.
12521 old_archive_from_new_cmds='true'
12522 # FIXME: Should let the user specify the lib program.
12523 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12524 enable_shared_with_static_runtimes=yes
12529 darwin* | rhapsody*)
12532 archive_cmds_need_lc=no
12534 hardcode_automatic=yes
12535 hardcode_shlibpath_var=unsupported
12536 if test yes = "$lt_cv_ld_force_load"; then
12537 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\"`'
12540 whole_archive_flag_spec=''
12542 link_all_deplibs=yes
12543 allow_undefined_flag=$_lt_dar_allow_undefined
12544 case $cc_basename in
12545 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12546 *) _lt_dar_can_shared=$GCC ;;
12548 if test yes = "$_lt_dar_can_shared"; then
12549 output_verbose_link_cmd=func_echo_all
12550 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12551 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12552 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"
12553 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"
12562 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12563 hardcode_libdir_flag_spec='-L$libdir'
12564 hardcode_shlibpath_var=no
12567 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12568 # support. Future versions do this automatically, but an explicit c++rt0.o
12569 # does not break anything, and helps significantly (at the cost of a little
12572 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12573 hardcode_libdir_flag_spec='-R$libdir'
12574 hardcode_direct=yes
12575 hardcode_shlibpath_var=no
12578 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12580 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12581 hardcode_direct=yes
12582 hardcode_minus_L=yes
12583 hardcode_shlibpath_var=no
12586 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12587 freebsd* | dragonfly*)
12588 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12589 hardcode_libdir_flag_spec='-R$libdir'
12590 hardcode_direct=yes
12591 hardcode_shlibpath_var=no
12595 if test yes = "$GCC"; then
12596 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'
12598 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'
12600 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12601 hardcode_libdir_separator=:
12602 hardcode_direct=yes
12604 # hardcode_minus_L: Not really in the search PATH,
12605 # but as the default location of the library.
12606 hardcode_minus_L=yes
12607 export_dynamic_flag_spec='$wl-E'
12611 if test yes,no = "$GCC,$with_gnu_ld"; then
12612 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12614 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12616 if test no = "$with_gnu_ld"; then
12617 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12618 hardcode_libdir_separator=:
12619 hardcode_direct=yes
12620 hardcode_direct_absolute=yes
12621 export_dynamic_flag_spec='$wl-E'
12622 # hardcode_minus_L: Not really in the search PATH,
12623 # but as the default location of the library.
12624 hardcode_minus_L=yes
12629 if test yes,no = "$GCC,$with_gnu_ld"; then
12632 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12635 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12638 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12644 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12647 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12651 # Older versions of the 11.00 compiler do not understand -b yet
12652 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12654 $as_echo_n "checking if $CC understands -b... " >&6; }
12655 if ${lt_cv_prog_compiler__b+:} false; then :
12656 $as_echo_n "(cached) " >&6
12658 lt_cv_prog_compiler__b=no
12659 save_LDFLAGS=$LDFLAGS
12660 LDFLAGS="$LDFLAGS -b"
12661 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12662 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12663 # The linker can only warn and ignore the option if not recognized
12664 # So say no if there are warnings
12665 if test -s conftest.err; then
12666 # Append any errors to the config.log.
12667 cat conftest.err 1>&5
12668 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12669 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12670 if diff conftest.exp conftest.er2 >/dev/null; then
12671 lt_cv_prog_compiler__b=yes
12674 lt_cv_prog_compiler__b=yes
12678 LDFLAGS=$save_LDFLAGS
12681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12682 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12684 if test yes = "$lt_cv_prog_compiler__b"; then
12685 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12687 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12693 if test no = "$with_gnu_ld"; then
12694 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12695 hardcode_libdir_separator=:
12700 hardcode_shlibpath_var=no
12703 hardcode_direct=yes
12704 hardcode_direct_absolute=yes
12705 export_dynamic_flag_spec='$wl-E'
12707 # hardcode_minus_L: Not really in the search PATH,
12708 # but as the default location of the library.
12709 hardcode_minus_L=yes
12715 irix5* | irix6* | nonstopux*)
12716 if test yes = "$GCC"; then
12717 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'
12718 # Try to use the -exported_symbol ld option, if it does not
12719 # work, assume that -exports_file does not work either and
12720 # implicitly export all symbols.
12721 # This should be the same for all languages, so no per-tag cache variable.
12722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12723 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12724 if ${lt_cv_irix_exported_symbol+:} false; then :
12725 $as_echo_n "(cached) " >&6
12727 save_LDFLAGS=$LDFLAGS
12728 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12730 /* end confdefs.h. */
12731 int foo (void) { return 0; }
12733 if ac_fn_c_try_link "$LINENO"; then :
12734 lt_cv_irix_exported_symbol=yes
12736 lt_cv_irix_exported_symbol=no
12738 rm -f core conftest.err conftest.$ac_objext \
12739 conftest$ac_exeext conftest.$ac_ext
12740 LDFLAGS=$save_LDFLAGS
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12743 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12744 if test yes = "$lt_cv_irix_exported_symbol"; then
12745 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'
12747 link_all_deplibs=no
12749 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'
12750 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'
12752 archive_cmds_need_lc='no'
12753 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12754 hardcode_libdir_separator=:
12756 link_all_deplibs=yes
12760 case $cc_basename in
12762 # Fabrice Bellard et al's Tiny C Compiler
12764 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12769 netbsd* | netbsdelf*-gnu)
12770 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12771 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12773 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12775 hardcode_libdir_flag_spec='-R$libdir'
12776 hardcode_direct=yes
12777 hardcode_shlibpath_var=no
12781 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12782 hardcode_direct=yes
12783 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12784 hardcode_libdir_separator=:
12785 hardcode_shlibpath_var=no
12791 openbsd* | bitrig*)
12792 if test -f /usr/libexec/ld.so; then
12793 hardcode_direct=yes
12794 hardcode_shlibpath_var=no
12795 hardcode_direct_absolute=yes
12796 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12797 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12798 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12799 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12800 export_dynamic_flag_spec='$wl-E'
12802 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12803 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12811 hardcode_libdir_flag_spec='-L$libdir'
12812 hardcode_minus_L=yes
12813 allow_undefined_flag=unsupported
12815 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12816 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12817 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12818 $ECHO EXPORTS >> $output_objdir/$libname.def~
12819 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12820 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12821 emximp -o $lib $output_objdir/$libname.def'
12822 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12823 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12824 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12825 $ECHO EXPORTS >> $output_objdir/$libname.def~
12826 prefix_cmds="$SED"~
12827 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12828 prefix_cmds="$prefix_cmds -e 1d";
12830 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12831 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12832 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12833 emximp -o $lib $output_objdir/$libname.def'
12834 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12835 enable_shared_with_static_runtimes=yes
12839 if test yes = "$GCC"; then
12840 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12841 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'
12843 allow_undefined_flag=' -expect_unresolved \*'
12844 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'
12846 archive_cmds_need_lc='no'
12847 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12848 hardcode_libdir_separator=:
12851 osf4* | osf5*) # as osf3* with the addition of -msym flag
12852 if test yes = "$GCC"; then
12853 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
12854 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'
12855 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12857 allow_undefined_flag=' -expect_unresolved \*'
12858 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'
12859 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~
12860 $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'
12862 # Both c and cxx compiler support -rpath directly
12863 hardcode_libdir_flag_spec='-rpath $libdir'
12865 archive_cmds_need_lc='no'
12866 hardcode_libdir_separator=:
12870 no_undefined_flag=' -z defs'
12871 if test yes = "$GCC"; then
12873 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12874 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12875 $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'
12877 case `$CC -V 2>&1` in
12880 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
12881 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12882 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12886 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12887 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12888 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12892 hardcode_libdir_flag_spec='-R$libdir'
12893 hardcode_shlibpath_var=no
12895 solaris2.[0-5] | solaris2.[0-5].*) ;;
12897 # The compiler driver will combine and reorder linker options,
12898 # but understands '-z linker_flag'. GCC discards it without '$wl',
12899 # but is careful enough not to reorder.
12900 # Supported since Solaris 2.6 (maybe 2.5.1?)
12901 if test yes = "$GCC"; then
12902 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
12904 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12908 link_all_deplibs=yes
12912 if test sequent = "$host_vendor"; then
12913 # Use $CC to link under sequent, because it throws in some extra .o
12914 # files that make .init and .fini sections work.
12915 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12917 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12919 hardcode_libdir_flag_spec='-L$libdir'
12920 hardcode_direct=yes
12921 hardcode_minus_L=yes
12922 hardcode_shlibpath_var=no
12926 case $host_vendor in
12928 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12929 hardcode_direct=yes # is this really true???
12932 ## LD is ld it makes a PLAMLIB
12933 ## CC just makes a GrossModule.
12934 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12935 reload_cmds='$CC -r -o $output$reload_objs'
12939 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12940 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12943 runpath_var='LD_RUN_PATH'
12944 hardcode_shlibpath_var=no
12948 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12949 hardcode_shlibpath_var=no
12950 export_dynamic_flag_spec='-Bexport'
12954 if test -d /usr/nec; then
12955 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12956 hardcode_shlibpath_var=no
12957 runpath_var=LD_RUN_PATH
12958 hardcode_runpath_var=yes
12963 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12964 no_undefined_flag='$wl-z,text'
12965 archive_cmds_need_lc=no
12966 hardcode_shlibpath_var=no
12967 runpath_var='LD_RUN_PATH'
12969 if test yes = "$GCC"; then
12970 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12971 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12973 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12974 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12978 sysv5* | sco3.2v5* | sco5v6*)
12979 # Note: We CANNOT use -z defs as we might desire, because we do not
12980 # link with -lc, and that would cause any symbols used from libc to
12981 # always be unresolved, which means just about no library would
12982 # ever link correctly. If we're not using GNU ld we use -z text
12983 # though, which does catch some bad symbols but isn't as heavy-handed
12985 no_undefined_flag='$wl-z,text'
12986 allow_undefined_flag='$wl-z,nodefs'
12987 archive_cmds_need_lc=no
12988 hardcode_shlibpath_var=no
12989 hardcode_libdir_flag_spec='$wl-R,$libdir'
12990 hardcode_libdir_separator=':'
12991 link_all_deplibs=yes
12992 export_dynamic_flag_spec='$wl-Bexport'
12993 runpath_var='LD_RUN_PATH'
12995 if test yes = "$GCC"; then
12996 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12997 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12999 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13000 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13005 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13006 hardcode_libdir_flag_spec='-L$libdir'
13007 hardcode_shlibpath_var=no
13015 if test sni = "$host_vendor"; then
13017 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13018 export_dynamic_flag_spec='$wl-Blargedynsym'
13024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13025 $as_echo "$ld_shlibs" >&6; }
13026 test no = "$ld_shlibs" && can_build_shared=no
13028 with_gnu_ld=$with_gnu_ld
13045 # Do we need to explicitly link libc?
13047 case "x$archive_cmds_need_lc" in
13049 # Assume -lc should be added
13050 archive_cmds_need_lc=yes
13052 if test yes,yes = "$GCC,$enable_shared"; then
13053 case $archive_cmds in
13055 # FIXME: we may have to deal with multi-command sequences.
13058 # Test whether the compiler implicitly links with -lc since on some
13059 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13060 # to ld, don't add -lc before -lgcc.
13061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13062 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13063 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13064 $as_echo_n "(cached) " >&6
13067 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13069 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13070 (eval $ac_compile) 2>&5
13072 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13073 test $ac_status = 0; } 2>conftest.err; then
13076 libobjs=conftest.$ac_objext
13078 wl=$lt_prog_compiler_wl
13079 pic_flag=$lt_prog_compiler_pic
13085 lt_save_allow_undefined_flag=$allow_undefined_flag
13086 allow_undefined_flag=
13087 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13088 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13091 test $ac_status = 0; }
13093 lt_cv_archive_cmds_need_lc=no
13095 lt_cv_archive_cmds_need_lc=yes
13097 allow_undefined_flag=$lt_save_allow_undefined_flag
13099 cat conftest.err 1>&5
13104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13105 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13106 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13265 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13267 if test yes = "$GCC"; then
13269 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13270 *) lt_awk_arg='/^libraries:/' ;;
13273 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13274 *) lt_sed_strip_eq='s|=/|/|g' ;;
13276 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13277 case $lt_search_path_spec in
13279 # if the path contains ";" then we assume it to be the separator
13280 # otherwise default to the standard path separator (i.e. ":") - it is
13281 # assumed that no part of a normal pathname contains ";" but that should
13282 # okay in the real world where ";" in dirpaths is itself problematic.
13283 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13286 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13289 # Ok, now we have the path, separated by spaces, we can step through it
13290 # and add multilib dir if necessary...
13291 lt_tmp_lt_search_path_spec=
13292 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13293 # ...but if some path component already ends with the multilib dir we assume
13294 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13295 case "$lt_multi_os_dir; $lt_search_path_spec " in
13296 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13300 for lt_sys_path in $lt_search_path_spec; do
13301 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13302 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13303 elif test -n "$lt_multi_os_dir"; then
13304 test -d "$lt_sys_path" && \
13305 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13308 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13309 BEGIN {RS = " "; FS = "/|\n";} {
13312 for (lt_i = NF; lt_i > 0; lt_i--) {
13313 if ($lt_i != "" && $lt_i != ".") {
13314 if ($lt_i == "..") {
13317 if (lt_count == 0) {
13318 lt_foo = "/" $lt_i lt_foo;
13325 if (lt_foo != "") { lt_freq[lt_foo]++; }
13326 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13328 # AWK program above erroneously prepends '/' to C:/dos/paths
13331 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13332 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13334 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13336 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13338 library_names_spec=
13339 libname_spec='lib$name'
13343 postuninstall_cmds=
13347 shlibpath_overrides_runpath=unknown
13349 dynamic_linker="$host_os ld.so"
13350 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13351 need_lib_prefix=unknown
13352 hardcode_into_libs=no
13354 # when you set need_version to no, make sure it does not cause -set_version
13355 # flags to be left without arguments
13356 need_version=unknown
13362 version_type=linux # correct to gnu/linux during the next big refactor
13363 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13364 shlibpath_var=LIBPATH
13366 # AIX 3 has no versioning support, so we append a major version to the name.
13367 soname_spec='$libname$release$shared_ext$major'
13371 version_type=linux # correct to gnu/linux during the next big refactor
13374 hardcode_into_libs=yes
13375 if test ia64 = "$host_cpu"; then
13376 # AIX 5 supports IA64
13377 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13378 shlibpath_var=LD_LIBRARY_PATH
13380 # With GCC up to 2.95.x, collect2 would create an import file
13381 # for dependence libraries. The import file would start with
13382 # the line '#! .'. This would cause the generated library to
13383 # depend on '.', always an invalid library. This was fixed in
13384 # development snapshots of GCC prior to 3.0.
13386 aix4 | aix4.[01] | aix4.[01].*)
13387 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13389 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13392 can_build_shared=no
13396 # Using Import Files as archive members, it is possible to support
13397 # filename-based versioning of shared library archives on AIX. While
13398 # this would work for both with and without runtime linking, it will
13399 # prevent static linking of such archives. So we do filename-based
13400 # shared library versioning with .so extension only, which is used
13401 # when both runtime linking and shared linking is enabled.
13402 # Unfortunately, runtime linking may impact performance, so we do
13403 # not want this to be the default eventually. Also, we use the
13404 # versioned .so libs for executables only if there is the -brtl
13405 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13406 # To allow for filename-based versioning support, we need to create
13407 # libNAME.so.V as an archive file, containing:
13408 # *) an Import File, referring to the versioned filename of the
13409 # archive as well as the shared archive member, telling the
13410 # bitwidth (32 or 64) of that shared object, and providing the
13411 # list of exported symbols of that shared object, eventually
13412 # decorated with the 'weak' keyword
13413 # *) the shared object with the F_LOADONLY flag set, to really avoid
13414 # it being seen by the linker.
13415 # At run time we better use the real file rather than another symlink,
13416 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13418 case $with_aix_soname,$aix_use_runtimelinking in
13419 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13420 # soname into executable. Probably we can add versioning support to
13421 # collect2, so additional links can be useful in future.
13422 aix,yes) # traditional libtool
13423 dynamic_linker='AIX unversionable lib.so'
13424 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13425 # instead of lib<name>.a to let people know that these are not
13426 # typical AIX shared libraries.
13427 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13429 aix,no) # traditional AIX only
13430 dynamic_linker='AIX lib.a(lib.so.V)'
13431 # We preserve .a as extension for shared libraries through AIX4.2
13432 # and later when we are not doing run time linking.
13433 library_names_spec='$libname$release.a $libname.a'
13434 soname_spec='$libname$release$shared_ext$major'
13436 svr4,*) # full svr4 only
13437 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13438 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13439 # We do not specify a path in Import Files, so LIBPATH fires.
13440 shlibpath_overrides_runpath=yes
13442 *,yes) # both, prefer svr4
13443 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13444 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13445 # unpreferred sharedlib libNAME.a needs extra handling
13446 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"'
13447 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"'
13448 # We do not specify a path in Import Files, so LIBPATH fires.
13449 shlibpath_overrides_runpath=yes
13451 *,no) # both, prefer aix
13452 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13453 library_names_spec='$libname$release.a $libname.a'
13454 soname_spec='$libname$release$shared_ext$major'
13455 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13456 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)'
13457 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"'
13460 shlibpath_var=LIBPATH
13467 # Since July 2007 AmigaOS4 officially supports .so libraries.
13468 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13469 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13472 library_names_spec='$libname.ixlibrary $libname.a'
13473 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13474 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'
13480 library_names_spec='$libname$shared_ext'
13481 dynamic_linker="$host_os ld.so"
13482 shlibpath_var=LIBRARY_PATH
13486 version_type=linux # correct to gnu/linux during the next big refactor
13488 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13489 soname_spec='$libname$release$shared_ext$major'
13490 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13491 shlibpath_var=LD_LIBRARY_PATH
13492 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13493 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13494 # the default ld.so.conf also contains /usr/contrib/lib and
13495 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13496 # libtool to hard-code these into programs
13499 cygwin* | mingw* | pw32* | cegcc*)
13500 version_type=windows
13505 case $GCC,$cc_basename in
13508 library_names_spec='$libname.dll.a'
13509 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13510 postinstall_cmds='base_file=`basename \$file`~
13511 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13512 dldir=$destdir/`dirname \$dlpath`~
13513 test -d \$dldir || mkdir -p \$dldir~
13514 $install_prog $dir/$dlname \$dldir/$dlname~
13515 chmod a+x \$dldir/$dlname~
13516 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13517 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13519 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13520 dlpath=$dir/\$dldll~
13522 shlibpath_overrides_runpath=yes
13526 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13527 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13529 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13532 # MinGW DLLs use traditional 'lib' prefix
13533 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13536 # pw32 DLLs use 'pw' prefix rather than 'lib'
13537 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13540 dynamic_linker='Win32 ld.exe'
13545 libname_spec='$name'
13546 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13547 library_names_spec='$libname.dll.lib'
13551 sys_lib_search_path_spec=
13554 for lt_path in $LIB
13557 # Let DOS variable expansion print the short 8.3 style file name.
13558 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13559 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13562 # Convert to MSYS style.
13563 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13566 # Convert to unix form, then to dos form, then back to unix form
13567 # but this time dos style (no spaces!) so that the unix form looks
13568 # like /cygdrive/c/PROGRA~1:/cygdr...
13569 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13570 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13571 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13574 sys_lib_search_path_spec=$LIB
13575 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13576 # It is most probably a Windows format PATH.
13577 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13579 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13581 # FIXME: find the short name or the path components, as spaces are
13582 # common. (e.g. "Program Files" -> "PROGRA~1")
13586 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13587 postinstall_cmds='base_file=`basename \$file`~
13588 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13589 dldir=$destdir/`dirname \$dlpath`~
13590 test -d \$dldir || mkdir -p \$dldir~
13591 $install_prog $dir/$dlname \$dldir/$dlname'
13592 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13593 dlpath=$dir/\$dldll~
13595 shlibpath_overrides_runpath=yes
13596 dynamic_linker='Win32 link.exe'
13600 # Assume MSVC wrapper
13601 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13602 dynamic_linker='Win32 ld.exe'
13605 # FIXME: first we should search . and the directory the executable is in
13609 darwin* | rhapsody*)
13610 dynamic_linker="$host_os dyld"
13611 version_type=darwin
13614 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13615 soname_spec='$libname$release$major$shared_ext'
13616 shlibpath_overrides_runpath=yes
13617 shlibpath_var=DYLD_LIBRARY_PATH
13618 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13620 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13621 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13625 version_type=linux # correct to gnu/linux during the next big refactor
13628 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13629 soname_spec='$libname$release$shared_ext$major'
13630 shlibpath_var=LD_LIBRARY_PATH
13633 freebsd* | dragonfly*)
13634 # DragonFly does not have aout. When/if they implement a new
13635 # versioning mechanism, adjust this.
13636 if test -x /usr/bin/objformat; then
13637 objformat=`/usr/bin/objformat`
13640 freebsd[23].*) objformat=aout ;;
13641 *) objformat=elf ;;
13644 version_type=freebsd-$objformat
13645 case $version_type in
13647 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13648 soname_spec='$libname$release$shared_ext$major'
13653 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13657 shlibpath_var=LD_LIBRARY_PATH
13660 shlibpath_overrides_runpath=yes
13662 freebsd3.[01]* | freebsdelf3.[01]*)
13663 shlibpath_overrides_runpath=yes
13664 hardcode_into_libs=yes
13666 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13667 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13668 shlibpath_overrides_runpath=no
13669 hardcode_into_libs=yes
13671 *) # from 4.6 on, and DragonFly
13672 shlibpath_overrides_runpath=yes
13673 hardcode_into_libs=yes
13679 version_type=linux # correct to gnu/linux during the next big refactor
13682 dynamic_linker="$host_os runtime_loader"
13683 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13684 soname_spec='$libname$release$shared_ext$major'
13685 shlibpath_var=LIBRARY_PATH
13686 shlibpath_overrides_runpath=no
13687 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13688 hardcode_into_libs=yes
13691 hpux9* | hpux10* | hpux11*)
13692 # Give a soname corresponding to the major version so that dld.sl refuses to
13693 # link against other versions.
13700 hardcode_into_libs=yes
13701 dynamic_linker="$host_os dld.so"
13702 shlibpath_var=LD_LIBRARY_PATH
13703 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13704 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13705 soname_spec='$libname$release$shared_ext$major'
13706 if test 32 = "$HPUX_IA64_MODE"; then
13707 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13708 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13710 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13711 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13716 hardcode_into_libs=yes
13717 dynamic_linker="$host_os dld.sl"
13718 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13719 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13720 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13721 soname_spec='$libname$release$shared_ext$major'
13722 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13723 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13727 dynamic_linker="$host_os dld.sl"
13728 shlibpath_var=SHLIB_PATH
13729 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13730 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13731 soname_spec='$libname$release$shared_ext$major'
13734 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13735 postinstall_cmds='chmod 555 $lib'
13736 # or fails outright, so override atomically:
13737 install_override_mode=555
13741 version_type=linux # correct to gnu/linux during the next big refactor
13744 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13745 soname_spec='$libname$release$shared_ext$major'
13746 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13747 shlibpath_var=LD_LIBRARY_PATH
13748 shlibpath_overrides_runpath=no
13749 hardcode_into_libs=yes
13752 irix5* | irix6* | nonstopux*)
13754 nonstopux*) version_type=nonstopux ;;
13756 if test yes = "$lt_cv_prog_gnu_ld"; then
13757 version_type=linux # correct to gnu/linux during the next big refactor
13764 soname_spec='$libname$release$shared_ext$major'
13765 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13767 irix5* | nonstopux*)
13768 libsuff= shlibsuff=
13771 case $LD in # libtool.m4 will add one of these switches to LD
13772 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13773 libsuff= shlibsuff= libmagic=32-bit;;
13774 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13775 libsuff=32 shlibsuff=N32 libmagic=N32;;
13776 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13777 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13778 *) libsuff= shlibsuff= libmagic=never-match;;
13782 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13783 shlibpath_overrides_runpath=no
13784 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13785 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13786 hardcode_into_libs=yes
13789 # No shared lib support for Linux oldld, aout, or coff.
13790 linux*oldld* | linux*aout* | linux*coff*)
13795 version_type=none # Android doesn't support versioned libraries.
13798 library_names_spec='$libname$release$shared_ext'
13799 soname_spec='$libname$release$shared_ext'
13801 shlibpath_var=LD_LIBRARY_PATH
13802 shlibpath_overrides_runpath=yes
13804 # This implies no fast_install, which is unacceptable.
13805 # Some rework will be needed to allow for fast_install
13806 # before this can be enabled.
13807 hardcode_into_libs=yes
13809 dynamic_linker='Android linker'
13810 # Don't embed -rpath directories since the linker doesn't support them.
13811 hardcode_libdir_flag_spec='-L$libdir'
13814 # This must be glibc/ELF.
13815 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
13816 version_type=linux # correct to gnu/linux during the next big refactor
13819 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13820 soname_spec='$libname$release$shared_ext$major'
13821 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13822 shlibpath_var=LD_LIBRARY_PATH
13823 shlibpath_overrides_runpath=no
13825 # Some binutils ld are patched to set DT_RUNPATH
13826 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13827 $as_echo_n "(cached) " >&6
13829 lt_cv_shlibpath_overrides_runpath=no
13830 save_LDFLAGS=$LDFLAGS
13831 save_libdir=$libdir
13832 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13833 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13835 /* end confdefs.h. */
13845 if ac_fn_c_try_link "$LINENO"; then :
13846 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13847 lt_cv_shlibpath_overrides_runpath=yes
13850 rm -f core conftest.err conftest.$ac_objext \
13851 conftest$ac_exeext conftest.$ac_ext
13852 LDFLAGS=$save_LDFLAGS
13853 libdir=$save_libdir
13857 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13859 # This implies no fast_install, which is unacceptable.
13860 # Some rework will be needed to allow for fast_install
13861 # before this can be enabled.
13862 hardcode_into_libs=yes
13864 # Ideally, we could use ldconfig to report *all* directores which are
13865 # searched for libraries, however this is still not possible. Aside from not
13866 # being certain /sbin/ldconfig is available, command
13867 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
13868 # even though it is searched at run-time. Try to do the best guess by
13869 # appending ld.so.conf contents (and includes) to the search path.
13870 if test -f /etc/ld.so.conf; then
13871 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' ' '`
13872 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13875 # We used to test for /lib/ld.so.1 and disable shared libraries on
13876 # powerpc, because MkLinux only supported shared libraries with the
13877 # GNU dynamic linker. Since this was broken with cross compilers,
13878 # most powerpc-linux boxes support dynamic linking these days and
13879 # people can always --disable-shared, the test was removed, and we
13880 # assume the GNU/Linux dynamic linker is in use.
13881 dynamic_linker='GNU/Linux ld.so'
13888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13889 soname_spec='${libname}${release}${shared_ext}$major'
13890 shlibpath_var=LD_LIBRARY_PATH
13891 shlibpath_overrides_runpath=no
13892 hardcode_into_libs=yes
13893 dynamic_linker='NetBSD ld.elf_so'
13900 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13901 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13902 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13903 dynamic_linker='NetBSD (a.out) ld.so'
13905 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13906 soname_spec='$libname$release$shared_ext$major'
13907 dynamic_linker='NetBSD ld.elf_so'
13909 shlibpath_var=LD_LIBRARY_PATH
13910 shlibpath_overrides_runpath=yes
13911 hardcode_into_libs=yes
13915 version_type=linux # correct to gnu/linux during the next big refactor
13916 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13917 shlibpath_var=LD_LIBRARY_PATH
13918 shlibpath_overrides_runpath=yes
13925 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13926 soname_spec='$libname$release$shared_ext$major'
13927 shlibpath_var=LD_LIBRARY_PATH
13928 shlibpath_overrides_runpath=no
13929 hardcode_into_libs=yes
13930 dynamic_linker='ldqnx.so'
13933 openbsd* | bitrig*)
13935 sys_lib_dlsearch_path_spec=/usr/lib
13937 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13942 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13943 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13944 shlibpath_var=LD_LIBRARY_PATH
13945 shlibpath_overrides_runpath=yes
13949 libname_spec='$name'
13950 version_type=windows
13954 # OS/2 can only load a DLL with a base name of 8 characters or less.
13955 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
13956 v=$($ECHO $release$versuffix | tr -d .-);
13957 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
13958 $ECHO $n$v`$shared_ext'
13959 library_names_spec='${libname}_dll.$libext'
13960 dynamic_linker='OS/2 ld.exe'
13961 shlibpath_var=BEGINLIBPATH
13962 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13963 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13964 postinstall_cmds='base_file=`basename \$file`~
13965 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
13966 dldir=$destdir/`dirname \$dlpath`~
13967 test -d \$dldir || mkdir -p \$dldir~
13968 $install_prog $dir/$dlname \$dldir/$dlname~
13969 chmod a+x \$dldir/$dlname~
13970 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13971 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13973 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
13974 dlpath=$dir/\$dldll~
13978 osf3* | osf4* | osf5*)
13982 soname_spec='$libname$release$shared_ext$major'
13983 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13984 shlibpath_var=LD_LIBRARY_PATH
13985 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13986 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13994 version_type=linux # correct to gnu/linux during the next big refactor
13997 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13998 soname_spec='$libname$release$shared_ext$major'
13999 shlibpath_var=LD_LIBRARY_PATH
14000 shlibpath_overrides_runpath=yes
14001 hardcode_into_libs=yes
14002 # ldd complains unless libraries are executable
14003 postinstall_cmds='chmod +x $lib'
14008 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14009 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14010 shlibpath_var=LD_LIBRARY_PATH
14011 shlibpath_overrides_runpath=yes
14012 if test yes = "$with_gnu_ld"; then
14019 version_type=linux # correct to gnu/linux during the next big refactor
14020 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14021 soname_spec='$libname$release$shared_ext$major'
14022 shlibpath_var=LD_LIBRARY_PATH
14023 case $host_vendor in
14025 shlibpath_overrides_runpath=no
14027 runpath_var=LD_RUN_PATH
14035 shlibpath_overrides_runpath=no
14036 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14042 if test -d /usr/nec; then
14043 version_type=linux # correct to gnu/linux during the next big refactor
14044 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14045 soname_spec='$libname$shared_ext.$major'
14046 shlibpath_var=LD_LIBRARY_PATH
14050 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14054 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14055 soname_spec='$libname$release$shared_ext$major'
14056 shlibpath_var=LD_LIBRARY_PATH
14057 shlibpath_overrides_runpath=yes
14058 hardcode_into_libs=yes
14059 if test yes = "$with_gnu_ld"; then
14060 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14062 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14065 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14069 sys_lib_dlsearch_path_spec='/usr/lib'
14073 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14074 version_type=linux # correct to gnu/linux during the next big refactor
14077 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14078 shlibpath_var=LD_LIBRARY_PATH
14079 shlibpath_overrides_runpath=no
14080 hardcode_into_libs=yes
14084 version_type=linux # correct to gnu/linux during the next big refactor
14085 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14086 soname_spec='$libname$release$shared_ext$major'
14087 shlibpath_var=LD_LIBRARY_PATH
14094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14095 $as_echo "$dynamic_linker" >&6; }
14096 test no = "$dynamic_linker" && can_build_shared=no
14098 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14099 if test yes = "$GCC"; then
14100 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14103 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14104 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14107 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14108 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14111 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14112 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14114 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14115 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14117 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14118 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14217 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14219 if test -n "$hardcode_libdir_flag_spec" ||
14220 test -n "$runpath_var" ||
14221 test yes = "$hardcode_automatic"; then
14223 # We can hardcode non-existent directories.
14224 if test no != "$hardcode_direct" &&
14225 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14226 # have to relink, otherwise we might link with an installed library
14227 # when we should be linking with a yet-to-be-installed one
14228 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14229 test no != "$hardcode_minus_L"; then
14230 # Linking always hardcodes the temporary library directory.
14231 hardcode_action=relink
14233 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14234 hardcode_action=immediate
14237 # We cannot hardcode anything, or else we can only hardcode existing
14239 hardcode_action=unsupported
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14242 $as_echo "$hardcode_action" >&6; }
14244 if test relink = "$hardcode_action" ||
14245 test yes = "$inherit_rpath"; then
14246 # Fast installation is not supported
14247 enable_fast_install=no
14248 elif test yes = "$shlibpath_overrides_runpath" ||
14249 test no = "$enable_shared"; then
14250 # Fast installation is not necessary
14251 enable_fast_install=needless
14259 if test yes != "$enable_dlopen"; then
14260 enable_dlopen=unknown
14261 enable_dlopen_self=unknown
14262 enable_dlopen_self_static=unknown
14269 lt_cv_dlopen=load_add_on
14271 lt_cv_dlopen_self=yes
14274 mingw* | pw32* | cegcc*)
14275 lt_cv_dlopen=LoadLibrary
14280 lt_cv_dlopen=dlopen
14285 # if libdl is installed we need to link against it
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14287 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14288 if ${ac_cv_lib_dl_dlopen+:} false; then :
14289 $as_echo_n "(cached) " >&6
14291 ac_check_lib_save_LIBS=$LIBS
14293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14294 /* end confdefs.h. */
14296 /* Override any GCC internal prototype to avoid an error.
14297 Use char because int might match the return type of a GCC
14298 builtin and then its argument prototype would still apply. */
14311 if ac_fn_c_try_link "$LINENO"; then :
14312 ac_cv_lib_dl_dlopen=yes
14314 ac_cv_lib_dl_dlopen=no
14316 rm -f core conftest.err conftest.$ac_objext \
14317 conftest$ac_exeext conftest.$ac_ext
14318 LIBS=$ac_check_lib_save_LIBS
14320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14321 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14322 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14323 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14328 lt_cv_dlopen_self=yes
14335 # Don't try to run any link tests for TPF. We know it's impossible
14336 # because TPF is a cross-compiler, and we know how we open DSOs.
14337 lt_cv_dlopen=dlopen
14339 lt_cv_dlopen_self=no
14343 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14344 if test "x$ac_cv_func_shl_load" = xyes; then :
14345 lt_cv_dlopen=shl_load
14347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14348 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14349 if ${ac_cv_lib_dld_shl_load+:} false; then :
14350 $as_echo_n "(cached) " >&6
14352 ac_check_lib_save_LIBS=$LIBS
14354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14355 /* end confdefs.h. */
14357 /* Override any GCC internal prototype to avoid an error.
14358 Use char because int might match the return type of a GCC
14359 builtin and then its argument prototype would still apply. */
14367 return shl_load ();
14372 if ac_fn_c_try_link "$LINENO"; then :
14373 ac_cv_lib_dld_shl_load=yes
14375 ac_cv_lib_dld_shl_load=no
14377 rm -f core conftest.err conftest.$ac_objext \
14378 conftest$ac_exeext conftest.$ac_ext
14379 LIBS=$ac_check_lib_save_LIBS
14381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14382 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14383 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14384 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14386 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14387 if test "x$ac_cv_func_dlopen" = xyes; then :
14388 lt_cv_dlopen=dlopen
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14391 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14392 if ${ac_cv_lib_dl_dlopen+:} false; then :
14393 $as_echo_n "(cached) " >&6
14395 ac_check_lib_save_LIBS=$LIBS
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 /* Override any GCC internal prototype to avoid an error.
14401 Use char because int might match the return type of a GCC
14402 builtin and then its argument prototype would still apply. */
14415 if ac_fn_c_try_link "$LINENO"; then :
14416 ac_cv_lib_dl_dlopen=yes
14418 ac_cv_lib_dl_dlopen=no
14420 rm -f core conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14422 LIBS=$ac_check_lib_save_LIBS
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14425 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14426 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14427 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14430 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14431 if ${ac_cv_lib_svld_dlopen+:} false; then :
14432 $as_echo_n "(cached) " >&6
14434 ac_check_lib_save_LIBS=$LIBS
14435 LIBS="-lsvld $LIBS"
14436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14439 /* Override any GCC internal prototype to avoid an error.
14440 Use char because int might match the return type of a GCC
14441 builtin and then its argument prototype would still apply. */
14454 if ac_fn_c_try_link "$LINENO"; then :
14455 ac_cv_lib_svld_dlopen=yes
14457 ac_cv_lib_svld_dlopen=no
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext conftest.$ac_ext
14461 LIBS=$ac_check_lib_save_LIBS
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14464 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14465 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14466 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14469 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14470 if ${ac_cv_lib_dld_dld_link+:} false; then :
14471 $as_echo_n "(cached) " >&6
14473 ac_check_lib_save_LIBS=$LIBS
14475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14476 /* end confdefs.h. */
14478 /* Override any GCC internal prototype to avoid an error.
14479 Use char because int might match the return type of a GCC
14480 builtin and then its argument prototype would still apply. */
14488 return dld_link ();
14493 if ac_fn_c_try_link "$LINENO"; then :
14494 ac_cv_lib_dld_dld_link=yes
14496 ac_cv_lib_dld_dld_link=no
14498 rm -f core conftest.err conftest.$ac_objext \
14499 conftest$ac_exeext conftest.$ac_ext
14500 LIBS=$ac_check_lib_save_LIBS
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14503 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14504 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14505 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14526 if test no = "$lt_cv_dlopen"; then
14532 case $lt_cv_dlopen in
14534 save_CPPFLAGS=$CPPFLAGS
14535 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14537 save_LDFLAGS=$LDFLAGS
14538 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14541 LIBS="$lt_cv_dlopen_libs $LIBS"
14543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14544 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14545 if ${lt_cv_dlopen_self+:} false; then :
14546 $as_echo_n "(cached) " >&6
14548 if test yes = "$cross_compiling"; then :
14549 lt_cv_dlopen_self=cross
14551 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14552 lt_status=$lt_dlunknown
14553 cat > conftest.$ac_ext <<_LT_EOF
14554 #line $LINENO "configure"
14555 #include "confdefs.h"
14564 # define LT_DLGLOBAL RTLD_GLOBAL
14567 # define LT_DLGLOBAL DL_GLOBAL
14569 # define LT_DLGLOBAL 0
14573 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14574 find out it does not work in some platform. */
14575 #ifndef LT_DLLAZY_OR_NOW
14577 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14580 # define LT_DLLAZY_OR_NOW DL_LAZY
14583 # define LT_DLLAZY_OR_NOW RTLD_NOW
14586 # define LT_DLLAZY_OR_NOW DL_NOW
14588 # define LT_DLLAZY_OR_NOW 0
14595 /* When -fvisibility=hidden is used, assume the code has been annotated
14596 correspondingly for the symbols needed. */
14597 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14598 int fnord () __attribute__((visibility("default")));
14601 int fnord () { return 42; }
14604 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14605 int status = $lt_dlunknown;
14609 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14612 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14613 else puts (dlerror ());
14615 /* dlclose (self); */
14623 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14624 (eval $ac_link) 2>&5
14626 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14627 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14628 (./conftest; exit; ) >&5 2>/dev/null
14630 case x$lt_status in
14631 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14632 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14633 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14636 # compilation failed
14637 lt_cv_dlopen_self=no
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14645 $as_echo "$lt_cv_dlopen_self" >&6; }
14647 if test yes = "$lt_cv_dlopen_self"; then
14648 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14650 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14651 if ${lt_cv_dlopen_self_static+:} false; then :
14652 $as_echo_n "(cached) " >&6
14654 if test yes = "$cross_compiling"; then :
14655 lt_cv_dlopen_self_static=cross
14657 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14658 lt_status=$lt_dlunknown
14659 cat > conftest.$ac_ext <<_LT_EOF
14660 #line $LINENO "configure"
14661 #include "confdefs.h"
14670 # define LT_DLGLOBAL RTLD_GLOBAL
14673 # define LT_DLGLOBAL DL_GLOBAL
14675 # define LT_DLGLOBAL 0
14679 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14680 find out it does not work in some platform. */
14681 #ifndef LT_DLLAZY_OR_NOW
14683 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14686 # define LT_DLLAZY_OR_NOW DL_LAZY
14689 # define LT_DLLAZY_OR_NOW RTLD_NOW
14692 # define LT_DLLAZY_OR_NOW DL_NOW
14694 # define LT_DLLAZY_OR_NOW 0
14701 /* When -fvisibility=hidden is used, assume the code has been annotated
14702 correspondingly for the symbols needed. */
14703 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14704 int fnord () __attribute__((visibility("default")));
14707 int fnord () { return 42; }
14710 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14711 int status = $lt_dlunknown;
14715 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14718 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14719 else puts (dlerror ());
14721 /* dlclose (self); */
14729 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14730 (eval $ac_link) 2>&5
14732 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14733 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14734 (./conftest; exit; ) >&5 2>/dev/null
14736 case x$lt_status in
14737 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14738 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14739 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14742 # compilation failed
14743 lt_cv_dlopen_self_static=no
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14751 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14754 CPPFLAGS=$save_CPPFLAGS
14755 LDFLAGS=$save_LDFLAGS
14760 case $lt_cv_dlopen_self in
14761 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14762 *) enable_dlopen_self=unknown ;;
14765 case $lt_cv_dlopen_self_static in
14766 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14767 *) enable_dlopen_self_static=unknown ;;
14789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14790 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14791 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14792 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14793 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14795 $as_echo "yes" >&6; }
14797 # FIXME - insert some real tests, host_os isn't really good enough
14800 if test -n "$STRIP"; then
14801 striplib="$STRIP -x"
14802 old_striplib="$STRIP -S"
14803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14804 $as_echo "yes" >&6; }
14806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14807 $as_echo "no" >&6; }
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14812 $as_echo "no" >&6; }
14828 # Report what library types will actually be built
14829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14830 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14832 $as_echo "$can_build_shared" >&6; }
14834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14835 $as_echo_n "checking whether to build shared libraries... " >&6; }
14836 test no = "$can_build_shared" && enable_shared=no
14838 # On AIX, shared libraries and static libraries use the same namespace, and
14839 # are all built from PIC.
14842 test yes = "$enable_shared" && enable_static=no
14843 if test -n "$RANLIB"; then
14844 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14845 postinstall_cmds='$RANLIB $lib'
14850 if test ia64 != "$host_cpu"; then
14851 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
14852 yes,aix,yes) ;; # shared object as lib.so file only
14853 yes,svr4,*) ;; # shared object as lib.so archive member only
14854 yes,*) enable_static=no ;; # shared object in lib.a archive as well
14859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14860 $as_echo "$enable_shared" >&6; }
14862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14863 $as_echo_n "checking whether to build static libraries... " >&6; }
14864 # Make sure either enable_shared or enable_static is yes.
14865 test yes = "$enable_shared" || enable_static=yes
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14867 $as_echo "$enable_static" >&6; }
14874 ac_cpp='$CPP $CPPFLAGS'
14875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14895 ac_config_commands="$ac_config_commands libtool"
14900 # Only expand once:
14904 # Extract the first word of "valgrind", so it can be a program name with args.
14905 set dummy valgrind; ac_word=$2
14906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
14907 $as_echo_n "checking for $ac_word... " >&6; }
14908 if ${ac_cv_path_PATH_VALGRIND+:} false; then :
14909 $as_echo_n "(cached) " >&6
14911 case $PATH_VALGRIND in
14913 ac_cv_path_PATH_VALGRIND="$PATH_VALGRIND" # Let the user override the test with a path.
14916 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14917 for as_dir in $PATH
14920 test -z "$as_dir" && as_dir=.
14921 for ac_exec_ext in '' $ac_executable_extensions; do
14922 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
14923 ac_cv_path_PATH_VALGRIND="$as_dir/$ac_word$ac_exec_ext"
14924 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
14934 PATH_VALGRIND=$ac_cv_path_PATH_VALGRIND
14935 if test -n "$PATH_VALGRIND"; then
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_VALGRIND" >&5
14937 $as_echo "$PATH_VALGRIND" >&6; }
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14940 $as_echo "no" >&6; }
14945 rra_lib_arch_name=lib
14946 # The cast to long int works around a bug in the HP C Compiler
14947 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
14948 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
14949 # This bug is HP SR number 8606223364.
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
14951 $as_echo_n "checking size of long... " >&6; }
14952 if ${ac_cv_sizeof_long+:} false; then :
14953 $as_echo_n "(cached) " >&6
14955 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
14958 if test "$ac_cv_type_long" = yes; then
14959 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14960 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14961 as_fn_error 77 "cannot compute sizeof (long)
14962 See \`config.log' for more details" "$LINENO" 5; }
14964 ac_cv_sizeof_long=0
14969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
14970 $as_echo "$ac_cv_sizeof_long" >&6; }
14974 cat >>confdefs.h <<_ACEOF
14975 #define SIZEOF_LONG $ac_cv_sizeof_long
14979 if test "$ac_cv_sizeof_long" -eq 4 && test -d /usr/lib32; then :
14980 rra_lib_arch_name=lib32
14982 if test "$ac_cv_sizeof_long" -eq 8 && test -d /usr/lib64; then :
14983 rra_lib_arch_name=lib64
14988 rra_CDB_includedir=
14997 # Check whether --with-tinycdb was given.
14998 if test "${with_tinycdb+set}" = set; then :
14999 withval=$with_tinycdb; if test x"$withval" = xno; then :
15002 if test x"$withval" != xyes; then :
15003 rra_CDB_root="$withval"
15010 # Check whether --with-tinycdb-include was given.
15011 if test "${with_tinycdb_include+set}" = set; then :
15012 withval=$with_tinycdb_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
15013 rra_CDB_includedir="$withval"
15018 # Check whether --with-tinycdb-lib was given.
15019 if test "${with_tinycdb_lib+set}" = set; then :
15020 withval=$with_tinycdb_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
15021 rra_CDB_libdir="$withval"
15025 if test x"$rra_use_CDB" != xfalse; then :
15026 if test x"$rra_use_CDB" = xtrue; then :
15027 if test x"$rra_CDB_libdir" != x; then :
15028 CDB_LDFLAGS="-L$rra_CDB_libdir"
15030 if test x"$rra_CDB_root" != x; then :
15032 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
15033 if test x"" = x; then :
15034 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
15036 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
15039 if test x"" = x; then :
15040 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
15042 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
15045 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
15048 if test x"$rra_CDB_includedir" != x; then :
15049 CDB_CPPFLAGS="-I$rra_CDB_includedir"
15051 if test x"$rra_CDB_root" != x; then :
15052 if test x"$rra_CDB_root" != x/usr; then :
15053 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
15057 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
15058 rra_CDB_save_LDFLAGS="$LDFLAGS"
15059 rra_CDB_save_LIBS="$LIBS"
15060 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
15061 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
15062 LIBS="$CDB_LIBS $LIBS"
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
15064 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
15065 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
15066 $as_echo_n "(cached) " >&6
15068 ac_check_lib_save_LIBS=$LIBS
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15083 return cdb_init ();
15088 if ac_fn_c_try_link "$LINENO"; then :
15089 ac_cv_lib_cdb_cdb_init=yes
15091 ac_cv_lib_cdb_cdb_init=no
15093 rm -f core conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext conftest.$ac_ext
15095 LIBS=$ac_check_lib_save_LIBS
15097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
15098 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
15099 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
15102 if test x"true" = xtrue; then :
15103 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
15107 for ac_header in cdb.h
15109 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
15110 if test "x$ac_cv_header_cdb_h" = xyes; then :
15111 cat >>confdefs.h <<_ACEOF
15112 #define HAVE_CDB_H 1
15119 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
15120 LDFLAGS="$rra_CDB_save_LDFLAGS"
15121 LIBS="$rra_CDB_save_LIBS"
15123 if test x"$rra_CDB_libdir" != x; then :
15124 CDB_LDFLAGS="-L$rra_CDB_libdir"
15126 if test x"$rra_CDB_root" != x; then :
15128 if test -d "${rra_CDB_root}/$rra_lib_arch_name"; then :
15129 if test x"" = x; then :
15130 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}"
15132 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/${rra_lib_arch_name}/"
15135 if test x"" = x; then :
15136 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib"
15138 CDB_LDFLAGS="$CDB_LDFLAGS -L${rra_CDB_root}/lib/"
15141 CDB_LDFLAGS=`echo "$CDB_LDFLAGS" | sed -e 's/^ *//'`
15144 if test x"$rra_CDB_includedir" != x; then :
15145 CDB_CPPFLAGS="-I$rra_CDB_includedir"
15147 if test x"$rra_CDB_root" != x; then :
15148 if test x"$rra_CDB_root" != x/usr; then :
15149 CDB_CPPFLAGS="-I${rra_CDB_root}/include"
15153 rra_CDB_save_CPPFLAGS="$CPPFLAGS"
15154 rra_CDB_save_LDFLAGS="$LDFLAGS"
15155 rra_CDB_save_LIBS="$LIBS"
15156 CPPFLAGS="$CDB_CPPFLAGS $CPPFLAGS"
15157 LDFLAGS="$CDB_LDFLAGS $LDFLAGS"
15158 LIBS="$CDB_LIBS $LIBS"
15159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cdb_init in -lcdb" >&5
15160 $as_echo_n "checking for cdb_init in -lcdb... " >&6; }
15161 if ${ac_cv_lib_cdb_cdb_init+:} false; then :
15162 $as_echo_n "(cached) " >&6
15164 ac_check_lib_save_LIBS=$LIBS
15166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15167 /* end confdefs.h. */
15169 /* Override any GCC internal prototype to avoid an error.
15170 Use char because int might match the return type of a GCC
15171 builtin and then its argument prototype would still apply. */
15179 return cdb_init ();
15184 if ac_fn_c_try_link "$LINENO"; then :
15185 ac_cv_lib_cdb_cdb_init=yes
15187 ac_cv_lib_cdb_cdb_init=no
15189 rm -f core conftest.err conftest.$ac_objext \
15190 conftest$ac_exeext conftest.$ac_ext
15191 LIBS=$ac_check_lib_save_LIBS
15193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cdb_cdb_init" >&5
15194 $as_echo "$ac_cv_lib_cdb_cdb_init" >&6; }
15195 if test "x$ac_cv_lib_cdb_cdb_init" = xyes; then :
15198 if test x"false" = xtrue; then :
15199 as_fn_error $? "cannot find usable TinyCDB library" "$LINENO" 5
15203 for ac_header in cdb.h
15205 ac_fn_c_check_header_mongrel "$LINENO" "cdb.h" "ac_cv_header_cdb_h" "$ac_includes_default"
15206 if test "x$ac_cv_header_cdb_h" = xyes; then :
15207 cat >>confdefs.h <<_ACEOF
15208 #define HAVE_CDB_H 1
15215 CPPFLAGS="$rra_CDB_save_CPPFLAGS"
15216 LDFLAGS="$rra_CDB_save_LDFLAGS"
15217 LIBS="$rra_CDB_save_LIBS"
15220 if test x"$CDB_LIBS" != x; then :
15223 $as_echo "#define HAVE_CDB 1" >>confdefs.h
15227 rra_CRACKLIB_libdir=
15228 rra_CRACKLIB_includedir=
15238 # Check whether --with-cracklib was given.
15239 if test "${with_cracklib+set}" = set; then :
15240 withval=$with_cracklib; if test x"$withval" = xno; then :
15241 rra_use_CRACKLIB=false
15243 rra_use_CRACKLIB=true
15244 if test x"$withval" != xyes; then :
15245 rra_CRACKLIB_root="$withval"
15251 # Check whether --with-cracklib-include was given.
15252 if test "${with_cracklib_include+set}" = set; then :
15253 withval=$with_cracklib_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
15254 rra_CRACKLIB_includedir="$withval"
15259 # Check whether --with-cracklib-lib was given.
15260 if test "${with_cracklib_lib+set}" = set; then :
15261 withval=$with_cracklib_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
15262 rra_CRACKLIB_libdir="$withval"
15267 if test x"$rra_use_CRACKLIB" != xfalse; then :
15268 if test x"$rra_use_CRACKLIB" != x; then :
15269 if test x"$rra_CRACKLIB_libdir" != x; then :
15270 CRACKLIB_LDFLAGS="-L$rra_CRACKLIB_libdir"
15272 if test x"$rra_CRACKLIB_root" != x; then :
15274 if test -d "${rra_CRACKLIB_root}/$rra_lib_arch_name"; then :
15275 if test x"" = x; then :
15276 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/${rra_lib_arch_name}"
15278 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/${rra_lib_arch_name}/"
15281 if test x"" = x; then :
15282 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/lib"
15284 CRACKLIB_LDFLAGS="$CRACKLIB_LDFLAGS -L${rra_CRACKLIB_root}/lib/"
15287 CRACKLIB_LDFLAGS=`echo "$CRACKLIB_LDFLAGS" | sed -e 's/^ *//'`
15290 if test x"$rra_CRACKLIB_includedir" != x; then :
15291 CRACKLIB_CPPFLAGS="-I$rra_CRACKLIB_includedir"
15293 if test x"$rra_CRACKLIB_root" != x; then :
15294 if test x"$rra_CRACKLIB_root" != x/usr; then :
15295 CRACKLIB_CPPFLAGS="-I${rra_CRACKLIB_root}/include"
15299 rra_CRACKLIB_save_CPPFLAGS="$CPPFLAGS"
15300 rra_CRACKLIB_save_LDFLAGS="$LDFLAGS"
15301 rra_CRACKLIB_save_LIBS="$LIBS"
15302 CPPFLAGS="$CRACKLIB_CPPFLAGS $CPPFLAGS"
15303 LDFLAGS="$CRACKLIB_LDFLAGS $LDFLAGS"
15304 LIBS="$CRACKLIB_LIBS $LIBS"
15305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for FascistCheck in -lcrack" >&5
15306 $as_echo_n "checking for FascistCheck in -lcrack... " >&6; }
15307 if ${ac_cv_lib_crack_FascistCheck+:} false; then :
15308 $as_echo_n "(cached) " >&6
15310 ac_check_lib_save_LIBS=$LIBS
15311 LIBS="-lcrack $LIBS"
15312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15313 /* end confdefs.h. */
15315 /* Override any GCC internal prototype to avoid an error.
15316 Use char because int might match the return type of a GCC
15317 builtin and then its argument prototype would still apply. */
15321 char FascistCheck ();
15325 return FascistCheck ();
15330 if ac_fn_c_try_link "$LINENO"; then :
15331 ac_cv_lib_crack_FascistCheck=yes
15333 ac_cv_lib_crack_FascistCheck=no
15335 rm -f core conftest.err conftest.$ac_objext \
15336 conftest$ac_exeext conftest.$ac_ext
15337 LIBS=$ac_check_lib_save_LIBS
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_crack_FascistCheck" >&5
15340 $as_echo "$ac_cv_lib_crack_FascistCheck" >&6; }
15341 if test "x$ac_cv_lib_crack_FascistCheck" = xyes; then :
15342 CRACKLIB_LIBS=-lcrack
15344 as_fn_error $? "cannot find usable CrackLib library" "$LINENO" 5
15347 for ac_header in crack.h
15349 ac_fn_c_check_header_mongrel "$LINENO" "crack.h" "ac_cv_header_crack_h" "$ac_includes_default"
15350 if test "x$ac_cv_header_crack_h" = xyes; then :
15351 cat >>confdefs.h <<_ACEOF
15352 #define HAVE_CRACK_H 1
15360 $as_echo "#define HAVE_SYSTEM_CRACKLIB 1" >>confdefs.h
15362 CPPFLAGS="$rra_CRACKLIB_save_CPPFLAGS"
15363 LDFLAGS="$rra_CRACKLIB_save_LDFLAGS"
15364 LIBS="$rra_CRACKLIB_save_LIBS"
15367 $as_echo "#define HAVE_CRACKLIB 1" >>confdefs.h
15370 if test x"$rra_use_CRACKLIB" = x; then
15371 EMBEDDED_CRACKLIB_TRUE=
15372 EMBEDDED_CRACKLIB_FALSE='#'
15374 EMBEDDED_CRACKLIB_TRUE='#'
15375 EMBEDDED_CRACKLIB_FALSE=
15378 rra_reduced_depends=false
15379 # Check whether --enable-reduced-depends was given.
15380 if test "${enable_reduced_depends+set}" = set; then :
15381 enableval=$enable_reduced_depends; if test x"$enableval" = xyes; then :
15382 rra_reduced_depends=true
15388 rra_krb5_includedir=
15392 # Check whether --with-krb5 was given.
15393 if test "${with_krb5+set}" = set; then :
15394 withval=$with_krb5; if test x"$withval" != xyes && test x"$withval" != xno; then :
15395 rra_krb5_root="$withval"
15400 # Check whether --with-krb5-include was given.
15401 if test "${with_krb5_include+set}" = set; then :
15402 withval=$with_krb5_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
15403 rra_krb5_includedir="$withval"
15408 # Check whether --with-krb5-lib was given.
15409 if test "${with_krb5_lib+set}" = set; then :
15410 withval=$with_krb5_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
15411 rra_krb5_libdir="$withval"
15421 if test x"$rra_krb5_includedir" != x; then :
15422 rra_krb5_incroot="$rra_krb5_includedir"
15424 if test x"$rra_krb5_root" != x; then :
15425 rra_krb5_incroot="${rra_krb5_root}/include"
15428 if test x"$rra_reduced_depends" = xtrue; then :
15429 if test x"$rra_krb5_libdir" != x; then :
15430 KRB5_LDFLAGS="-L$rra_krb5_libdir"
15432 if test x"$rra_krb5_root" != x; then :
15434 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
15435 if test x"" = x; then :
15436 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
15438 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
15441 if test x"" = x; then :
15442 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
15444 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
15447 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
15450 if test x"$rra_krb5_includedir" != x; then :
15451 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
15453 if test x"$rra_krb5_root" != x; then :
15454 if test x"$rra_krb5_root" != x/usr; then :
15455 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
15459 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15460 rra_krb5_save_LDFLAGS="$LDFLAGS"
15461 rra_krb5_save_LIBS="$LIBS"
15462 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15463 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15464 LIBS="$KRB5_LIBS $LIBS"
15465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
15466 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
15467 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
15468 $as_echo_n "(cached) " >&6
15470 ac_check_lib_save_LIBS=$LIBS
15471 LIBS="-lkrb5 $LIBS"
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15475 /* Override any GCC internal prototype to avoid an error.
15476 Use char because int might match the return type of a GCC
15477 builtin and then its argument prototype would still apply. */
15481 char krb5_init_context ();
15485 return krb5_init_context ();
15490 if ac_fn_c_try_link "$LINENO"; then :
15491 ac_cv_lib_krb5_krb5_init_context=yes
15493 ac_cv_lib_krb5_krb5_init_context=no
15495 rm -f core conftest.err conftest.$ac_objext \
15496 conftest$ac_exeext conftest.$ac_ext
15497 LIBS=$ac_check_lib_save_LIBS
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
15500 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
15501 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
15503 LIBS="$KRB5_LIBS $LIBS"
15504 if test x"$rra_krb5_incroot" = x; then :
15505 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
15507 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15508 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15509 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15510 cat >>confdefs.h <<_ACEOF
15511 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
15520 $as_echo_n "checking for krb5.h... " >&6; }
15521 if test -f "${rra_krb5_incroot}/krb5.h"; then :
15523 cat >>confdefs.h <<_ACEOF
15524 #define HAVE_KRB5_H 1
15527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15528 $as_echo "yes" >&6; }
15530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15531 $as_echo "no" >&6; }
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
15534 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
15535 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
15537 cat >>confdefs.h <<_ACEOF
15538 #define HAVE_KERBEROSV5_KRB5_H 1
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15542 $as_echo "yes" >&6; }
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15545 $as_echo "no" >&6; }
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
15548 $as_echo_n "checking for krb5/krb5.h... " >&6; }
15549 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
15551 cat >>confdefs.h <<_ACEOF
15552 #define HAVE_KRB5_KRB5_H 1
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15556 $as_echo "yes" >&6; }
15558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15559 $as_echo "no" >&6; }
15562 for ac_func in krb5_get_error_message
15564 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
15565 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
15566 cat >>confdefs.h <<_ACEOF
15567 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
15569 for ac_func in krb5_free_error_message
15571 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
15572 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
15573 cat >>confdefs.h <<_ACEOF
15574 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
15581 for ac_func in krb5_get_error_string
15583 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
15584 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
15585 cat >>confdefs.h <<_ACEOF
15586 #define HAVE_KRB5_GET_ERROR_STRING 1
15590 for ac_func in krb5_get_err_txt
15592 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
15593 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
15594 cat >>confdefs.h <<_ACEOF
15595 #define HAVE_KRB5_GET_ERR_TXT 1
15599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
15600 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
15601 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
15602 $as_echo_n "(cached) " >&6
15604 ac_check_lib_save_LIBS=$LIBS
15605 LIBS="-lksvc $LIBS"
15606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15607 /* end confdefs.h. */
15609 /* Override any GCC internal prototype to avoid an error.
15610 Use char because int might match the return type of a GCC
15611 builtin and then its argument prototype would still apply. */
15615 char krb5_svc_get_msg ();
15619 return krb5_svc_get_msg ();
15624 if ac_fn_c_try_link "$LINENO"; then :
15625 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
15627 ac_cv_lib_ksvc_krb5_svc_get_msg=no
15629 rm -f core conftest.err conftest.$ac_objext \
15630 conftest$ac_exeext conftest.$ac_ext
15631 LIBS=$ac_check_lib_save_LIBS
15633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
15634 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
15635 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
15636 KRB5_LIBS="$KRB5_LIBS -lksvc"
15637 $as_echo "#define HAVE_KRB5_SVC_GET_MSG 1" >>confdefs.h
15639 for ac_header in ibm_svc/krb5_svc.h
15641 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
15644 #elif HAVE_KERBEROSV5_KRB5_H
15645 # include <kerberosv5/krb5.h>
15647 # include <krb5/krb5.h>
15651 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
15652 cat >>confdefs.h <<_ACEOF
15653 #define HAVE_IBM_SVC_KRB5_SVC_H 1
15661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for com_err in -lcom_err" >&5
15662 $as_echo_n "checking for com_err in -lcom_err... " >&6; }
15663 if ${ac_cv_lib_com_err_com_err+:} false; then :
15664 $as_echo_n "(cached) " >&6
15666 ac_check_lib_save_LIBS=$LIBS
15667 LIBS="-lcom_err $LIBS"
15668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15669 /* end confdefs.h. */
15671 /* Override any GCC internal prototype to avoid an error.
15672 Use char because int might match the return type of a GCC
15673 builtin and then its argument prototype would still apply. */
15686 if ac_fn_c_try_link "$LINENO"; then :
15687 ac_cv_lib_com_err_com_err=yes
15689 ac_cv_lib_com_err_com_err=no
15691 rm -f core conftest.err conftest.$ac_objext \
15692 conftest$ac_exeext conftest.$ac_ext
15693 LIBS=$ac_check_lib_save_LIBS
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_com_err" >&5
15696 $as_echo "$ac_cv_lib_com_err_com_err" >&6; }
15697 if test "x$ac_cv_lib_com_err_com_err" = xyes; then :
15698 KRB5_LIBS="$KRB5_LIBS -lcom_err"
15700 if test x"true" = xtrue; then :
15701 as_fn_error $? "cannot find usable com_err library" "$LINENO" 5
15707 if test x"$rra_krb5_incroot" = x; then :
15708 for ac_header in et/com_err.h kerberosv5/com_err.h
15710 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15711 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15712 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15713 cat >>confdefs.h <<_ACEOF
15714 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
15723 $as_echo_n "checking for et/com_err.h... " >&6; }
15724 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
15726 cat >>confdefs.h <<_ACEOF
15727 #define HAVE_ET_COM_ERR_H 1
15730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15731 $as_echo "yes" >&6; }
15733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15734 $as_echo "no" >&6; }
15736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
15737 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
15738 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
15740 cat >>confdefs.h <<_ACEOF
15741 #define HAVE_KERBEROSV5_COM_ERR_H 1
15744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15745 $as_echo "yes" >&6; }
15747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15748 $as_echo "no" >&6; }
15763 if test x"true" = xtrue; then :
15764 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
15768 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15769 LDFLAGS="$rra_krb5_save_LDFLAGS"
15770 LIBS="$rra_krb5_save_LIBS"
15772 if test x"$rra_krb5_includedir" = x && test x"$rra_krb5_libdir" = x; then :
15773 rra_krb5_config_KRB5=
15774 rra_krb5_config_KRB5_ok=
15775 if test x"${rra_krb5_root}" != x && test -x "${rra_krb5_root}/bin/krb5-config"; then :
15776 rra_krb5_config_KRB5="${rra_krb5_root}/bin/krb5-config"
15779 # Extract the first word of "krb5-config", so it can be a program name with args.
15780 set dummy krb5-config; ac_word=$2
15781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15782 $as_echo_n "checking for $ac_word... " >&6; }
15783 if ${ac_cv_path_PATH_KRB5_CONFIG+:} false; then :
15784 $as_echo_n "(cached) " >&6
15786 case $PATH_KRB5_CONFIG in
15788 ac_cv_path_PATH_KRB5_CONFIG="$PATH_KRB5_CONFIG" # Let the user override the test with a path.
15791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15792 as_dummy="${PATH}:/usr/kerberos/bin"
15793 for as_dir in $as_dummy
15796 test -z "$as_dir" && as_dir=.
15797 for ac_exec_ext in '' $ac_executable_extensions; do
15798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
15799 ac_cv_path_PATH_KRB5_CONFIG="$as_dir/$ac_word$ac_exec_ext"
15800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
15810 PATH_KRB5_CONFIG=$ac_cv_path_PATH_KRB5_CONFIG
15811 if test -n "$PATH_KRB5_CONFIG"; then
15812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PATH_KRB5_CONFIG" >&5
15813 $as_echo "$PATH_KRB5_CONFIG" >&6; }
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15816 $as_echo "no" >&6; }
15820 rra_krb5_config_KRB5="$PATH_KRB5_CONFIG"
15822 if test x"$rra_krb5_config_KRB5" != x && test -x "$rra_krb5_config_KRB5"; then :
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5 support in krb5-config" >&5
15824 $as_echo_n "checking for krb5 support in krb5-config... " >&6; }
15825 if ${rra_cv_lib_KRB5_config+:} false; then :
15826 $as_echo_n "(cached) " >&6
15828 if "$rra_krb5_config_KRB5" 2>&1 | grep krb5 >/dev/null 2>&1; then :
15829 rra_cv_lib_KRB5_config=yes
15831 rra_cv_lib_KRB5_config=no
15834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_lib_KRB5_config" >&5
15835 $as_echo "$rra_cv_lib_KRB5_config" >&6; }
15836 if test "$rra_cv_lib_KRB5_config" = yes; then :
15837 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags krb5 2>/dev/null`
15841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --deps support in krb5-config" >&5
15842 $as_echo_n "checking for --deps support in krb5-config... " >&6; }
15843 if ${rra_cv_krb5_config_deps+:} false; then :
15844 $as_echo_n "(cached) " >&6
15846 if "$rra_krb5_config_KRB5" 2>&1 | grep deps >/dev/null 2>&1; then :
15847 rra_cv_krb5_config_deps=yes
15849 rra_cv_krb5_config_deps=no
15852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_krb5_config_deps" >&5
15853 $as_echo "$rra_cv_krb5_config_deps" >&6; }
15854 if test x"$rra_reduced_depends" = xfalse \
15855 && test x"$rra_cv_krb5_config_deps" = xyes; then :
15856 KRB5_LIBS=`"$rra_krb5_config_KRB5" --deps --libs krb5 2>/dev/null`
15858 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
15860 rra_krb5_config_KRB5_ok=yes
15862 if test x"krb5" = xkrb5; then :
15863 KRB5_CPPFLAGS=`"$rra_krb5_config_KRB5" --cflags 2>/dev/null`
15864 KRB5_LIBS=`"$rra_krb5_config_KRB5" --libs krb5 2>/dev/null`
15865 rra_krb5_config_KRB5_ok=yes
15869 if test x"$rra_krb5_config_KRB5_ok" = xyes; then :
15870 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include %%'`
15871 KRB5_CPPFLAGS=`echo "$KRB5_CPPFLAGS" | sed 's%-I/usr/include$%%'`
15872 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15873 rra_krb5_save_LDFLAGS="$LDFLAGS"
15874 rra_krb5_save_LIBS="$LIBS"
15875 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15876 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15877 LIBS="$KRB5_LIBS $LIBS"
15878 ac_fn_c_check_func "$LINENO" "krb5_init_context" "ac_cv_func_krb5_init_context"
15879 if test "x$ac_cv_func_krb5_init_context" = xyes; then :
15880 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15881 LDFLAGS="$rra_krb5_save_LDFLAGS"
15882 LIBS="$rra_krb5_save_LIBS"
15884 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
15885 LDFLAGS="$rra_krb5_save_LDFLAGS"
15886 LIBS="$rra_krb5_save_LIBS"
15889 if test x"$rra_krb5_libdir" != x; then :
15890 KRB5_LDFLAGS="-L$rra_krb5_libdir"
15892 if test x"$rra_krb5_root" != x; then :
15894 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
15895 if test x"" = x; then :
15896 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
15898 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
15901 if test x"" = x; then :
15902 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
15904 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
15907 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
15910 if test x"$rra_krb5_includedir" != x; then :
15911 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
15913 if test x"$rra_krb5_root" != x; then :
15914 if test x"$rra_krb5_root" != x/usr; then :
15915 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
15919 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
15920 rra_krb5_save_LDFLAGS="$LDFLAGS"
15921 rra_krb5_save_LIBS="$LIBS"
15922 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
15923 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
15924 LIBS="$KRB5_LIBS $LIBS"
15927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
15928 $as_echo_n "checking for library containing res_search... " >&6; }
15929 if ${ac_cv_search_res_search+:} false; then :
15930 $as_echo_n "(cached) " >&6
15932 ac_func_search_save_LIBS=$LIBS
15933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15942 char res_search ();
15946 return res_search ();
15951 for ac_lib in '' resolv; do
15952 if test -z "$ac_lib"; then
15953 ac_res="none required"
15956 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15958 if ac_fn_c_try_link "$LINENO"; then :
15959 ac_cv_search_res_search=$ac_res
15961 rm -f core conftest.err conftest.$ac_objext \
15963 if ${ac_cv_search_res_search+:} false; then :
15967 if ${ac_cv_search_res_search+:} false; then :
15970 ac_cv_search_res_search=no
15972 rm conftest.$ac_ext
15973 LIBS=$ac_func_search_save_LIBS
15975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
15976 $as_echo "$ac_cv_search_res_search" >&6; }
15977 ac_res=$ac_cv_search_res_search
15978 if test "$ac_res" != no; then :
15979 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
15983 $as_echo_n "checking for library containing __res_search... " >&6; }
15984 if ${ac_cv_search___res_search+:} false; then :
15985 $as_echo_n "(cached) " >&6
15987 ac_func_search_save_LIBS=$LIBS
15988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15991 /* Override any GCC internal prototype to avoid an error.
15992 Use char because int might match the return type of a GCC
15993 builtin and then its argument prototype would still apply. */
15997 char __res_search ();
16001 return __res_search ();
16006 for ac_lib in '' resolv; do
16007 if test -z "$ac_lib"; then
16008 ac_res="none required"
16011 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16013 if ac_fn_c_try_link "$LINENO"; then :
16014 ac_cv_search___res_search=$ac_res
16016 rm -f core conftest.err conftest.$ac_objext \
16018 if ${ac_cv_search___res_search+:} false; then :
16022 if ${ac_cv_search___res_search+:} false; then :
16025 ac_cv_search___res_search=no
16027 rm conftest.$ac_ext
16028 LIBS=$ac_func_search_save_LIBS
16030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
16031 $as_echo "$ac_cv_search___res_search" >&6; }
16032 ac_res=$ac_cv_search___res_search
16033 if test "$ac_res" != no; then :
16034 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
16041 $as_echo_n "checking for library containing gethostbyname... " >&6; }
16042 if ${ac_cv_search_gethostbyname+:} false; then :
16043 $as_echo_n "(cached) " >&6
16045 ac_func_search_save_LIBS=$LIBS
16046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16047 /* end confdefs.h. */
16049 /* Override any GCC internal prototype to avoid an error.
16050 Use char because int might match the return type of a GCC
16051 builtin and then its argument prototype would still apply. */
16055 char gethostbyname ();
16059 return gethostbyname ();
16064 for ac_lib in '' nsl; do
16065 if test -z "$ac_lib"; then
16066 ac_res="none required"
16069 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16071 if ac_fn_c_try_link "$LINENO"; then :
16072 ac_cv_search_gethostbyname=$ac_res
16074 rm -f core conftest.err conftest.$ac_objext \
16076 if ${ac_cv_search_gethostbyname+:} false; then :
16080 if ${ac_cv_search_gethostbyname+:} false; then :
16083 ac_cv_search_gethostbyname=no
16085 rm conftest.$ac_ext
16086 LIBS=$ac_func_search_save_LIBS
16088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
16089 $as_echo "$ac_cv_search_gethostbyname" >&6; }
16090 ac_res=$ac_cv_search_gethostbyname
16091 if test "$ac_res" != no; then :
16092 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
16097 $as_echo_n "checking for library containing socket... " >&6; }
16098 if ${ac_cv_search_socket+:} false; then :
16099 $as_echo_n "(cached) " >&6
16101 ac_func_search_save_LIBS=$LIBS
16102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h. */
16105 /* Override any GCC internal prototype to avoid an error.
16106 Use char because int might match the return type of a GCC
16107 builtin and then its argument prototype would still apply. */
16120 for ac_lib in '' socket; do
16121 if test -z "$ac_lib"; then
16122 ac_res="none required"
16125 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16127 if ac_fn_c_try_link "$LINENO"; then :
16128 ac_cv_search_socket=$ac_res
16130 rm -f core conftest.err conftest.$ac_objext \
16132 if ${ac_cv_search_socket+:} false; then :
16136 if ${ac_cv_search_socket+:} false; then :
16139 ac_cv_search_socket=no
16141 rm conftest.$ac_ext
16142 LIBS=$ac_func_search_save_LIBS
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
16145 $as_echo "$ac_cv_search_socket" >&6; }
16146 ac_res=$ac_cv_search_socket
16147 if test "$ac_res" != no; then :
16148 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
16152 $as_echo_n "checking for socket in -lnsl... " >&6; }
16153 if ${ac_cv_lib_nsl_socket+:} false; then :
16154 $as_echo_n "(cached) " >&6
16156 ac_check_lib_save_LIBS=$LIBS
16157 LIBS="-lnsl -lsocket $LIBS"
16158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16159 /* end confdefs.h. */
16161 /* Override any GCC internal prototype to avoid an error.
16162 Use char because int might match the return type of a GCC
16163 builtin and then its argument prototype would still apply. */
16176 if ac_fn_c_try_link "$LINENO"; then :
16177 ac_cv_lib_nsl_socket=yes
16179 ac_cv_lib_nsl_socket=no
16181 rm -f core conftest.err conftest.$ac_objext \
16182 conftest$ac_exeext conftest.$ac_ext
16183 LIBS=$ac_check_lib_save_LIBS
16185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
16186 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
16187 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
16188 LIBS="-lnsl -lsocket $LIBS"
16193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
16194 $as_echo_n "checking for library containing crypt... " >&6; }
16195 if ${ac_cv_search_crypt+:} false; then :
16196 $as_echo_n "(cached) " >&6
16198 ac_func_search_save_LIBS=$LIBS
16199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16200 /* end confdefs.h. */
16202 /* Override any GCC internal prototype to avoid an error.
16203 Use char because int might match the return type of a GCC
16204 builtin and then its argument prototype would still apply. */
16217 for ac_lib in '' crypt; do
16218 if test -z "$ac_lib"; then
16219 ac_res="none required"
16222 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16224 if ac_fn_c_try_link "$LINENO"; then :
16225 ac_cv_search_crypt=$ac_res
16227 rm -f core conftest.err conftest.$ac_objext \
16229 if ${ac_cv_search_crypt+:} false; then :
16233 if ${ac_cv_search_crypt+:} false; then :
16236 ac_cv_search_crypt=no
16238 rm conftest.$ac_ext
16239 LIBS=$ac_func_search_save_LIBS
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
16242 $as_echo "$ac_cv_search_crypt" >&6; }
16243 ac_res=$ac_cv_search_crypt
16244 if test "$ac_res" != no; then :
16245 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
16250 $as_echo_n "checking for library containing roken_concat... " >&6; }
16251 if ${ac_cv_search_roken_concat+:} false; then :
16252 $as_echo_n "(cached) " >&6
16254 ac_func_search_save_LIBS=$LIBS
16255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16256 /* end confdefs.h. */
16258 /* Override any GCC internal prototype to avoid an error.
16259 Use char because int might match the return type of a GCC
16260 builtin and then its argument prototype would still apply. */
16264 char roken_concat ();
16268 return roken_concat ();
16273 for ac_lib in '' roken; do
16274 if test -z "$ac_lib"; then
16275 ac_res="none required"
16278 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16280 if ac_fn_c_try_link "$LINENO"; then :
16281 ac_cv_search_roken_concat=$ac_res
16283 rm -f core conftest.err conftest.$ac_objext \
16285 if ${ac_cv_search_roken_concat+:} false; then :
16289 if ${ac_cv_search_roken_concat+:} false; then :
16292 ac_cv_search_roken_concat=no
16294 rm conftest.$ac_ext
16295 LIBS=$ac_func_search_save_LIBS
16297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
16298 $as_echo "$ac_cv_search_roken_concat" >&6; }
16299 ac_res=$ac_cv_search_roken_concat
16300 if test "$ac_res" != no; then :
16301 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16305 rra_krb5_extra="$LIBS"
16306 LIBS="$rra_krb5_save_LIBS"
16307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
16308 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
16309 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
16310 $as_echo_n "(cached) " >&6
16312 ac_check_lib_save_LIBS=$LIBS
16313 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
16314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16315 /* end confdefs.h. */
16317 /* Override any GCC internal prototype to avoid an error.
16318 Use char because int might match the return type of a GCC
16319 builtin and then its argument prototype would still apply. */
16323 char krb5_init_context ();
16327 return krb5_init_context ();
16332 if ac_fn_c_try_link "$LINENO"; then :
16333 ac_cv_lib_krb5_krb5_init_context=yes
16335 ac_cv_lib_krb5_krb5_init_context=no
16337 rm -f core conftest.err conftest.$ac_objext \
16338 conftest$ac_exeext conftest.$ac_ext
16339 LIBS=$ac_check_lib_save_LIBS
16341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
16342 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
16343 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
16344 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
16346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
16347 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
16348 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
16349 $as_echo_n "(cached) " >&6
16351 ac_check_lib_save_LIBS=$LIBS
16352 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
16353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16354 /* end confdefs.h. */
16356 /* Override any GCC internal prototype to avoid an error.
16357 Use char because int might match the return type of a GCC
16358 builtin and then its argument prototype would still apply. */
16362 char krb5int_getspecific ();
16366 return krb5int_getspecific ();
16371 if ac_fn_c_try_link "$LINENO"; then :
16372 ac_cv_lib_krb5support_krb5int_getspecific=yes
16374 ac_cv_lib_krb5support_krb5int_getspecific=no
16376 rm -f core conftest.err conftest.$ac_objext \
16377 conftest$ac_exeext conftest.$ac_ext
16378 LIBS=$ac_check_lib_save_LIBS
16380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
16381 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
16382 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
16383 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
16385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
16386 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
16387 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
16388 $as_echo_n "(cached) " >&6
16390 ac_check_lib_save_LIBS=$LIBS
16391 LIBS="-lpthreads $LIBS"
16392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16393 /* end confdefs.h. */
16395 /* Override any GCC internal prototype to avoid an error.
16396 Use char because int might match the return type of a GCC
16397 builtin and then its argument prototype would still apply. */
16401 char pthread_setspecific ();
16405 return pthread_setspecific ();
16410 if ac_fn_c_try_link "$LINENO"; then :
16411 ac_cv_lib_pthreads_pthread_setspecific=yes
16413 ac_cv_lib_pthreads_pthread_setspecific=no
16415 rm -f core conftest.err conftest.$ac_objext \
16416 conftest$ac_exeext conftest.$ac_ext
16417 LIBS=$ac_check_lib_save_LIBS
16419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
16420 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
16421 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
16422 rra_krb5_pthread="-lpthreads"
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
16425 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
16426 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
16427 $as_echo_n "(cached) " >&6
16429 ac_check_lib_save_LIBS=$LIBS
16430 LIBS="-lpthread $LIBS"
16431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16432 /* end confdefs.h. */
16434 /* Override any GCC internal prototype to avoid an error.
16435 Use char because int might match the return type of a GCC
16436 builtin and then its argument prototype would still apply. */
16440 char pthread_setspecific ();
16444 return pthread_setspecific ();
16449 if ac_fn_c_try_link "$LINENO"; then :
16450 ac_cv_lib_pthread_pthread_setspecific=yes
16452 ac_cv_lib_pthread_pthread_setspecific=no
16454 rm -f core conftest.err conftest.$ac_objext \
16455 conftest$ac_exeext conftest.$ac_ext
16456 LIBS=$ac_check_lib_save_LIBS
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
16459 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
16460 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
16461 rra_krb5_pthread="-lpthread"
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
16467 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
16468 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
16469 $as_echo_n "(cached) " >&6
16471 ac_check_lib_save_LIBS=$LIBS
16472 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16476 /* Override any GCC internal prototype to avoid an error.
16477 Use char because int might match the return type of a GCC
16478 builtin and then its argument prototype would still apply. */
16482 char krb5int_setspecific ();
16486 return krb5int_setspecific ();
16491 if ac_fn_c_try_link "$LINENO"; then :
16492 ac_cv_lib_krb5support_krb5int_setspecific=yes
16494 ac_cv_lib_krb5support_krb5int_setspecific=no
16496 rm -f core conftest.err conftest.$ac_objext \
16497 conftest$ac_exeext conftest.$ac_ext
16498 LIBS=$ac_check_lib_save_LIBS
16500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
16501 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
16502 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
16503 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
16509 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
16510 if ${ac_cv_lib_com_err_error_message+:} false; then :
16511 $as_echo_n "(cached) " >&6
16513 ac_check_lib_save_LIBS=$LIBS
16514 LIBS="-lcom_err $rra_krb5_extra $LIBS"
16515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16516 /* end confdefs.h. */
16518 /* Override any GCC internal prototype to avoid an error.
16519 Use char because int might match the return type of a GCC
16520 builtin and then its argument prototype would still apply. */
16524 char error_message ();
16528 return error_message ();
16533 if ac_fn_c_try_link "$LINENO"; then :
16534 ac_cv_lib_com_err_error_message=yes
16536 ac_cv_lib_com_err_error_message=no
16538 rm -f core conftest.err conftest.$ac_objext \
16539 conftest$ac_exeext conftest.$ac_ext
16540 LIBS=$ac_check_lib_save_LIBS
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
16543 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
16544 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
16545 rra_krb5_extra="-lcom_err $rra_krb5_extra"
16548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
16549 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
16550 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
16551 $as_echo_n "(cached) " >&6
16553 ac_check_lib_save_LIBS=$LIBS
16554 LIBS="-lksvc $rra_krb5_extra $LIBS"
16555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16556 /* end confdefs.h. */
16558 /* Override any GCC internal prototype to avoid an error.
16559 Use char because int might match the return type of a GCC
16560 builtin and then its argument prototype would still apply. */
16564 char krb5_svc_get_msg ();
16568 return krb5_svc_get_msg ();
16573 if ac_fn_c_try_link "$LINENO"; then :
16574 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
16576 ac_cv_lib_ksvc_krb5_svc_get_msg=no
16578 rm -f core conftest.err conftest.$ac_objext \
16579 conftest$ac_exeext conftest.$ac_ext
16580 LIBS=$ac_check_lib_save_LIBS
16582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
16583 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
16584 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
16585 rra_krb5_extra="-lksvc $rra_krb5_extra"
16588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
16589 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
16590 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
16591 $as_echo_n "(cached) " >&6
16593 ac_check_lib_save_LIBS=$LIBS
16594 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
16595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16596 /* end confdefs.h. */
16598 /* Override any GCC internal prototype to avoid an error.
16599 Use char because int might match the return type of a GCC
16600 builtin and then its argument prototype would still apply. */
16604 char krb5int_hash_md5 ();
16608 return krb5int_hash_md5 ();
16613 if ac_fn_c_try_link "$LINENO"; then :
16614 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
16616 ac_cv_lib_k5crypto_krb5int_hash_md5=no
16618 rm -f core conftest.err conftest.$ac_objext \
16619 conftest$ac_exeext conftest.$ac_ext
16620 LIBS=$ac_check_lib_save_LIBS
16622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
16623 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
16624 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
16625 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
16628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
16629 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
16630 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
16631 $as_echo_n "(cached) " >&6
16633 ac_check_lib_save_LIBS=$LIBS
16634 LIBS="-lk5profile $rra_krb5_extra $LIBS"
16635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16636 /* end confdefs.h. */
16638 /* Override any GCC internal prototype to avoid an error.
16639 Use char because int might match the return type of a GCC
16640 builtin and then its argument prototype would still apply. */
16644 char profile_get_values ();
16648 return profile_get_values ();
16653 if ac_fn_c_try_link "$LINENO"; then :
16654 ac_cv_lib_k5profile_profile_get_values=yes
16656 ac_cv_lib_k5profile_profile_get_values=no
16658 rm -f core conftest.err conftest.$ac_objext \
16659 conftest$ac_exeext conftest.$ac_ext
16660 LIBS=$ac_check_lib_save_LIBS
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
16663 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
16664 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
16665 rra_krb5_extra="-lk5profile $rra_krb5_extra"
16668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
16669 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
16670 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
16671 $as_echo_n "(cached) " >&6
16673 ac_check_lib_save_LIBS=$LIBS
16674 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
16675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16676 /* end confdefs.h. */
16678 /* Override any GCC internal prototype to avoid an error.
16679 Use char because int might match the return type of a GCC
16680 builtin and then its argument prototype would still apply. */
16684 char krb5_cc_default ();
16688 return krb5_cc_default ();
16693 if ac_fn_c_try_link "$LINENO"; then :
16694 ac_cv_lib_krb5_krb5_cc_default=yes
16696 ac_cv_lib_krb5_krb5_cc_default=no
16698 rm -f core conftest.err conftest.$ac_objext \
16699 conftest$ac_exeext conftest.$ac_ext
16700 LIBS=$ac_check_lib_save_LIBS
16702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
16703 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
16704 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
16705 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
16707 if test x"true" = xtrue; then :
16708 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
16714 LIBS="$KRB5_LIBS $LIBS"
16715 if test x"$rra_krb5_incroot" = x; then :
16716 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
16718 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16719 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16720 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16721 cat >>confdefs.h <<_ACEOF
16722 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
16731 $as_echo_n "checking for krb5.h... " >&6; }
16732 if test -f "${rra_krb5_incroot}/krb5.h"; then :
16734 cat >>confdefs.h <<_ACEOF
16735 #define HAVE_KRB5_H 1
16738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16739 $as_echo "yes" >&6; }
16741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16742 $as_echo "no" >&6; }
16744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
16745 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
16746 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
16748 cat >>confdefs.h <<_ACEOF
16749 #define HAVE_KERBEROSV5_KRB5_H 1
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16753 $as_echo "yes" >&6; }
16755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16756 $as_echo "no" >&6; }
16758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
16759 $as_echo_n "checking for krb5/krb5.h... " >&6; }
16760 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
16762 cat >>confdefs.h <<_ACEOF
16763 #define HAVE_KRB5_KRB5_H 1
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16767 $as_echo "yes" >&6; }
16769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16770 $as_echo "no" >&6; }
16773 for ac_func in krb5_get_error_message
16775 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16776 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
16777 cat >>confdefs.h <<_ACEOF
16778 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
16780 for ac_func in krb5_free_error_message
16782 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16783 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
16784 cat >>confdefs.h <<_ACEOF
16785 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
16792 for ac_func in krb5_get_error_string
16794 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16795 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
16796 cat >>confdefs.h <<_ACEOF
16797 #define HAVE_KRB5_GET_ERROR_STRING 1
16801 for ac_func in krb5_get_err_txt
16803 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16804 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
16805 cat >>confdefs.h <<_ACEOF
16806 #define HAVE_KRB5_GET_ERR_TXT 1
16810 for ac_func in krb5_svc_get_msg
16812 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
16813 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
16814 cat >>confdefs.h <<_ACEOF
16815 #define HAVE_KRB5_SVC_GET_MSG 1
16817 for ac_header in ibm_svc/krb5_svc.h
16819 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
16822 #elif HAVE_KERBEROSV5_KRB5_H
16823 # include <kerberosv5/krb5.h>
16825 # include <krb5/krb5.h>
16829 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
16830 cat >>confdefs.h <<_ACEOF
16831 #define HAVE_IBM_SVC_KRB5_SVC_H 1
16839 if test x"$rra_krb5_incroot" = x; then :
16840 for ac_header in et/com_err.h kerberosv5/com_err.h
16842 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16843 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16844 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16845 cat >>confdefs.h <<_ACEOF
16846 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
16855 $as_echo_n "checking for et/com_err.h... " >&6; }
16856 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
16858 cat >>confdefs.h <<_ACEOF
16859 #define HAVE_ET_COM_ERR_H 1
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16863 $as_echo "yes" >&6; }
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16866 $as_echo "no" >&6; }
16868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
16869 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
16870 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
16872 cat >>confdefs.h <<_ACEOF
16873 #define HAVE_KERBEROSV5_COM_ERR_H 1
16876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16877 $as_echo "yes" >&6; }
16879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16880 $as_echo "no" >&6; }
16895 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
16896 LDFLAGS="$rra_krb5_save_LDFLAGS"
16897 LIBS="$rra_krb5_save_LIBS"
16900 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
16901 rra_krb5_save_LDFLAGS="$LDFLAGS"
16902 rra_krb5_save_LIBS="$LIBS"
16903 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
16904 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
16905 LIBS="$KRB5_LIBS $LIBS"
16906 if test x"$rra_krb5_incroot" = x; then :
16907 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
16909 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16910 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16911 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16912 cat >>confdefs.h <<_ACEOF
16913 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
16922 $as_echo_n "checking for krb5.h... " >&6; }
16923 if test -f "${rra_krb5_incroot}/krb5.h"; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_KRB5_H 1
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16930 $as_echo "yes" >&6; }
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16933 $as_echo "no" >&6; }
16935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
16936 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
16937 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
16939 cat >>confdefs.h <<_ACEOF
16940 #define HAVE_KERBEROSV5_KRB5_H 1
16943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16944 $as_echo "yes" >&6; }
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16947 $as_echo "no" >&6; }
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
16950 $as_echo_n "checking for krb5/krb5.h... " >&6; }
16951 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
16953 cat >>confdefs.h <<_ACEOF
16954 #define HAVE_KRB5_KRB5_H 1
16957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16958 $as_echo "yes" >&6; }
16960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16961 $as_echo "no" >&6; }
16964 for ac_func in krb5_get_error_message
16966 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
16967 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
16968 cat >>confdefs.h <<_ACEOF
16969 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
16971 for ac_func in krb5_free_error_message
16973 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
16974 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
16983 for ac_func in krb5_get_error_string
16985 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
16986 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
16987 cat >>confdefs.h <<_ACEOF
16988 #define HAVE_KRB5_GET_ERROR_STRING 1
16992 for ac_func in krb5_get_err_txt
16994 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
16995 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
16996 cat >>confdefs.h <<_ACEOF
16997 #define HAVE_KRB5_GET_ERR_TXT 1
17001 for ac_func in krb5_svc_get_msg
17003 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
17004 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
17005 cat >>confdefs.h <<_ACEOF
17006 #define HAVE_KRB5_SVC_GET_MSG 1
17008 for ac_header in ibm_svc/krb5_svc.h
17010 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
17013 #elif HAVE_KERBEROSV5_KRB5_H
17014 # include <kerberosv5/krb5.h>
17016 # include <krb5/krb5.h>
17020 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
17021 cat >>confdefs.h <<_ACEOF
17022 #define HAVE_IBM_SVC_KRB5_SVC_H 1
17030 if test x"$rra_krb5_incroot" = x; then :
17031 for ac_header in et/com_err.h kerberosv5/com_err.h
17033 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17034 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17035 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17036 cat >>confdefs.h <<_ACEOF
17037 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
17046 $as_echo_n "checking for et/com_err.h... " >&6; }
17047 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
17049 cat >>confdefs.h <<_ACEOF
17050 #define HAVE_ET_COM_ERR_H 1
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17054 $as_echo "yes" >&6; }
17056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17057 $as_echo "no" >&6; }
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
17060 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
17061 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
17063 cat >>confdefs.h <<_ACEOF
17064 #define HAVE_KERBEROSV5_COM_ERR_H 1
17067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17068 $as_echo "yes" >&6; }
17070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17071 $as_echo "no" >&6; }
17086 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
17087 LDFLAGS="$rra_krb5_save_LDFLAGS"
17088 LIBS="$rra_krb5_save_LIBS"
17090 if test x"$rra_krb5_libdir" != x; then :
17091 KRB5_LDFLAGS="-L$rra_krb5_libdir"
17093 if test x"$rra_krb5_root" != x; then :
17095 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
17096 if test x"" = x; then :
17097 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
17099 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
17102 if test x"" = x; then :
17103 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
17105 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
17108 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
17111 if test x"$rra_krb5_includedir" != x; then :
17112 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
17114 if test x"$rra_krb5_root" != x; then :
17115 if test x"$rra_krb5_root" != x/usr; then :
17116 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
17120 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
17121 rra_krb5_save_LDFLAGS="$LDFLAGS"
17122 rra_krb5_save_LIBS="$LIBS"
17123 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
17124 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
17125 LIBS="$KRB5_LIBS $LIBS"
17128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
17129 $as_echo_n "checking for library containing res_search... " >&6; }
17130 if ${ac_cv_search_res_search+:} false; then :
17131 $as_echo_n "(cached) " >&6
17133 ac_func_search_save_LIBS=$LIBS
17134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17135 /* end confdefs.h. */
17137 /* Override any GCC internal prototype to avoid an error.
17138 Use char because int might match the return type of a GCC
17139 builtin and then its argument prototype would still apply. */
17143 char res_search ();
17147 return res_search ();
17152 for ac_lib in '' resolv; do
17153 if test -z "$ac_lib"; then
17154 ac_res="none required"
17157 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 ac_cv_search_res_search=$ac_res
17162 rm -f core conftest.err conftest.$ac_objext \
17164 if ${ac_cv_search_res_search+:} false; then :
17168 if ${ac_cv_search_res_search+:} false; then :
17171 ac_cv_search_res_search=no
17173 rm conftest.$ac_ext
17174 LIBS=$ac_func_search_save_LIBS
17176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
17177 $as_echo "$ac_cv_search_res_search" >&6; }
17178 ac_res=$ac_cv_search_res_search
17179 if test "$ac_res" != no; then :
17180 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
17184 $as_echo_n "checking for library containing __res_search... " >&6; }
17185 if ${ac_cv_search___res_search+:} false; then :
17186 $as_echo_n "(cached) " >&6
17188 ac_func_search_save_LIBS=$LIBS
17189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17190 /* end confdefs.h. */
17192 /* Override any GCC internal prototype to avoid an error.
17193 Use char because int might match the return type of a GCC
17194 builtin and then its argument prototype would still apply. */
17198 char __res_search ();
17202 return __res_search ();
17207 for ac_lib in '' resolv; do
17208 if test -z "$ac_lib"; then
17209 ac_res="none required"
17212 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17214 if ac_fn_c_try_link "$LINENO"; then :
17215 ac_cv_search___res_search=$ac_res
17217 rm -f core conftest.err conftest.$ac_objext \
17219 if ${ac_cv_search___res_search+:} false; then :
17223 if ${ac_cv_search___res_search+:} false; then :
17226 ac_cv_search___res_search=no
17228 rm conftest.$ac_ext
17229 LIBS=$ac_func_search_save_LIBS
17231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
17232 $as_echo "$ac_cv_search___res_search" >&6; }
17233 ac_res=$ac_cv_search___res_search
17234 if test "$ac_res" != no; then :
17235 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17242 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17243 if ${ac_cv_search_gethostbyname+:} false; then :
17244 $as_echo_n "(cached) " >&6
17246 ac_func_search_save_LIBS=$LIBS
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17250 /* Override any GCC internal prototype to avoid an error.
17251 Use char because int might match the return type of a GCC
17252 builtin and then its argument prototype would still apply. */
17256 char gethostbyname ();
17260 return gethostbyname ();
17265 for ac_lib in '' nsl; do
17266 if test -z "$ac_lib"; then
17267 ac_res="none required"
17270 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17272 if ac_fn_c_try_link "$LINENO"; then :
17273 ac_cv_search_gethostbyname=$ac_res
17275 rm -f core conftest.err conftest.$ac_objext \
17277 if ${ac_cv_search_gethostbyname+:} false; then :
17281 if ${ac_cv_search_gethostbyname+:} false; then :
17284 ac_cv_search_gethostbyname=no
17286 rm conftest.$ac_ext
17287 LIBS=$ac_func_search_save_LIBS
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17290 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17291 ac_res=$ac_cv_search_gethostbyname
17292 if test "$ac_res" != no; then :
17293 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
17298 $as_echo_n "checking for library containing socket... " >&6; }
17299 if ${ac_cv_search_socket+:} false; then :
17300 $as_echo_n "(cached) " >&6
17302 ac_func_search_save_LIBS=$LIBS
17303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17304 /* end confdefs.h. */
17306 /* Override any GCC internal prototype to avoid an error.
17307 Use char because int might match the return type of a GCC
17308 builtin and then its argument prototype would still apply. */
17321 for ac_lib in '' socket; do
17322 if test -z "$ac_lib"; then
17323 ac_res="none required"
17326 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17328 if ac_fn_c_try_link "$LINENO"; then :
17329 ac_cv_search_socket=$ac_res
17331 rm -f core conftest.err conftest.$ac_objext \
17333 if ${ac_cv_search_socket+:} false; then :
17337 if ${ac_cv_search_socket+:} false; then :
17340 ac_cv_search_socket=no
17342 rm conftest.$ac_ext
17343 LIBS=$ac_func_search_save_LIBS
17345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
17346 $as_echo "$ac_cv_search_socket" >&6; }
17347 ac_res=$ac_cv_search_socket
17348 if test "$ac_res" != no; then :
17349 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
17353 $as_echo_n "checking for socket in -lnsl... " >&6; }
17354 if ${ac_cv_lib_nsl_socket+:} false; then :
17355 $as_echo_n "(cached) " >&6
17357 ac_check_lib_save_LIBS=$LIBS
17358 LIBS="-lnsl -lsocket $LIBS"
17359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17360 /* end confdefs.h. */
17362 /* Override any GCC internal prototype to avoid an error.
17363 Use char because int might match the return type of a GCC
17364 builtin and then its argument prototype would still apply. */
17377 if ac_fn_c_try_link "$LINENO"; then :
17378 ac_cv_lib_nsl_socket=yes
17380 ac_cv_lib_nsl_socket=no
17382 rm -f core conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17384 LIBS=$ac_check_lib_save_LIBS
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
17387 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
17388 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
17389 LIBS="-lnsl -lsocket $LIBS"
17394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
17395 $as_echo_n "checking for library containing crypt... " >&6; }
17396 if ${ac_cv_search_crypt+:} false; then :
17397 $as_echo_n "(cached) " >&6
17399 ac_func_search_save_LIBS=$LIBS
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17403 /* Override any GCC internal prototype to avoid an error.
17404 Use char because int might match the return type of a GCC
17405 builtin and then its argument prototype would still apply. */
17418 for ac_lib in '' crypt; do
17419 if test -z "$ac_lib"; then
17420 ac_res="none required"
17423 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17425 if ac_fn_c_try_link "$LINENO"; then :
17426 ac_cv_search_crypt=$ac_res
17428 rm -f core conftest.err conftest.$ac_objext \
17430 if ${ac_cv_search_crypt+:} false; then :
17434 if ${ac_cv_search_crypt+:} false; then :
17437 ac_cv_search_crypt=no
17439 rm conftest.$ac_ext
17440 LIBS=$ac_func_search_save_LIBS
17442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
17443 $as_echo "$ac_cv_search_crypt" >&6; }
17444 ac_res=$ac_cv_search_crypt
17445 if test "$ac_res" != no; then :
17446 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
17451 $as_echo_n "checking for library containing roken_concat... " >&6; }
17452 if ${ac_cv_search_roken_concat+:} false; then :
17453 $as_echo_n "(cached) " >&6
17455 ac_func_search_save_LIBS=$LIBS
17456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17457 /* end confdefs.h. */
17459 /* Override any GCC internal prototype to avoid an error.
17460 Use char because int might match the return type of a GCC
17461 builtin and then its argument prototype would still apply. */
17465 char roken_concat ();
17469 return roken_concat ();
17474 for ac_lib in '' roken; do
17475 if test -z "$ac_lib"; then
17476 ac_res="none required"
17479 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17481 if ac_fn_c_try_link "$LINENO"; then :
17482 ac_cv_search_roken_concat=$ac_res
17484 rm -f core conftest.err conftest.$ac_objext \
17486 if ${ac_cv_search_roken_concat+:} false; then :
17490 if ${ac_cv_search_roken_concat+:} false; then :
17493 ac_cv_search_roken_concat=no
17495 rm conftest.$ac_ext
17496 LIBS=$ac_func_search_save_LIBS
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
17499 $as_echo "$ac_cv_search_roken_concat" >&6; }
17500 ac_res=$ac_cv_search_roken_concat
17501 if test "$ac_res" != no; then :
17502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17506 rra_krb5_extra="$LIBS"
17507 LIBS="$rra_krb5_save_LIBS"
17508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
17509 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
17510 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
17511 $as_echo_n "(cached) " >&6
17513 ac_check_lib_save_LIBS=$LIBS
17514 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
17515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17516 /* end confdefs.h. */
17518 /* Override any GCC internal prototype to avoid an error.
17519 Use char because int might match the return type of a GCC
17520 builtin and then its argument prototype would still apply. */
17524 char krb5_init_context ();
17528 return krb5_init_context ();
17533 if ac_fn_c_try_link "$LINENO"; then :
17534 ac_cv_lib_krb5_krb5_init_context=yes
17536 ac_cv_lib_krb5_krb5_init_context=no
17538 rm -f core conftest.err conftest.$ac_objext \
17539 conftest$ac_exeext conftest.$ac_ext
17540 LIBS=$ac_check_lib_save_LIBS
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
17543 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
17544 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
17545 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
17547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
17548 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
17549 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
17550 $as_echo_n "(cached) " >&6
17552 ac_check_lib_save_LIBS=$LIBS
17553 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17557 /* Override any GCC internal prototype to avoid an error.
17558 Use char because int might match the return type of a GCC
17559 builtin and then its argument prototype would still apply. */
17563 char krb5int_getspecific ();
17567 return krb5int_getspecific ();
17572 if ac_fn_c_try_link "$LINENO"; then :
17573 ac_cv_lib_krb5support_krb5int_getspecific=yes
17575 ac_cv_lib_krb5support_krb5int_getspecific=no
17577 rm -f core conftest.err conftest.$ac_objext \
17578 conftest$ac_exeext conftest.$ac_ext
17579 LIBS=$ac_check_lib_save_LIBS
17581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
17582 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
17583 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
17584 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
17586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
17587 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
17588 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
17589 $as_echo_n "(cached) " >&6
17591 ac_check_lib_save_LIBS=$LIBS
17592 LIBS="-lpthreads $LIBS"
17593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17594 /* end confdefs.h. */
17596 /* Override any GCC internal prototype to avoid an error.
17597 Use char because int might match the return type of a GCC
17598 builtin and then its argument prototype would still apply. */
17602 char pthread_setspecific ();
17606 return pthread_setspecific ();
17611 if ac_fn_c_try_link "$LINENO"; then :
17612 ac_cv_lib_pthreads_pthread_setspecific=yes
17614 ac_cv_lib_pthreads_pthread_setspecific=no
17616 rm -f core conftest.err conftest.$ac_objext \
17617 conftest$ac_exeext conftest.$ac_ext
17618 LIBS=$ac_check_lib_save_LIBS
17620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
17621 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
17622 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
17623 rra_krb5_pthread="-lpthreads"
17625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
17626 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
17627 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
17628 $as_echo_n "(cached) " >&6
17630 ac_check_lib_save_LIBS=$LIBS
17631 LIBS="-lpthread $LIBS"
17632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17633 /* end confdefs.h. */
17635 /* Override any GCC internal prototype to avoid an error.
17636 Use char because int might match the return type of a GCC
17637 builtin and then its argument prototype would still apply. */
17641 char pthread_setspecific ();
17645 return pthread_setspecific ();
17650 if ac_fn_c_try_link "$LINENO"; then :
17651 ac_cv_lib_pthread_pthread_setspecific=yes
17653 ac_cv_lib_pthread_pthread_setspecific=no
17655 rm -f core conftest.err conftest.$ac_objext \
17656 conftest$ac_exeext conftest.$ac_ext
17657 LIBS=$ac_check_lib_save_LIBS
17659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
17660 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
17661 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
17662 rra_krb5_pthread="-lpthread"
17667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
17668 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
17669 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
17670 $as_echo_n "(cached) " >&6
17672 ac_check_lib_save_LIBS=$LIBS
17673 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
17674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17675 /* end confdefs.h. */
17677 /* Override any GCC internal prototype to avoid an error.
17678 Use char because int might match the return type of a GCC
17679 builtin and then its argument prototype would still apply. */
17683 char krb5int_setspecific ();
17687 return krb5int_setspecific ();
17692 if ac_fn_c_try_link "$LINENO"; then :
17693 ac_cv_lib_krb5support_krb5int_setspecific=yes
17695 ac_cv_lib_krb5support_krb5int_setspecific=no
17697 rm -f core conftest.err conftest.$ac_objext \
17698 conftest$ac_exeext conftest.$ac_ext
17699 LIBS=$ac_check_lib_save_LIBS
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
17702 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
17703 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
17704 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
17709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
17710 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
17711 if ${ac_cv_lib_com_err_error_message+:} false; then :
17712 $as_echo_n "(cached) " >&6
17714 ac_check_lib_save_LIBS=$LIBS
17715 LIBS="-lcom_err $rra_krb5_extra $LIBS"
17716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17717 /* end confdefs.h. */
17719 /* Override any GCC internal prototype to avoid an error.
17720 Use char because int might match the return type of a GCC
17721 builtin and then its argument prototype would still apply. */
17725 char error_message ();
17729 return error_message ();
17734 if ac_fn_c_try_link "$LINENO"; then :
17735 ac_cv_lib_com_err_error_message=yes
17737 ac_cv_lib_com_err_error_message=no
17739 rm -f core conftest.err conftest.$ac_objext \
17740 conftest$ac_exeext conftest.$ac_ext
17741 LIBS=$ac_check_lib_save_LIBS
17743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
17744 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
17745 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
17746 rra_krb5_extra="-lcom_err $rra_krb5_extra"
17749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
17750 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
17751 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
17752 $as_echo_n "(cached) " >&6
17754 ac_check_lib_save_LIBS=$LIBS
17755 LIBS="-lksvc $rra_krb5_extra $LIBS"
17756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17757 /* end confdefs.h. */
17759 /* Override any GCC internal prototype to avoid an error.
17760 Use char because int might match the return type of a GCC
17761 builtin and then its argument prototype would still apply. */
17765 char krb5_svc_get_msg ();
17769 return krb5_svc_get_msg ();
17774 if ac_fn_c_try_link "$LINENO"; then :
17775 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
17777 ac_cv_lib_ksvc_krb5_svc_get_msg=no
17779 rm -f core conftest.err conftest.$ac_objext \
17780 conftest$ac_exeext conftest.$ac_ext
17781 LIBS=$ac_check_lib_save_LIBS
17783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
17784 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
17785 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
17786 rra_krb5_extra="-lksvc $rra_krb5_extra"
17789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
17790 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
17791 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
17792 $as_echo_n "(cached) " >&6
17794 ac_check_lib_save_LIBS=$LIBS
17795 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
17796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17797 /* end confdefs.h. */
17799 /* Override any GCC internal prototype to avoid an error.
17800 Use char because int might match the return type of a GCC
17801 builtin and then its argument prototype would still apply. */
17805 char krb5int_hash_md5 ();
17809 return krb5int_hash_md5 ();
17814 if ac_fn_c_try_link "$LINENO"; then :
17815 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
17817 ac_cv_lib_k5crypto_krb5int_hash_md5=no
17819 rm -f core conftest.err conftest.$ac_objext \
17820 conftest$ac_exeext conftest.$ac_ext
17821 LIBS=$ac_check_lib_save_LIBS
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
17824 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
17825 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
17826 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
17830 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
17831 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
17832 $as_echo_n "(cached) " >&6
17834 ac_check_lib_save_LIBS=$LIBS
17835 LIBS="-lk5profile $rra_krb5_extra $LIBS"
17836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17837 /* end confdefs.h. */
17839 /* Override any GCC internal prototype to avoid an error.
17840 Use char because int might match the return type of a GCC
17841 builtin and then its argument prototype would still apply. */
17845 char profile_get_values ();
17849 return profile_get_values ();
17854 if ac_fn_c_try_link "$LINENO"; then :
17855 ac_cv_lib_k5profile_profile_get_values=yes
17857 ac_cv_lib_k5profile_profile_get_values=no
17859 rm -f core conftest.err conftest.$ac_objext \
17860 conftest$ac_exeext conftest.$ac_ext
17861 LIBS=$ac_check_lib_save_LIBS
17863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
17864 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
17865 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
17866 rra_krb5_extra="-lk5profile $rra_krb5_extra"
17869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
17870 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
17871 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
17872 $as_echo_n "(cached) " >&6
17874 ac_check_lib_save_LIBS=$LIBS
17875 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
17876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17877 /* end confdefs.h. */
17879 /* Override any GCC internal prototype to avoid an error.
17880 Use char because int might match the return type of a GCC
17881 builtin and then its argument prototype would still apply. */
17885 char krb5_cc_default ();
17889 return krb5_cc_default ();
17894 if ac_fn_c_try_link "$LINENO"; then :
17895 ac_cv_lib_krb5_krb5_cc_default=yes
17897 ac_cv_lib_krb5_krb5_cc_default=no
17899 rm -f core conftest.err conftest.$ac_objext \
17900 conftest$ac_exeext conftest.$ac_ext
17901 LIBS=$ac_check_lib_save_LIBS
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
17904 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
17905 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
17906 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
17908 if test x"true" = xtrue; then :
17909 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
17915 LIBS="$KRB5_LIBS $LIBS"
17916 if test x"$rra_krb5_incroot" = x; then :
17917 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
17919 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
17920 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
17921 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
17922 cat >>confdefs.h <<_ACEOF
17923 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
17931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
17932 $as_echo_n "checking for krb5.h... " >&6; }
17933 if test -f "${rra_krb5_incroot}/krb5.h"; then :
17935 cat >>confdefs.h <<_ACEOF
17936 #define HAVE_KRB5_H 1
17939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17940 $as_echo "yes" >&6; }
17942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17943 $as_echo "no" >&6; }
17945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
17946 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
17947 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
17949 cat >>confdefs.h <<_ACEOF
17950 #define HAVE_KERBEROSV5_KRB5_H 1
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17954 $as_echo "yes" >&6; }
17956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17957 $as_echo "no" >&6; }
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
17960 $as_echo_n "checking for krb5/krb5.h... " >&6; }
17961 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
17963 cat >>confdefs.h <<_ACEOF
17964 #define HAVE_KRB5_KRB5_H 1
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17968 $as_echo "yes" >&6; }
17970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17971 $as_echo "no" >&6; }
17974 for ac_func in krb5_get_error_message
17976 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
17977 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
17978 cat >>confdefs.h <<_ACEOF
17979 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
17981 for ac_func in krb5_free_error_message
17983 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
17984 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
17985 cat >>confdefs.h <<_ACEOF
17986 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
17993 for ac_func in krb5_get_error_string
17995 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
17996 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
17997 cat >>confdefs.h <<_ACEOF
17998 #define HAVE_KRB5_GET_ERROR_STRING 1
18002 for ac_func in krb5_get_err_txt
18004 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
18005 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
18006 cat >>confdefs.h <<_ACEOF
18007 #define HAVE_KRB5_GET_ERR_TXT 1
18011 for ac_func in krb5_svc_get_msg
18013 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
18014 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
18015 cat >>confdefs.h <<_ACEOF
18016 #define HAVE_KRB5_SVC_GET_MSG 1
18018 for ac_header in ibm_svc/krb5_svc.h
18020 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
18023 #elif HAVE_KERBEROSV5_KRB5_H
18024 # include <kerberosv5/krb5.h>
18026 # include <krb5/krb5.h>
18030 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
18031 cat >>confdefs.h <<_ACEOF
18032 #define HAVE_IBM_SVC_KRB5_SVC_H 1
18040 if test x"$rra_krb5_incroot" = x; then :
18041 for ac_header in et/com_err.h kerberosv5/com_err.h
18043 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18044 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18045 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18046 cat >>confdefs.h <<_ACEOF
18047 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
18056 $as_echo_n "checking for et/com_err.h... " >&6; }
18057 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
18059 cat >>confdefs.h <<_ACEOF
18060 #define HAVE_ET_COM_ERR_H 1
18063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18064 $as_echo "yes" >&6; }
18066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18067 $as_echo "no" >&6; }
18069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
18070 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
18071 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
18073 cat >>confdefs.h <<_ACEOF
18074 #define HAVE_KERBEROSV5_COM_ERR_H 1
18077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18078 $as_echo "yes" >&6; }
18080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18081 $as_echo "no" >&6; }
18096 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
18097 LDFLAGS="$rra_krb5_save_LDFLAGS"
18098 LIBS="$rra_krb5_save_LIBS"
18101 if test x"$rra_krb5_libdir" != x; then :
18102 KRB5_LDFLAGS="-L$rra_krb5_libdir"
18104 if test x"$rra_krb5_root" != x; then :
18106 if test -d "$rra_krb5_root/$rra_lib_arch_name"; then :
18107 if test x"" = x; then :
18108 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}"
18110 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/${rra_lib_arch_name}/"
18113 if test x"" = x; then :
18114 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib"
18116 KRB5_LDFLAGS="$KRB5_LDFLAGS -L$rra_krb5_root/lib/"
18119 KRB5_LDFLAGS=`echo "$KRB5_LDFLAGS" | sed -e 's/^ *//'`
18122 if test x"$rra_krb5_includedir" != x; then :
18123 KRB5_CPPFLAGS="-I$rra_krb5_includedir"
18125 if test x"$rra_krb5_root" != x; then :
18126 if test x"$rra_krb5_root" != x/usr; then :
18127 KRB5_CPPFLAGS="-I${rra_krb5_root}/include"
18131 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
18132 rra_krb5_save_LDFLAGS="$LDFLAGS"
18133 rra_krb5_save_LIBS="$LIBS"
18134 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
18135 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
18136 LIBS="$KRB5_LIBS $LIBS"
18139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_search" >&5
18140 $as_echo_n "checking for library containing res_search... " >&6; }
18141 if ${ac_cv_search_res_search+:} false; then :
18142 $as_echo_n "(cached) " >&6
18144 ac_func_search_save_LIBS=$LIBS
18145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18146 /* end confdefs.h. */
18148 /* Override any GCC internal prototype to avoid an error.
18149 Use char because int might match the return type of a GCC
18150 builtin and then its argument prototype would still apply. */
18154 char res_search ();
18158 return res_search ();
18163 for ac_lib in '' resolv; do
18164 if test -z "$ac_lib"; then
18165 ac_res="none required"
18168 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18170 if ac_fn_c_try_link "$LINENO"; then :
18171 ac_cv_search_res_search=$ac_res
18173 rm -f core conftest.err conftest.$ac_objext \
18175 if ${ac_cv_search_res_search+:} false; then :
18179 if ${ac_cv_search_res_search+:} false; then :
18182 ac_cv_search_res_search=no
18184 rm conftest.$ac_ext
18185 LIBS=$ac_func_search_save_LIBS
18187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_search" >&5
18188 $as_echo "$ac_cv_search_res_search" >&6; }
18189 ac_res=$ac_cv_search_res_search
18190 if test "$ac_res" != no; then :
18191 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_search" >&5
18195 $as_echo_n "checking for library containing __res_search... " >&6; }
18196 if ${ac_cv_search___res_search+:} false; then :
18197 $as_echo_n "(cached) " >&6
18199 ac_func_search_save_LIBS=$LIBS
18200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18201 /* end confdefs.h. */
18203 /* Override any GCC internal prototype to avoid an error.
18204 Use char because int might match the return type of a GCC
18205 builtin and then its argument prototype would still apply. */
18209 char __res_search ();
18213 return __res_search ();
18218 for ac_lib in '' resolv; do
18219 if test -z "$ac_lib"; then
18220 ac_res="none required"
18223 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18225 if ac_fn_c_try_link "$LINENO"; then :
18226 ac_cv_search___res_search=$ac_res
18228 rm -f core conftest.err conftest.$ac_objext \
18230 if ${ac_cv_search___res_search+:} false; then :
18234 if ${ac_cv_search___res_search+:} false; then :
18237 ac_cv_search___res_search=no
18239 rm conftest.$ac_ext
18240 LIBS=$ac_func_search_save_LIBS
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_search" >&5
18243 $as_echo "$ac_cv_search___res_search" >&6; }
18244 ac_res=$ac_cv_search___res_search
18245 if test "$ac_res" != no; then :
18246 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
18253 $as_echo_n "checking for library containing gethostbyname... " >&6; }
18254 if ${ac_cv_search_gethostbyname+:} false; then :
18255 $as_echo_n "(cached) " >&6
18257 ac_func_search_save_LIBS=$LIBS
18258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18259 /* end confdefs.h. */
18261 /* Override any GCC internal prototype to avoid an error.
18262 Use char because int might match the return type of a GCC
18263 builtin and then its argument prototype would still apply. */
18267 char gethostbyname ();
18271 return gethostbyname ();
18276 for ac_lib in '' nsl; do
18277 if test -z "$ac_lib"; then
18278 ac_res="none required"
18281 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18283 if ac_fn_c_try_link "$LINENO"; then :
18284 ac_cv_search_gethostbyname=$ac_res
18286 rm -f core conftest.err conftest.$ac_objext \
18288 if ${ac_cv_search_gethostbyname+:} false; then :
18292 if ${ac_cv_search_gethostbyname+:} false; then :
18295 ac_cv_search_gethostbyname=no
18297 rm conftest.$ac_ext
18298 LIBS=$ac_func_search_save_LIBS
18300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
18301 $as_echo "$ac_cv_search_gethostbyname" >&6; }
18302 ac_res=$ac_cv_search_gethostbyname
18303 if test "$ac_res" != no; then :
18304 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
18309 $as_echo_n "checking for library containing socket... " >&6; }
18310 if ${ac_cv_search_socket+:} false; then :
18311 $as_echo_n "(cached) " >&6
18313 ac_func_search_save_LIBS=$LIBS
18314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18315 /* end confdefs.h. */
18317 /* Override any GCC internal prototype to avoid an error.
18318 Use char because int might match the return type of a GCC
18319 builtin and then its argument prototype would still apply. */
18332 for ac_lib in '' socket; do
18333 if test -z "$ac_lib"; then
18334 ac_res="none required"
18337 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18339 if ac_fn_c_try_link "$LINENO"; then :
18340 ac_cv_search_socket=$ac_res
18342 rm -f core conftest.err conftest.$ac_objext \
18344 if ${ac_cv_search_socket+:} false; then :
18348 if ${ac_cv_search_socket+:} false; then :
18351 ac_cv_search_socket=no
18353 rm conftest.$ac_ext
18354 LIBS=$ac_func_search_save_LIBS
18356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
18357 $as_echo "$ac_cv_search_socket" >&6; }
18358 ac_res=$ac_cv_search_socket
18359 if test "$ac_res" != no; then :
18360 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lnsl" >&5
18364 $as_echo_n "checking for socket in -lnsl... " >&6; }
18365 if ${ac_cv_lib_nsl_socket+:} false; then :
18366 $as_echo_n "(cached) " >&6
18368 ac_check_lib_save_LIBS=$LIBS
18369 LIBS="-lnsl -lsocket $LIBS"
18370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18371 /* end confdefs.h. */
18373 /* Override any GCC internal prototype to avoid an error.
18374 Use char because int might match the return type of a GCC
18375 builtin and then its argument prototype would still apply. */
18388 if ac_fn_c_try_link "$LINENO"; then :
18389 ac_cv_lib_nsl_socket=yes
18391 ac_cv_lib_nsl_socket=no
18393 rm -f core conftest.err conftest.$ac_objext \
18394 conftest$ac_exeext conftest.$ac_ext
18395 LIBS=$ac_check_lib_save_LIBS
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_socket" >&5
18398 $as_echo "$ac_cv_lib_nsl_socket" >&6; }
18399 if test "x$ac_cv_lib_nsl_socket" = xyes; then :
18400 LIBS="-lnsl -lsocket $LIBS"
18405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing crypt" >&5
18406 $as_echo_n "checking for library containing crypt... " >&6; }
18407 if ${ac_cv_search_crypt+:} false; then :
18408 $as_echo_n "(cached) " >&6
18410 ac_func_search_save_LIBS=$LIBS
18411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18412 /* end confdefs.h. */
18414 /* Override any GCC internal prototype to avoid an error.
18415 Use char because int might match the return type of a GCC
18416 builtin and then its argument prototype would still apply. */
18429 for ac_lib in '' crypt; do
18430 if test -z "$ac_lib"; then
18431 ac_res="none required"
18434 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18436 if ac_fn_c_try_link "$LINENO"; then :
18437 ac_cv_search_crypt=$ac_res
18439 rm -f core conftest.err conftest.$ac_objext \
18441 if ${ac_cv_search_crypt+:} false; then :
18445 if ${ac_cv_search_crypt+:} false; then :
18448 ac_cv_search_crypt=no
18450 rm conftest.$ac_ext
18451 LIBS=$ac_func_search_save_LIBS
18453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_crypt" >&5
18454 $as_echo "$ac_cv_search_crypt" >&6; }
18455 ac_res=$ac_cv_search_crypt
18456 if test "$ac_res" != no; then :
18457 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing roken_concat" >&5
18462 $as_echo_n "checking for library containing roken_concat... " >&6; }
18463 if ${ac_cv_search_roken_concat+:} false; then :
18464 $as_echo_n "(cached) " >&6
18466 ac_func_search_save_LIBS=$LIBS
18467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18468 /* end confdefs.h. */
18470 /* Override any GCC internal prototype to avoid an error.
18471 Use char because int might match the return type of a GCC
18472 builtin and then its argument prototype would still apply. */
18476 char roken_concat ();
18480 return roken_concat ();
18485 for ac_lib in '' roken; do
18486 if test -z "$ac_lib"; then
18487 ac_res="none required"
18490 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18492 if ac_fn_c_try_link "$LINENO"; then :
18493 ac_cv_search_roken_concat=$ac_res
18495 rm -f core conftest.err conftest.$ac_objext \
18497 if ${ac_cv_search_roken_concat+:} false; then :
18501 if ${ac_cv_search_roken_concat+:} false; then :
18504 ac_cv_search_roken_concat=no
18506 rm conftest.$ac_ext
18507 LIBS=$ac_func_search_save_LIBS
18509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_roken_concat" >&5
18510 $as_echo "$ac_cv_search_roken_concat" >&6; }
18511 ac_res=$ac_cv_search_roken_concat
18512 if test "$ac_res" != no; then :
18513 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18517 rra_krb5_extra="$LIBS"
18518 LIBS="$rra_krb5_save_LIBS"
18519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_init_context in -lkrb5" >&5
18520 $as_echo_n "checking for krb5_init_context in -lkrb5... " >&6; }
18521 if ${ac_cv_lib_krb5_krb5_init_context+:} false; then :
18522 $as_echo_n "(cached) " >&6
18524 ac_check_lib_save_LIBS=$LIBS
18525 LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra $LIBS"
18526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18527 /* end confdefs.h. */
18529 /* Override any GCC internal prototype to avoid an error.
18530 Use char because int might match the return type of a GCC
18531 builtin and then its argument prototype would still apply. */
18535 char krb5_init_context ();
18539 return krb5_init_context ();
18544 if ac_fn_c_try_link "$LINENO"; then :
18545 ac_cv_lib_krb5_krb5_init_context=yes
18547 ac_cv_lib_krb5_krb5_init_context=no
18549 rm -f core conftest.err conftest.$ac_objext \
18550 conftest$ac_exeext conftest.$ac_ext
18551 LIBS=$ac_check_lib_save_LIBS
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_init_context" >&5
18554 $as_echo "$ac_cv_lib_krb5_krb5_init_context" >&6; }
18555 if test "x$ac_cv_lib_krb5_krb5_init_context" = xyes; then :
18556 KRB5_LIBS="-lkrb5 -lasn1 -lcom_err -lcrypto $rra_krb5_extra"
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_getspecific in -lkrb5support" >&5
18559 $as_echo_n "checking for krb5int_getspecific in -lkrb5support... " >&6; }
18560 if ${ac_cv_lib_krb5support_krb5int_getspecific+:} false; then :
18561 $as_echo_n "(cached) " >&6
18563 ac_check_lib_save_LIBS=$LIBS
18564 LIBS="-lkrb5support $rra_krb5_extra $LIBS"
18565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18566 /* end confdefs.h. */
18568 /* Override any GCC internal prototype to avoid an error.
18569 Use char because int might match the return type of a GCC
18570 builtin and then its argument prototype would still apply. */
18574 char krb5int_getspecific ();
18578 return krb5int_getspecific ();
18583 if ac_fn_c_try_link "$LINENO"; then :
18584 ac_cv_lib_krb5support_krb5int_getspecific=yes
18586 ac_cv_lib_krb5support_krb5int_getspecific=no
18588 rm -f core conftest.err conftest.$ac_objext \
18589 conftest$ac_exeext conftest.$ac_ext
18590 LIBS=$ac_check_lib_save_LIBS
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_getspecific" >&5
18593 $as_echo "$ac_cv_lib_krb5support_krb5int_getspecific" >&6; }
18594 if test "x$ac_cv_lib_krb5support_krb5int_getspecific" = xyes; then :
18595 rra_krb5_extra="-lkrb5support $rra_krb5_extra"
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthreads" >&5
18598 $as_echo_n "checking for pthread_setspecific in -lpthreads... " >&6; }
18599 if ${ac_cv_lib_pthreads_pthread_setspecific+:} false; then :
18600 $as_echo_n "(cached) " >&6
18602 ac_check_lib_save_LIBS=$LIBS
18603 LIBS="-lpthreads $LIBS"
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18607 /* Override any GCC internal prototype to avoid an error.
18608 Use char because int might match the return type of a GCC
18609 builtin and then its argument prototype would still apply. */
18613 char pthread_setspecific ();
18617 return pthread_setspecific ();
18622 if ac_fn_c_try_link "$LINENO"; then :
18623 ac_cv_lib_pthreads_pthread_setspecific=yes
18625 ac_cv_lib_pthreads_pthread_setspecific=no
18627 rm -f core conftest.err conftest.$ac_objext \
18628 conftest$ac_exeext conftest.$ac_ext
18629 LIBS=$ac_check_lib_save_LIBS
18631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthreads_pthread_setspecific" >&5
18632 $as_echo "$ac_cv_lib_pthreads_pthread_setspecific" >&6; }
18633 if test "x$ac_cv_lib_pthreads_pthread_setspecific" = xyes; then :
18634 rra_krb5_pthread="-lpthreads"
18636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_setspecific in -lpthread" >&5
18637 $as_echo_n "checking for pthread_setspecific in -lpthread... " >&6; }
18638 if ${ac_cv_lib_pthread_pthread_setspecific+:} false; then :
18639 $as_echo_n "(cached) " >&6
18641 ac_check_lib_save_LIBS=$LIBS
18642 LIBS="-lpthread $LIBS"
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18646 /* Override any GCC internal prototype to avoid an error.
18647 Use char because int might match the return type of a GCC
18648 builtin and then its argument prototype would still apply. */
18652 char pthread_setspecific ();
18656 return pthread_setspecific ();
18661 if ac_fn_c_try_link "$LINENO"; then :
18662 ac_cv_lib_pthread_pthread_setspecific=yes
18664 ac_cv_lib_pthread_pthread_setspecific=no
18666 rm -f core conftest.err conftest.$ac_objext \
18667 conftest$ac_exeext conftest.$ac_ext
18668 LIBS=$ac_check_lib_save_LIBS
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_setspecific" >&5
18671 $as_echo "$ac_cv_lib_pthread_pthread_setspecific" >&6; }
18672 if test "x$ac_cv_lib_pthread_pthread_setspecific" = xyes; then :
18673 rra_krb5_pthread="-lpthread"
18678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_setspecific in -lkrb5support" >&5
18679 $as_echo_n "checking for krb5int_setspecific in -lkrb5support... " >&6; }
18680 if ${ac_cv_lib_krb5support_krb5int_setspecific+:} false; then :
18681 $as_echo_n "(cached) " >&6
18683 ac_check_lib_save_LIBS=$LIBS
18684 LIBS="-lkrb5support $rra_krb5_pthread $rra_krb5_extra $LIBS"
18685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18686 /* end confdefs.h. */
18688 /* Override any GCC internal prototype to avoid an error.
18689 Use char because int might match the return type of a GCC
18690 builtin and then its argument prototype would still apply. */
18694 char krb5int_setspecific ();
18698 return krb5int_setspecific ();
18703 if ac_fn_c_try_link "$LINENO"; then :
18704 ac_cv_lib_krb5support_krb5int_setspecific=yes
18706 ac_cv_lib_krb5support_krb5int_setspecific=no
18708 rm -f core conftest.err conftest.$ac_objext \
18709 conftest$ac_exeext conftest.$ac_ext
18710 LIBS=$ac_check_lib_save_LIBS
18712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5support_krb5int_setspecific" >&5
18713 $as_echo "$ac_cv_lib_krb5support_krb5int_setspecific" >&6; }
18714 if test "x$ac_cv_lib_krb5support_krb5int_setspecific" = xyes; then :
18715 rra_krb5_extra="-lkrb5support $rra_krb5_extra $rra_krb5_pthread"
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_message in -lcom_err" >&5
18721 $as_echo_n "checking for error_message in -lcom_err... " >&6; }
18722 if ${ac_cv_lib_com_err_error_message+:} false; then :
18723 $as_echo_n "(cached) " >&6
18725 ac_check_lib_save_LIBS=$LIBS
18726 LIBS="-lcom_err $rra_krb5_extra $LIBS"
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18730 /* Override any GCC internal prototype to avoid an error.
18731 Use char because int might match the return type of a GCC
18732 builtin and then its argument prototype would still apply. */
18736 char error_message ();
18740 return error_message ();
18745 if ac_fn_c_try_link "$LINENO"; then :
18746 ac_cv_lib_com_err_error_message=yes
18748 ac_cv_lib_com_err_error_message=no
18750 rm -f core conftest.err conftest.$ac_objext \
18751 conftest$ac_exeext conftest.$ac_ext
18752 LIBS=$ac_check_lib_save_LIBS
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_com_err_error_message" >&5
18755 $as_echo "$ac_cv_lib_com_err_error_message" >&6; }
18756 if test "x$ac_cv_lib_com_err_error_message" = xyes; then :
18757 rra_krb5_extra="-lcom_err $rra_krb5_extra"
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_svc_get_msg in -lksvc" >&5
18761 $as_echo_n "checking for krb5_svc_get_msg in -lksvc... " >&6; }
18762 if ${ac_cv_lib_ksvc_krb5_svc_get_msg+:} false; then :
18763 $as_echo_n "(cached) " >&6
18765 ac_check_lib_save_LIBS=$LIBS
18766 LIBS="-lksvc $rra_krb5_extra $LIBS"
18767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18768 /* end confdefs.h. */
18770 /* Override any GCC internal prototype to avoid an error.
18771 Use char because int might match the return type of a GCC
18772 builtin and then its argument prototype would still apply. */
18776 char krb5_svc_get_msg ();
18780 return krb5_svc_get_msg ();
18785 if ac_fn_c_try_link "$LINENO"; then :
18786 ac_cv_lib_ksvc_krb5_svc_get_msg=yes
18788 ac_cv_lib_ksvc_krb5_svc_get_msg=no
18790 rm -f core conftest.err conftest.$ac_objext \
18791 conftest$ac_exeext conftest.$ac_ext
18792 LIBS=$ac_check_lib_save_LIBS
18794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ksvc_krb5_svc_get_msg" >&5
18795 $as_echo "$ac_cv_lib_ksvc_krb5_svc_get_msg" >&6; }
18796 if test "x$ac_cv_lib_ksvc_krb5_svc_get_msg" = xyes; then :
18797 rra_krb5_extra="-lksvc $rra_krb5_extra"
18800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5int_hash_md5 in -lk5crypto" >&5
18801 $as_echo_n "checking for krb5int_hash_md5 in -lk5crypto... " >&6; }
18802 if ${ac_cv_lib_k5crypto_krb5int_hash_md5+:} false; then :
18803 $as_echo_n "(cached) " >&6
18805 ac_check_lib_save_LIBS=$LIBS
18806 LIBS="-lk5crypto $rra_krb5_extra $LIBS"
18807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18808 /* end confdefs.h. */
18810 /* Override any GCC internal prototype to avoid an error.
18811 Use char because int might match the return type of a GCC
18812 builtin and then its argument prototype would still apply. */
18816 char krb5int_hash_md5 ();
18820 return krb5int_hash_md5 ();
18825 if ac_fn_c_try_link "$LINENO"; then :
18826 ac_cv_lib_k5crypto_krb5int_hash_md5=yes
18828 ac_cv_lib_k5crypto_krb5int_hash_md5=no
18830 rm -f core conftest.err conftest.$ac_objext \
18831 conftest$ac_exeext conftest.$ac_ext
18832 LIBS=$ac_check_lib_save_LIBS
18834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5crypto_krb5int_hash_md5" >&5
18835 $as_echo "$ac_cv_lib_k5crypto_krb5int_hash_md5" >&6; }
18836 if test "x$ac_cv_lib_k5crypto_krb5int_hash_md5" = xyes; then :
18837 rra_krb5_extra="-lk5crypto $rra_krb5_extra"
18840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for profile_get_values in -lk5profile" >&5
18841 $as_echo_n "checking for profile_get_values in -lk5profile... " >&6; }
18842 if ${ac_cv_lib_k5profile_profile_get_values+:} false; then :
18843 $as_echo_n "(cached) " >&6
18845 ac_check_lib_save_LIBS=$LIBS
18846 LIBS="-lk5profile $rra_krb5_extra $LIBS"
18847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18848 /* end confdefs.h. */
18850 /* Override any GCC internal prototype to avoid an error.
18851 Use char because int might match the return type of a GCC
18852 builtin and then its argument prototype would still apply. */
18856 char profile_get_values ();
18860 return profile_get_values ();
18865 if ac_fn_c_try_link "$LINENO"; then :
18866 ac_cv_lib_k5profile_profile_get_values=yes
18868 ac_cv_lib_k5profile_profile_get_values=no
18870 rm -f core conftest.err conftest.$ac_objext \
18871 conftest$ac_exeext conftest.$ac_ext
18872 LIBS=$ac_check_lib_save_LIBS
18874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_k5profile_profile_get_values" >&5
18875 $as_echo "$ac_cv_lib_k5profile_profile_get_values" >&6; }
18876 if test "x$ac_cv_lib_k5profile_profile_get_values" = xyes; then :
18877 rra_krb5_extra="-lk5profile $rra_krb5_extra"
18880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5_cc_default in -lkrb5" >&5
18881 $as_echo_n "checking for krb5_cc_default in -lkrb5... " >&6; }
18882 if ${ac_cv_lib_krb5_krb5_cc_default+:} false; then :
18883 $as_echo_n "(cached) " >&6
18885 ac_check_lib_save_LIBS=$LIBS
18886 LIBS="-lkrb5 $rra_krb5_extra $LIBS"
18887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18888 /* end confdefs.h. */
18890 /* Override any GCC internal prototype to avoid an error.
18891 Use char because int might match the return type of a GCC
18892 builtin and then its argument prototype would still apply. */
18896 char krb5_cc_default ();
18900 return krb5_cc_default ();
18905 if ac_fn_c_try_link "$LINENO"; then :
18906 ac_cv_lib_krb5_krb5_cc_default=yes
18908 ac_cv_lib_krb5_krb5_cc_default=no
18910 rm -f core conftest.err conftest.$ac_objext \
18911 conftest$ac_exeext conftest.$ac_ext
18912 LIBS=$ac_check_lib_save_LIBS
18914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_krb5_krb5_cc_default" >&5
18915 $as_echo "$ac_cv_lib_krb5_krb5_cc_default" >&6; }
18916 if test "x$ac_cv_lib_krb5_krb5_cc_default" = xyes; then :
18917 KRB5_LIBS="-lkrb5 $rra_krb5_extra"
18919 if test x"true" = xtrue; then :
18920 as_fn_error $? "cannot find usable Kerberos library" "$LINENO" 5
18926 LIBS="$KRB5_LIBS $LIBS"
18927 if test x"$rra_krb5_incroot" = x; then :
18928 for ac_header in krb5.h kerberosv5/krb5.h krb5/krb5.h
18930 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18931 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18932 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18933 cat >>confdefs.h <<_ACEOF
18934 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5.h" >&5
18943 $as_echo_n "checking for krb5.h... " >&6; }
18944 if test -f "${rra_krb5_incroot}/krb5.h"; then :
18946 cat >>confdefs.h <<_ACEOF
18947 #define HAVE_KRB5_H 1
18950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18951 $as_echo "yes" >&6; }
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18954 $as_echo "no" >&6; }
18956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/krb5.h" >&5
18957 $as_echo_n "checking for kerberosv5/krb5.h... " >&6; }
18958 if test -f "${rra_krb5_incroot}/kerberosv5/krb5.h"; then :
18960 cat >>confdefs.h <<_ACEOF
18961 #define HAVE_KERBEROSV5_KRB5_H 1
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18965 $as_echo "yes" >&6; }
18967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18968 $as_echo "no" >&6; }
18970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for krb5/krb5.h" >&5
18971 $as_echo_n "checking for krb5/krb5.h... " >&6; }
18972 if test -f "${rra_krb5_incroot}/krb5/krb5.h"; then :
18974 cat >>confdefs.h <<_ACEOF
18975 #define HAVE_KRB5_KRB5_H 1
18978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18979 $as_echo "yes" >&6; }
18981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18982 $as_echo "no" >&6; }
18985 for ac_func in krb5_get_error_message
18987 ac_fn_c_check_func "$LINENO" "krb5_get_error_message" "ac_cv_func_krb5_get_error_message"
18988 if test "x$ac_cv_func_krb5_get_error_message" = xyes; then :
18989 cat >>confdefs.h <<_ACEOF
18990 #define HAVE_KRB5_GET_ERROR_MESSAGE 1
18992 for ac_func in krb5_free_error_message
18994 ac_fn_c_check_func "$LINENO" "krb5_free_error_message" "ac_cv_func_krb5_free_error_message"
18995 if test "x$ac_cv_func_krb5_free_error_message" = xyes; then :
18996 cat >>confdefs.h <<_ACEOF
18997 #define HAVE_KRB5_FREE_ERROR_MESSAGE 1
19004 for ac_func in krb5_get_error_string
19006 ac_fn_c_check_func "$LINENO" "krb5_get_error_string" "ac_cv_func_krb5_get_error_string"
19007 if test "x$ac_cv_func_krb5_get_error_string" = xyes; then :
19008 cat >>confdefs.h <<_ACEOF
19009 #define HAVE_KRB5_GET_ERROR_STRING 1
19013 for ac_func in krb5_get_err_txt
19015 ac_fn_c_check_func "$LINENO" "krb5_get_err_txt" "ac_cv_func_krb5_get_err_txt"
19016 if test "x$ac_cv_func_krb5_get_err_txt" = xyes; then :
19017 cat >>confdefs.h <<_ACEOF
19018 #define HAVE_KRB5_GET_ERR_TXT 1
19022 for ac_func in krb5_svc_get_msg
19024 ac_fn_c_check_func "$LINENO" "krb5_svc_get_msg" "ac_cv_func_krb5_svc_get_msg"
19025 if test "x$ac_cv_func_krb5_svc_get_msg" = xyes; then :
19026 cat >>confdefs.h <<_ACEOF
19027 #define HAVE_KRB5_SVC_GET_MSG 1
19029 for ac_header in ibm_svc/krb5_svc.h
19031 ac_fn_c_check_header_compile "$LINENO" "ibm_svc/krb5_svc.h" "ac_cv_header_ibm_svc_krb5_svc_h" "
19034 #elif HAVE_KERBEROSV5_KRB5_H
19035 # include <kerberosv5/krb5.h>
19037 # include <krb5/krb5.h>
19041 if test "x$ac_cv_header_ibm_svc_krb5_svc_h" = xyes; then :
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_IBM_SVC_KRB5_SVC_H 1
19051 if test x"$rra_krb5_incroot" = x; then :
19052 for ac_header in et/com_err.h kerberosv5/com_err.h
19054 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19055 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19057 cat >>confdefs.h <<_ACEOF
19058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for et/com_err.h" >&5
19067 $as_echo_n "checking for et/com_err.h... " >&6; }
19068 if test -f "${rra_krb5_incroot}/et/com_err.h"; then :
19070 cat >>confdefs.h <<_ACEOF
19071 #define HAVE_ET_COM_ERR_H 1
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19075 $as_echo "yes" >&6; }
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19078 $as_echo "no" >&6; }
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kerberosv5/com_err.h" >&5
19081 $as_echo_n "checking for kerberosv5/com_err.h... " >&6; }
19082 if test -f "${rra_krb5_incroot}/kerberosv5/com_err.h"; then :
19084 cat >>confdefs.h <<_ACEOF
19085 #define HAVE_KERBEROSV5_COM_ERR_H 1
19088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19089 $as_echo "yes" >&6; }
19091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19092 $as_echo "no" >&6; }
19107 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
19108 LDFLAGS="$rra_krb5_save_LDFLAGS"
19109 LIBS="$rra_krb5_save_LIBS"
19112 rra_krb5_uses_com_err=false
19113 case $KRB5_LIBS in #(
19115 rra_krb5_uses_com_err=true ;; #(
19119 if test x"$rra_krb5_uses_com_err" = xtrue; then
19120 KRB5_USES_COM_ERR_TRUE=
19121 KRB5_USES_COM_ERR_FALSE='#'
19123 KRB5_USES_COM_ERR_TRUE='#'
19124 KRB5_USES_COM_ERR_FALSE=
19127 KRB5_CPPFLAGS_GCC=`echo "$KRB5_CPPFLAGS" | sed -e 's/-I/-isystem /g'`
19129 $as_echo "#define HAVE_KRB5 1" >>confdefs.h
19131 rra_krb5_save_CPPFLAGS="$CPPFLAGS"
19132 rra_krb5_save_LDFLAGS="$LDFLAGS"
19133 rra_krb5_save_LIBS="$LIBS"
19134 CPPFLAGS="$KRB5_CPPFLAGS $CPPFLAGS"
19135 LDFLAGS="$KRB5_LDFLAGS $LDFLAGS"
19136 LIBS="$KRB5_LIBS $LIBS"
19137 for ac_header in krb5/pwqual_plugin.h
19139 ac_fn_c_check_header_compile "$LINENO" "krb5/pwqual_plugin.h" "ac_cv_header_krb5_pwqual_plugin_h" "
19142 #elif HAVE_KERBEROSV5_KRB5_H
19143 # include <kerberosv5/krb5.h>
19145 # include <krb5/krb5.h>
19149 if test "x$ac_cv_header_krb5_pwqual_plugin_h" = xyes; then :
19150 cat >>confdefs.h <<_ACEOF
19151 #define HAVE_KRB5_PWQUAL_PLUGIN_H 1
19158 ac_fn_c_check_type "$LINENO" "krb5_realm" "ac_cv_type_krb5_realm" "
19161 #elif HAVE_KERBEROSV5_KRB5_H
19162 # include <kerberosv5/krb5.h>
19164 # include <krb5/krb5.h>
19168 if test "x$ac_cv_type_krb5_realm" = xyes; then :
19170 cat >>confdefs.h <<_ACEOF
19171 #define HAVE_KRB5_REALM 1
19177 for ac_func in krb5_free_default_realm \
19179 krb5_get_init_creds_opt_alloc \
19180 krb5_get_init_creds_opt_set_default_flags \
19181 krb5_principal_get_realm \
19184 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19185 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19186 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19187 cat >>confdefs.h <<_ACEOF
19188 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19194 for ac_func in krb5_get_init_creds_opt_free
19196 ac_fn_c_check_func "$LINENO" "krb5_get_init_creds_opt_free" "ac_cv_func_krb5_get_init_creds_opt_free"
19197 if test "x$ac_cv_func_krb5_get_init_creds_opt_free" = xyes; then :
19198 cat >>confdefs.h <<_ACEOF
19199 #define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE 1
19201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if krb5_get_init_creds_opt_free takes two arguments" >&5
19202 $as_echo_n "checking if krb5_get_init_creds_opt_free takes two arguments... " >&6; }
19203 if ${rra_cv_func_krb5_get_init_creds_opt_free_args+:} false; then :
19204 $as_echo_n "(cached) " >&6
19206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19207 /* end confdefs.h. */
19211 #elif HAVE_KERBEROSV5_KRB5_H
19212 # include <kerberosv5/krb5.h>
19214 # include <krb5/krb5.h>
19220 krb5_get_init_creds_opt *opts;
19222 krb5_get_init_creds_opt_free(c, opts);
19226 if ac_fn_c_try_compile "$LINENO"; then :
19227 rra_cv_func_krb5_get_init_creds_opt_free_args=yes
19229 rra_cv_func_krb5_get_init_creds_opt_free_args=no
19231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_krb5_get_init_creds_opt_free_args" >&5
19234 $as_echo "$rra_cv_func_krb5_get_init_creds_opt_free_args" >&6; }
19235 if test $rra_cv_func_krb5_get_init_creds_opt_free_args = yes; then :
19237 $as_echo "#define HAVE_KRB5_GET_INIT_CREDS_OPT_FREE_2_ARGS 1" >>confdefs.h
19243 ac_fn_c_check_decl "$LINENO" "krb5_kt_free_entry" "ac_cv_have_decl_krb5_kt_free_entry" "
19246 #elif HAVE_KERBEROSV5_KRB5_H
19247 # include <kerberosv5/krb5.h>
19249 # include <krb5/krb5.h>
19253 if test "x$ac_cv_have_decl_krb5_kt_free_entry" = xyes; then :
19259 cat >>confdefs.h <<_ACEOF
19260 #define HAVE_DECL_KRB5_KT_FREE_ENTRY $ac_have_decl
19263 for ac_func in krb5_appdefault_string
19265 ac_fn_c_check_func "$LINENO" "krb5_appdefault_string" "ac_cv_func_krb5_appdefault_string"
19266 if test "x$ac_cv_func_krb5_appdefault_string" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_KRB5_APPDEFAULT_STRING 1
19272 for ac_func in krb5_get_profile
19274 ac_fn_c_check_func "$LINENO" "krb5_get_profile" "ac_cv_func_krb5_get_profile"
19275 if test "x$ac_cv_func_krb5_get_profile" = xyes; then :
19276 cat >>confdefs.h <<_ACEOF
19277 #define HAVE_KRB5_GET_PROFILE 1
19283 for ac_header in k5profile.h profile.h
19285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19286 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19287 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19288 cat >>confdefs.h <<_ACEOF
19289 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19296 case " $LIBOBJS " in
19297 *" krb5-profile.$ac_objext "* ) ;;
19298 *) LIBOBJS="$LIBOBJS krb5-profile.$ac_objext"
19305 case " $LIBOBJS " in
19306 *" krb5-extra.$ac_objext "* ) ;;
19307 *) LIBOBJS="$LIBOBJS krb5-extra.$ac_objext"
19311 for ac_header in kadm5/kadm5-pwcheck.h kadm5/kadm5_err.h
19313 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19314 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "
19317 #elif HAVE_KERBEROSV5_KRB5_H
19318 # include <kerberosv5/krb5.h>
19320 # include <krb5/krb5.h>
19324 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19325 cat >>confdefs.h <<_ACEOF
19326 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19333 CPPFLAGS="$rra_krb5_save_CPPFLAGS"
19334 LDFLAGS="$rra_krb5_save_LDFLAGS"
19335 LIBS="$rra_krb5_save_LIBS"
19343 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
19344 if test -n "$ac_tool_prefix"; then
19345 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
19346 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19348 $as_echo_n "checking for $ac_word... " >&6; }
19349 if ${ac_cv_path_PKG_CONFIG+:} false; then :
19350 $as_echo_n "(cached) " >&6
19352 case $PKG_CONFIG in
19354 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19358 for as_dir in $PATH
19361 test -z "$as_dir" && as_dir=.
19362 for ac_exec_ext in '' $ac_executable_extensions; do
19363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19364 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19375 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19376 if test -n "$PKG_CONFIG"; then
19377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
19378 $as_echo "$PKG_CONFIG" >&6; }
19380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19381 $as_echo "no" >&6; }
19386 if test -z "$ac_cv_path_PKG_CONFIG"; then
19387 ac_pt_PKG_CONFIG=$PKG_CONFIG
19388 # Extract the first word of "pkg-config", so it can be a program name with args.
19389 set dummy pkg-config; ac_word=$2
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19391 $as_echo_n "checking for $ac_word... " >&6; }
19392 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
19393 $as_echo_n "(cached) " >&6
19395 case $ac_pt_PKG_CONFIG in
19397 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
19400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19401 for as_dir in $PATH
19404 test -z "$as_dir" && as_dir=.
19405 for ac_exec_ext in '' $ac_executable_extensions; do
19406 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19407 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19408 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19418 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
19419 if test -n "$ac_pt_PKG_CONFIG"; then
19420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
19421 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19424 $as_echo "no" >&6; }
19427 if test "x$ac_pt_PKG_CONFIG" = x; then
19430 case $cross_compiling:$ac_tool_warned in
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
19433 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
19434 ac_tool_warned=yes ;;
19436 PKG_CONFIG=$ac_pt_PKG_CONFIG
19439 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
19443 if test -n "$PKG_CONFIG"; then
19444 _pkg_min_version=0.9.0
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
19446 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
19447 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
19448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19449 $as_echo "yes" >&6; }
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19452 $as_echo "no" >&6; }
19458 rra_SQLITE_includedir=
19467 # Check whether --with-sqlite was given.
19468 if test "${with_sqlite+set}" = set; then :
19469 withval=$with_sqlite; if test x"$withval" = xno; then :
19470 rra_use_SQLITE=false
19472 if test x"$withval" != xyes; then :
19473 rra_SQLITE_root="$withval"
19475 rra_use_SQLITE=true
19480 # Check whether --with-sqlite-include was given.
19481 if test "${with_sqlite_include+set}" = set; then :
19482 withval=$with_sqlite_include; if test x"$withval" != xyes && test x"$withval" != xno; then :
19483 rra_SQLITE_includedir="$withval"
19488 # Check whether --with-sqlite-lib was given.
19489 if test "${with_sqlite_lib+set}" = set; then :
19490 withval=$with_sqlite_lib; if test x"$withval" != xyes && test x"$withval" != xno; then :
19491 rra_SQLITE_libdir="$withval"
19495 if test x"$rra_use_SQLITE" != xfalse; then :
19496 if test x"$rra_use_SQLITE" = xtrue; then :
19497 if test x"$rra_SQLITE_libdir" != x; then :
19498 SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
19500 if test x"$rra_SQLITE_root" != x; then :
19502 if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
19503 if test x"" = x; then :
19504 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
19506 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
19509 if test x"" = x; then :
19510 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
19512 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
19515 SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
19518 if test x"$rra_SQLITE_includedir" != x; then :
19519 SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
19521 if test x"$rra_SQLITE_root" != x; then :
19522 if test x"$rra_SQLITE_root" != x/usr; then :
19523 SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
19527 if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
19528 if test -n "$PKG_CONFIG" && \
19529 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19530 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19532 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19533 test $ac_status = 0; }; then
19536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
19537 $as_echo_n "checking for sqlite3... " >&6; }
19539 if test -n "$SQLITE_CFLAGS"; then
19540 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
19541 elif test -n "$PKG_CONFIG"; then
19542 if test -n "$PKG_CONFIG" && \
19543 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19544 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19546 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19547 test $ac_status = 0; }; then
19548 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
19549 test "x$?" != "x0" && pkg_failed=yes
19556 if test -n "$SQLITE_LIBS"; then
19557 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
19558 elif test -n "$PKG_CONFIG"; then
19559 if test -n "$PKG_CONFIG" && \
19560 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19561 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19564 test $ac_status = 0; }; then
19565 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
19566 test "x$?" != "x0" && pkg_failed=yes
19576 if test $pkg_failed = yes; then
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19578 $as_echo "no" >&6; }
19580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19581 _pkg_short_errors_supported=yes
19583 _pkg_short_errors_supported=no
19585 if test $_pkg_short_errors_supported = yes; then
19586 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
19588 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
19590 # Put the nasty error message in config.log where it belongs
19591 echo "$SQLITE_PKG_ERRORS" >&5
19593 as_fn_error $? "Package requirements (sqlite3) were not met:
19597 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19598 installed software in a non-standard prefix.
19600 Alternatively, you may set the environment variables SQLITE_CFLAGS
19601 and SQLITE_LIBS to avoid the need to call pkg-config.
19602 See the pkg-config man page for more details." "$LINENO" 5
19603 elif test $pkg_failed = untried; then
19604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19605 $as_echo "no" >&6; }
19606 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19607 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19608 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19609 is in your PATH or set the PKG_CONFIG environment variable to the full
19610 path to pkg-config.
19612 Alternatively, you may set the environment variables SQLITE_CFLAGS
19613 and SQLITE_LIBS to avoid the need to call pkg-config.
19614 See the pkg-config man page for more details.
19616 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19617 See \`config.log' for more details" "$LINENO" 5; }
19619 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
19620 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19622 $as_echo "yes" >&6; }
19625 SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
19628 if test x"$SQLITE_LIBS" = x; then :
19629 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
19630 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
19631 rra_SQLITE_save_LIBS="$LIBS"
19632 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
19633 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
19634 LIBS="$SQLITE_LIBS $LIBS"
19636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
19637 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
19638 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19639 $as_echo_n "(cached) " >&6
19641 ac_func_search_save_LIBS=$LIBS
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19645 /* Override any GCC internal prototype to avoid an error.
19646 Use char because int might match the return type of a GCC
19647 builtin and then its argument prototype would still apply. */
19651 char sqlite3_open_v2 ();
19655 return sqlite3_open_v2 ();
19660 for ac_lib in '' sqlite3; do
19661 if test -z "$ac_lib"; then
19662 ac_res="none required"
19665 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19667 if ac_fn_c_try_link "$LINENO"; then :
19668 ac_cv_search_sqlite3_open_v2=$ac_res
19670 rm -f core conftest.err conftest.$ac_objext \
19672 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19676 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19679 ac_cv_search_sqlite3_open_v2=no
19681 rm conftest.$ac_ext
19682 LIBS=$ac_func_search_save_LIBS
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
19685 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
19686 ac_res=$ac_cv_search_sqlite3_open_v2
19687 if test "$ac_res" != no; then :
19688 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19689 SQLITE_LIBS="$LIBS"
19691 if test x"true" = xtrue; then :
19692 as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
19696 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19697 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19698 LIBS="$rra_SQLITE_save_LIBS"
19700 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
19701 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
19702 rra_SQLITE_save_LIBS="$LIBS"
19703 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
19704 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
19705 LIBS="$SQLITE_LIBS $LIBS"
19706 for ac_header in sqlite3.h
19708 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
19709 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
19710 cat >>confdefs.h <<_ACEOF
19711 #define HAVE_SQLITE3_H 1
19718 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19719 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19720 LIBS="$rra_SQLITE_save_LIBS"
19722 if test x"$rra_SQLITE_libdir" != x; then :
19723 SQLITE_LDFLAGS="-L$rra_SQLITE_libdir"
19725 if test x"$rra_SQLITE_root" != x; then :
19727 if test -d "${rra_SQLITE_root}/$rra_lib_arch_name"; then :
19728 if test x"" = x; then :
19729 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}"
19731 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/${rra_lib_arch_name}/"
19734 if test x"" = x; then :
19735 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib"
19737 SQLITE_LDFLAGS="$SQLITE_LDFLAGS -L${rra_SQLITE_root}/lib/"
19740 SQLITE_LDFLAGS=`echo "$SQLITE_LDFLAGS" | sed -e 's/^ *//'`
19743 if test x"$rra_SQLITE_includedir" != x; then :
19744 SQLITE_CPPFLAGS="-I$rra_SQLITE_includedir"
19746 if test x"$rra_SQLITE_root" != x; then :
19747 if test x"$rra_SQLITE_root" != x/usr; then :
19748 SQLITE_CPPFLAGS="-I${rra_SQLITE_root}/include"
19752 if test x"$SQLITE_CPPFLAGS" = x && test x"$SQLITE_LDFLAGS" = x; then :
19753 if test -n "$PKG_CONFIG" && \
19754 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19755 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19757 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19758 test $ac_status = 0; }; then
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3" >&5
19762 $as_echo_n "checking for sqlite3... " >&6; }
19764 if test -n "$SQLITE_CFLAGS"; then
19765 pkg_cv_SQLITE_CFLAGS="$SQLITE_CFLAGS"
19766 elif test -n "$PKG_CONFIG"; then
19767 if test -n "$PKG_CONFIG" && \
19768 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19769 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19772 test $ac_status = 0; }; then
19773 pkg_cv_SQLITE_CFLAGS=`$PKG_CONFIG --cflags "sqlite3" 2>/dev/null`
19774 test "x$?" != "x0" && pkg_failed=yes
19781 if test -n "$SQLITE_LIBS"; then
19782 pkg_cv_SQLITE_LIBS="$SQLITE_LIBS"
19783 elif test -n "$PKG_CONFIG"; then
19784 if test -n "$PKG_CONFIG" && \
19785 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"sqlite3\""; } >&5
19786 ($PKG_CONFIG --exists --print-errors "sqlite3") 2>&5
19788 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
19789 test $ac_status = 0; }; then
19790 pkg_cv_SQLITE_LIBS=`$PKG_CONFIG --libs "sqlite3" 2>/dev/null`
19791 test "x$?" != "x0" && pkg_failed=yes
19801 if test $pkg_failed = yes; then
19802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19803 $as_echo "no" >&6; }
19805 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
19806 _pkg_short_errors_supported=yes
19808 _pkg_short_errors_supported=no
19810 if test $_pkg_short_errors_supported = yes; then
19811 SQLITE_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors --cflags --libs "sqlite3" 2>&1`
19813 SQLITE_PKG_ERRORS=`$PKG_CONFIG --print-errors --cflags --libs "sqlite3" 2>&1`
19815 # Put the nasty error message in config.log where it belongs
19816 echo "$SQLITE_PKG_ERRORS" >&5
19818 as_fn_error $? "Package requirements (sqlite3) were not met:
19822 Consider adjusting the PKG_CONFIG_PATH environment variable if you
19823 installed software in a non-standard prefix.
19825 Alternatively, you may set the environment variables SQLITE_CFLAGS
19826 and SQLITE_LIBS to avoid the need to call pkg-config.
19827 See the pkg-config man page for more details." "$LINENO" 5
19828 elif test $pkg_failed = untried; then
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19830 $as_echo "no" >&6; }
19831 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19832 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19833 as_fn_error $? "The pkg-config script could not be found or is too old. Make sure it
19834 is in your PATH or set the PKG_CONFIG environment variable to the full
19835 path to pkg-config.
19837 Alternatively, you may set the environment variables SQLITE_CFLAGS
19838 and SQLITE_LIBS to avoid the need to call pkg-config.
19839 See the pkg-config man page for more details.
19841 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
19842 See \`config.log' for more details" "$LINENO" 5; }
19844 SQLITE_CFLAGS=$pkg_cv_SQLITE_CFLAGS
19845 SQLITE_LIBS=$pkg_cv_SQLITE_LIBS
19846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19847 $as_echo "yes" >&6; }
19850 SQLITE_CPPFLAGS="$SQLITE_CFLAGS"
19853 if test x"$SQLITE_LIBS" = x; then :
19854 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
19855 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
19856 rra_SQLITE_save_LIBS="$LIBS"
19857 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
19858 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
19859 LIBS="$SQLITE_LIBS $LIBS"
19861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sqlite3_open_v2" >&5
19862 $as_echo_n "checking for library containing sqlite3_open_v2... " >&6; }
19863 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19864 $as_echo_n "(cached) " >&6
19866 ac_func_search_save_LIBS=$LIBS
19867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19868 /* end confdefs.h. */
19870 /* Override any GCC internal prototype to avoid an error.
19871 Use char because int might match the return type of a GCC
19872 builtin and then its argument prototype would still apply. */
19876 char sqlite3_open_v2 ();
19880 return sqlite3_open_v2 ();
19885 for ac_lib in '' sqlite3; do
19886 if test -z "$ac_lib"; then
19887 ac_res="none required"
19890 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19892 if ac_fn_c_try_link "$LINENO"; then :
19893 ac_cv_search_sqlite3_open_v2=$ac_res
19895 rm -f core conftest.err conftest.$ac_objext \
19897 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19901 if ${ac_cv_search_sqlite3_open_v2+:} false; then :
19904 ac_cv_search_sqlite3_open_v2=no
19906 rm conftest.$ac_ext
19907 LIBS=$ac_func_search_save_LIBS
19909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sqlite3_open_v2" >&5
19910 $as_echo "$ac_cv_search_sqlite3_open_v2" >&6; }
19911 ac_res=$ac_cv_search_sqlite3_open_v2
19912 if test "$ac_res" != no; then :
19913 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19914 SQLITE_LIBS="$LIBS"
19916 if test x"false" = xtrue; then :
19917 as_fn_error $? "cannot find usable SQLite library" "$LINENO" 5
19921 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19922 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19923 LIBS="$rra_SQLITE_save_LIBS"
19925 rra_SQLITE_save_CPPFLAGS="$CPPFLAGS"
19926 rra_SQLITE_save_LDFLAGS="$LDFLAGS"
19927 rra_SQLITE_save_LIBS="$LIBS"
19928 CPPFLAGS="$SQLITE_CPPFLAGS $CPPFLAGS"
19929 LDFLAGS="$SQLITE_LDFLAGS $LDFLAGS"
19930 LIBS="$SQLITE_LIBS $LIBS"
19931 for ac_header in sqlite3.h
19933 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
19934 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
19935 cat >>confdefs.h <<_ACEOF
19936 #define HAVE_SQLITE3_H 1
19943 CPPFLAGS="$rra_SQLITE_save_CPPFLAGS"
19944 LDFLAGS="$rra_SQLITE_save_LDFLAGS"
19945 LIBS="$rra_SQLITE_save_LIBS"
19948 if test x"$SQLITE_LIBS" != x; then :
19949 rra_use_SQLITE=true
19951 $as_echo "#define HAVE_SQLITE 1" >>confdefs.h
19956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19957 $as_echo_n "checking for library containing dlopen... " >&6; }
19958 if ${ac_cv_search_dlopen+:} false; then :
19959 $as_echo_n "(cached) " >&6
19961 ac_func_search_save_LIBS=$LIBS
19962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19963 /* end confdefs.h. */
19965 /* Override any GCC internal prototype to avoid an error.
19966 Use char because int might match the return type of a GCC
19967 builtin and then its argument prototype would still apply. */
19980 for ac_lib in '' dl; do
19981 if test -z "$ac_lib"; then
19982 ac_res="none required"
19985 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19987 if ac_fn_c_try_link "$LINENO"; then :
19988 ac_cv_search_dlopen=$ac_res
19990 rm -f core conftest.err conftest.$ac_objext \
19992 if ${ac_cv_search_dlopen+:} false; then :
19996 if ${ac_cv_search_dlopen+:} false; then :
19999 ac_cv_search_dlopen=no
20001 rm conftest.$ac_ext
20002 LIBS=$ac_func_search_save_LIBS
20004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
20005 $as_echo "$ac_cv_search_dlopen" >&6; }
20006 ac_res=$ac_cv_search_dlopen
20007 if test "$ac_res" != no; then :
20008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
20016 $as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
20017 if ${ac_cv_header_stdbool_h+:} false; then :
20018 $as_echo_n "(cached) " >&6
20020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20021 /* end confdefs.h. */
20023 #include <stdbool.h>
20025 "error: bool is not defined"
20028 "error: false is not defined"
20031 "error: false is not 0"
20034 "error: true is not defined"
20037 "error: true is not 1"
20039 #ifndef __bool_true_false_are_defined
20040 "error: __bool_true_false_are_defined is not defined"
20043 struct s { _Bool s: 1; _Bool t; } s;
20045 char a[true == 1 ? 1 : -1];
20046 char b[false == 0 ? 1 : -1];
20047 char c[__bool_true_false_are_defined == 1 ? 1 : -1];
20048 char d[(bool) 0.5 == true ? 1 : -1];
20049 /* See body of main program for 'e'. */
20050 char f[(_Bool) 0.0 == false ? 1 : -1];
20052 char h[sizeof (_Bool)];
20053 char i[sizeof s.t];
20054 enum { j = false, k = true, l = false * true, m = true * 256 };
20055 /* The following fails for
20056 HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
20058 char o[sizeof n == m * sizeof n[0] ? 1 : -1];
20059 char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
20060 /* Catch a bug in an HP-UX C compiler. See
20061 http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
20062 http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
20074 /* Refer to every declared value, to avoid compiler optimizations. */
20075 return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
20076 + !m + !n + !o + !p + !q + !pq);
20082 if ac_fn_c_try_compile "$LINENO"; then :
20083 ac_cv_header_stdbool_h=yes
20085 ac_cv_header_stdbool_h=no
20087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
20090 $as_echo "$ac_cv_header_stdbool_h" >&6; }
20091 ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
20092 if test "x$ac_cv_type__Bool" = xyes; then :
20094 cat >>confdefs.h <<_ACEOF
20095 #define HAVE__BOOL 1
20102 if test $ac_cv_header_stdbool_h = yes; then
20104 $as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
20108 for ac_header in strings.h sys/bittypes.h sys/select.h sys/time.h syslog.h
20110 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20111 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20112 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20113 cat >>confdefs.h <<_ACEOF
20114 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20121 ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
20122 if test "x$ac_cv_have_decl_snprintf" = xyes; then :
20128 cat >>confdefs.h <<_ACEOF
20129 #define HAVE_DECL_SNPRINTF $ac_have_decl
20131 ac_fn_c_check_decl "$LINENO" "vsnprintf" "ac_cv_have_decl_vsnprintf" "$ac_includes_default"
20132 if test "x$ac_cv_have_decl_vsnprintf" = xyes; then :
20138 cat >>confdefs.h <<_ACEOF
20139 #define HAVE_DECL_VSNPRINTF $ac_have_decl
20142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 variadic macros" >&5
20143 $as_echo_n "checking for C99 variadic macros... " >&6; }
20144 if ${rra_cv_c_c99_vamacros+:} false; then :
20145 $as_echo_n "(cached) " >&6
20147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20148 /* end confdefs.h. */
20151 #define error(...) fprintf(stderr, __VA_ARGS__)
20156 error("foo %d", 0);
20161 if ac_fn_c_try_compile "$LINENO"; then :
20162 rra_cv_c_c99_vamacros=yes
20164 rra_cv_c_c99_vamacros=no
20166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_c99_vamacros" >&5
20169 $as_echo "$rra_cv_c_c99_vamacros" >&6; }
20170 if test x"$rra_cv_c_c99_vamacros" = xyes; then :
20172 $as_echo "#define HAVE_C99_VAMACROS 1" >>confdefs.h
20175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU-style variadic macros" >&5
20176 $as_echo_n "checking for GNU-style variadic macros... " >&6; }
20177 if ${rra_cv_c_gnu_vamacros+:} false; then :
20178 $as_echo_n "(cached) " >&6
20180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20181 /* end confdefs.h. */
20184 #define error(args...) fprintf(stderr, args)
20189 error("foo %d", 0);
20194 if ac_fn_c_try_compile "$LINENO"; then :
20195 rra_cv_c_gnu_vamacros=yes
20197 rra_cv_c_gnu_vamacros=no
20199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_c_gnu_vamacros" >&5
20202 $as_echo "$rra_cv_c_gnu_vamacros" >&6; }
20203 if test x"$rra_cv_c_gnu_vamacros" = xyes; then :
20205 $as_echo "#define HAVE_GNU_VAMACROS 1" >>confdefs.h
20209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
20210 $as_echo_n "checking for unsigned long long int... " >&6; }
20211 if ${ac_cv_type_unsigned_long_long_int+:} false; then :
20212 $as_echo_n "(cached) " >&6
20214 ac_cv_type_unsigned_long_long_int=yes
20215 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
20216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20217 /* end confdefs.h. */
20219 /* For now, do not test the preprocessor; as of 2007 there are too many
20220 implementations with broken preprocessors. Perhaps this can
20221 be revisited in 2012. In the meantime, code should not expect
20222 #if to work with literals wider than 32 bits. */
20223 /* Test literals. */
20224 long long int ll = 9223372036854775807ll;
20225 long long int nll = -9223372036854775807LL;
20226 unsigned long long int ull = 18446744073709551615ULL;
20227 /* Test constant expressions. */
20228 typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
20230 typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
20236 /* Test availability of runtime routines for shift and division. */
20237 long long int llmax = 9223372036854775807ll;
20238 unsigned long long int ullmax = 18446744073709551615ull;
20239 return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
20240 | (llmax / ll) | (llmax % ll)
20241 | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
20242 | (ullmax / ull) | (ullmax % ull));
20248 if ac_fn_c_try_link "$LINENO"; then :
20251 ac_cv_type_unsigned_long_long_int=no
20253 rm -f core conftest.err conftest.$ac_objext \
20254 conftest$ac_exeext conftest.$ac_ext
20257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_unsigned_long_long_int" >&5
20258 $as_echo "$ac_cv_type_unsigned_long_long_int" >&6; }
20259 if test $ac_cv_type_unsigned_long_long_int = yes; then
20261 $as_echo "#define HAVE_UNSIGNED_LONG_LONG_INT 1" >>confdefs.h
20267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
20268 $as_echo_n "checking for long long int... " >&6; }
20269 if ${ac_cv_type_long_long_int+:} false; then :
20270 $as_echo_n "(cached) " >&6
20272 ac_cv_type_long_long_int=yes
20273 if test "x${ac_cv_prog_cc_c99-no}" = xno; then
20274 ac_cv_type_long_long_int=$ac_cv_type_unsigned_long_long_int
20275 if test $ac_cv_type_long_long_int = yes; then
20276 if test "$cross_compiling" = yes; then :
20279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20280 /* end confdefs.h. */
20281 #include <limits.h>
20284 (1LL << (sizeof (long long int) * CHAR_BIT - 2))
20285 # define LLONG_MAX (HALF - 1 + HALF)
20290 long long int n = 1;
20294 long long int m = n << i;
20297 if (LLONG_MAX / 2 < m)
20305 if ac_fn_c_try_run "$LINENO"; then :
20308 ac_cv_type_long_long_int=no
20310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20311 conftest.$ac_objext conftest.beam conftest.$ac_ext
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_long_int" >&5
20318 $as_echo "$ac_cv_type_long_long_int" >&6; }
20319 if test $ac_cv_type_long_long_int = yes; then
20321 $as_echo "#define HAVE_LONG_LONG_INT 1" >>confdefs.h
20325 ac_fn_c_find_uintX_t "$LINENO" "8" "ac_cv_c_uint8_t"
20326 case $ac_cv_c_uint8_t in #(
20330 $as_echo "#define _UINT8_T 1" >>confdefs.h
20333 cat >>confdefs.h <<_ACEOF
20334 #define uint8_t $ac_cv_c_uint8_t
20339 ac_fn_c_find_uintX_t "$LINENO" "16" "ac_cv_c_uint16_t"
20340 case $ac_cv_c_uint16_t in #(
20345 cat >>confdefs.h <<_ACEOF
20346 #define uint16_t $ac_cv_c_uint16_t
20351 ac_fn_c_find_uintX_t "$LINENO" "32" "ac_cv_c_uint32_t"
20352 case $ac_cv_c_uint32_t in #(
20356 $as_echo "#define _UINT32_T 1" >>confdefs.h
20359 cat >>confdefs.h <<_ACEOF
20360 #define uint32_t $ac_cv_c_uint32_t
20365 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "#include <sys/types.h>
20367 if test "x$ac_cv_type_ssize_t" = xyes; then :
20369 cat >>confdefs.h <<_ACEOF
20370 #define HAVE_SSIZE_T 1
20376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working snprintf" >&5
20377 $as_echo_n "checking for working snprintf... " >&6; }
20378 if ${rra_cv_func_snprintf_works+:} false; then :
20379 $as_echo_n "(cached) " >&6
20381 if test "$cross_compiling" = yes; then :
20382 rra_cv_func_snprintf_works=no
20384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20385 /* end confdefs.h. */
20388 #include <stdarg.h>
20393 test(char *format, ...)
20398 va_start(args, format);
20399 count = vsnprintf(buf, sizeof buf, format, args);
20407 return ((test("%s", "abcd") == 4 && buf[0] == 'a' && buf[1] == '\0'
20408 && snprintf(NULL, 0, "%s", "abcd") == 4) ? 0 : 1);
20412 if ac_fn_c_try_run "$LINENO"; then :
20413 rra_cv_func_snprintf_works=yes
20415 rra_cv_func_snprintf_works=no
20417 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20418 conftest.$ac_objext conftest.beam conftest.$ac_ext
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $rra_cv_func_snprintf_works" >&5
20423 $as_echo "$rra_cv_func_snprintf_works" >&6; }
20424 if test x"$rra_cv_func_snprintf_works" = xyes; then :
20426 $as_echo "#define HAVE_SNPRINTF 1" >>confdefs.h
20429 case " $LIBOBJS " in
20430 *" snprintf.$ac_objext "* ) ;;
20431 *) LIBOBJS="$LIBOBJS snprintf.$ac_objext"
20436 for ac_func in explicit_bzero setrlimit
20438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20440 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20441 cat >>confdefs.h <<_ACEOF
20442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20448 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
20449 if test "x$ac_cv_func_asprintf" = xyes; then :
20450 $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
20453 case " $LIBOBJS " in
20454 *" asprintf.$ac_objext "* ) ;;
20455 *) LIBOBJS="$LIBOBJS asprintf.$ac_objext"
20461 ac_fn_c_check_func "$LINENO" "mkstemp" "ac_cv_func_mkstemp"
20462 if test "x$ac_cv_func_mkstemp" = xyes; then :
20463 $as_echo "#define HAVE_MKSTEMP 1" >>confdefs.h
20466 case " $LIBOBJS " in
20467 *" mkstemp.$ac_objext "* ) ;;
20468 *) LIBOBJS="$LIBOBJS mkstemp.$ac_objext"
20474 ac_fn_c_check_func "$LINENO" "reallocarray" "ac_cv_func_reallocarray"
20475 if test "x$ac_cv_func_reallocarray" = xyes; then :
20476 $as_echo "#define HAVE_REALLOCARRAY 1" >>confdefs.h
20479 case " $LIBOBJS " in
20480 *" reallocarray.$ac_objext "* ) ;;
20481 *) LIBOBJS="$LIBOBJS reallocarray.$ac_objext"
20487 ac_fn_c_check_func "$LINENO" "strndup" "ac_cv_func_strndup"
20488 if test "x$ac_cv_func_strndup" = xyes; then :
20489 $as_echo "#define HAVE_STRNDUP 1" >>confdefs.h
20492 case " $LIBOBJS " in
20493 *" strndup.$ac_objext "* ) ;;
20494 *) LIBOBJS="$LIBOBJS strndup.$ac_objext"
20502 ac_config_files="$ac_config_files Makefile"
20504 ac_config_headers="$ac_config_headers config.h"
20506 cat >confcache <<\_ACEOF
20507 # This file is a shell script that caches the results of configure
20508 # tests run on this system so they can be shared between configure
20509 # scripts and configure runs, see configure's option --config-cache.
20510 # It is not useful on other systems. If it contains results you don't
20511 # want to keep, you may remove or edit it.
20513 # config.status only pays attention to the cache file if you give it
20514 # the --recheck option to rerun configure.
20516 # `ac_cv_env_foo' variables (set or unset) will be overridden when
20517 # loading this file, other *unset* `ac_cv_foo' will be assigned the
20518 # following values.
20522 # The following way of writing the cache mishandles newlines in values,
20523 # but we know of no workaround that is simple, portable, and efficient.
20524 # So, we kill variables containing newlines.
20525 # Ultrix sh set writes to stderr and can't be redirected directly,
20526 # and sets the high bit in the cache file unless we assign to the vars.
20528 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
20529 eval ac_val=\$$ac_var
20533 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
20534 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
20537 _ | IFS | as_nl) ;; #(
20538 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
20539 *) { eval $ac_var=; unset $ac_var;} ;;
20545 case $as_nl`(ac_space=' '; set) 2>&1` in #(
20546 *${as_nl}ac_space=\ *)
20547 # `set' does not quote correctly, so add quotes: double-quote
20548 # substitution turns \\\\ into \\, and sed turns \\ into \.
20551 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
20554 # `set' quotes correctly as required by POSIX, so do not add quotes.
20555 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
20564 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
20566 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
20568 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
20569 if test -w "$cache_file"; then
20570 if test "x$cache_file" != "x/dev/null"; then
20571 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
20572 $as_echo "$as_me: updating cache $cache_file" >&6;}
20573 if test ! -f "$cache_file" || test -h "$cache_file"; then
20574 cat confcache >"$cache_file"
20576 case $cache_file in #(
20578 mv -f confcache "$cache_file"$$ &&
20579 mv -f "$cache_file"$$ "$cache_file" ;; #(
20581 mv -f confcache "$cache_file" ;;
20586 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
20587 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
20592 test "x$prefix" = xNONE && prefix=$ac_default_prefix
20593 # Let make expand exec_prefix.
20594 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
20596 DEFS=-DHAVE_CONFIG_H
20601 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
20602 # 1. Remove the extension, and $U if already installed.
20603 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
20604 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
20605 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
20606 # will be set to the directory where LIBOBJS objects are built.
20607 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
20608 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
20610 LIBOBJS=$ac_libobjs
20612 LTLIBOBJS=$ac_ltlibobjs
20615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
20616 $as_echo_n "checking that generated files are newer than configure... " >&6; }
20617 if test -n "$am_sleep_pid"; then
20618 # Hide warnings about reused PIDs.
20619 wait $am_sleep_pid 2>/dev/null
20621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
20622 $as_echo "done" >&6; }
20623 if test -n "$EXEEXT"; then
20625 am__EXEEXT_FALSE='#'
20627 am__EXEEXT_TRUE='#'
20631 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
20632 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
20633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20635 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
20636 as_fn_error $? "conditional \"AMDEP\" was never defined.
20637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20639 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
20640 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
20641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20643 if test -z "${EMBEDDED_CRACKLIB_TRUE}" && test -z "${EMBEDDED_CRACKLIB_FALSE}"; then
20644 as_fn_error $? "conditional \"EMBEDDED_CRACKLIB\" was never defined.
20645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20647 if test -z "${KRB5_USES_COM_ERR_TRUE}" && test -z "${KRB5_USES_COM_ERR_FALSE}"; then
20648 as_fn_error $? "conditional \"KRB5_USES_COM_ERR\" was never defined.
20649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
20652 : "${CONFIG_STATUS=./config.status}"
20654 ac_clean_files_save=$ac_clean_files
20655 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
20656 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
20657 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
20659 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
20661 # Generated by $as_me.
20662 # Run this file to recreate the current configuration.
20663 # Compiler output produced by configure, useful for debugging
20664 # configure, is in config.log if it exists.
20667 ac_cs_recheck=false
20670 SHELL=\${CONFIG_SHELL-$SHELL}
20673 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
20674 ## -------------------- ##
20675 ## M4sh Initialization. ##
20676 ## -------------------- ##
20678 # Be more Bourne compatible
20679 DUALCASE=1; export DUALCASE # for MKS sh
20680 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20683 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
20684 # is contrary to our usage. Disable this feature.
20685 alias -g '${1+"$@"}'='"$@"'
20686 setopt NO_GLOB_SUBST
20688 case `(set -o) 2>/dev/null` in #(
20700 # Printing a long string crashes Solaris 7 /usr/bin/printf.
20701 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
20702 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
20703 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
20704 # Prefer a ksh shell builtin over an external printf program on Solaris,
20705 # but without wasting forks for bash or zsh.
20706 if test -z "$BASH_VERSION$ZSH_VERSION" \
20707 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
20708 as_echo='print -r --'
20709 as_echo_n='print -rn --'
20710 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
20711 as_echo='printf %s\n'
20712 as_echo_n='printf %s'
20714 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
20715 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
20716 as_echo_n='/usr/ucb/echo -n'
20718 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
20719 as_echo_n_body='eval
20723 expr "X$arg" : "X\\(.*\\)$as_nl";
20724 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
20726 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
20728 export as_echo_n_body
20729 as_echo_n='sh -c $as_echo_n_body as_echo'
20731 export as_echo_body
20732 as_echo='sh -c $as_echo_body as_echo'
20735 # The user is always right.
20736 if test "${PATH_SEPARATOR+set}" != set; then
20738 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
20739 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
20746 # We need space, tab and new line, in precisely that order. Quoting is
20747 # there to prevent editors from complaining about space-tab.
20748 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
20749 # splitting by setting IFS to empty value.)
20752 # Find who we are. Look in the path if we contain no directory separator.
20755 *[\\/]* ) as_myself=$0 ;;
20756 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20757 for as_dir in $PATH
20760 test -z "$as_dir" && as_dir=.
20761 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
20767 # We did not find ourselves, most probably we were run as `sh COMMAND'
20768 # in which case we are not to be found in the path.
20769 if test "x$as_myself" = x; then
20772 if test ! -f "$as_myself"; then
20773 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
20777 # Unset variables that we do not need and which cause bugs (e.g. in
20778 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
20779 # suppresses any "Segmentation fault" message there. '((' could
20780 # trigger a bug in pdksh 5.2.14.
20781 for as_var in BASH_ENV ENV MAIL MAILPATH
20782 do eval test x\${$as_var+set} = xset \
20783 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
20796 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
20799 # as_fn_error STATUS ERROR [LINENO LOG_FD]
20800 # ----------------------------------------
20801 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
20802 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
20803 # script with STATUS, using 1 if that was 0.
20806 as_status=$1; test $as_status -eq 0 && as_status=1
20808 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
20809 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
20811 $as_echo "$as_me: error: $2" >&2
20812 as_fn_exit $as_status
20816 # as_fn_set_status STATUS
20817 # -----------------------
20818 # Set $? to STATUS, without forking.
20819 as_fn_set_status ()
20822 } # as_fn_set_status
20824 # as_fn_exit STATUS
20825 # -----------------
20826 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
20830 as_fn_set_status $1
20836 # Portably unset VAR.
20839 { eval $1=; unset $1;}
20841 as_unset=as_fn_unset
20842 # as_fn_append VAR VALUE
20843 # ----------------------
20844 # Append the text in VALUE to the end of the definition contained in VAR. Take
20845 # advantage of any shell optimizations that allow amortized linear growth over
20846 # repeated appends, instead of the typical quadratic growth present in naive
20848 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
20849 eval 'as_fn_append ()
20860 # as_fn_arith ARG...
20861 # ------------------
20862 # Perform arithmetic evaluation on the ARGs, and store the result in the
20863 # global $as_val. Take advantage of shells that can avoid forks. The arguments
20864 # must be portable across $(()) and expr.
20865 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
20866 eval 'as_fn_arith ()
20873 as_val=`expr "$@" || test $? -eq 1`
20878 if expr a : '\(a\)' >/dev/null 2>&1 &&
20879 test "X`expr 00001 : '.*\(...\)'`" = X001; then
20885 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
20886 as_basename=basename
20891 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
20897 as_me=`$as_basename -- "$0" ||
20898 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
20899 X"$0" : 'X\(//\)$' \| \
20900 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
20902 sed '/^.*\/\([^/][^/]*\)\/*$/{
20916 # Avoid depending upon Character Ranges.
20917 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
20918 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
20919 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
20920 as_cr_digits='0123456789'
20921 as_cr_alnum=$as_cr_Letters$as_cr_digits
20923 ECHO_C= ECHO_N= ECHO_T=
20924 case `echo -n x` in #(((((
20926 case `echo 'xy\c'` in
20927 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
20929 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
20936 rm -f conf$$ conf$$.exe conf$$.file
20937 if test -d conf$$.dir; then
20938 rm -f conf$$.dir/conf$$.file
20941 mkdir conf$$.dir 2>/dev/null
20943 if (echo >conf$$.file) 2>/dev/null; then
20944 if ln -s conf$$.file conf$$ 2>/dev/null; then
20946 # ... but there are two gotchas:
20947 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
20948 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
20949 # In both cases, we have to default to `cp -pR'.
20950 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
20952 elif ln conf$$.file conf$$ 2>/dev/null; then
20960 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
20961 rmdir conf$$.dir 2>/dev/null
20966 # Create "$as_dir" as a directory, including parents if necessary.
20971 -*) as_dir=./$as_dir;;
20973 test -d "$as_dir" || eval $as_mkdir_p || {
20977 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
20978 *) as_qdir=$as_dir;;
20980 as_dirs="'$as_qdir' $as_dirs"
20981 as_dir=`$as_dirname -- "$as_dir" ||
20982 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20983 X"$as_dir" : 'X\(//\)[^/]' \| \
20984 X"$as_dir" : 'X\(//\)$' \| \
20985 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
20986 $as_echo X"$as_dir" |
20987 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20991 /^X\(\/\/\)[^/].*/{
21004 test -d "$as_dir" && break
21006 test -z "$as_dirs" || eval "mkdir $as_dirs"
21007 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21011 if mkdir -p . 2>/dev/null; then
21012 as_mkdir_p='mkdir -p "$as_dir"'
21014 test -d ./-p && rmdir ./-p
21019 # as_fn_executable_p FILE
21020 # -----------------------
21021 # Test if FILE is an executable regular file.
21022 as_fn_executable_p ()
21024 test -f "$1" && test -x "$1"
21025 } # as_fn_executable_p
21026 as_test_x='test -x'
21027 as_executable_p=as_fn_executable_p
21029 # Sed expression to map a string onto a valid CPP name.
21030 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21032 # Sed expression to map a string onto a valid variable name.
21033 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21037 ## ----------------------------------- ##
21038 ## Main body of $CONFIG_STATUS script. ##
21039 ## ----------------------------------- ##
21041 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21043 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21044 # Save the log message, to keep $0 and so on meaningful, and to
21045 # report actual input values of CONFIG_FILES etc. instead of their
21046 # values after options handling.
21048 This file was extended by krb5-strength $as_me 3.2, which was
21049 generated by GNU Autoconf 2.69. Invocation command line was
21051 CONFIG_FILES = $CONFIG_FILES
21052 CONFIG_HEADERS = $CONFIG_HEADERS
21053 CONFIG_LINKS = $CONFIG_LINKS
21054 CONFIG_COMMANDS = $CONFIG_COMMANDS
21057 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21062 case $ac_config_files in *"
21063 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21066 case $ac_config_headers in *"
21067 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21072 # Files that config.status was made for.
21073 config_files="$ac_config_files"
21074 config_headers="$ac_config_headers"
21075 config_commands="$ac_config_commands"
21079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21081 \`$as_me' instantiates files and other configuration actions
21082 from templates according to the current configuration. Unless the files
21083 and actions are specified as TAGs, all are instantiated by default.
21085 Usage: $0 [OPTION]... [TAG]...
21087 -h, --help print this help, then exit
21088 -V, --version print version number and configuration settings, then exit
21089 --config print configuration, then exit
21090 -q, --quiet, --silent
21091 do not print progress messages
21092 -d, --debug don't remove temporary files
21093 --recheck update $as_me by reconfiguring in the same conditions
21094 --file=FILE[:TEMPLATE]
21095 instantiate the configuration file FILE
21096 --header=FILE[:TEMPLATE]
21097 instantiate the configuration header FILE
21099 Configuration files:
21102 Configuration headers:
21105 Configuration commands:
21108 Report bugs to <eagle@eyrie.org>."
21111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21112 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21114 krb5-strength config.status 3.2
21115 configured by $0, generated by GNU Autoconf 2.69,
21116 with options \\"\$ac_cs_config\\"
21118 Copyright (C) 2012 Free Software Foundation, Inc.
21119 This config.status script is free software; the Free Software Foundation
21120 gives unlimited permission to copy, distribute and modify it."
21127 test -n "\$AWK" || AWK=awk
21130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21131 # The default lists apply if the user does not specify any file.
21137 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21138 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21142 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21154 # Handling of the options.
21155 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21157 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21158 $as_echo "$ac_cs_version"; exit ;;
21159 --config | --confi | --conf | --con | --co | --c )
21160 $as_echo "$ac_cs_config"; exit ;;
21161 --debug | --debu | --deb | --de | --d | -d )
21163 --file | --fil | --fi | --f )
21166 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21167 '') as_fn_error $? "missing file argument" ;;
21169 as_fn_append CONFIG_FILES " '$ac_optarg'"
21170 ac_need_defaults=false;;
21171 --header | --heade | --head | --hea )
21174 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21176 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21177 ac_need_defaults=false;;
21179 # Conflict between --help and --header
21180 as_fn_error $? "ambiguous option: \`$1'
21181 Try \`$0 --help' for more information.";;
21182 --help | --hel | -h )
21183 $as_echo "$ac_cs_usage"; exit ;;
21184 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21185 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21188 # This is an error.
21189 -*) as_fn_error $? "unrecognized option: \`$1'
21190 Try \`$0 --help' for more information." ;;
21192 *) as_fn_append ac_config_targets " $1"
21193 ac_need_defaults=false ;;
21199 ac_configure_extra_args=
21201 if $ac_cs_silent; then
21203 ac_configure_extra_args="$ac_configure_extra_args --silent"
21207 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21208 if \$ac_cs_recheck; then
21209 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21211 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21212 CONFIG_SHELL='$SHELL'
21213 export CONFIG_SHELL
21218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21222 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21223 ## Running $as_me. ##
21229 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21233 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
21236 # The HP-UX ksh and POSIX shell print the target directory to stdout
21237 # if CDPATH is set.
21238 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21240 sed_quote_subst='$sed_quote_subst'
21241 double_quote_subst='$double_quote_subst'
21242 delay_variable_subst='$delay_variable_subst'
21243 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
21244 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
21245 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
21246 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
21247 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
21248 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
21249 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
21250 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
21251 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
21252 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
21253 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
21254 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
21255 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
21256 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
21257 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
21258 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
21259 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
21260 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
21261 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
21262 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
21263 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
21264 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
21265 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
21266 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
21267 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
21268 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
21269 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
21270 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
21271 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
21272 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
21273 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
21274 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
21275 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
21276 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
21277 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
21278 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
21279 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
21280 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
21281 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
21282 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
21283 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
21284 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
21285 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
21286 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
21287 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
21288 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
21289 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21290 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21291 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
21292 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
21293 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
21294 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
21295 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
21296 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
21297 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
21298 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
21299 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
21300 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
21301 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"`'
21302 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
21303 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
21304 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
21305 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
21306 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
21307 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
21308 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
21309 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
21310 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
21311 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
21312 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
21313 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
21314 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
21315 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
21316 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
21317 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
21318 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
21319 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
21320 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
21321 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
21322 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21323 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
21324 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
21325 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
21326 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
21327 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
21328 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
21329 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
21330 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
21331 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21332 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
21333 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
21334 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
21335 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
21336 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
21337 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
21338 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
21339 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
21340 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
21341 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
21342 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
21343 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
21344 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
21345 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
21346 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
21347 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
21348 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
21349 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
21350 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
21351 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
21352 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
21353 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
21354 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
21355 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
21356 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
21357 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
21358 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
21359 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
21360 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
21361 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
21362 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
21363 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
21364 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
21365 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
21366 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
21367 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
21368 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
21369 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
21370 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
21371 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
21372 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
21373 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
21374 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
21375 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
21376 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
21377 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
21380 LTCFLAGS='$LTCFLAGS'
21381 compiler='$compiler_DEFAULT'
21383 # A function that is used when there is no print builtin or printf.
21384 func_fallback_echo ()
21386 eval 'cat <<_LTECHO_EOF
21391 # Quote evaled strings.
21406 deplibs_check_method \
21411 sharedlib_from_linklib_cmd \
21414 archiver_list_spec \
21420 lt_cv_sys_global_symbol_pipe \
21421 lt_cv_sys_global_symbol_to_cdecl \
21422 lt_cv_sys_global_symbol_to_import \
21423 lt_cv_sys_global_symbol_to_c_name_address \
21424 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
21425 lt_cv_nm_interface \
21426 nm_file_list_spec \
21427 lt_cv_truncate_bin \
21428 lt_prog_compiler_no_builtin_flag \
21429 lt_prog_compiler_pic \
21430 lt_prog_compiler_wl \
21431 lt_prog_compiler_static \
21432 lt_cv_prog_compiler_c_o \
21441 export_dynamic_flag_spec \
21442 whole_archive_flag_spec \
21443 compiler_needs_object \
21445 allow_undefined_flag \
21446 no_undefined_flag \
21447 hardcode_libdir_flag_spec \
21448 hardcode_libdir_separator \
21452 variables_saved_for_relink \
21454 library_names_spec \
21456 install_override_mode \
21460 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21461 *[\\\\\\\`\\"\\\$]*)
21462 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21465 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21470 # Double-quote double-evaled strings.
21471 for var in reload_cmds \
21472 old_postinstall_cmds \
21473 old_postuninstall_cmds \
21475 extract_expsyms_cmds \
21476 old_archive_from_new_cmds \
21477 old_archive_from_expsyms_cmds \
21479 archive_expsym_cmds \
21481 module_expsym_cmds \
21482 export_symbols_cmds \
21486 postuninstall_cmds \
21488 sys_lib_search_path_spec \
21489 configure_time_dlsearch_path \
21490 configure_time_lt_sys_library_path; do
21491 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
21492 *[\\\\\\\`\\"\\\$]*)
21493 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
21496 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
21501 ac_aux_dir='$ac_aux_dir'
21503 # See if we are running on zsh, and set the options that allow our
21504 # commands through without removal of \ escapes INIT.
21505 if test -n "\${ZSH_VERSION+set}"; then
21506 setopt NO_GLOB_SUBST
21520 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21522 # Handling of arguments.
21523 for ac_config_target in $ac_config_targets
21525 case $ac_config_target in
21526 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
21527 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
21528 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
21529 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
21531 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21536 # If the user did not use the arguments to specify the items to instantiate,
21537 # then the envvar interface is used. Set only those that are not.
21538 # We use the long form for the default assignment because of an extremely
21539 # bizarre bug on SunOS 4.1.3.
21540 if $ac_need_defaults; then
21541 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21542 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21543 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21546 # Have a temporary directory for convenience. Make it in the build tree
21547 # simply because there is no reason against having it here, and in addition,
21548 # creating and moving files from /tmp can sometimes cause problems.
21549 # Hook for its removal unless debugging.
21550 # Note that there is a small window in which the directory will not be cleaned:
21551 # after its creation but before its name has been assigned to `$tmp'.
21555 trap 'exit_status=$?
21556 : "${ac_tmp:=$tmp}"
21557 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
21559 trap 'as_fn_exit 1' 1 2 13 15
21561 # Create a (secure) tmp directory for tmp files.
21564 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
21568 tmp=./conf$$-$RANDOM
21569 (umask 077 && mkdir "$tmp")
21570 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
21573 # Set up the scripts for CONFIG_FILES section.
21574 # No need to generate them if there are no CONFIG_FILES.
21575 # This happens for instance with `./config.status config.h'.
21576 if test -n "$CONFIG_FILES"; then
21579 ac_cr=`echo X | tr X '\015'`
21580 # On cygwin, bash can eat \r inside `` if the user requested igncr.
21581 # But we know of no other shell where ac_cr would be empty at this
21582 # point, so we can use a bashism as a fallback.
21583 if test "x$ac_cr" = x; then
21584 eval ac_cr=\$\'\\r\'
21586 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
21587 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
21590 ac_cs_awk_cr=$ac_cr
21593 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
21598 echo "cat >conf$$subs.awk <<_ACEOF" &&
21599 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
21601 } >conf$$subs.sh ||
21602 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21603 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
21605 for ac_last_try in false false false false false :; do
21606 . ./conf$$subs.sh ||
21607 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21609 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
21610 if test $ac_delim_n = $ac_delim_num; then
21612 elif $ac_last_try; then
21613 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
21615 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21618 rm -f conf$$subs.sh
21620 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21621 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
21625 s/^/S["/; s/!.*/"]=/
21635 s/\(.\{148\}\)..*/\1/
21637 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
21642 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21649 s/\(.\{148\}\)..*/\1/
21651 s/["\\]/\\&/g; s/^/"/; s/$/"/
21655 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
21660 ' <conf$$subs.awk | sed '
21665 ' >>$CONFIG_STATUS || ac_write_fail=1
21666 rm -f conf$$subs.awk
21667 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21669 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
21670 for (key in S) S_is_set[key] = 1
21676 nfields = split(line, field, "@")
21678 len = length(field[1])
21679 for (i = 2; i < nfields; i++) {
21681 keylen = length(key)
21682 if (S_is_set[key]) {
21684 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
21685 len += length(value) + length(field[++i])
21696 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21697 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
21698 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
21701 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
21702 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
21705 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
21706 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
21707 # trailing colons and then remove the whole line if VPATH becomes empty
21708 # (actually we leave an empty line to preserve line numbers).
21709 if test "x$srcdir" = x.; then
21710 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
21728 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21729 fi # test -n "$CONFIG_FILES"
21731 # Set up the scripts for CONFIG_HEADERS section.
21732 # No need to generate them if there are no CONFIG_HEADERS.
21733 # This happens for instance with `./config.status Makefile'.
21734 if test -n "$CONFIG_HEADERS"; then
21735 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
21739 # Transform confdefs.h into an awk script `defines.awk', embedded as
21740 # here-document in config.status, that substitutes the proper values into
21741 # config.h.in to produce config.h.
21743 # Create a delimiter string that does not exist in confdefs.h, to ease
21744 # handling of long lines.
21746 for ac_last_try in false false :; do
21747 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
21748 if test -z "$ac_tt"; then
21750 elif $ac_last_try; then
21751 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
21753 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
21757 # For the awk script, D is an array of macro values keyed by name,
21758 # likewise P contains macro parameters if any. Preserve backslash
21759 # newline sequences.
21761 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
21763 s/.\{148\}/&'"$ac_delim"'/g
21766 s/^[ ]*#[ ]*define[ ][ ]*/ /
21773 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21775 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
21779 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
21780 D["\1"]=" \3\\\\\\n"\\/p
21782 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
21787 s/.\{148\}/&'"$ac_delim"'/g
21792 s/["\\]/\\&/g; s/^/"/; s/$/"/p
21795 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
21797 ' <confdefs.h | sed '
21798 s/'"$ac_delim"'/"\\\
21799 "/g' >>$CONFIG_STATUS || ac_write_fail=1
21801 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21802 for (key in D) D_is_set[key] = 1
21805 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
21807 split(line, arg, " ")
21808 if (arg[1] == "#") {
21812 defundef = substr(arg[1], 2)
21815 split(mac1, mac2, "(") #)
21817 prefix = substr(line, 1, index(line, defundef) - 1)
21818 if (D_is_set[macro]) {
21819 # Preserve the white space surrounding the "#".
21820 print prefix "define", macro P[macro] D[macro]
21823 # Replace #undef with comments. This is necessary, for example,
21824 # in the case of _POSIX_SOURCE, which is predefined and required
21825 # on some systems where configure will not decide to define it.
21826 if (defundef == "undef") {
21827 print "/*", prefix defundef, macro, "*/"
21835 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21836 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
21837 fi # test -n "$CONFIG_HEADERS"
21840 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
21845 :[FHLC]) ac_mode=$ac_tag; continue;;
21847 case $ac_mode$ac_tag in
21849 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
21850 :[FH]-) ac_tag=-:-;;
21851 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
21868 -) ac_f="$ac_tmp/stdin";;
21869 *) # Look for the file first in the build tree, then in the source tree
21870 # (if the path is not absolute). The absolute path cannot be DOS-style,
21871 # because $ac_f cannot contain `:'.
21875 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
21877 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
21879 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
21880 as_fn_append ac_file_inputs " '$ac_f'"
21883 # Let's still pretend it is `configure' which instantiates (i.e., don't
21884 # use $as_me), people would be surprised to read:
21885 # /* config.h. Generated by config.status. */
21886 configure_input='Generated from '`
21887 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
21889 if test x"$ac_file" != x-; then
21890 configure_input="$ac_file. $configure_input"
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
21892 $as_echo "$as_me: creating $ac_file" >&6;}
21894 # Neutralize special characters interpreted by sed in replacement strings.
21895 case $configure_input in #(
21896 *\&* | *\|* | *\\* )
21897 ac_sed_conf_input=`$as_echo "$configure_input" |
21898 sed 's/[\\\\&|]/\\\\&/g'`;; #(
21899 *) ac_sed_conf_input=$configure_input;;
21903 *:-:* | *:-) cat >"$ac_tmp/stdin" \
21904 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
21909 ac_dir=`$as_dirname -- "$ac_file" ||
21910 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21911 X"$ac_file" : 'X\(//\)[^/]' \| \
21912 X"$ac_file" : 'X\(//\)$' \| \
21913 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
21914 $as_echo X"$ac_file" |
21915 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21919 /^X\(\/\/\)[^/].*/{
21932 as_dir="$ac_dir"; as_fn_mkdir_p
21936 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
21938 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
21939 # A ".." for each directory in $ac_dir_suffix.
21940 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
21941 case $ac_top_builddir_sub in
21942 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
21943 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
21946 ac_abs_top_builddir=$ac_pwd
21947 ac_abs_builddir=$ac_pwd$ac_dir_suffix
21948 # for backward compatibility:
21949 ac_top_builddir=$ac_top_build_prefix
21952 .) # We are building in place.
21954 ac_top_srcdir=$ac_top_builddir_sub
21955 ac_abs_top_srcdir=$ac_pwd ;;
21956 [\\/]* | ?:[\\/]* ) # Absolute name.
21957 ac_srcdir=$srcdir$ac_dir_suffix;
21958 ac_top_srcdir=$srcdir
21959 ac_abs_top_srcdir=$srcdir ;;
21960 *) # Relative name.
21961 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
21962 ac_top_srcdir=$ac_top_build_prefix$srcdir
21963 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
21965 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
21975 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
21976 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
21978 ac_MKDIR_P=$MKDIR_P
21980 [\\/$]* | ?:[\\/]* ) ;;
21981 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
21985 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21986 # If the template does not know about datarootdir, expand it.
21987 # FIXME: This hack should be removed a few years after 2.60.
21988 ac_datarootdir_hack=; ac_datarootdir_seen=
21999 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22000 *datarootdir*) ac_datarootdir_seen=yes;;
22001 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22003 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22005 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22006 ac_datarootdir_hack='
22007 s&@datadir@&$datadir&g
22008 s&@docdir@&$docdir&g
22009 s&@infodir@&$infodir&g
22010 s&@localedir@&$localedir&g
22011 s&@mandir@&$mandir&g
22012 s&\\\${datarootdir}&$datarootdir&g' ;;
22016 # Neutralize VPATH when `$srcdir' = `.'.
22017 # Shell code in configure.ac might set extrasub.
22018 # FIXME: do we really want to maintain this feature?
22019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22020 ac_sed_extra="$ac_vpsub
22023 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22025 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22026 s|@configure_input@|$ac_sed_conf_input|;t t
22027 s&@top_builddir@&$ac_top_builddir_sub&;t t
22028 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22029 s&@srcdir@&$ac_srcdir&;t t
22030 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22031 s&@top_srcdir@&$ac_top_srcdir&;t t
22032 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22033 s&@builddir@&$ac_builddir&;t t
22034 s&@abs_builddir@&$ac_abs_builddir&;t t
22035 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22036 s&@INSTALL@&$ac_INSTALL&;t t
22037 s&@MKDIR_P@&$ac_MKDIR_P&;t t
22038 $ac_datarootdir_hack
22040 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22041 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22043 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22044 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22045 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22046 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22047 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22048 which seems to be undefined. Please make sure it is defined" >&5
22049 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22050 which seems to be undefined. Please make sure it is defined" >&2;}
22052 rm -f "$ac_tmp/stdin"
22054 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22055 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22057 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22063 if test x"$ac_file" != x-; then
22065 $as_echo "/* $configure_input */" \
22066 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22067 } >"$ac_tmp/config.h" \
22068 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22069 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22070 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22071 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22074 mv "$ac_tmp/config.h" "$ac_file" \
22075 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22078 $as_echo "/* $configure_input */" \
22079 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22080 || as_fn_error $? "could not create -" "$LINENO" 5
22082 # Compute "$ac_file"'s index in $config_headers.
22085 for _am_header in $config_headers :; do
22086 case $_am_header in
22087 $_am_arg | $_am_arg:* )
22090 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
22093 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
22094 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22095 X"$_am_arg" : 'X\(//\)[^/]' \| \
22096 X"$_am_arg" : 'X\(//\)$' \| \
22097 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
22098 $as_echo X"$_am_arg" |
22099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22103 /^X\(\/\/\)[^/].*/{
22115 s/.*/./; q'`/stamp-h$_am_stamp_count
22118 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22119 $as_echo "$as_me: executing $ac_file commands" >&6;}
22124 case $ac_file$ac_mode in
22125 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
22126 # Older Autoconf quotes --file arguments for eval, but not when files
22127 # are listed without --file. Let's play safe and only enable the eval
22128 # if we detect the quoting.
22129 # TODO: see whether this extra hack can be removed once we start
22130 # requiring Autoconf 2.70 or later.
22131 case $CONFIG_FILES in #(
22133 eval set x "$CONFIG_FILES" ;; #(
22135 set x $CONFIG_FILES ;; #(
22140 # Used to flag and report bootstrapping failures.
22144 # Strip MF so we end up with the name of the file.
22145 am_mf=`$as_echo "$am_mf" | sed -e 's/:.*$//'`
22146 # Check whether this is an Automake generated Makefile which includes
22147 # dependency-tracking related rules and includes.
22148 # Grep'ing the whole file directly is not great: AIX grep has a line
22149 # limit of 2048, but all sed's we know have understand at least 4000.
22150 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
22152 am_dirpart=`$as_dirname -- "$am_mf" ||
22153 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22154 X"$am_mf" : 'X\(//\)[^/]' \| \
22155 X"$am_mf" : 'X\(//\)$' \| \
22156 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22157 $as_echo X"$am_mf" |
22158 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22162 /^X\(\/\/\)[^/].*/{
22175 am_filepart=`$as_basename -- "$am_mf" ||
22176 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
22177 X"$am_mf" : 'X\(//\)$' \| \
22178 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
22179 $as_echo X/"$am_mf" |
22180 sed '/^.*\/\([^/][^/]*\)\/*$/{
22193 { echo "$as_me:$LINENO: cd "$am_dirpart" \
22194 && sed -e '/# am--include-marker/d' "$am_filepart" \
22195 | $MAKE -f - am--depfiles" >&5
22196 (cd "$am_dirpart" \
22197 && sed -e '/# am--include-marker/d' "$am_filepart" \
22198 | $MAKE -f - am--depfiles) >&5 2>&5
22200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22201 (exit $ac_status); } || am_rc=$?
22203 if test $am_rc -ne 0; then
22204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
22205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
22206 as_fn_error $? "Something went wrong bootstrapping makefile fragments
22207 for automatic dependency tracking. If GNU make was not used, consider
22208 re-running the configure script with MAKE=\"gmake\" (or whatever is
22209 necessary). You can also try re-running configure with the
22210 '--disable-dependency-tracking' option to at least be able to build
22211 the package (albeit without support for automatic dependency tracking).
22212 See \`config.log' for more details" "$LINENO" 5; }
22214 { am_dirpart=; unset am_dirpart;}
22215 { am_filepart=; unset am_filepart;}
22216 { am_mf=; unset am_mf;}
22217 { am_rc=; unset am_rc;}
22218 rm -f conftest-deps.mk
22223 # See if we are running on zsh, and set the options that allow our
22224 # commands through without removal of \ escapes.
22225 if test -n "${ZSH_VERSION+set}"; then
22226 setopt NO_GLOB_SUBST
22230 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
22233 cat <<_LT_EOF >> "$cfgfile"
22235 # Generated automatically by $as_me ($PACKAGE) $VERSION
22236 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
22238 # Provide generalized library-building support services.
22239 # Written by Gordon Matzigkeit, 1996
22241 # Copyright (C) 2014 Free Software Foundation, Inc.
22242 # This is free software; see the source for copying conditions. There is NO
22243 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
22245 # GNU Libtool is free software; you can redistribute it and/or modify
22246 # it under the terms of the GNU General Public License as published by
22247 # the Free Software Foundation; either version 2 of of the License, or
22248 # (at your option) any later version.
22250 # As a special exception to the GNU General Public License, if you
22251 # distribute this file as part of a program or library that is built
22252 # using GNU Libtool, you may include this file under the same
22253 # distribution terms that you use for the rest of that program.
22255 # GNU Libtool is distributed in the hope that it will be useful, but
22256 # WITHOUT ANY WARRANTY; without even the implied warranty of
22257 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
22258 # GNU General Public License for more details.
22260 # You should have received a copy of the GNU General Public License
22261 # along with this program. If not, see <http://www.gnu.org/licenses/>.
22264 # The names of the tagged configurations supported by this script.
22267 # Configured defaults for sys_lib_dlsearch_path munging.
22268 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
22270 # ### BEGIN LIBTOOL CONFIG
22272 # Whether or not to build static libraries.
22273 build_old_libs=$enable_static
22275 # Which release of libtool.m4 was used?
22276 macro_version=$macro_version
22277 macro_revision=$macro_revision
22279 # Whether or not to build shared libraries.
22280 build_libtool_libs=$enable_shared
22282 # What type of objects to build.
22285 # Whether or not to optimize for fast installation.
22286 fast_install=$enable_fast_install
22288 # Shared archive member basename,for filename based shared library versioning on AIX.
22289 shared_archive_member_spec=$shared_archive_member_spec
22291 # Shell to use when invoking shell scripts.
22294 # An echo program that protects backslashes.
22297 # The PATH separator for the build system.
22298 PATH_SEPARATOR=$lt_PATH_SEPARATOR
22301 host_alias=$host_alias
22305 # The build system.
22306 build_alias=$build_alias
22310 # A sed program that does not truncate output.
22313 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
22314 Xsed="\$SED -e 1s/^X//"
22316 # A grep program that handles long lines.
22322 # A literal string matcher.
22325 # A BSD- or MS-compatible name lister.
22328 # Whether we need soft or hard links.
22331 # What is the maximum length of a command?
22332 max_cmd_len=$max_cmd_len
22334 # Object file suffix (normally "o").
22337 # Executable file suffix (normally "").
22340 # whether the shell understands "unset".
22343 # turn spaces into newlines.
22346 # turn newlines into spaces.
22349 # convert \$build file names to \$host format.
22350 to_host_file_cmd=$lt_cv_to_host_file_cmd
22352 # convert \$build files to toolchain format.
22353 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
22355 # An object symbol dumper.
22356 OBJDUMP=$lt_OBJDUMP
22358 # Method to check whether dependent libraries are shared objects.
22359 deplibs_check_method=$lt_deplibs_check_method
22361 # Command to use when deplibs_check_method = "file_magic".
22362 file_magic_cmd=$lt_file_magic_cmd
22364 # How to find potential files when deplibs_check_method = "file_magic".
22365 file_magic_glob=$lt_file_magic_glob
22367 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
22368 want_nocaseglob=$lt_want_nocaseglob
22370 # DLL creation program.
22371 DLLTOOL=$lt_DLLTOOL
22373 # Command to associate shared and link libraries.
22374 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
22379 # Flags to create an archive.
22380 AR_FLAGS=$lt_AR_FLAGS
22382 # How to feed a file listing to the archiver.
22383 archiver_list_spec=$lt_archiver_list_spec
22385 # A symbol stripping program.
22388 # Commands used to install an old-style archive.
22390 old_postinstall_cmds=$lt_old_postinstall_cmds
22391 old_postuninstall_cmds=$lt_old_postuninstall_cmds
22393 # Whether to use a lock for old archive extraction.
22394 lock_old_archive_extraction=$lock_old_archive_extraction
22399 # LTCC compiler flags.
22400 LTCFLAGS=$lt_CFLAGS
22402 # Take the output of nm and produce a listing of raw symbols and C names.
22403 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
22405 # Transform the output of nm in a proper C declaration.
22406 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
22408 # Transform the output of nm into a list of symbols to manually relocate.
22409 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
22411 # Transform the output of nm in a C name address pair.
22412 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
22414 # Transform the output of nm in a C name address pair when lib prefix is needed.
22415 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
22417 # The name lister interface.
22418 nm_interface=$lt_lt_cv_nm_interface
22420 # Specify filename containing input files for \$NM.
22421 nm_file_list_spec=$lt_nm_file_list_spec
22423 # The root where to search for dependent libraries,and where our libraries should be installed.
22424 lt_sysroot=$lt_sysroot
22426 # Command to truncate a binary pipe.
22427 lt_truncate_bin=$lt_lt_cv_truncate_bin
22429 # The name of the directory that contains temporary libtool files.
22432 # Used to examine libraries when file_magic_cmd begins with "file".
22433 MAGIC_CMD=$MAGIC_CMD
22435 # Must we lock files when doing compilation?
22436 need_locks=$lt_need_locks
22439 MANIFEST_TOOL=$lt_MANIFEST_TOOL
22441 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
22442 DSYMUTIL=$lt_DSYMUTIL
22444 # Tool to change global to local symbols on Mac OS X.
22447 # Tool to manipulate fat objects and archives on Mac OS X.
22450 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
22453 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
22454 OTOOL64=$lt_OTOOL64
22456 # Old archive suffix (normally "a").
22459 # Shared library suffix (normally ".so").
22460 shrext_cmds=$lt_shrext_cmds
22462 # The commands to extract the exported symbol list from a shared archive.
22463 extract_expsyms_cmds=$lt_extract_expsyms_cmds
22465 # Variables whose values should be saved in libtool wrapper scripts and
22466 # restored at link time.
22467 variables_saved_for_relink=$lt_variables_saved_for_relink
22469 # Do we need the "lib" prefix for modules?
22470 need_lib_prefix=$need_lib_prefix
22472 # Do we need a version for libraries?
22473 need_version=$need_version
22475 # Library versioning type.
22476 version_type=$version_type
22478 # Shared library runtime path variable.
22479 runpath_var=$runpath_var
22481 # Shared library path variable.
22482 shlibpath_var=$shlibpath_var
22484 # Is shlibpath searched before the hard-coded library search path?
22485 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
22487 # Format of library name prefix.
22488 libname_spec=$lt_libname_spec
22490 # List of archive names. First name is the real one, the rest are links.
22491 # The last name is the one that the linker finds with -lNAME
22492 library_names_spec=$lt_library_names_spec
22494 # The coded name of the library, if different from the real name.
22495 soname_spec=$lt_soname_spec
22497 # Permission mode override for installation of shared libraries.
22498 install_override_mode=$lt_install_override_mode
22500 # Command to use after installation of a shared archive.
22501 postinstall_cmds=$lt_postinstall_cmds
22503 # Command to use after uninstallation of a shared archive.
22504 postuninstall_cmds=$lt_postuninstall_cmds
22506 # Commands used to finish a libtool library installation in a directory.
22507 finish_cmds=$lt_finish_cmds
22509 # As "finish_cmds", except a single script fragment to be evaled but
22511 finish_eval=$lt_finish_eval
22513 # Whether we should hardcode library paths into libraries.
22514 hardcode_into_libs=$hardcode_into_libs
22516 # Compile-time system search path for libraries.
22517 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
22519 # Detected run-time system search path for libraries.
22520 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
22522 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
22523 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
22525 # Whether dlopen is supported.
22526 dlopen_support=$enable_dlopen
22528 # Whether dlopen of programs is supported.
22529 dlopen_self=$enable_dlopen_self
22531 # Whether dlopen of statically linked programs is supported.
22532 dlopen_self_static=$enable_dlopen_self_static
22534 # Commands to strip libraries.
22535 old_striplib=$lt_old_striplib
22536 striplib=$lt_striplib
22539 # The linker used to build libraries.
22542 # How to create reloadable object files.
22543 reload_flag=$lt_reload_flag
22544 reload_cmds=$lt_reload_cmds
22546 # Commands used to build an old-style archive.
22547 old_archive_cmds=$lt_old_archive_cmds
22549 # A language specific compiler.
22552 # Is the compiler the GNU compiler?
22555 # Compiler flag to turn off builtin functions.
22556 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
22558 # Additional compiler flags for building library objects.
22559 pic_flag=$lt_lt_prog_compiler_pic
22561 # How to pass a linker flag through the compiler.
22562 wl=$lt_lt_prog_compiler_wl
22564 # Compiler flag to prevent dynamic linking.
22565 link_static_flag=$lt_lt_prog_compiler_static
22567 # Does compiler simultaneously support -c and -o options?
22568 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
22570 # Whether or not to add -lc for building shared libraries.
22571 build_libtool_need_lc=$archive_cmds_need_lc
22573 # Whether or not to disallow shared libs when runtime libs are static.
22574 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
22576 # Compiler flag to allow reflexive dlopens.
22577 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
22579 # Compiler flag to generate shared objects directly from archives.
22580 whole_archive_flag_spec=$lt_whole_archive_flag_spec
22582 # Whether the compiler copes with passing no objects directly.
22583 compiler_needs_object=$lt_compiler_needs_object
22585 # Create an old-style archive from a shared archive.
22586 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
22588 # Create a temporary old-style archive to link instead of a shared archive.
22589 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
22591 # Commands used to build a shared archive.
22592 archive_cmds=$lt_archive_cmds
22593 archive_expsym_cmds=$lt_archive_expsym_cmds
22595 # Commands used to build a loadable module if different from building
22596 # a shared archive.
22597 module_cmds=$lt_module_cmds
22598 module_expsym_cmds=$lt_module_expsym_cmds
22600 # Whether we are building with GNU ld or not.
22601 with_gnu_ld=$lt_with_gnu_ld
22603 # Flag that allows shared libraries with undefined symbols to be built.
22604 allow_undefined_flag=$lt_allow_undefined_flag
22606 # Flag that enforces no undefined symbols.
22607 no_undefined_flag=$lt_no_undefined_flag
22609 # Flag to hardcode \$libdir into a binary during linking.
22610 # This must work even if \$libdir does not exist
22611 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
22613 # Whether we need a single "-rpath" flag with a separated argument.
22614 hardcode_libdir_separator=$lt_hardcode_libdir_separator
22616 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22617 # DIR into the resulting binary.
22618 hardcode_direct=$hardcode_direct
22620 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
22621 # DIR into the resulting binary and the resulting library dependency is
22622 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
22623 # library is relocated.
22624 hardcode_direct_absolute=$hardcode_direct_absolute
22626 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
22627 # into the resulting binary.
22628 hardcode_minus_L=$hardcode_minus_L
22630 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
22631 # into the resulting binary.
22632 hardcode_shlibpath_var=$hardcode_shlibpath_var
22634 # Set to "yes" if building a shared library automatically hardcodes DIR
22635 # into the library and all subsequent libraries and executables linked
22637 hardcode_automatic=$hardcode_automatic
22639 # Set to yes if linker adds runtime paths of dependent libraries
22640 # to runtime path list.
22641 inherit_rpath=$inherit_rpath
22643 # Whether libtool must link a program against all its dependency libraries.
22644 link_all_deplibs=$link_all_deplibs
22646 # Set to "yes" if exported symbols are required.
22647 always_export_symbols=$always_export_symbols
22649 # The commands to list exported symbols.
22650 export_symbols_cmds=$lt_export_symbols_cmds
22652 # Symbols that should not be listed in the preloaded symbols.
22653 exclude_expsyms=$lt_exclude_expsyms
22655 # Symbols that must always be exported.
22656 include_expsyms=$lt_include_expsyms
22658 # Commands necessary for linking programs (against libraries) with templates.
22659 prelink_cmds=$lt_prelink_cmds
22661 # Commands necessary for finishing linking programs.
22662 postlink_cmds=$lt_postlink_cmds
22664 # Specify filename containing input files.
22665 file_list_spec=$lt_file_list_spec
22667 # How to hardcode a shared library path into an executable.
22668 hardcode_action=$hardcode_action
22670 # ### END LIBTOOL CONFIG
22674 cat <<'_LT_EOF' >> "$cfgfile"
22676 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
22678 # func_munge_path_list VARIABLE PATH
22679 # -----------------------------------
22680 # VARIABLE is name of variable containing _space_ separated list of
22681 # directories to be munged by the contents of PATH, which is string
22684 # string "DIR[ DIR]" will be prepended to VARIABLE
22686 # string "DIR[ DIR]" will be appended to VARIABLE
22687 # "DIRP[:DIRP]::[DIRA:]DIRA"
22688 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
22689 # "DIRA[ DIRA]" will be appended to VARIABLE
22691 # VARIABLE will be replaced by "DIR[ DIR]"
22692 func_munge_path_list ()
22698 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
22701 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
22704 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
22705 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
22708 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
22714 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
22715 func_cc_basename ()
22717 for cc_temp in $*""; do
22719 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
22720 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
22725 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
22729 # ### END FUNCTIONS SHARED WITH CONFIGURE
22735 cat <<\_LT_EOF >> "$cfgfile"
22736 # AIX sometimes has problems with the GCC collect2 program. For some
22737 # reason, if we set the COLLECT_NAMES environment variable, the problems
22738 # vanish in a puff of smoke.
22739 if test set != "${COLLECT_NAMES+set}"; then
22741 export COLLECT_NAMES
22748 ltmain=$ac_aux_dir/ltmain.sh
22751 # We use sed instead of cat because bash on DJGPP gets confused if
22752 # if finds mixed CR/LF and LF-only lines. Since sed operates in
22753 # text mode, it properly converts lines to CR/LF. This bash problem
22754 # is reportedly fixed, but why not run on old versions too?
22755 sed '$q' "$ltmain" >> "$cfgfile" \
22756 || (rm -f "$cfgfile"; exit 1)
22758 mv -f "$cfgfile" "$ofile" ||
22759 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
22770 ac_clean_files=$ac_clean_files_save
22772 test $ac_write_fail = 0 ||
22773 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22776 # configure is writing to config.log, and then calls config.status.
22777 # config.status does its own redirection, appending to config.log.
22778 # Unfortunately, on DOS this fails, as config.log is still kept open
22779 # by configure, so config.status won't be able to write to it; its
22780 # output is simply discarded. So we exec the FD to /dev/null,
22781 # effectively closing config.log, so it can be properly (re)opened and
22782 # appended to by config.status. When coming back to configure, we
22783 # need to make the FD available again.
22784 if test "$no_create" != yes; then
22786 ac_config_status_args=
22787 test "$silent" = yes &&
22788 ac_config_status_args="$ac_config_status_args --quiet"
22790 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22792 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22793 # would make configure fail if this is the last instruction.
22794 $ac_cs_success || as_fn_exit 1
22796 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22798 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}