2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for subversion 1.10.0.
5 # Report bugs to <http://subversion.apache.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
278 $0: http://subversion.apache.org/ about your system,
279 $0: including any error possibly output before this
280 $0: message. Then install a modern shell, or manually run
281 $0: the script under such a shell if you do have one."
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='subversion'
592 PACKAGE_TARNAME='subversion'
593 PACKAGE_VERSION='1.10.0'
594 PACKAGE_STRING='subversion 1.10.0'
595 PACKAGE_BUGREPORT='http://subversion.apache.org/'
598 ac_unique_file="subversion/include/svn_types.h"
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='LTLIBOBJS
636 SVN_CONFIG_SCRIPT_FILES
638 JAVAHL_COMPAT_TESTS_TARGET
644 INSTALL_EXTRA_JAVAHL_LIB
646 SVN_FS_LIB_INSTALL_DEPS
649 SVN_RA_LIB_INSTALL_DEPS
657 SWIG_RB_SITE_ARCH_DIR
688 SVN_UTF8PROC_INCLUDES
697 libsvn_ra_svn_LDFLAGS
698 libsvn_ra_serf_LDFLAGS
699 libsvn_ra_local_LDFLAGS
701 libsvn_fs_util_LDFLAGS
703 libsvn_fs_base_LDFLAGS
707 libsvn_client_LDFLAGS
728 SVN_GNOME_KEYRING_LIBS
729 SVN_GNOME_KEYRING_INCLUDES
740 TRANSFORM_LIBTOOL_SCRIPTS
775 SVN_APR_MEMCACHE_LIBS
776 SVN_APR_MEMCACHE_INCLUDES
781 SVN_APR_MAJOR_VERSION
785 SVN_APR_SHLIB_PATH_VAR
859 program_transform_name
872 enable_option_checking
877 enable_apache_whitelist
879 with_apache_libexecdir
880 enable_broken_httpd_auth
882 enable_sqlite_compatibility_version
891 enable_experimental_libtool
893 enable_local_library_preloading
902 with_old_gnome_keyring
909 enable_plaintext_password_storage
912 enable_disallowing_of_undefined_references
913 enable_maintainer_mode
914 enable_full_version_match
919 enable_mod_activation
926 with_ruby_test_verbose
928 enable_runtime_module_search
932 ac_precious_vars='build_alias
952 # Initialize some variables set by options.
954 ac_init_version=false
955 ac_unrecognized_opts=
957 # The variables have the same names as the options, with
958 # dashes changed to underlines.
966 program_transform_name=s,x,x,
974 # Installation directory options.
975 # These are left unexpanded so users can "make install exec_prefix=/foo"
976 # and all the variables that are supposed to be based on exec_prefix
977 # by default will actually change.
978 # Use braces instead of parens because sh, perl, etc. also accept them.
979 # (The list follows the same order as the GNU Coding Standards.)
980 bindir='${exec_prefix}/bin'
981 sbindir='${exec_prefix}/sbin'
982 libexecdir='${exec_prefix}/libexec'
983 datarootdir='${prefix}/share'
984 datadir='${datarootdir}'
985 sysconfdir='${prefix}/etc'
986 sharedstatedir='${prefix}/com'
987 localstatedir='${prefix}/var'
988 includedir='${prefix}/include'
989 oldincludedir='/usr/include'
990 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
991 infodir='${datarootdir}/info'
996 libdir='${exec_prefix}/lib'
997 localedir='${datarootdir}/locale'
998 mandir='${datarootdir}/man'
1004 # If the previous option needs an argument, assign it.
1005 if test -n "$ac_prev"; then
1006 eval $ac_prev=\$ac_option
1012 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1017 # Accept the important Cygnus configure options, so we can diagnose typos.
1019 case $ac_dashdash$ac_option in
1023 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1025 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1026 bindir=$ac_optarg ;;
1028 -build | --build | --buil | --bui | --bu)
1029 ac_prev=build_alias ;;
1030 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1031 build_alias=$ac_optarg ;;
1033 -cache-file | --cache-file | --cache-fil | --cache-fi \
1034 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1035 ac_prev=cache_file ;;
1036 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1037 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1038 cache_file=$ac_optarg ;;
1040 --config-cache | -C)
1041 cache_file=config.cache ;;
1043 -datadir | --datadir | --datadi | --datad)
1045 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1046 datadir=$ac_optarg ;;
1048 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1049 | --dataroo | --dataro | --datar)
1050 ac_prev=datarootdir ;;
1051 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1052 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1053 datarootdir=$ac_optarg ;;
1055 -disable-* | --disable-*)
1056 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1057 # Reject names that are not valid shell variable names.
1058 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1059 as_fn_error $? "invalid feature name: $ac_useropt"
1060 ac_useropt_orig=$ac_useropt
1061 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1062 case $ac_user_opts in
1064 "enable_$ac_useropt"
1066 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1067 ac_unrecognized_sep=', ';;
1069 eval enable_$ac_useropt=no ;;
1071 -docdir | --docdir | --docdi | --doc | --do)
1073 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1074 docdir=$ac_optarg ;;
1076 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1078 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1079 dvidir=$ac_optarg ;;
1081 -enable-* | --enable-*)
1082 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1085 as_fn_error $? "invalid feature name: $ac_useropt"
1086 ac_useropt_orig=$ac_useropt
1087 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1088 case $ac_user_opts in
1090 "enable_$ac_useropt"
1092 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1093 ac_unrecognized_sep=', ';;
1095 eval enable_$ac_useropt=\$ac_optarg ;;
1097 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1098 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1099 | --exec | --exe | --ex)
1100 ac_prev=exec_prefix ;;
1101 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1102 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1103 | --exec=* | --exe=* | --ex=*)
1104 exec_prefix=$ac_optarg ;;
1106 -gas | --gas | --ga | --g)
1107 # Obsolete; use --with-gas.
1110 -help | --help | --hel | --he | -h)
1111 ac_init_help=long ;;
1112 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1113 ac_init_help=recursive ;;
1114 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1115 ac_init_help=short ;;
1117 -host | --host | --hos | --ho)
1118 ac_prev=host_alias ;;
1119 -host=* | --host=* | --hos=* | --ho=*)
1120 host_alias=$ac_optarg ;;
1122 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1124 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1126 htmldir=$ac_optarg ;;
1128 -includedir | --includedir | --includedi | --included | --include \
1129 | --includ | --inclu | --incl | --inc)
1130 ac_prev=includedir ;;
1131 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1132 | --includ=* | --inclu=* | --incl=* | --inc=*)
1133 includedir=$ac_optarg ;;
1135 -infodir | --infodir | --infodi | --infod | --info | --inf)
1137 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1138 infodir=$ac_optarg ;;
1140 -libdir | --libdir | --libdi | --libd)
1142 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1143 libdir=$ac_optarg ;;
1145 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1146 | --libexe | --libex | --libe)
1147 ac_prev=libexecdir ;;
1148 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1149 | --libexe=* | --libex=* | --libe=*)
1150 libexecdir=$ac_optarg ;;
1152 -localedir | --localedir | --localedi | --localed | --locale)
1153 ac_prev=localedir ;;
1154 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1155 localedir=$ac_optarg ;;
1157 -localstatedir | --localstatedir | --localstatedi | --localstated \
1158 | --localstate | --localstat | --localsta | --localst | --locals)
1159 ac_prev=localstatedir ;;
1160 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1161 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1162 localstatedir=$ac_optarg ;;
1164 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1166 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1167 mandir=$ac_optarg ;;
1169 -nfp | --nfp | --nf)
1170 # Obsolete; use --without-fp.
1173 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1174 | --no-cr | --no-c | -n)
1177 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1178 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1181 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1182 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1183 | --oldin | --oldi | --old | --ol | --o)
1184 ac_prev=oldincludedir ;;
1185 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1186 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1187 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1188 oldincludedir=$ac_optarg ;;
1190 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1192 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1193 prefix=$ac_optarg ;;
1195 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1196 | --program-pre | --program-pr | --program-p)
1197 ac_prev=program_prefix ;;
1198 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1199 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1200 program_prefix=$ac_optarg ;;
1202 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1203 | --program-suf | --program-su | --program-s)
1204 ac_prev=program_suffix ;;
1205 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1206 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1207 program_suffix=$ac_optarg ;;
1209 -program-transform-name | --program-transform-name \
1210 | --program-transform-nam | --program-transform-na \
1211 | --program-transform-n | --program-transform- \
1212 | --program-transform | --program-transfor \
1213 | --program-transfo | --program-transf \
1214 | --program-trans | --program-tran \
1215 | --progr-tra | --program-tr | --program-t)
1216 ac_prev=program_transform_name ;;
1217 -program-transform-name=* | --program-transform-name=* \
1218 | --program-transform-nam=* | --program-transform-na=* \
1219 | --program-transform-n=* | --program-transform-=* \
1220 | --program-transform=* | --program-transfor=* \
1221 | --program-transfo=* | --program-transf=* \
1222 | --program-trans=* | --program-tran=* \
1223 | --progr-tra=* | --program-tr=* | --program-t=*)
1224 program_transform_name=$ac_optarg ;;
1226 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1228 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1229 pdfdir=$ac_optarg ;;
1231 -psdir | --psdir | --psdi | --psd | --ps)
1233 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1236 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1237 | -silent | --silent | --silen | --sile | --sil)
1240 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1242 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1244 sbindir=$ac_optarg ;;
1246 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1247 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1248 | --sharedst | --shareds | --shared | --share | --shar \
1250 ac_prev=sharedstatedir ;;
1251 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1252 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1253 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1255 sharedstatedir=$ac_optarg ;;
1257 -site | --site | --sit)
1259 -site=* | --site=* | --sit=*)
1262 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1264 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1265 srcdir=$ac_optarg ;;
1267 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1268 | --syscon | --sysco | --sysc | --sys | --sy)
1269 ac_prev=sysconfdir ;;
1270 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1271 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1272 sysconfdir=$ac_optarg ;;
1274 -target | --target | --targe | --targ | --tar | --ta | --t)
1275 ac_prev=target_alias ;;
1276 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1277 target_alias=$ac_optarg ;;
1279 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1282 -version | --version | --versio | --versi | --vers | -V)
1283 ac_init_version=: ;;
1286 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1287 # Reject names that are not valid shell variable names.
1288 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1289 as_fn_error $? "invalid package name: $ac_useropt"
1290 ac_useropt_orig=$ac_useropt
1291 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1292 case $ac_user_opts in
1296 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1297 ac_unrecognized_sep=', ';;
1299 eval with_$ac_useropt=\$ac_optarg ;;
1301 -without-* | --without-*)
1302 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1303 # Reject names that are not valid shell variable names.
1304 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1305 as_fn_error $? "invalid package name: $ac_useropt"
1306 ac_useropt_orig=$ac_useropt
1307 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1308 case $ac_user_opts in
1312 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1313 ac_unrecognized_sep=', ';;
1315 eval with_$ac_useropt=no ;;
1318 # Obsolete; use --with-x.
1321 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1322 | --x-incl | --x-inc | --x-in | --x-i)
1323 ac_prev=x_includes ;;
1324 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1325 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1326 x_includes=$ac_optarg ;;
1328 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1329 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1330 ac_prev=x_libraries ;;
1331 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1332 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1333 x_libraries=$ac_optarg ;;
1335 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1336 Try \`$0 --help' for more information"
1340 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1341 # Reject names that are not valid shell variable names.
1342 case $ac_envvar in #(
1343 '' | [0-9]* | *[!_$as_cr_alnum]* )
1344 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1346 eval $ac_envvar=\$ac_optarg
1347 export $ac_envvar ;;
1350 # FIXME: should be removed in autoconf 3.0.
1351 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1352 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1353 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1354 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1360 if test -n "$ac_prev"; then
1361 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1362 as_fn_error $? "missing argument to $ac_option"
1365 if test -n "$ac_unrecognized_opts"; then
1366 case $enable_option_checking in
1368 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1369 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1373 # Check all directory arguments for consistency.
1374 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1375 datadir sysconfdir sharedstatedir localstatedir includedir \
1376 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1377 libdir localedir mandir
1379 eval ac_val=\$$ac_var
1380 # Remove trailing slashes.
1383 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1384 eval $ac_var=\$ac_val;;
1386 # Be sure to have absolute directory names.
1388 [\\/$]* | ?:[\\/]* ) continue;;
1389 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1391 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1394 # There might be people who depend on the old broken behavior: `$host'
1395 # used to hold the argument of --host etc.
1396 # FIXME: To remove some day.
1399 target=$target_alias
1401 # FIXME: To remove some day.
1402 if test "x$host_alias" != x; then
1403 if test "x$build_alias" = x; then
1404 cross_compiling=maybe
1405 elif test "x$build_alias" != "x$host_alias"; then
1411 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1413 test "$silent" = yes && exec 6>/dev/null
1416 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1417 ac_ls_di=`ls -di .` &&
1418 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1419 as_fn_error $? "working directory cannot be determined"
1420 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1421 as_fn_error $? "pwd does not report name of working directory"
1424 # Find the source files, if location was not specified.
1425 if test -z "$srcdir"; then
1426 ac_srcdir_defaulted=yes
1427 # Try the directory containing this script, then the parent directory.
1428 ac_confdir=`$as_dirname -- "$as_myself" ||
1429 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1430 X"$as_myself" : 'X\(//\)[^/]' \| \
1431 X"$as_myself" : 'X\(//\)$' \| \
1432 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1433 $as_echo X"$as_myself" |
1434 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1452 if test ! -r "$srcdir/$ac_unique_file"; then
1456 ac_srcdir_defaulted=no
1458 if test ! -r "$srcdir/$ac_unique_file"; then
1459 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1460 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1462 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1464 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1466 # When building in place, set srcdir=.
1467 if test "$ac_abs_confdir" = "$ac_pwd"; then
1470 # Remove unnecessary trailing slashes from srcdir.
1471 # Double slashes in file names in object file debugging info
1472 # mess up M-x gdb in Emacs.
1474 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1476 for ac_var in $ac_precious_vars; do
1477 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1478 eval ac_env_${ac_var}_value=\$${ac_var}
1479 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1480 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1484 # Report the --help message.
1486 if test "$ac_init_help" = "long"; then
1487 # Omit some internal or obsolete options to make the list less imposing.
1488 # This message is too long to be a string in the A/UX 3.1 sh.
1490 \`configure' configures subversion 1.10.0 to adapt to many kinds of systems.
1492 Usage: $0 [OPTION]... [VAR=VALUE]...
1494 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1495 VAR=VALUE. See below for descriptions of some of the useful variables.
1497 Defaults for the options are specified in brackets.
1500 -h, --help display this help and exit
1501 --help=short display options specific to this package
1502 --help=recursive display the short help of all the included packages
1503 -V, --version display version information and exit
1504 -q, --quiet, --silent do not print \`checking ...' messages
1505 --cache-file=FILE cache test results in FILE [disabled]
1506 -C, --config-cache alias for \`--cache-file=config.cache'
1507 -n, --no-create do not create output files
1508 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1510 Installation directories:
1511 --prefix=PREFIX install architecture-independent files in PREFIX
1512 [$ac_default_prefix]
1513 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1516 By default, \`make install' will install all the files in
1517 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1518 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1519 for instance \`--prefix=\$HOME'.
1521 For better control, use the options below.
1523 Fine tuning of the installation directories:
1524 --bindir=DIR user executables [EPREFIX/bin]
1525 --sbindir=DIR system admin executables [EPREFIX/sbin]
1526 --libexecdir=DIR program executables [EPREFIX/libexec]
1527 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1528 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1529 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1530 --libdir=DIR object code libraries [EPREFIX/lib]
1531 --includedir=DIR C header files [PREFIX/include]
1532 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1533 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1534 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1535 --infodir=DIR info documentation [DATAROOTDIR/info]
1536 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1537 --mandir=DIR man documentation [DATAROOTDIR/man]
1538 --docdir=DIR documentation root [DATAROOTDIR/doc/subversion]
1539 --htmldir=DIR html documentation [DOCDIR]
1540 --dvidir=DIR dvi documentation [DOCDIR]
1541 --pdfdir=DIR pdf documentation [DOCDIR]
1542 --psdir=DIR ps documentation [DOCDIR]
1548 --build=BUILD configure for building on BUILD [guessed]
1549 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1550 --target=TARGET configure for building compilers for TARGET [HOST]
1554 if test -n "$ac_init_help"; then
1555 case $ac_init_help in
1556 short | recursive ) echo "Configuration of subversion 1.10.0:";;
1561 --disable-option-checking ignore unrecognized --enable/--with options
1562 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1563 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1564 --enable-apache-whitelist=VER
1565 Whitelist a particular Apache version number,
1566 typically used to enable the use of a old version
1567 patched by a distribution.
1568 --enable-broken-httpd-auth
1569 Force build against httpd 2.4 with broken auth.
1570 (This is not recommended as Subversion will be
1571 vulnerable to CVE-2015-3184.)
1572 --enable-sqlite-compatibility-version=X.Y.Z
1573 Allow binary to run against SQLite as old as ARG
1574 --enable-shared[=PKGS] build shared libraries [default=yes]
1575 --enable-static[=PKGS] build static libraries [default=yes]
1576 --enable-fast-install[=PKGS]
1577 optimize for fast installation [default=yes]
1578 --disable-libtool-lock avoid locking (might break parallel builds)
1579 --enable-experimental-libtool
1581 --enable-static Build static libraries
1582 --enable-shared Build shared libraries
1583 --enable-all-static Build completely static (standalone) binaries.
1584 --enable-local-library-preloading
1585 Enable preloading of locally built libraries in
1586 locally built executables. This may be necessary for
1587 testing prior to installation on some platforms. It
1588 does not work on some platforms (Darwin, OpenBSD,
1590 --enable-bdb6 Allow building against BDB 6+. See
1591 --with-berkeley-db for specifying the location of
1592 the Berkeley DB installation. Using BDB 6 will fail
1593 if this option is not used.
1594 --disable-keychain Disable use of Mac OS KeyChain for auth credentials
1595 --disable-googlemock Do not use the Googlemock testing framework
1596 --enable-ev2-impl Use Ev2 implementations, where available
1598 --disable-nls Disable gettext functionality
1599 --disable-plaintext-password-storage
1600 Disable on-disk caching of plaintext passwords and
1601 passphrases. (Leaving this functionality enabled
1602 will not force Subversion to store passwords in
1603 plaintext, but does permit users to explicitly allow
1604 that behavior via runtime configuration.)
1605 --enable-debug Turn on debugging
1606 --enable-optimize Turn on optimizations
1607 --enable-disallowing-of-undefined-references
1608 Use -Wl,--no-undefined flag during linking of some
1609 libraries to disallow undefined references
1610 --enable-maintainer-mode
1611 Turn on debugging and very strict compile-time
1613 --disable-full-version-match
1614 Disable the full version match rules when checking
1615 Subversion library compatibility.
1616 --enable-mod-activation Enable mod_dav_svn in httpd.conf
1617 --enable-gcov Turn on gcov coverage testing (GCC only).
1618 --enable-gprof Produce gprof profiling data in 'gmon.out' (GCC
1620 --enable-runtime-module-search
1621 Turn on dynamic loading of RA/FS libraries including
1622 third-party FS libraries
1623 --enable-javahl Enable compilation of Java high-level bindings
1627 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1628 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1629 --with-apr=PATH prefix for installed APR or the full path to
1631 --with-apr-util=PATH prefix for installed APU or the full path to
1633 --with-serf=PREFIX Serf HTTP client library (enabled by default if
1635 --with-apr_memcache=PREFIX
1636 Standalone apr_memcache client library
1637 --with-apxs[=FILE] Build shared Apache modules. FILE is the optional
1638 pathname to the Apache apxs tool; defaults to
1640 --with-apache-libexecdir[=PATH]
1641 Install Apache modules to Apache's configured
1642 modules directory instead of LIBEXECDIR; if PATH is
1643 given, install to PATH.
1644 --with-sqlite=PREFIX Use installed SQLite library or amalgamation file.
1645 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1647 --with-aix-soname=aix|svr4|both
1648 shared library versioning (aka "SONAME") variant to
1649 provide on AIX, [default=aix].
1650 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1651 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1652 compiler's sysroot if not specified).
1653 --with-trang=PATH Specify the command to run the trang schema
1655 --with-doxygen=PATH Specify the command to run doxygen
1656 --with-expat=INCLUDES:LIB_SEARCH_DIRS:LIBS
1657 Specify location of Expat
1658 --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]
1659 The Subversion Berkeley DB based filesystem library
1660 requires Berkeley DB $db_version or $db_alt_version.
1661 If you specify `--without-berkeley-db', that library
1662 will not be built. If you omit the argument of this
1663 option completely, the configure script will use
1664 Berkeley DB used by APR-UTIL.
1665 --with-sasl=PATH Compile with libsasl2 in PATH
1666 --without-gpg-agent Disable support for GPG-Agent
1667 --with-old-gnome-keyring
1668 Enable old GNOME Keyring for auth credentials
1669 (prefer --with-gnome-keyring)
1670 --with-gnome-keyring Enable GNOME Keyring for auth credentials (enabled
1671 by default if found)
1672 --with-libmagic=PREFIX libmagic filetype detection library
1673 --with-kwallet[=PATH|INCDIR:LIBDIR]
1674 Enable use of KWallet (KDE 5 or 4) for auth
1675 credentials. PATH is the KDE install path,
1676 alternatively INCDIR:LIBDIR are the header and
1677 library install paths.
1678 --with-editor=PATH Specify a default editor for the subversion client.
1679 --with-zlib=PREFIX zlib compression library
1680 --with-lz4=PREFIX|internal
1681 look for lz4 in PREFIX or use the internal code
1682 --with-utf8proc=PREFIX|internal
1683 look for utf8proc in PREFIX or use the internal code
1684 --with-jdk=PATH Try to use 'PATH/include' to find the JNI headers.
1685 If PATH is not specified, look for a Java
1686 Development Kit at JAVA_HOME.
1687 --with-jikes=PATH Deprecated. Provided for backward compatibility.
1688 --with-swig=PATH Try to use 'PATH/bin/swig' to build the swig
1689 bindings. If PATH is not specified, look for a
1690 'swig' binary in your PATH.
1691 --with-ruby-sitedir=SITEDIR
1692 install Ruby bindings in SITEDIR (default is same as
1694 --with-ruby-test-verbose=LEVEL
1695 how to use output level for Ruby bindings tests
1697 --with-ctypesgen=PATH Specify the path to ctypesgen. This can either be
1698 the full path to a ctypesgen installation, the full
1699 path to a ctypesgen source tree or the full path to
1701 --with-junit=PATH Specify a path to the junit JAR file.
1703 Some influential environment variables:
1704 CC C compiler command
1705 CFLAGS C compiler flags
1706 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1707 nonstandard directory <lib dir>
1708 LIBS libraries to pass to the linker, e.g. -l<library>
1709 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1710 you have headers in a nonstandard directory <include dir>
1711 CXX C++ compiler command
1712 CXXFLAGS C++ compiler flags
1715 User-defined run-time library search path.
1716 CXXCPP C++ preprocessor
1718 SWIG feature flags common to all bindings
1720 SWIG feature flags specific to Ruby bindings
1722 SWIG feature flags specific to Perl bindings
1724 SWIG feature flags specific to Python bindings
1726 Use these variables to override the choices made by `configure' or to help
1727 it to find libraries and programs with nonstandard names/locations.
1729 Report bugs to <http://subversion.apache.org/>.
1734 if test "$ac_init_help" = "recursive"; then
1735 # If there are subdirs, report their specific --help.
1736 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1737 test -d "$ac_dir" ||
1738 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1743 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1745 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1746 # A ".." for each directory in $ac_dir_suffix.
1747 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1748 case $ac_top_builddir_sub in
1749 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1750 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1753 ac_abs_top_builddir=$ac_pwd
1754 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1755 # for backward compatibility:
1756 ac_top_builddir=$ac_top_build_prefix
1759 .) # We are building in place.
1761 ac_top_srcdir=$ac_top_builddir_sub
1762 ac_abs_top_srcdir=$ac_pwd ;;
1763 [\\/]* | ?:[\\/]* ) # Absolute name.
1764 ac_srcdir=$srcdir$ac_dir_suffix;
1765 ac_top_srcdir=$srcdir
1766 ac_abs_top_srcdir=$srcdir ;;
1768 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1769 ac_top_srcdir=$ac_top_build_prefix$srcdir
1770 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1772 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1774 cd "$ac_dir" || { ac_status=$?; continue; }
1775 # Check for guested configure.
1776 if test -f "$ac_srcdir/configure.gnu"; then
1778 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1779 elif test -f "$ac_srcdir/configure"; then
1781 $SHELL "$ac_srcdir/configure" --help=recursive
1783 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1785 cd "$ac_pwd" || { ac_status=$?; break; }
1789 test -n "$ac_init_help" && exit $ac_status
1790 if $ac_init_version; then
1792 subversion configure 1.10.0
1793 generated by GNU Autoconf 2.69
1795 Copyright (C) 2012 Free Software Foundation, Inc.
1796 This configure script is free software; the Free Software Foundation
1797 gives unlimited permission to copy, distribute and modify it.
1802 ## ------------------------ ##
1803 ## Autoconf initialization. ##
1804 ## ------------------------ ##
1806 # ac_fn_c_try_compile LINENO
1807 # --------------------------
1808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1809 ac_fn_c_try_compile ()
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 rm -f conftest.$ac_objext
1813 if { { ac_try="$ac_compile"
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_compile") 2>conftest.err
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_c_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest.$ac_objext; then :
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1842 } # ac_fn_c_try_compile
1844 # ac_fn_c_try_link LINENO
1845 # -----------------------
1846 # Try to link conftest.$ac_ext, and return whether this succeeded.
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 rm -f conftest.$ac_objext conftest$ac_exeext
1851 if { { ac_try="$ac_link"
1853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1854 *) ac_try_echo=$ac_try;;
1856 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1857 $as_echo "$ac_try_echo"; } >&5
1858 (eval "$ac_link") 2>conftest.err
1860 if test -s conftest.err; then
1861 grep -v '^ *+' conftest.err >conftest.er1
1862 cat conftest.er1 >&5
1863 mv -f conftest.er1 conftest.err
1865 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1866 test $ac_status = 0; } && {
1867 test -z "$ac_c_werror_flag" ||
1868 test ! -s conftest.err
1869 } && test -s conftest$ac_exeext && {
1870 test "$cross_compiling" = yes ||
1871 test -x conftest$ac_exeext
1875 $as_echo "$as_me: failed program was:" >&5
1876 sed 's/^/| /' conftest.$ac_ext >&5
1880 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1881 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1882 # interfere with the next link command; also delete a directory that is
1883 # left behind by Apple's compiler. We do this before executing the actions.
1884 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 as_fn_set_status $ac_retval
1888 } # ac_fn_c_try_link
1890 # ac_fn_cxx_try_compile LINENO
1891 # ----------------------------
1892 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_cxx_try_compile ()
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 rm -f conftest.$ac_objext
1897 if { { ac_try="$ac_compile"
1899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1900 *) ac_try_echo=$ac_try;;
1902 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1903 $as_echo "$ac_try_echo"; } >&5
1904 (eval "$ac_compile") 2>conftest.err
1906 if test -s conftest.err; then
1907 grep -v '^ *+' conftest.err >conftest.er1
1908 cat conftest.er1 >&5
1909 mv -f conftest.er1 conftest.err
1911 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1912 test $ac_status = 0; } && {
1913 test -z "$ac_cxx_werror_flag" ||
1914 test ! -s conftest.err
1915 } && test -s conftest.$ac_objext; then :
1918 $as_echo "$as_me: failed program was:" >&5
1919 sed 's/^/| /' conftest.$ac_ext >&5
1923 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1924 as_fn_set_status $ac_retval
1926 } # ac_fn_cxx_try_compile
1928 # ac_fn_cxx_try_link LINENO
1929 # -------------------------
1930 # Try to link conftest.$ac_ext, and return whether this succeeded.
1931 ac_fn_cxx_try_link ()
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 rm -f conftest.$ac_objext conftest$ac_exeext
1935 if { { ac_try="$ac_link"
1937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1938 *) ac_try_echo=$ac_try;;
1940 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1941 $as_echo "$ac_try_echo"; } >&5
1942 (eval "$ac_link") 2>conftest.err
1944 if test -s conftest.err; then
1945 grep -v '^ *+' conftest.err >conftest.er1
1946 cat conftest.er1 >&5
1947 mv -f conftest.er1 conftest.err
1949 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1950 test $ac_status = 0; } && {
1951 test -z "$ac_cxx_werror_flag" ||
1952 test ! -s conftest.err
1953 } && test -s conftest$ac_exeext && {
1954 test "$cross_compiling" = yes ||
1955 test -x conftest$ac_exeext
1959 $as_echo "$as_me: failed program was:" >&5
1960 sed 's/^/| /' conftest.$ac_ext >&5
1964 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1965 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1966 # interfere with the next link command; also delete a directory that is
1967 # left behind by Apple's compiler. We do this before executing the actions.
1968 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1970 as_fn_set_status $ac_retval
1972 } # ac_fn_cxx_try_link
1974 # ac_fn_c_try_cpp LINENO
1975 # ----------------------
1976 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1980 if { { ac_try="$ac_cpp conftest.$ac_ext"
1982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1983 *) ac_try_echo=$ac_try;;
1985 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1986 $as_echo "$ac_try_echo"; } >&5
1987 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1989 if test -s conftest.err; then
1990 grep -v '^ *+' conftest.err >conftest.er1
1991 cat conftest.er1 >&5
1992 mv -f conftest.er1 conftest.err
1994 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1995 test $ac_status = 0; } > conftest.i && {
1996 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1997 test ! -s conftest.err
2001 $as_echo "$as_me: failed program was:" >&5
2002 sed 's/^/| /' conftest.$ac_ext >&5
2006 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007 as_fn_set_status $ac_retval
2011 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2012 # -------------------------------------------------------
2013 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2014 # the include files in INCLUDES and setting the cache variable VAR
2016 ac_fn_c_check_header_mongrel ()
2018 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2019 if eval \${$3+:} false; then :
2020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2021 $as_echo_n "checking for $2... " >&6; }
2022 if eval \${$3+:} false; then :
2023 $as_echo_n "(cached) " >&6
2026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2027 $as_echo "$ac_res" >&6; }
2029 # Is the header compilable?
2030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2031 $as_echo_n "checking $2 usability... " >&6; }
2032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2033 /* end confdefs.h. */
2037 if ac_fn_c_try_compile "$LINENO"; then :
2038 ac_header_compiler=yes
2040 ac_header_compiler=no
2042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2044 $as_echo "$ac_header_compiler" >&6; }
2046 # Is the header present?
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2048 $as_echo_n "checking $2 presence... " >&6; }
2049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2050 /* end confdefs.h. */
2053 if ac_fn_c_try_cpp "$LINENO"; then :
2054 ac_header_preproc=yes
2056 ac_header_preproc=no
2058 rm -f conftest.err conftest.i conftest.$ac_ext
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2060 $as_echo "$ac_header_preproc" >&6; }
2062 # So? What about this header?
2063 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2066 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2068 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2072 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2074 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2076 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2077 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2078 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2080 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2081 ( $as_echo "## -------------------------------------------- ##
2082 ## Report this to http://subversion.apache.org/ ##
2083 ## -------------------------------------------- ##"
2084 ) | sed "s/^/$as_me: WARNING: /" >&2
2087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2088 $as_echo_n "checking for $2... " >&6; }
2089 if eval \${$3+:} false; then :
2090 $as_echo_n "(cached) " >&6
2092 eval "$3=\$ac_header_compiler"
2095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2096 $as_echo "$ac_res" >&6; }
2098 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2100 } # ac_fn_c_check_header_mongrel
2102 # ac_fn_c_try_run LINENO
2103 # ----------------------
2104 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2105 # that executables *can* be run.
2108 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2109 if { { ac_try="$ac_link"
2111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2112 *) ac_try_echo=$ac_try;;
2114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2115 $as_echo "$ac_try_echo"; } >&5
2116 (eval "$ac_link") 2>&5
2118 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2119 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2120 { { case "(($ac_try" in
2121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2122 *) ac_try_echo=$ac_try;;
2124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2125 $as_echo "$ac_try_echo"; } >&5
2126 (eval "$ac_try") 2>&5
2128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2129 test $ac_status = 0; }; }; then :
2132 $as_echo "$as_me: program exited with status $ac_status" >&5
2133 $as_echo "$as_me: failed program was:" >&5
2134 sed 's/^/| /' conftest.$ac_ext >&5
2136 ac_retval=$ac_status
2138 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2139 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2140 as_fn_set_status $ac_retval
2144 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2145 # -------------------------------------------------------
2146 # Tests whether HEADER exists and can be compiled using the include files in
2147 # INCLUDES, setting the cache variable VAR accordingly.
2148 ac_fn_c_check_header_compile ()
2150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2152 $as_echo_n "checking for $2... " >&6; }
2153 if eval \${$3+:} false; then :
2154 $as_echo_n "(cached) " >&6
2156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2157 /* end confdefs.h. */
2161 if ac_fn_c_try_compile "$LINENO"; then :
2166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2170 $as_echo "$ac_res" >&6; }
2171 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2173 } # ac_fn_c_check_header_compile
2175 # ac_fn_c_check_func LINENO FUNC VAR
2176 # ----------------------------------
2177 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2178 ac_fn_c_check_func ()
2180 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182 $as_echo_n "checking for $2... " >&6; }
2183 if eval \${$3+:} false; then :
2184 $as_echo_n "(cached) " >&6
2186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2187 /* end confdefs.h. */
2188 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2189 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2190 #define $2 innocuous_$2
2192 /* System header to define __stub macros and hopefully few prototypes,
2193 which can conflict with char $2 (); below.
2194 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2195 <limits.h> exists even on freestanding compilers. */
2198 # include <limits.h>
2200 # include <assert.h>
2205 /* Override any GCC internal prototype to avoid an error.
2206 Use char because int might match the return type of a GCC
2207 builtin and then its argument prototype would still apply. */
2212 /* The GNU C library defines this for functions which it implements
2213 to always fail with ENOSYS. Some functions are actually named
2214 something starting with __ and the normal name is an alias. */
2215 #if defined __stub_$2 || defined __stub___$2
2227 if ac_fn_c_try_link "$LINENO"; then :
2232 rm -f core conftest.err conftest.$ac_objext \
2233 conftest$ac_exeext conftest.$ac_ext
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237 $as_echo "$ac_res" >&6; }
2238 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2240 } # ac_fn_c_check_func
2242 # ac_fn_cxx_try_cpp LINENO
2243 # ------------------------
2244 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2245 ac_fn_cxx_try_cpp ()
2247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2248 if { { ac_try="$ac_cpp conftest.$ac_ext"
2250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2251 *) ac_try_echo=$ac_try;;
2253 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2254 $as_echo "$ac_try_echo"; } >&5
2255 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2257 if test -s conftest.err; then
2258 grep -v '^ *+' conftest.err >conftest.er1
2259 cat conftest.er1 >&5
2260 mv -f conftest.er1 conftest.err
2262 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2263 test $ac_status = 0; } > conftest.i && {
2264 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2265 test ! -s conftest.err
2269 $as_echo "$as_me: failed program was:" >&5
2270 sed 's/^/| /' conftest.$ac_ext >&5
2274 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2275 as_fn_set_status $ac_retval
2277 } # ac_fn_cxx_try_cpp
2279 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2280 # -------------------------------------------
2281 # Tests whether TYPE exists after having included INCLUDES, setting cache
2282 # variable VAR accordingly.
2283 ac_fn_c_check_type ()
2285 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2287 $as_echo_n "checking for $2... " >&6; }
2288 if eval \${$3+:} false; then :
2289 $as_echo_n "(cached) " >&6
2292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2293 /* end confdefs.h. */
2304 if ac_fn_c_try_compile "$LINENO"; then :
2305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2306 /* end confdefs.h. */
2317 if ac_fn_c_try_compile "$LINENO"; then :
2322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2328 $as_echo "$ac_res" >&6; }
2329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2331 } # ac_fn_c_check_type
2332 cat >config.log <<_ACEOF
2333 This file contains any messages produced by compilers while
2334 running configure, to aid debugging if configure makes a mistake.
2336 It was created by subversion $as_me 1.10.0, which was
2337 generated by GNU Autoconf 2.69. Invocation command line was
2349 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2350 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2351 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2352 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2353 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2355 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2356 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2358 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2359 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2360 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2361 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2362 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2363 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2364 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2372 test -z "$as_dir" && as_dir=.
2373 $as_echo "PATH: $as_dir"
2389 # Keep a trace of the command line.
2390 # Strip out --no-create and --no-recursion so they do not pile up.
2391 # Strip out --silent because we don't want to record it for future runs.
2392 # Also quote any args containing shell meta-characters.
2393 # Make two passes to allow for proper duplicate-argument suppression.
2397 ac_must_keep_next=false
2403 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2404 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2405 | -silent | --silent | --silen | --sile | --sil)
2408 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2411 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2413 as_fn_append ac_configure_args1 " '$ac_arg'"
2414 if test $ac_must_keep_next = true; then
2415 ac_must_keep_next=false # Got value, back to normal.
2418 *=* | --config-cache | -C | -disable-* | --disable-* \
2419 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2420 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2421 | -with-* | --with-* | -without-* | --without-* | --x)
2422 case "$ac_configure_args0 " in
2423 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2426 -* ) ac_must_keep_next=true ;;
2429 as_fn_append ac_configure_args " '$ac_arg'"
2434 { ac_configure_args0=; unset ac_configure_args0;}
2435 { ac_configure_args1=; unset ac_configure_args1;}
2437 # When interrupted or exit'd, cleanup temporary files, and complete
2438 # config.log. We remove comments because anyway the quotes in there
2439 # would cause problems or look ugly.
2440 # WARNING: Use '\'' to represent an apostrophe within the trap.
2441 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2442 trap 'exit_status=$?
2443 # Save into config.log some information that might help in debugging.
2447 $as_echo "## ---------------- ##
2448 ## Cache variables. ##
2449 ## ---------------- ##"
2451 # The following way of writing the cache mishandles newlines in values,
2453 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2454 eval ac_val=\$$ac_var
2458 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2459 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2462 _ | IFS | as_nl) ;; #(
2463 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2464 *) { eval $ac_var=; unset $ac_var;} ;;
2469 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2470 *${as_nl}ac_space=\ *)
2472 "s/'\''/'\''\\\\'\'''\''/g;
2473 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2476 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2483 $as_echo "## ----------------- ##
2484 ## Output variables. ##
2485 ## ----------------- ##"
2487 for ac_var in $ac_subst_vars
2489 eval ac_val=\$$ac_var
2491 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2493 $as_echo "$ac_var='\''$ac_val'\''"
2497 if test -n "$ac_subst_files"; then
2498 $as_echo "## ------------------- ##
2499 ## File substitutions. ##
2500 ## ------------------- ##"
2502 for ac_var in $ac_subst_files
2504 eval ac_val=\$$ac_var
2506 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2508 $as_echo "$ac_var='\''$ac_val'\''"
2513 if test -s confdefs.h; then
2514 $as_echo "## ----------- ##
2521 test "$ac_signal" != 0 &&
2522 $as_echo "$as_me: caught signal $ac_signal"
2523 $as_echo "$as_me: exit $exit_status"
2525 rm -f core *.core core.conftest.* &&
2526 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2529 for ac_signal in 1 2 13 15; do
2530 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2534 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2535 rm -f -r conftest* confdefs.h
2537 $as_echo "/* confdefs.h */" > confdefs.h
2539 # Predefined preprocessor variables.
2541 cat >>confdefs.h <<_ACEOF
2542 #define PACKAGE_NAME "$PACKAGE_NAME"
2545 cat >>confdefs.h <<_ACEOF
2546 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2549 cat >>confdefs.h <<_ACEOF
2550 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2553 cat >>confdefs.h <<_ACEOF
2554 #define PACKAGE_STRING "$PACKAGE_STRING"
2557 cat >>confdefs.h <<_ACEOF
2558 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2561 cat >>confdefs.h <<_ACEOF
2562 #define PACKAGE_URL "$PACKAGE_URL"
2566 # Let the site file select an alternate cache file if it wants to.
2567 # Prefer an explicitly selected file to automatically selected ones.
2570 if test -n "$CONFIG_SITE"; then
2571 # We do not want a PATH search for config.site.
2572 case $CONFIG_SITE in #((
2573 -*) ac_site_file1=./$CONFIG_SITE;;
2574 */*) ac_site_file1=$CONFIG_SITE;;
2575 *) ac_site_file1=./$CONFIG_SITE;;
2577 elif test "x$prefix" != xNONE; then
2578 ac_site_file1=$prefix/share/config.site
2579 ac_site_file2=$prefix/etc/config.site
2581 ac_site_file1=$ac_default_prefix/share/config.site
2582 ac_site_file2=$ac_default_prefix/etc/config.site
2584 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2586 test "x$ac_site_file" = xNONE && continue
2587 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2589 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2590 sed 's/^/| /' "$ac_site_file" >&5
2592 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2593 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2594 as_fn_error $? "failed to load site script $ac_site_file
2595 See \`config.log' for more details" "$LINENO" 5; }
2599 if test -r "$cache_file"; then
2600 # Some versions of bash will fail to source /dev/null (special files
2601 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2602 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2603 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2604 $as_echo "$as_me: loading cache $cache_file" >&6;}
2606 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2607 *) . "./$cache_file";;
2611 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2612 $as_echo "$as_me: creating cache $cache_file" >&6;}
2616 # Check that the precious variables saved in the cache have kept the same
2618 ac_cache_corrupted=false
2619 for ac_var in $ac_precious_vars; do
2620 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2621 eval ac_new_set=\$ac_env_${ac_var}_set
2622 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2623 eval ac_new_val=\$ac_env_${ac_var}_value
2624 case $ac_old_set,$ac_new_set in
2626 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2627 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2628 ac_cache_corrupted=: ;;
2630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2631 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2632 ac_cache_corrupted=: ;;
2635 if test "x$ac_old_val" != "x$ac_new_val"; then
2636 # differences in whitespace do not lead to failure.
2637 ac_old_val_w=`echo x $ac_old_val`
2638 ac_new_val_w=`echo x $ac_new_val`
2639 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2640 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2641 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2642 ac_cache_corrupted=:
2644 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2645 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2646 eval $ac_var=\$ac_old_val
2648 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2649 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2651 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2654 # Pass precious variables to config.status.
2655 if test "$ac_new_set" = set; then
2657 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2658 *) ac_arg=$ac_var=$ac_new_val ;;
2660 case " $ac_configure_args " in
2661 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2662 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2666 if $ac_cache_corrupted; then
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2668 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2670 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2671 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2673 ## -------------------- ##
2674 ## Main body of script. ##
2675 ## -------------------- ##
2678 ac_cpp='$CPP $CPPFLAGS'
2679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2687 for ac_dir in build "$srcdir"/build; do
2688 if test -f "$ac_dir/install-sh"; then
2690 ac_install_sh="$ac_aux_dir/install-sh -c"
2692 elif test -f "$ac_dir/install.sh"; then
2694 ac_install_sh="$ac_aux_dir/install.sh -c"
2696 elif test -f "$ac_dir/shtool"; then
2698 ac_install_sh="$ac_aux_dir/shtool install -c"
2702 if test -z "$ac_aux_dir"; then
2703 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2706 # These three variables are undocumented and unsupported,
2707 # and are intended to be withdrawn in a future Autoconf release.
2708 # They can cause serious problems if a builder's source tree is in a directory
2709 # whose full name contains unusual characters.
2710 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2711 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2712 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2716 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.10.0" >&5
2717 $as_echo "$as_me: Configuring Subversion 1.10.0" >&6;}
2719 abs_srcdir="`cd $srcdir && pwd`"
2721 abs_builddir="`pwd`"
2723 if test "$abs_srcdir" = "$abs_builddir"; then
2724 canonicalized_srcdir=""
2726 canonicalized_srcdir="$srcdir/"
2730 SWIG_LDFLAGS="$LDFLAGS"
2733 # Generate config.nice early (before the arguments are munged)
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: creating config.nice" >&5
2736 $as_echo "$as_me: creating config.nice" >&6;}
2737 # This little dance satisfies Cygwin, which cannot overwrite in-use files.
2738 if test -f "config.nice"; then
2739 mv "config.nice" "config.nice.old"
2742 cat >"config.nice" <<EOF
2745 # Created by configure
2747 '$0' $ac_configure_args "\$@"
2750 chmod +x "config.nice"
2751 rm -f "config.nice.old"
2754 # ==== Check for programs ====================================================
2756 # Look for a C compiler (before anything can set CFLAGS)
2757 CUSERFLAGS="$CFLAGS"
2759 ac_cpp='$CPP $CPPFLAGS'
2760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2763 if test -n "$ac_tool_prefix"; then
2764 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2765 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2767 $as_echo_n "checking for $ac_word... " >&6; }
2768 if ${ac_cv_prog_CC+:} false; then :
2769 $as_echo_n "(cached) " >&6
2771 if test -n "$CC"; then
2772 ac_cv_prog_CC="$CC" # Let the user override the test.
2774 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2778 test -z "$as_dir" && as_dir=.
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2782 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2792 if test -n "$CC"; then
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2794 $as_echo "$CC" >&6; }
2796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 $as_echo "no" >&6; }
2802 if test -z "$ac_cv_prog_CC"; then
2804 # Extract the first word of "gcc", so it can be a program name with args.
2805 set dummy gcc; ac_word=$2
2806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2807 $as_echo_n "checking for $ac_word... " >&6; }
2808 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2809 $as_echo_n "(cached) " >&6
2811 if test -n "$ac_ct_CC"; then
2812 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2814 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2818 test -z "$as_dir" && as_dir=.
2819 for ac_exec_ext in '' $ac_executable_extensions; do
2820 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2821 ac_cv_prog_ac_ct_CC="gcc"
2822 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2831 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2832 if test -n "$ac_ct_CC"; then
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2834 $as_echo "$ac_ct_CC" >&6; }
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2837 $as_echo "no" >&6; }
2840 if test "x$ac_ct_CC" = x; then
2843 case $cross_compiling:$ac_tool_warned in
2845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2846 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2847 ac_tool_warned=yes ;;
2855 if test -z "$CC"; then
2856 if test -n "$ac_tool_prefix"; then
2857 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2858 set dummy ${ac_tool_prefix}cc; ac_word=$2
2859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2860 $as_echo_n "checking for $ac_word... " >&6; }
2861 if ${ac_cv_prog_CC+:} false; then :
2862 $as_echo_n "(cached) " >&6
2864 if test -n "$CC"; then
2865 ac_cv_prog_CC="$CC" # Let the user override the test.
2867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2871 test -z "$as_dir" && as_dir=.
2872 for ac_exec_ext in '' $ac_executable_extensions; do
2873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2874 ac_cv_prog_CC="${ac_tool_prefix}cc"
2875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2885 if test -n "$CC"; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2887 $as_echo "$CC" >&6; }
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2890 $as_echo "no" >&6; }
2896 if test -z "$CC"; then
2897 # Extract the first word of "cc", so it can be a program name with args.
2898 set dummy cc; ac_word=$2
2899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2900 $as_echo_n "checking for $ac_word... " >&6; }
2901 if ${ac_cv_prog_CC+:} false; then :
2902 $as_echo_n "(cached) " >&6
2904 if test -n "$CC"; then
2905 ac_cv_prog_CC="$CC" # Let the user override the test.
2908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2912 test -z "$as_dir" && as_dir=.
2913 for ac_exec_ext in '' $ac_executable_extensions; do
2914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2915 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2916 ac_prog_rejected=yes
2920 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2927 if test $ac_prog_rejected = yes; then
2928 # We found a bogon in the path, so make sure we never use it.
2929 set dummy $ac_cv_prog_CC
2931 if test $# != 0; then
2932 # We chose a different compiler from the bogus one.
2933 # However, it has the same basename, so the bogon will be chosen
2934 # first if we set CC to just the basename; use the full file name.
2936 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2942 if test -n "$CC"; then
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2944 $as_echo "$CC" >&6; }
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2947 $as_echo "no" >&6; }
2952 if test -z "$CC"; then
2953 if test -n "$ac_tool_prefix"; then
2954 for ac_prog in cl.exe
2956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2959 $as_echo_n "checking for $ac_word... " >&6; }
2960 if ${ac_cv_prog_CC+:} false; then :
2961 $as_echo_n "(cached) " >&6
2963 if test -n "$CC"; then
2964 ac_cv_prog_CC="$CC" # Let the user override the test.
2966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2970 test -z "$as_dir" && as_dir=.
2971 for ac_exec_ext in '' $ac_executable_extensions; do
2972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2973 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2984 if test -n "$CC"; then
2985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2986 $as_echo "$CC" >&6; }
2988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2989 $as_echo "no" >&6; }
2993 test -n "$CC" && break
2996 if test -z "$CC"; then
2998 for ac_prog in cl.exe
3000 # Extract the first word of "$ac_prog", so it can be a program name with args.
3001 set dummy $ac_prog; ac_word=$2
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3003 $as_echo_n "checking for $ac_word... " >&6; }
3004 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3005 $as_echo_n "(cached) " >&6
3007 if test -n "$ac_ct_CC"; then
3008 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3014 test -z "$as_dir" && as_dir=.
3015 for ac_exec_ext in '' $ac_executable_extensions; do
3016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3017 ac_cv_prog_ac_ct_CC="$ac_prog"
3018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3027 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3028 if test -n "$ac_ct_CC"; then
3029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3030 $as_echo "$ac_ct_CC" >&6; }
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3033 $as_echo "no" >&6; }
3037 test -n "$ac_ct_CC" && break
3040 if test "x$ac_ct_CC" = x; then
3043 case $cross_compiling:$ac_tool_warned in
3045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3047 ac_tool_warned=yes ;;
3056 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3057 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3058 as_fn_error $? "no acceptable C compiler found in \$PATH
3059 See \`config.log' for more details" "$LINENO" 5; }
3061 # Provide some information about the compiler.
3062 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3065 for ac_option in --version -v -V -qversion; do
3066 { { ac_try="$ac_compiler $ac_option >&5"
3068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3069 *) ac_try_echo=$ac_try;;
3071 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3072 $as_echo "$ac_try_echo"; } >&5
3073 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3075 if test -s conftest.err; then
3077 ... rest of stderr output deleted ...
3078 10q' conftest.err >conftest.er1
3079 cat conftest.er1 >&5
3081 rm -f conftest.er1 conftest.err
3082 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3083 test $ac_status = 0; }
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3097 ac_clean_files_save=$ac_clean_files
3098 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3099 # Try to create an executable without -o first, disregard a.out.
3100 # It will help us diagnose broken compilers, and finding out an intuition
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3103 $as_echo_n "checking whether the C compiler works... " >&6; }
3104 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3106 # The possible output files:
3107 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3110 for ac_file in $ac_files
3113 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3114 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3119 if { { ac_try="$ac_link_default"
3121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3122 *) ac_try_echo=$ac_try;;
3124 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3125 $as_echo "$ac_try_echo"; } >&5
3126 (eval "$ac_link_default") 2>&5
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; }; then :
3130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3133 # so that the user can short-circuit this test for compilers unknown to
3135 for ac_file in $ac_files ''
3137 test -f "$ac_file" || continue
3139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3142 # We found the default executable, but exeext='' is most
3146 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3150 # We set ac_cv_exeext here because the later test for it is not
3151 # safe: cross compilers may not add the suffix if given an `-o'
3152 # argument, so we may need to know it at that point already.
3153 # Even if this section looks crufty: it has the advantage of
3160 test "$ac_cv_exeext" = no && ac_cv_exeext=
3165 if test -z "$ac_file"; then :
3166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3167 $as_echo "no" >&6; }
3168 $as_echo "$as_me: failed program was:" >&5
3169 sed 's/^/| /' conftest.$ac_ext >&5
3171 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3172 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3173 as_fn_error 77 "C compiler cannot create executables
3174 See \`config.log' for more details" "$LINENO" 5; }
3176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3177 $as_echo "yes" >&6; }
3179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3180 $as_echo_n "checking for C compiler default output file name... " >&6; }
3181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3182 $as_echo "$ac_file" >&6; }
3183 ac_exeext=$ac_cv_exeext
3185 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3186 ac_clean_files=$ac_clean_files_save
3187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3188 $as_echo_n "checking for suffix of executables... " >&6; }
3189 if { { ac_try="$ac_link"
3191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3192 *) ac_try_echo=$ac_try;;
3194 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3195 $as_echo "$ac_try_echo"; } >&5
3196 (eval "$ac_link") 2>&5
3198 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3199 test $ac_status = 0; }; then :
3200 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3201 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3202 # work properly (i.e., refer to `conftest.exe'), while it won't with
3204 for ac_file in conftest.exe conftest conftest.*; do
3205 test -f "$ac_file" || continue
3207 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3208 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3216 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3217 See \`config.log' for more details" "$LINENO" 5; }
3219 rm -f conftest conftest$ac_cv_exeext
3220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3221 $as_echo "$ac_cv_exeext" >&6; }
3223 rm -f conftest.$ac_ext
3224 EXEEXT=$ac_cv_exeext
3226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3232 FILE *f = fopen ("conftest.out", "w");
3233 return ferror (f) || fclose (f) != 0;
3239 ac_clean_files="$ac_clean_files conftest.out"
3240 # Check that the compiler produces executables we can run. If not, either
3241 # the compiler is broken, or we cross compile.
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3243 $as_echo_n "checking whether we are cross compiling... " >&6; }
3244 if test "$cross_compiling" != yes; then
3245 { { ac_try="$ac_link"
3247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3248 *) ac_try_echo=$ac_try;;
3250 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3251 $as_echo "$ac_try_echo"; } >&5
3252 (eval "$ac_link") 2>&5
3254 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3255 test $ac_status = 0; }
3256 if { ac_try='./conftest$ac_cv_exeext'
3257 { { case "(($ac_try" in
3258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3259 *) ac_try_echo=$ac_try;;
3261 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3262 $as_echo "$ac_try_echo"; } >&5
3263 (eval "$ac_try") 2>&5
3265 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3266 test $ac_status = 0; }; }; then
3269 if test "$cross_compiling" = maybe; then
3272 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3273 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3274 as_fn_error $? "cannot run C compiled programs.
3275 If you meant to cross compile, use \`--host'.
3276 See \`config.log' for more details" "$LINENO" 5; }
3280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3281 $as_echo "$cross_compiling" >&6; }
3283 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3284 ac_clean_files=$ac_clean_files_save
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3286 $as_echo_n "checking for suffix of object files... " >&6; }
3287 if ${ac_cv_objext+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3301 rm -f conftest.o conftest.obj
3302 if { { ac_try="$ac_compile"
3304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3305 *) ac_try_echo=$ac_try;;
3307 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3308 $as_echo "$ac_try_echo"; } >&5
3309 (eval "$ac_compile") 2>&5
3311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3312 test $ac_status = 0; }; then :
3313 for ac_file in conftest.o conftest.obj conftest.*; do
3314 test -f "$ac_file" || continue;
3316 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3317 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3322 $as_echo "$as_me: failed program was:" >&5
3323 sed 's/^/| /' conftest.$ac_ext >&5
3325 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3326 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3327 as_fn_error $? "cannot compute suffix of object files: cannot compile
3328 See \`config.log' for more details" "$LINENO" 5; }
3330 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3333 $as_echo "$ac_cv_objext" >&6; }
3334 OBJEXT=$ac_cv_objext
3336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3337 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3338 if ${ac_cv_c_compiler_gnu+:} false; then :
3339 $as_echo_n "(cached) " >&6
3341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3342 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3361 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3365 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3366 if test $ac_compiler_gnu = yes; then
3371 ac_test_CFLAGS=${CFLAGS+set}
3372 ac_save_CFLAGS=$CFLAGS
3373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3374 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3375 if ${ac_cv_prog_cc_g+:} false; then :
3376 $as_echo_n "(cached) " >&6
3378 ac_save_c_werror_flag=$ac_c_werror_flag
3379 ac_c_werror_flag=yes
3382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3383 /* end confdefs.h. */
3393 if ac_fn_c_try_compile "$LINENO"; then :
3397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3398 /* end confdefs.h. */
3408 if ac_fn_c_try_compile "$LINENO"; then :
3411 ac_c_werror_flag=$ac_save_c_werror_flag
3413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3414 /* end confdefs.h. */
3424 if ac_fn_c_try_compile "$LINENO"; then :
3427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3432 ac_c_werror_flag=$ac_save_c_werror_flag
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3435 $as_echo "$ac_cv_prog_cc_g" >&6; }
3436 if test "$ac_test_CFLAGS" = set; then
3437 CFLAGS=$ac_save_CFLAGS
3438 elif test $ac_cv_prog_cc_g = yes; then
3439 if test "$GCC" = yes; then
3445 if test "$GCC" = yes; then
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3452 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3453 if ${ac_cv_prog_cc_c89+:} false; then :
3454 $as_echo_n "(cached) " >&6
3456 ac_cv_prog_cc_c89=no
3458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3459 /* end confdefs.h. */
3463 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3464 struct buf { int x; };
3465 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3466 static char *e (p, i)
3472 static char *f (char * (*g) (char **, int), char **p, ...)
3477 s = g (p, va_arg (v,int));
3482 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3483 function prototypes and stuff, but not '\xHH' hex character constants.
3484 These don't provoke an error unfortunately, instead are silently treated
3485 as 'x'. The following induces an error, until -std is added to get
3486 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3487 array size at least. It's necessary to write '\x00'==0 to get something
3488 that's true only with -std. */
3489 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3491 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3492 inside strings and character constants. */
3494 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3496 int test (int i, double x);
3497 struct s1 {int (*f) (int a);};
3498 struct s2 {int (*f) (double a);};
3499 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3505 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3510 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3511 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3513 CC="$ac_save_CC $ac_arg"
3514 if ac_fn_c_try_compile "$LINENO"; then :
3515 ac_cv_prog_cc_c89=$ac_arg
3517 rm -f core conftest.err conftest.$ac_objext
3518 test "x$ac_cv_prog_cc_c89" != "xno" && break
3520 rm -f conftest.$ac_ext
3525 case "x$ac_cv_prog_cc_c89" in
3527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3528 $as_echo "none needed" >&6; } ;;
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3531 $as_echo "unsupported" >&6; } ;;
3533 CC="$CC $ac_cv_prog_cc_c89"
3534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3535 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3537 if test "x$ac_cv_prog_cc_c89" != xno; then :
3542 ac_cpp='$CPP $CPPFLAGS'
3543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3549 CFLAGS_KEEP="$CFLAGS"
3552 if test "$GCC" = "yes"; then
3554 _svn_xxflags__save="$CFLAGS"
3556 ac_cpp='$CPP $CPPFLAGS'
3557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c90" >&5
3562 $as_echo_n "checking if $CC accepts -std=c90... " >&6; }
3563 CFLAGS="-std=c90 $CFLAGS"
3564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3565 /* end confdefs.h. */
3566 int main(void){return 0;}
3568 if ac_fn_c_try_link "$LINENO"; then :
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3571 $as_echo "yes" >&6; }
3576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3577 $as_echo "no" >&6; }
3578 CFLAGS="$_svn_xxflags__save"
3581 _svn_xxflags__save="$CFLAGS"
3583 ac_cpp='$CPP $CPPFLAGS'
3584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c89" >&5
3589 $as_echo_n "checking if $CC accepts -std=c89... " >&6; }
3590 CFLAGS="-std=c89 $CFLAGS"
3591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3592 /* end confdefs.h. */
3593 int main(void){return 0;}
3595 if ac_fn_c_try_link "$LINENO"; then :
3597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3598 $as_echo "yes" >&6; }
3603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3604 $as_echo "no" >&6; }
3605 CFLAGS="$_svn_xxflags__save"
3608 _svn_xxflags__save="$CFLAGS"
3610 ac_cpp='$CPP $CPPFLAGS'
3611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -ansi" >&5
3616 $as_echo_n "checking if $CC accepts -ansi... " >&6; }
3617 CFLAGS="-ansi $CFLAGS"
3618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3619 /* end confdefs.h. */
3620 int main(void){return 0;}
3622 if ac_fn_c_try_link "$LINENO"; then :
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3625 $as_echo "yes" >&6; }
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3631 $as_echo "no" >&6; }
3632 CFLAGS="$_svn_xxflags__save"
3636 rm -f core conftest.err conftest.$ac_objext \
3637 conftest$ac_exeext conftest.$ac_ext
3639 ac_cpp='$CPP $CPPFLAGS'
3640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3648 rm -f core conftest.err conftest.$ac_objext \
3649 conftest$ac_exeext conftest.$ac_ext
3651 ac_cpp='$CPP $CPPFLAGS'
3652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3660 rm -f core conftest.err conftest.$ac_objext \
3661 conftest$ac_exeext conftest.$ac_ext
3663 ac_cpp='$CPP $CPPFLAGS'
3664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3671 CMODEFLAGS="$CFLAGS"
3674 if test "$GCC" = "yes"; then
3676 _svn_xxflags__save="$CFLAGS"
3678 ac_cpp='$CPP $CPPFLAGS'
3679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -w" >&5
3684 $as_echo_n "checking if $CC accepts -w... " >&6; }
3686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3687 /* end confdefs.h. */
3688 int main(void){return 0;}
3690 if ac_fn_c_try_link "$LINENO"; then :
3692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3693 $as_echo "yes" >&6; }
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3699 $as_echo "no" >&6; }
3700 CFLAGS="$_svn_xxflags__save"
3704 rm -f core conftest.err conftest.$ac_objext \
3705 conftest$ac_exeext conftest.$ac_ext
3707 ac_cpp='$CPP $CPPFLAGS'
3708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715 CNOWARNFLAGS="$CFLAGS"
3716 CFLAGS="$CFLAGS_KEEP"
3723 if test "$GCC" = "yes"; then
3725 _svn_xxflags__save="$CFLAGS"
3727 ac_cpp='$CPP $CPPFLAGS'
3728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=unknown-warning-option" >&5
3733 $as_echo_n "checking if $CC accepts -Werror=unknown-warning-option... " >&6; }
3734 CFLAGS="-Werror=unknown-warning-option $CFLAGS"
3735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3736 /* end confdefs.h. */
3737 int main(void){return 0;}
3739 if ac_fn_c_try_link "$LINENO"; then :
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3742 $as_echo "yes" >&6; }
3747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3748 $as_echo "no" >&6; }
3749 CFLAGS="$_svn_xxflags__save"
3753 rm -f core conftest.err conftest.$ac_objext \
3754 conftest$ac_exeext conftest.$ac_ext
3756 ac_cpp='$CPP $CPPFLAGS'
3757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3765 # Look for a C++ compiler (before anything can set CXXFLAGS)
3766 CXXUSERFLAGS="$CXXFLAGS"
3768 ac_cpp='$CXXCPP $CPPFLAGS'
3769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3772 if test -z "$CXX"; then
3773 if test -n "$CCC"; then
3776 if test -n "$ac_tool_prefix"; then
3777 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3779 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3780 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3782 $as_echo_n "checking for $ac_word... " >&6; }
3783 if ${ac_cv_prog_CXX+:} false; then :
3784 $as_echo_n "(cached) " >&6
3786 if test -n "$CXX"; then
3787 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3793 test -z "$as_dir" && as_dir=.
3794 for ac_exec_ext in '' $ac_executable_extensions; do
3795 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3796 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3797 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3807 if test -n "$CXX"; then
3808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3809 $as_echo "$CXX" >&6; }
3811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3812 $as_echo "no" >&6; }
3816 test -n "$CXX" && break
3819 if test -z "$CXX"; then
3821 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3823 # Extract the first word of "$ac_prog", so it can be a program name with args.
3824 set dummy $ac_prog; ac_word=$2
3825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3826 $as_echo_n "checking for $ac_word... " >&6; }
3827 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3828 $as_echo_n "(cached) " >&6
3830 if test -n "$ac_ct_CXX"; then
3831 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3837 test -z "$as_dir" && as_dir=.
3838 for ac_exec_ext in '' $ac_executable_extensions; do
3839 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3840 ac_cv_prog_ac_ct_CXX="$ac_prog"
3841 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3850 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3851 if test -n "$ac_ct_CXX"; then
3852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3853 $as_echo "$ac_ct_CXX" >&6; }
3855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3856 $as_echo "no" >&6; }
3860 test -n "$ac_ct_CXX" && break
3863 if test "x$ac_ct_CXX" = x; then
3866 case $cross_compiling:$ac_tool_warned in
3868 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3869 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3870 ac_tool_warned=yes ;;
3878 # Provide some information about the compiler.
3879 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3882 for ac_option in --version -v -V -qversion; do
3883 { { ac_try="$ac_compiler $ac_option >&5"
3885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3886 *) ac_try_echo=$ac_try;;
3888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3889 $as_echo "$ac_try_echo"; } >&5
3890 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3892 if test -s conftest.err; then
3894 ... rest of stderr output deleted ...
3895 10q' conftest.err >conftest.er1
3896 cat conftest.er1 >&5
3898 rm -f conftest.er1 conftest.err
3899 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3900 test $ac_status = 0; }
3903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3904 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3905 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3906 $as_echo_n "(cached) " >&6
3908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3909 /* end confdefs.h. */
3922 if ac_fn_cxx_try_compile "$LINENO"; then :
3927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3928 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3932 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3933 if test $ac_compiler_gnu = yes; then
3938 ac_test_CXXFLAGS=${CXXFLAGS+set}
3939 ac_save_CXXFLAGS=$CXXFLAGS
3940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3941 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3942 if ${ac_cv_prog_cxx_g+:} false; then :
3943 $as_echo_n "(cached) " >&6
3945 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3946 ac_cxx_werror_flag=yes
3949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3950 /* end confdefs.h. */
3960 if ac_fn_cxx_try_compile "$LINENO"; then :
3961 ac_cv_prog_cxx_g=yes
3964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3965 /* end confdefs.h. */
3975 if ac_fn_cxx_try_compile "$LINENO"; then :
3978 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3981 /* end confdefs.h. */
3991 if ac_fn_cxx_try_compile "$LINENO"; then :
3992 ac_cv_prog_cxx_g=yes
3994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3999 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4002 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4003 if test "$ac_test_CXXFLAGS" = set; then
4004 CXXFLAGS=$ac_save_CXXFLAGS
4005 elif test $ac_cv_prog_cxx_g = yes; then
4006 if test "$GXX" = yes; then
4012 if test "$GXX" = yes; then
4019 ac_cpp='$CPP $CPPFLAGS'
4020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4026 CXXFLAGS_KEEP="$CXXFLAGS"
4029 if test "$GXX" = "yes"; then
4031 _svn_xxflags__save="$CXXFLAGS"
4033 ac_cpp='$CXXCPP $CPPFLAGS'
4034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -std=c++98" >&5
4039 $as_echo_n "checking if $CXX accepts -std=c++98... " >&6; }
4040 CXXFLAGS="-std=c++98 $CXXFLAGS"
4041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4042 /* end confdefs.h. */
4045 if ac_fn_cxx_try_link "$LINENO"; then :
4047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4048 $as_echo "yes" >&6; }
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4054 $as_echo "no" >&6; }
4055 CXXFLAGS="$_svn_xxflags__save"
4059 rm -f core conftest.err conftest.$ac_objext \
4060 conftest$ac_exeext conftest.$ac_ext
4062 ac_cpp='$CPP $CPPFLAGS'
4063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4070 CXXMODEFLAGS="$CXXFLAGS"
4073 if test "$GXX" = "yes"; then
4075 _svn_xxflags__save="$CXXFLAGS"
4077 ac_cpp='$CXXCPP $CPPFLAGS'
4078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -w" >&5
4083 $as_echo_n "checking if $CXX accepts -w... " >&6; }
4084 CXXFLAGS="-w $CXXFLAGS"
4085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4086 /* end confdefs.h. */
4089 if ac_fn_cxx_try_link "$LINENO"; then :
4091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4092 $as_echo "yes" >&6; }
4097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4098 $as_echo "no" >&6; }
4099 CXXFLAGS="$_svn_xxflags__save"
4103 rm -f core conftest.err conftest.$ac_objext \
4104 conftest$ac_exeext conftest.$ac_ext
4106 ac_cpp='$CPP $CPPFLAGS'
4107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4114 CXXNOWARNFLAGS="$CXXFLAGS"
4115 CXXFLAGS="$CXXFLAGS_KEEP"
4122 if test "$GXX" = "yes"; then
4124 _svn_xxflags__save="$CXXFLAGS"
4126 ac_cpp='$CXXCPP $CPPFLAGS'
4127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Werror=unknown-warning-option" >&5
4132 $as_echo_n "checking if $CXX accepts -Werror=unknown-warning-option... " >&6; }
4133 CXXFLAGS="-Werror=unknown-warning-option $CXXFLAGS"
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 if ac_fn_cxx_try_link "$LINENO"; then :
4140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4141 $as_echo "yes" >&6; }
4146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4147 $as_echo "no" >&6; }
4148 CXXFLAGS="$_svn_xxflags__save"
4152 rm -f core conftest.err conftest.$ac_objext \
4153 conftest$ac_exeext conftest.$ac_ext
4155 ac_cpp='$CPP $CPPFLAGS'
4156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4164 # Look for a C pre-processor
4166 ac_cpp='$CPP $CPPFLAGS'
4167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4171 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4172 # On Suns, sometimes $CPP names a directory.
4173 if test -n "$CPP" && test -d "$CPP"; then
4176 if test -z "$CPP"; then
4177 if ${ac_cv_prog_CPP+:} false; then :
4178 $as_echo_n "(cached) " >&6
4180 # Double quotes because CPP needs to be expanded
4181 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4184 for ac_c_preproc_warn_flag in '' yes
4186 # Use a header file that comes with gcc, so configuring glibc
4187 # with a fresh cross-compiler works.
4188 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4189 # <limits.h> exists even on freestanding compilers.
4190 # On the NeXT, cc -E runs the code through the compiler's parser,
4191 # not just through cpp. "Syntax error" is here to catch this case.
4192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4193 /* end confdefs.h. */
4195 # include <limits.h>
4197 # include <assert.h>
4201 if ac_fn_c_try_cpp "$LINENO"; then :
4204 # Broken: fails on valid input.
4207 rm -f conftest.err conftest.i conftest.$ac_ext
4209 # OK, works on sane cases. Now check whether nonexistent headers
4210 # can be detected and how.
4211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4212 /* end confdefs.h. */
4213 #include <ac_nonexistent.h>
4215 if ac_fn_c_try_cpp "$LINENO"; then :
4216 # Broken: success on invalid input.
4219 # Passes both tests.
4223 rm -f conftest.err conftest.i conftest.$ac_ext
4226 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4227 rm -f conftest.i conftest.err conftest.$ac_ext
4228 if $ac_preproc_ok; then :
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4241 $as_echo "$CPP" >&6; }
4243 for ac_c_preproc_warn_flag in '' yes
4245 # Use a header file that comes with gcc, so configuring glibc
4246 # with a fresh cross-compiler works.
4247 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4248 # <limits.h> exists even on freestanding compilers.
4249 # On the NeXT, cc -E runs the code through the compiler's parser,
4250 # not just through cpp. "Syntax error" is here to catch this case.
4251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4252 /* end confdefs.h. */
4254 # include <limits.h>
4256 # include <assert.h>
4260 if ac_fn_c_try_cpp "$LINENO"; then :
4263 # Broken: fails on valid input.
4266 rm -f conftest.err conftest.i conftest.$ac_ext
4268 # OK, works on sane cases. Now check whether nonexistent headers
4269 # can be detected and how.
4270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4271 /* end confdefs.h. */
4272 #include <ac_nonexistent.h>
4274 if ac_fn_c_try_cpp "$LINENO"; then :
4275 # Broken: success on invalid input.
4278 # Passes both tests.
4282 rm -f conftest.err conftest.i conftest.$ac_ext
4285 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4286 rm -f conftest.i conftest.err conftest.$ac_ext
4287 if $ac_preproc_ok; then :
4290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4292 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4293 See \`config.log' for more details" "$LINENO" 5; }
4297 ac_cpp='$CPP $CPPFLAGS'
4298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4303 # Look for a good sed
4304 # AC_PROG_SED was introduced in Autoconf 2.59b
4305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4306 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4307 if ${ac_cv_path_SED+:} false; then :
4308 $as_echo_n "(cached) " >&6
4310 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4311 for ac_i in 1 2 3 4 5 6 7; do
4312 ac_script="$ac_script$as_nl$ac_script"
4314 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4315 { ac_script=; unset ac_script;}
4316 if test -z "$SED"; then
4317 ac_path_SED_found=false
4318 # Loop through the user's path and test for each of PROGNAME-LIST
4319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4323 test -z "$as_dir" && as_dir=.
4324 for ac_prog in sed gsed; do
4325 for ac_exec_ext in '' $ac_executable_extensions; do
4326 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4327 as_fn_executable_p "$ac_path_SED" || continue
4328 # Check for GNU ac_path_SED and select it if it is found.
4329 # Check for GNU $ac_path_SED
4330 case `"$ac_path_SED" --version 2>&1` in
4332 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4335 $as_echo_n 0123456789 >"conftest.in"
4338 cat "conftest.in" "conftest.in" >"conftest.tmp"
4339 mv "conftest.tmp" "conftest.in"
4340 cp "conftest.in" "conftest.nl"
4341 $as_echo '' >> "conftest.nl"
4342 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4343 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4344 as_fn_arith $ac_count + 1 && ac_count=$as_val
4345 if test $ac_count -gt ${ac_path_SED_max-0}; then
4346 # Best one so far, save it but keep looking for a better one
4347 ac_cv_path_SED="$ac_path_SED"
4348 ac_path_SED_max=$ac_count
4350 # 10*(2^10) chars as input seems more than enough
4351 test $ac_count -gt 10 && break
4353 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4356 $ac_path_SED_found && break 3
4361 if test -z "$ac_cv_path_SED"; then
4362 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4370 $as_echo "$ac_cv_path_SED" >&6; }
4371 SED="$ac_cv_path_SED"
4375 # Grab target_cpu, so we can use it in the Solaris pkginfo file
4376 # Make sure we can run config.sub.
4377 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4378 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4381 $as_echo_n "checking build system type... " >&6; }
4382 if ${ac_cv_build+:} false; then :
4383 $as_echo_n "(cached) " >&6
4385 ac_build_alias=$build_alias
4386 test "x$ac_build_alias" = x &&
4387 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4388 test "x$ac_build_alias" = x &&
4389 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4390 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4391 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4395 $as_echo "$ac_cv_build" >&6; }
4396 case $ac_cv_build in
4398 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4401 ac_save_IFS=$IFS; IFS='-'
4407 # Remember, the first character of IFS is used to create $*,
4408 # except with old shells:
4411 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4415 $as_echo_n "checking host system type... " >&6; }
4416 if ${ac_cv_host+:} false; then :
4417 $as_echo_n "(cached) " >&6
4419 if test "x$host_alias" = x; then
4420 ac_cv_host=$ac_cv_build
4422 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4423 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4428 $as_echo "$ac_cv_host" >&6; }
4431 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4434 ac_save_IFS=$IFS; IFS='-'
4440 # Remember, the first character of IFS is used to create $*,
4441 # except with old shells:
4444 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4448 $as_echo_n "checking target system type... " >&6; }
4449 if ${ac_cv_target+:} false; then :
4450 $as_echo_n "(cached) " >&6
4452 if test "x$target_alias" = x; then
4453 ac_cv_target=$ac_cv_host
4455 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4456 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4461 $as_echo "$ac_cv_target" >&6; }
4462 case $ac_cv_target in
4464 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
4466 target=$ac_cv_target
4467 ac_save_IFS=$IFS; IFS='-'
4473 # Remember, the first character of IFS is used to create $*,
4474 # except with old shells:
4477 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4480 # The aliases save the names the user supplied, while $host etc.
4481 # will get canonicalized.
4482 test -n "$target_alias" &&
4483 test "$program_prefix$program_suffix$program_transform_name" = \
4485 program_prefix=${target_alias}-
4487 # Look for an extended grep
4488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4489 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4490 if ${ac_cv_path_GREP+:} false; then :
4491 $as_echo_n "(cached) " >&6
4493 if test -z "$GREP"; then
4494 ac_path_GREP_found=false
4495 # Loop through the user's path and test for each of PROGNAME-LIST
4496 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4497 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4500 test -z "$as_dir" && as_dir=.
4501 for ac_prog in grep ggrep; do
4502 for ac_exec_ext in '' $ac_executable_extensions; do
4503 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4504 as_fn_executable_p "$ac_path_GREP" || continue
4505 # Check for GNU ac_path_GREP and select it if it is found.
4506 # Check for GNU $ac_path_GREP
4507 case `"$ac_path_GREP" --version 2>&1` in
4509 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4512 $as_echo_n 0123456789 >"conftest.in"
4515 cat "conftest.in" "conftest.in" >"conftest.tmp"
4516 mv "conftest.tmp" "conftest.in"
4517 cp "conftest.in" "conftest.nl"
4518 $as_echo 'GREP' >> "conftest.nl"
4519 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4520 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4521 as_fn_arith $ac_count + 1 && ac_count=$as_val
4522 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4523 # Best one so far, save it but keep looking for a better one
4524 ac_cv_path_GREP="$ac_path_GREP"
4525 ac_path_GREP_max=$ac_count
4527 # 10*(2^10) chars as input seems more than enough
4528 test $ac_count -gt 10 && break
4530 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4533 $ac_path_GREP_found && break 3
4538 if test -z "$ac_cv_path_GREP"; then
4539 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4542 ac_cv_path_GREP=$GREP
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4547 $as_echo "$ac_cv_path_GREP" >&6; }
4548 GREP="$ac_cv_path_GREP"
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4552 $as_echo_n "checking for egrep... " >&6; }
4553 if ${ac_cv_path_EGREP+:} false; then :
4554 $as_echo_n "(cached) " >&6
4556 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4557 then ac_cv_path_EGREP="$GREP -E"
4559 if test -z "$EGREP"; then
4560 ac_path_EGREP_found=false
4561 # Loop through the user's path and test for each of PROGNAME-LIST
4562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4563 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4566 test -z "$as_dir" && as_dir=.
4567 for ac_prog in egrep; do
4568 for ac_exec_ext in '' $ac_executable_extensions; do
4569 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4570 as_fn_executable_p "$ac_path_EGREP" || continue
4571 # Check for GNU ac_path_EGREP and select it if it is found.
4572 # Check for GNU $ac_path_EGREP
4573 case `"$ac_path_EGREP" --version 2>&1` in
4575 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4578 $as_echo_n 0123456789 >"conftest.in"
4581 cat "conftest.in" "conftest.in" >"conftest.tmp"
4582 mv "conftest.tmp" "conftest.in"
4583 cp "conftest.in" "conftest.nl"
4584 $as_echo 'EGREP' >> "conftest.nl"
4585 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4586 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4587 as_fn_arith $ac_count + 1 && ac_count=$as_val
4588 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4589 # Best one so far, save it but keep looking for a better one
4590 ac_cv_path_EGREP="$ac_path_EGREP"
4591 ac_path_EGREP_max=$ac_count
4593 # 10*(2^10) chars as input seems more than enough
4594 test $ac_count -gt 10 && break
4596 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4599 $ac_path_EGREP_found && break 3
4604 if test -z "$ac_cv_path_EGREP"; then
4605 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4608 ac_cv_path_EGREP=$EGREP
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4614 $as_echo "$ac_cv_path_EGREP" >&6; }
4615 EGREP="$ac_cv_path_EGREP"
4619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4620 $as_echo_n "checking whether ln -s works... " >&6; }
4622 if test "$LN_S" = "ln -s"; then
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4624 $as_echo "yes" >&6; }
4626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4627 $as_echo "no, using $LN_S" >&6; }
4631 # Find a good install program. We prefer a C program (faster),
4632 # so one script is as good as another. But avoid the broken or
4633 # incompatible versions:
4634 # SysV /etc/install, /usr/sbin/install
4635 # SunOS /usr/etc/install
4636 # IRIX /sbin/install
4638 # AmigaOS /C/install, which installs bootblocks on floppy discs
4639 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4640 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4641 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4642 # OS/2's system install, which has a completely different semantic
4643 # ./install, which can be erroneously created by make from ./install.sh.
4644 # Reject install programs that cannot install multiple files.
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4646 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4647 if test -z "$INSTALL"; then
4648 if ${ac_cv_path_install+:} false; then :
4649 $as_echo_n "(cached) " >&6
4651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4655 test -z "$as_dir" && as_dir=.
4656 # Account for people who put trailing slashes in PATH elements.
4657 case $as_dir/ in #((
4658 ./ | .// | /[cC]/* | \
4659 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4660 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4663 # OSF1 and SCO ODT 3.0 have their own names for install.
4664 # Don't use installbsd from OSF since it installs stuff as root
4666 for ac_prog in ginstall scoinst install; do
4667 for ac_exec_ext in '' $ac_executable_extensions; do
4668 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4669 if test $ac_prog = install &&
4670 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4671 # AIX install. It has an incompatible calling convention.
4673 elif test $ac_prog = install &&
4674 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4675 # program-specific install script used by HP pwplus--don't use.
4678 rm -rf conftest.one conftest.two conftest.dir
4679 echo one > conftest.one
4680 echo two > conftest.two
4682 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4683 test -s conftest.one && test -s conftest.two &&
4684 test -s conftest.dir/conftest.one &&
4685 test -s conftest.dir/conftest.two
4687 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4700 rm -rf conftest.one conftest.two conftest.dir
4703 if test "${ac_cv_path_install+set}" = set; then
4704 INSTALL=$ac_cv_path_install
4706 # As a last resort, use the slow shell script. Don't cache a
4707 # value for INSTALL within a source directory, because that will
4708 # break other packages using the cache if that directory is
4709 # removed, or if the value is a relative name.
4710 INSTALL=$ac_install_sh
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4714 $as_echo "$INSTALL" >&6; }
4716 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4717 # It thinks the first close brace ends the variable substitution.
4718 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4720 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4722 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4724 # If $INSTALL is relative path to our fallback install-sh, then convert
4725 # to an absolute path, as in some cases (e.g. Solaris VPATH build), libtool
4726 # may try to use it from a changed working directory.
4727 if test "$INSTALL" = "build/install-sh -c"; then
4728 INSTALL="$abs_srcdir/$INSTALL"
4731 if test -z "$MKDIR"; then
4736 # ==== Libraries, for which we may have source to build ======================
4739 APR_VER_REGEXES="1\.[3-9]\. 2\."
4742 APR_WANTED_REGEXES="$APR_VER_REGEXES"
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime (APR) library configuration" >&5
4745 $as_echo "$as_me: Apache Portable Runtime (APR) library configuration" >&6;}
4750 if test "$target_os" = "os2-emx"; then
4751 # Scripts don't pass test -x on OS/2
4757 acceptable_majors="2 1 0"
4759 apr_temp_acceptable_apr_config=""
4760 for apr_temp_major in $acceptable_majors
4762 case $apr_temp_major in
4764 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
4767 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
4772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
4773 $as_echo_n "checking for APR... " >&6; }
4775 # Check whether --with-apr was given.
4776 if test "${with_apr+set}" = set; then :
4778 if test "$withval" = "no" || test "$withval" = "yes"; then
4779 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
4782 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4784 for lookdir in "$withval/bin" "$withval"
4786 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
4787 apr_config="$lookdir/$apr_temp_apr_config_file"
4795 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
4796 apr_config="$withval"
4800 if test "$apr_found" != "yes"; then
4801 as_fn_error $? "the --with-apr parameter is incorrect. It must specify an install prefix, a build directory, or an apr-config file." "$LINENO" 5
4806 if test -n "1" && test "1" = "1"; then
4807 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4809 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
4810 apr_config="$apr_temp_apr_config_file"
4815 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
4816 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
4817 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
4826 if test "$apr_found" = "no" && test -d """"; then
4827 apr_temp_abs_srcdir="`cd \"""\" && pwd`"
4828 apr_found="reconfig"
4829 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apr_version.h\"`"
4830 case $apr_bundled_major in
4832 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
4835 apr_temp_apr_config_file="apr-config"
4838 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
4841 if test -n """"; then
4842 apr_config="""/$apr_temp_apr_config_file"
4844 apr_config="""/$apr_temp_apr_config_file"
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
4852 $as_echo "$apr_found" >&6; }
4855 if test $apr_found = "no"; then
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APR not found" >&5
4857 $as_echo "$as_me: WARNING: APR not found" >&2;}
4859 echo "The Apache Portable Runtime (APR) library cannot be found."
4860 echo "Please install APR on this system and configure Subversion"
4861 echo "with the appropriate --with-apr option."
4863 echo "You probably need to do something similar with the Apache"
4864 echo "Portable Runtime Utility (APRUTIL) library and then configure"
4865 echo "Subversion with both the --with-apr and --with-apr-util options."
4867 as_fn_error $? "no suitable APR found" "$LINENO" 5
4871 if test $apr_found = "reconfig"; then
4872 as_fn_error $? "Unexpected APR reconfig" "$LINENO" 5
4876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APR version" >&5
4877 $as_echo_n "checking APR version... " >&6; }
4878 apr_version="`$apr_config --version`"
4879 if test $? -ne 0; then
4880 as_fn_error $? "apr-config --version failed" "$LINENO" 5
4882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_version" >&5
4883 $as_echo "$apr_version" >&6; }
4885 APR_WANTED_REGEX_MATCH=0
4886 for apr_wanted_regex in $APR_WANTED_REGEXES; do
4887 if test `expr $apr_version : $apr_wanted_regex` -ne 0; then
4888 APR_WANTED_REGEX_MATCH=1
4893 if test $APR_WANTED_REGEX_MATCH -eq 0; then
4894 echo "wanted regexes are $APR_WANTED_REGEXES"
4895 as_fn_error $? "invalid apr version found" "$LINENO" 5
4899 CPPFLAGS="$CPPFLAGS `$apr_config --cppflags`"
4900 if test $? -ne 0; then
4901 as_fn_error $? "apr-config --cppflags failed" "$LINENO" 5
4904 CFLAGS="$CFLAGS `$apr_config --cflags`"
4905 if test $? -ne 0; then
4906 as_fn_error $? "apr-config --cflags failed" "$LINENO" 5
4909 apr_ldflags="`$apr_config --ldflags`"
4910 if test $? -ne 0; then
4911 as_fn_error $? "apr-config --ldflags failed" "$LINENO" 5
4914 input_flags="$apr_ldflags"
4916 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4917 for flag in $input_flags; do
4919 for dir in $filtered_dirs; do
4920 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4925 if test "$filter" = "no"; then
4926 output_flags="$output_flags $flag"
4929 if test -n "$output_flags"; then
4930 printf "%s" "${output_flags# }"
4934 SVN_APR_INCLUDES="`$apr_config --includes`"
4935 if test $? -ne 0; then
4936 as_fn_error $? "apr-config --includes failed" "$LINENO" 5
4939 if test "$enable_all_static" = "yes"; then
4940 SVN_APR_LIBS="`$apr_config --link-ld --libs`"
4941 if test $? -ne 0; then
4942 as_fn_error $? "apr-config --link-ld --libs failed" "$LINENO" 5
4945 SVN_APR_LIBS="`$apr_config --link-ld`"
4946 if test $? -ne 0; then
4947 as_fn_error $? "apr-config --link-ld failed" "$LINENO" 5
4951 input_flags="$SVN_APR_LIBS"
4953 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4954 for flag in $input_flags; do
4956 for dir in $filtered_dirs; do
4957 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4962 if test "$filter" = "no"; then
4963 output_flags="$output_flags $flag"
4966 if test -n "$output_flags"; then
4967 printf "%s" "${output_flags# }"
4971 SVN_APR_SHLIB_PATH_VAR="`$apr_config --shlib-path-var`"
4972 if test $? -ne 0; then
4973 as_fn_error $? "apr-config --shlib-path-var failed" "$LINENO" 5
4976 SVN_APR_CONFIG="$apr_config"
4983 if test `expr $apr_version : 2` -ne 0; then
4985 apu_config=$apr_config
4987 SVN_APRUTIL_CONFIG="$apu_config"
4990 SVN_APR_MAJOR_VERSION=2
4993 APU_VER_REGEXES="1\.[3-9]\."
4995 APRUTIL_WANTED_REGEXES="$APU_VER_REGEXES"
4997 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime Utility (APRUTIL) library configuration" >&5
4998 $as_echo "$as_me: Apache Portable Runtime Utility (APRUTIL) library configuration" >&6;}
5003 if test "$target_os" = "os2-emx"; then
5004 # Scripts don't pass test -x on OS/2
5010 acceptable_majors="1 0"
5012 apu_temp_acceptable_apu_config=""
5013 for apu_temp_major in $acceptable_majors
5015 case $apu_temp_major in
5017 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-config"
5020 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-$apu_temp_major-config"
5025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR-util" >&5
5026 $as_echo_n "checking for APR-util... " >&6; }
5028 # Check whether --with-apr-util was given.
5029 if test "${with_apr_util+set}" = set; then :
5030 withval=$with_apr_util;
5031 if test "$withval" = "no" || test "$withval" = "yes"; then
5032 as_fn_error $? "--with-apr-util requires a directory or file to be provided" "$LINENO" 5
5035 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
5037 for lookdir in "$withval/bin" "$withval"
5039 if $TEST_X "$lookdir/$apu_temp_apu_config_file"; then
5040 apu_config="$lookdir/$apu_temp_apu_config_file"
5048 if test "$apu_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
5049 apu_config="$withval"
5053 if test "$apu_found" != "yes"; then
5054 as_fn_error $? "the --with-apr-util parameter is incorrect. It must specify an install prefix, a build directory, or an apu-config file." "$LINENO" 5
5059 if test -n "1" && test "1" = "1"; then
5060 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
5062 if $apu_temp_apu_config_file --help > /dev/null 2>&1 ; then
5063 apu_config="$apu_temp_apu_config_file"
5068 for lookdir in /usr /usr/local /usr/local/apr /opt/apr; do
5069 if $TEST_X "$lookdir/bin/$apu_temp_apu_config_file"; then
5070 apu_config="$lookdir/bin/$apu_temp_apu_config_file"
5079 if test "$apu_found" = "no" && test -d """"; then
5080 apu_temp_abs_srcdir="`cd \"""\" && pwd`"
5081 apu_found="reconfig"
5082 apu_bundled_major="`sed -n '/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apu_version.h\"`"
5083 case $apu_bundled_major in
5085 as_fn_error $? "failed to find major version of bundled APU" "$LINENO" 5
5088 apu_temp_apu_config_file="apu-config"
5091 apu_temp_apu_config_file="apu-$apu_bundled_major-config"
5094 if test -n """"; then
5095 apu_config="""/$apu_temp_apu_config_file"
5097 apu_config="""/$apu_temp_apu_config_file"
5104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_found" >&5
5105 $as_echo "$apu_found" >&6; }
5108 if test $apu_found = "no"; then
5109 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APRUTIL not found" >&5
5110 $as_echo "$as_me: WARNING: APRUTIL not found" >&2;}
5112 echo "The Apache Portable Runtime Utility (APRUTIL) library cannot be found."
5113 echo "Install APRUTIL on this system and configure Subversion with the"
5114 echo " appropriate --with-apr-util option."
5116 as_fn_error $? "no suitable APRUTIL found" "$LINENO" 5
5120 if test $apu_found = "reconfig"; then
5121 as_fn_error $? "Unexpected APRUTIL reconfig" "$LINENO" 5
5125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APRUTIL version" >&5
5126 $as_echo_n "checking APRUTIL version... " >&6; }
5127 apu_version="`$apu_config --version`"
5128 if test $? -ne 0; then
5129 # This is a hack as suggested by Ben Collins-Sussman. It can be
5130 # removed after apache 2.0.44 has been released. (The apu-config
5131 # shipped in 2.0.43 contains a correct version number, but
5132 # stupidly doesn't understand the --version switch.)
5133 apu_version=`grep "APRUTIL_DOTTED_VERSION=" $(which $apu_config) | tr -d "APRUTIL_DOTTED_VERSION="| tr -d '"'`
5135 # apu-config --version failed.
5136 # Your apu-config doesn't support the --version switch, please upgrade
5137 # to APR-UTIL more recent than 2002-Nov-05.])
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_version" >&5
5140 $as_echo "$apu_version" >&6; }
5142 APU_WANTED_REGEX_MATCH=0
5143 for apu_wanted_regex in $APRUTIL_WANTED_REGEXES; do
5144 if test `expr $apu_version : $apu_wanted_regex` -ne 0; then
5145 APU_WANTED_REGEX_MATCH=1
5150 if test $APU_WANTED_REGEX_MATCH -eq 0; then
5151 echo "wanted regexes are $APRUTIL_WANTED_REGEXES"
5152 as_fn_error $? "invalid APRUTIL version found" "$LINENO" 5
5156 apu_ldflags="`$apu_config --ldflags`"
5157 if test $? -ne 0; then
5158 as_fn_error $? "apu-config --ldflags failed" "$LINENO" 5
5161 input_flags="$apu_ldflags"
5163 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5164 for flag in $input_flags; do
5166 for dir in $filtered_dirs; do
5167 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5172 if test "$filter" = "no"; then
5173 output_flags="$output_flags $flag"
5176 if test -n "$output_flags"; then
5177 printf "%s" "${output_flags# }"
5181 SVN_APRUTIL_INCLUDES="`$apu_config --includes`"
5182 if test $? -ne 0; then
5183 as_fn_error $? "apu-config --includes failed" "$LINENO" 5
5186 if test "$enable_all_static" = "yes"; then
5187 SVN_APRUTIL_LIBS="`$apu_config --link-ld --libs`"
5188 if test $? -ne 0; then
5189 as_fn_error $? "apu-config --link-ld --libs failed" "$LINENO" 5
5192 SVN_APRUTIL_LIBS="`$apu_config --link-ld`"
5193 if test $? -ne 0; then
5194 as_fn_error $? "apu-config --link-ld failed" "$LINENO" 5
5198 input_flags="$SVN_APRUTIL_LIBS"
5200 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5201 for flag in $input_flags; do
5203 for dir in $filtered_dirs; do
5204 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5209 if test "$filter" = "no"; then
5210 output_flags="$output_flags $flag"
5213 if test -n "$output_flags"; then
5214 printf "%s" "${output_flags# }"
5219 SVN_APRUTIL_CONFIG="$apu_config"
5223 SVN_HAVE_OLD_EXPAT="`$apu_config --old-expat`"
5224 if test "$SVN_HAVE_OLD_EXPAT" = "yes"; then
5226 $as_echo "#define SVN_HAVE_OLD_EXPAT 1" >>confdefs.h
5230 SVN_APR_MAJOR_VERSION=1
5233 SVN_LT_SOVERSION="-version-info $svn_lib_ver"
5236 cat >>confdefs.h <<_ACEOF
5237 #define SVN_SOVERSION $svn_lib_ver
5241 # Extract the first word of "pkg-config", so it can be a program name with args.
5242 set dummy pkg-config; ac_word=$2
5243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5244 $as_echo_n "checking for $ac_word... " >&6; }
5245 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5246 $as_echo_n "(cached) " >&6
5250 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5257 test -z "$as_dir" && as_dir=.
5258 for ac_exec_ext in '' $ac_executable_extensions; do
5259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5260 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5271 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5272 if test -n "$PKG_CONFIG"; then
5273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5274 $as_echo "$PKG_CONFIG" >&6; }
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5277 $as_echo "no" >&6; }
5283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5284 $as_echo_n "checking for ANSI C header files... " >&6; }
5285 if ${ac_cv_header_stdc+:} false; then :
5286 $as_echo_n "(cached) " >&6
5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5303 if ac_fn_c_try_compile "$LINENO"; then :
5304 ac_cv_header_stdc=yes
5306 ac_cv_header_stdc=no
5308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5310 if test $ac_cv_header_stdc = yes; then
5311 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5317 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5318 $EGREP "memchr" >/dev/null 2>&1; then :
5321 ac_cv_header_stdc=no
5327 if test $ac_cv_header_stdc = yes; then
5328 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5334 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5335 $EGREP "free" >/dev/null 2>&1; then :
5338 ac_cv_header_stdc=no
5344 if test $ac_cv_header_stdc = yes; then
5345 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5346 if test "$cross_compiling" = yes; then :
5349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5350 /* end confdefs.h. */
5353 #if ((' ' & 0x0FF) == 0x020)
5354 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5355 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5357 # define ISLOWER(c) \
5358 (('a' <= (c) && (c) <= 'i') \
5359 || ('j' <= (c) && (c) <= 'r') \
5360 || ('s' <= (c) && (c) <= 'z'))
5361 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5364 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5369 for (i = 0; i < 256; i++)
5370 if (XOR (islower (i), ISLOWER (i))
5371 || toupper (i) != TOUPPER (i))
5376 if ac_fn_c_try_run "$LINENO"; then :
5379 ac_cv_header_stdc=no
5381 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5382 conftest.$ac_objext conftest.beam conftest.$ac_ext
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5388 $as_echo "$ac_cv_header_stdc" >&6; }
5389 if test $ac_cv_header_stdc = yes; then
5391 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5395 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5396 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5397 inttypes.h stdint.h unistd.h
5399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5403 cat >>confdefs.h <<_ACEOF
5404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5417 serf_check_major="1"
5418 serf_check_minor="3"
5419 serf_check_patch="4"
5420 serf_check_version="1.3.4"
5423 # Check whether --with-serf was given.
5424 if test "${with_serf+set}" = set; then :
5426 if test "$withval" = "yes" ; then
5428 elif test "$withval" = "no" ; then
5432 serf_prefix="$withval"
5438 if test "$serf_skip" = "no" ; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via pkg-config" >&5
5441 $as_echo "$as_me: serf library configuration via pkg-config" >&6;}
5442 if test -n "$PKG_CONFIG"; then
5443 for serf_major in serf-2 serf-1; do
5444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $serf_major library" >&5
5445 $as_echo_n "checking for $serf_major library... " >&6; }
5446 if test -n "$serf_prefix" ; then
5447 if test -e "$serf_prefix/$serf_major.pc" ; then
5448 serf_pc_arg="$serf_prefix/$serf_major.pc"
5449 elif test -e "$serf_prefix/lib/pkgconfig/$serf_major.pc" ; then
5450 serf_pc_arg="$serf_prefix/lib/pkgconfig/$serf_major.pc"
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5457 serf_pc_arg="$serf_major"
5459 if $PKG_CONFIG $serf_pc_arg --exists; then
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5461 $as_echo "yes" >&6; }
5462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf library version" >&5
5463 $as_echo_n "checking serf library version... " >&6; }
5464 SERF_VERSION=`$PKG_CONFIG $serf_pc_arg --modversion`
5465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SERF_VERSION" >&5
5466 $as_echo "$SERF_VERSION" >&6; }
5467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf version is suitable" >&5
5468 $as_echo_n "checking serf version is suitable... " >&6; }
5469 if $PKG_CONFIG $serf_pc_arg --atleast-version=$serf_check_version; then
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5471 $as_echo "yes" >&6; }
5473 SVN_SERF_INCLUDES=`$PKG_CONFIG $serf_pc_arg --cflags | $SED -e 's/ -D[^ ]*//g' -e 's/^-D[^ ]*//g'`
5474 SVN_SERF_LIBS=`$PKG_CONFIG $serf_pc_arg --libs-only-l`
5475 LDFLAGS="$LDFLAGS `$PKG_CONFIG $serf_pc_arg --libs | $SED -e 's/-l[^ ]*//g'`"
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5479 $as_echo "no" >&6; }
5480 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5481 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5485 $as_echo "no" >&6; }
5490 if test -n "$serf_prefix" && test "$serf_found" = "no" ; then
5492 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via prefix" >&5
5493 $as_echo "$as_me: serf library configuration via prefix" >&6;}
5495 for serf_major in serf-2 serf-1; do
5496 if ! test -d $serf_prefix/include/$serf_major; then continue; fi
5497 save_cppflags="$CPPFLAGS"
5498 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$serf_prefix/include/$serf_major"
5499 for ac_header in serf.h
5501 ac_fn_c_check_header_mongrel "$LINENO" "serf.h" "ac_cv_header_serf_h" "$ac_includes_default"
5502 if test "x$ac_cv_header_serf_h" = xyes; then :
5503 cat >>confdefs.h <<_ACEOF
5504 #define HAVE_SERF_H 1
5507 save_ldflags="$LDFLAGS"
5509 input_flags="-L$serf_prefix/lib"
5511 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5512 for flag in $input_flags; do
5514 for dir in $filtered_dirs; do
5515 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5520 if test "$filter" = "no"; then
5521 output_flags="$output_flags $flag"
5524 if test -n "$output_flags"; then
5525 printf "%s" "${output_flags# }"
5528 as_ac_Lib=`$as_echo "ac_cv_lib_$serf_major''_serf_context_create" | $as_tr_sh`
5529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for serf_context_create in -l$serf_major" >&5
5530 $as_echo_n "checking for serf_context_create in -l$serf_major... " >&6; }
5531 if eval \${$as_ac_Lib+:} false; then :
5532 $as_echo_n "(cached) " >&6
5534 ac_check_lib_save_LIBS=$LIBS
5535 LIBS="-l$serf_major $SVN_APRUTIL_LIBS $SVN_APR_LIBS -lz $LIBS"
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5539 /* Override any GCC internal prototype to avoid an error.
5540 Use char because int might match the return type of a GCC
5541 builtin and then its argument prototype would still apply. */
5545 char serf_context_create ();
5549 return serf_context_create ();
5554 if ac_fn_c_try_link "$LINENO"; then :
5555 eval "$as_ac_Lib=yes"
5557 eval "$as_ac_Lib=no"
5559 rm -f core conftest.err conftest.$ac_objext \
5560 conftest$ac_exeext conftest.$ac_ext
5561 LIBS=$ac_check_lib_save_LIBS
5563 eval ac_res=\$$as_ac_Lib
5564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5565 $as_echo "$ac_res" >&6; }
5566 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5569 /* end confdefs.h. */
5578 #if ! SERF_VERSION_AT_LEAST($serf_check_major, $serf_check_minor, $serf_check_patch)
5579 #error Serf version too old: need $serf_check_version
5586 if ac_fn_c_try_compile "$LINENO"; then :
5589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5590 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5596 LDFLAGS="$save_ldflags"
5601 CPPFLAGS="$save_cppflags"
5602 test $serf_found = yes && break
5605 if test $serf_found = "yes"; then
5606 SVN_SERF_INCLUDES="-I$serf_prefix/include/$serf_major"
5607 if test -e "$serf_prefix/lib/lib$serf_major.la"; then
5608 SVN_SERF_LIBS="$serf_prefix/lib/lib$serf_major.la"
5610 SVN_SERF_LIBS="-l$serf_major"
5612 input_flags="-L$serf_prefix/lib"
5614 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5615 for flag in $input_flags; do
5617 for dir in $filtered_dirs; do
5618 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5623 if test "$filter" = "no"; then
5624 output_flags="$output_flags $flag"
5627 if test -n "$output_flags"; then
5628 printf "%s" "${output_flags# }"
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking was serf enabled" >&5
5637 $as_echo_n "checking was serf enabled... " >&6; }
5638 if test "$serf_found" = "yes"; then
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5640 $as_echo "yes" >&6; }
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5643 $as_echo "no" >&6; }
5646 echo "An appropriate version of serf could not be found, so libsvn_ra_serf"
5647 echo "will not be built. If you want to build libsvn_ra_serf, please"
5648 echo "install serf $serf_check_version or newer."
5651 if test "$serf_required" = "yes"; then
5652 as_fn_error $? "Serf was explicitly enabled but an appropriate version was not found." "$LINENO" 5
5657 svn_lib_serf=$serf_found
5663 if test "$svn_lib_serf" = "yes"; then
5665 $as_echo "#define SVN_HAVE_SERF 1" >>confdefs.h
5670 apr_memcache_found=no
5673 # Check whether --with-apr_memcache was given.
5674 if test "${with_apr_memcache+set}" = set; then :
5675 withval=$with_apr_memcache;
5676 if test "$withval" = "yes" ; then
5677 as_fn_error $? "--with-apr_memcache requires an argument." "$LINENO" 5
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for separate apr_memcache package" >&5
5680 $as_echo "$as_me: looking for separate apr_memcache package" >&6;}
5681 apr_memcache_prefix=$withval
5682 save_cppflags="$CPPFLAGS"
5683 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$apr_memcache_prefix/include/apr_memcache-0"
5684 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5685 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5687 save_ldflags="$LDFLAGS"
5688 LDFLAGS="$LDFLAGS -L$apr_memcache_prefix/lib"
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -lapr_memcache" >&5
5690 $as_echo_n "checking for apr_memcache_create in -lapr_memcache... " >&6; }
5691 if ${ac_cv_lib_apr_memcache_apr_memcache_create+:} false; then :
5692 $as_echo_n "(cached) " >&6
5694 ac_check_lib_save_LIBS=$LIBS
5695 LIBS="-lapr_memcache $LIBS"
5696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5697 /* end confdefs.h. */
5699 /* Override any GCC internal prototype to avoid an error.
5700 Use char because int might match the return type of a GCC
5701 builtin and then its argument prototype would still apply. */
5705 char apr_memcache_create ();
5709 return apr_memcache_create ();
5714 if ac_fn_c_try_link "$LINENO"; then :
5715 ac_cv_lib_apr_memcache_apr_memcache_create=yes
5717 ac_cv_lib_apr_memcache_apr_memcache_create=no
5719 rm -f core conftest.err conftest.$ac_objext \
5720 conftest$ac_exeext conftest.$ac_ext
5721 LIBS=$ac_check_lib_save_LIBS
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_memcache_apr_memcache_create" >&5
5724 $as_echo "$ac_cv_lib_apr_memcache_apr_memcache_create" >&6; }
5725 if test "x$ac_cv_lib_apr_memcache_apr_memcache_create" = xyes; then :
5726 apr_memcache_found="standalone"
5729 LDFLAGS="$save_ldflags"
5733 CPPFLAGS="$save_cppflags"
5738 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for apr_memcache as part of apr-util" >&5
5739 $as_echo "$as_me: looking for apr_memcache as part of apr-util" >&6;}
5740 save_cppflags="$CPPFLAGS"
5741 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES"
5742 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5743 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5745 save_ldflags="$LDFLAGS"
5746 LDFLAGS="$LDFLAGS $SVN_APRUTIL_LIBS"
5747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -laprutil-1" >&5
5748 $as_echo_n "checking for apr_memcache_create in -laprutil-1... " >&6; }
5749 if ${ac_cv_lib_aprutil_1_apr_memcache_create+:} false; then :
5750 $as_echo_n "(cached) " >&6
5752 ac_check_lib_save_LIBS=$LIBS
5753 LIBS="-laprutil-1 $LIBS"
5754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5755 /* end confdefs.h. */
5757 /* Override any GCC internal prototype to avoid an error.
5758 Use char because int might match the return type of a GCC
5759 builtin and then its argument prototype would still apply. */
5763 char apr_memcache_create ();
5767 return apr_memcache_create ();
5772 if ac_fn_c_try_link "$LINENO"; then :
5773 ac_cv_lib_aprutil_1_apr_memcache_create=yes
5775 ac_cv_lib_aprutil_1_apr_memcache_create=no
5777 rm -f core conftest.err conftest.$ac_objext \
5778 conftest$ac_exeext conftest.$ac_ext
5779 LIBS=$ac_check_lib_save_LIBS
5781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aprutil_1_apr_memcache_create" >&5
5782 $as_echo "$ac_cv_lib_aprutil_1_apr_memcache_create" >&6; }
5783 if test "x$ac_cv_lib_aprutil_1_apr_memcache_create" = xyes; then :
5784 apr_memcache_found="aprutil"
5787 LDFLAGS="$save_ldflags"
5791 CPPFLAGS="$save_cppflags"
5797 if test $apr_memcache_found = "standalone"; then
5798 SVN_APR_MEMCACHE_INCLUDES="-I$apr_memcache_prefix/include/apr_memcache-0"
5799 SVN_APR_MEMCACHE_LIBS="$apr_memcache_prefix/lib/libapr_memcache.la"
5800 svn_lib_apr_memcache=yes
5801 elif test $apr_memcache_found = "aprutil"; then
5802 SVN_APR_MEMCACHE_INCLUDES=""
5803 SVN_APR_MEMCACHE_LIBS=""
5804 svn_lib_apr_memcache=yes
5805 elif test $apr_memcache_found = "reconfig"; then
5806 svn_lib_apr_memcache=yes
5808 svn_lib_apr_memcache=no
5815 if test "$svn_lib_apr_memcache" = "yes"; then
5817 $as_echo "#define SVN_HAVE_MEMCACHE 1" >>confdefs.h
5821 # Check whether --enable-apache-whitelist was given.
5822 if test "${enable_apache_whitelist+set}" = set; then :
5823 enableval=$enable_apache_whitelist; apache_whitelist_ver=$enableval
5825 apache_whitelist_ver=no
5828 HTTPD_WHITELIST="$apache_whitelist_ver"
5834 HTTPD_WANTED_MMN="20051115"
5836 HTTPD_WHITELIST_VER="$apache_whitelist_ver"
5838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module support via DSO through APXS" >&5
5839 $as_echo_n "checking for Apache module support via DSO through APXS... " >&6; }
5841 # Check whether --with-apxs was given.
5842 if test "${with_apxs+set}" = set; then :
5844 if test "$withval" = "yes"; then
5854 if test -z "$APXS"; then
5855 for i in /usr/local/apache2/bin /usr/local/apache/bin /usr/bin /usr/sbin ; do
5856 if test -f "$i/apxs2"; then
5860 if test -f "$i/apxs"; then
5867 if test -n "$APXS" && test "$APXS" != "no"; then
5868 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
5869 if test -r $APXS_INCLUDE/mod_dav.h; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $APXS" >&5
5871 $as_echo "found at $APXS" >&6; }
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking httpd version" >&5
5874 $as_echo_n "checking httpd version... " >&6; }
5875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5876 /* end confdefs.h. */
5878 #include "$APXS_INCLUDE/ap_mmn.h"
5879 #if AP_MODULE_MAGIC_AT_LEAST($HTTPD_WANTED_MMN,0)
5883 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5884 $EGREP "VERSION_OKAY" >/dev/null 2>&1; then :
5885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recent enough" >&5
5886 $as_echo "recent enough" >&6; }
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&5
5889 $as_echo "apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&6; }
5890 if test "$APXS_EXPLICIT" != ""; then
5891 as_fn_error $? "Apache APXS build explicitly requested, but apache version is too old" "$LINENO" 5
5899 elif test "$APXS_EXPLICIT" != ""; then
5900 as_fn_error $? "no - APXS refers to an old version of Apache
5901 Unable to locate $APXS_INCLUDE/mod_dav.h" "$LINENO" 5
5903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&5
5904 $as_echo "no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&6; }
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5909 $as_echo "no" >&6; }
5912 # check for some busted versions of mod_dav
5913 # in particular 2.2.25, 2.4.5, and 2.4.6 had the following bugs which are
5914 # troublesome for Subversion:
5915 # PR 55304: https://issues.apache.org/bugzilla/show_bug.cgi?id=55304
5916 # PR 55306: https://issues.apache.org/bugzilla/show_bug.cgi?id=55306
5917 # PR 55397: https://issues.apache.org/bugzilla/show_bug.cgi?id=55397
5918 if test -n "$APXS" && test "$APXS" != "no"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mod_dav version" >&5
5920 $as_echo_n "checking mod_dav version... " >&6; }
5921 HTTPD_MAJOR=`$SED -ne '/^#define AP_SERVER_MAJORVERSION_NUMBER/p' "$APXS_INCLUDE/ap_release.h" | $SED -e 's/^.*NUMBER *//'`
5922 HTTPD_MINOR=`$SED -ne '/^#define AP_SERVER_MINORVERSION_NUMBER/p' "$APXS_INCLUDE/ap_release.h" | $SED -e 's/^.*NUMBER *//'`
5923 HTTPD_PATCH=`$SED -ne '/^#define AP_SERVER_PATCHLEVEL_NUMBER/p' "$APXS_INCLUDE/ap_release.h" | $SED -e 's/^.*NUMBER *//'`
5924 HTTPD_VERSION="${HTTPD_MAJOR}.${HTTPD_MINOR}.${HTTPD_PATCH}"
5925 case "$HTTPD_VERSION" in
5926 $HTTPD_WHITELIST_VER)
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: acceptable (whitelist)" >&5
5928 $as_echo "acceptable (whitelist)" >&6; }
5931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5
5932 $as_echo "broken" >&6; }
5933 as_fn_error $? "Apache httpd version $HTTPD_VERSION includes a broken mod_dav; use a newer version of httpd" "$LINENO" 5
5936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: acceptable" >&5
5937 $as_echo "acceptable" >&6; }
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised" >&5
5941 $as_echo "unrecognised" >&6; }
5942 as_fn_error $? "Apache httpd version $HTTPD_VERSION not recognised" "$LINENO" 5
5947 if test -n "$APXS" && test "$APXS" != "no"; then
5948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Apache version is compatible with APR version" >&5
5949 $as_echo_n "checking whether Apache version is compatible with APR version... " >&6; }
5950 apr_major_version="${apr_version%%.*}"
5951 case "$apr_major_version" in
5953 apache_minor_version_wanted_regex="0"
5956 apache_minor_version_wanted_regex="[1-5]"
5959 apache_minor_version_wanted_regex="[3-5]"
5962 as_fn_error $? "unknown APR version" "$LINENO" 5
5965 case $HTTPD_MINOR in
5966 $apache_minor_version_wanted_regex)
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5968 $as_echo "yes" >&6; }
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5972 $as_echo "no" >&6; }
5973 as_fn_error $? "Apache version $HTTPD_VERSION incompatible with APR version $apr_version" "$LINENO" 5
5979 # Check whether --with-apache-libexecdir was given.
5980 if test "${with_apache_libexecdir+set}" = set; then :
5981 withval=$with_apache_libexecdir; APACHE_LIBEXECDIR="$withval"
5983 APACHE_LIBEXECDIR='no'
5987 INSTALL_APACHE_MODS=false
5988 if test -n "$APXS" && test "$APXS" != "no"; then
5989 APXS_CC="`$APXS -q CC`"
5990 APACHE_INCLUDES="$APACHE_INCLUDES -I$APXS_INCLUDE"
5992 if test "$APACHE_LIBEXECDIR" = 'no'; then
5993 APACHE_LIBEXECDIR="$libexecdir"
5994 elif test "$APACHE_LIBEXECDIR" = 'yes'; then
5995 APACHE_LIBEXECDIR="`$APXS -q libexecdir`"
5998 for ac_header in unistd.h
6000 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
6001 if test "x$ac_cv_header_unistd_h" = xyes; then :
6002 cat >>confdefs.h <<_ACEOF
6003 #define HAVE_UNISTD_H 1
6005 for ac_func in getpid
6007 ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid"
6008 if test "x$ac_cv_func_getpid" = xyes; then :
6009 cat >>confdefs.h <<_ACEOF
6010 #define HAVE_GETPID 1
6021 MMN_MAJOR=`$SED -ne '/^#define MODULE_MAGIC_NUMBER_MAJOR/p' "$APXS_INCLUDE/ap_mmn.h" | $SED -e 's/^.*MAJOR *//'`
6022 MMN_MINOR=`$SED -ne '/^#define MODULE_MAGIC_NUMBER_MINOR/p' "$APXS_INCLUDE/ap_mmn.h" | $SED -e 's/^.*MINOR *//' | $SED -e 's/ .*//'`
6023 if test "$MMN_MAJOR" = "20120211" && test "$MMN_MINOR" -lt "47" ; then
6024 # This is httpd 2.4 and it doesn't appear to have the required
6025 # API but the installation may have been patched.
6026 # Check whether --enable-broken-httpd-auth was given.
6027 if test "${enable_broken_httpd_auth+set}" = set; then :
6028 enableval=$enable_broken_httpd_auth; broken_httpd_auth=$enableval
6030 broken_httpd_auth=no
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ap_some_authn_required" >&5
6034 $as_echo_n "checking for ap_some_authn_required... " >&6; }
6035 old_CPPFLAGS="$CPPFLAGS"
6036 CPPFLAGS="$CPPFLAGS $APACHE_INCLUDES $SVN_APR_INCLUDES"
6037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6038 /* end confdefs.h. */
6039 #include "http_request.h"
6041 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6042 $EGREP "int.*\sap_some_authn_required\s*\(" >/dev/null 2>&1; then :
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6044 $as_echo "yes" >&6; }
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6048 $as_echo "no" >&6; }
6052 CPPFLAGS="$old_CPPFLAGS"
6053 if test "$working_auth" = "yes" ; then
6055 $as_echo "#define SVN_USE_FORCE_AUTHN 1" >>confdefs.h
6057 elif test "$enable_broken_httpd_auth" = "yes"; then
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ==============================================" >&5
6059 $as_echo "$as_me: WARNING: ==============================================" >&2;}
6060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache httpd $HTTPD_VERSION MMN $MMN_MAJOR.$MMN_MINOR" >&5
6061 $as_echo "$as_me: WARNING: Apache httpd $HTTPD_VERSION MMN $MMN_MAJOR.$MMN_MINOR" >&2;}
6062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion will be vulnerable to CVE-2015-3184" >&5
6063 $as_echo "$as_me: WARNING: Subversion will be vulnerable to CVE-2015-3184" >&2;}
6064 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ==============================================" >&5
6065 $as_echo "$as_me: WARNING: ==============================================" >&2;}
6067 $as_echo "#define SVN_ALLOW_BROKEN_HTTPD_AUTH 1" >>confdefs.h
6070 as_fn_error $? "Apache httpd $HTTPD_VERSION MMN $MMN_MAJOR.$MMN_MINOR has broken auth (CVE-2015-3184)" "$LINENO" 5
6074 BUILD_APACHE_RULE=apache-mod
6075 INSTALL_APACHE_RULE=install-mods-shared
6076 INSTALL_APACHE_MODS=true
6079 APACHE_LDFLAGS="-shrext .so"
6082 elif test x"$APXS" != x"no"; then
6083 echo "=================================================================="
6084 echo "WARNING: skipping the build of mod_dav_svn"
6085 echo " try using --with-apxs"
6086 echo "=================================================================="
6096 # there aren't any flags that interest us ...
6097 #if test -n "$APXS" && test "$APXS" != "no"; then
6098 # CFLAGS="$CFLAGS `$APXS -q CFLAGS CFLAGS_SHLIB`"
6101 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
6102 echo "=================================================================="
6103 echo "WARNING: You have chosen to compile Subversion with a different"
6104 echo " compiler than the one used to compile Apache."
6106 echo " Current compiler: $CC"
6107 echo " Apache's compiler: $APXS_CC"
6109 echo "This could cause some problems."
6110 echo "=================================================================="
6115 SQLITE_MINIMUM_VER="3.8.2"
6116 SQLITE_RECOMMENDED_VER="3.8.11.1"
6117 SQLITE_RECOMMENDED_VER_REL_YEAR="2015"
6118 SQLITE_URL="https://www.sqlite.org/$SQLITE_RECOMMENDED_VER_REL_YEAR/sqlite-amalgamation-$(printf %d%02d%02d%02d $(echo ${SQLITE_RECOMMENDED_VER} | sed -e 's/\./ /g')).zip"
6121 SQLITE_MINIMUM_VER="${SQLITE_MINIMUM_VER}"
6122 SQLITE_RECOMMENDED_VER="${SQLITE_RECOMMENDED_VER}"
6123 SQLITE_URL="${SQLITE_URL}"
6124 SQLITE_PKGNAME="sqlite3"
6128 version_string="$SQLITE_MINIMUM_VER"
6130 major=`expr $version_string : '\([0-9]*\)'`
6131 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
6132 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
6133 if test -z "$micro"; then
6136 sqlite_min_ver_num=`expr $major \* 1000000 \
6142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library" >&5
6143 $as_echo "$as_me: checking sqlite library" >&6;}
6146 # Check whether --with-sqlite was given.
6147 if test "${with_sqlite+set}" = set; then :
6148 withval=$with_sqlite;
6149 if test "$withval" = "yes" ; then
6150 as_fn_error $? "--with-sqlite requires an argument." "$LINENO" 5
6152 sqlite_dir="$withval"
6155 if test -d $sqlite_dir; then
6157 if test -z "$sqlite_dir"; then
6159 sqlite_include="sqlite3.h"
6161 sqlite_dir="$sqlite_dir"
6162 sqlite_include="$sqlite_dir/include/sqlite3.h"
6165 save_CPPFLAGS="$CPPFLAGS"
6166 save_LDFLAGS="$LDFLAGS"
6168 if test ! -z "$sqlite_dir"; then
6169 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
6170 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
6173 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
6174 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
6177 $as_echo_n "checking sqlite library version (via header)... " >&6; }
6178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6179 /* end confdefs.h. */
6181 #include "$sqlite_include"
6182 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6186 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6187 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
6189 $as_echo "okay" >&6; }
6190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
6191 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
6192 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
6193 $as_echo_n "(cached) " >&6
6195 ac_check_lib_save_LIBS=$LIBS
6196 LIBS="-lsqlite3 $LIBS"
6197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6198 /* end confdefs.h. */
6200 /* Override any GCC internal prototype to avoid an error.
6201 Use char because int might match the return type of a GCC
6202 builtin and then its argument prototype would still apply. */
6206 char sqlite3_close ();
6210 return sqlite3_close ();
6215 if ac_fn_c_try_link "$LINENO"; then :
6216 ac_cv_lib_sqlite3_sqlite3_close=yes
6218 ac_cv_lib_sqlite3_sqlite3_close=no
6220 rm -f core conftest.err conftest.$ac_objext \
6221 conftest$ac_exeext conftest.$ac_ext
6222 LIBS=$ac_check_lib_save_LIBS
6224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
6225 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
6226 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
6228 svn_lib_sqlite="yes"
6229 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
6230 SVN_SQLITE_LIBS="-lsqlite3"
6232 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
6234 input_flags="-L$sqlite_dir/lib -lsqlite3"
6236 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
6237 for flag in $input_flags; do
6239 for dir in $filtered_dirs; do
6240 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
6245 if test "$filter" = "no"; then
6246 output_flags="$output_flags $flag"
6249 if test -n "$output_flags"; then
6250 printf "%s" "${output_flags# }"
6258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
6259 $as_echo "unsupported SQLite version" >&6; }
6268 CPPFLAGS="$save_CPPFLAGS"
6269 LDFLAGS="$save_LDFLAGS"
6273 sqlite_amalg="$sqlite_dir"
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6275 $as_echo_n "checking sqlite amalgamation... " >&6; }
6276 if test ! -e $sqlite_amalg; then
6277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6278 $as_echo "no" >&6; }
6280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6281 $as_echo "yes" >&6; }
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6283 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6287 #include "$sqlite_amalg"
6288 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6292 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6293 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6295 $as_echo "amalgamation found and is okay" >&6; }
6298 beos* | mingw* | pw32* | cegcc* | cygwin*)
6299 svn_sqlite_dso_ldflags=
6303 # if libdl is installed we need to link against it
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6305 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6306 if ${ac_cv_lib_dl_dlopen+:} false; then :
6307 $as_echo_n "(cached) " >&6
6309 ac_check_lib_save_LIBS=$LIBS
6311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6312 /* end confdefs.h. */
6314 /* Override any GCC internal prototype to avoid an error.
6315 Use char because int might match the return type of a GCC
6316 builtin and then its argument prototype would still apply. */
6329 if ac_fn_c_try_link "$LINENO"; then :
6330 ac_cv_lib_dl_dlopen=yes
6332 ac_cv_lib_dl_dlopen=no
6334 rm -f core conftest.err conftest.$ac_objext \
6335 conftest$ac_exeext conftest.$ac_ext
6336 LIBS=$ac_check_lib_save_LIBS
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6339 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6340 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6341 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6344 svn_sqlite_dso_ldflags=
6351 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6352 if test "x$ac_cv_func_shl_load" = xyes; then :
6353 svn_sqlite_dso_ldflags=
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6356 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6357 if ${ac_cv_lib_dld_shl_load+:} false; then :
6358 $as_echo_n "(cached) " >&6
6360 ac_check_lib_save_LIBS=$LIBS
6362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6363 /* end confdefs.h. */
6365 /* Override any GCC internal prototype to avoid an error.
6366 Use char because int might match the return type of a GCC
6367 builtin and then its argument prototype would still apply. */
6380 if ac_fn_c_try_link "$LINENO"; then :
6381 ac_cv_lib_dld_shl_load=yes
6383 ac_cv_lib_dld_shl_load=no
6385 rm -f core conftest.err conftest.$ac_objext \
6386 conftest$ac_exeext conftest.$ac_ext
6387 LIBS=$ac_check_lib_save_LIBS
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6390 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6391 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6392 svn_sqlite_dso_ldflags="-ldld"
6394 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6395 if test "x$ac_cv_func_dlopen" = xyes; then :
6396 svn_sqlite_dso_ldflags=
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6399 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6400 if ${ac_cv_lib_dl_dlopen+:} false; then :
6401 $as_echo_n "(cached) " >&6
6403 ac_check_lib_save_LIBS=$LIBS
6405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6406 /* end confdefs.h. */
6408 /* Override any GCC internal prototype to avoid an error.
6409 Use char because int might match the return type of a GCC
6410 builtin and then its argument prototype would still apply. */
6423 if ac_fn_c_try_link "$LINENO"; then :
6424 ac_cv_lib_dl_dlopen=yes
6426 ac_cv_lib_dl_dlopen=no
6428 rm -f core conftest.err conftest.$ac_objext \
6429 conftest$ac_exeext conftest.$ac_ext
6430 LIBS=$ac_check_lib_save_LIBS
6432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6433 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6434 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6435 svn_sqlite_dso_ldflags="-ldl"
6437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6438 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6439 if ${ac_cv_lib_svld_dlopen+:} false; then :
6440 $as_echo_n "(cached) " >&6
6442 ac_check_lib_save_LIBS=$LIBS
6444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6445 /* end confdefs.h. */
6447 /* Override any GCC internal prototype to avoid an error.
6448 Use char because int might match the return type of a GCC
6449 builtin and then its argument prototype would still apply. */
6462 if ac_fn_c_try_link "$LINENO"; then :
6463 ac_cv_lib_svld_dlopen=yes
6465 ac_cv_lib_svld_dlopen=no
6467 rm -f core conftest.err conftest.$ac_objext \
6468 conftest$ac_exeext conftest.$ac_ext
6469 LIBS=$ac_check_lib_save_LIBS
6471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6472 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6473 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6474 svn_sqlite_dso_ldflags="-lsvld"
6476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6477 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6478 if ${ac_cv_lib_dld_dld_link+:} false; then :
6479 $as_echo_n "(cached) " >&6
6481 ac_check_lib_save_LIBS=$LIBS
6483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6484 /* end confdefs.h. */
6486 /* Override any GCC internal prototype to avoid an error.
6487 Use char because int might match the return type of a GCC
6488 builtin and then its argument prototype would still apply. */
6501 if ac_fn_c_try_link "$LINENO"; then :
6502 ac_cv_lib_dld_dld_link=yes
6504 ac_cv_lib_dld_dld_link=no
6506 rm -f core conftest.err conftest.$ac_objext \
6507 conftest$ac_exeext conftest.$ac_ext
6508 LIBS=$ac_check_lib_save_LIBS
6510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6511 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6512 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6513 svn_sqlite_dso_ldflags="-ldld"
6534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6535 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6536 if test -n "$svn_sqlite_dso_ldflags"; then
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6538 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6541 $as_echo "none" >&6; }
6545 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6547 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6548 if test -n "$svn_sqlite_dso_ldflags"; then
6549 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6551 SVN_SQLITE_LIBS="-lpthread"
6553 svn_lib_sqlite="yes"
6555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6556 $as_echo "unsupported amalgamation SQLite version" >&6; }
6564 if test -z "$svn_lib_sqlite"; then
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no suitable sqlite found in $sqlite_dir" >&5
6566 $as_echo "$as_me: WARNING: no suitable sqlite found in $sqlite_dir" >&2;}
6569 echo "An appropriate version of sqlite could not be found. We recommmend"
6570 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
6571 echo "Please either install a newer sqlite on this system"
6575 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
6576 echo " ${SQLITE_URL}"
6577 echo "unpack the archive using unzip and rename the resulting"
6578 echo "directory to:"
6579 echo "$abs_srcdir/sqlite-amalgamation"
6580 if test x"$abs_srcdir" != x"$abs_builddir"; then
6582 echo "$abs_builddir/sqlite-amalgamation"
6585 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
6592 sqlite_amalg="$abs_srcdir/sqlite-amalgamation/sqlite3.c"
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6594 $as_echo_n "checking sqlite amalgamation... " >&6; }
6595 if test ! -e $sqlite_amalg; then
6596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6597 $as_echo "no" >&6; }
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6600 $as_echo "yes" >&6; }
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6602 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6604 /* end confdefs.h. */
6606 #include "$sqlite_amalg"
6607 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6611 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6612 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6614 $as_echo "amalgamation found and is okay" >&6; }
6617 beos* | mingw* | pw32* | cegcc* | cygwin*)
6618 svn_sqlite_dso_ldflags=
6622 # if libdl is installed we need to link against it
6623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6624 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6625 if ${ac_cv_lib_dl_dlopen+:} false; then :
6626 $as_echo_n "(cached) " >&6
6628 ac_check_lib_save_LIBS=$LIBS
6630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6631 /* end confdefs.h. */
6633 /* Override any GCC internal prototype to avoid an error.
6634 Use char because int might match the return type of a GCC
6635 builtin and then its argument prototype would still apply. */
6648 if ac_fn_c_try_link "$LINENO"; then :
6649 ac_cv_lib_dl_dlopen=yes
6651 ac_cv_lib_dl_dlopen=no
6653 rm -f core conftest.err conftest.$ac_objext \
6654 conftest$ac_exeext conftest.$ac_ext
6655 LIBS=$ac_check_lib_save_LIBS
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6658 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6659 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6660 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6663 svn_sqlite_dso_ldflags=
6670 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6671 if test "x$ac_cv_func_shl_load" = xyes; then :
6672 svn_sqlite_dso_ldflags=
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6675 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6676 if ${ac_cv_lib_dld_shl_load+:} false; then :
6677 $as_echo_n "(cached) " >&6
6679 ac_check_lib_save_LIBS=$LIBS
6681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6682 /* end confdefs.h. */
6684 /* Override any GCC internal prototype to avoid an error.
6685 Use char because int might match the return type of a GCC
6686 builtin and then its argument prototype would still apply. */
6699 if ac_fn_c_try_link "$LINENO"; then :
6700 ac_cv_lib_dld_shl_load=yes
6702 ac_cv_lib_dld_shl_load=no
6704 rm -f core conftest.err conftest.$ac_objext \
6705 conftest$ac_exeext conftest.$ac_ext
6706 LIBS=$ac_check_lib_save_LIBS
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6709 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6710 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6711 svn_sqlite_dso_ldflags="-ldld"
6713 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6714 if test "x$ac_cv_func_dlopen" = xyes; then :
6715 svn_sqlite_dso_ldflags=
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6718 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6719 if ${ac_cv_lib_dl_dlopen+:} false; then :
6720 $as_echo_n "(cached) " >&6
6722 ac_check_lib_save_LIBS=$LIBS
6724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6725 /* end confdefs.h. */
6727 /* Override any GCC internal prototype to avoid an error.
6728 Use char because int might match the return type of a GCC
6729 builtin and then its argument prototype would still apply. */
6742 if ac_fn_c_try_link "$LINENO"; then :
6743 ac_cv_lib_dl_dlopen=yes
6745 ac_cv_lib_dl_dlopen=no
6747 rm -f core conftest.err conftest.$ac_objext \
6748 conftest$ac_exeext conftest.$ac_ext
6749 LIBS=$ac_check_lib_save_LIBS
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6752 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6753 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6754 svn_sqlite_dso_ldflags="-ldl"
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6757 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6758 if ${ac_cv_lib_svld_dlopen+:} false; then :
6759 $as_echo_n "(cached) " >&6
6761 ac_check_lib_save_LIBS=$LIBS
6763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6764 /* end confdefs.h. */
6766 /* Override any GCC internal prototype to avoid an error.
6767 Use char because int might match the return type of a GCC
6768 builtin and then its argument prototype would still apply. */
6781 if ac_fn_c_try_link "$LINENO"; then :
6782 ac_cv_lib_svld_dlopen=yes
6784 ac_cv_lib_svld_dlopen=no
6786 rm -f core conftest.err conftest.$ac_objext \
6787 conftest$ac_exeext conftest.$ac_ext
6788 LIBS=$ac_check_lib_save_LIBS
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6791 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6792 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6793 svn_sqlite_dso_ldflags="-lsvld"
6795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6796 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6797 if ${ac_cv_lib_dld_dld_link+:} false; then :
6798 $as_echo_n "(cached) " >&6
6800 ac_check_lib_save_LIBS=$LIBS
6802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6803 /* end confdefs.h. */
6805 /* Override any GCC internal prototype to avoid an error.
6806 Use char because int might match the return type of a GCC
6807 builtin and then its argument prototype would still apply. */
6820 if ac_fn_c_try_link "$LINENO"; then :
6821 ac_cv_lib_dld_dld_link=yes
6823 ac_cv_lib_dld_dld_link=no
6825 rm -f core conftest.err conftest.$ac_objext \
6826 conftest$ac_exeext conftest.$ac_ext
6827 LIBS=$ac_check_lib_save_LIBS
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6830 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6831 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6832 svn_sqlite_dso_ldflags="-ldld"
6853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6854 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6855 if test -n "$svn_sqlite_dso_ldflags"; then
6856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6857 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6860 $as_echo "none" >&6; }
6864 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6866 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6867 if test -n "$svn_sqlite_dso_ldflags"; then
6868 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6870 SVN_SQLITE_LIBS="-lpthread"
6872 svn_lib_sqlite="yes"
6874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6875 $as_echo "unsupported amalgamation SQLite version" >&6; }
6882 if test -z "$svn_lib_sqlite"; then
6884 sqlite_amalg="$abs_builddir/sqlite-amalgamation/sqlite3.c"
6885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6886 $as_echo_n "checking sqlite amalgamation... " >&6; }
6887 if test ! -e $sqlite_amalg; then
6888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6889 $as_echo "no" >&6; }
6891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6892 $as_echo "yes" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6894 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6896 /* end confdefs.h. */
6898 #include "$sqlite_amalg"
6899 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6903 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6904 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6906 $as_echo "amalgamation found and is okay" >&6; }
6909 beos* | mingw* | pw32* | cegcc* | cygwin*)
6910 svn_sqlite_dso_ldflags=
6914 # if libdl is installed we need to link against it
6915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6916 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6917 if ${ac_cv_lib_dl_dlopen+:} false; then :
6918 $as_echo_n "(cached) " >&6
6920 ac_check_lib_save_LIBS=$LIBS
6922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6925 /* Override any GCC internal prototype to avoid an error.
6926 Use char because int might match the return type of a GCC
6927 builtin and then its argument prototype would still apply. */
6940 if ac_fn_c_try_link "$LINENO"; then :
6941 ac_cv_lib_dl_dlopen=yes
6943 ac_cv_lib_dl_dlopen=no
6945 rm -f core conftest.err conftest.$ac_objext \
6946 conftest$ac_exeext conftest.$ac_ext
6947 LIBS=$ac_check_lib_save_LIBS
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6950 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6951 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6952 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6955 svn_sqlite_dso_ldflags=
6962 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6963 if test "x$ac_cv_func_shl_load" = xyes; then :
6964 svn_sqlite_dso_ldflags=
6966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6967 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6968 if ${ac_cv_lib_dld_shl_load+:} false; then :
6969 $as_echo_n "(cached) " >&6
6971 ac_check_lib_save_LIBS=$LIBS
6973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6974 /* end confdefs.h. */
6976 /* Override any GCC internal prototype to avoid an error.
6977 Use char because int might match the return type of a GCC
6978 builtin and then its argument prototype would still apply. */
6991 if ac_fn_c_try_link "$LINENO"; then :
6992 ac_cv_lib_dld_shl_load=yes
6994 ac_cv_lib_dld_shl_load=no
6996 rm -f core conftest.err conftest.$ac_objext \
6997 conftest$ac_exeext conftest.$ac_ext
6998 LIBS=$ac_check_lib_save_LIBS
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
7001 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
7002 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
7003 svn_sqlite_dso_ldflags="-ldld"
7005 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
7006 if test "x$ac_cv_func_dlopen" = xyes; then :
7007 svn_sqlite_dso_ldflags=
7009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
7010 $as_echo_n "checking for dlopen in -ldl... " >&6; }
7011 if ${ac_cv_lib_dl_dlopen+:} false; then :
7012 $as_echo_n "(cached) " >&6
7014 ac_check_lib_save_LIBS=$LIBS
7016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7017 /* end confdefs.h. */
7019 /* Override any GCC internal prototype to avoid an error.
7020 Use char because int might match the return type of a GCC
7021 builtin and then its argument prototype would still apply. */
7034 if ac_fn_c_try_link "$LINENO"; then :
7035 ac_cv_lib_dl_dlopen=yes
7037 ac_cv_lib_dl_dlopen=no
7039 rm -f core conftest.err conftest.$ac_objext \
7040 conftest$ac_exeext conftest.$ac_ext
7041 LIBS=$ac_check_lib_save_LIBS
7043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
7044 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
7045 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
7046 svn_sqlite_dso_ldflags="-ldl"
7048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
7049 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
7050 if ${ac_cv_lib_svld_dlopen+:} false; then :
7051 $as_echo_n "(cached) " >&6
7053 ac_check_lib_save_LIBS=$LIBS
7055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7056 /* end confdefs.h. */
7058 /* Override any GCC internal prototype to avoid an error.
7059 Use char because int might match the return type of a GCC
7060 builtin and then its argument prototype would still apply. */
7073 if ac_fn_c_try_link "$LINENO"; then :
7074 ac_cv_lib_svld_dlopen=yes
7076 ac_cv_lib_svld_dlopen=no
7078 rm -f core conftest.err conftest.$ac_objext \
7079 conftest$ac_exeext conftest.$ac_ext
7080 LIBS=$ac_check_lib_save_LIBS
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
7083 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
7084 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
7085 svn_sqlite_dso_ldflags="-lsvld"
7087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
7088 $as_echo_n "checking for dld_link in -ldld... " >&6; }
7089 if ${ac_cv_lib_dld_dld_link+:} false; then :
7090 $as_echo_n "(cached) " >&6
7092 ac_check_lib_save_LIBS=$LIBS
7094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7095 /* end confdefs.h. */
7097 /* Override any GCC internal prototype to avoid an error.
7098 Use char because int might match the return type of a GCC
7099 builtin and then its argument prototype would still apply. */
7112 if ac_fn_c_try_link "$LINENO"; then :
7113 ac_cv_lib_dld_dld_link=yes
7115 ac_cv_lib_dld_dld_link=no
7117 rm -f core conftest.err conftest.$ac_objext \
7118 conftest$ac_exeext conftest.$ac_ext
7119 LIBS=$ac_check_lib_save_LIBS
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
7122 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
7123 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
7124 svn_sqlite_dso_ldflags="-ldld"
7145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
7146 $as_echo_n "checking additional libraries for sqlite... " >&6; }
7147 if test -n "$svn_sqlite_dso_ldflags"; then
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
7149 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7152 $as_echo "none" >&6; }
7156 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
7158 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
7159 if test -n "$svn_sqlite_dso_ldflags"; then
7160 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
7162 SVN_SQLITE_LIBS="-lpthread"
7164 svn_lib_sqlite="yes"
7166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
7167 $as_echo "unsupported amalgamation SQLite version" >&6; }
7175 if test -z "$svn_lib_sqlite"; then
7179 sqlite_include="sqlite3.h"
7182 sqlite_include="/include/sqlite3.h"
7185 save_CPPFLAGS="$CPPFLAGS"
7186 save_LDFLAGS="$LDFLAGS"
7188 if test ! -z ""; then
7189 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
7190 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
7193 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
7194 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
7196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
7197 $as_echo_n "checking sqlite library version (via header)... " >&6; }
7198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7199 /* end confdefs.h. */
7201 #include "$sqlite_include"
7202 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
7206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7207 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
7208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
7209 $as_echo "okay" >&6; }
7210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
7211 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
7212 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
7213 $as_echo_n "(cached) " >&6
7215 ac_check_lib_save_LIBS=$LIBS
7216 LIBS="-lsqlite3 $LIBS"
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7220 /* Override any GCC internal prototype to avoid an error.
7221 Use char because int might match the return type of a GCC
7222 builtin and then its argument prototype would still apply. */
7226 char sqlite3_close ();
7230 return sqlite3_close ();
7235 if ac_fn_c_try_link "$LINENO"; then :
7236 ac_cv_lib_sqlite3_sqlite3_close=yes
7238 ac_cv_lib_sqlite3_sqlite3_close=no
7240 rm -f core conftest.err conftest.$ac_objext \
7241 conftest$ac_exeext conftest.$ac_ext
7242 LIBS=$ac_check_lib_save_LIBS
7244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
7245 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
7246 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
7248 svn_lib_sqlite="yes"
7249 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
7250 SVN_SQLITE_LIBS="-lsqlite3"
7252 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
7254 input_flags="-L$sqlite_dir/lib -lsqlite3"
7256 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
7257 for flag in $input_flags; do
7259 for dir in $filtered_dirs; do
7260 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
7265 if test "$filter" = "no"; then
7266 output_flags="$output_flags $flag"
7269 if test -n "$output_flags"; then
7270 printf "%s" "${output_flags# }"
7278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
7279 $as_echo "unsupported SQLite version" >&6; }
7288 CPPFLAGS="$save_CPPFLAGS"
7289 LDFLAGS="$save_LDFLAGS"
7293 if test -z "$svn_lib_sqlite"; then
7295 if test -n "$PKG_CONFIG"; then
7296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via pkg-config)" >&5
7297 $as_echo_n "checking sqlite library version (via pkg-config)... " >&6; }
7298 sqlite_version=`$PKG_CONFIG $SQLITE_PKGNAME --modversion --silence-errors`
7300 if test -n "$sqlite_version"; then
7302 version_string="$sqlite_version"
7304 major=`expr $version_string : '\([0-9]*\)'`
7305 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7306 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7307 if test -z "$micro"; then
7310 sqlite_ver_num=`expr $major \* 1000000 \
7315 if test "$sqlite_ver_num" -ge "$sqlite_min_ver_num"; then
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sqlite_version" >&5
7317 $as_echo "$sqlite_version" >&6; }
7318 svn_lib_sqlite="yes"
7319 SVN_SQLITE_INCLUDES="`$PKG_CONFIG $SQLITE_PKGNAME --cflags`"
7320 SVN_SQLITE_LIBS="`$PKG_CONFIG $SQLITE_PKGNAME --libs`"
7322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none or unsupported $sqlite_version" >&5
7323 $as_echo "none or unsupported $sqlite_version" >&6; }
7328 if test -z "$svn_lib_sqlite"; then
7329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7330 $as_echo "no" >&6; }
7335 if test -z "$svn_lib_sqlite"; then
7338 echo "An appropriate version of sqlite could not be found. We recommmend"
7339 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
7340 echo "Please either install a newer sqlite on this system"
7344 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
7345 echo " ${SQLITE_URL}"
7346 echo "unpack the archive using unzip and rename the resulting"
7347 echo "directory to:"
7348 echo "$abs_srcdir/sqlite-amalgamation"
7349 if test x"$abs_srcdir" != x"$abs_builddir"; then
7351 echo "$abs_builddir/sqlite-amalgamation"
7354 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
7365 # Check whether --enable-sqlite-compatibility-version was given.
7366 if test "${enable_sqlite_compatibility_version+set}" = set; then :
7367 enableval=$enable_sqlite_compatibility_version; sqlite_compat_ver=$enableval
7369 sqlite_compat_ver=no
7373 if test -n "$sqlite_compat_ver" && test "$sqlite_compat_ver" != no; then
7375 version_string="$sqlite_compat_ver"
7377 major=`expr $version_string : '\([0-9]*\)'`
7378 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7379 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7380 if test -z "$micro"; then
7383 sqlite_compat_ver_num=`expr $major \* 1000000 \
7387 CFLAGS="-DSVN_SQLITE_MIN_VERSION='\"$sqlite_compat_ver\"' $CFLAGS"
7388 CFLAGS="-DSVN_SQLITE_MIN_VERSION_NUMBER=$sqlite_compat_ver_num $CFLAGS"
7392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler provides atomic builtins" >&5
7393 $as_echo_n "checking whether the compiler provides atomic builtins... " >&6; }
7394 if ${svn_cv_atomic_builtins+:} false; then :
7395 $as_echo_n "(cached) " >&6
7397 if test "$cross_compiling" = yes; then :
7398 svn_cv_atomic_builtins=no
7400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7401 /* end confdefs.h. */
7405 unsigned long long val = 1010, tmp, *mem = &val;
7407 if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020)
7412 if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010)
7415 if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0)
7420 if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp)
7423 if (__sync_lock_test_and_set(&val, 4040) != 3030)
7428 if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp)
7431 __sync_synchronize();
7439 if ac_fn_c_try_run "$LINENO"; then :
7440 svn_cv_atomic_builtins=yes
7442 svn_cv_atomic_builtins=no
7444 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7445 conftest.$ac_objext conftest.beam conftest.$ac_ext
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_atomic_builtins" >&5
7450 $as_echo "$svn_cv_atomic_builtins" >&6; }
7452 if test "$svn_cv_atomic_builtins" = "yes"; then
7454 $as_echo "#define SVN_HAS_ATOMIC_BUILTINS 1" >>confdefs.h
7459 if test "${bindir}" = '${exec_prefix}/bin'; then
7460 if test "${exec_prefix}" = "NONE"; then
7461 if test "${prefix}" = "NONE"; then
7462 SVN_BINDIR="${ac_default_prefix}/bin"
7464 SVN_BINDIR="${prefix}/bin"
7467 SVN_BINDIR="${exec_prefix}/bin"
7470 SVN_BINDIR="${bindir}"
7473 SVN_BINDIR="`eval echo ${SVN_BINDIR}`"
7477 cat >>confdefs.h <<_ACEOF
7478 #define SVN_BINDIR "${SVN_BINDIR}"
7482 localedir='${datadir}/locale'
7485 if test "${prefix}" = "NONE" \
7486 && ( test "${datadir}" = '${prefix}/share' \
7487 || ( test "${datadir}" = '${datarootdir}' \
7488 && test "${datarootdir}" = '${prefix}/share' ) ); then
7489 exp_localedir='${ac_default_prefix}/share/locale'
7491 exp_localedir=$localedir
7495 svn_cur=""${exp_localedir}""
7496 while test "x${svn_cur}" != "x${svn_last}";
7498 svn_last="${svn_cur}"
7499 svn_cur=`eval "echo ${svn_cur}"`
7501 svn_localedir="${svn_cur}"
7504 cat >>confdefs.h <<_ACEOF
7505 #define SVN_LOCALE_DIR "${svn_localedir}"
7509 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring libtool now" >&5
7510 $as_echo "$as_me: configuring libtool now" >&6;}
7513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7514 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7519 macro_version='2.4.6'
7520 macro_revision='2.4.6'
7534 ltmain=$ac_aux_dir/ltmain.sh
7536 # Backslashify metacharacters that are still active within
7537 # double-quoted strings.
7538 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7540 # Same as above, but do not quote variable references.
7541 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7543 # Sed substitution to delay expansion of an escaped shell variable in a
7544 # double_quote_subst'ed string.
7545 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7547 # Sed substitution to delay expansion of an escaped single quote.
7548 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7550 # Sed substitution to avoid accidental globbing in evaled expressions
7551 no_glob_subst='s/\*/\\\*/g'
7553 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7554 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7555 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7558 $as_echo_n "checking how to print strings... " >&6; }
7559 # Test print first, because it will be a builtin if present.
7560 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7561 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7563 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7566 # Use this function as a fallback that always works.
7567 func_fallback_echo ()
7569 eval 'cat <<_LTECHO_EOF
7573 ECHO='func_fallback_echo'
7576 # func_echo_all arg...
7577 # Invoke $ECHO with all args, space-separated.
7584 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7585 $as_echo "printf" >&6; } ;;
7586 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7587 $as_echo "print -r" >&6; } ;;
7588 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7589 $as_echo "cat" >&6; } ;;
7605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7606 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7607 if ${ac_cv_path_SED+:} false; then :
7608 $as_echo_n "(cached) " >&6
7610 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7611 for ac_i in 1 2 3 4 5 6 7; do
7612 ac_script="$ac_script$as_nl$ac_script"
7614 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7615 { ac_script=; unset ac_script;}
7616 if test -z "$SED"; then
7617 ac_path_SED_found=false
7618 # Loop through the user's path and test for each of PROGNAME-LIST
7619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 test -z "$as_dir" && as_dir=.
7624 for ac_prog in sed gsed; do
7625 for ac_exec_ext in '' $ac_executable_extensions; do
7626 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7627 as_fn_executable_p "$ac_path_SED" || continue
7628 # Check for GNU ac_path_SED and select it if it is found.
7629 # Check for GNU $ac_path_SED
7630 case `"$ac_path_SED" --version 2>&1` in
7632 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7635 $as_echo_n 0123456789 >"conftest.in"
7638 cat "conftest.in" "conftest.in" >"conftest.tmp"
7639 mv "conftest.tmp" "conftest.in"
7640 cp "conftest.in" "conftest.nl"
7641 $as_echo '' >> "conftest.nl"
7642 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7643 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7644 as_fn_arith $ac_count + 1 && ac_count=$as_val
7645 if test $ac_count -gt ${ac_path_SED_max-0}; then
7646 # Best one so far, save it but keep looking for a better one
7647 ac_cv_path_SED="$ac_path_SED"
7648 ac_path_SED_max=$ac_count
7650 # 10*(2^10) chars as input seems more than enough
7651 test $ac_count -gt 10 && break
7653 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7656 $ac_path_SED_found && break 3
7661 if test -z "$ac_cv_path_SED"; then
7662 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7670 $as_echo "$ac_cv_path_SED" >&6; }
7671 SED="$ac_cv_path_SED"
7674 test -z "$SED" && SED=sed
7675 Xsed="$SED -e 1s/^X//"
7687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7688 $as_echo_n "checking for fgrep... " >&6; }
7689 if ${ac_cv_path_FGREP+:} false; then :
7690 $as_echo_n "(cached) " >&6
7692 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7693 then ac_cv_path_FGREP="$GREP -F"
7695 if test -z "$FGREP"; then
7696 ac_path_FGREP_found=false
7697 # Loop through the user's path and test for each of PROGNAME-LIST
7698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7699 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7702 test -z "$as_dir" && as_dir=.
7703 for ac_prog in fgrep; do
7704 for ac_exec_ext in '' $ac_executable_extensions; do
7705 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7706 as_fn_executable_p "$ac_path_FGREP" || continue
7707 # Check for GNU ac_path_FGREP and select it if it is found.
7708 # Check for GNU $ac_path_FGREP
7709 case `"$ac_path_FGREP" --version 2>&1` in
7711 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7714 $as_echo_n 0123456789 >"conftest.in"
7717 cat "conftest.in" "conftest.in" >"conftest.tmp"
7718 mv "conftest.tmp" "conftest.in"
7719 cp "conftest.in" "conftest.nl"
7720 $as_echo 'FGREP' >> "conftest.nl"
7721 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7722 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7723 as_fn_arith $ac_count + 1 && ac_count=$as_val
7724 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7725 # Best one so far, save it but keep looking for a better one
7726 ac_cv_path_FGREP="$ac_path_FGREP"
7727 ac_path_FGREP_max=$ac_count
7729 # 10*(2^10) chars as input seems more than enough
7730 test $ac_count -gt 10 && break
7732 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7735 $ac_path_FGREP_found && break 3
7740 if test -z "$ac_cv_path_FGREP"; then
7741 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7744 ac_cv_path_FGREP=$FGREP
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7750 $as_echo "$ac_cv_path_FGREP" >&6; }
7751 FGREP="$ac_cv_path_FGREP"
7754 test -z "$GREP" && GREP=grep
7774 # Check whether --with-gnu-ld was given.
7775 if test "${with_gnu_ld+set}" = set; then :
7776 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7782 if test yes = "$GCC"; then
7783 # Check if gcc -print-prog-name=ld gives a path.
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7785 $as_echo_n "checking for ld used by $CC... " >&6; }
7788 # gcc leaves a trailing carriage return, which upsets mingw
7789 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7791 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7794 # Accept absolute paths.
7796 re_direlt='/[^/][^/]*/\.\./'
7797 # Canonicalize the pathname of ld
7798 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7799 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7800 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7802 test -z "$LD" && LD=$ac_prog
7805 # If it fails, then pretend we aren't using GCC.
7809 # If it is relative, then search for the first ld in PATH.
7813 elif test yes = "$with_gnu_ld"; then
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7815 $as_echo_n "checking for GNU ld... " >&6; }
7817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7818 $as_echo_n "checking for non-GNU ld... " >&6; }
7820 if ${lt_cv_path_LD+:} false; then :
7821 $as_echo_n "(cached) " >&6
7823 if test -z "$LD"; then
7824 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7825 for ac_dir in $PATH; do
7827 test -z "$ac_dir" && ac_dir=.
7828 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7829 lt_cv_path_LD=$ac_dir/$ac_prog
7830 # Check to see if the program is GNU ld. I'd rather use --version,
7831 # but apparently some variants of GNU ld only accept -v.
7832 # Break only if it was the GNU/non-GNU ld that we prefer.
7833 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7834 *GNU* | *'with BFD'*)
7835 test no != "$with_gnu_ld" && break
7838 test yes != "$with_gnu_ld" && break
7845 lt_cv_path_LD=$LD # Let the user override the test with a path.
7850 if test -n "$LD"; then
7851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7852 $as_echo "$LD" >&6; }
7854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7855 $as_echo "no" >&6; }
7857 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7859 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7860 if ${lt_cv_prog_gnu_ld+:} false; then :
7861 $as_echo_n "(cached) " >&6
7863 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7864 case `$LD -v 2>&1 </dev/null` in
7865 *GNU* | *'with BFD'*)
7866 lt_cv_prog_gnu_ld=yes
7869 lt_cv_prog_gnu_ld=no
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7874 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7875 with_gnu_ld=$lt_cv_prog_gnu_ld
7885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7886 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7887 if ${lt_cv_path_NM+:} false; then :
7888 $as_echo_n "(cached) " >&6
7890 if test -n "$NM"; then
7891 # Let the user override the test.
7894 lt_nm_to_check=${ac_tool_prefix}nm
7895 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7896 lt_nm_to_check="$lt_nm_to_check nm"
7898 for lt_tmp_nm in $lt_nm_to_check; do
7899 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7900 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7902 test -z "$ac_dir" && ac_dir=.
7903 tmp_nm=$ac_dir/$lt_tmp_nm
7904 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7905 # Check to see if the nm accepts a BSD-compat flag.
7906 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7907 # nm: unknown option "B" ignored
7908 # Tru64's nm complains that /dev/null is an invalid object file
7909 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7911 mingw*) lt_bad_file=conftest.nm/nofile ;;
7912 *) lt_bad_file=/dev/null ;;
7914 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7915 *$lt_bad_file* | *'Invalid file or object type'*)
7916 lt_cv_path_NM="$tmp_nm -B"
7920 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7922 lt_cv_path_NM="$tmp_nm -p"
7926 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7927 continue # so that we can try to find one that supports BSD flags
7936 : ${lt_cv_path_NM=no}
7939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7940 $as_echo "$lt_cv_path_NM" >&6; }
7941 if test no != "$lt_cv_path_NM"; then
7944 # Didn't find any BSD compatible name lister, look for dumpbin.
7945 if test -n "$DUMPBIN"; then :
7946 # Let the user override the test.
7948 if test -n "$ac_tool_prefix"; then
7949 for ac_prog in dumpbin "link -dump"
7951 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7952 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7954 $as_echo_n "checking for $ac_word... " >&6; }
7955 if ${ac_cv_prog_DUMPBIN+:} false; then :
7956 $as_echo_n "(cached) " >&6
7958 if test -n "$DUMPBIN"; then
7959 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7961 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7965 test -z "$as_dir" && as_dir=.
7966 for ac_exec_ext in '' $ac_executable_extensions; do
7967 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7968 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7969 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7978 DUMPBIN=$ac_cv_prog_DUMPBIN
7979 if test -n "$DUMPBIN"; then
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7981 $as_echo "$DUMPBIN" >&6; }
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7984 $as_echo "no" >&6; }
7988 test -n "$DUMPBIN" && break
7991 if test -z "$DUMPBIN"; then
7992 ac_ct_DUMPBIN=$DUMPBIN
7993 for ac_prog in dumpbin "link -dump"
7995 # Extract the first word of "$ac_prog", so it can be a program name with args.
7996 set dummy $ac_prog; ac_word=$2
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7998 $as_echo_n "checking for $ac_word... " >&6; }
7999 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
8000 $as_echo_n "(cached) " >&6
8002 if test -n "$ac_ct_DUMPBIN"; then
8003 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
8005 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8009 test -z "$as_dir" && as_dir=.
8010 for ac_exec_ext in '' $ac_executable_extensions; do
8011 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8012 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
8013 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8022 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
8023 if test -n "$ac_ct_DUMPBIN"; then
8024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
8025 $as_echo "$ac_ct_DUMPBIN" >&6; }
8027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8028 $as_echo "no" >&6; }
8032 test -n "$ac_ct_DUMPBIN" && break
8035 if test "x$ac_ct_DUMPBIN" = x; then
8038 case $cross_compiling:$ac_tool_warned in
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8041 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8042 ac_tool_warned=yes ;;
8044 DUMPBIN=$ac_ct_DUMPBIN
8048 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
8050 DUMPBIN="$DUMPBIN -symbols -headers"
8058 if test : != "$DUMPBIN"; then
8062 test -z "$NM" && NM=nm
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8070 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8071 if ${lt_cv_nm_interface+:} false; then :
8072 $as_echo_n "(cached) " >&6
8074 lt_cv_nm_interface="BSD nm"
8075 echo "int some_variable = 0;" > conftest.$ac_ext
8076 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8077 (eval "$ac_compile" 2>conftest.err)
8078 cat conftest.err >&5
8079 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8080 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8081 cat conftest.err >&5
8082 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8083 cat conftest.out >&5
8084 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8085 lt_cv_nm_interface="MS dumpbin"
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8090 $as_echo "$lt_cv_nm_interface" >&6; }
8092 # find the maximum length of command line arguments
8093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8094 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8095 if ${lt_cv_sys_max_cmd_len+:} false; then :
8096 $as_echo_n "(cached) " >&6
8103 # On DJGPP, this test can blow up pretty badly due to problems in libc
8104 # (any single argument exceeding 2000 bytes causes a buffer overrun
8105 # during glob expansion). Even if it were fixed, the result of this
8106 # check would be larger than it should be.
8107 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8111 # Under GNU Hurd, this test is not required because there is
8112 # no limit to the length of command line arguments.
8113 # Libtool will interpret -1 as no limit whatsoever
8114 lt_cv_sys_max_cmd_len=-1;
8117 cygwin* | mingw* | cegcc*)
8118 # On Win9x/ME, this test blows up -- it succeeds, but takes
8119 # about 5 minutes as the teststring grows exponentially.
8120 # Worse, since 9x/ME are not pre-emptively multitasking,
8121 # you end up with a "frozen" computer, even though with patience
8122 # the test eventually succeeds (with a max line length of 256k).
8123 # Instead, let's just punt: use the minimum linelength reported by
8124 # all of the supported platforms: 8192 (on NT/2K/XP).
8125 lt_cv_sys_max_cmd_len=8192;
8129 # On MiNT this can take a long time and run out of memory.
8130 lt_cv_sys_max_cmd_len=8192;
8134 # On AmigaOS with pdksh, this test takes hours, literally.
8135 # So we just punt and use a minimum line length of 8192.
8136 lt_cv_sys_max_cmd_len=8192;
8139 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
8140 # This has been around since 386BSD, at least. Likely further.
8141 if test -x /sbin/sysctl; then
8142 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8143 elif test -x /usr/sbin/sysctl; then
8144 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8146 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8148 # And add a safety zone
8149 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8150 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8154 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8155 lt_cv_sys_max_cmd_len=196608
8159 # The test takes a long time on OS/2.
8160 lt_cv_sys_max_cmd_len=8192
8164 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8165 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8166 # nice to cause kernel panics so lets avoid the loop below.
8167 # First set a reasonable default.
8168 lt_cv_sys_max_cmd_len=16384
8170 if test -x /sbin/sysconfig; then
8171 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8172 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8177 lt_cv_sys_max_cmd_len=102400
8179 sysv5* | sco5v6* | sysv4.2uw2*)
8180 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8181 if test -n "$kargmax"; then
8182 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8184 lt_cv_sys_max_cmd_len=32768
8188 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8189 if test -n "$lt_cv_sys_max_cmd_len" && \
8190 test undefined != "$lt_cv_sys_max_cmd_len"; then
8191 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8192 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8194 # Make teststring a little bigger before we do anything with it.
8195 # a 1K string should be a reasonable start.
8196 for i in 1 2 3 4 5 6 7 8; do
8197 teststring=$teststring$teststring
8199 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8200 # If test is not a shell built-in, we'll probably end up computing a
8201 # maximum length that is only half of the actual maximum length, but
8203 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
8204 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8205 test 17 != "$i" # 1/2 MB should be enough
8208 teststring=$teststring$teststring
8210 # Only check the string length outside the loop.
8211 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8213 # Add a significant safety factor because C++ compilers can tack on
8214 # massive amounts of additional arguments before passing them to the
8215 # linker. It appears as though 1/2 is a usable value.
8216 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8223 if test -n "$lt_cv_sys_max_cmd_len"; then
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8225 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8228 $as_echo "none" >&6; }
8230 max_cmd_len=$lt_cv_sys_max_cmd_len
8241 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8251 # test EBCDIC or ASCII
8252 case `echo X|tr X '\101'` in
8253 A) # ASCII based system
8254 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8255 lt_SP2NL='tr \040 \012'
8256 lt_NL2SP='tr \015\012 \040\040'
8258 *) # EBCDIC based system
8259 lt_SP2NL='tr \100 \n'
8260 lt_NL2SP='tr \r\n \100\100'
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8273 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8274 if ${lt_cv_to_host_file_cmd+:} false; then :
8275 $as_echo_n "(cached) " >&6
8280 *-*-mingw* ) # actually msys
8281 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8284 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8286 * ) # otherwise, assume *nix
8287 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8293 *-*-mingw* ) # actually msys
8294 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8297 lt_cv_to_host_file_cmd=func_convert_file_noop
8299 * ) # otherwise, assume *nix
8300 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8304 * ) # unhandled hosts (and "normal" native builds)
8305 lt_cv_to_host_file_cmd=func_convert_file_noop
8311 to_host_file_cmd=$lt_cv_to_host_file_cmd
8312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8313 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8320 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8321 if ${lt_cv_to_tool_file_cmd+:} false; then :
8322 $as_echo_n "(cached) " >&6
8324 #assume ordinary cross tools, or native build.
8325 lt_cv_to_tool_file_cmd=func_convert_file_noop
8329 *-*-mingw* ) # actually msys
8330 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8338 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8340 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8347 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8348 if ${lt_cv_ld_reload_flag+:} false; then :
8349 $as_echo_n "(cached) " >&6
8351 lt_cv_ld_reload_flag='-r'
8353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8354 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8355 reload_flag=$lt_cv_ld_reload_flag
8356 case $reload_flag in
8358 *) reload_flag=" $reload_flag" ;;
8360 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8362 cygwin* | mingw* | pw32* | cegcc*)
8363 if test yes != "$GCC"; then
8368 if test yes = "$GCC"; then
8369 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8371 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8384 if test -n "$ac_tool_prefix"; then
8385 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8386 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8388 $as_echo_n "checking for $ac_word... " >&6; }
8389 if ${ac_cv_prog_OBJDUMP+:} false; then :
8390 $as_echo_n "(cached) " >&6
8392 if test -n "$OBJDUMP"; then
8393 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8395 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8399 test -z "$as_dir" && as_dir=.
8400 for ac_exec_ext in '' $ac_executable_extensions; do
8401 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8402 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8403 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8412 OBJDUMP=$ac_cv_prog_OBJDUMP
8413 if test -n "$OBJDUMP"; then
8414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8415 $as_echo "$OBJDUMP" >&6; }
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8418 $as_echo "no" >&6; }
8423 if test -z "$ac_cv_prog_OBJDUMP"; then
8424 ac_ct_OBJDUMP=$OBJDUMP
8425 # Extract the first word of "objdump", so it can be a program name with args.
8426 set dummy objdump; ac_word=$2
8427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8428 $as_echo_n "checking for $ac_word... " >&6; }
8429 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8430 $as_echo_n "(cached) " >&6
8432 if test -n "$ac_ct_OBJDUMP"; then
8433 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8439 test -z "$as_dir" && as_dir=.
8440 for ac_exec_ext in '' $ac_executable_extensions; do
8441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8442 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8452 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8453 if test -n "$ac_ct_OBJDUMP"; then
8454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8455 $as_echo "$ac_ct_OBJDUMP" >&6; }
8457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8458 $as_echo "no" >&6; }
8461 if test "x$ac_ct_OBJDUMP" = x; then
8464 case $cross_compiling:$ac_tool_warned in
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8467 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8468 ac_tool_warned=yes ;;
8470 OBJDUMP=$ac_ct_OBJDUMP
8473 OBJDUMP="$ac_cv_prog_OBJDUMP"
8476 test -z "$OBJDUMP" && OBJDUMP=objdump
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8487 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8488 if ${lt_cv_deplibs_check_method+:} false; then :
8489 $as_echo_n "(cached) " >&6
8491 lt_cv_file_magic_cmd='$MAGIC_CMD'
8492 lt_cv_file_magic_test_file=
8493 lt_cv_deplibs_check_method='unknown'
8494 # Need to set the preceding variable on all platforms that support
8495 # interlibrary dependencies.
8496 # 'none' -- dependencies not supported.
8497 # 'unknown' -- same as none, but documents that we really don't know.
8498 # 'pass_all' -- all dependencies passed with no checks.
8499 # 'test_compile' -- check by making test program.
8500 # 'file_magic [[regex]]' -- check by looking for files in library path
8501 # that responds to the $file_magic_cmd with a given extended regex.
8502 # If you have 'file' or equivalent on your system and you're not sure
8503 # whether 'pass_all' will *always* work, you probably want this one.
8507 lt_cv_deplibs_check_method=pass_all
8511 lt_cv_deplibs_check_method=pass_all
8515 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8516 lt_cv_file_magic_cmd='/usr/bin/file -L'
8517 lt_cv_file_magic_test_file=/shlib/libc.so
8521 # func_win32_libid is a shell function defined in ltmain.sh
8522 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8523 lt_cv_file_magic_cmd='func_win32_libid'
8527 # Base MSYS/MinGW do not provide the 'file' command needed by
8528 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8529 # unless we find 'file', for example because we are cross-compiling.
8530 if ( file / ) >/dev/null 2>&1; then
8531 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8532 lt_cv_file_magic_cmd='func_win32_libid'
8534 # Keep this pattern in sync with the one in func_win32_libid.
8535 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8536 lt_cv_file_magic_cmd='$OBJDUMP -f'
8541 # use the weaker test based on 'objdump'. See mingw*.
8542 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8543 lt_cv_file_magic_cmd='$OBJDUMP -f'
8546 darwin* | rhapsody*)
8547 lt_cv_deplibs_check_method=pass_all
8550 freebsd* | dragonfly*)
8551 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8554 # Not sure whether the presence of OpenBSD here was a mistake.
8555 # Let's accept both of them until this is cleared up.
8556 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8557 lt_cv_file_magic_cmd=/usr/bin/file
8558 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8562 lt_cv_deplibs_check_method=pass_all
8567 lt_cv_deplibs_check_method=pass_all
8570 hpux10.20* | hpux11*)
8571 lt_cv_file_magic_cmd=/usr/bin/file
8574 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8575 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8578 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]'
8579 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8582 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8583 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8589 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8590 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8593 irix5* | irix6* | nonstopux*)
8595 *-32|*"-32 ") libmagic=32-bit;;
8596 *-n32|*"-n32 ") libmagic=N32;;
8597 *-64|*"-64 ") libmagic=64-bit;;
8598 *) libmagic=never-match;;
8600 lt_cv_deplibs_check_method=pass_all
8603 # This must be glibc/ELF.
8604 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8605 lt_cv_deplibs_check_method=pass_all
8609 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8610 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8612 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8617 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8618 lt_cv_file_magic_cmd=/usr/bin/file
8619 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8623 lt_cv_deplibs_check_method=pass_all
8627 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8628 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8630 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8634 osf3* | osf4* | osf5*)
8635 lt_cv_deplibs_check_method=pass_all
8639 lt_cv_deplibs_check_method=pass_all
8643 lt_cv_deplibs_check_method=pass_all
8646 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8647 lt_cv_deplibs_check_method=pass_all
8651 case $host_vendor in
8653 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]'
8654 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8657 lt_cv_deplibs_check_method=pass_all
8660 lt_cv_file_magic_cmd='/bin/file'
8661 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8664 lt_cv_file_magic_cmd='/bin/file'
8665 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8666 lt_cv_file_magic_test_file=/lib/libc.so
8669 lt_cv_deplibs_check_method=pass_all
8672 lt_cv_deplibs_check_method=pass_all
8678 lt_cv_deplibs_check_method=pass_all
8681 lt_cv_deplibs_check_method=pass_all
8686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8687 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8691 if test "$build" = "$host"; then
8694 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8697 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8703 file_magic_cmd=$lt_cv_file_magic_cmd
8704 deplibs_check_method=$lt_cv_deplibs_check_method
8705 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8728 if test -n "$ac_tool_prefix"; then
8729 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8730 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8732 $as_echo_n "checking for $ac_word... " >&6; }
8733 if ${ac_cv_prog_DLLTOOL+:} false; then :
8734 $as_echo_n "(cached) " >&6
8736 if test -n "$DLLTOOL"; then
8737 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8743 test -z "$as_dir" && as_dir=.
8744 for ac_exec_ext in '' $ac_executable_extensions; do
8745 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8746 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8747 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8756 DLLTOOL=$ac_cv_prog_DLLTOOL
8757 if test -n "$DLLTOOL"; then
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8759 $as_echo "$DLLTOOL" >&6; }
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8762 $as_echo "no" >&6; }
8767 if test -z "$ac_cv_prog_DLLTOOL"; then
8768 ac_ct_DLLTOOL=$DLLTOOL
8769 # Extract the first word of "dlltool", so it can be a program name with args.
8770 set dummy dlltool; ac_word=$2
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8772 $as_echo_n "checking for $ac_word... " >&6; }
8773 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8774 $as_echo_n "(cached) " >&6
8776 if test -n "$ac_ct_DLLTOOL"; then
8777 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8779 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8783 test -z "$as_dir" && as_dir=.
8784 for ac_exec_ext in '' $ac_executable_extensions; do
8785 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8786 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8787 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8796 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8797 if test -n "$ac_ct_DLLTOOL"; then
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8799 $as_echo "$ac_ct_DLLTOOL" >&6; }
8801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8802 $as_echo "no" >&6; }
8805 if test "x$ac_ct_DLLTOOL" = x; then
8808 case $cross_compiling:$ac_tool_warned in
8810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8811 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8812 ac_tool_warned=yes ;;
8814 DLLTOOL=$ac_ct_DLLTOOL
8817 DLLTOOL="$ac_cv_prog_DLLTOOL"
8820 test -z "$DLLTOOL" && DLLTOOL=dlltool
8831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8832 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8833 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8834 $as_echo_n "(cached) " >&6
8836 lt_cv_sharedlib_from_linklib_cmd='unknown'
8839 cygwin* | mingw* | pw32* | cegcc*)
8840 # two different shell functions defined in ltmain.sh;
8841 # decide which one to use based on capabilities of $DLLTOOL
8842 case `$DLLTOOL --help 2>&1` in
8843 *--identify-strict*)
8844 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8847 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8852 # fallback: assume linklib IS sharedlib
8853 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8859 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8860 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8861 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8869 if test -n "$ac_tool_prefix"; then
8872 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8873 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8875 $as_echo_n "checking for $ac_word... " >&6; }
8876 if ${ac_cv_prog_AR+:} false; then :
8877 $as_echo_n "(cached) " >&6
8879 if test -n "$AR"; then
8880 ac_cv_prog_AR="$AR" # Let the user override the test.
8882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8886 test -z "$as_dir" && as_dir=.
8887 for ac_exec_ext in '' $ac_executable_extensions; do
8888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8889 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8900 if test -n "$AR"; then
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8902 $as_echo "$AR" >&6; }
8904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8905 $as_echo "no" >&6; }
8909 test -n "$AR" && break
8912 if test -z "$AR"; then
8916 # Extract the first word of "$ac_prog", so it can be a program name with args.
8917 set dummy $ac_prog; ac_word=$2
8918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8919 $as_echo_n "checking for $ac_word... " >&6; }
8920 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8921 $as_echo_n "(cached) " >&6
8923 if test -n "$ac_ct_AR"; then
8924 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8930 test -z "$as_dir" && as_dir=.
8931 for ac_exec_ext in '' $ac_executable_extensions; do
8932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8933 ac_cv_prog_ac_ct_AR="$ac_prog"
8934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8943 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8944 if test -n "$ac_ct_AR"; then
8945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8946 $as_echo "$ac_ct_AR" >&6; }
8948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8949 $as_echo "no" >&6; }
8953 test -n "$ac_ct_AR" && break
8956 if test "x$ac_ct_AR" = x; then
8959 case $cross_compiling:$ac_tool_warned in
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8962 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8963 ac_tool_warned=yes ;;
8982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8983 $as_echo_n "checking for archiver @FILE support... " >&6; }
8984 if ${lt_cv_ar_at_file+:} false; then :
8985 $as_echo_n "(cached) " >&6
8988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8989 /* end confdefs.h. */
8999 if ac_fn_c_try_compile "$LINENO"; then :
9000 echo conftest.$ac_objext > conftest.lst
9001 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
9002 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9003 (eval $lt_ar_try) 2>&5
9005 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9006 test $ac_status = 0; }
9007 if test 0 -eq "$ac_status"; then
9008 # Ensure the archiver fails upon bogus file names.
9009 rm -f conftest.$ac_objext libconftest.a
9010 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
9011 (eval $lt_ar_try) 2>&5
9013 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9014 test $ac_status = 0; }
9015 if test 0 -ne "$ac_status"; then
9019 rm -f conftest.* libconftest.a
9022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
9026 $as_echo "$lt_cv_ar_at_file" >&6; }
9028 if test no = "$lt_cv_ar_at_file"; then
9031 archiver_list_spec=$lt_cv_ar_at_file
9040 if test -n "$ac_tool_prefix"; then
9041 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
9042 set dummy ${ac_tool_prefix}strip; ac_word=$2
9043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9044 $as_echo_n "checking for $ac_word... " >&6; }
9045 if ${ac_cv_prog_STRIP+:} false; then :
9046 $as_echo_n "(cached) " >&6
9048 if test -n "$STRIP"; then
9049 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
9051 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9055 test -z "$as_dir" && as_dir=.
9056 for ac_exec_ext in '' $ac_executable_extensions; do
9057 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9058 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
9059 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9068 STRIP=$ac_cv_prog_STRIP
9069 if test -n "$STRIP"; then
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9071 $as_echo "$STRIP" >&6; }
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9074 $as_echo "no" >&6; }
9079 if test -z "$ac_cv_prog_STRIP"; then
9081 # Extract the first word of "strip", so it can be a program name with args.
9082 set dummy strip; ac_word=$2
9083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9084 $as_echo_n "checking for $ac_word... " >&6; }
9085 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9086 $as_echo_n "(cached) " >&6
9088 if test -n "$ac_ct_STRIP"; then
9089 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9091 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9095 test -z "$as_dir" && as_dir=.
9096 for ac_exec_ext in '' $ac_executable_extensions; do
9097 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9098 ac_cv_prog_ac_ct_STRIP="strip"
9099 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9108 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9109 if test -n "$ac_ct_STRIP"; then
9110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9111 $as_echo "$ac_ct_STRIP" >&6; }
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9114 $as_echo "no" >&6; }
9117 if test "x$ac_ct_STRIP" = x; then
9120 case $cross_compiling:$ac_tool_warned in
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9123 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9124 ac_tool_warned=yes ;;
9129 STRIP="$ac_cv_prog_STRIP"
9132 test -z "$STRIP" && STRIP=:
9139 if test -n "$ac_tool_prefix"; then
9140 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9141 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9143 $as_echo_n "checking for $ac_word... " >&6; }
9144 if ${ac_cv_prog_RANLIB+:} false; then :
9145 $as_echo_n "(cached) " >&6
9147 if test -n "$RANLIB"; then
9148 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9150 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9154 test -z "$as_dir" && as_dir=.
9155 for ac_exec_ext in '' $ac_executable_extensions; do
9156 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9157 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9167 RANLIB=$ac_cv_prog_RANLIB
9168 if test -n "$RANLIB"; then
9169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9170 $as_echo "$RANLIB" >&6; }
9172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9173 $as_echo "no" >&6; }
9178 if test -z "$ac_cv_prog_RANLIB"; then
9179 ac_ct_RANLIB=$RANLIB
9180 # Extract the first word of "ranlib", so it can be a program name with args.
9181 set dummy ranlib; ac_word=$2
9182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9183 $as_echo_n "checking for $ac_word... " >&6; }
9184 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9185 $as_echo_n "(cached) " >&6
9187 if test -n "$ac_ct_RANLIB"; then
9188 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9194 test -z "$as_dir" && as_dir=.
9195 for ac_exec_ext in '' $ac_executable_extensions; do
9196 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9197 ac_cv_prog_ac_ct_RANLIB="ranlib"
9198 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9207 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9208 if test -n "$ac_ct_RANLIB"; then
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9210 $as_echo "$ac_ct_RANLIB" >&6; }
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9213 $as_echo "no" >&6; }
9216 if test "x$ac_ct_RANLIB" = x; then
9219 case $cross_compiling:$ac_tool_warned in
9221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9223 ac_tool_warned=yes ;;
9225 RANLIB=$ac_ct_RANLIB
9228 RANLIB="$ac_cv_prog_RANLIB"
9231 test -z "$RANLIB" && RANLIB=:
9238 # Determine commands to create old-style static archives.
9239 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9240 old_postinstall_cmds='chmod 644 $oldlib'
9241 old_postuninstall_cmds=
9243 if test -n "$RANLIB"; then
9246 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9249 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9252 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9257 lock_old_archive_extraction=yes ;;
9259 lock_old_archive_extraction=no ;;
9282 for ac_prog in gawk mawk nawk awk
9284 # Extract the first word of "$ac_prog", so it can be a program name with args.
9285 set dummy $ac_prog; ac_word=$2
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9287 $as_echo_n "checking for $ac_word... " >&6; }
9288 if ${ac_cv_prog_AWK+:} false; then :
9289 $as_echo_n "(cached) " >&6
9291 if test -n "$AWK"; then
9292 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9298 test -z "$as_dir" && as_dir=.
9299 for ac_exec_ext in '' $ac_executable_extensions; do
9300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9301 ac_cv_prog_AWK="$ac_prog"
9302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9312 if test -n "$AWK"; then
9313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9314 $as_echo "$AWK" >&6; }
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9317 $as_echo "no" >&6; }
9321 test -n "$AWK" && break
9342 # If no C compiler was specified, use CC.
9345 # If no C compiler flags were specified, use CFLAGS.
9346 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9348 # Allow CC to be a program name with arguments.
9352 # Check for command to grab the raw symbol name followed by C symbol from nm.
9353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9354 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9355 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9356 $as_echo_n "(cached) " >&6
9359 # These are sane defaults that work on at least a few old systems.
9360 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9362 # Character class describing NM global symbol codes.
9363 symcode='[BCDEGRST]'
9365 # Regexp to match symbols that can be accessed directly from C.
9366 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9368 # Define system-specific variables.
9373 cygwin* | mingw* | pw32* | cegcc*)
9374 symcode='[ABCDGISTW]'
9377 if test ia64 = "$host_cpu"; then
9378 symcode='[ABCDEGRST]'
9382 symcode='[BCDEGRST]'
9385 symcode='[BCDEGQRST]'
9396 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9404 # If we're using GNU nm, then use its standard symbol codes.
9405 case `$NM -V 2>&1` in
9406 *GNU* | *'with BFD'*)
9407 symcode='[ABCDGIRSTW]' ;;
9410 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9411 # Gets list of data symbols to import.
9412 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9413 # Adjust the below global symbol transforms to fixup imported variables.
9414 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9415 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9416 lt_c_name_lib_hook="\
9417 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9418 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9420 # Disable hooks by default.
9421 lt_cv_sys_global_symbol_to_import=
9427 # Transform an extracted symbol line into a proper C declaration.
9428 # Some systems (esp. on ia64) link data and code symbols differently,
9429 # so use this general approach.
9430 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9432 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9433 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9435 # Transform an extracted symbol line into symbol name and symbol address
9436 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9438 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9439 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9441 # Transform an extracted symbol line into symbol name with lib prefix and
9443 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9444 $lt_c_name_lib_hook\
9445 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9446 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9447 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9449 # Handle CRLF in mingw tool chain
9453 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9457 # Try without a prefix underscore, then with it.
9458 for ac_symprfx in "" "_"; do
9460 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9461 symxfrm="\\1 $ac_symprfx\\2 \\2"
9463 # Write the raw and C identifiers.
9464 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9465 # Fake it for dumpbin and say T for any non-static function,
9466 # D for any global variable and I for any imported variable.
9467 # Also find C++ and __fastcall symbols from MSVC++,
9468 # which start with @ or ?.
9469 lt_cv_sys_global_symbol_pipe="$AWK '"\
9470 " {last_section=section; section=\$ 3};"\
9471 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9472 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9473 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9474 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9475 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9476 " \$ 0!~/External *\|/{next};"\
9477 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9478 " {if(hide[section]) next};"\
9479 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9480 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9481 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9482 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9483 " ' prfx=^$ac_symprfx"
9485 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9487 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9489 # Check to see that the pipe works correctly.
9493 cat > conftest.$ac_ext <<_LT_EOF
9498 void nm_test_func(void);
9499 void nm_test_func(void){}
9503 int main(){nm_test_var='a';nm_test_func();return(0);}
9506 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9507 (eval $ac_compile) 2>&5
9509 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9510 test $ac_status = 0; }; then
9511 # Now try to grab the symbols.
9513 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9514 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9517 test $ac_status = 0; } && test -s "$nlist"; then
9518 # Try sorting and uniquifying the output.
9519 if sort "$nlist" | uniq > "$nlist"T; then
9520 mv -f "$nlist"T "$nlist"
9525 # Make sure that we snagged all the symbols we need.
9526 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9527 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9528 cat <<_LT_EOF > conftest.$ac_ext
9529 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9530 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9531 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9532 relocations are performed -- see ld's documentation on pseudo-relocs. */
9533 # define LT_DLSYM_CONST
9534 #elif defined __osf__
9535 /* This system does not cope well with relocations in const data. */
9536 # define LT_DLSYM_CONST
9538 # define LT_DLSYM_CONST const
9546 # Now generate the symbol file.
9547 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9549 cat <<_LT_EOF >> conftest.$ac_ext
9551 /* The mapping between symbol names and symbols. */
9552 LT_DLSYM_CONST struct {
9556 lt__PROGRAM__LTX_preloaded_symbols[] =
9558 { "@PROGRAM@", (void *) 0 },
9560 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9561 cat <<\_LT_EOF >> conftest.$ac_ext
9565 /* This works around a problem in FreeBSD linker */
9566 #ifdef FREEBSD_WORKAROUND
9567 static const void *lt_preloaded_setup() {
9568 return lt__PROGRAM__LTX_preloaded_symbols;
9576 # Now try linking the two files.
9577 mv conftest.$ac_objext conftstm.$ac_objext
9578 lt_globsym_save_LIBS=$LIBS
9579 lt_globsym_save_CFLAGS=$CFLAGS
9580 LIBS=conftstm.$ac_objext
9581 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9582 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9583 (eval $ac_link) 2>&5
9585 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9586 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9589 LIBS=$lt_globsym_save_LIBS
9590 CFLAGS=$lt_globsym_save_CFLAGS
9592 echo "cannot find nm_test_func in $nlist" >&5
9595 echo "cannot find nm_test_var in $nlist" >&5
9598 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9601 echo "$progname: failed program was:" >&5
9602 cat conftest.$ac_ext >&5
9604 rm -rf conftest* conftst*
9606 # Do not use the global_symbol_pipe unless it works.
9607 if test yes = "$pipe_works"; then
9610 lt_cv_sys_global_symbol_pipe=
9616 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9617 lt_cv_sys_global_symbol_to_cdecl=
9619 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9621 $as_echo "failed" >&6; }
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9624 $as_echo "ok" >&6; }
9627 # Response file support.
9628 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9629 nm_file_list_spec='@'
9630 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9631 nm_file_list_spec='@'
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9671 $as_echo_n "checking for sysroot... " >&6; }
9673 # Check whether --with-sysroot was given.
9674 if test "${with_sysroot+set}" = set; then :
9675 withval=$with_sysroot;
9682 case $with_sysroot in #(
9684 if test yes = "$GCC"; then
9685 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9689 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9695 $as_echo "$with_sysroot" >&6; }
9696 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9701 $as_echo "${lt_sysroot:-no}" >&6; }
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9708 $as_echo_n "checking for a working dd... " >&6; }
9709 if ${ac_cv_path_lt_DD+:} false; then :
9710 $as_echo_n "(cached) " >&6
9712 printf 0123456789abcdef0123456789abcdef >conftest.i
9713 cat conftest.i conftest.i >conftest2.i
9715 if test -z "$lt_DD"; then
9716 ac_path_lt_DD_found=false
9717 # Loop through the user's path and test for each of PROGNAME-LIST
9718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9722 test -z "$as_dir" && as_dir=.
9723 for ac_prog in dd; do
9724 for ac_exec_ext in '' $ac_executable_extensions; do
9725 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
9726 as_fn_executable_p "$ac_path_lt_DD" || continue
9727 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9728 cmp -s conftest.i conftest.out \
9729 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9731 $ac_path_lt_DD_found && break 3
9736 if test -z "$ac_cv_path_lt_DD"; then
9740 ac_cv_path_lt_DD=$lt_DD
9743 rm -f conftest.i conftest2.i conftest.out
9745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9746 $as_echo "$ac_cv_path_lt_DD" >&6; }
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9750 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9751 if ${lt_cv_truncate_bin+:} false; then :
9752 $as_echo_n "(cached) " >&6
9754 printf 0123456789abcdef0123456789abcdef >conftest.i
9755 cat conftest.i conftest.i >conftest2.i
9757 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9758 cmp -s conftest.i conftest.out \
9759 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9761 rm -f conftest.i conftest2.i conftest.out
9762 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9765 $as_echo "$lt_cv_truncate_bin" >&6; }
9773 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9776 for cc_temp in $*""; do
9778 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9779 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9784 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9787 # Check whether --enable-libtool-lock was given.
9788 if test "${enable_libtool_lock+set}" = set; then :
9789 enableval=$enable_libtool_lock;
9792 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9794 # Some flags need to be propagated to the compiler or linker for good
9798 # Find out what ABI is being produced by ac_compile, and set mode
9799 # options accordingly.
9800 echo 'int i;' > conftest.$ac_ext
9801 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9802 (eval $ac_compile) 2>&5
9804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9805 test $ac_status = 0; }; then
9806 case `/usr/bin/file conftest.$ac_objext` in
9818 # Find out what ABI is being produced by ac_compile, and set linker
9819 # options accordingly.
9820 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9821 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9822 (eval $ac_compile) 2>&5
9824 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9825 test $ac_status = 0; }; then
9826 if test yes = "$lt_cv_prog_gnu_ld"; then
9827 case `/usr/bin/file conftest.$ac_objext` in
9829 LD="${LD-ld} -melf32bsmip"
9832 LD="${LD-ld} -melf32bmipn32"
9835 LD="${LD-ld} -melf64bmip"
9839 case `/usr/bin/file conftest.$ac_objext` in
9856 # Find out what ABI is being produced by ac_compile, and set linker
9857 # options accordingly.
9858 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9859 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9860 (eval $ac_compile) 2>&5
9862 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9863 test $ac_status = 0; }; then
9865 case `/usr/bin/file conftest.$ac_objext` in
9873 case `/usr/bin/file conftest.$ac_objext` in
9875 emul="${emul}btsmip"
9878 emul="${emul}ltsmip"
9881 case `/usr/bin/file conftest.$ac_objext` in
9886 LD="${LD-ld} -m $emul"
9891 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9892 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9893 # Find out what ABI is being produced by ac_compile, and set linker
9894 # options accordingly. Note that the listed cases only cover the
9895 # situations where additional linker options are needed (such as when
9896 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9897 # vice versa); the common cases where no linker options are needed do
9898 # not appear in the list.
9899 echo 'int i;' > conftest.$ac_ext
9900 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9901 (eval $ac_compile) 2>&5
9903 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9904 test $ac_status = 0; }; then
9905 case `/usr/bin/file conftest.o` in
9908 x86_64-*kfreebsd*-gnu)
9909 LD="${LD-ld} -m elf_i386_fbsd"
9912 case `/usr/bin/file conftest.o` in
9914 LD="${LD-ld} -m elf32_x86_64"
9917 LD="${LD-ld} -m elf_i386"
9921 powerpc64le-*linux*)
9922 LD="${LD-ld} -m elf32lppclinux"
9925 LD="${LD-ld} -m elf32ppclinux"
9928 LD="${LD-ld} -m elf_s390"
9931 LD="${LD-ld} -m elf32_sparc"
9937 x86_64-*kfreebsd*-gnu)
9938 LD="${LD-ld} -m elf_x86_64_fbsd"
9941 LD="${LD-ld} -m elf_x86_64"
9944 LD="${LD-ld} -m elf64lppc"
9947 LD="${LD-ld} -m elf64ppc"
9949 s390*-*linux*|s390*-*tpf*)
9950 LD="${LD-ld} -m elf64_s390"
9953 LD="${LD-ld} -m elf64_sparc"
9963 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9965 CFLAGS="$CFLAGS -belf"
9966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9967 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9968 if ${lt_cv_cc_needs_belf+:} false; then :
9969 $as_echo_n "(cached) " >&6
9972 ac_cpp='$CPP $CPPFLAGS'
9973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9978 /* end confdefs.h. */
9988 if ac_fn_c_try_link "$LINENO"; then :
9989 lt_cv_cc_needs_belf=yes
9991 lt_cv_cc_needs_belf=no
9993 rm -f core conftest.err conftest.$ac_objext \
9994 conftest$ac_exeext conftest.$ac_ext
9996 ac_cpp='$CPP $CPPFLAGS'
9997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
10003 $as_echo "$lt_cv_cc_needs_belf" >&6; }
10004 if test yes != "$lt_cv_cc_needs_belf"; then
10005 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
10006 CFLAGS=$SAVE_CFLAGS
10010 # Find out what ABI is being produced by ac_compile, and set linker
10011 # options accordingly.
10012 echo 'int i;' > conftest.$ac_ext
10013 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10014 (eval $ac_compile) 2>&5
10016 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10017 test $ac_status = 0; }; then
10018 case `/usr/bin/file conftest.o` in
10020 case $lt_cv_prog_gnu_ld in
10023 i?86-*-solaris*|x86_64-*-solaris*)
10024 LD="${LD-ld} -m elf_x86_64"
10027 LD="${LD-ld} -m elf64_sparc"
10030 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
10031 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
10036 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
10048 need_locks=$enable_libtool_lock
10050 if test -n "$ac_tool_prefix"; then
10051 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
10052 set dummy ${ac_tool_prefix}mt; ac_word=$2
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10054 $as_echo_n "checking for $ac_word... " >&6; }
10055 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
10056 $as_echo_n "(cached) " >&6
10058 if test -n "$MANIFEST_TOOL"; then
10059 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10062 for as_dir in $PATH
10065 test -z "$as_dir" && as_dir=.
10066 for ac_exec_ext in '' $ac_executable_extensions; do
10067 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10068 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10069 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10078 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10079 if test -n "$MANIFEST_TOOL"; then
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10081 $as_echo "$MANIFEST_TOOL" >&6; }
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10084 $as_echo "no" >&6; }
10089 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10090 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10091 # Extract the first word of "mt", so it can be a program name with args.
10092 set dummy mt; ac_word=$2
10093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10094 $as_echo_n "checking for $ac_word... " >&6; }
10095 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10096 $as_echo_n "(cached) " >&6
10098 if test -n "$ac_ct_MANIFEST_TOOL"; then
10099 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10102 for as_dir in $PATH
10105 test -z "$as_dir" && as_dir=.
10106 for ac_exec_ext in '' $ac_executable_extensions; do
10107 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10108 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10118 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10119 if test -n "$ac_ct_MANIFEST_TOOL"; then
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10121 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10124 $as_echo "no" >&6; }
10127 if test "x$ac_ct_MANIFEST_TOOL" = x; then
10130 case $cross_compiling:$ac_tool_warned in
10132 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10133 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10134 ac_tool_warned=yes ;;
10136 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10139 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10142 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10144 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10145 if ${lt_cv_path_mainfest_tool+:} false; then :
10146 $as_echo_n "(cached) " >&6
10148 lt_cv_path_mainfest_tool=no
10149 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10150 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10151 cat conftest.err >&5
10152 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10153 lt_cv_path_mainfest_tool=yes
10157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10158 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10159 if test yes != "$lt_cv_path_mainfest_tool"; then
10169 rhapsody* | darwin*)
10170 if test -n "$ac_tool_prefix"; then
10171 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10172 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10174 $as_echo_n "checking for $ac_word... " >&6; }
10175 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10176 $as_echo_n "(cached) " >&6
10178 if test -n "$DSYMUTIL"; then
10179 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10182 for as_dir in $PATH
10185 test -z "$as_dir" && as_dir=.
10186 for ac_exec_ext in '' $ac_executable_extensions; do
10187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10188 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10198 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10199 if test -n "$DSYMUTIL"; then
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10201 $as_echo "$DSYMUTIL" >&6; }
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10204 $as_echo "no" >&6; }
10209 if test -z "$ac_cv_prog_DSYMUTIL"; then
10210 ac_ct_DSYMUTIL=$DSYMUTIL
10211 # Extract the first word of "dsymutil", so it can be a program name with args.
10212 set dummy dsymutil; ac_word=$2
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10214 $as_echo_n "checking for $ac_word... " >&6; }
10215 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10216 $as_echo_n "(cached) " >&6
10218 if test -n "$ac_ct_DSYMUTIL"; then
10219 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10221 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10222 for as_dir in $PATH
10225 test -z "$as_dir" && as_dir=.
10226 for ac_exec_ext in '' $ac_executable_extensions; do
10227 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10228 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10229 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10238 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10239 if test -n "$ac_ct_DSYMUTIL"; then
10240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10241 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10244 $as_echo "no" >&6; }
10247 if test "x$ac_ct_DSYMUTIL" = x; then
10250 case $cross_compiling:$ac_tool_warned in
10252 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10253 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10254 ac_tool_warned=yes ;;
10256 DSYMUTIL=$ac_ct_DSYMUTIL
10259 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10262 if test -n "$ac_tool_prefix"; then
10263 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10264 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10266 $as_echo_n "checking for $ac_word... " >&6; }
10267 if ${ac_cv_prog_NMEDIT+:} false; then :
10268 $as_echo_n "(cached) " >&6
10270 if test -n "$NMEDIT"; then
10271 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10274 for as_dir in $PATH
10277 test -z "$as_dir" && as_dir=.
10278 for ac_exec_ext in '' $ac_executable_extensions; do
10279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10280 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10290 NMEDIT=$ac_cv_prog_NMEDIT
10291 if test -n "$NMEDIT"; then
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10293 $as_echo "$NMEDIT" >&6; }
10295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10296 $as_echo "no" >&6; }
10301 if test -z "$ac_cv_prog_NMEDIT"; then
10302 ac_ct_NMEDIT=$NMEDIT
10303 # Extract the first word of "nmedit", so it can be a program name with args.
10304 set dummy nmedit; ac_word=$2
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10306 $as_echo_n "checking for $ac_word... " >&6; }
10307 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10308 $as_echo_n "(cached) " >&6
10310 if test -n "$ac_ct_NMEDIT"; then
10311 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10314 for as_dir in $PATH
10317 test -z "$as_dir" && as_dir=.
10318 for ac_exec_ext in '' $ac_executable_extensions; do
10319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10320 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10330 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10331 if test -n "$ac_ct_NMEDIT"; then
10332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10333 $as_echo "$ac_ct_NMEDIT" >&6; }
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10336 $as_echo "no" >&6; }
10339 if test "x$ac_ct_NMEDIT" = x; then
10342 case $cross_compiling:$ac_tool_warned in
10344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10346 ac_tool_warned=yes ;;
10348 NMEDIT=$ac_ct_NMEDIT
10351 NMEDIT="$ac_cv_prog_NMEDIT"
10354 if test -n "$ac_tool_prefix"; then
10355 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10356 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10358 $as_echo_n "checking for $ac_word... " >&6; }
10359 if ${ac_cv_prog_LIPO+:} false; then :
10360 $as_echo_n "(cached) " >&6
10362 if test -n "$LIPO"; then
10363 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10366 for as_dir in $PATH
10369 test -z "$as_dir" && as_dir=.
10370 for ac_exec_ext in '' $ac_executable_extensions; do
10371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10372 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10382 LIPO=$ac_cv_prog_LIPO
10383 if test -n "$LIPO"; then
10384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10385 $as_echo "$LIPO" >&6; }
10387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10388 $as_echo "no" >&6; }
10393 if test -z "$ac_cv_prog_LIPO"; then
10395 # Extract the first word of "lipo", so it can be a program name with args.
10396 set dummy lipo; ac_word=$2
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10398 $as_echo_n "checking for $ac_word... " >&6; }
10399 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10400 $as_echo_n "(cached) " >&6
10402 if test -n "$ac_ct_LIPO"; then
10403 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10406 for as_dir in $PATH
10409 test -z "$as_dir" && as_dir=.
10410 for ac_exec_ext in '' $ac_executable_extensions; do
10411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10412 ac_cv_prog_ac_ct_LIPO="lipo"
10413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10422 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10423 if test -n "$ac_ct_LIPO"; then
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10425 $as_echo "$ac_ct_LIPO" >&6; }
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10428 $as_echo "no" >&6; }
10431 if test "x$ac_ct_LIPO" = x; then
10434 case $cross_compiling:$ac_tool_warned in
10436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10438 ac_tool_warned=yes ;;
10443 LIPO="$ac_cv_prog_LIPO"
10446 if test -n "$ac_tool_prefix"; then
10447 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10448 set dummy ${ac_tool_prefix}otool; ac_word=$2
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10450 $as_echo_n "checking for $ac_word... " >&6; }
10451 if ${ac_cv_prog_OTOOL+:} false; then :
10452 $as_echo_n "(cached) " >&6
10454 if test -n "$OTOOL"; then
10455 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10458 for as_dir in $PATH
10461 test -z "$as_dir" && as_dir=.
10462 for ac_exec_ext in '' $ac_executable_extensions; do
10463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10464 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10474 OTOOL=$ac_cv_prog_OTOOL
10475 if test -n "$OTOOL"; then
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10477 $as_echo "$OTOOL" >&6; }
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 $as_echo "no" >&6; }
10485 if test -z "$ac_cv_prog_OTOOL"; then
10487 # Extract the first word of "otool", so it can be a program name with args.
10488 set dummy otool; ac_word=$2
10489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10490 $as_echo_n "checking for $ac_word... " >&6; }
10491 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10492 $as_echo_n "(cached) " >&6
10494 if test -n "$ac_ct_OTOOL"; then
10495 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10498 for as_dir in $PATH
10501 test -z "$as_dir" && as_dir=.
10502 for ac_exec_ext in '' $ac_executable_extensions; do
10503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10504 ac_cv_prog_ac_ct_OTOOL="otool"
10505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10514 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10515 if test -n "$ac_ct_OTOOL"; then
10516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10517 $as_echo "$ac_ct_OTOOL" >&6; }
10519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10520 $as_echo "no" >&6; }
10523 if test "x$ac_ct_OTOOL" = x; then
10526 case $cross_compiling:$ac_tool_warned in
10528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10530 ac_tool_warned=yes ;;
10535 OTOOL="$ac_cv_prog_OTOOL"
10538 if test -n "$ac_tool_prefix"; then
10539 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10540 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10542 $as_echo_n "checking for $ac_word... " >&6; }
10543 if ${ac_cv_prog_OTOOL64+:} false; then :
10544 $as_echo_n "(cached) " >&6
10546 if test -n "$OTOOL64"; then
10547 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10550 for as_dir in $PATH
10553 test -z "$as_dir" && as_dir=.
10554 for ac_exec_ext in '' $ac_executable_extensions; do
10555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10556 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10566 OTOOL64=$ac_cv_prog_OTOOL64
10567 if test -n "$OTOOL64"; then
10568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10569 $as_echo "$OTOOL64" >&6; }
10571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10572 $as_echo "no" >&6; }
10577 if test -z "$ac_cv_prog_OTOOL64"; then
10578 ac_ct_OTOOL64=$OTOOL64
10579 # Extract the first word of "otool64", so it can be a program name with args.
10580 set dummy otool64; ac_word=$2
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10582 $as_echo_n "checking for $ac_word... " >&6; }
10583 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10584 $as_echo_n "(cached) " >&6
10586 if test -n "$ac_ct_OTOOL64"; then
10587 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10590 for as_dir in $PATH
10593 test -z "$as_dir" && as_dir=.
10594 for ac_exec_ext in '' $ac_executable_extensions; do
10595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10596 ac_cv_prog_ac_ct_OTOOL64="otool64"
10597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10606 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10607 if test -n "$ac_ct_OTOOL64"; then
10608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10609 $as_echo "$ac_ct_OTOOL64" >&6; }
10611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10612 $as_echo "no" >&6; }
10615 if test "x$ac_ct_OTOOL64" = x; then
10618 case $cross_compiling:$ac_tool_warned in
10620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10621 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10622 ac_tool_warned=yes ;;
10624 OTOOL64=$ac_ct_OTOOL64
10627 OTOOL64="$ac_cv_prog_OTOOL64"
10656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10657 $as_echo_n "checking for -single_module linker flag... " >&6; }
10658 if ${lt_cv_apple_cc_single_mod+:} false; then :
10659 $as_echo_n "(cached) " >&6
10661 lt_cv_apple_cc_single_mod=no
10662 if test -z "$LT_MULTI_MODULE"; then
10663 # By default we will add the -single_module flag. You can override
10664 # by either setting the environment variable LT_MULTI_MODULE
10665 # non-empty at configure time, or by adding -multi_module to the
10667 rm -rf libconftest.dylib*
10668 echo "int foo(void){return 1;}" > conftest.c
10669 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10670 -dynamiclib -Wl,-single_module conftest.c" >&5
10671 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10672 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10674 # If there is a non-empty error log, and "single_module"
10675 # appears in it, assume the flag caused a linker warning
10676 if test -s conftest.err && $GREP single_module conftest.err; then
10677 cat conftest.err >&5
10678 # Otherwise, if the output was created with a 0 exit code from
10679 # the compiler, it worked.
10680 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10681 lt_cv_apple_cc_single_mod=yes
10683 cat conftest.err >&5
10685 rm -rf libconftest.dylib*
10689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10690 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10693 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10694 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10695 $as_echo_n "(cached) " >&6
10697 lt_cv_ld_exported_symbols_list=no
10698 save_LDFLAGS=$LDFLAGS
10699 echo "_main" > conftest.sym
10700 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10702 /* end confdefs.h. */
10712 if ac_fn_c_try_link "$LINENO"; then :
10713 lt_cv_ld_exported_symbols_list=yes
10715 lt_cv_ld_exported_symbols_list=no
10717 rm -f core conftest.err conftest.$ac_objext \
10718 conftest$ac_exeext conftest.$ac_ext
10719 LDFLAGS=$save_LDFLAGS
10722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10723 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10726 $as_echo_n "checking for -force_load linker flag... " >&6; }
10727 if ${lt_cv_ld_force_load+:} false; then :
10728 $as_echo_n "(cached) " >&6
10730 lt_cv_ld_force_load=no
10731 cat > conftest.c << _LT_EOF
10732 int forced_loaded() { return 2;}
10734 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10735 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10736 echo "$AR cru libconftest.a conftest.o" >&5
10737 $AR cru libconftest.a conftest.o 2>&5
10738 echo "$RANLIB libconftest.a" >&5
10739 $RANLIB libconftest.a 2>&5
10740 cat > conftest.c << _LT_EOF
10741 int main() { return 0;}
10743 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10744 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10746 if test -s conftest.err && $GREP force_load conftest.err; then
10747 cat conftest.err >&5
10748 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10749 lt_cv_ld_force_load=yes
10751 cat conftest.err >&5
10753 rm -f conftest.err libconftest.a conftest conftest.c
10754 rm -rf conftest.dSYM
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10758 $as_echo "$lt_cv_ld_force_load" >&6; }
10760 rhapsody* | darwin1.[012])
10761 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10763 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10764 darwin*) # darwin 5.x on
10765 # if running on 10.5 or later, the deployment target defaults
10766 # to the OS version, if on x86, and 10.4, the deployment
10767 # target defaults to 10.4. Don't you love it?
10768 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10769 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10770 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10772 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10774 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10778 if test yes = "$lt_cv_apple_cc_single_mod"; then
10779 _lt_dar_single_mod='$single_module'
10781 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10782 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10784 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10786 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10787 _lt_dsymutil='~$DSYMUTIL $lib || :'
10794 # func_munge_path_list VARIABLE PATH
10795 # -----------------------------------
10796 # VARIABLE is name of variable containing _space_ separated list of
10797 # directories to be munged by the contents of PATH, which is string
10800 # string "DIR[ DIR]" will be prepended to VARIABLE
10802 # string "DIR[ DIR]" will be appended to VARIABLE
10803 # "DIRP[:DIRP]::[DIRA:]DIRA"
10804 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10805 # "DIRA[ DIRA]" will be appended to VARIABLE
10807 # VARIABLE will be replaced by "DIR[ DIR]"
10808 func_munge_path_list ()
10814 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10817 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10820 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10821 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10824 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10829 for ac_header in dlfcn.h
10831 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10833 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10834 cat >>confdefs.h <<_ACEOF
10835 #define HAVE_DLFCN_H 1
10844 func_stripname_cnf ()
10847 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10848 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10850 } # func_stripname_cnf
10863 enable_win32_dll=no
10866 # Check whether --enable-shared was given.
10867 if test "${enable_shared+set}" = set; then :
10868 enableval=$enable_shared; p=${PACKAGE-default}
10870 yes) enable_shared=yes ;;
10871 no) enable_shared=no ;;
10874 # Look at the argument we got. We use all the common list separators.
10875 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10876 for pkg in $enableval; do
10878 if test "X$pkg" = "X$p"; then
10897 # Check whether --enable-static was given.
10898 if test "${enable_static+set}" = set; then :
10899 enableval=$enable_static; p=${PACKAGE-default}
10901 yes) enable_static=yes ;;
10902 no) enable_static=no ;;
10905 # Look at the argument we got. We use all the common list separators.
10906 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10907 for pkg in $enableval; do
10909 if test "X$pkg" = "X$p"; then
10929 # Check whether --with-pic was given.
10930 if test "${with_pic+set}" = set; then :
10931 withval=$with_pic; lt_p=${PACKAGE-default}
10933 yes|no) pic_mode=$withval ;;
10936 # Look at the argument we got. We use all the common list separators.
10937 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10938 for lt_pkg in $withval; do
10940 if test "X$lt_pkg" = "X$lt_p"; then
10958 # Check whether --enable-fast-install was given.
10959 if test "${enable_fast_install+set}" = set; then :
10960 enableval=$enable_fast_install; p=${PACKAGE-default}
10962 yes) enable_fast_install=yes ;;
10963 no) enable_fast_install=no ;;
10965 enable_fast_install=no
10966 # Look at the argument we got. We use all the common list separators.
10967 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10968 for pkg in $enableval; do
10970 if test "X$pkg" = "X$p"; then
10971 enable_fast_install=yes
10978 enable_fast_install=yes
10988 shared_archive_member_spec=
10989 case $host,$enable_shared in
10990 power*-*-aix[5-9]*,yes)
10991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10992 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10994 # Check whether --with-aix-soname was given.
10995 if test "${with_aix_soname+set}" = set; then :
10996 withval=$with_aix_soname; case $withval in
11000 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
11003 lt_cv_with_aix_soname=$with_aix_soname
11005 if ${lt_cv_with_aix_soname+:} false; then :
11006 $as_echo_n "(cached) " >&6
11008 lt_cv_with_aix_soname=aix
11011 with_aix_soname=$lt_cv_with_aix_soname
11014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
11015 $as_echo "$with_aix_soname" >&6; }
11016 if test aix != "$with_aix_soname"; then
11017 # For the AIX way of multilib, we name the shared archive member
11018 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
11019 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
11020 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
11021 # the AIX toolchain works better with OBJECT_MODE set (default 32).
11022 if test 64 = "${OBJECT_MODE-32}"; then
11023 shared_archive_member_spec=shr_64
11025 shared_archive_member_spec=shr
11030 with_aix_soname=aix
11043 # This can be used to rebuild libtool when needed
11044 LIBTOOL_DEPS=$ltmain
11046 # Always use our own libtool.
11047 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11078 test -z "$LN_S" && LN_S="ln -s"
11093 if test -n "${ZSH_VERSION+set}"; then
11094 setopt NO_GLOB_SUBST
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11098 $as_echo_n "checking for objdir... " >&6; }
11099 if ${lt_cv_objdir+:} false; then :
11100 $as_echo_n "(cached) " >&6
11102 rm -f .libs 2>/dev/null
11103 mkdir .libs 2>/dev/null
11104 if test -d .libs; then
11107 # MS-DOS does not allow filenames that begin with a dot.
11110 rmdir .libs 2>/dev/null
11112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11113 $as_echo "$lt_cv_objdir" >&6; }
11114 objdir=$lt_cv_objdir
11120 cat >>confdefs.h <<_ACEOF
11121 #define LT_OBJDIR "$lt_cv_objdir/"
11129 # AIX sometimes has problems with the GCC collect2 program. For some
11130 # reason, if we set the COLLECT_NAMES environment variable, the problems
11131 # vanish in a puff of smoke.
11132 if test set != "${COLLECT_NAMES+set}"; then
11134 export COLLECT_NAMES
11139 # Global variables:
11141 can_build_shared=yes
11143 # All known linkers require a '.a' archive for static linking (except MSVC,
11144 # which needs '.lib').
11147 with_gnu_ld=$lt_cv_prog_gnu_ld
11152 # Set sane defaults for various variables
11153 test -z "$CC" && CC=cc
11154 test -z "$LTCC" && LTCC=$CC
11155 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11156 test -z "$LD" && LD=ld
11157 test -z "$ac_objext" && ac_objext=o
11159 func_cc_basename $compiler
11160 cc_basename=$func_cc_basename_result
11163 # Only perform the check for file, if the check method requires it
11164 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11165 case $deplibs_check_method in
11167 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11169 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11170 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11171 $as_echo_n "(cached) " >&6
11175 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11178 lt_save_MAGIC_CMD=$MAGIC_CMD
11179 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11180 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11181 for ac_dir in $ac_dummy; do
11183 test -z "$ac_dir" && ac_dir=.
11184 if test -f "$ac_dir/${ac_tool_prefix}file"; then
11185 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
11186 if test -n "$file_magic_test_file"; then
11187 case $deplibs_check_method in
11189 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11190 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11191 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11192 $EGREP "$file_magic_regex" > /dev/null; then
11197 *** Warning: the command libtool uses to detect shared libraries,
11198 *** $file_magic_cmd, produces output that libtool cannot recognize.
11199 *** The result is that libtool may fail to recognize shared libraries
11200 *** as such. This will affect the creation of libtool libraries that
11201 *** depend on shared libraries, but programs linked with such libtool
11202 *** libraries will work regardless of this problem. Nevertheless, you
11203 *** may want to report the problem to your system manager and/or to
11204 *** bug-libtool@gnu.org
11214 MAGIC_CMD=$lt_save_MAGIC_CMD
11219 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11220 if test -n "$MAGIC_CMD"; then
11221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11222 $as_echo "$MAGIC_CMD" >&6; }
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11225 $as_echo "no" >&6; }
11232 if test -z "$lt_cv_path_MAGIC_CMD"; then
11233 if test -n "$ac_tool_prefix"; then
11234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11235 $as_echo_n "checking for file... " >&6; }
11236 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11237 $as_echo_n "(cached) " >&6
11241 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11244 lt_save_MAGIC_CMD=$MAGIC_CMD
11245 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11246 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11247 for ac_dir in $ac_dummy; do
11249 test -z "$ac_dir" && ac_dir=.
11250 if test -f "$ac_dir/file"; then
11251 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11252 if test -n "$file_magic_test_file"; then
11253 case $deplibs_check_method in
11255 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11256 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11257 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11258 $EGREP "$file_magic_regex" > /dev/null; then
11263 *** Warning: the command libtool uses to detect shared libraries,
11264 *** $file_magic_cmd, produces output that libtool cannot recognize.
11265 *** The result is that libtool may fail to recognize shared libraries
11266 *** as such. This will affect the creation of libtool libraries that
11267 *** depend on shared libraries, but programs linked with such libtool
11268 *** libraries will work regardless of this problem. Nevertheless, you
11269 *** may want to report the problem to your system manager and/or to
11270 *** bug-libtool@gnu.org
11280 MAGIC_CMD=$lt_save_MAGIC_CMD
11285 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11286 if test -n "$MAGIC_CMD"; then
11287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11288 $as_echo "$MAGIC_CMD" >&6; }
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11291 $as_echo "no" >&6; }
11304 # Use C for the default configuration in the libtool script
11308 ac_cpp='$CPP $CPPFLAGS'
11309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11314 # Source file extension for C test sources.
11317 # Object file extension for compiled C test sources.
11321 # Code to be used in simple compile tests
11322 lt_simple_compile_test_code="int some_variable = 0;"
11324 # Code to be used in simple link tests
11325 lt_simple_link_test_code='int main(){return(0);}'
11333 # If no C compiler was specified, use CC.
11336 # If no C compiler flags were specified, use CFLAGS.
11337 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11339 # Allow CC to be a program name with arguments.
11342 # Save the default compiler, since it gets overwritten when the other
11343 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11344 compiler_DEFAULT=$CC
11346 # save warnings/boilerplate of simple test code
11347 ac_outfile=conftest.$ac_objext
11348 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11349 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11350 _lt_compiler_boilerplate=`cat conftest.err`
11353 ac_outfile=conftest.$ac_objext
11354 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11355 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11356 _lt_linker_boilerplate=`cat conftest.err`
11361 ## There is no encapsulation within the following macros, do not change
11362 ## the running order or otherwise move them around unless you know exactly
11363 ## what you are doing...
11364 if test -n "$compiler"; then
11366 lt_prog_compiler_no_builtin_flag=
11368 if test yes = "$GCC"; then
11369 case $cc_basename in
11371 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11373 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11377 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11378 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11379 $as_echo_n "(cached) " >&6
11381 lt_cv_prog_compiler_rtti_exceptions=no
11382 ac_outfile=conftest.$ac_objext
11383 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11384 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11385 # Insert the option either (1) after the last *FLAGS variable, or
11386 # (2) before a word containing "conftest.", or (3) at the end.
11387 # Note that $ac_compile itself does not contain backslashes and begins
11388 # with a dollar sign (not a hyphen), so the echo should work correctly.
11389 # The option is referenced via a variable to avoid confusing sed.
11390 lt_compile=`echo "$ac_compile" | $SED \
11391 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11392 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11393 -e 's:$: $lt_compiler_flag:'`
11394 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11395 (eval "$lt_compile" 2>conftest.err)
11397 cat conftest.err >&5
11398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11399 if (exit $ac_status) && test -s "$ac_outfile"; then
11400 # The compiler can only warn and ignore the option if not recognized
11401 # So say no if there are warnings other than the usual output.
11402 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11403 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11404 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11405 lt_cv_prog_compiler_rtti_exceptions=yes
11411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11412 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11414 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11415 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11427 lt_prog_compiler_wl=
11428 lt_prog_compiler_pic=
11429 lt_prog_compiler_static=
11432 if test yes = "$GCC"; then
11433 lt_prog_compiler_wl='-Wl,'
11434 lt_prog_compiler_static='-static'
11438 # All AIX code is PIC.
11439 if test ia64 = "$host_cpu"; then
11440 # AIX 5 now supports IA64 processor
11441 lt_prog_compiler_static='-Bstatic'
11443 lt_prog_compiler_pic='-fPIC'
11449 # see comment about AmigaOS4 .so support
11450 lt_prog_compiler_pic='-fPIC'
11453 # FIXME: we need at least 68020 code to build shared libraries, but
11454 # adding the '-m68020' flag to GCC prevents building anything better,
11456 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11461 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11462 # PIC is the default for these OSes.
11465 mingw* | cygwin* | pw32* | os2* | cegcc*)
11466 # This hack is so that the source file can tell whether it is being
11467 # built for inclusion in a dll (and should export symbols for example).
11468 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11469 # (--disable-auto-import) libraries
11470 lt_prog_compiler_pic='-DDLL_EXPORT'
11473 lt_prog_compiler_static='$wl-static'
11478 darwin* | rhapsody*)
11479 # PIC is the default on this platform
11480 # Common symbols not allowed in MH_DYLIB files
11481 lt_prog_compiler_pic='-fno-common'
11485 # PIC is the default for Haiku.
11486 # The "-static" flag exists, but is broken.
11487 lt_prog_compiler_static=
11491 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11492 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11493 # sets the default TLS model and affects inlining.
11499 lt_prog_compiler_pic='-fPIC'
11505 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11506 # Instead, we relocate shared libraries at runtime.
11510 # Just because we use GCC doesn't mean we suddenly get shared libraries
11511 # on systems that don't support them.
11512 lt_prog_compiler_can_build_shared=no
11517 # QNX uses GNU C++, but need to define -shared option too, otherwise
11518 # it will coredump.
11519 lt_prog_compiler_pic='-fPIC -shared'
11523 if test -d /usr/nec; then
11524 lt_prog_compiler_pic=-Kconform_pic
11529 lt_prog_compiler_pic='-fPIC'
11533 case $cc_basename in
11534 nvcc*) # Cuda Compiler Driver 2.2
11535 lt_prog_compiler_wl='-Xlinker '
11536 if test -n "$lt_prog_compiler_pic"; then
11537 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11542 # PORTME Check for flag to pass linker flags through the system compiler.
11545 lt_prog_compiler_wl='-Wl,'
11546 if test ia64 = "$host_cpu"; then
11547 # AIX 5 now supports IA64 processor
11548 lt_prog_compiler_static='-Bstatic'
11550 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11554 darwin* | rhapsody*)
11555 # PIC is the default on this platform
11556 # Common symbols not allowed in MH_DYLIB files
11557 lt_prog_compiler_pic='-fno-common'
11558 case $cc_basename in
11560 # NAG Fortran compiler
11561 lt_prog_compiler_wl='-Wl,-Wl,,'
11562 lt_prog_compiler_pic='-PIC'
11563 lt_prog_compiler_static='-Bstatic'
11568 mingw* | cygwin* | pw32* | os2* | cegcc*)
11569 # This hack is so that the source file can tell whether it is being
11570 # built for inclusion in a dll (and should export symbols for example).
11571 lt_prog_compiler_pic='-DDLL_EXPORT'
11574 lt_prog_compiler_static='$wl-static'
11579 hpux9* | hpux10* | hpux11*)
11580 lt_prog_compiler_wl='-Wl,'
11581 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11582 # not for PA HP-UX.
11588 lt_prog_compiler_pic='+Z'
11591 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11592 lt_prog_compiler_static='$wl-a ${wl}archive'
11595 irix5* | irix6* | nonstopux*)
11596 lt_prog_compiler_wl='-Wl,'
11597 # PIC (with -KPIC) is the default.
11598 lt_prog_compiler_static='-non_shared'
11601 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11602 case $cc_basename in
11603 # old Intel for x86_64, which still supported -KPIC.
11605 lt_prog_compiler_wl='-Wl,'
11606 lt_prog_compiler_pic='-KPIC'
11607 lt_prog_compiler_static='-static'
11609 # icc used to be incompatible with GCC.
11610 # ICC 10 doesn't accept -KPIC any more.
11612 lt_prog_compiler_wl='-Wl,'
11613 lt_prog_compiler_pic='-fPIC'
11614 lt_prog_compiler_static='-static'
11616 # Lahey Fortran 8.1.
11618 lt_prog_compiler_wl='-Wl,'
11619 lt_prog_compiler_pic='--shared'
11620 lt_prog_compiler_static='--static'
11623 # NAG Fortran compiler
11624 lt_prog_compiler_wl='-Wl,-Wl,,'
11625 lt_prog_compiler_pic='-PIC'
11626 lt_prog_compiler_static='-Bstatic'
11629 # Fabrice Bellard et al's Tiny C Compiler
11630 lt_prog_compiler_wl='-Wl,'
11631 lt_prog_compiler_pic='-fPIC'
11632 lt_prog_compiler_static='-static'
11634 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11635 # Portland Group compilers (*not* the Pentium gcc compiler,
11636 # which looks to be a dead project)
11637 lt_prog_compiler_wl='-Wl,'
11638 lt_prog_compiler_pic='-fpic'
11639 lt_prog_compiler_static='-Bstatic'
11642 lt_prog_compiler_wl='-Wl,'
11643 # All Alpha code is PIC.
11644 lt_prog_compiler_static='-non_shared'
11646 xl* | bgxl* | bgf* | mpixl*)
11647 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11648 lt_prog_compiler_wl='-Wl,'
11649 lt_prog_compiler_pic='-qpic'
11650 lt_prog_compiler_static='-qstaticlink'
11653 case `$CC -V 2>&1 | sed 5q` in
11654 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11655 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11656 lt_prog_compiler_pic='-KPIC'
11657 lt_prog_compiler_static='-Bstatic'
11658 lt_prog_compiler_wl=''
11660 *Sun\ F* | *Sun*Fortran*)
11661 lt_prog_compiler_pic='-KPIC'
11662 lt_prog_compiler_static='-Bstatic'
11663 lt_prog_compiler_wl='-Qoption ld '
11667 lt_prog_compiler_pic='-KPIC'
11668 lt_prog_compiler_static='-Bstatic'
11669 lt_prog_compiler_wl='-Wl,'
11671 *Intel*\ [CF]*Compiler*)
11672 lt_prog_compiler_wl='-Wl,'
11673 lt_prog_compiler_pic='-fPIC'
11674 lt_prog_compiler_static='-static'
11677 lt_prog_compiler_wl='-Wl,'
11678 lt_prog_compiler_pic='-fpic'
11679 lt_prog_compiler_static='-Bstatic'
11687 lt_prog_compiler_pic='-KPIC'
11688 lt_prog_compiler_static='-Bstatic'
11692 # QNX uses GNU C++, but need to define -shared option too, otherwise
11693 # it will coredump.
11694 lt_prog_compiler_pic='-fPIC -shared'
11697 osf3* | osf4* | osf5*)
11698 lt_prog_compiler_wl='-Wl,'
11699 # All OSF/1 code is PIC.
11700 lt_prog_compiler_static='-non_shared'
11704 lt_prog_compiler_static='-non_shared'
11708 lt_prog_compiler_pic='-KPIC'
11709 lt_prog_compiler_static='-Bstatic'
11710 case $cc_basename in
11711 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11712 lt_prog_compiler_wl='-Qoption ld ';;
11714 lt_prog_compiler_wl='-Wl,';;
11719 lt_prog_compiler_wl='-Qoption ld '
11720 lt_prog_compiler_pic='-PIC'
11721 lt_prog_compiler_static='-Bstatic'
11724 sysv4 | sysv4.2uw2* | sysv4.3*)
11725 lt_prog_compiler_wl='-Wl,'
11726 lt_prog_compiler_pic='-KPIC'
11727 lt_prog_compiler_static='-Bstatic'
11731 if test -d /usr/nec; then
11732 lt_prog_compiler_pic='-Kconform_pic'
11733 lt_prog_compiler_static='-Bstatic'
11737 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11738 lt_prog_compiler_wl='-Wl,'
11739 lt_prog_compiler_pic='-KPIC'
11740 lt_prog_compiler_static='-Bstatic'
11744 lt_prog_compiler_wl='-Wl,'
11745 lt_prog_compiler_can_build_shared=no
11749 lt_prog_compiler_pic='-pic'
11750 lt_prog_compiler_static='-Bstatic'
11754 lt_prog_compiler_can_build_shared=no
11760 # For platforms that do not support PIC, -DPIC is meaningless:
11762 lt_prog_compiler_pic=
11765 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11770 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11771 if ${lt_cv_prog_compiler_pic+:} false; then :
11772 $as_echo_n "(cached) " >&6
11774 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11777 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11778 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11781 # Check to make sure the PIC flag actually works.
11783 if test -n "$lt_prog_compiler_pic"; then
11784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11785 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11786 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11787 $as_echo_n "(cached) " >&6
11789 lt_cv_prog_compiler_pic_works=no
11790 ac_outfile=conftest.$ac_objext
11791 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11792 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11793 # Insert the option either (1) after the last *FLAGS variable, or
11794 # (2) before a word containing "conftest.", or (3) at the end.
11795 # Note that $ac_compile itself does not contain backslashes and begins
11796 # with a dollar sign (not a hyphen), so the echo should work correctly.
11797 # The option is referenced via a variable to avoid confusing sed.
11798 lt_compile=`echo "$ac_compile" | $SED \
11799 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11800 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11801 -e 's:$: $lt_compiler_flag:'`
11802 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11803 (eval "$lt_compile" 2>conftest.err)
11805 cat conftest.err >&5
11806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11807 if (exit $ac_status) && test -s "$ac_outfile"; then
11808 # The compiler can only warn and ignore the option if not recognized
11809 # So say no if there are warnings other than the usual output.
11810 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11811 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11812 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11813 lt_cv_prog_compiler_pic_works=yes
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11820 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11822 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11823 case $lt_prog_compiler_pic in
11825 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11828 lt_prog_compiler_pic=
11829 lt_prog_compiler_can_build_shared=no
11845 # Check to make sure the static flag actually works.
11847 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11849 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11850 if ${lt_cv_prog_compiler_static_works+:} false; then :
11851 $as_echo_n "(cached) " >&6
11853 lt_cv_prog_compiler_static_works=no
11854 save_LDFLAGS=$LDFLAGS
11855 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11856 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11857 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11858 # The linker can only warn and ignore the option if not recognized
11859 # So say no if there are warnings
11860 if test -s conftest.err; then
11861 # Append any errors to the config.log.
11862 cat conftest.err 1>&5
11863 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11864 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11865 if diff conftest.exp conftest.er2 >/dev/null; then
11866 lt_cv_prog_compiler_static_works=yes
11869 lt_cv_prog_compiler_static_works=yes
11873 LDFLAGS=$save_LDFLAGS
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11877 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11879 if test yes = "$lt_cv_prog_compiler_static_works"; then
11882 lt_prog_compiler_static=
11891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11892 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11893 if ${lt_cv_prog_compiler_c_o+:} false; then :
11894 $as_echo_n "(cached) " >&6
11896 lt_cv_prog_compiler_c_o=no
11897 $RM -r conftest 2>/dev/null
11901 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11903 lt_compiler_flag="-o out/conftest2.$ac_objext"
11904 # Insert the option either (1) after the last *FLAGS variable, or
11905 # (2) before a word containing "conftest.", or (3) at the end.
11906 # Note that $ac_compile itself does not contain backslashes and begins
11907 # with a dollar sign (not a hyphen), so the echo should work correctly.
11908 lt_compile=`echo "$ac_compile" | $SED \
11909 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11910 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11911 -e 's:$: $lt_compiler_flag:'`
11912 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11913 (eval "$lt_compile" 2>out/conftest.err)
11915 cat out/conftest.err >&5
11916 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11917 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11919 # The compiler can only warn and ignore the option if not recognized
11920 # So say no if there are warnings
11921 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11922 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11923 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11924 lt_cv_prog_compiler_c_o=yes
11929 # SGI C++ compiler will create directory out/ii_files/ for
11930 # template instantiation
11931 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11932 $RM out/* && rmdir out
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11939 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11947 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11948 if ${lt_cv_prog_compiler_c_o+:} false; then :
11949 $as_echo_n "(cached) " >&6
11951 lt_cv_prog_compiler_c_o=no
11952 $RM -r conftest 2>/dev/null
11956 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11958 lt_compiler_flag="-o out/conftest2.$ac_objext"
11959 # Insert the option either (1) after the last *FLAGS variable, or
11960 # (2) before a word containing "conftest.", or (3) at the end.
11961 # Note that $ac_compile itself does not contain backslashes and begins
11962 # with a dollar sign (not a hyphen), so the echo should work correctly.
11963 lt_compile=`echo "$ac_compile" | $SED \
11964 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11965 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11966 -e 's:$: $lt_compiler_flag:'`
11967 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11968 (eval "$lt_compile" 2>out/conftest.err)
11970 cat out/conftest.err >&5
11971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11972 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11974 # The compiler can only warn and ignore the option if not recognized
11975 # So say no if there are warnings
11976 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11977 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11978 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11979 lt_cv_prog_compiler_c_o=yes
11984 # SGI C++ compiler will create directory out/ii_files/ for
11985 # template instantiation
11986 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11987 $RM out/* && rmdir out
11993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11994 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11999 hard_links=nottested
12000 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
12001 # do not overwrite the value of need_locks provided by the user
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
12003 $as_echo_n "checking if we can lock with hard links... " >&6; }
12006 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12008 ln conftest.a conftest.b 2>&5 || hard_links=no
12009 ln conftest.a conftest.b 2>/dev/null && hard_links=no
12010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
12011 $as_echo "$hard_links" >&6; }
12012 if test no = "$hard_links"; then
12013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
12014 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
12026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12027 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12030 allow_undefined_flag=
12031 always_export_symbols=no
12033 archive_expsym_cmds=
12034 compiler_needs_object=no
12035 enable_shared_with_static_runtimes=no
12036 export_dynamic_flag_spec=
12037 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
12038 hardcode_automatic=no
12040 hardcode_direct_absolute=no
12041 hardcode_libdir_flag_spec=
12042 hardcode_libdir_separator=
12043 hardcode_minus_L=no
12044 hardcode_shlibpath_var=unsupported
12046 link_all_deplibs=unknown
12048 module_expsym_cmds=
12049 old_archive_from_new_cmds=
12050 old_archive_from_expsyms_cmds=
12051 thread_safe_flag_spec=
12052 whole_archive_flag_spec=
12053 # include_expsyms should be a list of space-separated symbols to be *always*
12054 # included in the symbol list
12056 # exclude_expsyms can be an extended regexp of symbols to exclude
12057 # it will be wrapped by ' (' and ')$', so one must not match beginning or
12058 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
12059 # as well as any symbol that contains 'd'.
12060 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12061 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12062 # platforms (ab)use it in PIC code, but their linkers get confused if
12063 # the symbol is explicitly referenced. Since portable code cannot
12064 # rely on this symbol name, it's probably fine to never include it in
12065 # preloaded symbol tables.
12066 # Exclude shared library initialization/finalization symbols.
12067 extract_expsyms_cmds=
12070 cygwin* | mingw* | pw32* | cegcc*)
12071 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12072 # When not using gcc, we currently assume that we are using
12073 # Microsoft Visual C++.
12074 if test yes != "$GCC"; then
12079 # we just hope/assume this is gcc and not c89 (= MSVC++)
12082 openbsd* | bitrig*)
12089 # On some targets, GNU ld is compatible enough with the native linker
12090 # that we're better off using the native interface for both.
12091 lt_use_gnu_ld_interface=no
12092 if test yes = "$with_gnu_ld"; then
12095 # The AIX port of GNU ld has always aspired to compatibility
12096 # with the native linker. However, as the warning in the GNU ld
12097 # block says, versions before 2.19.5* couldn't really create working
12098 # shared libraries, regardless of the interface used.
12099 case `$LD -v 2>&1` in
12100 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12101 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12102 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12104 lt_use_gnu_ld_interface=yes
12109 lt_use_gnu_ld_interface=yes
12114 if test yes = "$lt_use_gnu_ld_interface"; then
12115 # If archive_cmds runs LD, not CC, wlarc should be empty
12118 # Set some defaults for GNU ld with shared library support. These
12119 # are reset later if shared libraries are not supported. Putting them
12120 # here allows them to be overridden if necessary.
12121 runpath_var=LD_RUN_PATH
12122 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12123 export_dynamic_flag_spec='$wl--export-dynamic'
12124 # ancient GNU ld didn't support --whole-archive et. al.
12125 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12126 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12128 whole_archive_flag_spec=
12130 supports_anon_versioning=no
12131 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12132 *GNU\ gold*) supports_anon_versioning=yes ;;
12133 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12134 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12135 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12136 *\ 2.11.*) ;; # other 2.11 versions
12137 *) supports_anon_versioning=yes ;;
12140 # See if GNU ld supports shared libraries.
12143 # On AIX/PPC, the GNU linker is very broken
12144 if test ia64 != "$host_cpu"; then
12148 *** Warning: the GNU linker, at least up to release 2.19, is reported
12149 *** to be unable to reliably create shared libraries on AIX.
12150 *** Therefore, libtool is disabling shared libraries support. If you
12151 *** really care for shared libraries, you may want to install binutils
12152 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12153 *** You will then need to restart the configuration process.
12162 # see comment about AmigaOS4 .so support
12163 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12164 archive_expsym_cmds=''
12167 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)'
12168 hardcode_libdir_flag_spec='-L$libdir'
12169 hardcode_minus_L=yes
12175 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12176 allow_undefined_flag=unsupported
12177 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12178 # support --undefined. This deserves some investigation. FIXME
12179 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12185 cygwin* | mingw* | pw32* | cegcc*)
12186 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12187 # as there is no search path for DLLs.
12188 hardcode_libdir_flag_spec='-L$libdir'
12189 export_dynamic_flag_spec='$wl--export-all-symbols'
12190 allow_undefined_flag=unsupported
12191 always_export_symbols=no
12192 enable_shared_with_static_runtimes=yes
12193 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'
12194 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12196 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12197 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12198 # If the export-symbols file already is a .def file, use it as
12199 # is; otherwise, prepend EXPORTS...
12200 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12201 cp $export_symbols $output_objdir/$soname.def;
12203 echo EXPORTS > $output_objdir/$soname.def;
12204 cat $export_symbols >> $output_objdir/$soname.def;
12206 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12213 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12214 link_all_deplibs=yes
12218 hardcode_libdir_flag_spec='-L$libdir'
12219 hardcode_minus_L=yes
12220 allow_undefined_flag=unsupported
12222 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12223 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12224 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12225 $ECHO EXPORTS >> $output_objdir/$libname.def~
12226 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12227 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12228 emximp -o $lib $output_objdir/$libname.def'
12229 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12230 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12231 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12232 $ECHO EXPORTS >> $output_objdir/$libname.def~
12233 prefix_cmds="$SED"~
12234 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12235 prefix_cmds="$prefix_cmds -e 1d";
12237 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12238 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12239 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12240 emximp -o $lib $output_objdir/$libname.def'
12241 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12242 enable_shared_with_static_runtimes=yes
12247 hardcode_shlibpath_var=no
12248 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12249 export_dynamic_flag_spec='$wl-E'
12250 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12251 # Instead, shared libraries are loaded at an image base (0x10000000 by
12252 # default) and relocated if they conflict, which is a slow very memory
12253 # consuming and fragmenting process. To avoid this, we pick a random,
12254 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12255 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12256 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12257 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'
12260 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12262 if test linux-dietlibc = "$host_os"; then
12263 case $cc_basename in
12264 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12267 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12268 && test no = "$tmp_diet"
12270 tmp_addflag=' $pic_flag'
12271 tmp_sharedflag='-shared'
12272 case $cc_basename,$host_cpu in
12273 pgcc*) # Portland Group C compiler
12274 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'
12275 tmp_addflag=' $pic_flag'
12277 pgf77* | pgf90* | pgf95* | pgfortran*)
12278 # Portland Group f77 and f90 compilers
12279 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'
12280 tmp_addflag=' $pic_flag -Mnomain' ;;
12281 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12282 tmp_addflag=' -i_dynamic' ;;
12283 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12284 tmp_addflag=' -i_dynamic -nofor_main' ;;
12285 ifc* | ifort*) # Intel Fortran compiler
12286 tmp_addflag=' -nofor_main' ;;
12287 lf95*) # Lahey Fortran 8.1
12288 whole_archive_flag_spec=
12289 tmp_sharedflag='--shared' ;;
12290 nagfor*) # NAGFOR 5.3
12291 tmp_sharedflag='-Wl,-shared' ;;
12292 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12293 tmp_sharedflag='-qmkshrobj'
12295 nvcc*) # Cuda Compiler Driver 2.2
12296 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'
12297 compiler_needs_object=yes
12300 case `$CC -V 2>&1 | sed 5q` in
12301 *Sun\ C*) # Sun C 5.9
12302 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'
12303 compiler_needs_object=yes
12304 tmp_sharedflag='-G' ;;
12305 *Sun\ F*) # Sun Fortran 8.3
12306 tmp_sharedflag='-G' ;;
12308 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12310 if test yes = "$supports_anon_versioning"; then
12311 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12312 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12313 echo "local: *; };" >> $output_objdir/$libname.ver~
12314 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12317 case $cc_basename in
12319 export_dynamic_flag_spec='-rdynamic'
12321 xlf* | bgf* | bgxlf* | mpixlf*)
12322 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12323 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12324 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12325 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12326 if test yes = "$supports_anon_versioning"; then
12327 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12328 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12329 echo "local: *; };" >> $output_objdir/$libname.ver~
12330 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12340 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12341 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12344 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12345 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12350 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12354 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12355 *** create shared libraries on Solaris systems. Therefore, libtool
12356 *** is disabling shared libraries support. We urge you to upgrade GNU
12357 *** binutils to release 2.9.1 or newer. Another option is to modify
12358 *** your PATH or compiler configuration so that the native linker is
12359 *** used, and then restart.
12362 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12363 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12364 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12370 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12371 case `$LD -v 2>&1` in
12372 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12376 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12377 *** reliably create shared libraries on SCO systems. Therefore, libtool
12378 *** is disabling shared libraries support. We urge you to upgrade GNU
12379 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12380 *** your PATH or compiler configuration so that the native linker is
12381 *** used, and then restart.
12386 # For security reasons, it is highly recommended that you always
12387 # use absolute paths for naming shared libraries, and exclude the
12388 # DT_RUNPATH tag from executables and libraries. But doing so
12389 # requires that you compile everything twice, which is a pain.
12390 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12391 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12392 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12393 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12402 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12404 hardcode_direct=yes
12405 hardcode_shlibpath_var=no
12409 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12410 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12411 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12418 if test no = "$ld_shlibs"; then
12420 hardcode_libdir_flag_spec=
12421 export_dynamic_flag_spec=
12422 whole_archive_flag_spec=
12425 # PORTME fill in a description of your system's linker (not GNU ld)
12428 allow_undefined_flag=unsupported
12429 always_export_symbols=yes
12430 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'
12431 # Note: this linker hardcodes the directories in LIBPATH if there
12432 # are no directories specified by -L.
12433 hardcode_minus_L=yes
12434 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12435 # Neither direct hardcoding nor static linking is supported with a
12437 hardcode_direct=unsupported
12442 if test ia64 = "$host_cpu"; then
12443 # On IA64, the linker does run time linking by default, so we don't
12444 # have to do anything special.
12445 aix_use_runtimelinking=no
12446 exp_sym_flag='-Bexport'
12449 # If we're using GNU nm, then we don't want the "-C" option.
12450 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12451 # Without the "-l" option, or with the "-B" option, AIX nm treats
12452 # weak defined symbols like other global defined symbols, whereas
12453 # GNU nm marks them as "W".
12454 # While the 'weak' keyword is ignored in the Export File, we need
12455 # it in the Import File for the 'aix-soname' feature, so we have
12456 # to replace the "-B" option with "-P" for AIX nm.
12457 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12458 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'
12460 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'
12462 aix_use_runtimelinking=no
12464 # Test if we are trying to use run time linking or normal
12465 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12466 # have runtime linking enabled, and use it for executables.
12467 # For shared libraries, we enable/disable runtime linking
12468 # depending on the kind of the shared library created -
12469 # when "with_aix_soname,aix_use_runtimelinking" is:
12470 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12471 # "aix,yes" lib.so shared, rtl:yes, for executables
12472 # lib.a static archive
12473 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12474 # lib.a(lib.so.V) shared, rtl:no, for executables
12475 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12476 # lib.a(lib.so.V) shared, rtl:no
12477 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12478 # lib.a static archive
12479 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12480 for ld_flag in $LDFLAGS; do
12481 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12482 aix_use_runtimelinking=yes
12486 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12487 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12488 # so we don't have lib.a shared libs to link our executables.
12489 # We have to force runtime linking in this case.
12490 aix_use_runtimelinking=yes
12491 LDFLAGS="$LDFLAGS -Wl,-brtl"
12496 exp_sym_flag='-bexport'
12497 no_entry_flag='-bnoentry'
12500 # When large executables or shared objects are built, AIX ld can
12501 # have problems creating the table of contents. If linking a library
12502 # or program results in "error TOC overflow" add -mminimal-toc to
12503 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12504 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12507 hardcode_direct=yes
12508 hardcode_direct_absolute=yes
12509 hardcode_libdir_separator=':'
12510 link_all_deplibs=yes
12511 file_list_spec='$wl-f,'
12512 case $with_aix_soname,$aix_use_runtimelinking in
12513 aix,*) ;; # traditional, no import file
12514 svr4,* | *,yes) # use import file
12515 # The Import File defines what to hardcode.
12517 hardcode_direct_absolute=no
12521 if test yes = "$GCC"; then
12522 case $host_os in aix4.[012]|aix4.[012].*)
12523 # We only want to do this on AIX 4.2 and lower, the check
12524 # below for broken collect2 doesn't work under 4.3+
12525 collect2name=`$CC -print-prog-name=collect2`
12526 if test -f "$collect2name" &&
12527 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12529 # We have reworked collect2
12532 # We have old collect2
12533 hardcode_direct=unsupported
12534 # It fails to find uninstalled libraries when the uninstalled
12535 # path is not listed in the libpath. Setting hardcode_minus_L
12536 # to unsupported forces relinking
12537 hardcode_minus_L=yes
12538 hardcode_libdir_flag_spec='-L$libdir'
12539 hardcode_libdir_separator=
12543 shared_flag='-shared'
12544 if test yes = "$aix_use_runtimelinking"; then
12545 shared_flag="$shared_flag "'$wl-G'
12547 # Need to ensure runtime linking is disabled for the traditional
12548 # shared library, or the linker may eventually find shared libraries
12549 # /with/ Import File - we do not want to mix them.
12550 shared_flag_aix='-shared'
12551 shared_flag_svr4='-shared $wl-G'
12554 if test ia64 = "$host_cpu"; then
12555 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12556 # chokes on -Wl,-G. The following line is correct:
12559 if test yes = "$aix_use_runtimelinking"; then
12560 shared_flag='$wl-G'
12562 shared_flag='$wl-bM:SRE'
12564 shared_flag_aix='$wl-bM:SRE'
12565 shared_flag_svr4='$wl-G'
12569 export_dynamic_flag_spec='$wl-bexpall'
12570 # It seems that -bexpall does not export symbols beginning with
12571 # underscore (_), so it is better to generate a list of symbols to export.
12572 always_export_symbols=yes
12573 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12574 # Warning - without using the other runtime loading flags (-brtl),
12575 # -berok will link without error, but may produce a broken library.
12576 allow_undefined_flag='-berok'
12577 # Determine the default libpath from the value encoded in an
12578 # empty executable.
12579 if test set = "${lt_cv_aix_libpath+set}"; then
12580 aix_libpath=$lt_cv_aix_libpath
12582 if ${lt_cv_aix_libpath_+:} false; then :
12583 $as_echo_n "(cached) " >&6
12585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12586 /* end confdefs.h. */
12596 if ac_fn_c_try_link "$LINENO"; then :
12598 lt_aix_libpath_sed='
12599 /Import File Strings/,/^$/ {
12601 s/^0 *\([^ ]*\) *$/\1/
12605 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12606 # Check for a 64-bit object if we didn't find anything.
12607 if test -z "$lt_cv_aix_libpath_"; then
12608 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12611 rm -f core conftest.err conftest.$ac_objext \
12612 conftest$ac_exeext conftest.$ac_ext
12613 if test -z "$lt_cv_aix_libpath_"; then
12614 lt_cv_aix_libpath_=/usr/lib:/lib
12619 aix_libpath=$lt_cv_aix_libpath_
12622 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12623 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
12625 if test ia64 = "$host_cpu"; then
12626 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12627 allow_undefined_flag="-z nodefs"
12628 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"
12630 # Determine the default libpath from the value encoded in an
12631 # empty executable.
12632 if test set = "${lt_cv_aix_libpath+set}"; then
12633 aix_libpath=$lt_cv_aix_libpath
12635 if ${lt_cv_aix_libpath_+:} false; then :
12636 $as_echo_n "(cached) " >&6
12638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12639 /* end confdefs.h. */
12649 if ac_fn_c_try_link "$LINENO"; then :
12651 lt_aix_libpath_sed='
12652 /Import File Strings/,/^$/ {
12654 s/^0 *\([^ ]*\) *$/\1/
12658 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12659 # Check for a 64-bit object if we didn't find anything.
12660 if test -z "$lt_cv_aix_libpath_"; then
12661 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12664 rm -f core conftest.err conftest.$ac_objext \
12665 conftest$ac_exeext conftest.$ac_ext
12666 if test -z "$lt_cv_aix_libpath_"; then
12667 lt_cv_aix_libpath_=/usr/lib:/lib
12672 aix_libpath=$lt_cv_aix_libpath_
12675 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12676 # Warning - without using the other run time loading flags,
12677 # -berok will link without error, but may produce a broken library.
12678 no_undefined_flag=' $wl-bernotok'
12679 allow_undefined_flag=' $wl-berok'
12680 if test yes = "$with_gnu_ld"; then
12681 # We only use this code for GNU lds that support --whole-archive.
12682 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12684 # Exported symbols can be pulled into shared objects from archives
12685 whole_archive_flag_spec='$convenience'
12687 archive_cmds_need_lc=yes
12688 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12689 # -brtl affects multiple linker settings, -berok does not and is overridden later
12690 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12691 if test svr4 != "$with_aix_soname"; then
12692 # This is similar to how AIX traditionally builds its shared libraries.
12693 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'
12695 if test aix != "$with_aix_soname"; then
12696 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'
12698 # used by -dlpreopen to get the symbols
12699 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12701 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12709 # see comment about AmigaOS4 .so support
12710 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12711 archive_expsym_cmds=''
12714 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)'
12715 hardcode_libdir_flag_spec='-L$libdir'
12716 hardcode_minus_L=yes
12722 export_dynamic_flag_spec=-rdynamic
12725 cygwin* | mingw* | pw32* | cegcc*)
12726 # When not using gcc, we currently assume that we are using
12727 # Microsoft Visual C++.
12728 # hardcode_libdir_flag_spec is actually meaningless, as there is
12729 # no search path for DLLs.
12730 case $cc_basename in
12733 hardcode_libdir_flag_spec=' '
12734 allow_undefined_flag=unsupported
12735 always_export_symbols=yes
12737 # Tell ltmain to make .lib files, not .a files.
12739 # Tell ltmain to make .dll files, not .so files.
12741 # FIXME: Setting linknames here is a bad hack.
12742 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12743 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12744 cp "$export_symbols" "$output_objdir/$soname.def";
12745 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12747 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12749 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12751 # The linker will not automatically build a static lib if we build a DLL.
12752 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12753 enable_shared_with_static_runtimes=yes
12754 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12755 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12757 old_postinstall_cmds='chmod 644 $oldlib'
12758 postlink_cmds='lt_outputfile="@OUTPUT@"~
12759 lt_tool_outputfile="@TOOL_OUTPUT@"~
12760 case $lt_outputfile in
12763 lt_outputfile=$lt_outputfile.exe
12764 lt_tool_outputfile=$lt_tool_outputfile.exe
12767 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12768 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12769 $RM "$lt_outputfile.manifest";
12773 # Assume MSVC wrapper
12774 hardcode_libdir_flag_spec=' '
12775 allow_undefined_flag=unsupported
12776 # Tell ltmain to make .lib files, not .a files.
12778 # Tell ltmain to make .dll files, not .so files.
12780 # FIXME: Setting linknames here is a bad hack.
12781 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12782 # The linker will automatically build a .lib file if we build a DLL.
12783 old_archive_from_new_cmds='true'
12784 # FIXME: Should let the user specify the lib program.
12785 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12786 enable_shared_with_static_runtimes=yes
12791 darwin* | rhapsody*)
12794 archive_cmds_need_lc=no
12796 hardcode_automatic=yes
12797 hardcode_shlibpath_var=unsupported
12798 if test yes = "$lt_cv_ld_force_load"; then
12799 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\"`'
12802 whole_archive_flag_spec=''
12804 link_all_deplibs=yes
12805 allow_undefined_flag=$_lt_dar_allow_undefined
12806 case $cc_basename in
12807 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12808 *) _lt_dar_can_shared=$GCC ;;
12810 if test yes = "$_lt_dar_can_shared"; then
12811 output_verbose_link_cmd=func_echo_all
12812 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12813 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12814 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"
12815 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"
12824 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12825 hardcode_libdir_flag_spec='-L$libdir'
12826 hardcode_shlibpath_var=no
12829 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12830 # support. Future versions do this automatically, but an explicit c++rt0.o
12831 # does not break anything, and helps significantly (at the cost of a little
12834 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12835 hardcode_libdir_flag_spec='-R$libdir'
12836 hardcode_direct=yes
12837 hardcode_shlibpath_var=no
12840 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12842 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12843 hardcode_direct=yes
12844 hardcode_minus_L=yes
12845 hardcode_shlibpath_var=no
12848 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12849 freebsd* | dragonfly*)
12850 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12851 hardcode_libdir_flag_spec='-R$libdir'
12852 hardcode_direct=yes
12853 hardcode_shlibpath_var=no
12857 if test yes = "$GCC"; then
12858 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'
12860 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'
12862 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12863 hardcode_libdir_separator=:
12864 hardcode_direct=yes
12866 # hardcode_minus_L: Not really in the search PATH,
12867 # but as the default location of the library.
12868 hardcode_minus_L=yes
12869 export_dynamic_flag_spec='$wl-E'
12873 if test yes,no = "$GCC,$with_gnu_ld"; then
12874 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12876 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12878 if test no = "$with_gnu_ld"; then
12879 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12880 hardcode_libdir_separator=:
12881 hardcode_direct=yes
12882 hardcode_direct_absolute=yes
12883 export_dynamic_flag_spec='$wl-E'
12884 # hardcode_minus_L: Not really in the search PATH,
12885 # but as the default location of the library.
12886 hardcode_minus_L=yes
12891 if test yes,no = "$GCC,$with_gnu_ld"; then
12894 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12897 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12900 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12906 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12909 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12913 # Older versions of the 11.00 compiler do not understand -b yet
12914 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12916 $as_echo_n "checking if $CC understands -b... " >&6; }
12917 if ${lt_cv_prog_compiler__b+:} false; then :
12918 $as_echo_n "(cached) " >&6
12920 lt_cv_prog_compiler__b=no
12921 save_LDFLAGS=$LDFLAGS
12922 LDFLAGS="$LDFLAGS -b"
12923 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12924 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12925 # The linker can only warn and ignore the option if not recognized
12926 # So say no if there are warnings
12927 if test -s conftest.err; then
12928 # Append any errors to the config.log.
12929 cat conftest.err 1>&5
12930 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12931 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12932 if diff conftest.exp conftest.er2 >/dev/null; then
12933 lt_cv_prog_compiler__b=yes
12936 lt_cv_prog_compiler__b=yes
12940 LDFLAGS=$save_LDFLAGS
12943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12944 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12946 if test yes = "$lt_cv_prog_compiler__b"; then
12947 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12949 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12955 if test no = "$with_gnu_ld"; then
12956 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12957 hardcode_libdir_separator=:
12962 hardcode_shlibpath_var=no
12965 hardcode_direct=yes
12966 hardcode_direct_absolute=yes
12967 export_dynamic_flag_spec='$wl-E'
12969 # hardcode_minus_L: Not really in the search PATH,
12970 # but as the default location of the library.
12971 hardcode_minus_L=yes
12977 irix5* | irix6* | nonstopux*)
12978 if test yes = "$GCC"; then
12979 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'
12980 # Try to use the -exported_symbol ld option, if it does not
12981 # work, assume that -exports_file does not work either and
12982 # implicitly export all symbols.
12983 # This should be the same for all languages, so no per-tag cache variable.
12984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12985 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12986 if ${lt_cv_irix_exported_symbol+:} false; then :
12987 $as_echo_n "(cached) " >&6
12989 save_LDFLAGS=$LDFLAGS
12990 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12992 /* end confdefs.h. */
12993 int foo (void) { return 0; }
12995 if ac_fn_c_try_link "$LINENO"; then :
12996 lt_cv_irix_exported_symbol=yes
12998 lt_cv_irix_exported_symbol=no
13000 rm -f core conftest.err conftest.$ac_objext \
13001 conftest$ac_exeext conftest.$ac_ext
13002 LDFLAGS=$save_LDFLAGS
13004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
13005 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
13006 if test yes = "$lt_cv_irix_exported_symbol"; then
13007 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'
13010 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'
13011 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'
13013 archive_cmds_need_lc='no'
13014 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13015 hardcode_libdir_separator=:
13017 link_all_deplibs=yes
13021 case $cc_basename in
13023 # Fabrice Bellard et al's Tiny C Compiler
13025 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13031 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13032 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
13034 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
13036 hardcode_libdir_flag_spec='-R$libdir'
13037 hardcode_direct=yes
13038 hardcode_shlibpath_var=no
13042 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13043 hardcode_direct=yes
13044 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13045 hardcode_libdir_separator=:
13046 hardcode_shlibpath_var=no
13052 openbsd* | bitrig*)
13053 if test -f /usr/libexec/ld.so; then
13054 hardcode_direct=yes
13055 hardcode_shlibpath_var=no
13056 hardcode_direct_absolute=yes
13057 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
13058 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13059 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13060 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13061 export_dynamic_flag_spec='$wl-E'
13063 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13064 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13072 hardcode_libdir_flag_spec='-L$libdir'
13073 hardcode_minus_L=yes
13074 allow_undefined_flag=unsupported
13076 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13077 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13078 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13079 $ECHO EXPORTS >> $output_objdir/$libname.def~
13080 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13081 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13082 emximp -o $lib $output_objdir/$libname.def'
13083 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13084 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13085 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13086 $ECHO EXPORTS >> $output_objdir/$libname.def~
13087 prefix_cmds="$SED"~
13088 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13089 prefix_cmds="$prefix_cmds -e 1d";
13091 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13092 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13093 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13094 emximp -o $lib $output_objdir/$libname.def'
13095 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13096 enable_shared_with_static_runtimes=yes
13100 if test yes = "$GCC"; then
13101 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13102 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'
13104 allow_undefined_flag=' -expect_unresolved \*'
13105 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'
13107 archive_cmds_need_lc='no'
13108 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13109 hardcode_libdir_separator=:
13112 osf4* | osf5*) # as osf3* with the addition of -msym flag
13113 if test yes = "$GCC"; then
13114 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13115 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'
13116 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13118 allow_undefined_flag=' -expect_unresolved \*'
13119 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'
13120 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~
13121 $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'
13123 # Both c and cxx compiler support -rpath directly
13124 hardcode_libdir_flag_spec='-rpath $libdir'
13126 archive_cmds_need_lc='no'
13127 hardcode_libdir_separator=:
13131 no_undefined_flag=' -z defs'
13132 if test yes = "$GCC"; then
13134 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13135 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13136 $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'
13138 case `$CC -V 2>&1` in
13141 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13142 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13143 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13147 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13148 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13149 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13153 hardcode_libdir_flag_spec='-R$libdir'
13154 hardcode_shlibpath_var=no
13156 solaris2.[0-5] | solaris2.[0-5].*) ;;
13158 # The compiler driver will combine and reorder linker options,
13159 # but understands '-z linker_flag'. GCC discards it without '$wl',
13160 # but is careful enough not to reorder.
13161 # Supported since Solaris 2.6 (maybe 2.5.1?)
13162 if test yes = "$GCC"; then
13163 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13165 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13169 link_all_deplibs=yes
13173 if test sequent = "$host_vendor"; then
13174 # Use $CC to link under sequent, because it throws in some extra .o
13175 # files that make .init and .fini sections work.
13176 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13178 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13180 hardcode_libdir_flag_spec='-L$libdir'
13181 hardcode_direct=yes
13182 hardcode_minus_L=yes
13183 hardcode_shlibpath_var=no
13187 case $host_vendor in
13189 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13190 hardcode_direct=yes # is this really true???
13193 ## LD is ld it makes a PLAMLIB
13194 ## CC just makes a GrossModule.
13195 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13196 reload_cmds='$CC -r -o $output$reload_objs'
13200 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13201 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13204 runpath_var='LD_RUN_PATH'
13205 hardcode_shlibpath_var=no
13209 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13210 hardcode_shlibpath_var=no
13211 export_dynamic_flag_spec='-Bexport'
13215 if test -d /usr/nec; then
13216 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13217 hardcode_shlibpath_var=no
13218 runpath_var=LD_RUN_PATH
13219 hardcode_runpath_var=yes
13224 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13225 no_undefined_flag='$wl-z,text'
13226 archive_cmds_need_lc=no
13227 hardcode_shlibpath_var=no
13228 runpath_var='LD_RUN_PATH'
13230 if test yes = "$GCC"; then
13231 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13232 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13234 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13235 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13239 sysv5* | sco3.2v5* | sco5v6*)
13240 # Note: We CANNOT use -z defs as we might desire, because we do not
13241 # link with -lc, and that would cause any symbols used from libc to
13242 # always be unresolved, which means just about no library would
13243 # ever link correctly. If we're not using GNU ld we use -z text
13244 # though, which does catch some bad symbols but isn't as heavy-handed
13246 no_undefined_flag='$wl-z,text'
13247 allow_undefined_flag='$wl-z,nodefs'
13248 archive_cmds_need_lc=no
13249 hardcode_shlibpath_var=no
13250 hardcode_libdir_flag_spec='$wl-R,$libdir'
13251 hardcode_libdir_separator=':'
13252 link_all_deplibs=yes
13253 export_dynamic_flag_spec='$wl-Bexport'
13254 runpath_var='LD_RUN_PATH'
13256 if test yes = "$GCC"; then
13257 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13258 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13260 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13261 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13266 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13267 hardcode_libdir_flag_spec='-L$libdir'
13268 hardcode_shlibpath_var=no
13276 if test sni = "$host_vendor"; then
13278 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13279 export_dynamic_flag_spec='$wl-Blargedynsym'
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13286 $as_echo "$ld_shlibs" >&6; }
13287 test no = "$ld_shlibs" && can_build_shared=no
13289 with_gnu_ld=$with_gnu_ld
13306 # Do we need to explicitly link libc?
13308 case "x$archive_cmds_need_lc" in
13310 # Assume -lc should be added
13311 archive_cmds_need_lc=yes
13313 if test yes,yes = "$GCC,$enable_shared"; then
13314 case $archive_cmds in
13316 # FIXME: we may have to deal with multi-command sequences.
13319 # Test whether the compiler implicitly links with -lc since on some
13320 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13321 # to ld, don't add -lc before -lgcc.
13322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13323 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13324 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13325 $as_echo_n "(cached) " >&6
13328 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13330 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13331 (eval $ac_compile) 2>&5
13333 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13334 test $ac_status = 0; } 2>conftest.err; then
13337 libobjs=conftest.$ac_objext
13339 wl=$lt_prog_compiler_wl
13340 pic_flag=$lt_prog_compiler_pic
13346 lt_save_allow_undefined_flag=$allow_undefined_flag
13347 allow_undefined_flag=
13348 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13349 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13352 test $ac_status = 0; }
13354 lt_cv_archive_cmds_need_lc=no
13356 lt_cv_archive_cmds_need_lc=yes
13358 allow_undefined_flag=$lt_save_allow_undefined_flag
13360 cat conftest.err 1>&5
13365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13366 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13367 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13526 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13528 if test yes = "$GCC"; then
13530 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13531 *) lt_awk_arg='/^libraries:/' ;;
13534 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13535 *) lt_sed_strip_eq='s|=/|/|g' ;;
13537 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13538 case $lt_search_path_spec in
13540 # if the path contains ";" then we assume it to be the separator
13541 # otherwise default to the standard path separator (i.e. ":") - it is
13542 # assumed that no part of a normal pathname contains ";" but that should
13543 # okay in the real world where ";" in dirpaths is itself problematic.
13544 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13547 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13550 # Ok, now we have the path, separated by spaces, we can step through it
13551 # and add multilib dir if necessary...
13552 lt_tmp_lt_search_path_spec=
13553 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13554 # ...but if some path component already ends with the multilib dir we assume
13555 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13556 case "$lt_multi_os_dir; $lt_search_path_spec " in
13557 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13561 for lt_sys_path in $lt_search_path_spec; do
13562 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13563 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13564 elif test -n "$lt_multi_os_dir"; then
13565 test -d "$lt_sys_path" && \
13566 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13569 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13570 BEGIN {RS = " "; FS = "/|\n";} {
13573 for (lt_i = NF; lt_i > 0; lt_i--) {
13574 if ($lt_i != "" && $lt_i != ".") {
13575 if ($lt_i == "..") {
13578 if (lt_count == 0) {
13579 lt_foo = "/" $lt_i lt_foo;
13586 if (lt_foo != "") { lt_freq[lt_foo]++; }
13587 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13589 # AWK program above erroneously prepends '/' to C:/dos/paths
13592 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13593 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13595 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13597 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13599 library_names_spec=
13600 libname_spec='lib$name'
13604 postuninstall_cmds=
13608 shlibpath_overrides_runpath=unknown
13610 dynamic_linker="$host_os ld.so"
13611 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13612 need_lib_prefix=unknown
13613 hardcode_into_libs=no
13615 # when you set need_version to no, make sure it does not cause -set_version
13616 # flags to be left without arguments
13617 need_version=unknown
13623 version_type=linux # correct to gnu/linux during the next big refactor
13624 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13625 shlibpath_var=LIBPATH
13627 # AIX 3 has no versioning support, so we append a major version to the name.
13628 soname_spec='$libname$release$shared_ext$major'
13632 version_type=linux # correct to gnu/linux during the next big refactor
13635 hardcode_into_libs=yes
13636 if test ia64 = "$host_cpu"; then
13637 # AIX 5 supports IA64
13638 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13639 shlibpath_var=LD_LIBRARY_PATH
13641 # With GCC up to 2.95.x, collect2 would create an import file
13642 # for dependence libraries. The import file would start with
13643 # the line '#! .'. This would cause the generated library to
13644 # depend on '.', always an invalid library. This was fixed in
13645 # development snapshots of GCC prior to 3.0.
13647 aix4 | aix4.[01] | aix4.[01].*)
13648 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13650 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13653 can_build_shared=no
13657 # Using Import Files as archive members, it is possible to support
13658 # filename-based versioning of shared library archives on AIX. While
13659 # this would work for both with and without runtime linking, it will
13660 # prevent static linking of such archives. So we do filename-based
13661 # shared library versioning with .so extension only, which is used
13662 # when both runtime linking and shared linking is enabled.
13663 # Unfortunately, runtime linking may impact performance, so we do
13664 # not want this to be the default eventually. Also, we use the
13665 # versioned .so libs for executables only if there is the -brtl
13666 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13667 # To allow for filename-based versioning support, we need to create
13668 # libNAME.so.V as an archive file, containing:
13669 # *) an Import File, referring to the versioned filename of the
13670 # archive as well as the shared archive member, telling the
13671 # bitwidth (32 or 64) of that shared object, and providing the
13672 # list of exported symbols of that shared object, eventually
13673 # decorated with the 'weak' keyword
13674 # *) the shared object with the F_LOADONLY flag set, to really avoid
13675 # it being seen by the linker.
13676 # At run time we better use the real file rather than another symlink,
13677 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13679 case $with_aix_soname,$aix_use_runtimelinking in
13680 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13681 # soname into executable. Probably we can add versioning support to
13682 # collect2, so additional links can be useful in future.
13683 aix,yes) # traditional libtool
13684 dynamic_linker='AIX unversionable lib.so'
13685 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13686 # instead of lib<name>.a to let people know that these are not
13687 # typical AIX shared libraries.
13688 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13690 aix,no) # traditional AIX only
13691 dynamic_linker='AIX lib.a(lib.so.V)'
13692 # We preserve .a as extension for shared libraries through AIX4.2
13693 # and later when we are not doing run time linking.
13694 library_names_spec='$libname$release.a $libname.a'
13695 soname_spec='$libname$release$shared_ext$major'
13697 svr4,*) # full svr4 only
13698 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13699 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13700 # We do not specify a path in Import Files, so LIBPATH fires.
13701 shlibpath_overrides_runpath=yes
13703 *,yes) # both, prefer svr4
13704 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13705 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13706 # unpreferred sharedlib libNAME.a needs extra handling
13707 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"'
13708 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"'
13709 # We do not specify a path in Import Files, so LIBPATH fires.
13710 shlibpath_overrides_runpath=yes
13712 *,no) # both, prefer aix
13713 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13714 library_names_spec='$libname$release.a $libname.a'
13715 soname_spec='$libname$release$shared_ext$major'
13716 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13717 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)'
13718 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"'
13721 shlibpath_var=LIBPATH
13728 # Since July 2007 AmigaOS4 officially supports .so libraries.
13729 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13730 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13733 library_names_spec='$libname.ixlibrary $libname.a'
13734 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13735 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'
13741 library_names_spec='$libname$shared_ext'
13742 dynamic_linker="$host_os ld.so"
13743 shlibpath_var=LIBRARY_PATH
13747 version_type=linux # correct to gnu/linux during the next big refactor
13749 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13750 soname_spec='$libname$release$shared_ext$major'
13751 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13752 shlibpath_var=LD_LIBRARY_PATH
13753 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13754 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13755 # the default ld.so.conf also contains /usr/contrib/lib and
13756 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13757 # libtool to hard-code these into programs
13760 cygwin* | mingw* | pw32* | cegcc*)
13761 version_type=windows
13766 case $GCC,$cc_basename in
13769 library_names_spec='$libname.dll.a'
13770 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13771 postinstall_cmds='base_file=`basename \$file`~
13772 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13773 dldir=$destdir/`dirname \$dlpath`~
13774 test -d \$dldir || mkdir -p \$dldir~
13775 $install_prog $dir/$dlname \$dldir/$dlname~
13776 chmod a+x \$dldir/$dlname~
13777 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13778 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13780 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13781 dlpath=$dir/\$dldll~
13783 shlibpath_overrides_runpath=yes
13787 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13788 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13790 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13793 # MinGW DLLs use traditional 'lib' prefix
13794 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13797 # pw32 DLLs use 'pw' prefix rather than 'lib'
13798 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13801 dynamic_linker='Win32 ld.exe'
13806 libname_spec='$name'
13807 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13808 library_names_spec='$libname.dll.lib'
13812 sys_lib_search_path_spec=
13815 for lt_path in $LIB
13818 # Let DOS variable expansion print the short 8.3 style file name.
13819 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13820 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13823 # Convert to MSYS style.
13824 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13827 # Convert to unix form, then to dos form, then back to unix form
13828 # but this time dos style (no spaces!) so that the unix form looks
13829 # like /cygdrive/c/PROGRA~1:/cygdr...
13830 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13831 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13832 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13835 sys_lib_search_path_spec=$LIB
13836 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13837 # It is most probably a Windows format PATH.
13838 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13840 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13842 # FIXME: find the short name or the path components, as spaces are
13843 # common. (e.g. "Program Files" -> "PROGRA~1")
13847 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13848 postinstall_cmds='base_file=`basename \$file`~
13849 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13850 dldir=$destdir/`dirname \$dlpath`~
13851 test -d \$dldir || mkdir -p \$dldir~
13852 $install_prog $dir/$dlname \$dldir/$dlname'
13853 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13854 dlpath=$dir/\$dldll~
13856 shlibpath_overrides_runpath=yes
13857 dynamic_linker='Win32 link.exe'
13861 # Assume MSVC wrapper
13862 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13863 dynamic_linker='Win32 ld.exe'
13866 # FIXME: first we should search . and the directory the executable is in
13870 darwin* | rhapsody*)
13871 dynamic_linker="$host_os dyld"
13872 version_type=darwin
13875 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13876 soname_spec='$libname$release$major$shared_ext'
13877 shlibpath_overrides_runpath=yes
13878 shlibpath_var=DYLD_LIBRARY_PATH
13879 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13881 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13882 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13886 version_type=linux # correct to gnu/linux during the next big refactor
13889 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13890 soname_spec='$libname$release$shared_ext$major'
13891 shlibpath_var=LD_LIBRARY_PATH
13894 freebsd* | dragonfly*)
13895 # DragonFly does not have aout. When/if they implement a new
13896 # versioning mechanism, adjust this.
13897 if test -x /usr/bin/objformat; then
13898 objformat=`/usr/bin/objformat`
13901 freebsd[23].*) objformat=aout ;;
13902 *) objformat=elf ;;
13905 version_type=freebsd-$objformat
13906 case $version_type in
13908 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13909 soname_spec='$libname$release$shared_ext$major'
13914 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13918 shlibpath_var=LD_LIBRARY_PATH
13921 shlibpath_overrides_runpath=yes
13923 freebsd3.[01]* | freebsdelf3.[01]*)
13924 shlibpath_overrides_runpath=yes
13925 hardcode_into_libs=yes
13927 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13928 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13929 shlibpath_overrides_runpath=no
13930 hardcode_into_libs=yes
13932 *) # from 4.6 on, and DragonFly
13933 shlibpath_overrides_runpath=yes
13934 hardcode_into_libs=yes
13940 version_type=linux # correct to gnu/linux during the next big refactor
13943 dynamic_linker="$host_os runtime_loader"
13944 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13945 soname_spec='$libname$release$shared_ext$major'
13946 shlibpath_var=LIBRARY_PATH
13947 shlibpath_overrides_runpath=no
13948 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13949 hardcode_into_libs=yes
13952 hpux9* | hpux10* | hpux11*)
13953 # Give a soname corresponding to the major version so that dld.sl refuses to
13954 # link against other versions.
13961 hardcode_into_libs=yes
13962 dynamic_linker="$host_os dld.so"
13963 shlibpath_var=LD_LIBRARY_PATH
13964 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13965 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13966 soname_spec='$libname$release$shared_ext$major'
13967 if test 32 = "$HPUX_IA64_MODE"; then
13968 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13969 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13971 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13972 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13977 hardcode_into_libs=yes
13978 dynamic_linker="$host_os dld.sl"
13979 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13980 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13981 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13982 soname_spec='$libname$release$shared_ext$major'
13983 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13984 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13988 dynamic_linker="$host_os dld.sl"
13989 shlibpath_var=SHLIB_PATH
13990 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13991 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13992 soname_spec='$libname$release$shared_ext$major'
13995 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13996 postinstall_cmds='chmod 555 $lib'
13997 # or fails outright, so override atomically:
13998 install_override_mode=555
14002 version_type=linux # correct to gnu/linux during the next big refactor
14005 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14006 soname_spec='$libname$release$shared_ext$major'
14007 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14008 shlibpath_var=LD_LIBRARY_PATH
14009 shlibpath_overrides_runpath=no
14010 hardcode_into_libs=yes
14013 irix5* | irix6* | nonstopux*)
14015 nonstopux*) version_type=nonstopux ;;
14017 if test yes = "$lt_cv_prog_gnu_ld"; then
14018 version_type=linux # correct to gnu/linux during the next big refactor
14025 soname_spec='$libname$release$shared_ext$major'
14026 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
14028 irix5* | nonstopux*)
14029 libsuff= shlibsuff=
14032 case $LD in # libtool.m4 will add one of these switches to LD
14033 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14034 libsuff= shlibsuff= libmagic=32-bit;;
14035 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14036 libsuff=32 shlibsuff=N32 libmagic=N32;;
14037 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14038 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14039 *) libsuff= shlibsuff= libmagic=never-match;;
14043 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14044 shlibpath_overrides_runpath=no
14045 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
14046 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
14047 hardcode_into_libs=yes
14050 # No shared lib support for Linux oldld, aout, or coff.
14051 linux*oldld* | linux*aout* | linux*coff*)
14056 version_type=none # Android doesn't support versioned libraries.
14059 library_names_spec='$libname$release$shared_ext'
14060 soname_spec='$libname$release$shared_ext'
14062 shlibpath_var=LD_LIBRARY_PATH
14063 shlibpath_overrides_runpath=yes
14065 # This implies no fast_install, which is unacceptable.
14066 # Some rework will be needed to allow for fast_install
14067 # before this can be enabled.
14068 hardcode_into_libs=yes
14070 dynamic_linker='Android linker'
14071 # Don't embed -rpath directories since the linker doesn't support them.
14072 hardcode_libdir_flag_spec='-L$libdir'
14075 # This must be glibc/ELF.
14076 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14077 version_type=linux # correct to gnu/linux during the next big refactor
14080 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14081 soname_spec='$libname$release$shared_ext$major'
14082 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14083 shlibpath_var=LD_LIBRARY_PATH
14084 shlibpath_overrides_runpath=no
14086 # Some binutils ld are patched to set DT_RUNPATH
14087 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14088 $as_echo_n "(cached) " >&6
14090 lt_cv_shlibpath_overrides_runpath=no
14091 save_LDFLAGS=$LDFLAGS
14092 save_libdir=$libdir
14093 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14094 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14096 /* end confdefs.h. */
14106 if ac_fn_c_try_link "$LINENO"; then :
14107 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14108 lt_cv_shlibpath_overrides_runpath=yes
14111 rm -f core conftest.err conftest.$ac_objext \
14112 conftest$ac_exeext conftest.$ac_ext
14113 LDFLAGS=$save_LDFLAGS
14114 libdir=$save_libdir
14118 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14120 # This implies no fast_install, which is unacceptable.
14121 # Some rework will be needed to allow for fast_install
14122 # before this can be enabled.
14123 hardcode_into_libs=yes
14125 # Ideally, we could use ldconfig to report *all* directores which are
14126 # searched for libraries, however this is still not possible. Aside from not
14127 # being certain /sbin/ldconfig is available, command
14128 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14129 # even though it is searched at run-time. Try to do the best guess by
14130 # appending ld.so.conf contents (and includes) to the search path.
14131 if test -f /etc/ld.so.conf; then
14132 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' ' '`
14133 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14136 # We used to test for /lib/ld.so.1 and disable shared libraries on
14137 # powerpc, because MkLinux only supported shared libraries with the
14138 # GNU dynamic linker. Since this was broken with cross compilers,
14139 # most powerpc-linux boxes support dynamic linking these days and
14140 # people can always --disable-shared, the test was removed, and we
14141 # assume the GNU/Linux dynamic linker is in use.
14142 dynamic_linker='GNU/Linux ld.so'
14149 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14150 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14151 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14152 dynamic_linker='NetBSD (a.out) ld.so'
14154 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14155 soname_spec='$libname$release$shared_ext$major'
14156 dynamic_linker='NetBSD ld.elf_so'
14158 shlibpath_var=LD_LIBRARY_PATH
14159 shlibpath_overrides_runpath=yes
14160 hardcode_into_libs=yes
14164 version_type=linux # correct to gnu/linux during the next big refactor
14165 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14166 shlibpath_var=LD_LIBRARY_PATH
14167 shlibpath_overrides_runpath=yes
14174 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14175 soname_spec='$libname$release$shared_ext$major'
14176 shlibpath_var=LD_LIBRARY_PATH
14177 shlibpath_overrides_runpath=no
14178 hardcode_into_libs=yes
14179 dynamic_linker='ldqnx.so'
14182 openbsd* | bitrig*)
14184 sys_lib_dlsearch_path_spec=/usr/lib
14186 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14191 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14192 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14193 shlibpath_var=LD_LIBRARY_PATH
14194 shlibpath_overrides_runpath=yes
14198 libname_spec='$name'
14199 version_type=windows
14203 # OS/2 can only load a DLL with a base name of 8 characters or less.
14204 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14205 v=$($ECHO $release$versuffix | tr -d .-);
14206 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14207 $ECHO $n$v`$shared_ext'
14208 library_names_spec='${libname}_dll.$libext'
14209 dynamic_linker='OS/2 ld.exe'
14210 shlibpath_var=BEGINLIBPATH
14211 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14212 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14213 postinstall_cmds='base_file=`basename \$file`~
14214 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14215 dldir=$destdir/`dirname \$dlpath`~
14216 test -d \$dldir || mkdir -p \$dldir~
14217 $install_prog $dir/$dlname \$dldir/$dlname~
14218 chmod a+x \$dldir/$dlname~
14219 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14220 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14222 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14223 dlpath=$dir/\$dldll~
14227 osf3* | osf4* | osf5*)
14231 soname_spec='$libname$release$shared_ext$major'
14232 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14233 shlibpath_var=LD_LIBRARY_PATH
14234 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14235 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14243 version_type=linux # correct to gnu/linux during the next big refactor
14246 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14247 soname_spec='$libname$release$shared_ext$major'
14248 shlibpath_var=LD_LIBRARY_PATH
14249 shlibpath_overrides_runpath=yes
14250 hardcode_into_libs=yes
14251 # ldd complains unless libraries are executable
14252 postinstall_cmds='chmod +x $lib'
14257 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14258 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14259 shlibpath_var=LD_LIBRARY_PATH
14260 shlibpath_overrides_runpath=yes
14261 if test yes = "$with_gnu_ld"; then
14268 version_type=linux # correct to gnu/linux during the next big refactor
14269 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14270 soname_spec='$libname$release$shared_ext$major'
14271 shlibpath_var=LD_LIBRARY_PATH
14272 case $host_vendor in
14274 shlibpath_overrides_runpath=no
14276 runpath_var=LD_RUN_PATH
14284 shlibpath_overrides_runpath=no
14285 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14291 if test -d /usr/nec; then
14292 version_type=linux # correct to gnu/linux during the next big refactor
14293 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14294 soname_spec='$libname$shared_ext.$major'
14295 shlibpath_var=LD_LIBRARY_PATH
14299 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14303 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14304 soname_spec='$libname$release$shared_ext$major'
14305 shlibpath_var=LD_LIBRARY_PATH
14306 shlibpath_overrides_runpath=yes
14307 hardcode_into_libs=yes
14308 if test yes = "$with_gnu_ld"; then
14309 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14311 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14314 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14318 sys_lib_dlsearch_path_spec='/usr/lib'
14322 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14323 version_type=linux # correct to gnu/linux during the next big refactor
14326 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14327 shlibpath_var=LD_LIBRARY_PATH
14328 shlibpath_overrides_runpath=no
14329 hardcode_into_libs=yes
14333 version_type=linux # correct to gnu/linux during the next big refactor
14334 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14335 soname_spec='$libname$release$shared_ext$major'
14336 shlibpath_var=LD_LIBRARY_PATH
14343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14344 $as_echo "$dynamic_linker" >&6; }
14345 test no = "$dynamic_linker" && can_build_shared=no
14347 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14348 if test yes = "$GCC"; then
14349 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14352 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14353 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14356 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14357 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14360 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14361 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14363 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14364 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14366 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14367 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14466 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14468 if test -n "$hardcode_libdir_flag_spec" ||
14469 test -n "$runpath_var" ||
14470 test yes = "$hardcode_automatic"; then
14472 # We can hardcode non-existent directories.
14473 if test no != "$hardcode_direct" &&
14474 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14475 # have to relink, otherwise we might link with an installed library
14476 # when we should be linking with a yet-to-be-installed one
14477 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14478 test no != "$hardcode_minus_L"; then
14479 # Linking always hardcodes the temporary library directory.
14480 hardcode_action=relink
14482 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14483 hardcode_action=immediate
14486 # We cannot hardcode anything, or else we can only hardcode existing
14488 hardcode_action=unsupported
14490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14491 $as_echo "$hardcode_action" >&6; }
14493 if test relink = "$hardcode_action" ||
14494 test yes = "$inherit_rpath"; then
14495 # Fast installation is not supported
14496 enable_fast_install=no
14497 elif test yes = "$shlibpath_overrides_runpath" ||
14498 test no = "$enable_shared"; then
14499 # Fast installation is not necessary
14500 enable_fast_install=needless
14508 if test yes != "$enable_dlopen"; then
14509 enable_dlopen=unknown
14510 enable_dlopen_self=unknown
14511 enable_dlopen_self_static=unknown
14518 lt_cv_dlopen=load_add_on
14520 lt_cv_dlopen_self=yes
14523 mingw* | pw32* | cegcc*)
14524 lt_cv_dlopen=LoadLibrary
14529 lt_cv_dlopen=dlopen
14534 # if libdl is installed we need to link against it
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14536 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14537 if ${ac_cv_lib_dl_dlopen+:} false; then :
14538 $as_echo_n "(cached) " >&6
14540 ac_check_lib_save_LIBS=$LIBS
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_lib_dl_dlopen=yes
14563 ac_cv_lib_dl_dlopen=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 LIBS=$ac_check_lib_save_LIBS
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14570 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14571 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14572 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14577 lt_cv_dlopen_self=yes
14584 # Don't try to run any link tests for TPF. We know it's impossible
14585 # because TPF is a cross-compiler, and we know how we open DSOs.
14586 lt_cv_dlopen=dlopen
14588 lt_cv_dlopen_self=no
14592 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14593 if test "x$ac_cv_func_shl_load" = xyes; then :
14594 lt_cv_dlopen=shl_load
14596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14597 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14598 if ${ac_cv_lib_dld_shl_load+:} false; then :
14599 $as_echo_n "(cached) " >&6
14601 ac_check_lib_save_LIBS=$LIBS
14603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14604 /* end confdefs.h. */
14606 /* Override any GCC internal prototype to avoid an error.
14607 Use char because int might match the return type of a GCC
14608 builtin and then its argument prototype would still apply. */
14616 return shl_load ();
14621 if ac_fn_c_try_link "$LINENO"; then :
14622 ac_cv_lib_dld_shl_load=yes
14624 ac_cv_lib_dld_shl_load=no
14626 rm -f core conftest.err conftest.$ac_objext \
14627 conftest$ac_exeext conftest.$ac_ext
14628 LIBS=$ac_check_lib_save_LIBS
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14631 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14632 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14633 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14635 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14636 if test "x$ac_cv_func_dlopen" = xyes; then :
14637 lt_cv_dlopen=dlopen
14639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14640 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14641 if ${ac_cv_lib_dl_dlopen+:} false; then :
14642 $as_echo_n "(cached) " >&6
14644 ac_check_lib_save_LIBS=$LIBS
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14664 if ac_fn_c_try_link "$LINENO"; then :
14665 ac_cv_lib_dl_dlopen=yes
14667 ac_cv_lib_dl_dlopen=no
14669 rm -f core conftest.err conftest.$ac_objext \
14670 conftest$ac_exeext conftest.$ac_ext
14671 LIBS=$ac_check_lib_save_LIBS
14673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14674 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14675 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14676 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14679 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14680 if ${ac_cv_lib_svld_dlopen+:} false; then :
14681 $as_echo_n "(cached) " >&6
14683 ac_check_lib_save_LIBS=$LIBS
14684 LIBS="-lsvld $LIBS"
14685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14686 /* end confdefs.h. */
14688 /* Override any GCC internal prototype to avoid an error.
14689 Use char because int might match the return type of a GCC
14690 builtin and then its argument prototype would still apply. */
14703 if ac_fn_c_try_link "$LINENO"; then :
14704 ac_cv_lib_svld_dlopen=yes
14706 ac_cv_lib_svld_dlopen=no
14708 rm -f core conftest.err conftest.$ac_objext \
14709 conftest$ac_exeext conftest.$ac_ext
14710 LIBS=$ac_check_lib_save_LIBS
14712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14713 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14714 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14715 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14718 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14719 if ${ac_cv_lib_dld_dld_link+:} false; then :
14720 $as_echo_n "(cached) " >&6
14722 ac_check_lib_save_LIBS=$LIBS
14724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14725 /* end confdefs.h. */
14727 /* Override any GCC internal prototype to avoid an error.
14728 Use char because int might match the return type of a GCC
14729 builtin and then its argument prototype would still apply. */
14737 return dld_link ();
14742 if ac_fn_c_try_link "$LINENO"; then :
14743 ac_cv_lib_dld_dld_link=yes
14745 ac_cv_lib_dld_dld_link=no
14747 rm -f core conftest.err conftest.$ac_objext \
14748 conftest$ac_exeext conftest.$ac_ext
14749 LIBS=$ac_check_lib_save_LIBS
14751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14752 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14753 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14754 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14775 if test no = "$lt_cv_dlopen"; then
14781 case $lt_cv_dlopen in
14783 save_CPPFLAGS=$CPPFLAGS
14784 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14786 save_LDFLAGS=$LDFLAGS
14787 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14790 LIBS="$lt_cv_dlopen_libs $LIBS"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14793 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14794 if ${lt_cv_dlopen_self+:} false; then :
14795 $as_echo_n "(cached) " >&6
14797 if test yes = "$cross_compiling"; then :
14798 lt_cv_dlopen_self=cross
14800 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14801 lt_status=$lt_dlunknown
14802 cat > conftest.$ac_ext <<_LT_EOF
14803 #line $LINENO "configure"
14804 #include "confdefs.h"
14813 # define LT_DLGLOBAL RTLD_GLOBAL
14816 # define LT_DLGLOBAL DL_GLOBAL
14818 # define LT_DLGLOBAL 0
14822 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14823 find out it does not work in some platform. */
14824 #ifndef LT_DLLAZY_OR_NOW
14826 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14829 # define LT_DLLAZY_OR_NOW DL_LAZY
14832 # define LT_DLLAZY_OR_NOW RTLD_NOW
14835 # define LT_DLLAZY_OR_NOW DL_NOW
14837 # define LT_DLLAZY_OR_NOW 0
14844 /* When -fvisibility=hidden is used, assume the code has been annotated
14845 correspondingly for the symbols needed. */
14846 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14847 int fnord () __attribute__((visibility("default")));
14850 int fnord () { return 42; }
14853 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14854 int status = $lt_dlunknown;
14858 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14861 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14862 else puts (dlerror ());
14864 /* dlclose (self); */
14872 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14873 (eval $ac_link) 2>&5
14875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14876 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14877 (./conftest; exit; ) >&5 2>/dev/null
14879 case x$lt_status in
14880 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14881 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14882 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14885 # compilation failed
14886 lt_cv_dlopen_self=no
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14894 $as_echo "$lt_cv_dlopen_self" >&6; }
14896 if test yes = "$lt_cv_dlopen_self"; then
14897 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14899 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14900 if ${lt_cv_dlopen_self_static+:} false; then :
14901 $as_echo_n "(cached) " >&6
14903 if test yes = "$cross_compiling"; then :
14904 lt_cv_dlopen_self_static=cross
14906 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14907 lt_status=$lt_dlunknown
14908 cat > conftest.$ac_ext <<_LT_EOF
14909 #line $LINENO "configure"
14910 #include "confdefs.h"
14919 # define LT_DLGLOBAL RTLD_GLOBAL
14922 # define LT_DLGLOBAL DL_GLOBAL
14924 # define LT_DLGLOBAL 0
14928 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14929 find out it does not work in some platform. */
14930 #ifndef LT_DLLAZY_OR_NOW
14932 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14935 # define LT_DLLAZY_OR_NOW DL_LAZY
14938 # define LT_DLLAZY_OR_NOW RTLD_NOW
14941 # define LT_DLLAZY_OR_NOW DL_NOW
14943 # define LT_DLLAZY_OR_NOW 0
14950 /* When -fvisibility=hidden is used, assume the code has been annotated
14951 correspondingly for the symbols needed. */
14952 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14953 int fnord () __attribute__((visibility("default")));
14956 int fnord () { return 42; }
14959 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14960 int status = $lt_dlunknown;
14964 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14967 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14968 else puts (dlerror ());
14970 /* dlclose (self); */
14978 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14979 (eval $ac_link) 2>&5
14981 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14982 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14983 (./conftest; exit; ) >&5 2>/dev/null
14985 case x$lt_status in
14986 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14987 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14988 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14991 # compilation failed
14992 lt_cv_dlopen_self_static=no
14999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
15000 $as_echo "$lt_cv_dlopen_self_static" >&6; }
15003 CPPFLAGS=$save_CPPFLAGS
15004 LDFLAGS=$save_LDFLAGS
15009 case $lt_cv_dlopen_self in
15010 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
15011 *) enable_dlopen_self=unknown ;;
15014 case $lt_cv_dlopen_self_static in
15015 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
15016 *) enable_dlopen_self_static=unknown ;;
15038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
15039 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
15040 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
15041 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
15042 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15044 $as_echo "yes" >&6; }
15046 # FIXME - insert some real tests, host_os isn't really good enough
15049 if test -n "$STRIP"; then
15050 striplib="$STRIP -x"
15051 old_striplib="$STRIP -S"
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
15053 $as_echo "yes" >&6; }
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15056 $as_echo "no" >&6; }
15060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15061 $as_echo "no" >&6; }
15077 # Report what library types will actually be built
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15079 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15081 $as_echo "$can_build_shared" >&6; }
15083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15084 $as_echo_n "checking whether to build shared libraries... " >&6; }
15085 test no = "$can_build_shared" && enable_shared=no
15087 # On AIX, shared libraries and static libraries use the same namespace, and
15088 # are all built from PIC.
15091 test yes = "$enable_shared" && enable_static=no
15092 if test -n "$RANLIB"; then
15093 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15094 postinstall_cmds='$RANLIB $lib'
15099 if test ia64 != "$host_cpu"; then
15100 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15101 yes,aix,yes) ;; # shared object as lib.so file only
15102 yes,svr4,*) ;; # shared object as lib.so archive member only
15103 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15109 $as_echo "$enable_shared" >&6; }
15111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15112 $as_echo_n "checking whether to build static libraries... " >&6; }
15113 # Make sure either enable_shared or enable_static is yes.
15114 test yes = "$enable_shared" || enable_static=yes
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15116 $as_echo "$enable_static" >&6; }
15123 ac_cpp='$CPP $CPPFLAGS'
15124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15130 if test -n "$CXX" && ( test no != "$CXX" &&
15131 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
15132 (test g++ != "$CXX"))); then
15134 ac_cpp='$CXXCPP $CPPFLAGS'
15135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15139 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15140 if test -z "$CXXCPP"; then
15141 if ${ac_cv_prog_CXXCPP+:} false; then :
15142 $as_echo_n "(cached) " >&6
15144 # Double quotes because CXXCPP needs to be expanded
15145 for CXXCPP in "$CXX -E" "/lib/cpp"
15147 ac_preproc_ok=false
15148 for ac_cxx_preproc_warn_flag in '' yes
15150 # Use a header file that comes with gcc, so configuring glibc
15151 # with a fresh cross-compiler works.
15152 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15153 # <limits.h> exists even on freestanding compilers.
15154 # On the NeXT, cc -E runs the code through the compiler's parser,
15155 # not just through cpp. "Syntax error" is here to catch this case.
15156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15157 /* end confdefs.h. */
15159 # include <limits.h>
15161 # include <assert.h>
15165 if ac_fn_cxx_try_cpp "$LINENO"; then :
15168 # Broken: fails on valid input.
15171 rm -f conftest.err conftest.i conftest.$ac_ext
15173 # OK, works on sane cases. Now check whether nonexistent headers
15174 # can be detected and how.
15175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15176 /* end confdefs.h. */
15177 #include <ac_nonexistent.h>
15179 if ac_fn_cxx_try_cpp "$LINENO"; then :
15180 # Broken: success on invalid input.
15183 # Passes both tests.
15187 rm -f conftest.err conftest.i conftest.$ac_ext
15190 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15191 rm -f conftest.i conftest.err conftest.$ac_ext
15192 if $ac_preproc_ok; then :
15197 ac_cv_prog_CXXCPP=$CXXCPP
15200 CXXCPP=$ac_cv_prog_CXXCPP
15202 ac_cv_prog_CXXCPP=$CXXCPP
15204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15205 $as_echo "$CXXCPP" >&6; }
15206 ac_preproc_ok=false
15207 for ac_cxx_preproc_warn_flag in '' yes
15209 # Use a header file that comes with gcc, so configuring glibc
15210 # with a fresh cross-compiler works.
15211 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15212 # <limits.h> exists even on freestanding compilers.
15213 # On the NeXT, cc -E runs the code through the compiler's parser,
15214 # not just through cpp. "Syntax error" is here to catch this case.
15215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15216 /* end confdefs.h. */
15218 # include <limits.h>
15220 # include <assert.h>
15224 if ac_fn_cxx_try_cpp "$LINENO"; then :
15227 # Broken: fails on valid input.
15230 rm -f conftest.err conftest.i conftest.$ac_ext
15232 # OK, works on sane cases. Now check whether nonexistent headers
15233 # can be detected and how.
15234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15235 /* end confdefs.h. */
15236 #include <ac_nonexistent.h>
15238 if ac_fn_cxx_try_cpp "$LINENO"; then :
15239 # Broken: success on invalid input.
15242 # Passes both tests.
15246 rm -f conftest.err conftest.i conftest.$ac_ext
15249 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15250 rm -f conftest.i conftest.err conftest.$ac_ext
15251 if $ac_preproc_ok; then :
15254 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15256 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15257 See \`config.log' for more details" "$LINENO" 5; }
15261 ac_cpp='$CPP $CPPFLAGS'
15262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15267 _lt_caught_CXX_error=yes
15271 ac_cpp='$CXXCPP $CPPFLAGS'
15272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15276 archive_cmds_need_lc_CXX=no
15277 allow_undefined_flag_CXX=
15278 always_export_symbols_CXX=no
15279 archive_expsym_cmds_CXX=
15280 compiler_needs_object_CXX=no
15281 export_dynamic_flag_spec_CXX=
15282 hardcode_direct_CXX=no
15283 hardcode_direct_absolute_CXX=no
15284 hardcode_libdir_flag_spec_CXX=
15285 hardcode_libdir_separator_CXX=
15286 hardcode_minus_L_CXX=no
15287 hardcode_shlibpath_var_CXX=unsupported
15288 hardcode_automatic_CXX=no
15289 inherit_rpath_CXX=no
15291 module_expsym_cmds_CXX=
15292 link_all_deplibs_CXX=unknown
15293 old_archive_cmds_CXX=$old_archive_cmds
15294 reload_flag_CXX=$reload_flag
15295 reload_cmds_CXX=$reload_cmds
15296 no_undefined_flag_CXX=
15297 whole_archive_flag_spec_CXX=
15298 enable_shared_with_static_runtimes_CXX=no
15300 # Source file extension for C++ test sources.
15303 # Object file extension for compiled C++ test sources.
15307 # No sense in running all these tests if we already determined that
15308 # the CXX compiler isn't working. Some variables (like enable_shared)
15309 # are currently assumed to apply to all compilers on this platform,
15310 # and will be corrupted by setting them based on a non-working compiler.
15311 if test yes != "$_lt_caught_CXX_error"; then
15312 # Code to be used in simple compile tests
15313 lt_simple_compile_test_code="int some_variable = 0;"
15315 # Code to be used in simple link tests
15316 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15318 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15325 # If no C compiler was specified, use CC.
15328 # If no C compiler flags were specified, use CFLAGS.
15329 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15331 # Allow CC to be a program name with arguments.
15335 # save warnings/boilerplate of simple test code
15336 ac_outfile=conftest.$ac_objext
15337 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15338 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15339 _lt_compiler_boilerplate=`cat conftest.err`
15342 ac_outfile=conftest.$ac_objext
15343 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15344 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15345 _lt_linker_boilerplate=`cat conftest.err`
15349 # Allow CC to be a program name with arguments.
15351 lt_save_CFLAGS=$CFLAGS
15355 lt_save_with_gnu_ld=$with_gnu_ld
15356 lt_save_path_LD=$lt_cv_path_LD
15357 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15358 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15360 $as_unset lt_cv_prog_gnu_ld
15362 if test -n "${lt_cv_path_LDCXX+set}"; then
15363 lt_cv_path_LD=$lt_cv_path_LDCXX
15365 $as_unset lt_cv_path_LD
15367 test -z "${LDCXX+set}" || LD=$LDCXX
15372 func_cc_basename $compiler
15373 cc_basename=$func_cc_basename_result
15376 if test -n "$compiler"; then
15377 # We don't want -fno-exception when compiling C++ code, so set the
15378 # no_builtin_flag separately
15379 if test yes = "$GXX"; then
15380 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15382 lt_prog_compiler_no_builtin_flag_CXX=
15385 if test yes = "$GXX"; then
15386 # Set up default GNU C++ configuration
15390 # Check whether --with-gnu-ld was given.
15391 if test "${with_gnu_ld+set}" = set; then :
15392 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
15398 if test yes = "$GCC"; then
15399 # Check if gcc -print-prog-name=ld gives a path.
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15401 $as_echo_n "checking for ld used by $CC... " >&6; }
15404 # gcc leaves a trailing carriage return, which upsets mingw
15405 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15407 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15410 # Accept absolute paths.
15412 re_direlt='/[^/][^/]*/\.\./'
15413 # Canonicalize the pathname of ld
15414 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15415 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15416 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15418 test -z "$LD" && LD=$ac_prog
15421 # If it fails, then pretend we aren't using GCC.
15425 # If it is relative, then search for the first ld in PATH.
15426 with_gnu_ld=unknown
15429 elif test yes = "$with_gnu_ld"; then
15430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15431 $as_echo_n "checking for GNU ld... " >&6; }
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15434 $as_echo_n "checking for non-GNU ld... " >&6; }
15436 if ${lt_cv_path_LD+:} false; then :
15437 $as_echo_n "(cached) " >&6
15439 if test -z "$LD"; then
15440 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15441 for ac_dir in $PATH; do
15443 test -z "$ac_dir" && ac_dir=.
15444 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15445 lt_cv_path_LD=$ac_dir/$ac_prog
15446 # Check to see if the program is GNU ld. I'd rather use --version,
15447 # but apparently some variants of GNU ld only accept -v.
15448 # Break only if it was the GNU/non-GNU ld that we prefer.
15449 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15450 *GNU* | *'with BFD'*)
15451 test no != "$with_gnu_ld" && break
15454 test yes != "$with_gnu_ld" && break
15461 lt_cv_path_LD=$LD # Let the user override the test with a path.
15466 if test -n "$LD"; then
15467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15468 $as_echo "$LD" >&6; }
15470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15471 $as_echo "no" >&6; }
15473 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15475 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15476 if ${lt_cv_prog_gnu_ld+:} false; then :
15477 $as_echo_n "(cached) " >&6
15479 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15480 case `$LD -v 2>&1 </dev/null` in
15481 *GNU* | *'with BFD'*)
15482 lt_cv_prog_gnu_ld=yes
15485 lt_cv_prog_gnu_ld=no
15489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15490 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15491 with_gnu_ld=$lt_cv_prog_gnu_ld
15499 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15500 # archiving commands below assume that GNU ld is being used.
15501 if test yes = "$with_gnu_ld"; then
15502 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15503 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
15505 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15506 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15508 # If archive_cmds runs LD, not CC, wlarc should be empty
15509 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15510 # investigate it a little bit more. (MM)
15513 # ancient GNU ld didn't support --whole-archive et. al.
15514 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15515 $GREP 'no-whole-archive' > /dev/null; then
15516 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15518 whole_archive_flag_spec_CXX=
15524 # A generic and very simple default shared library creation
15525 # command for GNU C++ for the case where it uses the native
15526 # linker, instead of GNU ld. If possible, this setting should
15527 # overridden to take advantage of the native linker features on
15528 # the platform it is being used on.
15529 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15532 # Commands to make compiler produce verbose output that lists
15533 # what "hidden" libraries, object files and flags are used when
15534 # linking a shared library.
15535 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15543 # PORTME: fill in a description of your system's C++ link characteristics
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15545 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15549 # FIXME: insert proper C++ library support
15553 if test ia64 = "$host_cpu"; then
15554 # On IA64, the linker does run time linking by default, so we don't
15555 # have to do anything special.
15556 aix_use_runtimelinking=no
15557 exp_sym_flag='-Bexport'
15560 aix_use_runtimelinking=no
15562 # Test if we are trying to use run time linking or normal
15563 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15564 # have runtime linking enabled, and use it for executables.
15565 # For shared libraries, we enable/disable runtime linking
15566 # depending on the kind of the shared library created -
15567 # when "with_aix_soname,aix_use_runtimelinking" is:
15568 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15569 # "aix,yes" lib.so shared, rtl:yes, for executables
15570 # lib.a static archive
15571 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15572 # lib.a(lib.so.V) shared, rtl:no, for executables
15573 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15574 # lib.a(lib.so.V) shared, rtl:no
15575 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15576 # lib.a static archive
15577 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15578 for ld_flag in $LDFLAGS; do
15581 aix_use_runtimelinking=yes
15586 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15587 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15588 # so we don't have lib.a shared libs to link our executables.
15589 # We have to force runtime linking in this case.
15590 aix_use_runtimelinking=yes
15591 LDFLAGS="$LDFLAGS -Wl,-brtl"
15596 exp_sym_flag='-bexport'
15597 no_entry_flag='-bnoentry'
15600 # When large executables or shared objects are built, AIX ld can
15601 # have problems creating the table of contents. If linking a library
15602 # or program results in "error TOC overflow" add -mminimal-toc to
15603 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15604 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15606 archive_cmds_CXX=''
15607 hardcode_direct_CXX=yes
15608 hardcode_direct_absolute_CXX=yes
15609 hardcode_libdir_separator_CXX=':'
15610 link_all_deplibs_CXX=yes
15611 file_list_spec_CXX='$wl-f,'
15612 case $with_aix_soname,$aix_use_runtimelinking in
15613 aix,*) ;; # no import file
15614 svr4,* | *,yes) # use import file
15615 # The Import File defines what to hardcode.
15616 hardcode_direct_CXX=no
15617 hardcode_direct_absolute_CXX=no
15621 if test yes = "$GXX"; then
15622 case $host_os in aix4.[012]|aix4.[012].*)
15623 # We only want to do this on AIX 4.2 and lower, the check
15624 # below for broken collect2 doesn't work under 4.3+
15625 collect2name=`$CC -print-prog-name=collect2`
15626 if test -f "$collect2name" &&
15627 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15629 # We have reworked collect2
15632 # We have old collect2
15633 hardcode_direct_CXX=unsupported
15634 # It fails to find uninstalled libraries when the uninstalled
15635 # path is not listed in the libpath. Setting hardcode_minus_L
15636 # to unsupported forces relinking
15637 hardcode_minus_L_CXX=yes
15638 hardcode_libdir_flag_spec_CXX='-L$libdir'
15639 hardcode_libdir_separator_CXX=
15642 shared_flag='-shared'
15643 if test yes = "$aix_use_runtimelinking"; then
15644 shared_flag=$shared_flag' $wl-G'
15646 # Need to ensure runtime linking is disabled for the traditional
15647 # shared library, or the linker may eventually find shared libraries
15648 # /with/ Import File - we do not want to mix them.
15649 shared_flag_aix='-shared'
15650 shared_flag_svr4='-shared $wl-G'
15653 if test ia64 = "$host_cpu"; then
15654 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15655 # chokes on -Wl,-G. The following line is correct:
15658 if test yes = "$aix_use_runtimelinking"; then
15659 shared_flag='$wl-G'
15661 shared_flag='$wl-bM:SRE'
15663 shared_flag_aix='$wl-bM:SRE'
15664 shared_flag_svr4='$wl-G'
15668 export_dynamic_flag_spec_CXX='$wl-bexpall'
15669 # It seems that -bexpall does not export symbols beginning with
15670 # underscore (_), so it is better to generate a list of symbols to
15672 always_export_symbols_CXX=yes
15673 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15674 # Warning - without using the other runtime loading flags (-brtl),
15675 # -berok will link without error, but may produce a broken library.
15676 # The "-G" linker flag allows undefined symbols.
15677 no_undefined_flag_CXX='-bernotok'
15678 # Determine the default libpath from the value encoded in an empty
15680 if test set = "${lt_cv_aix_libpath+set}"; then
15681 aix_libpath=$lt_cv_aix_libpath
15683 if ${lt_cv_aix_libpath__CXX+:} false; then :
15684 $as_echo_n "(cached) " >&6
15686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15687 /* end confdefs.h. */
15697 if ac_fn_cxx_try_link "$LINENO"; then :
15699 lt_aix_libpath_sed='
15700 /Import File Strings/,/^$/ {
15702 s/^0 *\([^ ]*\) *$/\1/
15706 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15707 # Check for a 64-bit object if we didn't find anything.
15708 if test -z "$lt_cv_aix_libpath__CXX"; then
15709 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15714 if test -z "$lt_cv_aix_libpath__CXX"; then
15715 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15720 aix_libpath=$lt_cv_aix_libpath__CXX
15723 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15725 archive_expsym_cmds_CXX='$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
15727 if test ia64 = "$host_cpu"; then
15728 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15729 allow_undefined_flag_CXX="-z nodefs"
15730 archive_expsym_cmds_CXX="\$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"
15732 # Determine the default libpath from the value encoded in an
15733 # empty executable.
15734 if test set = "${lt_cv_aix_libpath+set}"; then
15735 aix_libpath=$lt_cv_aix_libpath
15737 if ${lt_cv_aix_libpath__CXX+:} false; then :
15738 $as_echo_n "(cached) " >&6
15740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15741 /* end confdefs.h. */
15751 if ac_fn_cxx_try_link "$LINENO"; then :
15753 lt_aix_libpath_sed='
15754 /Import File Strings/,/^$/ {
15756 s/^0 *\([^ ]*\) *$/\1/
15760 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15761 # Check for a 64-bit object if we didn't find anything.
15762 if test -z "$lt_cv_aix_libpath__CXX"; then
15763 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15766 rm -f core conftest.err conftest.$ac_objext \
15767 conftest$ac_exeext conftest.$ac_ext
15768 if test -z "$lt_cv_aix_libpath__CXX"; then
15769 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15774 aix_libpath=$lt_cv_aix_libpath__CXX
15777 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15778 # Warning - without using the other run time loading flags,
15779 # -berok will link without error, but may produce a broken library.
15780 no_undefined_flag_CXX=' $wl-bernotok'
15781 allow_undefined_flag_CXX=' $wl-berok'
15782 if test yes = "$with_gnu_ld"; then
15783 # We only use this code for GNU lds that support --whole-archive.
15784 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15786 # Exported symbols can be pulled into shared objects from archives
15787 whole_archive_flag_spec_CXX='$convenience'
15789 archive_cmds_need_lc_CXX=yes
15790 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15791 # -brtl affects multiple linker settings, -berok does not and is overridden later
15792 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15793 if test svr4 != "$with_aix_soname"; then
15794 # This is similar to how AIX traditionally builds its shared
15795 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15796 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
15798 if test aix != "$with_aix_soname"; then
15799 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$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'
15801 # used by -dlpreopen to get the symbols
15802 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15804 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15810 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15811 allow_undefined_flag_CXX=unsupported
15812 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15813 # support --undefined. This deserves some investigation. FIXME
15814 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15821 case $cc_basename in
15823 # FIXME: insert proper C++ library support
15829 cygwin* | mingw* | pw32* | cegcc*)
15830 case $GXX,$cc_basename in
15833 # hardcode_libdir_flag_spec is actually meaningless, as there is
15834 # no search path for DLLs.
15835 hardcode_libdir_flag_spec_CXX=' '
15836 allow_undefined_flag_CXX=unsupported
15837 always_export_symbols_CXX=yes
15838 file_list_spec_CXX='@'
15839 # Tell ltmain to make .lib files, not .a files.
15841 # Tell ltmain to make .dll files, not .so files.
15843 # FIXME: Setting linknames here is a bad hack.
15844 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15845 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15846 cp "$export_symbols" "$output_objdir/$soname.def";
15847 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15849 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15851 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15853 # The linker will not automatically build a static lib if we build a DLL.
15854 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15855 enable_shared_with_static_runtimes_CXX=yes
15857 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15858 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15859 lt_tool_outputfile="@TOOL_OUTPUT@"~
15860 case $lt_outputfile in
15863 lt_outputfile=$lt_outputfile.exe
15864 lt_tool_outputfile=$lt_tool_outputfile.exe
15867 func_to_tool_file "$lt_outputfile"~
15868 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15869 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15870 $RM "$lt_outputfile.manifest";
15875 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15876 # as there is no search path for DLLs.
15877 hardcode_libdir_flag_spec_CXX='-L$libdir'
15878 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15879 allow_undefined_flag_CXX=unsupported
15880 always_export_symbols_CXX=no
15881 enable_shared_with_static_runtimes_CXX=yes
15883 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15884 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15885 # If the export-symbols file already is a .def file, use it as
15886 # is; otherwise, prepend EXPORTS...
15887 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15888 cp $export_symbols $output_objdir/$soname.def;
15890 echo EXPORTS > $output_objdir/$soname.def;
15891 cat $export_symbols >> $output_objdir/$soname.def;
15893 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
15900 darwin* | rhapsody*)
15903 archive_cmds_need_lc_CXX=no
15904 hardcode_direct_CXX=no
15905 hardcode_automatic_CXX=yes
15906 hardcode_shlibpath_var_CXX=unsupported
15907 if test yes = "$lt_cv_ld_force_load"; then
15908 whole_archive_flag_spec_CXX='`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience $wl-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
15911 whole_archive_flag_spec_CXX=''
15913 link_all_deplibs_CXX=yes
15914 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15915 case $cc_basename in
15916 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15917 *) _lt_dar_can_shared=$GCC ;;
15919 if test yes = "$_lt_dar_can_shared"; then
15920 output_verbose_link_cmd=func_echo_all
15921 archive_cmds_CXX="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
15922 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15923 archive_expsym_cmds_CXX="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"
15924 module_expsym_cmds_CXX="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"
15925 if test yes != "$lt_cv_apple_cc_single_mod"; then
15926 archive_cmds_CXX="\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dsymutil"
15927 archive_expsym_cmds_CXX="sed 's|^|_|' < \$export_symbols > \$output_objdir/\$libname-symbols.expsym~\$CC -r -keep_private_externs -nostdlib -o \$lib-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$lib-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring$_lt_dar_export_syms$_lt_dsymutil"
15937 hardcode_libdir_flag_spec_CXX='-L$libdir'
15938 hardcode_minus_L_CXX=yes
15939 allow_undefined_flag_CXX=unsupported
15941 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15942 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15943 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15944 $ECHO EXPORTS >> $output_objdir/$libname.def~
15945 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15946 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15947 emximp -o $lib $output_objdir/$libname.def'
15948 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15949 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15950 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15951 $ECHO EXPORTS >> $output_objdir/$libname.def~
15952 prefix_cmds="$SED"~
15953 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15954 prefix_cmds="$prefix_cmds -e 1d";
15956 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15957 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15958 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15959 emximp -o $lib $output_objdir/$libname.def'
15960 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15961 enable_shared_with_static_runtimes_CXX=yes
15965 case $cc_basename in
15967 # FIXME: insert proper C++ library support
15971 # Green Hills C++ Compiler
15972 # FIXME: insert proper C++ library support
15976 # FIXME: insert proper C++ library support
15983 # C++ shared libraries reported to be fairly broken before
15989 archive_cmds_need_lc_CXX=no
15992 freebsd* | dragonfly*)
15993 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15999 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16000 link_all_deplibs_CXX=yes
16004 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16005 hardcode_libdir_separator_CXX=:
16006 export_dynamic_flag_spec_CXX='$wl-E'
16007 hardcode_direct_CXX=yes
16008 hardcode_minus_L_CXX=yes # Not in the search PATH,
16009 # but as the default
16010 # location of the library.
16012 case $cc_basename in
16014 # FIXME: insert proper C++ library support
16018 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -b $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
16019 # Commands to make compiler produce verbose output that lists
16020 # what "hidden" libraries, object files and flags are used when
16021 # linking a shared library.
16023 # There doesn't appear to be a way to prevent this compiler from
16024 # explicitly linking system object files so we need to strip them
16025 # from the output so that they don't get included in the library
16027 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16030 if test yes = "$GXX"; then
16031 archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag $wl+b $wl$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test "x$output_objdir/$soname" = "x$lib" || mv $output_objdir/$soname $lib'
16033 # FIXME: insert proper C++ library support
16041 if test no = "$with_gnu_ld"; then
16042 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
16043 hardcode_libdir_separator_CXX=:
16049 export_dynamic_flag_spec_CXX='$wl-E'
16055 hardcode_direct_CXX=no
16056 hardcode_shlibpath_var_CXX=no
16059 hardcode_direct_CXX=yes
16060 hardcode_direct_absolute_CXX=yes
16061 hardcode_minus_L_CXX=yes # Not in the search PATH,
16062 # but as the default
16063 # location of the library.
16067 case $cc_basename in
16069 # FIXME: insert proper C++ library support
16075 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16078 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16081 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16084 # Commands to make compiler produce verbose output that lists
16085 # what "hidden" libraries, object files and flags are used when
16086 # linking a shared library.
16088 # There doesn't appear to be a way to prevent this compiler from
16089 # explicitly linking system object files so we need to strip them
16090 # from the output so that they don't get included in the library
16092 output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16095 if test yes = "$GXX"; then
16096 if test no = "$with_gnu_ld"; then
16099 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16102 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16105 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16110 # FIXME: insert proper C++ library support
16118 hardcode_direct_CXX=no
16119 hardcode_shlibpath_var_CXX=no
16120 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16121 export_dynamic_flag_spec_CXX='$wl-E'
16122 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16123 # Instead, shared libraries are loaded at an image base (0x10000000 by
16124 # default) and relocated if they conflict, which is a slow very memory
16125 # consuming and fragmenting process. To avoid this, we pick a random,
16126 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16127 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16128 archive_cmds_CXX='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
16129 archive_expsym_cmds_CXX='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'
16132 case $cc_basename in
16135 archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
16137 # Archives containing C++ object files must be created using
16138 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16139 # necessary to make sure instantiated templates are included
16141 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16144 if test yes = "$GXX"; then
16145 if test no = "$with_gnu_ld"; then
16146 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
16148 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname `test -n "$verstring" && func_echo_all "$wl-set_version $wl$verstring"` -o $lib'
16151 link_all_deplibs_CXX=yes
16154 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16155 hardcode_libdir_separator_CXX=:
16156 inherit_rpath_CXX=yes
16159 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16160 case $cc_basename in
16162 # Kuck and Associates, Inc. (KAI) C++ Compiler
16164 # KCC will only create a shared library if the output file
16165 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16166 # to its proper name (with version) after linking.
16167 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16168 archive_expsym_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo $lib | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib $wl-retain-symbols-file,$export_symbols; mv \$templib $lib'
16169 # Commands to make compiler produce verbose output that lists
16170 # what "hidden" libraries, object files and flags are used when
16171 # linking a shared library.
16173 # There doesn't appear to be a way to prevent this compiler from
16174 # explicitly linking system object files so we need to strip them
16175 # from the output so that they don't get included in the library
16177 output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16179 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16180 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16182 # Archives containing C++ object files must be created using
16183 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16184 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16189 # version 8.0 and above of icpc choke on multiply defined symbols
16190 # if we add $predep_objects and $postdep_objects, however 7.1 and
16191 # earlier do not add the objects themselves.
16192 case `$CC -V 2>&1` in
16194 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16195 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16197 *) # Version 8.0 or newer
16200 ia64*) tmp_idyn=' -i_dynamic';;
16202 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16203 archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16206 archive_cmds_need_lc_CXX=no
16207 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16208 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16209 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16212 # Portland Group C++ compiler
16214 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
16215 prelink_cmds_CXX='tpldir=Template.dir~
16217 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16218 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
16219 old_archive_cmds_CXX='tpldir=Template.dir~
16221 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16222 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
16224 archive_cmds_CXX='tpldir=Template.dir~
16226 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16227 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16228 archive_expsym_cmds_CXX='tpldir=Template.dir~
16230 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16231 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16233 *) # Version 6 and above use weak symbols
16234 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16235 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
16239 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
16240 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16241 whole_archive_flag_spec_CXX='$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'
16245 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16246 archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib $wl-retain-symbols-file $wl$export_symbols'
16248 runpath_var=LD_RUN_PATH
16249 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16250 hardcode_libdir_separator_CXX=:
16252 # Commands to make compiler produce verbose output that lists
16253 # what "hidden" libraries, object files and flags are used when
16254 # linking a shared library.
16256 # There doesn't appear to be a way to prevent this compiler from
16257 # explicitly linking system object files so we need to strip them
16258 # from the output so that they don't get included in the library
16260 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
16262 xl* | mpixl* | bgxl*)
16263 # IBM XL 8.0 on PPC, with GNU ld
16264 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16265 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16266 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16267 if test yes = "$supports_anon_versioning"; then
16268 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16269 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16270 echo "local: *; };" >> $output_objdir/$libname.ver~
16271 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16275 case `$CC -V 2>&1 | sed 5q` in
16278 no_undefined_flag_CXX=' -zdefs'
16279 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16280 archive_expsym_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file $wl$export_symbols'
16281 hardcode_libdir_flag_spec_CXX='-R$libdir'
16282 whole_archive_flag_spec_CXX='$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'
16283 compiler_needs_object_CXX=yes
16285 # Not sure whether something based on
16286 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16288 output_verbose_link_cmd='func_echo_all'
16290 # Archives containing C++ object files must be created using
16291 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16292 # necessary to make sure instantiated templates are included
16294 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16302 # FIXME: insert proper C++ library support
16307 # FIXME: insert proper C++ library support
16312 case $cc_basename in
16314 # FIXME: insert proper C++ library support
16318 # FIXME: insert proper C++ library support
16325 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16326 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16328 hardcode_libdir_flag_spec_CXX='-R$libdir'
16329 hardcode_direct_CXX=yes
16330 hardcode_shlibpath_var_CXX=no
16332 # Workaround some broken pre-1.5 toolchains
16333 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16340 openbsd* | bitrig*)
16341 if test -f /usr/libexec/ld.so; then
16342 hardcode_direct_CXX=yes
16343 hardcode_shlibpath_var_CXX=no
16344 hardcode_direct_absolute_CXX=yes
16345 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16346 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16347 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16348 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16349 export_dynamic_flag_spec_CXX='$wl-E'
16350 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16352 output_verbose_link_cmd=func_echo_all
16358 osf3* | osf4* | osf5*)
16359 case $cc_basename in
16361 # Kuck and Associates, Inc. (KAI) C++ Compiler
16363 # KCC will only create a shared library if the output file
16364 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16365 # to its proper name (with version) after linking.
16366 archive_cmds_CXX='tempext=`echo $shared_ext | $SED -e '\''s/\([^()0-9A-Za-z{}]\)/\\\\\1/g'\''`; templib=`echo "$lib" | $SED -e "s/\$tempext\..*/.so/"`; $CC $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags --soname $soname -o \$templib; mv \$templib $lib'
16368 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16369 hardcode_libdir_separator_CXX=:
16371 # Archives containing C++ object files must be created using
16372 # the KAI C++ compiler.
16374 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16375 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16379 # Rational C++ 2.4.1
16380 # FIXME: insert proper C++ library support
16386 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16387 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $soname `test -n "$verstring" && func_echo_all "$wl-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
16388 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16391 allow_undefined_flag_CXX=' -expect_unresolved \*'
16392 archive_cmds_CXX='$CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib'
16393 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16394 echo "-hidden">> $lib.exp~
16395 $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname $wl-input $wl$lib.exp `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry $output_objdir/so_locations -o $lib~
16397 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16401 hardcode_libdir_separator_CXX=:
16403 # Commands to make compiler produce verbose output that lists
16404 # what "hidden" libraries, object files and flags are used when
16405 # linking a shared library.
16407 # There doesn't appear to be a way to prevent this compiler from
16408 # explicitly linking system object files so we need to strip them
16409 # from the output so that they don't get included in the library
16411 output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list= ; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
16414 if test yes,no = "$GXX,$with_gnu_ld"; then
16415 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16418 archive_cmds_CXX='$CC -shared -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
16421 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $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'
16425 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16426 hardcode_libdir_separator_CXX=:
16428 # Commands to make compiler produce verbose output that lists
16429 # what "hidden" libraries, object files and flags are used when
16430 # linking a shared library.
16431 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16434 # FIXME: insert proper C++ library support
16442 # FIXME: insert proper C++ library support
16447 case $cc_basename in
16450 # FIXME: insert proper C++ library support
16455 # FIXME: insert proper C++ library support
16459 # FIXME: insert proper C++ library support
16466 case $cc_basename in
16468 # Sun C++ 4.2, 5.x and Centerline C++
16469 archive_cmds_need_lc_CXX=yes
16470 no_undefined_flag_CXX=' -zdefs'
16471 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16472 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16473 $CC -G$allow_undefined_flag $wl-M $wl$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16475 hardcode_libdir_flag_spec_CXX='-R$libdir'
16476 hardcode_shlibpath_var_CXX=no
16478 solaris2.[0-5] | solaris2.[0-5].*) ;;
16480 # The compiler driver will combine and reorder linker options,
16481 # but understands '-z linker_flag'.
16482 # Supported since Solaris 2.6 (maybe 2.5.1?)
16483 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16486 link_all_deplibs_CXX=yes
16488 output_verbose_link_cmd='func_echo_all'
16490 # Archives containing C++ object files must be created using
16491 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16492 # necessary to make sure instantiated templates are included
16494 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16497 # Green Hills C++ Compiler
16498 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16500 # The C++ compiler must be used to create the archive.
16501 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16504 # GNU C++ compiler with Solaris linker
16505 if test yes,no = "$GXX,$with_gnu_ld"; then
16506 no_undefined_flag_CXX=' $wl-z ${wl}defs'
16507 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16508 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16509 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16510 $CC -shared $pic_flag -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16512 # Commands to make compiler produce verbose output that lists
16513 # what "hidden" libraries, object files and flags are used when
16514 # linking a shared library.
16515 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16517 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16519 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16520 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16521 $CC -G -nostdlib $wl-M $wl$lib.exp $wl-h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
16523 # Commands to make compiler produce verbose output that lists
16524 # what "hidden" libraries, object files and flags are used when
16525 # linking a shared library.
16526 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16529 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
16531 solaris2.[0-5] | solaris2.[0-5].*) ;;
16533 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16541 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16542 no_undefined_flag_CXX='$wl-z,text'
16543 archive_cmds_need_lc_CXX=no
16544 hardcode_shlibpath_var_CXX=no
16545 runpath_var='LD_RUN_PATH'
16547 case $cc_basename in
16549 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16550 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16553 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16554 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16559 sysv5* | sco3.2v5* | sco5v6*)
16560 # Note: We CANNOT use -z defs as we might desire, because we do not
16561 # link with -lc, and that would cause any symbols used from libc to
16562 # always be unresolved, which means just about no library would
16563 # ever link correctly. If we're not using GNU ld we use -z text
16564 # though, which does catch some bad symbols but isn't as heavy-handed
16566 no_undefined_flag_CXX='$wl-z,text'
16567 allow_undefined_flag_CXX='$wl-z,nodefs'
16568 archive_cmds_need_lc_CXX=no
16569 hardcode_shlibpath_var_CXX=no
16570 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16571 hardcode_libdir_separator_CXX=':'
16572 link_all_deplibs_CXX=yes
16573 export_dynamic_flag_spec_CXX='$wl-Bexport'
16574 runpath_var='LD_RUN_PATH'
16576 case $cc_basename in
16578 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16579 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16580 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16581 '"$old_archive_cmds_CXX"
16582 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16583 '"$reload_cmds_CXX"
16586 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16587 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16593 case $cc_basename in
16595 # NonStop-UX NCC 3.20
16596 # FIXME: insert proper C++ library support
16600 # FIXME: insert proper C++ library support
16607 # FIXME: insert proper C++ library support
16612 # FIXME: insert proper C++ library support
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16618 $as_echo "$ld_shlibs_CXX" >&6; }
16619 test no = "$ld_shlibs_CXX" && can_build_shared=no
16625 ## There is no encapsulation within the following macros, do not change
16626 ## the running order or otherwise move them around unless you know exactly
16627 ## what you are doing...
16628 # Dependencies to place before and after the object being linked:
16629 predep_objects_CXX=
16630 postdep_objects_CXX=
16633 compiler_lib_search_path_CXX=
16635 cat > conftest.$ac_ext <<_LT_EOF
16639 Foo (void) { a = 0; }
16646 _lt_libdeps_save_CFLAGS=$CFLAGS
16647 case "$CC $CFLAGS " in #(
16648 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16649 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16650 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16653 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16654 (eval $ac_compile) 2>&5
16656 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16657 test $ac_status = 0; }; then
16658 # Parse the compiler output and extract the necessary
16659 # objects, libraries and library flags.
16661 # Sentinel used to keep track of whether or not we are before
16662 # the conftest object file.
16663 pre_test_object_deps_done=no
16665 for p in `eval "$output_verbose_link_cmd"`; do
16669 # Some compilers place space between "-{L,R}" and the path.
16670 # Remove the space.
16671 if test x-L = "$p" ||
16672 test x-R = "$p"; then
16677 # Expand the sysroot to ease extracting the directories later.
16678 if test -z "$prev"; then
16680 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16681 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16682 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16686 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16688 if test no = "$pre_test_object_deps_done"; then
16691 # Internal compiler library paths should come after those
16692 # provided the user. The postdeps already come after the
16693 # user supplied libs so there is no need to process them.
16694 if test -z "$compiler_lib_search_path_CXX"; then
16695 compiler_lib_search_path_CXX=$prev$p
16697 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16700 # The "-l" case would never come before the object being
16701 # linked, so don't bother handling this case.
16704 if test -z "$postdeps_CXX"; then
16705 postdeps_CXX=$prev$p
16707 postdeps_CXX="${postdeps_CXX} $prev$p"
16713 *.lto.$objext) ;; # Ignore GCC LTO objects
16715 # This assumes that the test object file only shows up
16716 # once in the compiler output.
16717 if test "$p" = "conftest.$objext"; then
16718 pre_test_object_deps_done=yes
16722 if test no = "$pre_test_object_deps_done"; then
16723 if test -z "$predep_objects_CXX"; then
16724 predep_objects_CXX=$p
16726 predep_objects_CXX="$predep_objects_CXX $p"
16729 if test -z "$postdep_objects_CXX"; then
16730 postdep_objects_CXX=$p
16732 postdep_objects_CXX="$postdep_objects_CXX $p"
16737 *) ;; # Ignore the rest.
16745 echo "libtool.m4: error: problem compiling CXX test program"
16748 $RM -f confest.$objext
16749 CFLAGS=$_lt_libdeps_save_CFLAGS
16751 # PORTME: override above test on systems where it is broken
16754 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16755 # hack all around it, let's just trust "g++" to DTRT.
16756 predep_objects_CXX=
16757 postdep_objects_CXX=
16763 case " $postdeps_CXX " in
16764 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16766 compiler_lib_search_dirs_CXX=
16767 if test -n "${compiler_lib_search_path_CXX}"; then
16768 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16801 lt_prog_compiler_wl_CXX=
16802 lt_prog_compiler_pic_CXX=
16803 lt_prog_compiler_static_CXX=
16806 # C++ specific cases for pic, static, wl, etc.
16807 if test yes = "$GXX"; then
16808 lt_prog_compiler_wl_CXX='-Wl,'
16809 lt_prog_compiler_static_CXX='-static'
16813 # All AIX code is PIC.
16814 if test ia64 = "$host_cpu"; then
16815 # AIX 5 now supports IA64 processor
16816 lt_prog_compiler_static_CXX='-Bstatic'
16818 lt_prog_compiler_pic_CXX='-fPIC'
16824 # see comment about AmigaOS4 .so support
16825 lt_prog_compiler_pic_CXX='-fPIC'
16828 # FIXME: we need at least 68020 code to build shared libraries, but
16829 # adding the '-m68020' flag to GCC prevents building anything better,
16831 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16836 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16837 # PIC is the default for these OSes.
16839 mingw* | cygwin* | os2* | pw32* | cegcc*)
16840 # This hack is so that the source file can tell whether it is being
16841 # built for inclusion in a dll (and should export symbols for example).
16842 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16843 # (--disable-auto-import) libraries
16844 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16847 lt_prog_compiler_static_CXX='$wl-static'
16851 darwin* | rhapsody*)
16852 # PIC is the default on this platform
16853 # Common symbols not allowed in MH_DYLIB files
16854 lt_prog_compiler_pic_CXX='-fno-common'
16857 # DJGPP does not support shared libraries at all
16858 lt_prog_compiler_pic_CXX=
16861 # PIC is the default for Haiku.
16862 # The "-static" flag exists, but is broken.
16863 lt_prog_compiler_static_CXX=
16866 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16867 # Instead, we relocate shared libraries at runtime.
16870 if test -d /usr/nec; then
16871 lt_prog_compiler_pic_CXX=-Kconform_pic
16875 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16876 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16877 # sets the default TLS model and affects inlining.
16882 lt_prog_compiler_pic_CXX='-fPIC'
16887 # QNX uses GNU C++, but need to define -shared option too, otherwise
16888 # it will coredump.
16889 lt_prog_compiler_pic_CXX='-fPIC -shared'
16892 lt_prog_compiler_pic_CXX='-fPIC'
16898 # All AIX code is PIC.
16899 if test ia64 = "$host_cpu"; then
16900 # AIX 5 now supports IA64 processor
16901 lt_prog_compiler_static_CXX='-Bstatic'
16903 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16907 case $cc_basename in
16909 # Green Hills C++ Compiler
16910 # _LT_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
16914 mingw* | cygwin* | os2* | pw32* | cegcc*)
16915 # This hack is so that the source file can tell whether it is being
16916 # built for inclusion in a dll (and should export symbols for example).
16917 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16920 case $cc_basename in
16922 lt_prog_compiler_pic_CXX='-KPIC'
16925 # Green Hills C++ Compiler
16926 lt_prog_compiler_pic_CXX='-pic'
16932 freebsd* | dragonfly*)
16933 # FreeBSD uses GNU C++
16935 hpux9* | hpux10* | hpux11*)
16936 case $cc_basename in
16938 lt_prog_compiler_wl_CXX='-Wl,'
16939 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16940 if test ia64 != "$host_cpu"; then
16941 lt_prog_compiler_pic_CXX='+Z'
16945 lt_prog_compiler_wl_CXX='-Wl,'
16946 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16952 lt_prog_compiler_pic_CXX='+Z'
16961 # This is c89, which is MS Visual C++ (no shared libs)
16962 # Anyone wants to do a port?
16964 irix5* | irix6* | nonstopux*)
16965 case $cc_basename in
16967 lt_prog_compiler_wl_CXX='-Wl,'
16968 lt_prog_compiler_static_CXX='-non_shared'
16969 # CC pic flag -KPIC is the default.
16975 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16976 case $cc_basename in
16979 lt_prog_compiler_wl_CXX='--backend -Wl,'
16980 lt_prog_compiler_pic_CXX='-fPIC'
16983 # old Intel C++ for x86_64, which still supported -KPIC.
16984 lt_prog_compiler_wl_CXX='-Wl,'
16985 lt_prog_compiler_pic_CXX='-KPIC'
16986 lt_prog_compiler_static_CXX='-static'
16989 # Intel C++, used to be incompatible with GCC.
16990 # ICC 10 doesn't accept -KPIC any more.
16991 lt_prog_compiler_wl_CXX='-Wl,'
16992 lt_prog_compiler_pic_CXX='-fPIC'
16993 lt_prog_compiler_static_CXX='-static'
16996 # Portland Group C++ compiler
16997 lt_prog_compiler_wl_CXX='-Wl,'
16998 lt_prog_compiler_pic_CXX='-fpic'
16999 lt_prog_compiler_static_CXX='-Bstatic'
17003 # Make sure the PIC flag is empty. It appears that all Alpha
17004 # Linux and Compaq Tru64 Unix objects are PIC.
17005 lt_prog_compiler_pic_CXX=
17006 lt_prog_compiler_static_CXX='-non_shared'
17008 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
17009 # IBM XL 8.0, 9.0 on PPC and BlueGene
17010 lt_prog_compiler_wl_CXX='-Wl,'
17011 lt_prog_compiler_pic_CXX='-qpic'
17012 lt_prog_compiler_static_CXX='-qstaticlink'
17015 case `$CC -V 2>&1 | sed 5q` in
17018 lt_prog_compiler_pic_CXX='-KPIC'
17019 lt_prog_compiler_static_CXX='-Bstatic'
17020 lt_prog_compiler_wl_CXX='-Qoption ld '
17031 case $cc_basename in
17033 lt_prog_compiler_pic_CXX='-W c,exportall'
17042 # QNX uses GNU C++, but need to define -shared option too, otherwise
17043 # it will coredump.
17044 lt_prog_compiler_pic_CXX='-fPIC -shared'
17046 osf3* | osf4* | osf5*)
17047 case $cc_basename in
17049 lt_prog_compiler_wl_CXX='--backend -Wl,'
17052 # Rational C++ 2.4.1
17053 lt_prog_compiler_pic_CXX='-pic'
17056 # Digital/Compaq C++
17057 lt_prog_compiler_wl_CXX='-Wl,'
17058 # Make sure the PIC flag is empty. It appears that all Alpha
17059 # Linux and Compaq Tru64 Unix objects are PIC.
17060 lt_prog_compiler_pic_CXX=
17061 lt_prog_compiler_static_CXX='-non_shared'
17070 case $cc_basename in
17072 # Sun C++ 4.2, 5.x and Centerline C++
17073 lt_prog_compiler_pic_CXX='-KPIC'
17074 lt_prog_compiler_static_CXX='-Bstatic'
17075 lt_prog_compiler_wl_CXX='-Qoption ld '
17078 # Green Hills C++ Compiler
17079 lt_prog_compiler_pic_CXX='-PIC'
17086 case $cc_basename in
17089 lt_prog_compiler_pic_CXX='-pic'
17090 lt_prog_compiler_static_CXX='-Bstatic'
17094 lt_prog_compiler_pic_CXX='-pic'
17100 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17101 case $cc_basename in
17103 lt_prog_compiler_wl_CXX='-Wl,'
17104 lt_prog_compiler_pic_CXX='-KPIC'
17105 lt_prog_compiler_static_CXX='-Bstatic'
17110 case $cc_basename in
17112 # NonStop-UX NCC 3.20
17113 lt_prog_compiler_pic_CXX='-KPIC'
17122 lt_prog_compiler_can_build_shared_CXX=no
17128 # For platforms that do not support PIC, -DPIC is meaningless:
17130 lt_prog_compiler_pic_CXX=
17133 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17138 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17139 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
17140 $as_echo_n "(cached) " >&6
17142 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17145 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
17146 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
17149 # Check to make sure the PIC flag actually works.
17151 if test -n "$lt_prog_compiler_pic_CXX"; then
17152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17153 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17154 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
17155 $as_echo_n "(cached) " >&6
17157 lt_cv_prog_compiler_pic_works_CXX=no
17158 ac_outfile=conftest.$ac_objext
17159 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17160 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17161 # Insert the option either (1) after the last *FLAGS variable, or
17162 # (2) before a word containing "conftest.", or (3) at the end.
17163 # Note that $ac_compile itself does not contain backslashes and begins
17164 # with a dollar sign (not a hyphen), so the echo should work correctly.
17165 # The option is referenced via a variable to avoid confusing sed.
17166 lt_compile=`echo "$ac_compile" | $SED \
17167 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17168 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17169 -e 's:$: $lt_compiler_flag:'`
17170 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17171 (eval "$lt_compile" 2>conftest.err)
17173 cat conftest.err >&5
17174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17175 if (exit $ac_status) && test -s "$ac_outfile"; then
17176 # The compiler can only warn and ignore the option if not recognized
17177 # So say no if there are warnings other than the usual output.
17178 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17179 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17180 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17181 lt_cv_prog_compiler_pic_works_CXX=yes
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17188 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17190 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17191 case $lt_prog_compiler_pic_CXX in
17193 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17196 lt_prog_compiler_pic_CXX=
17197 lt_prog_compiler_can_build_shared_CXX=no
17207 # Check to make sure the static flag actually works.
17209 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17211 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17212 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
17213 $as_echo_n "(cached) " >&6
17215 lt_cv_prog_compiler_static_works_CXX=no
17216 save_LDFLAGS=$LDFLAGS
17217 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17218 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17219 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17220 # The linker can only warn and ignore the option if not recognized
17221 # So say no if there are warnings
17222 if test -s conftest.err; then
17223 # Append any errors to the config.log.
17224 cat conftest.err 1>&5
17225 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17226 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17227 if diff conftest.exp conftest.er2 >/dev/null; then
17228 lt_cv_prog_compiler_static_works_CXX=yes
17231 lt_cv_prog_compiler_static_works_CXX=yes
17235 LDFLAGS=$save_LDFLAGS
17238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17239 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17241 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
17244 lt_prog_compiler_static_CXX=
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17251 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17252 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17253 $as_echo_n "(cached) " >&6
17255 lt_cv_prog_compiler_c_o_CXX=no
17256 $RM -r conftest 2>/dev/null
17260 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17262 lt_compiler_flag="-o out/conftest2.$ac_objext"
17263 # Insert the option either (1) after the last *FLAGS variable, or
17264 # (2) before a word containing "conftest.", or (3) at the end.
17265 # Note that $ac_compile itself does not contain backslashes and begins
17266 # with a dollar sign (not a hyphen), so the echo should work correctly.
17267 lt_compile=`echo "$ac_compile" | $SED \
17268 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17269 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17270 -e 's:$: $lt_compiler_flag:'`
17271 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17272 (eval "$lt_compile" 2>out/conftest.err)
17274 cat out/conftest.err >&5
17275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17276 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17278 # The compiler can only warn and ignore the option if not recognized
17279 # So say no if there are warnings
17280 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17281 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17282 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17283 lt_cv_prog_compiler_c_o_CXX=yes
17288 # SGI C++ compiler will create directory out/ii_files/ for
17289 # template instantiation
17290 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17291 $RM out/* && rmdir out
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17298 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17303 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17304 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17305 $as_echo_n "(cached) " >&6
17307 lt_cv_prog_compiler_c_o_CXX=no
17308 $RM -r conftest 2>/dev/null
17312 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17314 lt_compiler_flag="-o out/conftest2.$ac_objext"
17315 # Insert the option either (1) after the last *FLAGS variable, or
17316 # (2) before a word containing "conftest.", or (3) at the end.
17317 # Note that $ac_compile itself does not contain backslashes and begins
17318 # with a dollar sign (not a hyphen), so the echo should work correctly.
17319 lt_compile=`echo "$ac_compile" | $SED \
17320 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17321 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17322 -e 's:$: $lt_compiler_flag:'`
17323 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17324 (eval "$lt_compile" 2>out/conftest.err)
17326 cat out/conftest.err >&5
17327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17328 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17330 # The compiler can only warn and ignore the option if not recognized
17331 # So say no if there are warnings
17332 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17333 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17334 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17335 lt_cv_prog_compiler_c_o_CXX=yes
17340 # SGI C++ compiler will create directory out/ii_files/ for
17341 # template instantiation
17342 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17343 $RM out/* && rmdir out
17349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17350 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17355 hard_links=nottested
17356 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
17357 # do not overwrite the value of need_locks provided by the user
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17359 $as_echo_n "checking if we can lock with hard links... " >&6; }
17362 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17364 ln conftest.a conftest.b 2>&5 || hard_links=no
17365 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17367 $as_echo "$hard_links" >&6; }
17368 if test no = "$hard_links"; then
17369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17370 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17380 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17382 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17383 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17386 # If we're using GNU nm, then we don't want the "-C" option.
17387 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17388 # Without the "-l" option, or with the "-B" option, AIX nm treats
17389 # weak defined symbols like other global defined symbols, whereas
17390 # GNU nm marks them as "W".
17391 # While the 'weak' keyword is ignored in the Export File, we need
17392 # it in the Import File for the 'aix-soname' feature, so we have
17393 # to replace the "-B" option with "-P" for AIX nm.
17394 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17395 export_symbols_cmds_CXX='$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'
17397 export_symbols_cmds_CXX='`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'
17401 export_symbols_cmds_CXX=$ltdll_cmds
17403 cygwin* | mingw* | cegcc*)
17404 case $cc_basename in
17406 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17409 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
17410 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17415 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17420 $as_echo "$ld_shlibs_CXX" >&6; }
17421 test no = "$ld_shlibs_CXX" && can_build_shared=no
17423 with_gnu_ld_CXX=$with_gnu_ld
17431 # Do we need to explicitly link libc?
17433 case "x$archive_cmds_need_lc_CXX" in
17435 # Assume -lc should be added
17436 archive_cmds_need_lc_CXX=yes
17438 if test yes,yes = "$GCC,$enable_shared"; then
17439 case $archive_cmds_CXX in
17441 # FIXME: we may have to deal with multi-command sequences.
17444 # Test whether the compiler implicitly links with -lc since on some
17445 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17446 # to ld, don't add -lc before -lgcc.
17447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17448 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17449 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17450 $as_echo_n "(cached) " >&6
17453 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17455 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17456 (eval $ac_compile) 2>&5
17458 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17459 test $ac_status = 0; } 2>conftest.err; then
17462 libobjs=conftest.$ac_objext
17464 wl=$lt_prog_compiler_wl_CXX
17465 pic_flag=$lt_prog_compiler_pic_CXX
17471 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17472 allow_undefined_flag_CXX=
17473 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17474 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17476 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17477 test $ac_status = 0; }
17479 lt_cv_archive_cmds_need_lc_CXX=no
17481 lt_cv_archive_cmds_need_lc_CXX=yes
17483 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17485 cat conftest.err 1>&5
17490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17491 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17492 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17561 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17563 library_names_spec=
17564 libname_spec='lib$name'
17568 postuninstall_cmds=
17572 shlibpath_overrides_runpath=unknown
17574 dynamic_linker="$host_os ld.so"
17575 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17576 need_lib_prefix=unknown
17577 hardcode_into_libs=no
17579 # when you set need_version to no, make sure it does not cause -set_version
17580 # flags to be left without arguments
17581 need_version=unknown
17587 version_type=linux # correct to gnu/linux during the next big refactor
17588 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17589 shlibpath_var=LIBPATH
17591 # AIX 3 has no versioning support, so we append a major version to the name.
17592 soname_spec='$libname$release$shared_ext$major'
17596 version_type=linux # correct to gnu/linux during the next big refactor
17599 hardcode_into_libs=yes
17600 if test ia64 = "$host_cpu"; then
17601 # AIX 5 supports IA64
17602 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17603 shlibpath_var=LD_LIBRARY_PATH
17605 # With GCC up to 2.95.x, collect2 would create an import file
17606 # for dependence libraries. The import file would start with
17607 # the line '#! .'. This would cause the generated library to
17608 # depend on '.', always an invalid library. This was fixed in
17609 # development snapshots of GCC prior to 3.0.
17611 aix4 | aix4.[01] | aix4.[01].*)
17612 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17614 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17617 can_build_shared=no
17621 # Using Import Files as archive members, it is possible to support
17622 # filename-based versioning of shared library archives on AIX. While
17623 # this would work for both with and without runtime linking, it will
17624 # prevent static linking of such archives. So we do filename-based
17625 # shared library versioning with .so extension only, which is used
17626 # when both runtime linking and shared linking is enabled.
17627 # Unfortunately, runtime linking may impact performance, so we do
17628 # not want this to be the default eventually. Also, we use the
17629 # versioned .so libs for executables only if there is the -brtl
17630 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17631 # To allow for filename-based versioning support, we need to create
17632 # libNAME.so.V as an archive file, containing:
17633 # *) an Import File, referring to the versioned filename of the
17634 # archive as well as the shared archive member, telling the
17635 # bitwidth (32 or 64) of that shared object, and providing the
17636 # list of exported symbols of that shared object, eventually
17637 # decorated with the 'weak' keyword
17638 # *) the shared object with the F_LOADONLY flag set, to really avoid
17639 # it being seen by the linker.
17640 # At run time we better use the real file rather than another symlink,
17641 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17643 case $with_aix_soname,$aix_use_runtimelinking in
17644 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17645 # soname into executable. Probably we can add versioning support to
17646 # collect2, so additional links can be useful in future.
17647 aix,yes) # traditional libtool
17648 dynamic_linker='AIX unversionable lib.so'
17649 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17650 # instead of lib<name>.a to let people know that these are not
17651 # typical AIX shared libraries.
17652 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17654 aix,no) # traditional AIX only
17655 dynamic_linker='AIX lib.a(lib.so.V)'
17656 # We preserve .a as extension for shared libraries through AIX4.2
17657 # and later when we are not doing run time linking.
17658 library_names_spec='$libname$release.a $libname.a'
17659 soname_spec='$libname$release$shared_ext$major'
17661 svr4,*) # full svr4 only
17662 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17663 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17664 # We do not specify a path in Import Files, so LIBPATH fires.
17665 shlibpath_overrides_runpath=yes
17667 *,yes) # both, prefer svr4
17668 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17669 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17670 # unpreferred sharedlib libNAME.a needs extra handling
17671 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"'
17672 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"'
17673 # We do not specify a path in Import Files, so LIBPATH fires.
17674 shlibpath_overrides_runpath=yes
17676 *,no) # both, prefer aix
17677 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17678 library_names_spec='$libname$release.a $libname.a'
17679 soname_spec='$libname$release$shared_ext$major'
17680 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17681 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)'
17682 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"'
17685 shlibpath_var=LIBPATH
17692 # Since July 2007 AmigaOS4 officially supports .so libraries.
17693 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17694 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17697 library_names_spec='$libname.ixlibrary $libname.a'
17698 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17699 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'
17705 library_names_spec='$libname$shared_ext'
17706 dynamic_linker="$host_os ld.so"
17707 shlibpath_var=LIBRARY_PATH
17711 version_type=linux # correct to gnu/linux during the next big refactor
17713 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17714 soname_spec='$libname$release$shared_ext$major'
17715 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17716 shlibpath_var=LD_LIBRARY_PATH
17717 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17718 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17719 # the default ld.so.conf also contains /usr/contrib/lib and
17720 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17721 # libtool to hard-code these into programs
17724 cygwin* | mingw* | pw32* | cegcc*)
17725 version_type=windows
17730 case $GCC,$cc_basename in
17733 library_names_spec='$libname.dll.a'
17734 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17735 postinstall_cmds='base_file=`basename \$file`~
17736 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17737 dldir=$destdir/`dirname \$dlpath`~
17738 test -d \$dldir || mkdir -p \$dldir~
17739 $install_prog $dir/$dlname \$dldir/$dlname~
17740 chmod a+x \$dldir/$dlname~
17741 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17742 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17744 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17745 dlpath=$dir/\$dldll~
17747 shlibpath_overrides_runpath=yes
17751 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17752 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17756 # MinGW DLLs use traditional 'lib' prefix
17757 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17760 # pw32 DLLs use 'pw' prefix rather than 'lib'
17761 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17764 dynamic_linker='Win32 ld.exe'
17769 libname_spec='$name'
17770 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17771 library_names_spec='$libname.dll.lib'
17775 sys_lib_search_path_spec=
17778 for lt_path in $LIB
17781 # Let DOS variable expansion print the short 8.3 style file name.
17782 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17783 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17786 # Convert to MSYS style.
17787 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17790 # Convert to unix form, then to dos form, then back to unix form
17791 # but this time dos style (no spaces!) so that the unix form looks
17792 # like /cygdrive/c/PROGRA~1:/cygdr...
17793 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17794 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17795 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17798 sys_lib_search_path_spec=$LIB
17799 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17800 # It is most probably a Windows format PATH.
17801 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17803 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17805 # FIXME: find the short name or the path components, as spaces are
17806 # common. (e.g. "Program Files" -> "PROGRA~1")
17810 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17811 postinstall_cmds='base_file=`basename \$file`~
17812 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17813 dldir=$destdir/`dirname \$dlpath`~
17814 test -d \$dldir || mkdir -p \$dldir~
17815 $install_prog $dir/$dlname \$dldir/$dlname'
17816 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17817 dlpath=$dir/\$dldll~
17819 shlibpath_overrides_runpath=yes
17820 dynamic_linker='Win32 link.exe'
17824 # Assume MSVC wrapper
17825 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17826 dynamic_linker='Win32 ld.exe'
17829 # FIXME: first we should search . and the directory the executable is in
17833 darwin* | rhapsody*)
17834 dynamic_linker="$host_os dyld"
17835 version_type=darwin
17838 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17839 soname_spec='$libname$release$major$shared_ext'
17840 shlibpath_overrides_runpath=yes
17841 shlibpath_var=DYLD_LIBRARY_PATH
17842 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17844 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17848 version_type=linux # correct to gnu/linux during the next big refactor
17851 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17852 soname_spec='$libname$release$shared_ext$major'
17853 shlibpath_var=LD_LIBRARY_PATH
17856 freebsd* | dragonfly*)
17857 # DragonFly does not have aout. When/if they implement a new
17858 # versioning mechanism, adjust this.
17859 if test -x /usr/bin/objformat; then
17860 objformat=`/usr/bin/objformat`
17863 freebsd[23].*) objformat=aout ;;
17864 *) objformat=elf ;;
17867 version_type=freebsd-$objformat
17868 case $version_type in
17870 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17871 soname_spec='$libname$release$shared_ext$major'
17876 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17880 shlibpath_var=LD_LIBRARY_PATH
17883 shlibpath_overrides_runpath=yes
17885 freebsd3.[01]* | freebsdelf3.[01]*)
17886 shlibpath_overrides_runpath=yes
17887 hardcode_into_libs=yes
17889 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17890 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17891 shlibpath_overrides_runpath=no
17892 hardcode_into_libs=yes
17894 *) # from 4.6 on, and DragonFly
17895 shlibpath_overrides_runpath=yes
17896 hardcode_into_libs=yes
17902 version_type=linux # correct to gnu/linux during the next big refactor
17905 dynamic_linker="$host_os runtime_loader"
17906 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17907 soname_spec='$libname$release$shared_ext$major'
17908 shlibpath_var=LIBRARY_PATH
17909 shlibpath_overrides_runpath=no
17910 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17911 hardcode_into_libs=yes
17914 hpux9* | hpux10* | hpux11*)
17915 # Give a soname corresponding to the major version so that dld.sl refuses to
17916 # link against other versions.
17923 hardcode_into_libs=yes
17924 dynamic_linker="$host_os dld.so"
17925 shlibpath_var=LD_LIBRARY_PATH
17926 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17927 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17928 soname_spec='$libname$release$shared_ext$major'
17929 if test 32 = "$HPUX_IA64_MODE"; then
17930 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17931 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17933 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17934 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17939 hardcode_into_libs=yes
17940 dynamic_linker="$host_os dld.sl"
17941 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17942 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17943 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17944 soname_spec='$libname$release$shared_ext$major'
17945 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17946 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17950 dynamic_linker="$host_os dld.sl"
17951 shlibpath_var=SHLIB_PATH
17952 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17953 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17954 soname_spec='$libname$release$shared_ext$major'
17957 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17958 postinstall_cmds='chmod 555 $lib'
17959 # or fails outright, so override atomically:
17960 install_override_mode=555
17964 version_type=linux # correct to gnu/linux during the next big refactor
17967 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17968 soname_spec='$libname$release$shared_ext$major'
17969 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17970 shlibpath_var=LD_LIBRARY_PATH
17971 shlibpath_overrides_runpath=no
17972 hardcode_into_libs=yes
17975 irix5* | irix6* | nonstopux*)
17977 nonstopux*) version_type=nonstopux ;;
17979 if test yes = "$lt_cv_prog_gnu_ld"; then
17980 version_type=linux # correct to gnu/linux during the next big refactor
17987 soname_spec='$libname$release$shared_ext$major'
17988 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17990 irix5* | nonstopux*)
17991 libsuff= shlibsuff=
17994 case $LD in # libtool.m4 will add one of these switches to LD
17995 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17996 libsuff= shlibsuff= libmagic=32-bit;;
17997 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17998 libsuff=32 shlibsuff=N32 libmagic=N32;;
17999 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
18000 libsuff=64 shlibsuff=64 libmagic=64-bit;;
18001 *) libsuff= shlibsuff= libmagic=never-match;;
18005 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
18006 shlibpath_overrides_runpath=no
18007 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
18008 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
18009 hardcode_into_libs=yes
18012 # No shared lib support for Linux oldld, aout, or coff.
18013 linux*oldld* | linux*aout* | linux*coff*)
18018 version_type=none # Android doesn't support versioned libraries.
18021 library_names_spec='$libname$release$shared_ext'
18022 soname_spec='$libname$release$shared_ext'
18024 shlibpath_var=LD_LIBRARY_PATH
18025 shlibpath_overrides_runpath=yes
18027 # This implies no fast_install, which is unacceptable.
18028 # Some rework will be needed to allow for fast_install
18029 # before this can be enabled.
18030 hardcode_into_libs=yes
18032 dynamic_linker='Android linker'
18033 # Don't embed -rpath directories since the linker doesn't support them.
18034 hardcode_libdir_flag_spec_CXX='-L$libdir'
18037 # This must be glibc/ELF.
18038 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
18039 version_type=linux # correct to gnu/linux during the next big refactor
18042 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18043 soname_spec='$libname$release$shared_ext$major'
18044 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
18045 shlibpath_var=LD_LIBRARY_PATH
18046 shlibpath_overrides_runpath=no
18048 # Some binutils ld are patched to set DT_RUNPATH
18049 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
18050 $as_echo_n "(cached) " >&6
18052 lt_cv_shlibpath_overrides_runpath=no
18053 save_LDFLAGS=$LDFLAGS
18054 save_libdir=$libdir
18055 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
18056 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
18057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18058 /* end confdefs.h. */
18068 if ac_fn_cxx_try_link "$LINENO"; then :
18069 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18070 lt_cv_shlibpath_overrides_runpath=yes
18073 rm -f core conftest.err conftest.$ac_objext \
18074 conftest$ac_exeext conftest.$ac_ext
18075 LDFLAGS=$save_LDFLAGS
18076 libdir=$save_libdir
18080 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18082 # This implies no fast_install, which is unacceptable.
18083 # Some rework will be needed to allow for fast_install
18084 # before this can be enabled.
18085 hardcode_into_libs=yes
18087 # Ideally, we could use ldconfig to report *all* directores which are
18088 # searched for libraries, however this is still not possible. Aside from not
18089 # being certain /sbin/ldconfig is available, command
18090 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18091 # even though it is searched at run-time. Try to do the best guess by
18092 # appending ld.so.conf contents (and includes) to the search path.
18093 if test -f /etc/ld.so.conf; then
18094 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' ' '`
18095 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18098 # We used to test for /lib/ld.so.1 and disable shared libraries on
18099 # powerpc, because MkLinux only supported shared libraries with the
18100 # GNU dynamic linker. Since this was broken with cross compilers,
18101 # most powerpc-linux boxes support dynamic linking these days and
18102 # people can always --disable-shared, the test was removed, and we
18103 # assume the GNU/Linux dynamic linker is in use.
18104 dynamic_linker='GNU/Linux ld.so'
18111 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18112 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18113 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18114 dynamic_linker='NetBSD (a.out) ld.so'
18116 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18117 soname_spec='$libname$release$shared_ext$major'
18118 dynamic_linker='NetBSD ld.elf_so'
18120 shlibpath_var=LD_LIBRARY_PATH
18121 shlibpath_overrides_runpath=yes
18122 hardcode_into_libs=yes
18126 version_type=linux # correct to gnu/linux during the next big refactor
18127 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18128 shlibpath_var=LD_LIBRARY_PATH
18129 shlibpath_overrides_runpath=yes
18136 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18137 soname_spec='$libname$release$shared_ext$major'
18138 shlibpath_var=LD_LIBRARY_PATH
18139 shlibpath_overrides_runpath=no
18140 hardcode_into_libs=yes
18141 dynamic_linker='ldqnx.so'
18144 openbsd* | bitrig*)
18146 sys_lib_dlsearch_path_spec=/usr/lib
18148 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18153 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18154 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18155 shlibpath_var=LD_LIBRARY_PATH
18156 shlibpath_overrides_runpath=yes
18160 libname_spec='$name'
18161 version_type=windows
18165 # OS/2 can only load a DLL with a base name of 8 characters or less.
18166 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
18167 v=$($ECHO $release$versuffix | tr -d .-);
18168 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18169 $ECHO $n$v`$shared_ext'
18170 library_names_spec='${libname}_dll.$libext'
18171 dynamic_linker='OS/2 ld.exe'
18172 shlibpath_var=BEGINLIBPATH
18173 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18174 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18175 postinstall_cmds='base_file=`basename \$file`~
18176 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18177 dldir=$destdir/`dirname \$dlpath`~
18178 test -d \$dldir || mkdir -p \$dldir~
18179 $install_prog $dir/$dlname \$dldir/$dlname~
18180 chmod a+x \$dldir/$dlname~
18181 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18182 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18184 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18185 dlpath=$dir/\$dldll~
18189 osf3* | osf4* | osf5*)
18193 soname_spec='$libname$release$shared_ext$major'
18194 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18195 shlibpath_var=LD_LIBRARY_PATH
18196 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18197 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18205 version_type=linux # correct to gnu/linux during the next big refactor
18208 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18209 soname_spec='$libname$release$shared_ext$major'
18210 shlibpath_var=LD_LIBRARY_PATH
18211 shlibpath_overrides_runpath=yes
18212 hardcode_into_libs=yes
18213 # ldd complains unless libraries are executable
18214 postinstall_cmds='chmod +x $lib'
18219 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18220 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18221 shlibpath_var=LD_LIBRARY_PATH
18222 shlibpath_overrides_runpath=yes
18223 if test yes = "$with_gnu_ld"; then
18230 version_type=linux # correct to gnu/linux during the next big refactor
18231 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18232 soname_spec='$libname$release$shared_ext$major'
18233 shlibpath_var=LD_LIBRARY_PATH
18234 case $host_vendor in
18236 shlibpath_overrides_runpath=no
18238 runpath_var=LD_RUN_PATH
18246 shlibpath_overrides_runpath=no
18247 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18253 if test -d /usr/nec; then
18254 version_type=linux # correct to gnu/linux during the next big refactor
18255 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
18256 soname_spec='$libname$shared_ext.$major'
18257 shlibpath_var=LD_LIBRARY_PATH
18261 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18265 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
18266 soname_spec='$libname$release$shared_ext$major'
18267 shlibpath_var=LD_LIBRARY_PATH
18268 shlibpath_overrides_runpath=yes
18269 hardcode_into_libs=yes
18270 if test yes = "$with_gnu_ld"; then
18271 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18273 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18276 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18280 sys_lib_dlsearch_path_spec='/usr/lib'
18284 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18285 version_type=linux # correct to gnu/linux during the next big refactor
18288 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18289 shlibpath_var=LD_LIBRARY_PATH
18290 shlibpath_overrides_runpath=no
18291 hardcode_into_libs=yes
18295 version_type=linux # correct to gnu/linux during the next big refactor
18296 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18297 soname_spec='$libname$release$shared_ext$major'
18298 shlibpath_var=LD_LIBRARY_PATH
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18306 $as_echo "$dynamic_linker" >&6; }
18307 test no = "$dynamic_linker" && can_build_shared=no
18309 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18310 if test yes = "$GCC"; then
18311 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18314 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18315 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
18318 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18319 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
18322 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18323 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
18325 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18326 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
18328 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18329 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
18370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18371 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18372 hardcode_action_CXX=
18373 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18374 test -n "$runpath_var_CXX" ||
18375 test yes = "$hardcode_automatic_CXX"; then
18377 # We can hardcode non-existent directories.
18378 if test no != "$hardcode_direct_CXX" &&
18379 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18380 # have to relink, otherwise we might link with an installed library
18381 # when we should be linking with a yet-to-be-installed one
18382 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18383 test no != "$hardcode_minus_L_CXX"; then
18384 # Linking always hardcodes the temporary library directory.
18385 hardcode_action_CXX=relink
18387 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18388 hardcode_action_CXX=immediate
18391 # We cannot hardcode anything, or else we can only hardcode existing
18393 hardcode_action_CXX=unsupported
18395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18396 $as_echo "$hardcode_action_CXX" >&6; }
18398 if test relink = "$hardcode_action_CXX" ||
18399 test yes = "$inherit_rpath_CXX"; then
18400 # Fast installation is not supported
18401 enable_fast_install=no
18402 elif test yes = "$shlibpath_overrides_runpath" ||
18403 test no = "$enable_shared"; then
18404 # Fast installation is not necessary
18405 enable_fast_install=needless
18414 fi # test -n "$compiler"
18417 CFLAGS=$lt_save_CFLAGS
18421 with_gnu_ld=$lt_save_with_gnu_ld
18422 lt_cv_path_LDCXX=$lt_cv_path_LD
18423 lt_cv_path_LD=$lt_save_path_LD
18424 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18425 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18426 fi # test yes != "$_lt_caught_CXX_error"
18429 ac_cpp='$CPP $CPPFLAGS'
18430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18448 ac_config_commands="$ac_config_commands libtool"
18453 # Only expand once:
18456 # Check whether --enable-experimental-libtool was given.
18457 if test "${enable_experimental_libtool+set}" = set; then :
18458 enableval=$enable_experimental_libtool; experimental_libtool=$enableval
18460 experimental_libtool=no
18464 if test "$experimental_libtool" = "yes"; then
18465 echo "using APR's libtool"
18466 sh_libtool="`$apr_config --apr-libtool`"
18467 LIBTOOL="$sh_libtool"
18468 SVN_LIBTOOL="$sh_libtool"
18470 sh_libtool="$abs_builddir/libtool"
18471 SVN_LIBTOOL="\$(SHELL) \"$sh_libtool\""
18475 lt_pversion=`$LIBTOOL --version 2>/dev/null|$SED -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
18476 lt_version=`echo $lt_pversion|$SED -e 's/\([a-z]*\)$/.\1/'`
18477 lt_major_version=`echo $lt_version | cut -d'.' -f 1`
18479 svn_enable_static=yes
18480 svn_enable_shared=yes
18482 # Check whether --enable-static was given.
18483 if test "${enable_static+set}" = set; then :
18484 enableval=$enable_static; svn_enable_static="$enableval"
18486 svn_enable_static="yes"
18490 # Check whether --enable-shared was given.
18491 if test "${enable_shared+set}" = set; then :
18492 enableval=$enable_shared; svn_enable_shared="$enableval"
18494 svn_enable_shared="yes"
18498 if test "$svn_enable_static" = "yes" && test "$svn_enable_shared" = "yes" ; then
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: building both shared and static libraries" >&5
18500 $as_echo "$as_me: building both shared and static libraries" >&6;}
18501 elif test "$svn_enable_static" = "yes" ; then
18502 { $as_echo "$as_me:${as_lineno-$LINENO}: building static libraries only" >&5
18503 $as_echo "$as_me: building static libraries only" >&6;}
18504 LT_CFLAGS="-static $LT_CFLAGS"
18505 LT_LDFLAGS="-static $LT_LDFLAGS"
18506 elif test "$svn_enable_shared" = "yes" ; then
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: building shared libraries only" >&5
18508 $as_echo "$as_me: building shared libraries only" >&6;}
18509 if test "$lt_major_version" = "1" ; then
18510 LT_CFLAGS="-prefer-pic $LT_CFLAGS"
18511 elif test "$lt_major_version" = "2" ; then
18512 LT_CFLAGS="-shared $LT_CFLAGS"
18514 LT_LDFLAGS="-shared $LT_LDFLAGS"
18516 as_fn_error $? "cannot disable both shared and static libraries" "$LINENO" 5
18519 # Check whether --enable-all-static was given.
18520 if test "${enable_all_static+set}" = set; then :
18521 enableval=$enable_all_static;
18522 if test "$enableval" = "yes" ; then
18523 LT_LDFLAGS="-all-static $LT_LDFLAGS"
18524 elif test "$enableval" != "no" ; then
18525 as_fn_error $? "--enable-all-static doesn't accept argument" "$LINENO" 5
18534 # Check whether --enable-local-library-preloading was given.
18535 if test "${enable_local_library_preloading+set}" = set; then :
18536 enableval=$enable_local_library_preloading;
18537 if test "$enableval" != "no"; then
18538 if test "$svn_enable_shared" = "yes"; then
18539 TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts"
18541 as_fn_error $? "--enable-local-library-preloading conflicts with --disable-shared" "$LINENO" 5
18544 TRANSFORM_LIBTOOL_SCRIPTS=""
18549 TRANSFORM_LIBTOOL_SCRIPTS=""
18555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool needs -no-undefined" >&5
18556 $as_echo_n "checking whether libtool needs -no-undefined... " >&6; }
18559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18560 $as_echo "yes" >&6; }
18561 LT_NO_UNDEFINED="-no-undefined"
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18565 $as_echo "no" >&6; }
18573 # Check whether --with-trang was given.
18574 if test "${with_trang+set}" = set; then :
18575 withval=$with_trang;
18580 if test "$trang" = "yes"; then
18581 # Extract the first word of "trang", so it can be a program name with args.
18582 set dummy trang; ac_word=$2
18583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18584 $as_echo_n "checking for $ac_word... " >&6; }
18585 if ${ac_cv_path_TRANG+:} false; then :
18586 $as_echo_n "(cached) " >&6
18590 ac_cv_path_TRANG="$TRANG" # Let the user override the test with a path.
18593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18594 for as_dir in $PATH
18597 test -z "$as_dir" && as_dir=.
18598 for ac_exec_ext in '' $ac_executable_extensions; do
18599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18600 ac_cv_path_TRANG="$as_dir/$ac_word$ac_exec_ext"
18601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18608 test -z "$ac_cv_path_TRANG" && ac_cv_path_TRANG="none"
18612 TRANG=$ac_cv_path_TRANG
18613 if test -n "$TRANG"; then
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRANG" >&5
18615 $as_echo "$TRANG" >&6; }
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18618 $as_echo "no" >&6; }
18629 # Check whether --with-doxygen was given.
18630 if test "${with_doxygen+set}" = set; then :
18631 withval=$with_doxygen;
18636 if test "$doxygen" = "yes"; then
18637 # Extract the first word of "doxygen", so it can be a program name with args.
18638 set dummy doxygen; ac_word=$2
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18640 $as_echo_n "checking for $ac_word... " >&6; }
18641 if ${ac_cv_path_DOXYGEN+:} false; then :
18642 $as_echo_n "(cached) " >&6
18646 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18649 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18650 for as_dir in $PATH
18653 test -z "$as_dir" && as_dir=.
18654 for ac_exec_ext in '' $ac_executable_extensions; do
18655 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18656 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18657 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18664 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="none"
18668 DOXYGEN=$ac_cv_path_DOXYGEN
18669 if test -n "$DOXYGEN"; then
18670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18671 $as_echo "$DOXYGEN" >&6; }
18673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18674 $as_echo "no" >&6; }
18687 # Check whether --with-expat was given.
18688 if test "${with_expat+set}" = set; then :
18689 withval=$with_expat; svn_lib_expat="$withval"
18691 svn_lib_expat="::expat"
18695 # APR-util accepts "builtin" as an argument to this option so if the user
18696 # passed "builtin" pretend the user didn't specify the --with-expat option
18697 # at all. Expat will (hopefully) be found in apr-util.
18698 test "_$svn_lib_expat" = "_builtin" && svn_lib_expat="::expat"
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat" >&5
18701 $as_echo_n "checking for Expat... " >&6; }
18702 if test -n "`echo "$svn_lib_expat" | $EGREP ":.*:"`"; then
18703 SVN_XML_INCLUDES=""
18704 for i in `echo "$svn_lib_expat" | $SED -e "s/\([^:]*\):.*/\1/"`; do
18705 SVN_XML_INCLUDES="$SVN_XML_INCLUDES -I$i"
18707 SVN_XML_INCLUDES="${SVN_XML_INCLUDES## }"
18708 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\):.*/\1/"`; do
18709 LDFLAGS="$LDFLAGS -L$l"
18711 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18712 SVN_XML_LIBS="$SVN_XML_LIBS -l$l"
18714 SVN_XML_LIBS="${SVN_XML_LIBS## }"
18715 old_CPPFLAGS="$CPPFLAGS"
18717 CPPFLAGS="$CPPFLAGS $SVN_XML_INCLUDES"
18718 LIBS="$LIBS $SVN_XML_LIBS"
18719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18720 /* end confdefs.h. */
18724 {XML_ParserCreate(NULL);}
18726 if ac_fn_c_try_link "$LINENO"; then :
18727 svn_lib_expat="yes"
18731 rm -f core conftest.err conftest.$ac_objext \
18732 conftest$ac_exeext conftest.$ac_ext
18734 if test "$svn_lib_expat" = "yes"; then
18735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18736 $as_echo "yes" >&6; }
18738 SVN_XML_INCLUDES=""
18740 CPPFLAGS="$CPPFLAGS $SVN_APRUTIL_INCLUDES"
18741 if test "$enable_all_static" != "yes"; then
18742 SVN_APRUTIL_LIBS="$SVN_APRUTIL_LIBS `$apu_config --libs`"
18744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18745 /* end confdefs.h. */
18749 {XML_ParserCreate(NULL);}
18751 if ac_fn_c_try_compile "$LINENO"; then :
18752 svn_lib_expat="yes"
18756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18757 if test "$svn_lib_expat" = "yes"; then
18758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18759 $as_echo "yes" >&6; }
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Expat found amongst libraries used by APR-Util, but Subversion libraries might be needlessly linked against additional unused libraries. It can be avoided by specifying exact location of Expat in argument of --with-expat option." >&5
18761 $as_echo "$as_me: WARNING: Expat found amongst libraries used by APR-Util, but Subversion libraries might be needlessly linked against additional unused libraries. It can be avoided by specifying exact location of Expat in argument of --with-expat option." >&2;}
18763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18764 $as_echo "no" >&6; }
18765 as_fn_error $? "Expat not found" "$LINENO" 5
18768 CPPFLAGS="$old_CPPFLAGS"
18770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18771 $as_echo "no" >&6; }
18772 if test "$svn_lib_expat" = "yes"; then
18773 as_fn_error $? "--with-expat option requires argument" "$LINENO" 5
18774 elif test "$svn_lib_expat" = "no"; then
18775 as_fn_error $? "Expat is required" "$LINENO" 5
18777 as_fn_error $? "Invalid syntax of argument of --with-expat option" "$LINENO" 5
18784 # Berkeley DB on SCO OpenServer needs -lsocket
18785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
18786 $as_echo_n "checking for socket in -lsocket... " >&6; }
18787 if ${ac_cv_lib_socket_socket+:} false; then :
18788 $as_echo_n "(cached) " >&6
18790 ac_check_lib_save_LIBS=$LIBS
18791 LIBS="-lsocket $LIBS"
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18795 /* Override any GCC internal prototype to avoid an error.
18796 Use char because int might match the return type of a GCC
18797 builtin and then its argument prototype would still apply. */
18810 if ac_fn_c_try_link "$LINENO"; then :
18811 ac_cv_lib_socket_socket=yes
18813 ac_cv_lib_socket_socket=no
18815 rm -f core conftest.err conftest.$ac_objext \
18816 conftest$ac_exeext conftest.$ac_ext
18817 LIBS=$ac_check_lib_save_LIBS
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
18820 $as_echo "$ac_cv_lib_socket_socket" >&6; }
18821 if test "x$ac_cv_lib_socket_socket" = xyes; then :
18822 cat >>confdefs.h <<_ACEOF
18823 #define HAVE_LIBSOCKET 1
18826 LIBS="-lsocket $LIBS"
18831 # Build the BDB filesystem library only if we have an appropriate
18832 # version of Berkeley DB.
18834 powerpc-apple-darwin*)
18835 # Berkeley DB 4.0 does not work on OS X.
18836 SVN_FS_WANT_DB_MAJOR=4
18837 SVN_FS_WANT_DB_MINOR=1
18838 SVN_FS_WANT_DB_PATCH=25
18841 SVN_FS_WANT_DB_MAJOR=4
18842 SVN_FS_WANT_DB_MINOR=0
18843 SVN_FS_WANT_DB_PATCH=14
18846 db_alt_version="5.x"
18847 # Look for libdb4.so first:
18849 db_version=$SVN_FS_WANT_DB_MAJOR.$SVN_FS_WANT_DB_MINOR.$SVN_FS_WANT_DB_PATCH
18852 # Check whether --with-berkeley-db was given.
18853 if test "${with_berkeley_db+set}" = set; then :
18854 withval=$with_berkeley_db;
18855 if test "$withval" = "no"; then
18857 elif test "$withval" = "yes"; then
18858 apu_db_version="`$apu_config --db-version`"
18859 if test $? -ne 0; then
18860 as_fn_error $? "Can't determine whether apr-util is linked against a
18861 proper version of Berkeley DB." "$LINENO" 5
18864 if test "$withval" = "yes"; then
18865 if test "$apu_db_version" -lt "4"; then
18866 as_fn_error $? "APR-UTIL was linked against Berkeley DB version $apu_db_version,
18867 while version 4 or higher is required. Reinstall
18868 APR-UTIL with the appropriate options." "$LINENO" 5
18871 bdb_status=required
18873 elif test "$apu_found" != "reconfig"; then
18874 if test "$apu_db_version" -lt 4; then
18875 as_fn_error $? "APR-UTIL was installed independently, it won't be
18876 possible to use the specified Berkeley DB: $withval" "$LINENO" 5
18879 bdb_status=required
18882 if echo "$withval" | $EGREP ":.*:.*:" > /dev/null; then
18883 svn_berkeley_db_header="`echo "$withval" | $SED -e "s/\([^:]*\):.*/\1/"`"
18885 for i in `echo "$withval" | $SED -e "s/.*:\([^:]*\):[^:]*:.*/\1/"`; do
18886 SVN_DB_INCLUDES="$SVN_DB_INCLUDES -I$i"
18888 SVN_DB_INCLUDES="${SVN_DB_INCLUDES## }"
18889 for l in `echo "$withval" | $SED -e "s/.*:[^:]*:\([^:]*\):.*/\1/"`; do
18890 LDFLAGS="$LDFLAGS `
18893 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
18894 for flag in $input_flags; do
18896 for dir in $filtered_dirs; do
18897 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
18902 if test "$filter" = "no"; then
18903 output_flags="$output_flags $flag"
18906 if test -n "$output_flags"; then
18907 printf "%s" "${output_flags# }"
18912 for l in `echo "$withval" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18913 SVN_DB_LIBS="$SVN_DB_LIBS -l$l"
18915 SVN_DB_LIBS="${SVN_DB_LIBS## }"
18917 bdb_status=required
18919 as_fn_error $? "Invalid syntax of argument of --with-berkeley-db option" "$LINENO" 5
18925 # No --with-berkeley-db option:
18927 # Check if APR-UTIL is providing the correct Berkeley DB version
18930 apu_db_version="`$apu_config --db-version`"
18931 if test $? -ne 0; then
18932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected older version of APR-UTIL, trying to determine
18933 whether apr-util is linked against Berkeley DB
18935 $as_echo "$as_me: WARNING: Detected older version of APR-UTIL, trying to determine
18936 whether apr-util is linked against Berkeley DB
18938 bdb_status=try-link
18939 elif test "$apu_db_version" -lt "4"; then
18942 bdb_status=try-link
18948 if test "$bdb_status" = "skip"; then
18949 svn_lib_berkeley_db=no
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Berkeley DB" >&5
18952 $as_echo_n "checking for availability of Berkeley DB... " >&6; }
18953 # Check whether --enable-bdb6 was given.
18954 if test "${enable_bdb6+set}" = set; then :
18955 enableval=$enable_bdb6; enable_bdb6=$enableval
18957 enable_bdb6=unspecified
18962 svn_lib_berkeley_db_try_save_cppflags="$CPPFLAGS"
18963 svn_lib_berkeley_db_try_save_libs="$LIBS"
18965 svn_check_berkeley_db_major=$SVN_FS_WANT_DB_MAJOR
18966 svn_check_berkeley_db_minor=$SVN_FS_WANT_DB_MINOR
18967 svn_check_berkeley_db_patch=$SVN_FS_WANT_DB_PATCH
18968 enable_bdb6=$enable_bdb6
18970 if test -z "$SVN_DB_LIBS"; then
18971 # We pass --dbm-libs here since Debian has modified apu-config not
18972 # to return -ldb unless --dbm-libs is passed. This may also produce
18973 # extra output beyond -ldb but since we're only filtering for -ldb
18974 # it won't matter to us. However, --dbm-libs was added to apu-config
18975 # in 1.3.8 so it's possible the version we have doesn't support it
18976 # so fallback without it if we get an error.
18977 svn_db_libs_prefiltered="`$apu_config --libs --dbm-libs`"
18978 if test $? -ne 0; then
18979 svn_db_libs_prefiltered="`$apu_config --libs`"
18982 # Extract only the -ldb.* flag from the libs supplied by apu-config
18983 # Otherwise we get bit by the fact that expat might not be built yet
18984 # Or that it resides in a non-standard location which we would have
18985 # to compensate with using something like -R`$apu_config --prefix`/lib.
18987 SVN_DB_LIBS="`echo \"$svn_db_libs_prefiltered\" | $SED -e 's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`"
18990 CPPFLAGS="$SVN_DB_INCLUDES $SVN_APRUTIL_INCLUDES $CPPFLAGS"
18991 LIBS="`$apu_config --ldflags` $SVN_DB_LIBS $LIBS"
18993 if test -n "$svn_berkeley_db_header"; then
18994 SVN_DB_HEADER="#include <$svn_berkeley_db_header>"
18995 svn_db_header="#include <$svn_berkeley_db_header>"
18997 SVN_DB_HEADER="#include <apu_want.h>"
18998 svn_db_header="#define APU_WANT_DB
18999 #include <apu_want.h>"
19004 if test "$cross_compiling" = yes; then :
19005 svn_have_berkeley_db=yes
19008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19009 /* end confdefs.h. */
19011 #include <string.h>
19012 #include <stdlib.h>
19017 int major, minor, patch;
19019 db_version (&major, &minor, &patch);
19021 /* Sanity check: ensure that db.h constants actually match the db library */
19022 if (major != DB_VERSION_MAJOR
19023 || minor != DB_VERSION_MINOR
19024 || patch != DB_VERSION_PATCH)
19027 /* Block Berkeley DB 6, because (a) we haven't tested with it, (b) 6.0.20
19028 and newer are under the AGPL, and we want use of AGPL dependencies to be
19030 if (major >= 6 && strcmp("$enable_bdb6", "yes"))
19033 /* Run-time check: ensure the library claims to be the correct version. */
19035 if (major < $svn_check_berkeley_db_major)
19037 if (major > $svn_check_berkeley_db_major)
19040 if (minor < $svn_check_berkeley_db_minor)
19042 if (minor > $svn_check_berkeley_db_minor)
19045 if (patch >= $svn_check_berkeley_db_patch)
19052 if ac_fn_c_try_run "$LINENO"; then :
19053 svn_have_berkeley_db=yes
19056 svn_have_berkeley_db=no
19057 if test $rc = 2; then
19058 svn_have_berkeley_db=no6
19061 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19062 conftest.$ac_objext conftest.beam conftest.$ac_ext
19066 CPPFLAGS="$svn_lib_berkeley_db_try_save_cppflags"
19067 LIBS="$svn_lib_berkeley_db_try_save_libs"
19070 if test "$svn_have_berkeley_db" = "yes"; then
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19072 $as_echo "yes" >&6; }
19073 svn_lib_berkeley_db=yes
19075 if test "$svn_have_berkeley_db" = "no6"; then
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found version 6, but --enable-bdb6 not specified)" >&5
19077 $as_echo "no (found version 6, but --enable-bdb6 not specified)" >&6; }
19078 # A warning will be printed at the end of configure.ac.
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19081 $as_echo "no" >&6; }
19083 svn_lib_berkeley_db=no
19084 if test "$bdb_status" = "required"; then
19085 as_fn_error $? "Berkeley DB $db_version or $db_alt_version wasn't found." "$LINENO" 5
19092 cat >>confdefs.h <<_ACEOF
19093 #define SVN_FS_WANT_DB_MAJOR $SVN_FS_WANT_DB_MAJOR
19097 cat >>confdefs.h <<_ACEOF
19098 #define SVN_FS_WANT_DB_MINOR $SVN_FS_WANT_DB_MINOR
19102 cat >>confdefs.h <<_ACEOF
19103 #define SVN_FS_WANT_DB_PATCH $SVN_FS_WANT_DB_PATCH
19112 # Check whether --with-sasl was given.
19113 if test "${with_sasl+set}" = set; then :
19114 withval=$with_sasl;
19115 with_sasl="$withval"
19126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for SASL" >&5
19127 $as_echo_n "checking whether to look for SASL... " >&6; }
19129 if test "${with_sasl}" = "no"; then
19130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19131 $as_echo "no" >&6; }
19134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19135 $as_echo "yes" >&6; }
19136 saved_LDFLAGS="$LDFLAGS"
19137 saved_CPPFLAGS="$CPPFLAGS"
19139 if test "$with_sasl" = "yes"; then
19140 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking in default locations" >&5
19141 $as_echo "$as_me: Looking in default locations" >&6;}
19142 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
19143 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
19144 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
19145 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
19146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
19147 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
19148 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
19149 $as_echo_n "(cached) " >&6
19151 ac_check_lib_save_LIBS=$LIBS
19152 LIBS="-lsasl2 $LIBS"
19153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19156 /* Override any GCC internal prototype to avoid an error.
19157 Use char because int might match the return type of a GCC
19158 builtin and then its argument prototype would still apply. */
19166 return prop_get ();
19171 if ac_fn_c_try_link "$LINENO"; then :
19172 ac_cv_lib_sasl2_prop_get=yes
19174 ac_cv_lib_sasl2_prop_get=no
19176 rm -f core conftest.err conftest.$ac_objext \
19177 conftest$ac_exeext conftest.$ac_ext
19178 LIBS=$ac_check_lib_save_LIBS
19180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
19181 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
19182 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
19198 if test "$svn_lib_sasl" = "no"; then
19199 with_sasl="/usr/local"
19205 if test "$svn_lib_sasl" = "no"; then
19206 SVN_SASL_INCLUDES="-I${with_sasl}/include"
19207 CPPFLAGS="$CPPFLAGS $SVN_SASL_INCLUDES"
19208 LDFLAGS="$LDFLAGS `
19209 input_flags="-L${with_sasl}/lib"
19211 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19212 for flag in $input_flags; do
19214 for dir in $filtered_dirs; do
19215 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
19220 if test "$filter" = "no"; then
19221 output_flags="$output_flags $flag"
19224 if test -n "$output_flags"; then
19225 printf "%s" "${output_flags# }"
19229 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
19230 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
19231 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
19232 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
19233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
19234 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
19235 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
19236 $as_echo_n "(cached) " >&6
19238 ac_check_lib_save_LIBS=$LIBS
19239 LIBS="-lsasl2 $LIBS"
19240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19241 /* end confdefs.h. */
19243 /* Override any GCC internal prototype to avoid an error.
19244 Use char because int might match the return type of a GCC
19245 builtin and then its argument prototype would still apply. */
19253 return prop_get ();
19258 if ac_fn_c_try_link "$LINENO"; then :
19259 ac_cv_lib_sasl2_prop_get=yes
19261 ac_cv_lib_sasl2_prop_get=no
19263 rm -f core conftest.err conftest.$ac_objext \
19264 conftest$ac_exeext conftest.$ac_ext
19265 LIBS=$ac_check_lib_save_LIBS
19267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
19268 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
19269 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
19287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Cyrus SASL v2" >&5
19288 $as_echo_n "checking for availability of Cyrus SASL v2... " >&6; }
19289 if test "$svn_lib_sasl" = "yes"; then
19290 SVN_SASL_LIBS="-lsasl2"
19291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19292 $as_echo "yes" >&6; }
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19295 $as_echo "no" >&6; }
19297 if test "$required" = "yes"; then
19298 as_fn_error $? "Could not find Cyrus SASL v2" "$LINENO" 5
19301 SVN_SASL_INCLUDES=""
19302 LDFLAGS="$saved_LDFLAGS"
19305 CPPFLAGS="$saved_CPPFLAGS"
19312 if test "$svn_lib_sasl" = "yes"; then
19314 $as_echo "#define SVN_HAVE_SASL 1" >>confdefs.h
19320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mach-O dynamic module iteration functions" >&5
19321 $as_echo_n "checking for Mach-O dynamic module iteration functions... " >&6; }
19322 if test "$cross_compiling" = yes; then :
19323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19325 as_fn_error $? "cannot run test program while cross compiling
19326 See \`config.log' for more details" "$LINENO" 5; }
19328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19329 /* end confdefs.h. */
19331 #include <mach-o/dyld.h>
19332 #include <mach-o/loader.h>
19338 const struct mach_header *header = _dyld_get_image_header(0);
19339 const char *name = _dyld_get_image_name(0);
19340 if (name && header) return 0;
19347 if ac_fn_c_try_run "$LINENO"; then :
19350 $as_echo "#define SVN_HAVE_MACHO_ITERATE 1" >>confdefs.h
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19353 $as_echo "yes" >&6; }
19357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19358 $as_echo "no" >&6; }
19361 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19362 conftest.$ac_objext conftest.beam conftest.$ac_ext
19367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS property list utilities" >&5
19368 $as_echo_n "checking for Mac OS property list utilities... " >&6; }
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19373 #include <AvailabilityMacros.h>
19374 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
19375 || !defined(MAC_OS_X_VERSION_10_0) \
19376 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_0)
19377 #error ProperyList API unavailable.
19388 if ac_fn_c_try_compile "$LINENO"; then :
19391 LIBS="$LIBS -framework CoreFoundation"
19393 $as_echo "#define SVN_HAVE_MACOS_PLIST 1" >>confdefs.h
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19396 $as_echo "yes" >&6; }
19400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19401 $as_echo "no" >&6; }
19404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19407 # Check whether --enable-keychain was given.
19408 if test "${enable_keychain+set}" = set; then :
19409 enableval=$enable_keychain; enable_keychain=$enableval
19411 enable_keychain=yes
19415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS KeyChain Services" >&5
19416 $as_echo_n "checking for Mac OS KeyChain Services... " >&6; }
19418 if test "$enable_keychain" = "yes"; then
19419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19420 /* end confdefs.h. */
19422 #include <AvailabilityMacros.h>
19423 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
19424 || !defined(MAC_OS_X_VERSION_10_2) \
19425 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2)
19426 #error KeyChain API unavailable.
19437 if ac_fn_c_try_compile "$LINENO"; then :
19439 LIBS="$LIBS -framework Security"
19440 LIBS="$LIBS -framework CoreServices"
19442 $as_echo "#define SVN_HAVE_KEYCHAIN_SERVICES 1" >>confdefs.h
19444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19445 $as_echo "yes" >&6; }
19450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19451 $as_echo "no" >&6; }
19454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether APR has support for DSOs" >&5
19460 $as_echo_n "checking whether APR has support for DSOs... " >&6; }
19461 old_CPPFLAGS="$CPPFLAGS"
19462 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19471 if ac_fn_c_try_cpp "$LINENO"; then :
19473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19474 $as_echo "yes" >&6; }
19477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19478 $as_echo "no" >&6; }
19480 rm -f conftest.err conftest.i conftest.$ac_ext
19481 CPPFLAGS="$old_CPPFLAGS"
19485 if test -n "$PKG_CONFIG"; then
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus .pc file" >&5
19487 $as_echo_n "checking for D-Bus .pc file... " >&6; }
19488 if $PKG_CONFIG --exists dbus-1; then
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19490 $as_echo "yes" >&6; }
19491 old_CPPFLAGS="$CPPFLAGS"
19493 DBUS_CPPFLAGS="`$PKG_CONFIG --cflags dbus-1`"
19494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D-Bus version" >&5
19495 $as_echo_n "checking D-Bus version... " >&6; }
19496 DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1`"
19497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5
19498 $as_echo "$DBUS_VERSION" >&6; }
19499 # D-Bus 0.* requires DBUS_API_SUBJECT_TO_CHANGE
19500 if test -n "`echo "$DBUS_VERSION" | $EGREP '^0\.[[:digit:]]+'`"; then
19501 DBUS_CPPFLAGS="$DBUS_CPPFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
19503 DBUS_LIBS="`$PKG_CONFIG --libs dbus-1`"
19504 CPPFLAGS="$CPPFLAGS $DBUS_CPPFLAGS"
19505 LIBS="$LIBS $DBUS_LIBS"
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus" >&5
19507 $as_echo_n "checking for D-Bus... " >&6; }
19508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19509 /* end confdefs.h. */
19511 #include <dbus/dbus.h>
19513 {dbus_bus_get(DBUS_BUS_SESSION, NULL);}
19515 if ac_fn_c_try_link "$LINENO"; then :
19520 rm -f core conftest.err conftest.$ac_objext \
19521 conftest$ac_exeext conftest.$ac_ext
19522 if test "$HAVE_DBUS" = "yes"; then
19523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19524 $as_echo "yes" >&6; }
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19527 $as_echo "no" >&6; }
19529 CPPFLAGS="$old_CPPFLAGS"
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19533 $as_echo "no" >&6; }
19539 # Check whether --with-gpg_agent was given.
19540 if test "${with_gpg_agent+set}" = set; then :
19541 withval=$with_gpg_agent;
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support GPG-Agent" >&5
19547 $as_echo_n "checking whether to support GPG-Agent... " >&6; }
19548 if test "$with_gpg_agent" = "yes"; then
19549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19550 $as_echo "yes" >&6; }
19552 $as_echo "#define SVN_HAVE_GPG_AGENT 1" >>confdefs.h
19555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19556 $as_echo "no" >&6; }
19563 # Check whether --with-old_gnome_keyring was given.
19564 if test "${with_old_gnome_keyring+set}" = set; then :
19565 withval=$with_old_gnome_keyring; with_old_gnome_keyring="$withval"
19567 with_old_gnome_keyring=no
19571 found_old_gnome_keyring=no
19572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for old GNOME Keyring" >&5
19573 $as_echo_n "checking whether to look for old GNOME Keyring... " >&6; }
19574 if test "$with_old_gnome_keyring" != "no"; then
19575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19576 $as_echo "yes" >&6; }
19579 if test "$with_old_gnome_keyring" = "yes"; then
19580 as_fn_error $? "--with-old-gnome-keyring is not supported on Mac OS X." "$LINENO" 5
19582 with_old_gnome_keyring=no
19586 if test "$svn_enable_shared" = "yes"; then
19587 if test "$APR_HAS_DSO" = "yes"; then
19588 if test -n "$PKG_CONFIG"; then
19589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLib and GNOME Keyring .pc files" >&5
19590 $as_echo_n "checking for GLib and GNOME Keyring .pc files... " >&6; }
19591 if $PKG_CONFIG --exists glib-2.0 gnome-keyring-1; then
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19593 $as_echo "yes" >&6; }
19594 old_CPPFLAGS="$CPPFLAGS"
19595 SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags glib-2.0 gnome-keyring-1`"
19596 CPPFLAGS="$CPPFLAGS $SVN_GNOME_KEYRING_INCLUDES"
19597 ac_fn_c_check_header_mongrel "$LINENO" "gnome-keyring.h" "ac_cv_header_gnome_keyring_h" "$ac_includes_default"
19598 if test "x$ac_cv_header_gnome_keyring_h" = xyes; then :
19599 found_old_gnome_keyring=yes
19601 found_old_gnome_keyring=no
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
19606 $as_echo_n "checking for GNOME Keyring... " >&6; }
19607 if test "$found_old_gnome_keyring" = "yes"; then
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19609 $as_echo "yes" >&6; }
19611 $as_echo "#define SVN_HAVE_GNOME_KEYRING 1" >>confdefs.h
19613 CPPFLAGS="$old_CPPFLAGS"
19614 SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19617 $as_echo "no" >&6; }
19618 if test "$with_old_gnome_keyring" = "yes"; then
19619 as_fn_error $? "cannot find GNOME Keyring" "$LINENO" 5
19623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19624 $as_echo "no" >&6; }
19625 if test "$with_old_gnome_keyring" = "yes"; then
19626 as_fn_error $? "cannot find GLib and GNOME Keyring .pc files." "$LINENO" 5
19628 with_old_gnome_keyring=no
19632 if test "$with_old_gnome_keyring" = "yes"; then
19633 as_fn_error $? "cannot find pkg-config. GNOME Keyring requires this." "$LINENO" 5
19635 with_old_gnome_keyring=no
19639 if test "$with_old_gnome_keyring" = "yes"; then
19640 as_fn_error $? "APR does not have support for DSOs. GNOME Keyring requires this." "$LINENO" 5
19642 with_old_gnome_keyring=no
19646 if test "$with_old_gnome_keyring" = "yes"; then
19647 as_fn_error $? "--with-old-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
19649 with_old_gnome_keyring=no
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19656 $as_echo "no" >&6; }
19663 # Check whether --with-gnome_keyring was given.
19664 if test "${with_gnome_keyring+set}" = set; then :
19665 withval=$with_gnome_keyring; with_gnome_keyring="$withval"
19667 with_gnome_keyring=auto
19671 found_gnome_keyring="no"
19672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for GNOME Keyring" >&5
19673 $as_echo_n "checking whether to look for GNOME Keyring... " >&6; }
19674 if test "$found_old_gnome_keyring" = "yes" && test "$with_gnome_keyring" = "auto"; then
19675 with_gnome_keyring="no"
19677 if test "$with_gnome_keyring" != "no"; then
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19679 $as_echo "yes" >&6; }
19682 if test "$with_gnome_keyring" = "yes"; then
19683 as_fn_error $? "--with-gnome-keyring is not supported on Mac OS X." "$LINENO" 5
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
19688 $as_echo_n "checking for GNOME Keyring... " >&6; }
19689 if test "$found_old_gnome_keyring" = "no"; then
19690 if test "$svn_enable_shared" = "yes"; then
19691 if test "$APR_HAS_DSO" = "yes"; then
19692 if test -n "$PKG_CONFIG"; then
19693 if $PKG_CONFIG --exists libsecret-1; then
19694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19695 $as_echo "yes" >&6; }
19697 $as_echo "#define SVN_HAVE_LIBSECRET 1" >>confdefs.h
19699 SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags libsecret-1`"
19700 SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs libsecret-1`"
19701 found_gnome_keyring="yes"
19703 if test "$with_gnome_keyring" = "yes"; then
19704 as_fn_error $? "cannot find libsecret" "$LINENO" 5
19708 if test "$with_gnome_keyring" = "yes"; then
19709 as_fn_error $? "cannot find pkg-config" "$LINENO" 5
19713 if test "$with_gnome_keyring" = "yes"; then
19714 as_fn_error $? "APR does not support DSOs" "$LINENO" 5
19718 if test "$with_gnome_keyring" = "yes"; then
19719 as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
19723 if test "$with_gnome_keyring" = "yes"; then
19724 as_fn_error $? "--with-gnome-keyring conflicts with --with-old-gnome-keyring" "$LINENO" 5
19727 if test "$found_gnome_keyring" = "no"; then
19728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19729 $as_echo "no" >&6; }
19734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19735 $as_echo "no" >&6; }
19741 # Check whether --enable-googlemock was given.
19742 if test "${enable_googlemock+set}" = set; then :
19743 enableval=$enable_googlemock;
19745 enable_googlemock=yes
19749 GOOGLEMOCK_SRCDIR=$abs_srcdir/googlemock
19751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use Googlemock" >&5
19752 $as_echo_n "checking whether use Googlemock... " >&6; }
19753 if test "$enable_googlemock" != "no"; then
19754 if test -d "$GOOGLEMOCK_SRCDIR"; then
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19756 $as_echo "yes" >&6; }
19757 SVN_USE_GOOGLEMOCK=true
19759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19760 $as_echo "no" >&6; }
19761 SVN_USE_GOOGLEMOCK=false
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19765 $as_echo "no" >&6; }
19766 SVN_USE_GOOGLEMOCK=false
19770 # Check whether --enable-ev2-impl was given.
19771 if test "${enable_ev2_impl+set}" = set; then :
19772 enableval=$enable_ev2_impl; enable_ev2_impl=$enableval
19777 if test "$enable_ev2_impl" = "yes"; then
19779 $as_echo "#define ENABLE_EV2_IMPL 1" >>confdefs.h
19785 # Check whether --enable-nls was given.
19786 if test "${enable_nls+set}" = set; then :
19787 enableval=$enable_nls; enable_nls=$enableval
19795 if test "$enable_nls" = "yes"; then
19796 # Extract the first word of "msgfmt", so it can be a program name with args.
19797 set dummy msgfmt; ac_word=$2
19798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19799 $as_echo_n "checking for $ac_word... " >&6; }
19800 if ${ac_cv_path_MSGFMT+:} false; then :
19801 $as_echo_n "(cached) " >&6
19805 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19809 for as_dir in $PATH
19812 test -z "$as_dir" && as_dir=.
19813 for ac_exec_ext in '' $ac_executable_extensions; do
19814 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19815 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19816 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19823 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="none"
19827 MSGFMT=$ac_cv_path_MSGFMT
19828 if test -n "$MSGFMT"; then
19829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19830 $as_echo "$MSGFMT" >&6; }
19832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19833 $as_echo "no" >&6; }
19837 # Extract the first word of "msgmerge", so it can be a program name with args.
19838 set dummy msgmerge; ac_word=$2
19839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19840 $as_echo_n "checking for $ac_word... " >&6; }
19841 if ${ac_cv_path_MSGMERGE+:} false; then :
19842 $as_echo_n "(cached) " >&6
19846 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19849 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19850 for as_dir in $PATH
19853 test -z "$as_dir" && as_dir=.
19854 for ac_exec_ext in '' $ac_executable_extensions; do
19855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19856 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19864 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="none"
19868 MSGMERGE=$ac_cv_path_MSGMERGE
19869 if test -n "$MSGMERGE"; then
19870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19871 $as_echo "$MSGMERGE" >&6; }
19873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19874 $as_echo "no" >&6; }
19878 # Extract the first word of "xgettext", so it can be a program name with args.
19879 set dummy xgettext; ac_word=$2
19880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19881 $as_echo_n "checking for $ac_word... " >&6; }
19882 if ${ac_cv_path_XGETTEXT+:} false; then :
19883 $as_echo_n "(cached) " >&6
19887 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19890 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19891 for as_dir in $PATH
19894 test -z "$as_dir" && as_dir=.
19895 for ac_exec_ext in '' $ac_executable_extensions; do
19896 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19897 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19898 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19905 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="none"
19909 XGETTEXT=$ac_cv_path_XGETTEXT
19910 if test -n "$XGETTEXT"; then
19911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19912 $as_echo "$XGETTEXT" >&6; }
19914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19915 $as_echo "no" >&6; }
19919 if test "$MSGFMT" != "none"; then
19920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19921 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19922 if ${ac_cv_search_bindtextdomain+:} false; then :
19923 $as_echo_n "(cached) " >&6
19925 ac_func_search_save_LIBS=$LIBS
19926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19927 /* end confdefs.h. */
19929 /* Override any GCC internal prototype to avoid an error.
19930 Use char because int might match the return type of a GCC
19931 builtin and then its argument prototype would still apply. */
19935 char bindtextdomain ();
19939 return bindtextdomain ();
19944 for ac_lib in '' intl; do
19945 if test -z "$ac_lib"; then
19946 ac_res="none required"
19949 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19951 if ac_fn_c_try_link "$LINENO"; then :
19952 ac_cv_search_bindtextdomain=$ac_res
19954 rm -f core conftest.err conftest.$ac_objext \
19956 if ${ac_cv_search_bindtextdomain+:} false; then :
19960 if ${ac_cv_search_bindtextdomain+:} false; then :
19963 ac_cv_search_bindtextdomain=no
19965 rm conftest.$ac_ext
19966 LIBS=$ac_func_search_save_LIBS
19968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19969 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19970 ac_res=$ac_cv_search_bindtextdomain
19971 if test "$ac_res" != no; then :
19972 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19974 # in case libintl needs to be linked explicitly,
19975 # $ac_cv_search_bindtextdomain contains -l linker flags
19976 if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
19978 SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
19987 if test "$enable_nls" = "no"; then
19988 # Destroy the cached result so we can test again
19989 unset ac_cv_search_bindtextdomain
19990 # On some systems, libintl needs libiconv to link properly,
19991 # so try again with -liconv.
19992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19993 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19994 if ${ac_cv_search_bindtextdomain+:} false; then :
19995 $as_echo_n "(cached) " >&6
19997 ac_func_search_save_LIBS=$LIBS
19998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19999 /* end confdefs.h. */
20001 /* Override any GCC internal prototype to avoid an error.
20002 Use char because int might match the return type of a GCC
20003 builtin and then its argument prototype would still apply. */
20007 char bindtextdomain ();
20011 return bindtextdomain ();
20016 for ac_lib in '' intl; do
20017 if test -z "$ac_lib"; then
20018 ac_res="none required"
20021 LIBS="-l$ac_lib -liconv $ac_func_search_save_LIBS"
20023 if ac_fn_c_try_link "$LINENO"; then :
20024 ac_cv_search_bindtextdomain=$ac_res
20026 rm -f core conftest.err conftest.$ac_objext \
20028 if ${ac_cv_search_bindtextdomain+:} false; then :
20032 if ${ac_cv_search_bindtextdomain+:} false; then :
20035 ac_cv_search_bindtextdomain=no
20037 rm conftest.$ac_ext
20038 LIBS=$ac_func_search_save_LIBS
20040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
20041 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
20042 ac_res=$ac_cv_search_bindtextdomain
20043 if test "$ac_res" != no; then :
20044 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20047 if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
20049 SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
20051 # This is here so that -liconv ends up in LIBS
20052 # if it worked with -liconv.
20053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
20054 $as_echo_n "checking for libiconv_open in -liconv... " >&6; }
20055 if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
20056 $as_echo_n "(cached) " >&6
20058 ac_check_lib_save_LIBS=$LIBS
20059 LIBS="-liconv $LIBS"
20060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061 /* end confdefs.h. */
20063 /* Override any GCC internal prototype to avoid an error.
20064 Use char because int might match the return type of a GCC
20065 builtin and then its argument prototype would still apply. */
20069 char libiconv_open ();
20073 return libiconv_open ();
20078 if ac_fn_c_try_link "$LINENO"; then :
20079 ac_cv_lib_iconv_libiconv_open=yes
20081 ac_cv_lib_iconv_libiconv_open=no
20083 rm -f core conftest.err conftest.$ac_objext \
20084 conftest$ac_exeext conftest.$ac_ext
20085 LIBS=$ac_check_lib_save_LIBS
20087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
20088 $as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
20089 if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
20090 cat >>confdefs.h <<_ACEOF
20091 #define HAVE_LIBICONV 1
20094 LIBS="-liconv $LIBS"
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bindtextdomain() not found. Disabling NLS." >&5
20102 $as_echo "$as_me: WARNING: bindtextdomain() not found. Disabling NLS." >&2;}
20108 if test "$enable_nls" = "yes"; then
20110 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
20122 NO_GETTEXT_CODESET=\#
20123 if test $USE_NLS = "yes"; then
20124 for ac_func in bind_textdomain_codeset
20126 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
20127 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
20128 cat >>confdefs.h <<_ACEOF
20129 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
20133 NO_GETTEXT_CODESET=""
20141 # Check if we are using GNU gettext.
20144 if test $USE_NLS = "yes"; then
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using GNU gettext" >&5
20146 $as_echo_n "checking if we are using GNU gettext... " >&6; }
20147 if $MSGFMT --version 2>&1 | $EGREP GNU > /dev/null; then
20151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNU_GETTEXT" >&5
20152 $as_echo "$GNU_GETTEXT" >&6; }
20160 # Check whether --with-libmagic was given.
20161 if test "${with_libmagic+set}" = set; then :
20162 withval=$with_libmagic;
20163 if test "$withval" = "yes" ; then
20164 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20165 if test "x$ac_cv_header_magic_h" = xyes; then :
20167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20168 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20169 if ${ac_cv_lib_magic_magic_open+:} false; then :
20170 $as_echo_n "(cached) " >&6
20172 ac_check_lib_save_LIBS=$LIBS
20173 LIBS="-lmagic $LIBS"
20174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20177 /* Override any GCC internal prototype to avoid an error.
20178 Use char because int might match the return type of a GCC
20179 builtin and then its argument prototype would still apply. */
20183 char magic_open ();
20187 return magic_open ();
20192 if ac_fn_c_try_link "$LINENO"; then :
20193 ac_cv_lib_magic_magic_open=yes
20195 ac_cv_lib_magic_magic_open=no
20197 rm -f core conftest.err conftest.$ac_objext \
20198 conftest$ac_exeext conftest.$ac_ext
20199 LIBS=$ac_check_lib_save_LIBS
20201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20202 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20203 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20204 libmagic_found="builtin"
20211 libmagic_prefix="the default locations"
20212 elif test "$withval" != "no"; then
20213 libmagic_prefix=$withval
20214 save_cppflags="$CPPFLAGS"
20215 CPPFLAGS="$CPPFLAGS -I$libmagic_prefix/include"
20216 for ac_header in magic.h
20218 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20219 if test "x$ac_cv_header_magic_h" = xyes; then :
20220 cat >>confdefs.h <<_ACEOF
20221 #define HAVE_MAGIC_H 1
20224 save_ldflags="$LDFLAGS"
20225 LDFLAGS="-L$libmagic_prefix/lib $LDFLAGS"
20226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20227 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20228 if ${ac_cv_lib_magic_magic_open+:} false; then :
20229 $as_echo_n "(cached) " >&6
20231 ac_check_lib_save_LIBS=$LIBS
20232 LIBS="-lmagic $LIBS"
20233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20234 /* end confdefs.h. */
20236 /* Override any GCC internal prototype to avoid an error.
20237 Use char because int might match the return type of a GCC
20238 builtin and then its argument prototype would still apply. */
20242 char magic_open ();
20246 return magic_open ();
20251 if ac_fn_c_try_link "$LINENO"; then :
20252 ac_cv_lib_magic_magic_open=yes
20254 ac_cv_lib_magic_magic_open=no
20256 rm -f core conftest.err conftest.$ac_objext \
20257 conftest$ac_exeext conftest.$ac_ext
20258 LIBS=$ac_check_lib_save_LIBS
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20261 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20262 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20263 libmagic_found="yes"
20266 LDFLAGS="$save_ldflags"
20272 CPPFLAGS="$save_cppflags"
20274 if test "$withval" != "no" && test "$libmagic_found" = "no"; then
20275 as_fn_error $? "--with-libmagic requested, but libmagic not found at $libmagic_prefix" "$LINENO" 5
20280 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20281 if test "x$ac_cv_header_magic_h" = xyes; then :
20283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20284 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20285 if ${ac_cv_lib_magic_magic_open+:} false; then :
20286 $as_echo_n "(cached) " >&6
20288 ac_check_lib_save_LIBS=$LIBS
20289 LIBS="-lmagic $LIBS"
20290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20291 /* end confdefs.h. */
20293 /* Override any GCC internal prototype to avoid an error.
20294 Use char because int might match the return type of a GCC
20295 builtin and then its argument prototype would still apply. */
20299 char magic_open ();
20303 return magic_open ();
20308 if ac_fn_c_try_link "$LINENO"; then :
20309 ac_cv_lib_magic_magic_open=yes
20311 ac_cv_lib_magic_magic_open=no
20313 rm -f core conftest.err conftest.$ac_objext \
20314 conftest$ac_exeext conftest.$ac_ext
20315 LIBS=$ac_check_lib_save_LIBS
20317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20318 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20319 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20320 libmagic_found="builtin"
20331 if test "$libmagic_found" != "no"; then
20333 $as_echo "#define SVN_HAVE_LIBMAGIC 1" >>confdefs.h
20335 SVN_MAGIC_LIBS="-lmagic"
20338 if test "$libmagic_found" = "yes"; then
20339 SVN_MAGIC_INCLUDES="-I$libmagic_prefix/include"
20340 LDFLAGS="$LDFLAGS `
20341 input_flags="-L$libmagic_prefix/lib"
20343 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
20344 for flag in $input_flags; do
20346 for dir in $filtered_dirs; do
20347 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
20352 if test "$filter" = "no"; then
20353 output_flags="$output_flags $flag"
20356 if test -n "$output_flags"; then
20357 printf "%s" "${output_flags# }"
20367 # Check whether --with-kwallet was given.
20368 if test "${with_kwallet+set}" = set; then :
20369 withval=$with_kwallet; svn_lib_kwallet="$withval"
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for KWallet" >&5
20376 $as_echo_n "checking whether to look for KWallet... " >&6; }
20377 if test "$svn_lib_kwallet" != "no"; then
20378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20379 $as_echo "yes" >&6; }
20382 as_fn_error $? "--with-kwallet is not supported on Mac OS X." "$LINENO" 5
20385 if test "$svn_enable_shared" = "yes"; then
20386 if test "$APR_HAS_DSO" = "yes"; then
20387 if test -n "$PKG_CONFIG"; then
20388 if test "$HAVE_DBUS" = "yes"; then
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Qt" >&5
20390 $as_echo_n "checking for Qt... " >&6; }
20391 if $PKG_CONFIG --exists Qt5Core Qt5DBus Qt5Gui; then
20392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, Qt5" >&5
20393 $as_echo "yes, Qt5" >&6; }
20394 qt_pkg_config_names="Qt5Core Qt5DBus Qt5Gui"
20395 kde_config_name="kf5-config"
20396 kde_inc_names="KF5/KWallet KF5/KCoreAddons KF5/KI18n"
20397 kde_lib_names="-lKF5Wallet -lKF5I18n -lKF5CoreAddons -lQt5Gui -lQt5DBus -lQt5Core"
20398 elif $PKG_CONFIG --exists QtCore QtDBus QtGui; then
20399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, Qt4" >&5
20400 $as_echo "yes, Qt4" >&6; }
20401 qt_pkg_config_names="QtCore QtDBus QtGui"
20402 kde_config_name="kde4-config"
20404 kde_lib_names="-lkdeui -lkdecore -lQtGui -lQtDBus -lQtCore"
20406 if test -n "$qt_pkg_config_names"; then
20407 if test "$svn_lib_kwallet" != "yes"; then
20408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $kde_config_name" >&5
20409 $as_echo_n "checking for $kde_config_name... " >&6; }
20410 KDE_CONFIG="$svn_lib_kwallet/bin/$kde_config_name"
20411 if test -f "$KDE_CONFIG" && test -x "$KDE_CONFIG"; then
20412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20413 $as_echo "yes" >&6; }
20415 if echo "$svn_lib_kwallet" | $EGREP ":" > /dev/null; then
20416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unneeded" >&5
20417 $as_echo "unneeded" >&6; }
20418 KDE_CONFIG="unneeded"
20419 kde_incdir="`echo "$svn_lib_kwallet" | $SED -e "s/:.*//"`"
20420 kde_libdir="`echo "$svn_lib_kwallet" | $SED -e "s/.*://"`"
20422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20423 $as_echo "no" >&6; }
20428 # Extract the first word of "$kde_config_name", so it can be a program name with args.
20429 set dummy $kde_config_name; ac_word=$2
20430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20431 $as_echo_n "checking for $ac_word... " >&6; }
20432 if ${ac_cv_path_KDE_CONFIG+:} false; then :
20433 $as_echo_n "(cached) " >&6
20435 case $KDE_CONFIG in
20437 ac_cv_path_KDE_CONFIG="$KDE_CONFIG" # Let the user override the test with a path.
20440 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20441 for as_dir in $PATH
20444 test -z "$as_dir" && as_dir=.
20445 for ac_exec_ext in '' $ac_executable_extensions; do
20446 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20447 ac_cv_path_KDE_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20458 KDE_CONFIG=$ac_cv_path_KDE_CONFIG
20459 if test -n "$KDE_CONFIG"; then
20460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE_CONFIG" >&5
20461 $as_echo "$KDE_CONFIG" >&6; }
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20464 $as_echo "no" >&6; }
20468 if test -n "$KDE_CONFIG"; then
20469 kde_incdir="`$KDE_CONFIG --install include`"
20470 kde_libdir="`$KDE_CONFIG --install lib`"
20473 if test -n "$KDE_CONFIG"; then
20474 if test $kde_config_name = "kf5-config"; then
20476 CXXFLAGS_KEEP="$CXXFLAGS"
20479 if test "$GXX" = "yes"; then
20481 _svn_xxflags__save="$CXXFLAGS"
20483 ac_cpp='$CXXCPP $CPPFLAGS'
20484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -std=c++11" >&5
20489 $as_echo_n "checking if $CXX accepts -std=c++11... " >&6; }
20490 CXXFLAGS="-std=c++11 $CXXFLAGS"
20491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20492 /* end confdefs.h. */
20495 if ac_fn_cxx_try_link "$LINENO"; then :
20497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20498 $as_echo "yes" >&6; }
20503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20504 $as_echo "no" >&6; }
20505 CXXFLAGS="$_svn_xxflags__save"
20509 rm -f core conftest.err conftest.$ac_objext \
20510 conftest$ac_exeext conftest.$ac_ext
20512 ac_cpp='$CPP $CPPFLAGS'
20513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20520 CXXMODEFLAGS="$CXXFLAGS"
20521 CXXFLAGS="$CXXFLAGS_KEEP"
20525 old_CXXFLAGS="$CXXFLAGS"
20526 old_LDFLAGS="$LDFLAGS"
20528 CXXFLAGS="$CXXFLAGS $CXXMODEFLAGS"
20529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
20530 $as_echo_n "checking for KWallet... " >&6; }
20531 for d in `$PKG_CONFIG --cflags $qt_pkg_config_names`; do
20532 if test -n "`echo "$d" | $EGREP -- '^-D[^[:space:]]*'`"; then
20533 CPPFLAGS="$CPPFLAGS $d"
20536 qt_include_dirs="`$PKG_CONFIG --cflags-only-I $qt_pkg_config_names`"
20537 for kde_inc_name in $kde_inc_names; do
20538 kde_kwallet_includes="$kde_kwallet_includes -I$kde_incdir/$kde_inc_name"
20540 SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs $kde_kwallet_includes"
20541 qt_libs_other_options="`$PKG_CONFIG --libs-only-other $qt_pkg_config_names`"
20542 SVN_KWALLET_LIBS="$DBUS_LIBS $kde_lib_names $qt_libs_other_options"
20543 CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES -fPIC"
20544 LIBS="$LIBS $SVN_KWALLET_LIBS"
20545 qt_lib_dirs="`$PKG_CONFIG --libs-only-L $qt_pkg_config_names`"
20546 LDFLAGS="$old_LDFLAGS `
20547 input_flags="$qt_lib_dirs -L$kde_libdir"
20549 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
20550 for flag in $input_flags; do
20552 for dir in $filtered_dirs; do
20553 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
20558 if test "$filter" = "no"; then
20559 output_flags="$output_flags $flag"
20562 if test -n "$output_flags"; then
20563 printf "%s" "${output_flags# }"
20567 ac_cpp='$CXXCPP $CPPFLAGS'
20568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20573 /* end confdefs.h. */
20575 #include <kwallet.h>
20577 {KWallet::Wallet::walletList();}
20579 if ac_fn_cxx_try_link "$LINENO"; then :
20580 svn_lib_kwallet="yes"
20582 svn_lib_kwallet="no"
20584 rm -f core conftest.err conftest.$ac_objext \
20585 conftest$ac_exeext conftest.$ac_ext
20587 ac_cpp='$CPP $CPPFLAGS'
20588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20592 if test "$svn_lib_kwallet" = "yes"; then
20593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20594 $as_echo "yes" >&6; }
20595 CXXFLAGS="$old_CXXFLAGS"
20597 if test "$kde_config_name" = "kf5-config"; then
20599 $as_echo "#define SVN_HAVE_KF5 1" >>confdefs.h
20603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20604 $as_echo "no" >&6; }
20605 as_fn_error $? "cannot find KWallet" "$LINENO" 5
20608 as_fn_error $? "cannot find $kde_config_name" "$LINENO" 5
20611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20612 $as_echo "no" >&6; }
20613 as_fn_error $? "cannot find Qt" "$LINENO" 5
20616 as_fn_error $? "cannot find D-Bus" "$LINENO" 5
20619 as_fn_error $? "cannot find pkg-config" "$LINENO" 5
20622 as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
20625 as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
20630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20631 $as_echo "no" >&6; }
20637 if test "$svn_lib_kwallet" = "yes"; then
20639 $as_echo "#define SVN_HAVE_KWALLET 1" >>confdefs.h
20643 # Check whether --enable-plaintext-password-storage was given.
20644 if test "${enable_plaintext_password_storage+set}" = set; then :
20645 enableval=$enable_plaintext_password_storage;
20646 if test "$enableval" = "no"; then
20647 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling plaintext password/passphrase storage" >&5
20648 $as_echo "$as_me: Disabling plaintext password/passphrase storage" >&6;}
20650 $as_echo "#define SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE 1" >>confdefs.h
20658 INSTALL_STATIC_RULES="install-bin install-docs"
20659 INSTALL_RULES="install-fsmod-lib install-ramod-lib install-lib install-include install-static"
20660 INSTALL_RULES="$INSTALL_RULES $INSTALL_APACHE_RULE"
20661 BUILD_RULES="fsmod-lib ramod-lib lib bin test sub-test $BUILD_APACHE_RULE tools"
20663 if test "$svn_lib_berkeley_db" = "yes"; then
20664 BUILD_RULES="$BUILD_RULES bdb-lib bdb-test"
20665 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-fsmod-lib/install-fsmod-lib install-bdb-lib/'`"
20666 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-bdb-lib"
20667 BDB_TEST_DEPS="\$(BDB_TEST_DEPS)"
20668 BDB_TEST_PROGRAMS="\$(BDB_TEST_PROGRAMS)"
20671 if test "$svn_lib_serf" = "yes"; then
20672 BUILD_RULES="$BUILD_RULES serf-lib"
20673 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-ramod-lib/install-ramod-lib install-serf-lib/'`"
20674 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-serf-lib"
20677 if test "$svn_lib_kwallet" = "yes"; then
20678 BUILD_RULES="$BUILD_RULES kwallet-lib"
20679 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-kwallet-lib/'`"
20680 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-kwallet-lib"
20683 if test "$found_old_gnome_keyring" = "yes" || test "$found_gnome_keyring" = "yes"; then
20684 BUILD_RULES="$BUILD_RULES gnome-keyring-lib"
20685 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-gnome-keyring-lib/'`"
20686 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-gnome-keyring-lib"
20689 if test "$USE_NLS" = "yes"; then
20690 BUILD_RULES="$BUILD_RULES locale"
20691 INSTALL_RULES="$INSTALL_RULES install-locale"
20701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20702 $as_echo_n "checking for ANSI C header files... " >&6; }
20703 if ${ac_cv_header_stdc+:} false; then :
20704 $as_echo_n "(cached) " >&6
20706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20707 /* end confdefs.h. */
20708 #include <stdlib.h>
20709 #include <stdarg.h>
20710 #include <string.h>
20721 if ac_fn_c_try_compile "$LINENO"; then :
20722 ac_cv_header_stdc=yes
20724 ac_cv_header_stdc=no
20726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20728 if test $ac_cv_header_stdc = yes; then
20729 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20731 /* end confdefs.h. */
20732 #include <string.h>
20735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20736 $EGREP "memchr" >/dev/null 2>&1; then :
20739 ac_cv_header_stdc=no
20745 if test $ac_cv_header_stdc = yes; then
20746 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20749 #include <stdlib.h>
20752 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20753 $EGREP "free" >/dev/null 2>&1; then :
20756 ac_cv_header_stdc=no
20762 if test $ac_cv_header_stdc = yes; then
20763 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20764 if test "$cross_compiling" = yes; then :
20767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20768 /* end confdefs.h. */
20770 #include <stdlib.h>
20771 #if ((' ' & 0x0FF) == 0x020)
20772 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20773 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20775 # define ISLOWER(c) \
20776 (('a' <= (c) && (c) <= 'i') \
20777 || ('j' <= (c) && (c) <= 'r') \
20778 || ('s' <= (c) && (c) <= 'z'))
20779 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20782 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20787 for (i = 0; i < 256; i++)
20788 if (XOR (islower (i), ISLOWER (i))
20789 || toupper (i) != TOUPPER (i))
20794 if ac_fn_c_try_run "$LINENO"; then :
20797 ac_cv_header_stdc=no
20799 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20800 conftest.$ac_objext conftest.beam conftest.$ac_ext
20805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20806 $as_echo "$ac_cv_header_stdc" >&6; }
20807 if test $ac_cv_header_stdc = yes; then
20809 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20816 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20817 if ${ac_cv_c_const+:} false; then :
20818 $as_echo_n "(cached) " >&6
20820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20821 /* end confdefs.h. */
20827 #ifndef __cplusplus
20828 /* Ultrix mips cc rejects this sort of thing. */
20829 typedef int charset[2];
20830 const charset cs = { 0, 0 };
20831 /* SunOS 4.1.1 cc rejects this. */
20832 char const *const *pcpcc;
20834 /* NEC SVR4.0.2 mips cc rejects this. */
20835 struct point {int x, y;};
20836 static struct point const zero = {0,0};
20837 /* AIX XL C 1.02.0.0 rejects this.
20838 It does not let you subtract one const X* pointer from another in
20839 an arm of an if-expression whose if-part is not a constant
20841 const char *g = "string";
20842 pcpcc = &g + (g ? g-g : 0);
20843 /* HPUX 7.0 cc rejects these. */
20845 ppc = (char**) pcpcc;
20846 pcpcc = (char const *const *) ppc;
20847 { /* SCO 3.2v4 cc rejects this sort of thing. */
20850 char const *s = 0 ? (char *) 0 : (char const *) 0;
20855 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20856 int x[] = {25, 17};
20857 const int *foo = &x[0];
20860 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20861 typedef const int *iptr;
20865 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20866 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20867 struct s { int j; const int *ap[3]; } bx;
20868 struct s *b = &bx; b->j = 5;
20870 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20871 const int foo = 10;
20872 if (!foo) return 0;
20874 return !cs[0] && !zero.x;
20881 if ac_fn_c_try_compile "$LINENO"; then :
20886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20889 $as_echo "$ac_cv_c_const" >&6; }
20890 if test $ac_cv_c_const = no; then
20892 $as_echo "#define const /**/" >>confdefs.h
20897 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20898 if test "x$ac_cv_type_size_t" = xyes; then :
20902 cat >>confdefs.h <<_ACEOF
20903 #define size_t unsigned int
20911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
20912 $as_echo_n "checking for working memcmp... " >&6; }
20913 if ${ac_cv_func_memcmp_working+:} false; then :
20914 $as_echo_n "(cached) " >&6
20916 if test "$cross_compiling" = yes; then :
20917 ac_cv_func_memcmp_working=no
20919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20920 /* end confdefs.h. */
20921 $ac_includes_default
20926 /* Some versions of memcmp are not 8-bit clean. */
20927 char c0 = '\100', c1 = '\200', c2 = '\201';
20928 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20931 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20932 or more and with at least one buffer not starting on a 4-byte boundary.
20933 William Lewis provided this test program. */
20938 for (i = 0; i < 4; i++)
20942 strcpy (a, "--------01111111");
20943 strcpy (b, "--------10000000");
20944 if (memcmp (a, b, 16) >= 0)
20954 if ac_fn_c_try_run "$LINENO"; then :
20955 ac_cv_func_memcmp_working=yes
20957 ac_cv_func_memcmp_working=no
20959 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20960 conftest.$ac_objext conftest.beam conftest.$ac_ext
20964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
20965 $as_echo "$ac_cv_func_memcmp_working" >&6; }
20966 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
20967 *" memcmp.$ac_objext "* ) ;;
20968 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
20974 for ac_func in vprintf
20976 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
20977 if test "x$ac_cv_func_vprintf" = xyes; then :
20978 cat >>confdefs.h <<_ACEOF
20979 #define HAVE_VPRINTF 1
20982 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
20983 if test "x$ac_cv_func__doprnt" = xyes; then :
20985 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
20994 for ac_func in symlink readlink
20996 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20997 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20998 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20999 cat >>confdefs.h <<_ACEOF
21000 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21007 for ac_header in sys/utsname.h
21009 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
21010 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
21011 cat >>confdefs.h <<_ACEOF
21012 #define HAVE_SYS_UTSNAME_H 1
21014 for ac_func in uname
21016 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
21017 if test "x$ac_cv_func_uname" = xyes; then :
21018 cat >>confdefs.h <<_ACEOF
21019 #define HAVE_UNAME 1
21030 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
21031 if test "x$ac_cv_header_termios_h" = xyes; then :
21033 for ac_func in tcgetattr tcsetattr
21035 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
21036 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
21037 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
21038 cat >>confdefs.h <<_ACEOF
21039 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
21043 $as_echo "#define HAVE_TERMIOS_H 1" >>confdefs.h
21055 # Check whether --enable-debug was given.
21056 if test "${enable_debug+set}" = set; then :
21057 enableval=$enable_debug;
21058 if test "$enableval" = "yes" ; then
21059 enable_debugging="yes"
21061 enable_debugging="no"
21066 # Neither --enable-debug nor --disable-debug was passed.
21067 enable_debugging="maybe"
21072 # Check whether --enable-optimize was given.
21073 if test "${enable_optimize+set}" = set; then :
21074 enableval=$enable_optimize;
21075 if test "$enableval" = "yes" ; then
21076 enable_optimization="yes"
21078 enable_optimization="no"
21083 # Neither --enable-optimize nor --disable-optimize was passed.
21084 enable_optimization="maybe"
21089 # Check whether --enable-disallowing-of-undefined-references was given.
21090 if test "${enable_disallowing_of_undefined_references+set}" = set; then :
21091 enableval=$enable_disallowing_of_undefined_references;
21094 if test "$enable_disallowing_of_undefined_references" != "yes" && test "`uname`" != "Linux"; then
21095 enable_disallowing_of_undefined_references="no"
21097 if test "$enable_disallowing_of_undefined_references" != "no"; then
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-undefined" >&5
21099 $as_echo_n "checking for -Wl,--no-undefined... " >&6; }
21100 old_LDFLAGS="$LDFLAGS"
21101 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
21102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21103 /* end confdefs.h. */
21106 if ac_fn_c_try_link "$LINENO"; then :
21107 svn_wl_no_undefined="yes"
21109 svn_wl_no_undefined="no"
21111 rm -f core conftest.err conftest.$ac_objext \
21112 conftest$ac_exeext conftest.$ac_ext
21113 LDFLAGS="$old_LDFLAGS"
21114 if test "$svn_wl_no_undefined" = "yes"; then
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21116 $as_echo "yes" >&6; }
21117 for library_dir in "$abs_srcdir/subversion/libsvn_"*; do
21118 eval "`basename $library_dir`_LDFLAGS=-Wl,--no-undefined"
21120 shared_only_LDFLAGS="-Wl,--no-undefined"
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21123 $as_echo "no" >&6; }
21124 if test "$enable_disallowing_of_undefined_references" = "yes"; then
21125 as_fn_error $? "--enable-disallowing-of-undefined-references explicitly requested, but -Wl,--no-undefined not supported" "$LINENO" 5
21146 # Check whether --enable-maintainer-mode was given.
21147 if test "${enable_maintainer_mode+set}" = set; then :
21148 enableval=$enable_maintainer_mode;
21149 if test "$enableval" = "yes" ; then
21150 if test "$enable_debugging" = "no" ; then
21151 as_fn_error $? "Can't have --disable-debug and --enable-maintainer-mode" "$LINENO" 5
21153 enable_debugging=yes
21155 if test "$GCC" = "yes"; then
21156 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding GCC warning flags" >&5
21157 $as_echo "$as_me: maintainer-mode: adding GCC warning flags" >&6;}
21160 CFLAGS_KEEP="$CFLAGS"
21164 _svn_xxflags__save="$CFLAGS"
21166 ac_cpp='$CPP $CPPFLAGS'
21167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=implicit-function-declaration" >&5
21172 $as_echo_n "checking if $CC accepts -Werror=implicit-function-declaration... " >&6; }
21173 CFLAGS="-Werror=implicit-function-declaration $CFLAGS"
21174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21175 /* end confdefs.h. */
21176 int main(void){return 0;}
21178 if ac_fn_c_try_link "$LINENO"; then :
21180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21181 $as_echo "yes" >&6; }
21186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21187 $as_echo "no" >&6; }
21188 CFLAGS="$_svn_xxflags__save"
21192 rm -f core conftest.err conftest.$ac_objext \
21193 conftest$ac_exeext conftest.$ac_ext
21195 ac_cpp='$CPP $CPPFLAGS'
21196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21202 _svn_xxflags__save="$CFLAGS"
21204 ac_cpp='$CPP $CPPFLAGS'
21205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=declaration-after-statement" >&5
21210 $as_echo_n "checking if $CC accepts -Werror=declaration-after-statement... " >&6; }
21211 CFLAGS="-Werror=declaration-after-statement $CFLAGS"
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21214 int main(void){return 0;}
21216 if ac_fn_c_try_link "$LINENO"; then :
21218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21219 $as_echo "yes" >&6; }
21224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21225 $as_echo "no" >&6; }
21226 CFLAGS="$_svn_xxflags__save"
21230 rm -f core conftest.err conftest.$ac_objext \
21231 conftest$ac_exeext conftest.$ac_ext
21233 ac_cpp='$CPP $CPPFLAGS'
21234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21240 _svn_xxflags__save="$CFLAGS"
21242 ac_cpp='$CPP $CPPFLAGS'
21243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wextra-tokens" >&5
21248 $as_echo_n "checking if $CC accepts -Wextra-tokens... " >&6; }
21249 CFLAGS="-Wextra-tokens $CFLAGS"
21250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21251 /* end confdefs.h. */
21252 int main(void){return 0;}
21254 if ac_fn_c_try_link "$LINENO"; then :
21256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21257 $as_echo "yes" >&6; }
21262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21263 $as_echo "no" >&6; }
21264 CFLAGS="$_svn_xxflags__save"
21268 rm -f core conftest.err conftest.$ac_objext \
21269 conftest$ac_exeext conftest.$ac_ext
21271 ac_cpp='$CPP $CPPFLAGS'
21272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21278 _svn_xxflags__save="$CFLAGS"
21280 ac_cpp='$CPP $CPPFLAGS'
21281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wnewline-eof" >&5
21286 $as_echo_n "checking if $CC accepts -Wnewline-eof... " >&6; }
21287 CFLAGS="-Wnewline-eof $CFLAGS"
21288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21289 /* end confdefs.h. */
21290 int main(void){return 0;}
21292 if ac_fn_c_try_link "$LINENO"; then :
21294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21295 $as_echo "yes" >&6; }
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21301 $as_echo "no" >&6; }
21302 CFLAGS="$_svn_xxflags__save"
21306 rm -f core conftest.err conftest.$ac_objext \
21307 conftest$ac_exeext conftest.$ac_ext
21309 ac_cpp='$CPP $CPPFLAGS'
21310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21316 _svn_xxflags__save="$CFLAGS"
21318 ac_cpp='$CPP $CPPFLAGS'
21319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wshorten-64-to-32" >&5
21324 $as_echo_n "checking if $CC accepts -Wshorten-64-to-32... " >&6; }
21325 CFLAGS="-Wshorten-64-to-32 $CFLAGS"
21326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21327 /* end confdefs.h. */
21328 int main(void){return 0;}
21330 if ac_fn_c_try_link "$LINENO"; then :
21332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21333 $as_echo "yes" >&6; }
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21339 $as_echo "no" >&6; }
21340 CFLAGS="$_svn_xxflags__save"
21344 rm -f core conftest.err conftest.$ac_objext \
21345 conftest$ac_exeext conftest.$ac_ext
21347 ac_cpp='$CPP $CPPFLAGS'
21348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21354 _svn_xxflags__save="$CFLAGS"
21356 ac_cpp='$CPP $CPPFLAGS'
21357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wold-style-definition" >&5
21362 $as_echo_n "checking if $CC accepts -Wold-style-definition... " >&6; }
21363 CFLAGS="-Wold-style-definition $CFLAGS"
21364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21365 /* end confdefs.h. */
21366 int main(void){return 0;}
21368 if ac_fn_c_try_link "$LINENO"; then :
21370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21371 $as_echo "yes" >&6; }
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21377 $as_echo "no" >&6; }
21378 CFLAGS="$_svn_xxflags__save"
21382 rm -f core conftest.err conftest.$ac_objext \
21383 conftest$ac_exeext conftest.$ac_ext
21385 ac_cpp='$CPP $CPPFLAGS'
21386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21392 _svn_xxflags__save="$CFLAGS"
21394 ac_cpp='$CPP $CPPFLAGS'
21395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-system-headers" >&5
21400 $as_echo_n "checking if $CC accepts -Wno-system-headers... " >&6; }
21401 CFLAGS="-Wno-system-headers $CFLAGS"
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404 int main(void){return 0;}
21406 if ac_fn_c_try_link "$LINENO"; then :
21408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21409 $as_echo "yes" >&6; }
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21415 $as_echo "no" >&6; }
21416 CFLAGS="$_svn_xxflags__save"
21420 rm -f core conftest.err conftest.$ac_objext \
21421 conftest$ac_exeext conftest.$ac_ext
21423 ac_cpp='$CPP $CPPFLAGS'
21424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21430 _svn_xxflags__save="$CFLAGS"
21432 ac_cpp='$CPP $CPPFLAGS'
21433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-format-nonliteral" >&5
21438 $as_echo_n "checking if $CC accepts -Wno-format-nonliteral... " >&6; }
21439 CFLAGS="-Wno-format-nonliteral $CFLAGS"
21440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21441 /* end confdefs.h. */
21442 int main(void){return 0;}
21444 if ac_fn_c_try_link "$LINENO"; then :
21446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21447 $as_echo "yes" >&6; }
21452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21453 $as_echo "no" >&6; }
21454 CFLAGS="$_svn_xxflags__save"
21458 rm -f core conftest.err conftest.$ac_objext \
21459 conftest$ac_exeext conftest.$ac_ext
21461 ac_cpp='$CPP $CPPFLAGS'
21462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21468 _svn_xxflags__save="$CFLAGS"
21470 ac_cpp='$CPP $CPPFLAGS'
21471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wmissing-variable-declarations" >&5
21476 $as_echo_n "checking if $CC accepts -Wmissing-variable-declarations... " >&6; }
21477 CFLAGS="-Wmissing-variable-declarations $CFLAGS"
21478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21479 /* end confdefs.h. */
21480 int main(void){return 0;}
21482 if ac_fn_c_try_link "$LINENO"; then :
21484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21485 $as_echo "yes" >&6; }
21490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21491 $as_echo "no" >&6; }
21492 CFLAGS="$_svn_xxflags__save"
21496 rm -f core conftest.err conftest.$ac_objext \
21497 conftest$ac_exeext conftest.$ac_ext
21499 ac_cpp='$CPP $CPPFLAGS'
21500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21506 _svn_xxflags__save="$CFLAGS"
21508 ac_cpp='$CPP $CPPFLAGS'
21509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-unused-const-variable" >&5
21514 $as_echo_n "checking if $CC accepts -Wno-unused-const-variable... " >&6; }
21515 CFLAGS="-Wno-unused-const-variable $CFLAGS"
21516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21517 /* end confdefs.h. */
21518 int main(void){return 0;}
21520 if ac_fn_c_try_link "$LINENO"; then :
21522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21523 $as_echo "yes" >&6; }
21528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21529 $as_echo "no" >&6; }
21530 CFLAGS="$_svn_xxflags__save"
21534 rm -f core conftest.err conftest.$ac_objext \
21535 conftest$ac_exeext conftest.$ac_ext
21537 ac_cpp='$CPP $CPPFLAGS'
21538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21544 CMAINTAINERFLAGS="$CFLAGS"
21545 CFLAGS="$CFLAGS_KEEP"
21547 CMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wformat=2 -Wunused -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wbad-function-cast $CMAINTAINERFLAGS"
21549 if test "$GXX" = "yes"; then
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding G++ warning flags" >&5
21551 $as_echo "$as_me: maintainer-mode: adding G++ warning flags" >&6;}
21553 CXXFLAGS_KEEP="$CXXFLAGS"
21557 _svn_xxflags__save="$CXXFLAGS"
21559 ac_cpp='$CXXCPP $CPPFLAGS'
21560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wextra-tokens" >&5
21565 $as_echo_n "checking if $CXX accepts -Wextra-tokens... " >&6; }
21566 CXXFLAGS="-Wextra-tokens $CXXFLAGS"
21567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21568 /* end confdefs.h. */
21571 if ac_fn_cxx_try_link "$LINENO"; then :
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21574 $as_echo "yes" >&6; }
21579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21580 $as_echo "no" >&6; }
21581 CXXFLAGS="$_svn_xxflags__save"
21585 rm -f core conftest.err conftest.$ac_objext \
21586 conftest$ac_exeext conftest.$ac_ext
21588 ac_cpp='$CPP $CPPFLAGS'
21589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21595 _svn_xxflags__save="$CXXFLAGS"
21597 ac_cpp='$CXXCPP $CPPFLAGS'
21598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wnewline-eof" >&5
21603 $as_echo_n "checking if $CXX accepts -Wnewline-eof... " >&6; }
21604 CXXFLAGS="-Wnewline-eof $CXXFLAGS"
21605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21606 /* end confdefs.h. */
21609 if ac_fn_cxx_try_link "$LINENO"; then :
21611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21612 $as_echo "yes" >&6; }
21617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21618 $as_echo "no" >&6; }
21619 CXXFLAGS="$_svn_xxflags__save"
21623 rm -f core conftest.err conftest.$ac_objext \
21624 conftest$ac_exeext conftest.$ac_ext
21626 ac_cpp='$CPP $CPPFLAGS'
21627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21633 _svn_xxflags__save="$CXXFLAGS"
21635 ac_cpp='$CXXCPP $CPPFLAGS'
21636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wshorten-64-to-32" >&5
21641 $as_echo_n "checking if $CXX accepts -Wshorten-64-to-32... " >&6; }
21642 CXXFLAGS="-Wshorten-64-to-32 $CXXFLAGS"
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21647 if ac_fn_cxx_try_link "$LINENO"; then :
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21650 $as_echo "yes" >&6; }
21655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21656 $as_echo "no" >&6; }
21657 CXXFLAGS="$_svn_xxflags__save"
21661 rm -f core conftest.err conftest.$ac_objext \
21662 conftest$ac_exeext conftest.$ac_ext
21664 ac_cpp='$CPP $CPPFLAGS'
21665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21671 _svn_xxflags__save="$CXXFLAGS"
21673 ac_cpp='$CXXCPP $CPPFLAGS'
21674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-system-headers" >&5
21679 $as_echo_n "checking if $CXX accepts -Wno-system-headers... " >&6; }
21680 CXXFLAGS="-Wno-system-headers $CXXFLAGS"
21681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21682 /* end confdefs.h. */
21685 if ac_fn_cxx_try_link "$LINENO"; then :
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21688 $as_echo "yes" >&6; }
21693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21694 $as_echo "no" >&6; }
21695 CXXFLAGS="$_svn_xxflags__save"
21699 rm -f core conftest.err conftest.$ac_objext \
21700 conftest$ac_exeext conftest.$ac_ext
21702 ac_cpp='$CPP $CPPFLAGS'
21703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21709 CXXMAINTAINERFLAGS="$CXXFLAGS"
21710 CXXFLAGS="$CXXFLAGS_KEEP"
21712 CXXMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wunused -Wunreachable-code $CXXMAINTAINERFLAGS"
21719 if test "$enable_debugging" = "yes" ; then
21720 if test "$enable_optimization" != "yes"; then
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations for debugging" >&5
21722 $as_echo "$as_me: Disabling optimizations for debugging" >&6;}
21723 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21724 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21726 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
21727 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C" >&5
21728 $as_echo "$as_me: Enabling debugging for C" >&6;}
21729 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21731 _svn_xxflags__save="$CFLAGS"
21733 ac_cpp='$CPP $CPPFLAGS'
21734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-inline" >&5
21739 $as_echo_n "checking if $CC accepts -fno-inline... " >&6; }
21740 CFLAGS="-fno-inline $CFLAGS"
21741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21742 /* end confdefs.h. */
21743 int main(void){return 0;}
21745 if ac_fn_c_try_link "$LINENO"; then :
21747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21748 $as_echo "yes" >&6; }
21753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21754 $as_echo "no" >&6; }
21755 CFLAGS="$_svn_xxflags__save"
21759 rm -f core conftest.err conftest.$ac_objext \
21760 conftest$ac_exeext conftest.$ac_ext
21762 ac_cpp='$CPP $CPPFLAGS'
21763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21769 _svn_xxflags__save="$CFLAGS"
21771 ac_cpp='$CPP $CPPFLAGS'
21772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-omit-frame-pointer" >&5
21777 $as_echo_n "checking if $CC accepts -fno-omit-frame-pointer... " >&6; }
21778 CFLAGS="-fno-omit-frame-pointer $CFLAGS"
21779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21780 /* end confdefs.h. */
21781 int main(void){return 0;}
21783 if ac_fn_c_try_link "$LINENO"; then :
21785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21786 $as_echo "yes" >&6; }
21791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21792 $as_echo "no" >&6; }
21793 CFLAGS="$_svn_xxflags__save"
21797 rm -f core conftest.err conftest.$ac_objext \
21798 conftest$ac_exeext conftest.$ac_ext
21800 ac_cpp='$CPP $CPPFLAGS'
21801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21807 _svn_xxflags__save="$CFLAGS"
21809 ac_cpp='$CPP $CPPFLAGS'
21810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g3" >&5
21815 $as_echo_n "checking if $CC accepts -g3... " >&6; }
21816 CFLAGS="-g3 $CFLAGS"
21817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21818 /* end confdefs.h. */
21819 int main(void){return 0;}
21821 if ac_fn_c_try_link "$LINENO"; then :
21823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21824 $as_echo "yes" >&6; }
21829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21830 $as_echo "no" >&6; }
21831 CFLAGS="$_svn_xxflags__save"
21834 _svn_xxflags__save="$CFLAGS"
21836 ac_cpp='$CPP $CPPFLAGS'
21837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g2" >&5
21842 $as_echo_n "checking if $CC accepts -g2... " >&6; }
21843 CFLAGS="-g2 $CFLAGS"
21844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21845 /* end confdefs.h. */
21846 int main(void){return 0;}
21848 if ac_fn_c_try_link "$LINENO"; then :
21850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21851 $as_echo "yes" >&6; }
21856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21857 $as_echo "no" >&6; }
21858 CFLAGS="$_svn_xxflags__save"
21861 _svn_xxflags__save="$CFLAGS"
21863 ac_cpp='$CPP $CPPFLAGS'
21864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g" >&5
21869 $as_echo_n "checking if $CC accepts -g... " >&6; }
21870 CFLAGS="-g $CFLAGS"
21871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21872 /* end confdefs.h. */
21873 int main(void){return 0;}
21875 if ac_fn_c_try_link "$LINENO"; then :
21877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21878 $as_echo "yes" >&6; }
21883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21884 $as_echo "no" >&6; }
21885 CFLAGS="$_svn_xxflags__save"
21889 rm -f core conftest.err conftest.$ac_objext \
21890 conftest$ac_exeext conftest.$ac_ext
21892 ac_cpp='$CPP $CPPFLAGS'
21893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21900 rm -f core conftest.err conftest.$ac_objext \
21901 conftest$ac_exeext conftest.$ac_ext
21903 ac_cpp='$CPP $CPPFLAGS'
21904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21911 rm -f core conftest.err conftest.$ac_objext \
21912 conftest$ac_exeext conftest.$ac_ext
21914 ac_cpp='$CPP $CPPFLAGS'
21915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21921 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
21922 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C++" >&5
21923 $as_echo "$as_me: Enabling debugging for C++" >&6;}
21924 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21926 _svn_xxflags__save="$CXXFLAGS"
21928 ac_cpp='$CXXCPP $CPPFLAGS'
21929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-inline" >&5
21934 $as_echo_n "checking if $CXX accepts -fno-inline... " >&6; }
21935 CXXFLAGS="-fno-inline $CXXFLAGS"
21936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21937 /* end confdefs.h. */
21940 if ac_fn_cxx_try_link "$LINENO"; then :
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21943 $as_echo "yes" >&6; }
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21949 $as_echo "no" >&6; }
21950 CXXFLAGS="$_svn_xxflags__save"
21954 rm -f core conftest.err conftest.$ac_objext \
21955 conftest$ac_exeext conftest.$ac_ext
21957 ac_cpp='$CPP $CPPFLAGS'
21958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21964 _svn_xxflags__save="$CXXFLAGS"
21966 ac_cpp='$CXXCPP $CPPFLAGS'
21967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-omit-frame-pointer" >&5
21972 $as_echo_n "checking if $CXX accepts -fno-omit-frame-pointer... " >&6; }
21973 CXXFLAGS="-fno-omit-frame-pointer $CXXFLAGS"
21974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21975 /* end confdefs.h. */
21978 if ac_fn_cxx_try_link "$LINENO"; then :
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21981 $as_echo "yes" >&6; }
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21987 $as_echo "no" >&6; }
21988 CXXFLAGS="$_svn_xxflags__save"
21992 rm -f core conftest.err conftest.$ac_objext \
21993 conftest$ac_exeext conftest.$ac_ext
21995 ac_cpp='$CPP $CPPFLAGS'
21996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22002 _svn_xxflags__save="$CXXFLAGS"
22004 ac_cpp='$CXXCPP $CPPFLAGS'
22005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g3" >&5
22010 $as_echo_n "checking if $CXX accepts -g3... " >&6; }
22011 CXXFLAGS="-g3 $CXXFLAGS"
22012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22013 /* end confdefs.h. */
22016 if ac_fn_cxx_try_link "$LINENO"; then :
22018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22019 $as_echo "yes" >&6; }
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22025 $as_echo "no" >&6; }
22026 CXXFLAGS="$_svn_xxflags__save"
22029 _svn_xxflags__save="$CXXFLAGS"
22031 ac_cpp='$CXXCPP $CPPFLAGS'
22032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g2" >&5
22037 $as_echo_n "checking if $CXX accepts -g2... " >&6; }
22038 CXXFLAGS="-g2 $CXXFLAGS"
22039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22040 /* end confdefs.h. */
22043 if ac_fn_cxx_try_link "$LINENO"; then :
22045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22046 $as_echo "yes" >&6; }
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22052 $as_echo "no" >&6; }
22053 CXXFLAGS="$_svn_xxflags__save"
22056 _svn_xxflags__save="$CXXFLAGS"
22058 ac_cpp='$CXXCPP $CPPFLAGS'
22059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g" >&5
22064 $as_echo_n "checking if $CXX accepts -g... " >&6; }
22065 CXXFLAGS="-g $CXXFLAGS"
22066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22067 /* end confdefs.h. */
22070 if ac_fn_cxx_try_link "$LINENO"; then :
22072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22073 $as_echo "yes" >&6; }
22078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22079 $as_echo "no" >&6; }
22080 CXXFLAGS="$_svn_xxflags__save"
22084 rm -f core conftest.err conftest.$ac_objext \
22085 conftest$ac_exeext conftest.$ac_ext
22087 ac_cpp='$CXXCPP $CPPFLAGS'
22088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22095 rm -f core conftest.err conftest.$ac_objext \
22096 conftest$ac_exeext conftest.$ac_ext
22098 ac_cpp='$CXXCPP $CPPFLAGS'
22099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22106 rm -f core conftest.err conftest.$ac_objext \
22107 conftest$ac_exeext conftest.$ac_ext
22109 ac_cpp='$CPP $CPPFLAGS'
22110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22116 CFLAGS="$CFLAGS -DSVN_DEBUG -DAP_DEBUG"
22117 CXXFLAGS="$CXXFLAGS -DSVN_DEBUG -DAP_DEBUG"
22118 elif test "$enable_debugging" = "no" ; then
22119 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling debugging" >&5
22120 $as_echo "$as_me: Disabling debugging" >&6;}
22121 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
22122 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
22123 CFLAGS="$CFLAGS -DNDEBUG"
22124 CXXFLAGS="$CXXFLAGS -DNDEBUG"
22125 # elif test "$enable_debugging" = "maybe" ; then
22129 if test "$enable_optimization" = "yes"; then
22130 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
22131 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22132 if test "$enable_debugging" = "yes"; then
22133 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C (with debugging enabled)" >&5
22134 $as_echo "$as_me: Enabling optimizations for C (with debugging enabled)" >&6;}
22136 _svn_xxflags__save="$CFLAGS"
22138 ac_cpp='$CPP $CPPFLAGS'
22139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
22144 $as_echo_n "checking if $CC accepts -O1... " >&6; }
22145 CFLAGS="-O1 $CFLAGS"
22146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22147 /* end confdefs.h. */
22148 int main(void){return 0;}
22150 if ac_fn_c_try_link "$LINENO"; then :
22152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22153 $as_echo "yes" >&6; }
22158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22159 $as_echo "no" >&6; }
22160 CFLAGS="$_svn_xxflags__save"
22163 _svn_xxflags__save="$CFLAGS"
22165 ac_cpp='$CPP $CPPFLAGS'
22166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
22171 $as_echo_n "checking if $CC accepts -O... " >&6; }
22172 CFLAGS="-O $CFLAGS"
22173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22174 /* end confdefs.h. */
22175 int main(void){return 0;}
22177 if ac_fn_c_try_link "$LINENO"; then :
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22180 $as_echo "yes" >&6; }
22185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22186 $as_echo "no" >&6; }
22187 CFLAGS="$_svn_xxflags__save"
22191 rm -f core conftest.err conftest.$ac_objext \
22192 conftest$ac_exeext conftest.$ac_ext
22194 ac_cpp='$CPP $CPPFLAGS'
22195 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22196 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22197 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22202 rm -f core conftest.err conftest.$ac_objext \
22203 conftest$ac_exeext conftest.$ac_ext
22205 ac_cpp='$CPP $CPPFLAGS'
22206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22212 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C" >&5
22213 $as_echo "$as_me: Enabling optimizations for C" >&6;}
22215 _svn_xxflags__save="$CFLAGS"
22217 ac_cpp='$CPP $CPPFLAGS'
22218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O3" >&5
22223 $as_echo_n "checking if $CC accepts -O3... " >&6; }
22224 CFLAGS="-O3 $CFLAGS"
22225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22226 /* end confdefs.h. */
22227 int main(void){return 0;}
22229 if ac_fn_c_try_link "$LINENO"; then :
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22232 $as_echo "yes" >&6; }
22237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22238 $as_echo "no" >&6; }
22239 CFLAGS="$_svn_xxflags__save"
22242 _svn_xxflags__save="$CFLAGS"
22244 ac_cpp='$CPP $CPPFLAGS'
22245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O2" >&5
22250 $as_echo_n "checking if $CC accepts -O2... " >&6; }
22251 CFLAGS="-O2 $CFLAGS"
22252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22253 /* end confdefs.h. */
22254 int main(void){return 0;}
22256 if ac_fn_c_try_link "$LINENO"; then :
22258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22259 $as_echo "yes" >&6; }
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22265 $as_echo "no" >&6; }
22266 CFLAGS="$_svn_xxflags__save"
22269 _svn_xxflags__save="$CFLAGS"
22271 ac_cpp='$CPP $CPPFLAGS'
22272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
22277 $as_echo_n "checking if $CC accepts -O1... " >&6; }
22278 CFLAGS="-O1 $CFLAGS"
22279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22280 /* end confdefs.h. */
22281 int main(void){return 0;}
22283 if ac_fn_c_try_link "$LINENO"; then :
22285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22286 $as_echo "yes" >&6; }
22291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22292 $as_echo "no" >&6; }
22293 CFLAGS="$_svn_xxflags__save"
22296 _svn_xxflags__save="$CFLAGS"
22298 ac_cpp='$CPP $CPPFLAGS'
22299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
22304 $as_echo_n "checking if $CC accepts -O... " >&6; }
22305 CFLAGS="-O $CFLAGS"
22306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22307 /* end confdefs.h. */
22308 int main(void){return 0;}
22310 if ac_fn_c_try_link "$LINENO"; then :
22312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22313 $as_echo "yes" >&6; }
22318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22319 $as_echo "no" >&6; }
22320 CFLAGS="$_svn_xxflags__save"
22324 rm -f core conftest.err conftest.$ac_objext \
22325 conftest$ac_exeext conftest.$ac_ext
22327 ac_cpp='$CPP $CPPFLAGS'
22328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22335 rm -f core conftest.err conftest.$ac_objext \
22336 conftest$ac_exeext conftest.$ac_ext
22338 ac_cpp='$CPP $CPPFLAGS'
22339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22346 rm -f core conftest.err conftest.$ac_objext \
22347 conftest$ac_exeext conftest.$ac_ext
22349 ac_cpp='$CPP $CPPFLAGS'
22350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22357 rm -f core conftest.err conftest.$ac_objext \
22358 conftest$ac_exeext conftest.$ac_ext
22360 ac_cpp='$CPP $CPPFLAGS'
22361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22367 _svn_xxflags__save="$CFLAGS"
22369 ac_cpp='$CPP $CPPFLAGS'
22370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-clobbered" >&5
22375 $as_echo_n "checking if $CC accepts -Wno-clobbered... " >&6; }
22376 CFLAGS="-Wno-clobbered $CFLAGS"
22377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22378 /* end confdefs.h. */
22379 int main(void){return 0;}
22381 if ac_fn_c_try_link "$LINENO"; then :
22383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22384 $as_echo "yes" >&6; }
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22390 $as_echo "no" >&6; }
22391 CFLAGS="$_svn_xxflags__save"
22395 rm -f core conftest.err conftest.$ac_objext \
22396 conftest$ac_exeext conftest.$ac_ext
22398 ac_cpp='$CPP $CPPFLAGS'
22399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22405 _svn_xxflags__save="$CFLAGS"
22407 ac_cpp='$CPP $CPPFLAGS'
22408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -flto" >&5
22413 $as_echo_n "checking if $CC accepts -flto... " >&6; }
22414 CFLAGS="-flto $CFLAGS"
22415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22416 /* end confdefs.h. */
22417 int main(void){return 0;}
22419 if ac_fn_c_try_link "$LINENO"; then :
22421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22422 $as_echo "yes" >&6; }
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22428 $as_echo "no" >&6; }
22429 CFLAGS="$_svn_xxflags__save"
22433 rm -f core conftest.err conftest.$ac_objext \
22434 conftest$ac_exeext conftest.$ac_ext
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22444 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
22445 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22446 if test "$enable_debugging" = "yes"; then
22447 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++ (with debugging enabled)" >&5
22448 $as_echo "$as_me: Enabling optimizations for C++ (with debugging enabled)" >&6;}
22450 _svn_xxflags__save="$CXXFLAGS"
22452 ac_cpp='$CXXCPP $CPPFLAGS'
22453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
22458 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
22459 CXXFLAGS="-O1 $CXXFLAGS"
22460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22461 /* end confdefs.h. */
22464 if ac_fn_cxx_try_link "$LINENO"; then :
22466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22467 $as_echo "yes" >&6; }
22472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22473 $as_echo "no" >&6; }
22474 CXXFLAGS="$_svn_xxflags__save"
22477 _svn_xxflags__save="$CXXFLAGS"
22479 ac_cpp='$CXXCPP $CPPFLAGS'
22480 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22481 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22482 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
22485 $as_echo_n "checking if $CXX accepts -O... " >&6; }
22486 CXXFLAGS="-O $CXXFLAGS"
22487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22488 /* end confdefs.h. */
22491 if ac_fn_cxx_try_link "$LINENO"; then :
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22494 $as_echo "yes" >&6; }
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22500 $as_echo "no" >&6; }
22501 CXXFLAGS="$_svn_xxflags__save"
22505 rm -f core conftest.err conftest.$ac_objext \
22506 conftest$ac_exeext conftest.$ac_ext
22508 ac_cpp='$CXXCPP $CPPFLAGS'
22509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22516 rm -f core conftest.err conftest.$ac_objext \
22517 conftest$ac_exeext conftest.$ac_ext
22519 ac_cpp='$CPP $CPPFLAGS'
22520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22526 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++" >&5
22527 $as_echo "$as_me: Enabling optimizations for C++" >&6;}
22529 _svn_xxflags__save="$CXXFLAGS"
22531 ac_cpp='$CXXCPP $CPPFLAGS'
22532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O3" >&5
22537 $as_echo_n "checking if $CXX accepts -O3... " >&6; }
22538 CXXFLAGS="-O3 $CXXFLAGS"
22539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22540 /* end confdefs.h. */
22543 if ac_fn_cxx_try_link "$LINENO"; then :
22545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22546 $as_echo "yes" >&6; }
22551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22552 $as_echo "no" >&6; }
22553 CXXFLAGS="$_svn_xxflags__save"
22556 _svn_xxflags__save="$CXXFLAGS"
22558 ac_cpp='$CXXCPP $CPPFLAGS'
22559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O2" >&5
22564 $as_echo_n "checking if $CXX accepts -O2... " >&6; }
22565 CXXFLAGS="-O2 $CXXFLAGS"
22566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22567 /* end confdefs.h. */
22570 if ac_fn_cxx_try_link "$LINENO"; then :
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22573 $as_echo "yes" >&6; }
22578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22579 $as_echo "no" >&6; }
22580 CXXFLAGS="$_svn_xxflags__save"
22583 _svn_xxflags__save="$CXXFLAGS"
22585 ac_cpp='$CXXCPP $CPPFLAGS'
22586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
22591 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
22592 CXXFLAGS="-O1 $CXXFLAGS"
22593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22594 /* end confdefs.h. */
22597 if ac_fn_cxx_try_link "$LINENO"; then :
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22600 $as_echo "yes" >&6; }
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22606 $as_echo "no" >&6; }
22607 CXXFLAGS="$_svn_xxflags__save"
22610 _svn_xxflags__save="$CXXFLAGS"
22612 ac_cpp='$CXXCPP $CPPFLAGS'
22613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
22618 $as_echo_n "checking if $CXX accepts -O... " >&6; }
22619 CXXFLAGS="-O $CXXFLAGS"
22620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22621 /* end confdefs.h. */
22624 if ac_fn_cxx_try_link "$LINENO"; then :
22626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22627 $as_echo "yes" >&6; }
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22633 $as_echo "no" >&6; }
22634 CXXFLAGS="$_svn_xxflags__save"
22638 rm -f core conftest.err conftest.$ac_objext \
22639 conftest$ac_exeext conftest.$ac_ext
22641 ac_cpp='$CXXCPP $CPPFLAGS'
22642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22649 rm -f core conftest.err conftest.$ac_objext \
22650 conftest$ac_exeext conftest.$ac_ext
22652 ac_cpp='$CXXCPP $CPPFLAGS'
22653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22660 rm -f core conftest.err conftest.$ac_objext \
22661 conftest$ac_exeext conftest.$ac_ext
22663 ac_cpp='$CXXCPP $CPPFLAGS'
22664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22671 rm -f core conftest.err conftest.$ac_objext \
22672 conftest$ac_exeext conftest.$ac_ext
22674 ac_cpp='$CPP $CPPFLAGS'
22675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22681 _svn_xxflags__save="$CXXFLAGS"
22683 ac_cpp='$CXXCPP $CPPFLAGS'
22684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-clobbered" >&5
22689 $as_echo_n "checking if $CXX accepts -Wno-clobbered... " >&6; }
22690 CXXFLAGS="-Wno-clobbered $CXXFLAGS"
22691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22692 /* end confdefs.h. */
22695 if ac_fn_cxx_try_link "$LINENO"; then :
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22698 $as_echo "yes" >&6; }
22703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22704 $as_echo "no" >&6; }
22705 CXXFLAGS="$_svn_xxflags__save"
22709 rm -f core conftest.err conftest.$ac_objext \
22710 conftest$ac_exeext conftest.$ac_ext
22712 ac_cpp='$CPP $CPPFLAGS'
22713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22719 _svn_xxflags__save="$CXXFLAGS"
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -flto" >&5
22727 $as_echo_n "checking if $CXX accepts -flto... " >&6; }
22728 CXXFLAGS="-flto $CXXFLAGS"
22729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22730 /* end confdefs.h. */
22733 if ac_fn_cxx_try_link "$LINENO"; then :
22735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22736 $as_echo "yes" >&6; }
22741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22742 $as_echo "no" >&6; }
22743 CXXFLAGS="$_svn_xxflags__save"
22747 rm -f core conftest.err conftest.$ac_objext \
22748 conftest$ac_exeext conftest.$ac_ext
22750 ac_cpp='$CPP $CPPFLAGS'
22751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22758 elif test "$enable_optimization" = "no"; then
22759 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations" >&5
22760 $as_echo "$as_me: Disabling optimizations" >&6;}
22761 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22762 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22763 # elif test "$enable_optimization" = "maybe" ; then
22767 { $as_echo "$as_me:${as_lineno-$LINENO}: C compiler flags: $CFLAGS" >&5
22768 $as_echo "$as_me: C compiler flags: $CFLAGS" >&6;}
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CUSERFLAGS" >&5
22770 $as_echo "$as_me: user-defined: $CUSERFLAGS" >&6;}
22771 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CMAINTAINERFLAGS" >&5
22772 $as_echo "$as_me: maintainer-mode: $CMAINTAINERFLAGS" >&6;}
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler flags: $CXXFLAGS" >&5
22774 $as_echo "$as_me: C++ compiler flags: $CXXFLAGS" >&6;}
22775 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CXXUSERFLAGS" >&5
22776 $as_echo "$as_me: user-defined: $CXXUSERFLAGS" >&6;}
22777 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CXXMAINTAINERFLAGS" >&5
22778 $as_echo "$as_me: maintainer-mode: $CXXMAINTAINERFLAGS" >&6;}
22780 # Check whether --enable-full-version-match was given.
22781 if test "${enable_full_version_match+set}" = set; then :
22782 enableval=$enable_full_version_match;
22783 if test "$enableval" = "no" ; then
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling svn full version matching" >&5
22785 $as_echo "$as_me: Disabling svn full version matching" >&6;}
22787 $as_echo "#define SVN_DISABLE_FULL_VERSION_MATCH 1" >>confdefs.h
22795 # Check whether --with-editor was given.
22796 if test "${with_editor+set}" = set; then :
22797 withval=$with_editor;
22799 if test "$withval" = "yes" ; then
22800 as_fn_error $? "--with-editor requires an argument." "$LINENO" 5
22802 SVN_CLIENT_EDITOR=$withval
22804 cat >>confdefs.h <<_ACEOF
22805 #define SVN_CLIENT_EDITOR "$SVN_CLIENT_EDITOR"
22820 # Check whether --with-zlib was given.
22821 if test "${with_zlib+set}" = set; then :
22822 withval=$with_zlib;
22823 if test "$withval" = "yes"; then
22825 elif test "$withval" = "no"; then
22829 zlib_prefix="$withval"
22835 if test "$zlib_skip" = "yes"; then
22836 as_fn_error $? "subversion requires zlib" "$LINENO" 5
22839 if test -n "$zlib_prefix"; then
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration via prefix" >&5
22841 $as_echo "$as_me: zlib library configuration via prefix" >&6;}
22842 save_cppflags="$CPPFLAGS"
22843 CPPFLAGS="$CPPFLAGS -I$zlib_prefix/include"
22844 for ac_header in zlib.h
22846 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
22847 if test "x$ac_cv_header_zlib_h" = xyes; then :
22848 cat >>confdefs.h <<_ACEOF
22849 #define HAVE_ZLIB_H 1
22852 save_ldflags="$LDFLAGS"
22853 LDFLAGS="$LDFLAGS -L$zlib_prefix/lib"
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
22855 $as_echo_n "checking for inflate in -lz... " >&6; }
22856 if ${ac_cv_lib_z_inflate+:} false; then :
22857 $as_echo_n "(cached) " >&6
22859 ac_check_lib_save_LIBS=$LIBS
22861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22862 /* end confdefs.h. */
22864 /* Override any GCC internal prototype to avoid an error.
22865 Use char because int might match the return type of a GCC
22866 builtin and then its argument prototype would still apply. */
22879 if ac_fn_c_try_link "$LINENO"; then :
22880 ac_cv_lib_z_inflate=yes
22882 ac_cv_lib_z_inflate=no
22884 rm -f core conftest.err conftest.$ac_objext \
22885 conftest$ac_exeext conftest.$ac_ext
22886 LIBS=$ac_check_lib_save_LIBS
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
22889 $as_echo "$ac_cv_lib_z_inflate" >&6; }
22890 if test "x$ac_cv_lib_z_inflate" = xyes; then :
22893 SVN_ZLIB_INCLUDES="-I$zlib_prefix/include"
22895 input_flags="-L$zlib_prefix/lib"
22897 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
22898 for flag in $input_flags; do
22900 for dir in $filtered_dirs; do
22901 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
22906 if test "$filter" = "no"; then
22907 output_flags="$output_flags $flag"
22910 if test -n "$output_flags"; then
22911 printf "%s" "${output_flags# }"
22917 LDFLAGS="$save_ldflags"
22923 CPPFLAGS="$save_cppflags"
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration via pkg-config" >&5
22927 $as_echo "$as_me: zlib library configuration via pkg-config" >&6;}
22928 if test -n "$PKG_CONFIG"; then
22929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib library" >&5
22930 $as_echo_n "checking for zlib library... " >&6; }
22931 if $PKG_CONFIG zlib --exists; then
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22933 $as_echo "yes" >&6; }
22935 SVN_ZLIB_INCLUDES=`$PKG_CONFIG zlib --cflags`
22936 SVN_ZLIB_LIBS=`$PKG_CONFIG zlib --libs`
22938 input_flags="$SVN_ZLIB_LIBS"
22940 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
22941 for flag in $input_flags; do
22943 for dir in $filtered_dirs; do
22944 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
22949 if test "$filter" = "no"; then
22950 output_flags="$output_flags $flag"
22953 if test -n "$output_flags"; then
22954 printf "%s" "${output_flags# }"
22958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22959 $as_echo "no" >&6; }
22964 if test "$zlib_found" = "no"; then
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration" >&5
22966 $as_echo "$as_me: zlib library configuration" >&6;}
22967 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
22968 if test "x$ac_cv_header_zlib_h" = xyes; then :
22970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
22971 $as_echo_n "checking for inflate in -lz... " >&6; }
22972 if ${ac_cv_lib_z_inflate+:} false; then :
22973 $as_echo_n "(cached) " >&6
22975 ac_check_lib_save_LIBS=$LIBS
22977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22978 /* end confdefs.h. */
22980 /* Override any GCC internal prototype to avoid an error.
22981 Use char because int might match the return type of a GCC
22982 builtin and then its argument prototype would still apply. */
22995 if ac_fn_c_try_link "$LINENO"; then :
22996 ac_cv_lib_z_inflate=yes
22998 ac_cv_lib_z_inflate=no
23000 rm -f core conftest.err conftest.$ac_objext \
23001 conftest$ac_exeext conftest.$ac_ext
23002 LIBS=$ac_check_lib_save_LIBS
23004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
23005 $as_echo "$ac_cv_lib_z_inflate" >&6; }
23006 if test "x$ac_cv_lib_z_inflate" = xyes; then :
23008 zlib_found="builtin"
23009 SVN_ZLIB_LIBS="-lz"
23020 if test "$zlib_found" = "no"; then
23021 as_fn_error $? "subversion requires zlib" "$LINENO" 5
23030 # Check whether --with-lz4 was given.
23031 if test "${with_lz4+set}" = set; then :
23033 if test "$withval" = internal; then
23034 lz4_prefix=internal
23035 elif test "$withval" = yes; then
23038 lz4_prefix="$withval"
23046 if test "$lz4_prefix" = "internal"; then
23047 { $as_echo "$as_me:${as_lineno-$LINENO}: using internal lz4" >&5
23048 $as_echo "$as_me: using internal lz4" >&6;}
23050 $as_echo "#define SVN_INTERNAL_LZ4 1" >>confdefs.h
23053 if test "$lz4_prefix" = "std"; then
23055 if test -n "$PKG_CONFIG"; then
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lz4 library via pkg-config" >&5
23057 $as_echo_n "checking for lz4 library via pkg-config... " >&6; }
23058 if $PKG_CONFIG liblz4 --atleast-version=129 || $PKG_CONFIG liblz4 --max-version=3; then
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23060 $as_echo "yes" >&6; }
23062 SVN_LZ4_INCLUDES=`$PKG_CONFIG liblz4 --cflags`
23063 SVN_LZ4_LIBS=`$PKG_CONFIG liblz4 --libs`
23065 input_flags="$SVN_LZ4_LIBS"
23067 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23068 for flag in $input_flags; do
23070 for dir in $filtered_dirs; do
23071 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23076 if test "$filter" = "no"; then
23077 output_flags="$output_flags $flag"
23080 if test -n "$output_flags"; then
23081 printf "%s" "${output_flags# }"
23085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23086 $as_echo "no" >&6; }
23089 if test "$lz4_found" != "yes"; then
23090 { $as_echo "$as_me:${as_lineno-$LINENO}: lz4 configuration without pkg-config" >&5
23091 $as_echo "$as_me: lz4 configuration without pkg-config" >&6;}
23092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LZ4_compress_default in -llz4" >&5
23093 $as_echo_n "checking for LZ4_compress_default in -llz4... " >&6; }
23094 if ${ac_cv_lib_lz4_LZ4_compress_default+:} false; then :
23095 $as_echo_n "(cached) " >&6
23097 ac_check_lib_save_LIBS=$LIBS
23099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23100 /* end confdefs.h. */
23102 /* Override any GCC internal prototype to avoid an error.
23103 Use char because int might match the return type of a GCC
23104 builtin and then its argument prototype would still apply. */
23108 char LZ4_compress_default ();
23112 return LZ4_compress_default ();
23117 if ac_fn_c_try_link "$LINENO"; then :
23118 ac_cv_lib_lz4_LZ4_compress_default=yes
23120 ac_cv_lib_lz4_LZ4_compress_default=no
23122 rm -f core conftest.err conftest.$ac_objext \
23123 conftest$ac_exeext conftest.$ac_ext
23124 LIBS=$ac_check_lib_save_LIBS
23126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lz4_LZ4_compress_default" >&5
23127 $as_echo "$ac_cv_lib_lz4_LZ4_compress_default" >&6; }
23128 if test "x$ac_cv_lib_lz4_LZ4_compress_default" = xyes; then :
23131 SVN_LZ4_LIBS="-llz4"
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: lz4 configuration via prefix" >&5
23140 $as_echo "$as_me: lz4 configuration via prefix" >&6;}
23141 save_cppflags="$CPPFLAGS"
23142 CPPFLAGS="$CPPFLAGS -I$lz4_prefix/include"
23143 save_ldflags="$LDFLAGS"
23144 LDFLAGS="$LDFLAGS -L$lz4_prefix/lib"
23145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LZ4_compress_default in -llz4" >&5
23146 $as_echo_n "checking for LZ4_compress_default in -llz4... " >&6; }
23147 if ${ac_cv_lib_lz4_LZ4_compress_default+:} false; then :
23148 $as_echo_n "(cached) " >&6
23150 ac_check_lib_save_LIBS=$LIBS
23152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23153 /* end confdefs.h. */
23155 /* Override any GCC internal prototype to avoid an error.
23156 Use char because int might match the return type of a GCC
23157 builtin and then its argument prototype would still apply. */
23161 char LZ4_compress_default ();
23165 return LZ4_compress_default ();
23170 if ac_fn_c_try_link "$LINENO"; then :
23171 ac_cv_lib_lz4_LZ4_compress_default=yes
23173 ac_cv_lib_lz4_LZ4_compress_default=no
23175 rm -f core conftest.err conftest.$ac_objext \
23176 conftest$ac_exeext conftest.$ac_ext
23177 LIBS=$ac_check_lib_save_LIBS
23179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lz4_LZ4_compress_default" >&5
23180 $as_echo "$ac_cv_lib_lz4_LZ4_compress_default" >&6; }
23181 if test "x$ac_cv_lib_lz4_LZ4_compress_default" = xyes; then :
23184 SVN_LZ4_INCLUDES="-I$lz4_prefix/include"
23186 input_flags="-L$lz4_prefix/lib"
23188 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23189 for flag in $input_flags; do
23191 for dir in $filtered_dirs; do
23192 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23197 if test "$filter" = "no"; then
23198 output_flags="$output_flags $flag"
23201 if test -n "$output_flags"; then
23202 printf "%s" "${output_flags# }"
23208 LDFLAGS="$save_ldflags"
23209 CPPFLAGS="$save_cppflags"
23212 if test "$lz4_found" != "yes"; then
23213 as_fn_error $? "Subversion requires LZ4 >= r129, or use --with-lz4=internal" "$LINENO" 5
23222 # Check whether --with-utf8proc was given.
23223 if test "${with_utf8proc+set}" = set; then :
23224 withval=$with_utf8proc;
23225 if test "$withval" = internal; then
23226 utf8proc_prefix=internal
23227 elif test "$withval" = yes; then
23228 utf8proc_prefix=std
23230 utf8proc_prefix="$withval"
23234 utf8proc_prefix=std
23238 if test "$utf8proc_prefix" = "internal"; then
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: using internal utf8proc" >&5
23240 $as_echo "$as_me: using internal utf8proc" >&6;}
23242 $as_echo "#define SVN_INTERNAL_UTF8PROC 1" >>confdefs.h
23245 if test "$utf8proc_prefix" = "std"; then
23247 { $as_echo "$as_me:${as_lineno-$LINENO}: utf8proc configuration without pkg-config" >&5
23248 $as_echo "$as_me: utf8proc configuration without pkg-config" >&6;}
23249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8proc_version in -lutf8proc" >&5
23250 $as_echo_n "checking for utf8proc_version in -lutf8proc... " >&6; }
23251 if ${ac_cv_lib_utf8proc_utf8proc_version+:} false; then :
23252 $as_echo_n "(cached) " >&6
23254 ac_check_lib_save_LIBS=$LIBS
23255 LIBS="-lutf8proc $LIBS"
23256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23257 /* end confdefs.h. */
23259 /* Override any GCC internal prototype to avoid an error.
23260 Use char because int might match the return type of a GCC
23261 builtin and then its argument prototype would still apply. */
23265 char utf8proc_version ();
23269 return utf8proc_version ();
23274 if ac_fn_c_try_link "$LINENO"; then :
23275 ac_cv_lib_utf8proc_utf8proc_version=yes
23277 ac_cv_lib_utf8proc_utf8proc_version=no
23279 rm -f core conftest.err conftest.$ac_objext \
23280 conftest$ac_exeext conftest.$ac_ext
23281 LIBS=$ac_check_lib_save_LIBS
23283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_utf8proc_utf8proc_version" >&5
23284 $as_echo "$ac_cv_lib_utf8proc_utf8proc_version" >&6; }
23285 if test "x$ac_cv_lib_utf8proc_utf8proc_version" = xyes; then :
23288 SVN_UTF8PROC_LIBS="-lutf8proc"
23295 { $as_echo "$as_me:${as_lineno-$LINENO}: utf8proc configuration via prefix" >&5
23296 $as_echo "$as_me: utf8proc configuration via prefix" >&6;}
23297 save_cppflags="$CPPFLAGS"
23298 CPPFLAGS="$CPPFLAGS -I$utf8proc_prefix/include"
23299 save_ldflags="$LDFLAGS"
23300 LDFLAGS="$LDFLAGS -L$utf8proc_prefix/lib"
23301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utf8proc_version in -lutf8proc" >&5
23302 $as_echo_n "checking for utf8proc_version in -lutf8proc... " >&6; }
23303 if ${ac_cv_lib_utf8proc_utf8proc_version+:} false; then :
23304 $as_echo_n "(cached) " >&6
23306 ac_check_lib_save_LIBS=$LIBS
23307 LIBS="-lutf8proc $LIBS"
23308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23309 /* end confdefs.h. */
23311 /* Override any GCC internal prototype to avoid an error.
23312 Use char because int might match the return type of a GCC
23313 builtin and then its argument prototype would still apply. */
23317 char utf8proc_version ();
23321 return utf8proc_version ();
23326 if ac_fn_c_try_link "$LINENO"; then :
23327 ac_cv_lib_utf8proc_utf8proc_version=yes
23329 ac_cv_lib_utf8proc_utf8proc_version=no
23331 rm -f core conftest.err conftest.$ac_objext \
23332 conftest$ac_exeext conftest.$ac_ext
23333 LIBS=$ac_check_lib_save_LIBS
23335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_utf8proc_utf8proc_version" >&5
23336 $as_echo "$ac_cv_lib_utf8proc_utf8proc_version" >&6; }
23337 if test "x$ac_cv_lib_utf8proc_utf8proc_version" = xyes; then :
23340 SVN_UTF8PROC_INCLUDES="-I$utf8proc_prefix/include"
23341 SVN_UTF8PROC_LIBS="`
23342 input_flags="-L$utf8proc_prefix/lib"
23344 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23345 for flag in $input_flags; do
23347 for dir in $filtered_dirs; do
23348 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23353 if test "$filter" = "no"; then
23354 output_flags="$output_flags $flag"
23357 if test -n "$output_flags"; then
23358 printf "%s" "${output_flags# }"
23364 LDFLAGS="$save_ldflags"
23365 CPPFLAGS="$save_cppflags"
23368 if test "$utf8proc_found" != "yes"; then
23369 as_fn_error $? "Subversion requires UTF8PROC" "$LINENO" 5
23377 # Check whether --enable-mod-activation was given.
23378 if test "${enable_mod_activation+set}" = set; then :
23379 enableval=$enable_mod_activation;
23380 if test "$enableval" = "yes" ; then
23381 MOD_ACTIVATION="-a"
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling apache module activation" >&5
23383 $as_echo "$as_me: Enabling apache module activation" >&6;}
23385 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling apache module activation" >&5
23386 $as_echo "$as_me: Disabling apache module activation" >&6;}
23395 # Check whether --enable-gcov was given.
23396 if test "${enable_gcov+set}" = set; then :
23397 enableval=$enable_gcov;
23398 if test "$enableval" = "yes" ; then
23399 if test "$GCC" = "yes"; then
23400 if test "$svn_enable_shared" = "yes" ; then
23401 as_fn_error $? "Can't have --enable-gcov without --disable-shared (we
23402 recommend also using --enable-all-static)." "$LINENO" 5
23404 if test ! "$enable_all_static" = "yes" ; then
23405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gcov." >&5
23406 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gcov." >&2;}
23408 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gcov coverage testing." >&5
23409 $as_echo "$as_me: Enabling gcov coverage testing." >&6;}
23410 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
23411 CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
23413 as_fn_error $? "We only support --enable-gcov with GCC right now." "$LINENO" 5
23420 # Check whether --enable-gprof was given.
23421 if test "${enable_gprof+set}" = set; then :
23422 enableval=$enable_gprof;
23423 if test "$enableval" = "yes" ; then
23424 if test "$GCC" = "yes"; then
23425 if test "$svn_enable_shared" = "yes" ; then
23426 as_fn_error $? "Can't have --enable-gprof without --disable-shared (we
23427 recommend also using --enable-all-static)." "$LINENO" 5
23429 if test ! "$enable_all_static" = "yes" ; then
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gprof." >&5
23431 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gprof." >&2;}
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gprof profiling data (to gmon.out)." >&5
23434 $as_echo "$as_me: Enabling gprof profiling data (to gmon.out)." >&6;}
23435 CFLAGS="$CFLAGS -pg"
23436 CXXFLAGS="$CXXFLAGS -pg"
23437 LT_LDFLAGS="$LT_LDFLAGS -pg"
23439 as_fn_error $? "We only support --enable-gprof with GCC right now." "$LINENO" 5
23447 # Scripting and Bindings languages
23449 # Python: Used for testsuite, and bindings
23452 PYTHON="`$abs_srcdir/build/find_python.sh`"
23453 if test -z "$PYTHON"; then
23454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.7 or later is required to run the testsuite" >&5
23455 $as_echo "$as_me: WARNING: Python 2.7 or later is required to run the testsuite" >&2;}
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or to use the Subversion Python bindings" >&5
23457 $as_echo "$as_me: WARNING: or to use the Subversion Python bindings" >&2;}
23458 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
23459 $as_echo "$as_me: WARNING: " >&2;}
23460 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you have a suitable Python installed, but not on the" >&5
23461 $as_echo "$as_me: WARNING: If you have a suitable Python installed, but not on the" >&2;}
23462 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PATH, set the environment variable PYTHON to the full path" >&5
23463 $as_echo "$as_me: WARNING: PATH, set the environment variable PYTHON to the full path" >&2;}
23464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to the Python executable, and re-run configure" >&5
23465 $as_echo "$as_me: WARNING: to the Python executable, and re-run configure" >&2;}
23467 for ac_prog in "$PYTHON"
23469 # Extract the first word of "$ac_prog", so it can be a program name with args.
23470 set dummy $ac_prog; ac_word=$2
23471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23472 $as_echo_n "checking for $ac_word... " >&6; }
23473 if ${ac_cv_path_PYTHON+:} false; then :
23474 $as_echo_n "(cached) " >&6
23478 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
23481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23482 for as_dir in $PATH
23485 test -z "$as_dir" && as_dir=.
23486 for ac_exec_ext in '' $ac_executable_extensions; do
23487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23488 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
23489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23499 PYTHON=$ac_cv_path_PYTHON
23500 if test -n "$PYTHON"; then
23501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
23502 $as_echo "$PYTHON" >&6; }
23504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23505 $as_echo "no" >&6; }
23509 test -n "$PYTHON" && break
23511 test -n "$PYTHON" || PYTHON="none"
23514 # The minimum version for the JVM runtime for our Java bytecode.
23515 JAVA_OLDEST_WORKING_VER='1.6'
23516 # SVN_CHECK_JDK sets $JAVA_CLASSPATH
23518 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23520 # Check whether --with-jdk was given.
23521 if test "${with_jdk+set}" = set; then :
23530 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
23542 $as_echo_n "checking for JDK... " >&6; }
23543 if test $where = check; then
23544 if test -x "$JAVA_HOME/bin/java"; then
23546 elif test -x "/usr/libexec/java_home"; then
23547 JDK=`/usr/libexec/java_home`
23548 elif test -x "/Library/Java/Home/bin/java"; then
23549 JDK="/Library/Java/Home"
23550 elif test -x "/usr/bin/java"; then
23552 elif test -x "/usr/local/bin/java"; then
23560 if test "$os_arch" = "Darwin"; then
23561 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
23563 if test "$OSX_VER" = "10.4"; then
23567 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
23568 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
23569 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
23572 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
23573 test -d "/Library/Java/Home"; then
23574 JDK="/Library/Java/Home"
23577 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
23578 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
23580 JRE_LIB_DIR="$JDK/jre/lib"
23583 if test -f "$JDK/include/jni.h"; then
23584 JNI_INCLUDEDIR="$JDK/include"
23586 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
23587 JNI_INCLUDEDIR="$JDK/Headers"
23589 elif test "$os_arch" = "Darwin" &&
23590 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
23591 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
23593 elif test "$os_arch" = "Darwin" &&
23594 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
23595 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
23600 if test "$JDK_SUITABLE" = "yes"; then
23601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
23602 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
23604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23605 $as_echo "no" >&6; }
23606 if test "$where" != "check"; then
23607 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
23608 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23609 if test "$os_arch" = "Darwin"; then
23610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may need to install the latest Java Development package from http://connect.apple.com/. Apple no longer includes the JNI header files by default on Java updates." >&5
23611 $as_echo "$as_me: WARNING: You may need to install the latest Java Development package from http://connect.apple.com/. Apple no longer includes the JNI header files by default on Java updates." >&2;}
23616 if test "$JDK_SUITABLE" = "yes"; then
23617 JAVA_BIN='$(JDK)/bin'
23619 JAVA="$JAVA_BIN/java"
23620 JAVAC="$JAVA_BIN/javac"
23621 JAVAH="$JAVA_BIN/javah"
23622 JAVADOC="$JAVA_BIN/javadoc"
23623 JAR="$JAVA_BIN/jar"
23626 # Check whether --with-jikes was given.
23627 if test "${with_jikes+set}" = set; then :
23628 withval=$with_jikes;
23629 if test "$withval" != "no"; then
23630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The --with-jikes option was ignored" >&5
23631 $as_echo "$as_me: WARNING: The --with-jikes option was ignored" >&2;}
23637 # The release for "-source" could actually be greater than that
23638 # of "-target", if we want to cross-compile for lesser JVMs.
23639 if test -z "$JAVAC_FLAGS"; then
23640 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23641 if test "$enable_debugging" = "yes"; then
23642 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23643 if test -z "$JAVAC_COMPAT_FLAGS"; then
23644 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23649 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23650 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23651 for dir in $list; do
23652 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23670 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
23682 $as_echo_n "checking for JDK... " >&6; }
23683 if test $where = check; then
23684 if test -x "$JAVA_HOME/bin/java"; then
23686 elif test -x "/usr/libexec/java_home"; then
23687 JDK=`/usr/libexec/java_home`
23688 elif test -x "/Library/Java/Home/bin/java"; then
23689 JDK="/Library/Java/Home"
23690 elif test -x "/usr/bin/java"; then
23692 elif test -x "/usr/local/bin/java"; then
23700 if test "$os_arch" = "Darwin"; then
23701 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
23703 if test "$OSX_VER" = "10.4"; then
23707 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
23708 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
23709 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
23712 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
23713 test -d "/Library/Java/Home"; then
23714 JDK="/Library/Java/Home"
23717 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
23718 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
23720 JRE_LIB_DIR="$JDK/jre/lib"
23723 if test -f "$JDK/include/jni.h"; then
23724 JNI_INCLUDEDIR="$JDK/include"
23726 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
23727 JNI_INCLUDEDIR="$JDK/Headers"
23729 elif test "$os_arch" = "Darwin" &&
23730 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
23731 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
23733 elif test "$os_arch" = "Darwin" &&
23734 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
23735 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
23740 if test "$JDK_SUITABLE" = "yes"; then
23741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
23742 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23745 $as_echo "no" >&6; }
23746 if test "$where" != "check"; then
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
23748 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23749 if test "$os_arch" = "Darwin"; then
23750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may need to install the latest Java Development package from http://connect.apple.com/. Apple no longer includes the JNI header files by default on Java updates." >&5
23751 $as_echo "$as_me: WARNING: You may need to install the latest Java Development package from http://connect.apple.com/. Apple no longer includes the JNI header files by default on Java updates." >&2;}
23756 if test "$JDK_SUITABLE" = "yes"; then
23757 JAVA_BIN='$(JDK)/bin'
23759 JAVA="$JAVA_BIN/java"
23760 JAVAC="$JAVA_BIN/javac"
23761 JAVAH="$JAVA_BIN/javah"
23762 JAVADOC="$JAVA_BIN/javadoc"
23763 JAR="$JAVA_BIN/jar"
23766 # Check whether --with-jikes was given.
23767 if test "${with_jikes+set}" = set; then :
23768 withval=$with_jikes;
23769 if test "$withval" != "no"; then
23770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The --with-jikes option was ignored" >&5
23771 $as_echo "$as_me: WARNING: The --with-jikes option was ignored" >&2;}
23777 # The release for "-source" could actually be greater than that
23778 # of "-target", if we want to cross-compile for lesser JVMs.
23779 if test -z "$JAVAC_FLAGS"; then
23780 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23781 if test "$enable_debugging" = "yes"; then
23782 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23783 if test -z "$JAVAC_COMPAT_FLAGS"; then
23784 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23789 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23790 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23791 for dir in $list; do
23792 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23813 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
23825 $as_echo_n "checking for JDK... " >&6; }
23826 if test $where = check; then
23827 if test -x "$JAVA_HOME/bin/java"; then
23829 elif test -x "/usr/libexec/java_home"; then
23830 JDK=`/usr/libexec/java_home`
23831 elif test -x "/Library/Java/Home/bin/java"; then
23832 JDK="/Library/Java/Home"
23833 elif test -x "/usr/bin/java"; then
23835 elif test -x "/usr/local/bin/java"; then
23843 if test "$os_arch" = "Darwin"; then
23844 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
23846 if test "$OSX_VER" = "10.4"; then
23850 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
23851 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
23852 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
23855 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
23856 test -d "/Library/Java/Home"; then
23857 JDK="/Library/Java/Home"
23860 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
23861 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
23863 JRE_LIB_DIR="$JDK/jre/lib"
23866 if test -f "$JDK/include/jni.h"; then
23867 JNI_INCLUDEDIR="$JDK/include"
23869 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
23870 JNI_INCLUDEDIR="$JDK/Headers"
23872 elif test "$os_arch" = "Darwin" &&
23873 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
23874 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
23876 elif test "$os_arch" = "Darwin" &&
23877 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
23878 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
23883 if test "$JDK_SUITABLE" = "yes"; then
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
23885 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23888 $as_echo "no" >&6; }
23889 if test "$where" != "check"; then
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
23891 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23892 if test "$os_arch" = "Darwin"; then
23893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: You may need to install the latest Java Development package from http://connect.apple.com/. Apple no longer includes the JNI header files by default on Java updates." >&5
23894 $as_echo "$as_me: WARNING: You may need to install the latest Java Development package from http://connect.apple.com/. Apple no longer includes the JNI header files by default on Java updates." >&2;}
23899 if test "$JDK_SUITABLE" = "yes"; then
23900 JAVA_BIN='$(JDK)/bin'
23902 JAVA="$JAVA_BIN/java"
23903 JAVAC="$JAVA_BIN/javac"
23904 JAVAH="$JAVA_BIN/javah"
23905 JAVADOC="$JAVA_BIN/javadoc"
23906 JAR="$JAVA_BIN/jar"
23909 # Check whether --with-jikes was given.
23910 if test "${with_jikes+set}" = set; then :
23911 withval=$with_jikes;
23912 if test "$withval" != "no"; then
23913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The --with-jikes option was ignored" >&5
23914 $as_echo "$as_me: WARNING: The --with-jikes option was ignored" >&2;}
23920 # The release for "-source" could actually be greater than that
23921 # of "-target", if we want to cross-compile for lesser JVMs.
23922 if test -z "$JAVAC_FLAGS"; then
23923 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23924 if test "$enable_debugging" = "yes"; then
23925 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23926 if test -z "$JAVAC_COMPAT_FLAGS"; then
23927 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23932 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23933 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23934 for dir in $list; do
23935 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23954 # Extract the first word of "perl", so it can be a program name with args.
23955 set dummy perl; ac_word=$2
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23957 $as_echo_n "checking for $ac_word... " >&6; }
23958 if ${ac_cv_path_PERL+:} false; then :
23959 $as_echo_n "(cached) " >&6
23963 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
23966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23967 for as_dir in $PATH
23970 test -z "$as_dir" && as_dir=.
23971 for ac_exec_ext in '' $ac_executable_extensions; do
23972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23973 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
23974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23981 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
23985 PERL=$ac_cv_path_PERL
23986 if test -n "$PERL"; then
23987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
23988 $as_echo "$PERL" >&6; }
23990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23991 $as_echo "no" >&6; }
23996 if test -n "$RUBY"; then
23997 # Extract the first word of ""$RUBY"", so it can be a program name with args.
23998 set dummy "$RUBY"; ac_word=$2
23999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24000 $as_echo_n "checking for $ac_word... " >&6; }
24001 if ${ac_cv_path_RUBY+:} false; then :
24002 $as_echo_n "(cached) " >&6
24006 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
24009 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24010 for as_dir in $PATH
24013 test -z "$as_dir" && as_dir=.
24014 for ac_exec_ext in '' $ac_executable_extensions; do
24015 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24016 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
24017 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24024 test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="none"
24028 RUBY=$ac_cv_path_RUBY
24029 if test -n "$RUBY"; then
24030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
24031 $as_echo "$RUBY" >&6; }
24033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24034 $as_echo "no" >&6; }
24039 for ac_prog in ruby ruby1 ruby1.8 ruby18 ruby1.9 ruby19 ruby1.9.3 ruby193 ruby2 ruby2.0 ruby20 ruby2.1 ruby21 ruby2.2 ruby22 ruby2.3 ruby23 ruby2.4 ruby24
24041 # Extract the first word of "$ac_prog", so it can be a program name with args.
24042 set dummy $ac_prog; ac_word=$2
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24044 $as_echo_n "checking for $ac_word... " >&6; }
24045 if ${ac_cv_path_RUBY+:} false; then :
24046 $as_echo_n "(cached) " >&6
24050 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
24053 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24054 for as_dir in $PATH
24057 test -z "$as_dir" && as_dir=.
24058 for ac_exec_ext in '' $ac_executable_extensions; do
24059 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24060 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
24061 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24071 RUBY=$ac_cv_path_RUBY
24072 if test -n "$RUBY"; then
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
24074 $as_echo "$RUBY" >&6; }
24076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24077 $as_echo "no" >&6; }
24081 test -n "$RUBY" && break
24083 test -n "$RUBY" || RUBY="none"
24086 if test "$RUBY" != "none"; then
24087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking rb_hash_foreach" >&5
24088 $as_echo_n "checking rb_hash_foreach... " >&6; }
24089 if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
24090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24091 $as_echo "yes" >&6; }
24092 if test -n "$RDOC"; then
24093 # Extract the first word of ""$RDOC"", so it can be a program name with args.
24094 set dummy "$RDOC"; ac_word=$2
24095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24096 $as_echo_n "checking for $ac_word... " >&6; }
24097 if ${ac_cv_path_RDOC+:} false; then :
24098 $as_echo_n "(cached) " >&6
24102 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
24105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24106 for as_dir in $PATH
24109 test -z "$as_dir" && as_dir=.
24110 for ac_exec_ext in '' $ac_executable_extensions; do
24111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24112 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
24113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24120 test -z "$ac_cv_path_RDOC" && ac_cv_path_RDOC="none"
24124 RDOC=$ac_cv_path_RDOC
24125 if test -n "$RDOC"; then
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
24127 $as_echo "$RDOC" >&6; }
24129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24130 $as_echo "no" >&6; }
24135 for ac_prog in rdoc rdoc1 rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193 rdoc2 rdoc2.0 rdoc20 rdoc2.1 rdoc21 rdoc2.2 rdoc22 rdoc2.3 rdoc23 rdoc2.4 rdoc24
24137 # Extract the first word of "$ac_prog", so it can be a program name with args.
24138 set dummy $ac_prog; ac_word=$2
24139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24140 $as_echo_n "checking for $ac_word... " >&6; }
24141 if ${ac_cv_path_RUBY+:} false; then :
24142 $as_echo_n "(cached) " >&6
24146 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
24149 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24150 for as_dir in $PATH
24153 test -z "$as_dir" && as_dir=.
24154 for ac_exec_ext in '' $ac_executable_extensions; do
24155 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24156 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
24157 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24167 RUBY=$ac_cv_path_RUBY
24168 if test -n "$RUBY"; then
24169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
24170 $as_echo "$RUBY" >&6; }
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24173 $as_echo "no" >&6; }
24177 test -n "$RUBY" && break
24179 test -n "$RUBY" || RUBY="none"
24182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby major version" >&5
24183 $as_echo_n "checking for Ruby major version... " >&6; }
24184 if ${svn_cv_ruby_major+:} false; then :
24185 $as_echo_n "(cached) " >&6
24188 svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
24191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_major" >&5
24192 $as_echo "$svn_cv_ruby_major" >&6; }
24193 RUBY_MAJOR="$svn_cv_ruby_major"
24195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby minor version" >&5
24196 $as_echo_n "checking for Ruby minor version... " >&6; }
24197 if ${svn_cv_ruby_minor+:} false; then :
24198 $as_echo_n "(cached) " >&6
24201 svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
24204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_minor" >&5
24205 $as_echo "$svn_cv_ruby_minor" >&6; }
24206 RUBY_MINOR="$svn_cv_ruby_minor"
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby teeny version" >&5
24209 $as_echo_n "checking for Ruby teeny version... " >&6; }
24210 if ${svn_cv_ruby_teeny+:} false; then :
24211 $as_echo_n "(cached) " >&6
24214 svn_cv_ruby_teeny="`$RUBY -rrbconfig -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
24217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_teeny" >&5
24218 $as_echo "$svn_cv_ruby_teeny" >&6; }
24219 RUBY_TEENY="$svn_cv_ruby_teeny"
24224 if test \( "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -gt "8" -a "$RUBY_TEENY" -lt "3" \); then
24225 # Disallow Ruby between 1.8.7 and 1.9.3
24227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&5
24228 $as_echo "$as_me: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&2;}
24229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x and 1.9.3 or later are supported at this time" >&5
24230 $as_echo "$as_me: WARNING: Only 1.8.x and 1.9.3 or later are supported at this time" >&2;}
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24234 $as_echo "no" >&6; }
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is too old for Subversion to use" >&5
24237 $as_echo "$as_me: WARNING: The detected Ruby is too old for Subversion to use" >&2;}
24238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&5
24239 $as_echo "$as_me: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&2;}
24240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Ruby bindings" >&5
24241 $as_echo "$as_me: WARNING: Subversion Ruby bindings" >&2;}
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Upgrade to the official 1.8.2 release, or later" >&5
24243 $as_echo "$as_me: WARNING: Upgrade to the official 1.8.2 release, or later" >&2;}
24249 # Check whether --with-swig was given.
24250 if test "${with_swig+set}" = set; then :
24251 withval=$with_swig;
24258 if test $where = no; then
24260 elif test $where = required || test $where = check; then
24261 # Extract the first word of "swig", so it can be a program name with args.
24262 set dummy swig; ac_word=$2
24263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24264 $as_echo_n "checking for $ac_word... " >&6; }
24265 if ${ac_cv_path_SWIG+:} false; then :
24266 $as_echo_n "(cached) " >&6
24270 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24274 for as_dir in $PATH
24277 test -z "$as_dir" && as_dir=.
24278 for ac_exec_ext in '' $ac_executable_extensions; do
24279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24280 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24288 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24292 SWIG=$ac_cv_path_SWIG
24293 if test -n "$SWIG"; then
24294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24295 $as_echo "$SWIG" >&6; }
24297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24298 $as_echo "no" >&6; }
24302 if test "$SWIG" = "none" && test $where = required; then
24303 as_fn_error $? "SWIG required, but not found" "$LINENO" 5
24306 if test -f "$where"; then
24309 SWIG="$where/bin/swig"
24311 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24312 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24316 if test "$SWIG" != "none"; then
24317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24318 $as_echo_n "checking swig version... " >&6; }
24319 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24320 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24321 # We want the version as an integer so we can test against
24322 # which version we're using. SWIG doesn't provide this
24323 # to us so we have to come up with it on our own.
24324 # The major is passed straight through,
24325 # the minor is zero padded to two places,
24326 # and the patch level is zero padded to three places.
24327 # e.g. 1.3.24 becomes 103024
24328 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24329 $SED -e 's/[^0-9\.].*$//' \
24330 -e 's/\.\([0-9]\)$/.0\1/' \
24331 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24332 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24334 $as_echo "$SWIG_VERSION_RAW" >&6; }
24335 # If you change the required swig version number, don't forget to update:
24336 # subversion/bindings/swig/INSTALL
24337 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
24341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24342 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24343 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
24344 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
24347 SWIG_PY_COMPILE="none"
24348 SWIG_PY_LINK="none"
24349 if test "$PYTHON" != "none"; then
24350 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24351 $as_echo "$as_me: Configuring python swig binding" >&6;}
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24354 $as_echo_n "checking for Python includes... " >&6; }
24355 if ${ac_cv_python_includes+:} false; then :
24356 $as_echo_n "(cached) " >&6
24359 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24363 $as_echo "$ac_cv_python_includes" >&6; }
24364 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24366 if test "$ac_cv_python_includes" = "none"; then
24367 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24368 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24372 $as_echo_n "checking for compiling Python extensions... " >&6; }
24373 if ${ac_cv_python_compile+:} false; then :
24374 $as_echo_n "(cached) " >&6
24377 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24381 $as_echo "$ac_cv_python_compile" >&6; }
24382 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24385 $as_echo_n "checking for linking Python extensions... " >&6; }
24386 if ${ac_cv_python_link+:} false; then :
24387 $as_echo_n "(cached) " >&6
24390 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24394 $as_echo "$ac_cv_python_link" >&6; }
24395 SWIG_PY_LINK="$ac_cv_python_link"
24397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24398 $as_echo_n "checking for linking Python libraries... " >&6; }
24399 if ${ac_cv_python_libs+:} false; then :
24400 $as_echo_n "(cached) " >&6
24403 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24407 $as_echo "$ac_cv_python_libs" >&6; }
24409 input_flags="$ac_cv_python_libs"
24411 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24412 for flag in $input_flags; do
24414 for dir in $filtered_dirs; do
24415 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24420 if test "$filter" = "no"; then
24421 output_flags="$output_flags $flag"
24424 if test -n "$output_flags"; then
24425 printf "%s" "${output_flags# }"
24429 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24430 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24432 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24433 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24434 $as_echo_n "(cached) " >&6
24437 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24439 /* end confdefs.h. */
24441 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24443 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24444 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24445 svn_cv_pycfmt_apr_int64_t="L"
24450 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24452 /* end confdefs.h. */
24455 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24457 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24458 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24459 svn_cv_pycfmt_apr_int64_t="l"
24464 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24466 /* end confdefs.h. */
24468 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24470 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24471 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24472 svn_cv_pycfmt_apr_int64_t="i"
24479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24480 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24481 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24482 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24483 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24486 cat >>confdefs.h <<_ACEOF
24487 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24492 if test "$PERL" != "none"; then
24493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24494 $as_echo_n "checking perl version... " >&6; }
24495 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24497 $as_echo "$PERL_VERSION" >&6; }
24498 if test "$PERL_VERSION" -ge "5008000"; then
24499 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24500 SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
24502 input_flags="$SWIG_PL_LINK"
24504 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24505 for flag in $input_flags; do
24507 for dir in $filtered_dirs; do
24508 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24513 if test "$filter" = "no"; then
24514 output_flags="$output_flags $flag"
24517 if test -n "$output_flags"; then
24518 printf "%s" "${output_flags# }"
24522 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24523 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24527 SWIG_RB_COMPILE="none"
24528 SWIG_RB_LINK="none"
24529 if test "$RUBY" != "none"; then
24530 rbconfig="$RUBY -rrbconfig -e "
24532 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24533 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
24535 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24536 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24539 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24540 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24543 $as_echo_n "checking for Ruby include path... " >&6; }
24544 if ${svn_cv_ruby_includes+:} false; then :
24545 $as_echo_n "(cached) " >&6
24548 if test -d "$rbconfig_rubyhdrdir"; then
24549 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
24550 if test -d "$rbconfig_rubyarchhdrdir"; then
24551 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
24553 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24556 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24561 $as_echo "$svn_cv_ruby_includes" >&6; }
24562 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24565 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24566 if ${svn_cv_ruby_compile+:} false; then :
24567 $as_echo_n "(cached) " >&6
24570 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24574 $as_echo "$svn_cv_ruby_compile" >&6; }
24575 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24577 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24580 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24583 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24585 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24588 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24589 if ${svn_cv_ruby_link+:} false; then :
24590 $as_echo_n "(cached) " >&6
24593 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24594 $rbconfig_LDSHARED`"
24595 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24596 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24600 $as_echo "$svn_cv_ruby_link" >&6; }
24601 SWIG_RB_LINK="$svn_cv_ruby_link"
24603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24604 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24605 if ${ac_cv_ruby_libs+:} false; then :
24606 $as_echo_n "(cached) " >&6
24609 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24613 $as_echo "$ac_cv_ruby_libs" >&6; }
24615 input_flags="$ac_cv_ruby_libs"
24617 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24618 for flag in $input_flags; do
24620 for dir in $filtered_dirs; do
24621 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24626 if test "$filter" = "no"; then
24627 output_flags="$output_flags $flag"
24630 if test -n "$output_flags"; then
24631 printf "%s" "${output_flags# }"
24635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24636 $as_echo_n "checking for rb_errinfo... " >&6; }
24637 old_CFLAGS="$CFLAGS"
24639 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24641 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24644 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24647 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24649 LIBS="$SWIG_RB_LIBS"
24650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24651 /* end confdefs.h. */
24657 if ac_fn_c_try_link "$LINENO"; then :
24658 have_rb_errinfo="yes"
24660 have_rb_errinfo="no"
24662 rm -f core conftest.err conftest.$ac_objext \
24663 conftest$ac_exeext conftest.$ac_ext
24664 if test "$have_rb_errinfo" = "yes"; then
24665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24666 $as_echo "yes" >&6; }
24668 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24672 $as_echo "no" >&6; }
24674 CFLAGS="$old_CFLAGS"
24677 if ${svn_cv_ruby_sitedir+:} false; then :
24678 $as_echo_n "(cached) " >&6
24681 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24686 # Check whether --with-ruby-sitedir was given.
24687 if test "${with_ruby_sitedir+set}" = set; then :
24688 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24690 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24695 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24696 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24697 $as_echo_n "(cached) " >&6
24700 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24701 $SED -e "s,^$rbconfig_sitedir,,"`"
24705 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24707 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24710 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24711 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24712 $as_echo_n "(cached) " >&6
24715 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24716 $SED -e "s,^$rbconfig_sitedir,,"`"
24720 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24722 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24725 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24726 if ${svn_cv_ruby_test_verbose+:} false; then :
24727 $as_echo_n "(cached) " >&6
24730 svn_cv_ruby_test_verbose="normal"
24735 # Check whether --with-ruby-test-verbose was given.
24736 if test "${with_ruby_test_verbose+set}" = set; then :
24737 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24739 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24742 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24744 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24767 if test $where = no; then
24769 elif test $where = required || test $where = check; then
24770 # Extract the first word of "swig", so it can be a program name with args.
24771 set dummy swig; ac_word=$2
24772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24773 $as_echo_n "checking for $ac_word... " >&6; }
24774 if ${ac_cv_path_SWIG+:} false; then :
24775 $as_echo_n "(cached) " >&6
24779 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24783 for as_dir in $PATH
24786 test -z "$as_dir" && as_dir=.
24787 for ac_exec_ext in '' $ac_executable_extensions; do
24788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24789 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24797 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24801 SWIG=$ac_cv_path_SWIG
24802 if test -n "$SWIG"; then
24803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24804 $as_echo "$SWIG" >&6; }
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24807 $as_echo "no" >&6; }
24811 if test "$SWIG" = "none" && test $where = required; then
24812 as_fn_error $? "SWIG required, but not found" "$LINENO" 5
24815 if test -f "$where"; then
24818 SWIG="$where/bin/swig"
24820 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24821 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24825 if test "$SWIG" != "none"; then
24826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24827 $as_echo_n "checking swig version... " >&6; }
24828 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24829 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24830 # We want the version as an integer so we can test against
24831 # which version we're using. SWIG doesn't provide this
24832 # to us so we have to come up with it on our own.
24833 # The major is passed straight through,
24834 # the minor is zero padded to two places,
24835 # and the patch level is zero padded to three places.
24836 # e.g. 1.3.24 becomes 103024
24837 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24838 $SED -e 's/[^0-9\.].*$//' \
24839 -e 's/\.\([0-9]\)$/.0\1/' \
24840 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24841 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24843 $as_echo "$SWIG_VERSION_RAW" >&6; }
24844 # If you change the required swig version number, don't forget to update:
24845 # subversion/bindings/swig/INSTALL
24846 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
24850 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24851 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
24853 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
24856 SWIG_PY_COMPILE="none"
24857 SWIG_PY_LINK="none"
24858 if test "$PYTHON" != "none"; then
24859 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24860 $as_echo "$as_me: Configuring python swig binding" >&6;}
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24863 $as_echo_n "checking for Python includes... " >&6; }
24864 if ${ac_cv_python_includes+:} false; then :
24865 $as_echo_n "(cached) " >&6
24868 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24872 $as_echo "$ac_cv_python_includes" >&6; }
24873 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24875 if test "$ac_cv_python_includes" = "none"; then
24876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24877 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24881 $as_echo_n "checking for compiling Python extensions... " >&6; }
24882 if ${ac_cv_python_compile+:} false; then :
24883 $as_echo_n "(cached) " >&6
24886 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24890 $as_echo "$ac_cv_python_compile" >&6; }
24891 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24894 $as_echo_n "checking for linking Python extensions... " >&6; }
24895 if ${ac_cv_python_link+:} false; then :
24896 $as_echo_n "(cached) " >&6
24899 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24903 $as_echo "$ac_cv_python_link" >&6; }
24904 SWIG_PY_LINK="$ac_cv_python_link"
24906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24907 $as_echo_n "checking for linking Python libraries... " >&6; }
24908 if ${ac_cv_python_libs+:} false; then :
24909 $as_echo_n "(cached) " >&6
24912 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24916 $as_echo "$ac_cv_python_libs" >&6; }
24918 input_flags="$ac_cv_python_libs"
24920 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24921 for flag in $input_flags; do
24923 for dir in $filtered_dirs; do
24924 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24929 if test "$filter" = "no"; then
24930 output_flags="$output_flags $flag"
24933 if test -n "$output_flags"; then
24934 printf "%s" "${output_flags# }"
24938 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24939 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24941 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24942 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24943 $as_echo_n "(cached) " >&6
24946 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24948 /* end confdefs.h. */
24950 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24952 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24953 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24954 svn_cv_pycfmt_apr_int64_t="L"
24959 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24961 /* end confdefs.h. */
24964 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24966 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24967 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24968 svn_cv_pycfmt_apr_int64_t="l"
24973 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24975 /* end confdefs.h. */
24977 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24979 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24980 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24981 svn_cv_pycfmt_apr_int64_t="i"
24988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24989 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24990 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24991 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24992 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24995 cat >>confdefs.h <<_ACEOF
24996 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
25001 if test "$PERL" != "none"; then
25002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
25003 $as_echo_n "checking perl version... " >&6; }
25004 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
25005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
25006 $as_echo "$PERL_VERSION" >&6; }
25007 if test "$PERL_VERSION" -ge "5008000"; then
25008 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
25009 SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
25011 input_flags="$SWIG_PL_LINK"
25013 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25014 for flag in $input_flags; do
25016 for dir in $filtered_dirs; do
25017 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25022 if test "$filter" = "no"; then
25023 output_flags="$output_flags $flag"
25026 if test -n "$output_flags"; then
25027 printf "%s" "${output_flags# }"
25031 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
25032 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
25036 SWIG_RB_COMPILE="none"
25037 SWIG_RB_LINK="none"
25038 if test "$RUBY" != "none"; then
25039 rbconfig="$RUBY -rrbconfig -e "
25041 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
25042 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
25044 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
25045 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
25049 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
25051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
25052 $as_echo_n "checking for Ruby include path... " >&6; }
25053 if ${svn_cv_ruby_includes+:} false; then :
25054 $as_echo_n "(cached) " >&6
25057 if test -d "$rbconfig_rubyhdrdir"; then
25058 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
25059 if test -d "$rbconfig_rubyarchhdrdir"; then
25060 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
25062 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
25065 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
25069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
25070 $as_echo "$svn_cv_ruby_includes" >&6; }
25071 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
25073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
25074 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
25075 if ${svn_cv_ruby_compile+:} false; then :
25076 $as_echo_n "(cached) " >&6
25079 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
25082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
25083 $as_echo "$svn_cv_ruby_compile" >&6; }
25084 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
25086 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
25089 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
25092 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
25094 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
25096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
25097 $as_echo_n "checking how to link Ruby extensions... " >&6; }
25098 if ${svn_cv_ruby_link+:} false; then :
25099 $as_echo_n "(cached) " >&6
25102 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
25103 $rbconfig_LDSHARED`"
25104 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
25105 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
25109 $as_echo "$svn_cv_ruby_link" >&6; }
25110 SWIG_RB_LINK="$svn_cv_ruby_link"
25112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
25113 $as_echo_n "checking how to link Ruby libraries... " >&6; }
25114 if ${ac_cv_ruby_libs+:} false; then :
25115 $as_echo_n "(cached) " >&6
25118 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
25121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
25122 $as_echo "$ac_cv_ruby_libs" >&6; }
25124 input_flags="$ac_cv_ruby_libs"
25126 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25127 for flag in $input_flags; do
25129 for dir in $filtered_dirs; do
25130 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25135 if test "$filter" = "no"; then
25136 output_flags="$output_flags $flag"
25139 if test -n "$output_flags"; then
25140 printf "%s" "${output_flags# }"
25144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
25145 $as_echo_n "checking for rb_errinfo... " >&6; }
25146 old_CFLAGS="$CFLAGS"
25148 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
25150 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
25153 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
25156 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
25158 LIBS="$SWIG_RB_LIBS"
25159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25160 /* end confdefs.h. */
25166 if ac_fn_c_try_link "$LINENO"; then :
25167 have_rb_errinfo="yes"
25169 have_rb_errinfo="no"
25171 rm -f core conftest.err conftest.$ac_objext \
25172 conftest$ac_exeext conftest.$ac_ext
25173 if test "$have_rb_errinfo" = "yes"; then
25174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25175 $as_echo "yes" >&6; }
25177 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
25180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25181 $as_echo "no" >&6; }
25183 CFLAGS="$old_CFLAGS"
25186 if ${svn_cv_ruby_sitedir+:} false; then :
25187 $as_echo_n "(cached) " >&6
25190 svn_cv_ruby_sitedir="$rbconfig_sitedir"
25195 # Check whether --with-ruby-sitedir was given.
25196 if test "${with_ruby_sitedir+set}" = set; then :
25197 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
25199 svn_ruby_installdir="$svn_cv_ruby_sitedir"
25203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
25204 $as_echo_n "checking where to install Ruby scripts... " >&6; }
25205 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
25206 $as_echo_n "(cached) " >&6
25209 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
25210 $SED -e "s,^$rbconfig_sitedir,,"`"
25214 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
25215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
25216 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
25219 $as_echo_n "checking where to install Ruby extensions... " >&6; }
25220 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
25221 $as_echo_n "(cached) " >&6
25224 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
25225 $SED -e "s,^$rbconfig_sitedir,,"`"
25229 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
25230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
25231 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
25233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
25234 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
25235 if ${svn_cv_ruby_test_verbose+:} false; then :
25236 $as_echo_n "(cached) " >&6
25239 svn_cv_ruby_test_verbose="normal"
25244 # Check whether --with-ruby-test-verbose was given.
25245 if test "${with_ruby_test_verbose+set}" = set; then :
25246 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
25248 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
25251 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
25252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
25253 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
25276 if test $where = no; then
25278 elif test $where = required || test $where = check; then
25279 # Extract the first word of "swig", so it can be a program name with args.
25280 set dummy swig; ac_word=$2
25281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25282 $as_echo_n "checking for $ac_word... " >&6; }
25283 if ${ac_cv_path_SWIG+:} false; then :
25284 $as_echo_n "(cached) " >&6
25288 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
25291 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25292 for as_dir in $PATH
25295 test -z "$as_dir" && as_dir=.
25296 for ac_exec_ext in '' $ac_executable_extensions; do
25297 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25298 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
25299 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25306 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
25310 SWIG=$ac_cv_path_SWIG
25311 if test -n "$SWIG"; then
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
25313 $as_echo "$SWIG" >&6; }
25315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25316 $as_echo "no" >&6; }
25320 if test "$SWIG" = "none" && test $where = required; then
25321 as_fn_error $? "SWIG required, but not found" "$LINENO" 5
25324 if test -f "$where"; then
25327 SWIG="$where/bin/swig"
25329 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
25330 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
25334 if test "$SWIG" != "none"; then
25335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
25336 $as_echo_n "checking swig version... " >&6; }
25337 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
25338 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
25339 # We want the version as an integer so we can test against
25340 # which version we're using. SWIG doesn't provide this
25341 # to us so we have to come up with it on our own.
25342 # The major is passed straight through,
25343 # the minor is zero padded to two places,
25344 # and the patch level is zero padded to three places.
25345 # e.g. 1.3.24 becomes 103024
25346 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
25347 $SED -e 's/[^0-9\.].*$//' \
25348 -e 's/\.\([0-9]\)$/.0\1/' \
25349 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
25350 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
25351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
25352 $as_echo "$SWIG_VERSION_RAW" >&6; }
25353 # If you change the required swig version number, don't forget to update:
25354 # subversion/bindings/swig/INSTALL
25355 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
25360 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
25362 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
25365 SWIG_PY_COMPILE="none"
25366 SWIG_PY_LINK="none"
25367 if test "$PYTHON" != "none"; then
25368 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
25369 $as_echo "$as_me: Configuring python swig binding" >&6;}
25371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
25372 $as_echo_n "checking for Python includes... " >&6; }
25373 if ${ac_cv_python_includes+:} false; then :
25374 $as_echo_n "(cached) " >&6
25377 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
25380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
25381 $as_echo "$ac_cv_python_includes" >&6; }
25382 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
25384 if test "$ac_cv_python_includes" = "none"; then
25385 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
25386 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
25389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
25390 $as_echo_n "checking for compiling Python extensions... " >&6; }
25391 if ${ac_cv_python_compile+:} false; then :
25392 $as_echo_n "(cached) " >&6
25395 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
25398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
25399 $as_echo "$ac_cv_python_compile" >&6; }
25400 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
25403 $as_echo_n "checking for linking Python extensions... " >&6; }
25404 if ${ac_cv_python_link+:} false; then :
25405 $as_echo_n "(cached) " >&6
25408 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
25411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
25412 $as_echo "$ac_cv_python_link" >&6; }
25413 SWIG_PY_LINK="$ac_cv_python_link"
25415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
25416 $as_echo_n "checking for linking Python libraries... " >&6; }
25417 if ${ac_cv_python_libs+:} false; then :
25418 $as_echo_n "(cached) " >&6
25421 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
25425 $as_echo "$ac_cv_python_libs" >&6; }
25427 input_flags="$ac_cv_python_libs"
25429 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25430 for flag in $input_flags; do
25432 for dir in $filtered_dirs; do
25433 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25438 if test "$filter" = "no"; then
25439 output_flags="$output_flags $flag"
25442 if test -n "$output_flags"; then
25443 printf "%s" "${output_flags# }"
25447 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
25448 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
25449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
25450 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
25451 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
25452 $as_echo_n "(cached) " >&6
25455 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25457 /* end confdefs.h. */
25459 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25461 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25462 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
25463 svn_cv_pycfmt_apr_int64_t="L"
25468 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25470 /* end confdefs.h. */
25473 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25475 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25476 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
25477 svn_cv_pycfmt_apr_int64_t="l"
25482 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25484 /* end confdefs.h. */
25486 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25488 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25489 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
25490 svn_cv_pycfmt_apr_int64_t="i"
25497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
25498 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
25499 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
25500 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25501 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
25504 cat >>confdefs.h <<_ACEOF
25505 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
25510 if test "$PERL" != "none"; then
25511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
25512 $as_echo_n "checking perl version... " >&6; }
25513 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
25515 $as_echo "$PERL_VERSION" >&6; }
25516 if test "$PERL_VERSION" -ge "5008000"; then
25517 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
25518 SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
25520 input_flags="$SWIG_PL_LINK"
25522 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25523 for flag in $input_flags; do
25525 for dir in $filtered_dirs; do
25526 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25531 if test "$filter" = "no"; then
25532 output_flags="$output_flags $flag"
25535 if test -n "$output_flags"; then
25536 printf "%s" "${output_flags# }"
25540 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
25541 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
25545 SWIG_RB_COMPILE="none"
25546 SWIG_RB_LINK="none"
25547 if test "$RUBY" != "none"; then
25548 rbconfig="$RUBY -rrbconfig -e "
25550 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
25551 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
25553 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
25554 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
25557 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
25558 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
25560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
25561 $as_echo_n "checking for Ruby include path... " >&6; }
25562 if ${svn_cv_ruby_includes+:} false; then :
25563 $as_echo_n "(cached) " >&6
25566 if test -d "$rbconfig_rubyhdrdir"; then
25567 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
25568 if test -d "$rbconfig_rubyarchhdrdir"; then
25569 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
25571 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
25574 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
25578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
25579 $as_echo "$svn_cv_ruby_includes" >&6; }
25580 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
25582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
25583 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
25584 if ${svn_cv_ruby_compile+:} false; then :
25585 $as_echo_n "(cached) " >&6
25588 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
25591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
25592 $as_echo "$svn_cv_ruby_compile" >&6; }
25593 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
25595 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
25598 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
25601 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
25603 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
25605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
25606 $as_echo_n "checking how to link Ruby extensions... " >&6; }
25607 if ${svn_cv_ruby_link+:} false; then :
25608 $as_echo_n "(cached) " >&6
25611 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
25612 $rbconfig_LDSHARED`"
25613 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
25614 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
25617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
25618 $as_echo "$svn_cv_ruby_link" >&6; }
25619 SWIG_RB_LINK="$svn_cv_ruby_link"
25621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
25622 $as_echo_n "checking how to link Ruby libraries... " >&6; }
25623 if ${ac_cv_ruby_libs+:} false; then :
25624 $as_echo_n "(cached) " >&6
25627 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
25630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
25631 $as_echo "$ac_cv_ruby_libs" >&6; }
25633 input_flags="$ac_cv_ruby_libs"
25635 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25636 for flag in $input_flags; do
25638 for dir in $filtered_dirs; do
25639 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25644 if test "$filter" = "no"; then
25645 output_flags="$output_flags $flag"
25648 if test -n "$output_flags"; then
25649 printf "%s" "${output_flags# }"
25653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
25654 $as_echo_n "checking for rb_errinfo... " >&6; }
25655 old_CFLAGS="$CFLAGS"
25657 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
25659 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
25662 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
25665 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
25667 LIBS="$SWIG_RB_LIBS"
25668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25669 /* end confdefs.h. */
25675 if ac_fn_c_try_link "$LINENO"; then :
25676 have_rb_errinfo="yes"
25678 have_rb_errinfo="no"
25680 rm -f core conftest.err conftest.$ac_objext \
25681 conftest$ac_exeext conftest.$ac_ext
25682 if test "$have_rb_errinfo" = "yes"; then
25683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25684 $as_echo "yes" >&6; }
25686 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
25689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25690 $as_echo "no" >&6; }
25692 CFLAGS="$old_CFLAGS"
25695 if ${svn_cv_ruby_sitedir+:} false; then :
25696 $as_echo_n "(cached) " >&6
25699 svn_cv_ruby_sitedir="$rbconfig_sitedir"
25704 # Check whether --with-ruby-sitedir was given.
25705 if test "${with_ruby_sitedir+set}" = set; then :
25706 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
25708 svn_ruby_installdir="$svn_cv_ruby_sitedir"
25712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
25713 $as_echo_n "checking where to install Ruby scripts... " >&6; }
25714 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
25715 $as_echo_n "(cached) " >&6
25718 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
25719 $SED -e "s,^$rbconfig_sitedir,,"`"
25723 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
25724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
25725 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
25727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
25728 $as_echo_n "checking where to install Ruby extensions... " >&6; }
25729 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
25730 $as_echo_n "(cached) " >&6
25733 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
25734 $SED -e "s,^$rbconfig_sitedir,,"`"
25738 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
25739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
25740 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
25742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
25743 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
25744 if ${svn_cv_ruby_test_verbose+:} false; then :
25745 $as_echo_n "(cached) " >&6
25748 svn_cv_ruby_test_verbose="normal"
25753 # Check whether --with-ruby-test-verbose was given.
25754 if test "${with_ruby_test_verbose+set}" = set; then :
25755 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
25757 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
25760 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
25761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
25762 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
25788 if test $where = no; then
25790 elif test $where = required || test $where = check; then
25791 # Extract the first word of "swig", so it can be a program name with args.
25792 set dummy swig; ac_word=$2
25793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25794 $as_echo_n "checking for $ac_word... " >&6; }
25795 if ${ac_cv_path_SWIG+:} false; then :
25796 $as_echo_n "(cached) " >&6
25800 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
25803 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25804 for as_dir in $PATH
25807 test -z "$as_dir" && as_dir=.
25808 for ac_exec_ext in '' $ac_executable_extensions; do
25809 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25810 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
25811 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25818 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
25822 SWIG=$ac_cv_path_SWIG
25823 if test -n "$SWIG"; then
25824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
25825 $as_echo "$SWIG" >&6; }
25827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25828 $as_echo "no" >&6; }
25832 if test "$SWIG" = "none" && test $where = required; then
25833 as_fn_error $? "SWIG required, but not found" "$LINENO" 5
25836 if test -f "$where"; then
25839 SWIG="$where/bin/swig"
25841 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
25842 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
25846 if test "$SWIG" != "none"; then
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
25848 $as_echo_n "checking swig version... " >&6; }
25849 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
25850 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
25851 # We want the version as an integer so we can test against
25852 # which version we're using. SWIG doesn't provide this
25853 # to us so we have to come up with it on our own.
25854 # The major is passed straight through,
25855 # the minor is zero padded to two places,
25856 # and the patch level is zero padded to three places.
25857 # e.g. 1.3.24 becomes 103024
25858 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
25859 $SED -e 's/[^0-9\.].*$//' \
25860 -e 's/\.\([0-9]\)$/.0\1/' \
25861 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
25862 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
25864 $as_echo "$SWIG_VERSION_RAW" >&6; }
25865 # If you change the required swig version number, don't forget to update:
25866 # subversion/bindings/swig/INSTALL
25867 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
25871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
25872 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
25873 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
25874 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
25877 SWIG_PY_COMPILE="none"
25878 SWIG_PY_LINK="none"
25879 if test "$PYTHON" != "none"; then
25880 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
25881 $as_echo "$as_me: Configuring python swig binding" >&6;}
25883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
25884 $as_echo_n "checking for Python includes... " >&6; }
25885 if ${ac_cv_python_includes+:} false; then :
25886 $as_echo_n "(cached) " >&6
25889 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
25893 $as_echo "$ac_cv_python_includes" >&6; }
25894 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
25896 if test "$ac_cv_python_includes" = "none"; then
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
25898 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
25902 $as_echo_n "checking for compiling Python extensions... " >&6; }
25903 if ${ac_cv_python_compile+:} false; then :
25904 $as_echo_n "(cached) " >&6
25907 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
25910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
25911 $as_echo "$ac_cv_python_compile" >&6; }
25912 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
25914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
25915 $as_echo_n "checking for linking Python extensions... " >&6; }
25916 if ${ac_cv_python_link+:} false; then :
25917 $as_echo_n "(cached) " >&6
25920 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
25923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
25924 $as_echo "$ac_cv_python_link" >&6; }
25925 SWIG_PY_LINK="$ac_cv_python_link"
25927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
25928 $as_echo_n "checking for linking Python libraries... " >&6; }
25929 if ${ac_cv_python_libs+:} false; then :
25930 $as_echo_n "(cached) " >&6
25933 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
25936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
25937 $as_echo "$ac_cv_python_libs" >&6; }
25939 input_flags="$ac_cv_python_libs"
25941 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25942 for flag in $input_flags; do
25944 for dir in $filtered_dirs; do
25945 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25950 if test "$filter" = "no"; then
25951 output_flags="$output_flags $flag"
25954 if test -n "$output_flags"; then
25955 printf "%s" "${output_flags# }"
25959 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
25960 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
25961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
25962 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
25963 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
25964 $as_echo_n "(cached) " >&6
25967 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25969 /* end confdefs.h. */
25971 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25973 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25974 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
25975 svn_cv_pycfmt_apr_int64_t="L"
25980 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25982 /* end confdefs.h. */
25985 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25987 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25988 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
25989 svn_cv_pycfmt_apr_int64_t="l"
25994 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25996 /* end confdefs.h. */
25998 MaTcHtHiS APR_INT64_T_FMT EnDeNd
26000 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
26001 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
26002 svn_cv_pycfmt_apr_int64_t="i"
26009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
26010 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
26011 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
26012 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
26013 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
26016 cat >>confdefs.h <<_ACEOF
26017 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
26022 if test "$PERL" != "none"; then
26023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
26024 $as_echo_n "checking perl version... " >&6; }
26025 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
26026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
26027 $as_echo "$PERL_VERSION" >&6; }
26028 if test "$PERL_VERSION" -ge "5008000"; then
26029 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
26030 SWIG_PL_LINK="`$PERL -MExtUtils::Embed -e ldopts`"
26032 input_flags="$SWIG_PL_LINK"
26034 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
26035 for flag in $input_flags; do
26037 for dir in $filtered_dirs; do
26038 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
26043 if test "$filter" = "no"; then
26044 output_flags="$output_flags $flag"
26047 if test -n "$output_flags"; then
26048 printf "%s" "${output_flags# }"
26052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
26053 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
26057 SWIG_RB_COMPILE="none"
26058 SWIG_RB_LINK="none"
26059 if test "$RUBY" != "none"; then
26060 rbconfig="$RUBY -rrbconfig -e "
26062 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
26063 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
26065 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
26066 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
26069 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
26070 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
26072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
26073 $as_echo_n "checking for Ruby include path... " >&6; }
26074 if ${svn_cv_ruby_includes+:} false; then :
26075 $as_echo_n "(cached) " >&6
26078 if test -d "$rbconfig_rubyhdrdir"; then
26079 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
26080 if test -d "$rbconfig_rubyarchhdrdir"; then
26081 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
26083 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
26086 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
26090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
26091 $as_echo "$svn_cv_ruby_includes" >&6; }
26092 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
26095 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
26096 if ${svn_cv_ruby_compile+:} false; then :
26097 $as_echo_n "(cached) " >&6
26100 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
26103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
26104 $as_echo "$svn_cv_ruby_compile" >&6; }
26105 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
26107 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
26110 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
26113 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
26115 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
26117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
26118 $as_echo_n "checking how to link Ruby extensions... " >&6; }
26119 if ${svn_cv_ruby_link+:} false; then :
26120 $as_echo_n "(cached) " >&6
26123 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
26124 $rbconfig_LDSHARED`"
26125 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
26126 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
26129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
26130 $as_echo "$svn_cv_ruby_link" >&6; }
26131 SWIG_RB_LINK="$svn_cv_ruby_link"
26133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
26134 $as_echo_n "checking how to link Ruby libraries... " >&6; }
26135 if ${ac_cv_ruby_libs+:} false; then :
26136 $as_echo_n "(cached) " >&6
26139 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
26143 $as_echo "$ac_cv_ruby_libs" >&6; }
26145 input_flags="$ac_cv_ruby_libs"
26147 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
26148 for flag in $input_flags; do
26150 for dir in $filtered_dirs; do
26151 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
26156 if test "$filter" = "no"; then
26157 output_flags="$output_flags $flag"
26160 if test -n "$output_flags"; then
26161 printf "%s" "${output_flags# }"
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
26166 $as_echo_n "checking for rb_errinfo... " >&6; }
26167 old_CFLAGS="$CFLAGS"
26169 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
26171 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
26174 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
26177 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
26179 LIBS="$SWIG_RB_LIBS"
26180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26181 /* end confdefs.h. */
26187 if ac_fn_c_try_link "$LINENO"; then :
26188 have_rb_errinfo="yes"
26190 have_rb_errinfo="no"
26192 rm -f core conftest.err conftest.$ac_objext \
26193 conftest$ac_exeext conftest.$ac_ext
26194 if test "$have_rb_errinfo" = "yes"; then
26195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
26196 $as_echo "yes" >&6; }
26198 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
26201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26202 $as_echo "no" >&6; }
26204 CFLAGS="$old_CFLAGS"
26207 if ${svn_cv_ruby_sitedir+:} false; then :
26208 $as_echo_n "(cached) " >&6
26211 svn_cv_ruby_sitedir="$rbconfig_sitedir"
26216 # Check whether --with-ruby-sitedir was given.
26217 if test "${with_ruby_sitedir+set}" = set; then :
26218 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
26220 svn_ruby_installdir="$svn_cv_ruby_sitedir"
26224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
26225 $as_echo_n "checking where to install Ruby scripts... " >&6; }
26226 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
26227 $as_echo_n "(cached) " >&6
26230 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
26231 $SED -e "s,^$rbconfig_sitedir,,"`"
26235 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
26236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
26237 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
26239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
26240 $as_echo_n "checking where to install Ruby extensions... " >&6; }
26241 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
26242 $as_echo_n "(cached) " >&6
26245 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
26246 $SED -e "s,^$rbconfig_sitedir,,"`"
26250 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
26251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
26252 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
26254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
26255 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
26256 if ${svn_cv_ruby_test_verbose+:} false; then :
26257 $as_echo_n "(cached) " >&6
26260 svn_cv_ruby_test_verbose="normal"
26265 # Check whether --with-ruby-test-verbose was given.
26266 if test "${with_ruby_test_verbose+set}" = set; then :
26267 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
26269 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
26272 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
26273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
26274 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
26303 # Check whether --with-ctypesgen was given.
26304 if test "${with_ctypesgen+set}" = set; then :
26305 withval=$with_ctypesgen;
26313 if test $where = check; then
26314 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
26315 set dummy "ctypesgen.py"; ac_word=$2
26316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26317 $as_echo_n "checking for $ac_word... " >&6; }
26318 if ${ac_cv_path_CTYPESGEN+:} false; then :
26319 $as_echo_n "(cached) " >&6
26323 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
26326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26327 for as_dir in $PATH
26330 test -z "$as_dir" && as_dir=.
26331 for ac_exec_ext in '' $ac_executable_extensions; do
26332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26333 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
26334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26341 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
26345 CTYPESGEN=$ac_cv_path_CTYPESGEN
26346 if test -n "$CTYPESGEN"; then
26347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26348 $as_echo "$CTYPESGEN" >&6; }
26350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26351 $as_echo "no" >&6; }
26355 elif test $where != no; then
26356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
26357 $as_echo_n "checking for ctypesgen.py... " >&6; }
26359 if test -f "$where"; then
26361 elif test -f "$where/bin/ctypesgen.py"; then
26362 CTYPESGEN="$where/bin/ctypesgen.py"
26364 CTYPESGEN="$where/ctypesgen.py"
26367 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
26368 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
26369 $where/bin/ctypesgen.py" "$LINENO" 5
26371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26372 $as_echo "$CTYPESGEN" >&6; }
26385 if test $where = check; then
26386 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
26387 set dummy "ctypesgen.py"; ac_word=$2
26388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26389 $as_echo_n "checking for $ac_word... " >&6; }
26390 if ${ac_cv_path_CTYPESGEN+:} false; then :
26391 $as_echo_n "(cached) " >&6
26395 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
26398 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26399 for as_dir in $PATH
26402 test -z "$as_dir" && as_dir=.
26403 for ac_exec_ext in '' $ac_executable_extensions; do
26404 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26405 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
26406 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26413 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
26417 CTYPESGEN=$ac_cv_path_CTYPESGEN
26418 if test -n "$CTYPESGEN"; then
26419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26420 $as_echo "$CTYPESGEN" >&6; }
26422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26423 $as_echo "no" >&6; }
26427 elif test $where != no; then
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
26429 $as_echo_n "checking for ctypesgen.py... " >&6; }
26431 if test -f "$where"; then
26433 elif test -f "$where/bin/ctypesgen.py"; then
26434 CTYPESGEN="$where/bin/ctypesgen.py"
26436 CTYPESGEN="$where/ctypesgen.py"
26439 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
26440 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
26441 $where/bin/ctypesgen.py" "$LINENO" 5
26443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26444 $as_echo "$CTYPESGEN" >&6; }
26457 if test $where = check; then
26458 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
26459 set dummy "ctypesgen.py"; ac_word=$2
26460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26461 $as_echo_n "checking for $ac_word... " >&6; }
26462 if ${ac_cv_path_CTYPESGEN+:} false; then :
26463 $as_echo_n "(cached) " >&6
26467 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
26470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26471 for as_dir in $PATH
26474 test -z "$as_dir" && as_dir=.
26475 for ac_exec_ext in '' $ac_executable_extensions; do
26476 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26477 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
26478 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26485 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
26489 CTYPESGEN=$ac_cv_path_CTYPESGEN
26490 if test -n "$CTYPESGEN"; then
26491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26492 $as_echo "$CTYPESGEN" >&6; }
26494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26495 $as_echo "no" >&6; }
26499 elif test $where != no; then
26500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
26501 $as_echo_n "checking for ctypesgen.py... " >&6; }
26503 if test -f "$where"; then
26505 elif test -f "$where/bin/ctypesgen.py"; then
26506 CTYPESGEN="$where/bin/ctypesgen.py"
26508 CTYPESGEN="$where/ctypesgen.py"
26511 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
26512 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
26513 $where/bin/ctypesgen.py" "$LINENO" 5
26515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26516 $as_echo "$CTYPESGEN" >&6; }
26532 if test $where = check; then
26533 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
26534 set dummy "ctypesgen.py"; ac_word=$2
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26536 $as_echo_n "checking for $ac_word... " >&6; }
26537 if ${ac_cv_path_CTYPESGEN+:} false; then :
26538 $as_echo_n "(cached) " >&6
26542 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
26545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26546 for as_dir in $PATH
26549 test -z "$as_dir" && as_dir=.
26550 for ac_exec_ext in '' $ac_executable_extensions; do
26551 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
26552 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
26553 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
26560 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
26564 CTYPESGEN=$ac_cv_path_CTYPESGEN
26565 if test -n "$CTYPESGEN"; then
26566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26567 $as_echo "$CTYPESGEN" >&6; }
26569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
26570 $as_echo "no" >&6; }
26574 elif test $where != no; then
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
26576 $as_echo_n "checking for ctypesgen.py... " >&6; }
26578 if test -f "$where"; then
26580 elif test -f "$where/bin/ctypesgen.py"; then
26581 CTYPESGEN="$where/bin/ctypesgen.py"
26583 CTYPESGEN="$where/ctypesgen.py"
26586 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
26587 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
26588 $where/bin/ctypesgen.py" "$LINENO" 5
26590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
26591 $as_echo "$CTYPESGEN" >&6; }
26602 # Check whether --enable-runtime-module-search was given.
26603 if test "${enable_runtime_module_search+set}" = set; then :
26604 enableval=$enable_runtime_module_search;
26605 if test "$enableval" = "yes"; then
26607 if test "$svn_enable_shared" = "no"; then
26608 as_fn_error $? "--enable-runtime-module-search conflicts with --disable-shared" "$LINENO" 5
26611 $as_echo "#define SVN_USE_DSO 1" >>confdefs.h
26617 $as_echo "#define SVN_DSO_SUFFIX_FMT \"%d.%d.dylib\"" >>confdefs.h
26622 $as_echo "#define SVN_DSO_SUFFIX_FMT \"%d.so.%d\"" >>confdefs.h
26631 if test "$svn_enable_shared" = "no" || test "$use_dso" != "yes"; then
26633 $as_echo "#define SVN_LIBSVN_RA_LINKS_RA_LOCAL 1" >>confdefs.h
26635 svn_ra_lib_deps="\$(RA_LOCAL_DEPS)"
26636 svn_ra_lib_install_deps="install-ramod-lib"
26637 svn_ra_lib_link="\$(RA_LOCAL_LINK)"
26640 $as_echo "#define SVN_LIBSVN_RA_LINKS_RA_SVN 1" >>confdefs.h
26642 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SVN_DEPS)"
26643 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SVN_LINK)"
26645 if test "$svn_lib_serf" = "yes"; then
26647 $as_echo "#define SVN_LIBSVN_RA_LINKS_RA_SERF 1" >>confdefs.h
26649 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SERF_DEPS)"
26650 svn_ra_lib_install_deps="$svn_ra_lib_install_deps install-serf-lib"
26651 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SERF_LINK)"
26654 SVN_RA_LIB_DEPS=$svn_ra_lib_deps
26655 SVN_RA_LIB_INSTALL_DEPS=$svn_ra_lib_install_deps
26656 SVN_RA_LIB_LINK=$svn_ra_lib_link
26659 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_FS 1" >>confdefs.h
26661 svn_fs_lib_deps="\$(FS_FS_DEPS)"
26662 svn_fs_lib_install_deps="install-fsmod-lib"
26663 svn_fs_lib_link="\$(FS_FS_LINK)"
26666 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_X 1" >>confdefs.h
26668 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_X_DEPS)"
26669 svn_fs_lib_link="$svn_fs_lib_link \$(FS_X_LINK)"
26671 if test "$svn_lib_berkeley_db" = "yes"; then
26673 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_BASE 1" >>confdefs.h
26675 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_BASE_DEPS)"
26676 svn_fs_lib_install_deps="$svn_fs_lib_install_deps install-bdb-lib"
26677 svn_fs_lib_link="$svn_fs_lib_link \$(FS_BASE_LINK)"
26680 SVN_FS_LIB_DEPS=$svn_fs_lib_deps
26681 SVN_FS_LIB_INSTALL_DEPS=$svn_fs_lib_install_deps
26682 SVN_FS_LIB_LINK=$svn_fs_lib_link
26692 # ==== JavaHL ================================================================
26695 # Check whether --enable-javahl was given.
26696 if test "${enable_javahl+set}" = set; then :
26697 enableval=$enable_javahl; if test "$enableval" = "yes" ; then
26698 do_javahl_build="yes"
26705 INSTALL_EXTRA_JAVAHL_LIB=""
26707 JAVAHL_TESTS_TARGET=""
26708 JAVAHL_COMPAT_TESTS_TARGET=""
26710 if test "$do_javahl_build" = "yes"; then
26711 if test "$JDK_SUITABLE" = "no"; then
26712 as_fn_error $? "Cannot compile JavaHL without a suitable JDK.
26713 Please specify a suitable JDK using the --with-jdk option." "$LINENO" 5
26716 JAVAHL_OBJDIR='$(libsvnjavahl_PATH)/.libs'
26719 if test "$os_arch" = "Darwin"; then
26720 INSTALL_EXTRA_JAVAHL_LIB='ln -sf $(libdir)/libsvnjavahl-1.dylib $(libdir)/libsvnjavahl-1.jnilib'
26721 FIX_JAVAHL_LIB="ln -sf libsvnjavahl-1.dylib $JAVAHL_OBJDIR/libsvnjavahl-1.jnilib"
26723 # This segment (and the rest of r10800) is very likely unnecessary
26724 # with libtool 1.5, which automatically adds libstdc++ as a
26725 # dependency to the C++ libraries it builds. So at some future time
26726 # when autogen.sh requires libtool 1.5 or higher, we can get rid of
26728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional flags to link C++ libraries" >&5
26729 $as_echo_n "checking for additional flags to link C++ libraries... " >&6; }
26730 if test "x$ac_compiler_gnu" = "xyes"; then
26733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26734 $as_echo "none needed" >&6; }
26737 LT_CXX_LIBADD="-lstdc++"
26738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LT_CXX_LIBADD" >&5
26739 $as_echo "$LT_CXX_LIBADD" >&6; }
26743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26744 $as_echo "none needed" >&6; }
26753 # Check whether --with-junit was given.
26754 if test "${with_junit+set}" = set; then :
26755 withval=$with_junit;
26756 if test "$withval" != "no"; then
26757 if test -n "$JAVA_CLASSPATH"; then
26758 JAVA_CLASSPATH="$withval:$JAVA_CLASSPATH"
26760 JAVA_CLASSPATH="$withval"
26762 JAVAHL_TESTS_TARGET="javahl-tests"
26763 JAVAHL_COMPAT_TESTS_TARGET="javahl-compat-tests"
26772 # ==== Miscellaneous bits ====================================================
26774 for ac_header in stdbool.h stdint.h
26776 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26777 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
26778 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
26779 cat >>confdefs.h <<_ACEOF
26780 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26788 # Strip '-no-cpp-precomp' from CPPFLAGS for the clang compiler
26789 ### I think we get this flag from APR, so the fix probably belongs there
26790 if test "$CC" = "clang"; then
26792 CPPFLAGS=`echo "$CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
26797 cat >>confdefs.h <<_ACEOF
26798 #define SVN_PATH_LOCAL_SEPARATOR '/'
26803 cat >>confdefs.h <<_ACEOF
26804 #define SVN_NULL_DEVICE_NAME "/dev/null"
26808 DEFAULT_FS_TYPE="fsfs"
26810 cat >>confdefs.h <<_ACEOF
26811 #define DEFAULT_FS_TYPE "$DEFAULT_FS_TYPE"
26815 DEFAULT_HTTP_LIBRARY="serf"
26817 cat >>confdefs.h <<_ACEOF
26818 #define DEFAULT_HTTP_LIBRARY "$DEFAULT_HTTP_LIBRARY"
26822 # BSD/OS (BSDi) needs to use a different include syntax in Makefile
26823 INCLUDE_OUTPUTS="include \$(top_srcdir)/build-outputs.mk"
26826 # Check whether they've installed GNU make
26827 if ! make --version > /dev/null 2>&1; then
26829 INCLUDE_OUTPUTS=".include \"\$(top_srcdir)/build-outputs.mk\""
26835 # ==== Detection complete - output and run config.status =====================
26837 ac_config_headers="$ac_config_headers subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in"
26839 ac_config_commands="$ac_config_commands svn_private_config.h.tmp"
26841 ac_config_files="$ac_config_files Makefile"
26844 # Create pkg-config .pc files from .pc.in files
26845 for pc_in_file in "${abs_srcdir}"/subversion/libsvn_*/*.pc.in; do
26846 pc_file=${pc_in_file#${abs_srcdir}/}
26847 pc_file=${pc_file%.in}
26848 ac_config_files="$ac_config_files ${pc_file}"
26853 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/backup/hot-backup.py"
26854 ac_config_files="$ac_config_files tools/backup/hot-backup.py"
26857 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/hook-scripts/commit-access-control.pl"
26858 ac_config_files="$ac_config_files tools/hook-scripts/commit-access-control.pl"
26861 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES subversion/bindings/swig/perl/native/Makefile.PL"
26862 ac_config_files="$ac_config_files subversion/bindings/swig/perl/native/Makefile.PL"
26864 if test -e packages/solaris/pkginfo.in; then
26866 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES packages/solaris/pkginfo"
26867 ac_config_files="$ac_config_files packages/solaris/pkginfo"
26872 # Ensure that SWIG is checked after reconfiguration.
26873 rm -f .swig_checked
26876 cat >>confdefs.h <<_ACEOF
26877 #define SVN_BUILD_HOST "${host}"
26882 cat >>confdefs.h <<_ACEOF
26883 #define SVN_BUILD_TARGET "${target}"
26887 cat >confcache <<\_ACEOF
26888 # This file is a shell script that caches the results of configure
26889 # tests run on this system so they can be shared between configure
26890 # scripts and configure runs, see configure's option --config-cache.
26891 # It is not useful on other systems. If it contains results you don't
26892 # want to keep, you may remove or edit it.
26894 # config.status only pays attention to the cache file if you give it
26895 # the --recheck option to rerun configure.
26897 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26898 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26899 # following values.
26903 # The following way of writing the cache mishandles newlines in values,
26904 # but we know of no workaround that is simple, portable, and efficient.
26905 # So, we kill variables containing newlines.
26906 # Ultrix sh set writes to stderr and can't be redirected directly,
26907 # and sets the high bit in the cache file unless we assign to the vars.
26909 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26910 eval ac_val=\$$ac_var
26914 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26915 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26918 _ | IFS | as_nl) ;; #(
26919 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26920 *) { eval $ac_var=; unset $ac_var;} ;;
26926 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26927 *${as_nl}ac_space=\ *)
26928 # `set' does not quote correctly, so add quotes: double-quote
26929 # substitution turns \\\\ into \\, and sed turns \\ into \.
26932 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26935 # `set' quotes correctly as required by POSIX, so do not add quotes.
26936 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26945 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26947 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26949 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26950 if test -w "$cache_file"; then
26951 if test "x$cache_file" != "x/dev/null"; then
26952 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26953 $as_echo "$as_me: updating cache $cache_file" >&6;}
26954 if test ! -f "$cache_file" || test -h "$cache_file"; then
26955 cat confcache >"$cache_file"
26957 case $cache_file in #(
26959 mv -f confcache "$cache_file"$$ &&
26960 mv -f "$cache_file"$$ "$cache_file" ;; #(
26962 mv -f confcache "$cache_file" ;;
26967 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26968 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26973 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26974 # Let make expand exec_prefix.
26975 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26977 DEFS=-DHAVE_CONFIG_H
26982 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26983 # 1. Remove the extension, and $U if already installed.
26984 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26985 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26986 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26987 # will be set to the directory where LIBOBJS objects are built.
26988 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26989 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26991 LIBOBJS=$ac_libobjs
26993 LTLIBOBJS=$ac_ltlibobjs
26997 : "${CONFIG_STATUS=./config.status}"
26999 ac_clean_files_save=$ac_clean_files
27000 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
27001 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
27002 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
27004 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
27006 # Generated by $as_me.
27007 # Run this file to recreate the current configuration.
27008 # Compiler output produced by configure, useful for debugging
27009 # configure, is in config.log if it exists.
27012 ac_cs_recheck=false
27015 SHELL=\${CONFIG_SHELL-$SHELL}
27018 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
27019 ## -------------------- ##
27020 ## M4sh Initialization. ##
27021 ## -------------------- ##
27023 # Be more Bourne compatible
27024 DUALCASE=1; export DUALCASE # for MKS sh
27025 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
27028 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
27029 # is contrary to our usage. Disable this feature.
27030 alias -g '${1+"$@"}'='"$@"'
27031 setopt NO_GLOB_SUBST
27033 case `(set -o) 2>/dev/null` in #(
27045 # Printing a long string crashes Solaris 7 /usr/bin/printf.
27046 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
27047 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
27048 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
27049 # Prefer a ksh shell builtin over an external printf program on Solaris,
27050 # but without wasting forks for bash or zsh.
27051 if test -z "$BASH_VERSION$ZSH_VERSION" \
27052 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
27053 as_echo='print -r --'
27054 as_echo_n='print -rn --'
27055 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
27056 as_echo='printf %s\n'
27057 as_echo_n='printf %s'
27059 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
27060 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
27061 as_echo_n='/usr/ucb/echo -n'
27063 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
27064 as_echo_n_body='eval
27068 expr "X$arg" : "X\\(.*\\)$as_nl";
27069 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
27071 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
27073 export as_echo_n_body
27074 as_echo_n='sh -c $as_echo_n_body as_echo'
27076 export as_echo_body
27077 as_echo='sh -c $as_echo_body as_echo'
27080 # The user is always right.
27081 if test "${PATH_SEPARATOR+set}" != set; then
27083 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
27084 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
27091 # We need space, tab and new line, in precisely that order. Quoting is
27092 # there to prevent editors from complaining about space-tab.
27093 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
27094 # splitting by setting IFS to empty value.)
27097 # Find who we are. Look in the path if we contain no directory separator.
27100 *[\\/]* ) as_myself=$0 ;;
27101 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27102 for as_dir in $PATH
27105 test -z "$as_dir" && as_dir=.
27106 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
27112 # We did not find ourselves, most probably we were run as `sh COMMAND'
27113 # in which case we are not to be found in the path.
27114 if test "x$as_myself" = x; then
27117 if test ! -f "$as_myself"; then
27118 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
27122 # Unset variables that we do not need and which cause bugs (e.g. in
27123 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
27124 # suppresses any "Segmentation fault" message there. '((' could
27125 # trigger a bug in pdksh 5.2.14.
27126 for as_var in BASH_ENV ENV MAIL MAILPATH
27127 do eval test x\${$as_var+set} = xset \
27128 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
27141 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27144 # as_fn_error STATUS ERROR [LINENO LOG_FD]
27145 # ----------------------------------------
27146 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
27147 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
27148 # script with STATUS, using 1 if that was 0.
27151 as_status=$1; test $as_status -eq 0 && as_status=1
27153 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
27154 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
27156 $as_echo "$as_me: error: $2" >&2
27157 as_fn_exit $as_status
27161 # as_fn_set_status STATUS
27162 # -----------------------
27163 # Set $? to STATUS, without forking.
27164 as_fn_set_status ()
27167 } # as_fn_set_status
27169 # as_fn_exit STATUS
27170 # -----------------
27171 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
27175 as_fn_set_status $1
27181 # Portably unset VAR.
27184 { eval $1=; unset $1;}
27186 as_unset=as_fn_unset
27187 # as_fn_append VAR VALUE
27188 # ----------------------
27189 # Append the text in VALUE to the end of the definition contained in VAR. Take
27190 # advantage of any shell optimizations that allow amortized linear growth over
27191 # repeated appends, instead of the typical quadratic growth present in naive
27193 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
27194 eval 'as_fn_append ()
27205 # as_fn_arith ARG...
27206 # ------------------
27207 # Perform arithmetic evaluation on the ARGs, and store the result in the
27208 # global $as_val. Take advantage of shells that can avoid forks. The arguments
27209 # must be portable across $(()) and expr.
27210 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
27211 eval 'as_fn_arith ()
27218 as_val=`expr "$@" || test $? -eq 1`
27223 if expr a : '\(a\)' >/dev/null 2>&1 &&
27224 test "X`expr 00001 : '.*\(...\)'`" = X001; then
27230 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
27231 as_basename=basename
27236 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
27242 as_me=`$as_basename -- "$0" ||
27243 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
27244 X"$0" : 'X\(//\)$' \| \
27245 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
27247 sed '/^.*\/\([^/][^/]*\)\/*$/{
27261 # Avoid depending upon Character Ranges.
27262 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
27263 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
27264 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
27265 as_cr_digits='0123456789'
27266 as_cr_alnum=$as_cr_Letters$as_cr_digits
27268 ECHO_C= ECHO_N= ECHO_T=
27269 case `echo -n x` in #(((((
27271 case `echo 'xy\c'` in
27272 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
27274 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
27281 rm -f conf$$ conf$$.exe conf$$.file
27282 if test -d conf$$.dir; then
27283 rm -f conf$$.dir/conf$$.file
27286 mkdir conf$$.dir 2>/dev/null
27288 if (echo >conf$$.file) 2>/dev/null; then
27289 if ln -s conf$$.file conf$$ 2>/dev/null; then
27291 # ... but there are two gotchas:
27292 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
27293 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
27294 # In both cases, we have to default to `cp -pR'.
27295 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
27297 elif ln conf$$.file conf$$ 2>/dev/null; then
27305 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
27306 rmdir conf$$.dir 2>/dev/null
27311 # Create "$as_dir" as a directory, including parents if necessary.
27316 -*) as_dir=./$as_dir;;
27318 test -d "$as_dir" || eval $as_mkdir_p || {
27322 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
27323 *) as_qdir=$as_dir;;
27325 as_dirs="'$as_qdir' $as_dirs"
27326 as_dir=`$as_dirname -- "$as_dir" ||
27327 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27328 X"$as_dir" : 'X\(//\)[^/]' \| \
27329 X"$as_dir" : 'X\(//\)$' \| \
27330 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
27331 $as_echo X"$as_dir" |
27332 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27336 /^X\(\/\/\)[^/].*/{
27349 test -d "$as_dir" && break
27351 test -z "$as_dirs" || eval "mkdir $as_dirs"
27352 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
27356 if mkdir -p . 2>/dev/null; then
27357 as_mkdir_p='mkdir -p "$as_dir"'
27359 test -d ./-p && rmdir ./-p
27364 # as_fn_executable_p FILE
27365 # -----------------------
27366 # Test if FILE is an executable regular file.
27367 as_fn_executable_p ()
27369 test -f "$1" && test -x "$1"
27370 } # as_fn_executable_p
27371 as_test_x='test -x'
27372 as_executable_p=as_fn_executable_p
27374 # Sed expression to map a string onto a valid CPP name.
27375 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
27377 # Sed expression to map a string onto a valid variable name.
27378 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
27382 ## ----------------------------------- ##
27383 ## Main body of $CONFIG_STATUS script. ##
27384 ## ----------------------------------- ##
27386 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
27388 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27389 # Save the log message, to keep $0 and so on meaningful, and to
27390 # report actual input values of CONFIG_FILES etc. instead of their
27391 # values after options handling.
27393 This file was extended by subversion $as_me 1.10.0, which was
27394 generated by GNU Autoconf 2.69. Invocation command line was
27396 CONFIG_FILES = $CONFIG_FILES
27397 CONFIG_HEADERS = $CONFIG_HEADERS
27398 CONFIG_LINKS = $CONFIG_LINKS
27399 CONFIG_COMMANDS = $CONFIG_COMMANDS
27402 on `(hostname || uname -n) 2>/dev/null | sed 1q`
27407 case $ac_config_files in *"
27408 "*) set x $ac_config_files; shift; ac_config_files=$*;;
27411 case $ac_config_headers in *"
27412 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
27416 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27417 # Files that config.status was made for.
27418 config_files="$ac_config_files"
27419 config_headers="$ac_config_headers"
27420 config_commands="$ac_config_commands"
27424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27426 \`$as_me' instantiates files and other configuration actions
27427 from templates according to the current configuration. Unless the files
27428 and actions are specified as TAGs, all are instantiated by default.
27430 Usage: $0 [OPTION]... [TAG]...
27432 -h, --help print this help, then exit
27433 -V, --version print version number and configuration settings, then exit
27434 --config print configuration, then exit
27435 -q, --quiet, --silent
27436 do not print progress messages
27437 -d, --debug don't remove temporary files
27438 --recheck update $as_me by reconfiguring in the same conditions
27439 --file=FILE[:TEMPLATE]
27440 instantiate the configuration file FILE
27441 --header=FILE[:TEMPLATE]
27442 instantiate the configuration header FILE
27444 Configuration files:
27447 Configuration headers:
27450 Configuration commands:
27453 Report bugs to <http://subversion.apache.org/>."
27456 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27457 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
27459 subversion config.status 1.10.0
27460 configured by $0, generated by GNU Autoconf 2.69,
27461 with options \\"\$ac_cs_config\\"
27463 Copyright (C) 2012 Free Software Foundation, Inc.
27464 This config.status script is free software; the Free Software Foundation
27465 gives unlimited permission to copy, distribute and modify it."
27471 test -n "\$AWK" || AWK=awk
27474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27475 # The default lists apply if the user does not specify any file.
27481 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27482 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
27486 ac_option=`expr "X$1" : 'X\([^=]*\)='`
27498 # Handling of the options.
27499 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
27501 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
27502 $as_echo "$ac_cs_version"; exit ;;
27503 --config | --confi | --conf | --con | --co | --c )
27504 $as_echo "$ac_cs_config"; exit ;;
27505 --debug | --debu | --deb | --de | --d | -d )
27507 --file | --fil | --fi | --f )
27510 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27511 '') as_fn_error $? "missing file argument" ;;
27513 as_fn_append CONFIG_FILES " '$ac_optarg'"
27514 ac_need_defaults=false;;
27515 --header | --heade | --head | --hea )
27518 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
27520 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
27521 ac_need_defaults=false;;
27523 # Conflict between --help and --header
27524 as_fn_error $? "ambiguous option: \`$1'
27525 Try \`$0 --help' for more information.";;
27526 --help | --hel | -h )
27527 $as_echo "$ac_cs_usage"; exit ;;
27528 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
27529 | -silent | --silent | --silen | --sile | --sil | --si | --s)
27532 # This is an error.
27533 -*) as_fn_error $? "unrecognized option: \`$1'
27534 Try \`$0 --help' for more information." ;;
27536 *) as_fn_append ac_config_targets " $1"
27537 ac_need_defaults=false ;;
27543 ac_configure_extra_args=
27545 if $ac_cs_silent; then
27547 ac_configure_extra_args="$ac_configure_extra_args --silent"
27551 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27552 if \$ac_cs_recheck; then
27553 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
27555 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
27556 CONFIG_SHELL='$SHELL'
27557 export CONFIG_SHELL
27562 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27566 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
27567 ## Running $as_me. ##
27573 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27579 # The HP-UX ksh and POSIX shell print the target directory to stdout
27580 # if CDPATH is set.
27581 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
27583 sed_quote_subst='$sed_quote_subst'
27584 double_quote_subst='$double_quote_subst'
27585 delay_variable_subst='$delay_variable_subst'
27586 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
27587 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
27588 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
27589 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
27590 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
27591 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
27592 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
27593 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
27594 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
27595 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
27596 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
27597 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
27598 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
27599 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
27600 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
27601 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
27602 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
27603 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
27604 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
27605 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
27606 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
27607 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
27608 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
27609 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
27610 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
27611 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
27612 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
27613 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
27614 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
27615 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
27616 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
27617 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
27618 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
27619 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
27620 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
27621 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
27622 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
27623 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
27624 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
27625 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
27626 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
27627 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
27628 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
27629 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
27630 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
27631 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
27632 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27633 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27634 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27635 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27636 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27637 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27638 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27639 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27640 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27641 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27642 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
27643 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27644 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"`'
27645 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
27646 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
27647 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
27648 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
27649 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27650 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27651 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27652 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27653 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27654 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27655 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27656 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27657 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
27658 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27659 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27660 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27661 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27662 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27663 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27664 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27665 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27666 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27667 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27668 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27669 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27670 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27671 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27672 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27673 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27674 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27675 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27676 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27677 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27678 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27679 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27680 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27681 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27682 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27683 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27684 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27685 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27686 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27687 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27688 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27689 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27690 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27691 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27692 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27693 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27694 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27695 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27696 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27697 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27698 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27699 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27700 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27701 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27702 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27703 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27704 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27705 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27706 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27707 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27708 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27709 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27710 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27711 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27712 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27713 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
27714 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
27715 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27716 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27717 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27718 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27719 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27720 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27721 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27722 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27723 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27724 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27725 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27726 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27727 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27728 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27729 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27730 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27731 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27732 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27733 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27734 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27735 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27736 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27737 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27738 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27739 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27740 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27741 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27742 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27743 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27744 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27745 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27746 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27747 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27748 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27749 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27750 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27751 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27752 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27753 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
27754 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
27755 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
27756 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
27757 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
27758 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
27759 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
27760 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
27761 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
27762 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27763 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27764 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27765 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27766 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27767 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
27768 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
27769 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
27770 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27771 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27772 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
27773 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
27774 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
27777 LTCFLAGS='$LTCFLAGS'
27778 compiler='$compiler_DEFAULT'
27780 # A function that is used when there is no print builtin or printf.
27781 func_fallback_echo ()
27783 eval 'cat <<_LTECHO_EOF
27788 # Quote evaled strings.
27803 deplibs_check_method \
27808 sharedlib_from_linklib_cmd \
27811 archiver_list_spec \
27817 lt_cv_sys_global_symbol_pipe \
27818 lt_cv_sys_global_symbol_to_cdecl \
27819 lt_cv_sys_global_symbol_to_import \
27820 lt_cv_sys_global_symbol_to_c_name_address \
27821 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27822 lt_cv_nm_interface \
27823 nm_file_list_spec \
27824 lt_cv_truncate_bin \
27825 lt_prog_compiler_no_builtin_flag \
27826 lt_prog_compiler_pic \
27827 lt_prog_compiler_wl \
27828 lt_prog_compiler_static \
27829 lt_cv_prog_compiler_c_o \
27838 export_dynamic_flag_spec \
27839 whole_archive_flag_spec \
27840 compiler_needs_object \
27842 allow_undefined_flag \
27843 no_undefined_flag \
27844 hardcode_libdir_flag_spec \
27845 hardcode_libdir_separator \
27849 variables_saved_for_relink \
27851 library_names_spec \
27853 install_override_mode \
27857 compiler_lib_search_dirs \
27862 compiler_lib_search_path \
27866 lt_prog_compiler_no_builtin_flag_CXX \
27867 lt_prog_compiler_pic_CXX \
27868 lt_prog_compiler_wl_CXX \
27869 lt_prog_compiler_static_CXX \
27870 lt_cv_prog_compiler_c_o_CXX \
27871 export_dynamic_flag_spec_CXX \
27872 whole_archive_flag_spec_CXX \
27873 compiler_needs_object_CXX \
27875 allow_undefined_flag_CXX \
27876 no_undefined_flag_CXX \
27877 hardcode_libdir_flag_spec_CXX \
27878 hardcode_libdir_separator_CXX \
27879 exclude_expsyms_CXX \
27880 include_expsyms_CXX \
27881 file_list_spec_CXX \
27882 compiler_lib_search_dirs_CXX \
27883 predep_objects_CXX \
27884 postdep_objects_CXX \
27887 compiler_lib_search_path_CXX; do
27888 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27889 *[\\\\\\\`\\"\\\$]*)
27890 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27893 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27898 # Double-quote double-evaled strings.
27899 for var in reload_cmds \
27900 old_postinstall_cmds \
27901 old_postuninstall_cmds \
27903 extract_expsyms_cmds \
27904 old_archive_from_new_cmds \
27905 old_archive_from_expsyms_cmds \
27907 archive_expsym_cmds \
27909 module_expsym_cmds \
27910 export_symbols_cmds \
27914 postuninstall_cmds \
27916 sys_lib_search_path_spec \
27917 configure_time_dlsearch_path \
27918 configure_time_lt_sys_library_path \
27920 old_archive_cmds_CXX \
27921 old_archive_from_new_cmds_CXX \
27922 old_archive_from_expsyms_cmds_CXX \
27924 archive_expsym_cmds_CXX \
27926 module_expsym_cmds_CXX \
27927 export_symbols_cmds_CXX \
27929 postlink_cmds_CXX; do
27930 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27931 *[\\\\\\\`\\"\\\$]*)
27932 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27935 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27940 ac_aux_dir='$ac_aux_dir'
27942 # See if we are running on zsh, and set the options that allow our
27943 # commands through without removal of \ escapes INIT.
27944 if test -n "\${ZSH_VERSION+set}"; then
27945 setopt NO_GLOB_SUBST
27959 SVN_DB_HEADER="$SVN_DB_HEADER"
27963 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27965 # Handling of arguments.
27966 for ac_config_target in $ac_config_targets
27968 case $ac_config_target in
27969 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27970 "subversion/svn_private_config.h.tmp") CONFIG_HEADERS="$CONFIG_HEADERS subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in" ;;
27971 "svn_private_config.h.tmp") CONFIG_COMMANDS="$CONFIG_COMMANDS svn_private_config.h.tmp" ;;
27972 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27973 "${pc_file}") CONFIG_FILES="$CONFIG_FILES ${pc_file}" ;;
27974 "tools/backup/hot-backup.py") CONFIG_FILES="$CONFIG_FILES tools/backup/hot-backup.py" ;;
27975 "tools/hook-scripts/commit-access-control.pl") CONFIG_FILES="$CONFIG_FILES tools/hook-scripts/commit-access-control.pl" ;;
27976 "subversion/bindings/swig/perl/native/Makefile.PL") CONFIG_FILES="$CONFIG_FILES subversion/bindings/swig/perl/native/Makefile.PL" ;;
27977 "packages/solaris/pkginfo") CONFIG_FILES="$CONFIG_FILES packages/solaris/pkginfo" ;;
27979 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27984 # If the user did not use the arguments to specify the items to instantiate,
27985 # then the envvar interface is used. Set only those that are not.
27986 # We use the long form for the default assignment because of an extremely
27987 # bizarre bug on SunOS 4.1.3.
27988 if $ac_need_defaults; then
27989 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27990 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27991 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27994 # Have a temporary directory for convenience. Make it in the build tree
27995 # simply because there is no reason against having it here, and in addition,
27996 # creating and moving files from /tmp can sometimes cause problems.
27997 # Hook for its removal unless debugging.
27998 # Note that there is a small window in which the directory will not be cleaned:
27999 # after its creation but before its name has been assigned to `$tmp'.
28003 trap 'exit_status=$?
28004 : "${ac_tmp:=$tmp}"
28005 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
28007 trap 'as_fn_exit 1' 1 2 13 15
28009 # Create a (secure) tmp directory for tmp files.
28012 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
28016 tmp=./conf$$-$RANDOM
28017 (umask 077 && mkdir "$tmp")
28018 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
28021 # Set up the scripts for CONFIG_FILES section.
28022 # No need to generate them if there are no CONFIG_FILES.
28023 # This happens for instance with `./config.status config.h'.
28024 if test -n "$CONFIG_FILES"; then
28027 ac_cr=`echo X | tr X '\015'`
28028 # On cygwin, bash can eat \r inside `` if the user requested igncr.
28029 # But we know of no other shell where ac_cr would be empty at this
28030 # point, so we can use a bashism as a fallback.
28031 if test "x$ac_cr" = x; then
28032 eval ac_cr=\$\'\\r\'
28034 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
28035 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
28038 ac_cs_awk_cr=$ac_cr
28041 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
28046 echo "cat >conf$$subs.awk <<_ACEOF" &&
28047 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
28049 } >conf$$subs.sh ||
28050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28051 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
28053 for ac_last_try in false false false false false :; do
28054 . ./conf$$subs.sh ||
28055 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28057 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
28058 if test $ac_delim_n = $ac_delim_num; then
28060 elif $ac_last_try; then
28061 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
28063 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28066 rm -f conf$$subs.sh
28068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28069 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
28073 s/^/S["/; s/!.*/"]=/
28083 s/\(.\{148\}\)..*/\1/
28085 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
28090 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28097 s/\(.\{148\}\)..*/\1/
28099 s/["\\]/\\&/g; s/^/"/; s/$/"/
28103 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
28108 ' <conf$$subs.awk | sed '
28113 ' >>$CONFIG_STATUS || ac_write_fail=1
28114 rm -f conf$$subs.awk
28115 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28117 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
28118 for (key in S) S_is_set[key] = 1
28124 nfields = split(line, field, "@")
28126 len = length(field[1])
28127 for (i = 2; i < nfields; i++) {
28129 keylen = length(key)
28130 if (S_is_set[key]) {
28132 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
28133 len += length(value) + length(field[++i])
28144 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28145 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
28146 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
28149 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
28150 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
28153 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
28154 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
28155 # trailing colons and then remove the whole line if VPATH becomes empty
28156 # (actually we leave an empty line to preserve line numbers).
28157 if test "x$srcdir" = x.; then
28158 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
28176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28177 fi # test -n "$CONFIG_FILES"
28179 # Set up the scripts for CONFIG_HEADERS section.
28180 # No need to generate them if there are no CONFIG_HEADERS.
28181 # This happens for instance with `./config.status Makefile'.
28182 if test -n "$CONFIG_HEADERS"; then
28183 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
28187 # Transform confdefs.h into an awk script `defines.awk', embedded as
28188 # here-document in config.status, that substitutes the proper values into
28189 # config.h.in to produce config.h.
28191 # Create a delimiter string that does not exist in confdefs.h, to ease
28192 # handling of long lines.
28194 for ac_last_try in false false :; do
28195 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
28196 if test -z "$ac_tt"; then
28198 elif $ac_last_try; then
28199 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
28201 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
28205 # For the awk script, D is an array of macro values keyed by name,
28206 # likewise P contains macro parameters if any. Preserve backslash
28207 # newline sequences.
28209 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
28211 s/.\{148\}/&'"$ac_delim"'/g
28214 s/^[ ]*#[ ]*define[ ][ ]*/ /
28221 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28223 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
28227 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
28228 D["\1"]=" \3\\\\\\n"\\/p
28230 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
28235 s/.\{148\}/&'"$ac_delim"'/g
28240 s/["\\]/\\&/g; s/^/"/; s/$/"/p
28243 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
28245 ' <confdefs.h | sed '
28246 s/'"$ac_delim"'/"\\\
28247 "/g' >>$CONFIG_STATUS || ac_write_fail=1
28249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28250 for (key in D) D_is_set[key] = 1
28253 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
28255 split(line, arg, " ")
28256 if (arg[1] == "#") {
28260 defundef = substr(arg[1], 2)
28263 split(mac1, mac2, "(") #)
28265 prefix = substr(line, 1, index(line, defundef) - 1)
28266 if (D_is_set[macro]) {
28267 # Preserve the white space surrounding the "#".
28268 print prefix "define", macro P[macro] D[macro]
28271 # Replace #undef with comments. This is necessary, for example,
28272 # in the case of _POSIX_SOURCE, which is predefined and required
28273 # on some systems where configure will not decide to define it.
28274 if (defundef == "undef") {
28275 print "/*", prefix defundef, macro, "*/"
28283 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28284 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
28285 fi # test -n "$CONFIG_HEADERS"
28288 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
28293 :[FHLC]) ac_mode=$ac_tag; continue;;
28295 case $ac_mode$ac_tag in
28297 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
28298 :[FH]-) ac_tag=-:-;;
28299 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
28316 -) ac_f="$ac_tmp/stdin";;
28317 *) # Look for the file first in the build tree, then in the source tree
28318 # (if the path is not absolute). The absolute path cannot be DOS-style,
28319 # because $ac_f cannot contain `:'.
28323 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
28325 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
28327 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
28328 as_fn_append ac_file_inputs " '$ac_f'"
28331 # Let's still pretend it is `configure' which instantiates (i.e., don't
28332 # use $as_me), people would be surprised to read:
28333 # /* config.h. Generated by config.status. */
28334 configure_input='Generated from '`
28335 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
28337 if test x"$ac_file" != x-; then
28338 configure_input="$ac_file. $configure_input"
28339 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
28340 $as_echo "$as_me: creating $ac_file" >&6;}
28342 # Neutralize special characters interpreted by sed in replacement strings.
28343 case $configure_input in #(
28344 *\&* | *\|* | *\\* )
28345 ac_sed_conf_input=`$as_echo "$configure_input" |
28346 sed 's/[\\\\&|]/\\\\&/g'`;; #(
28347 *) ac_sed_conf_input=$configure_input;;
28351 *:-:* | *:-) cat >"$ac_tmp/stdin" \
28352 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
28357 ac_dir=`$as_dirname -- "$ac_file" ||
28358 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
28359 X"$ac_file" : 'X\(//\)[^/]' \| \
28360 X"$ac_file" : 'X\(//\)$' \| \
28361 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
28362 $as_echo X"$ac_file" |
28363 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
28367 /^X\(\/\/\)[^/].*/{
28380 as_dir="$ac_dir"; as_fn_mkdir_p
28384 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
28386 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
28387 # A ".." for each directory in $ac_dir_suffix.
28388 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
28389 case $ac_top_builddir_sub in
28390 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
28391 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
28394 ac_abs_top_builddir=$ac_pwd
28395 ac_abs_builddir=$ac_pwd$ac_dir_suffix
28396 # for backward compatibility:
28397 ac_top_builddir=$ac_top_build_prefix
28400 .) # We are building in place.
28402 ac_top_srcdir=$ac_top_builddir_sub
28403 ac_abs_top_srcdir=$ac_pwd ;;
28404 [\\/]* | ?:[\\/]* ) # Absolute name.
28405 ac_srcdir=$srcdir$ac_dir_suffix;
28406 ac_top_srcdir=$srcdir
28407 ac_abs_top_srcdir=$srcdir ;;
28408 *) # Relative name.
28409 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
28410 ac_top_srcdir=$ac_top_build_prefix$srcdir
28411 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
28413 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
28423 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
28424 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
28428 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28429 # If the template does not know about datarootdir, expand it.
28430 # FIXME: This hack should be removed a few years after 2.60.
28431 ac_datarootdir_hack=; ac_datarootdir_seen=
28442 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
28443 *datarootdir*) ac_datarootdir_seen=yes;;
28444 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
28445 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
28446 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
28448 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28449 ac_datarootdir_hack='
28450 s&@datadir@&$datadir&g
28451 s&@docdir@&$docdir&g
28452 s&@infodir@&$infodir&g
28453 s&@localedir@&$localedir&g
28454 s&@mandir@&$mandir&g
28455 s&\\\${datarootdir}&$datarootdir&g' ;;
28459 # Neutralize VPATH when `$srcdir' = `.'.
28460 # Shell code in configure.ac might set extrasub.
28461 # FIXME: do we really want to maintain this feature?
28462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
28463 ac_sed_extra="$ac_vpsub
28466 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
28468 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
28469 s|@configure_input@|$ac_sed_conf_input|;t t
28470 s&@top_builddir@&$ac_top_builddir_sub&;t t
28471 s&@top_build_prefix@&$ac_top_build_prefix&;t t
28472 s&@srcdir@&$ac_srcdir&;t t
28473 s&@abs_srcdir@&$ac_abs_srcdir&;t t
28474 s&@top_srcdir@&$ac_top_srcdir&;t t
28475 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
28476 s&@builddir@&$ac_builddir&;t t
28477 s&@abs_builddir@&$ac_abs_builddir&;t t
28478 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
28479 s&@INSTALL@&$ac_INSTALL&;t t
28480 $ac_datarootdir_hack
28482 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
28483 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28485 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
28486 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
28487 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
28488 "$ac_tmp/out"`; test -z "$ac_out"; } &&
28489 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28490 which seems to be undefined. Please make sure it is defined" >&5
28491 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
28492 which seems to be undefined. Please make sure it is defined" >&2;}
28494 rm -f "$ac_tmp/stdin"
28496 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
28497 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
28499 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28505 if test x"$ac_file" != x-; then
28507 $as_echo "/* $configure_input */" \
28508 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
28509 } >"$ac_tmp/config.h" \
28510 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28511 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
28512 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
28513 $as_echo "$as_me: $ac_file is unchanged" >&6;}
28516 mv "$ac_tmp/config.h" "$ac_file" \
28517 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
28520 $as_echo "/* $configure_input */" \
28521 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
28522 || as_fn_error $? "could not create -" "$LINENO" 5
28526 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
28527 $as_echo "$as_me: executing $ac_file commands" >&6;}
28532 case $ac_file$ac_mode in
28535 # See if we are running on zsh, and set the options that allow our
28536 # commands through without removal of \ escapes.
28537 if test -n "${ZSH_VERSION+set}"; then
28538 setopt NO_GLOB_SUBST
28542 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
28545 cat <<_LT_EOF >> "$cfgfile"
28547 # Generated automatically by $as_me ($PACKAGE) $VERSION
28548 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
28549 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
28551 # Provide generalized library-building support services.
28552 # Written by Gordon Matzigkeit, 1996
28554 # Copyright (C) 2014 Free Software Foundation, Inc.
28555 # This is free software; see the source for copying conditions. There is NO
28556 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
28558 # GNU Libtool is free software; you can redistribute it and/or modify
28559 # it under the terms of the GNU General Public License as published by
28560 # the Free Software Foundation; either version 2 of of the License, or
28561 # (at your option) any later version.
28563 # As a special exception to the GNU General Public License, if you
28564 # distribute this file as part of a program or library that is built
28565 # using GNU Libtool, you may include this file under the same
28566 # distribution terms that you use for the rest of that program.
28568 # GNU Libtool is distributed in the hope that it will be useful, but
28569 # WITHOUT ANY WARRANTY; without even the implied warranty of
28570 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
28571 # GNU General Public License for more details.
28573 # You should have received a copy of the GNU General Public License
28574 # along with this program. If not, see <http://www.gnu.org/licenses/>.
28577 # The names of the tagged configurations supported by this script.
28578 available_tags='CXX '
28580 # Configured defaults for sys_lib_dlsearch_path munging.
28581 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
28583 # ### BEGIN LIBTOOL CONFIG
28585 # Which release of libtool.m4 was used?
28586 macro_version=$macro_version
28587 macro_revision=$macro_revision
28589 # Whether or not to build shared libraries.
28590 build_libtool_libs=$enable_shared
28592 # Whether or not to build static libraries.
28593 build_old_libs=$enable_static
28595 # What type of objects to build.
28598 # Whether or not to optimize for fast installation.
28599 fast_install=$enable_fast_install
28601 # Shared archive member basename,for filename based shared library versioning on AIX.
28602 shared_archive_member_spec=$shared_archive_member_spec
28604 # Shell to use when invoking shell scripts.
28607 # An echo program that protects backslashes.
28610 # The PATH separator for the build system.
28611 PATH_SEPARATOR=$lt_PATH_SEPARATOR
28614 host_alias=$host_alias
28618 # The build system.
28619 build_alias=$build_alias
28623 # A sed program that does not truncate output.
28626 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
28627 Xsed="\$SED -e 1s/^X//"
28629 # A grep program that handles long lines.
28635 # A literal string matcher.
28638 # A BSD- or MS-compatible name lister.
28641 # Whether we need soft or hard links.
28644 # What is the maximum length of a command?
28645 max_cmd_len=$max_cmd_len
28647 # Object file suffix (normally "o").
28650 # Executable file suffix (normally "").
28653 # whether the shell understands "unset".
28656 # turn spaces into newlines.
28659 # turn newlines into spaces.
28662 # convert \$build file names to \$host format.
28663 to_host_file_cmd=$lt_cv_to_host_file_cmd
28665 # convert \$build files to toolchain format.
28666 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28668 # An object symbol dumper.
28669 OBJDUMP=$lt_OBJDUMP
28671 # Method to check whether dependent libraries are shared objects.
28672 deplibs_check_method=$lt_deplibs_check_method
28674 # Command to use when deplibs_check_method = "file_magic".
28675 file_magic_cmd=$lt_file_magic_cmd
28677 # How to find potential files when deplibs_check_method = "file_magic".
28678 file_magic_glob=$lt_file_magic_glob
28680 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28681 want_nocaseglob=$lt_want_nocaseglob
28683 # DLL creation program.
28684 DLLTOOL=$lt_DLLTOOL
28686 # Command to associate shared and link libraries.
28687 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28692 # Flags to create an archive.
28693 AR_FLAGS=$lt_AR_FLAGS
28695 # How to feed a file listing to the archiver.
28696 archiver_list_spec=$lt_archiver_list_spec
28698 # A symbol stripping program.
28701 # Commands used to install an old-style archive.
28703 old_postinstall_cmds=$lt_old_postinstall_cmds
28704 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28706 # Whether to use a lock for old archive extraction.
28707 lock_old_archive_extraction=$lock_old_archive_extraction
28712 # LTCC compiler flags.
28713 LTCFLAGS=$lt_CFLAGS
28715 # Take the output of nm and produce a listing of raw symbols and C names.
28716 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28718 # Transform the output of nm in a proper C declaration.
28719 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28721 # Transform the output of nm into a list of symbols to manually relocate.
28722 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
28724 # Transform the output of nm in a C name address pair.
28725 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28727 # Transform the output of nm in a C name address pair when lib prefix is needed.
28728 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28730 # The name lister interface.
28731 nm_interface=$lt_lt_cv_nm_interface
28733 # Specify filename containing input files for \$NM.
28734 nm_file_list_spec=$lt_nm_file_list_spec
28736 # The root where to search for dependent libraries,and where our libraries should be installed.
28737 lt_sysroot=$lt_sysroot
28739 # Command to truncate a binary pipe.
28740 lt_truncate_bin=$lt_lt_cv_truncate_bin
28742 # The name of the directory that contains temporary libtool files.
28745 # Used to examine libraries when file_magic_cmd begins with "file".
28746 MAGIC_CMD=$MAGIC_CMD
28748 # Must we lock files when doing compilation?
28749 need_locks=$lt_need_locks
28752 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28754 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28755 DSYMUTIL=$lt_DSYMUTIL
28757 # Tool to change global to local symbols on Mac OS X.
28760 # Tool to manipulate fat objects and archives on Mac OS X.
28763 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28766 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28767 OTOOL64=$lt_OTOOL64
28769 # Old archive suffix (normally "a").
28772 # Shared library suffix (normally ".so").
28773 shrext_cmds=$lt_shrext_cmds
28775 # The commands to extract the exported symbol list from a shared archive.
28776 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28778 # Variables whose values should be saved in libtool wrapper scripts and
28779 # restored at link time.
28780 variables_saved_for_relink=$lt_variables_saved_for_relink
28782 # Do we need the "lib" prefix for modules?
28783 need_lib_prefix=$need_lib_prefix
28785 # Do we need a version for libraries?
28786 need_version=$need_version
28788 # Library versioning type.
28789 version_type=$version_type
28791 # Shared library runtime path variable.
28792 runpath_var=$runpath_var
28794 # Shared library path variable.
28795 shlibpath_var=$shlibpath_var
28797 # Is shlibpath searched before the hard-coded library search path?
28798 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28800 # Format of library name prefix.
28801 libname_spec=$lt_libname_spec
28803 # List of archive names. First name is the real one, the rest are links.
28804 # The last name is the one that the linker finds with -lNAME
28805 library_names_spec=$lt_library_names_spec
28807 # The coded name of the library, if different from the real name.
28808 soname_spec=$lt_soname_spec
28810 # Permission mode override for installation of shared libraries.
28811 install_override_mode=$lt_install_override_mode
28813 # Command to use after installation of a shared archive.
28814 postinstall_cmds=$lt_postinstall_cmds
28816 # Command to use after uninstallation of a shared archive.
28817 postuninstall_cmds=$lt_postuninstall_cmds
28819 # Commands used to finish a libtool library installation in a directory.
28820 finish_cmds=$lt_finish_cmds
28822 # As "finish_cmds", except a single script fragment to be evaled but
28824 finish_eval=$lt_finish_eval
28826 # Whether we should hardcode library paths into libraries.
28827 hardcode_into_libs=$hardcode_into_libs
28829 # Compile-time system search path for libraries.
28830 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28832 # Detected run-time system search path for libraries.
28833 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
28835 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
28836 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
28838 # Whether dlopen is supported.
28839 dlopen_support=$enable_dlopen
28841 # Whether dlopen of programs is supported.
28842 dlopen_self=$enable_dlopen_self
28844 # Whether dlopen of statically linked programs is supported.
28845 dlopen_self_static=$enable_dlopen_self_static
28847 # Commands to strip libraries.
28848 old_striplib=$lt_old_striplib
28849 striplib=$lt_striplib
28852 # The linker used to build libraries.
28855 # How to create reloadable object files.
28856 reload_flag=$lt_reload_flag
28857 reload_cmds=$lt_reload_cmds
28859 # Commands used to build an old-style archive.
28860 old_archive_cmds=$lt_old_archive_cmds
28862 # A language specific compiler.
28865 # Is the compiler the GNU compiler?
28868 # Compiler flag to turn off builtin functions.
28869 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28871 # Additional compiler flags for building library objects.
28872 pic_flag=$lt_lt_prog_compiler_pic
28874 # How to pass a linker flag through the compiler.
28875 wl=$lt_lt_prog_compiler_wl
28877 # Compiler flag to prevent dynamic linking.
28878 link_static_flag=$lt_lt_prog_compiler_static
28880 # Does compiler simultaneously support -c and -o options?
28881 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28883 # Whether or not to add -lc for building shared libraries.
28884 build_libtool_need_lc=$archive_cmds_need_lc
28886 # Whether or not to disallow shared libs when runtime libs are static.
28887 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28889 # Compiler flag to allow reflexive dlopens.
28890 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28892 # Compiler flag to generate shared objects directly from archives.
28893 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28895 # Whether the compiler copes with passing no objects directly.
28896 compiler_needs_object=$lt_compiler_needs_object
28898 # Create an old-style archive from a shared archive.
28899 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28901 # Create a temporary old-style archive to link instead of a shared archive.
28902 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28904 # Commands used to build a shared archive.
28905 archive_cmds=$lt_archive_cmds
28906 archive_expsym_cmds=$lt_archive_expsym_cmds
28908 # Commands used to build a loadable module if different from building
28909 # a shared archive.
28910 module_cmds=$lt_module_cmds
28911 module_expsym_cmds=$lt_module_expsym_cmds
28913 # Whether we are building with GNU ld or not.
28914 with_gnu_ld=$lt_with_gnu_ld
28916 # Flag that allows shared libraries with undefined symbols to be built.
28917 allow_undefined_flag=$lt_allow_undefined_flag
28919 # Flag that enforces no undefined symbols.
28920 no_undefined_flag=$lt_no_undefined_flag
28922 # Flag to hardcode \$libdir into a binary during linking.
28923 # This must work even if \$libdir does not exist
28924 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28926 # Whether we need a single "-rpath" flag with a separated argument.
28927 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28929 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28930 # DIR into the resulting binary.
28931 hardcode_direct=$hardcode_direct
28933 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28934 # DIR into the resulting binary and the resulting library dependency is
28935 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28936 # library is relocated.
28937 hardcode_direct_absolute=$hardcode_direct_absolute
28939 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28940 # into the resulting binary.
28941 hardcode_minus_L=$hardcode_minus_L
28943 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28944 # into the resulting binary.
28945 hardcode_shlibpath_var=$hardcode_shlibpath_var
28947 # Set to "yes" if building a shared library automatically hardcodes DIR
28948 # into the library and all subsequent libraries and executables linked
28950 hardcode_automatic=$hardcode_automatic
28952 # Set to yes if linker adds runtime paths of dependent libraries
28953 # to runtime path list.
28954 inherit_rpath=$inherit_rpath
28956 # Whether libtool must link a program against all its dependency libraries.
28957 link_all_deplibs=$link_all_deplibs
28959 # Set to "yes" if exported symbols are required.
28960 always_export_symbols=$always_export_symbols
28962 # The commands to list exported symbols.
28963 export_symbols_cmds=$lt_export_symbols_cmds
28965 # Symbols that should not be listed in the preloaded symbols.
28966 exclude_expsyms=$lt_exclude_expsyms
28968 # Symbols that must always be exported.
28969 include_expsyms=$lt_include_expsyms
28971 # Commands necessary for linking programs (against libraries) with templates.
28972 prelink_cmds=$lt_prelink_cmds
28974 # Commands necessary for finishing linking programs.
28975 postlink_cmds=$lt_postlink_cmds
28977 # Specify filename containing input files.
28978 file_list_spec=$lt_file_list_spec
28980 # How to hardcode a shared library path into an executable.
28981 hardcode_action=$hardcode_action
28983 # The directories searched by this compiler when creating a shared library.
28984 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28986 # Dependencies to place before and after the objects being linked to
28987 # create a shared library.
28988 predep_objects=$lt_predep_objects
28989 postdep_objects=$lt_postdep_objects
28990 predeps=$lt_predeps
28991 postdeps=$lt_postdeps
28993 # The library search path used internally by the compiler when linking
28994 # a shared library.
28995 compiler_lib_search_path=$lt_compiler_lib_search_path
28997 # ### END LIBTOOL CONFIG
29001 cat <<'_LT_EOF' >> "$cfgfile"
29003 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
29005 # func_munge_path_list VARIABLE PATH
29006 # -----------------------------------
29007 # VARIABLE is name of variable containing _space_ separated list of
29008 # directories to be munged by the contents of PATH, which is string
29011 # string "DIR[ DIR]" will be prepended to VARIABLE
29013 # string "DIR[ DIR]" will be appended to VARIABLE
29014 # "DIRP[:DIRP]::[DIRA:]DIRA"
29015 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
29016 # "DIRA[ DIRA]" will be appended to VARIABLE
29018 # VARIABLE will be replaced by "DIR[ DIR]"
29019 func_munge_path_list ()
29025 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
29028 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
29031 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
29032 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
29035 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
29041 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
29042 func_cc_basename ()
29044 for cc_temp in $*""; do
29046 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
29047 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
29052 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
29056 # ### END FUNCTIONS SHARED WITH CONFIGURE
29062 cat <<\_LT_EOF >> "$cfgfile"
29063 # AIX sometimes has problems with the GCC collect2 program. For some
29064 # reason, if we set the COLLECT_NAMES environment variable, the problems
29065 # vanish in a puff of smoke.
29066 if test set != "${COLLECT_NAMES+set}"; then
29068 export COLLECT_NAMES
29075 ltmain=$ac_aux_dir/ltmain.sh
29078 # We use sed instead of cat because bash on DJGPP gets confused if
29079 # if finds mixed CR/LF and LF-only lines. Since sed operates in
29080 # text mode, it properly converts lines to CR/LF. This bash problem
29081 # is reportedly fixed, but why not run on old versions too?
29082 sed '$q' "$ltmain" >> "$cfgfile" \
29083 || (rm -f "$cfgfile"; exit 1)
29085 mv -f "$cfgfile" "$ofile" ||
29086 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
29090 cat <<_LT_EOF >> "$ofile"
29092 # ### BEGIN LIBTOOL TAG CONFIG: CXX
29094 # The linker used to build libraries.
29097 # How to create reloadable object files.
29098 reload_flag=$lt_reload_flag_CXX
29099 reload_cmds=$lt_reload_cmds_CXX
29101 # Commands used to build an old-style archive.
29102 old_archive_cmds=$lt_old_archive_cmds_CXX
29104 # A language specific compiler.
29105 CC=$lt_compiler_CXX
29107 # Is the compiler the GNU compiler?
29110 # Compiler flag to turn off builtin functions.
29111 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
29113 # Additional compiler flags for building library objects.
29114 pic_flag=$lt_lt_prog_compiler_pic_CXX
29116 # How to pass a linker flag through the compiler.
29117 wl=$lt_lt_prog_compiler_wl_CXX
29119 # Compiler flag to prevent dynamic linking.
29120 link_static_flag=$lt_lt_prog_compiler_static_CXX
29122 # Does compiler simultaneously support -c and -o options?
29123 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
29125 # Whether or not to add -lc for building shared libraries.
29126 build_libtool_need_lc=$archive_cmds_need_lc_CXX
29128 # Whether or not to disallow shared libs when runtime libs are static.
29129 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
29131 # Compiler flag to allow reflexive dlopens.
29132 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
29134 # Compiler flag to generate shared objects directly from archives.
29135 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
29137 # Whether the compiler copes with passing no objects directly.
29138 compiler_needs_object=$lt_compiler_needs_object_CXX
29140 # Create an old-style archive from a shared archive.
29141 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
29143 # Create a temporary old-style archive to link instead of a shared archive.
29144 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
29146 # Commands used to build a shared archive.
29147 archive_cmds=$lt_archive_cmds_CXX
29148 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
29150 # Commands used to build a loadable module if different from building
29151 # a shared archive.
29152 module_cmds=$lt_module_cmds_CXX
29153 module_expsym_cmds=$lt_module_expsym_cmds_CXX
29155 # Whether we are building with GNU ld or not.
29156 with_gnu_ld=$lt_with_gnu_ld_CXX
29158 # Flag that allows shared libraries with undefined symbols to be built.
29159 allow_undefined_flag=$lt_allow_undefined_flag_CXX
29161 # Flag that enforces no undefined symbols.
29162 no_undefined_flag=$lt_no_undefined_flag_CXX
29164 # Flag to hardcode \$libdir into a binary during linking.
29165 # This must work even if \$libdir does not exist
29166 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
29168 # Whether we need a single "-rpath" flag with a separated argument.
29169 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
29171 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29172 # DIR into the resulting binary.
29173 hardcode_direct=$hardcode_direct_CXX
29175 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
29176 # DIR into the resulting binary and the resulting library dependency is
29177 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
29178 # library is relocated.
29179 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
29181 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
29182 # into the resulting binary.
29183 hardcode_minus_L=$hardcode_minus_L_CXX
29185 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
29186 # into the resulting binary.
29187 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
29189 # Set to "yes" if building a shared library automatically hardcodes DIR
29190 # into the library and all subsequent libraries and executables linked
29192 hardcode_automatic=$hardcode_automatic_CXX
29194 # Set to yes if linker adds runtime paths of dependent libraries
29195 # to runtime path list.
29196 inherit_rpath=$inherit_rpath_CXX
29198 # Whether libtool must link a program against all its dependency libraries.
29199 link_all_deplibs=$link_all_deplibs_CXX
29201 # Set to "yes" if exported symbols are required.
29202 always_export_symbols=$always_export_symbols_CXX
29204 # The commands to list exported symbols.
29205 export_symbols_cmds=$lt_export_symbols_cmds_CXX
29207 # Symbols that should not be listed in the preloaded symbols.
29208 exclude_expsyms=$lt_exclude_expsyms_CXX
29210 # Symbols that must always be exported.
29211 include_expsyms=$lt_include_expsyms_CXX
29213 # Commands necessary for linking programs (against libraries) with templates.
29214 prelink_cmds=$lt_prelink_cmds_CXX
29216 # Commands necessary for finishing linking programs.
29217 postlink_cmds=$lt_postlink_cmds_CXX
29219 # Specify filename containing input files.
29220 file_list_spec=$lt_file_list_spec_CXX
29222 # How to hardcode a shared library path into an executable.
29223 hardcode_action=$hardcode_action_CXX
29225 # The directories searched by this compiler when creating a shared library.
29226 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
29228 # Dependencies to place before and after the objects being linked to
29229 # create a shared library.
29230 predep_objects=$lt_predep_objects_CXX
29231 postdep_objects=$lt_postdep_objects_CXX
29232 predeps=$lt_predeps_CXX
29233 postdeps=$lt_postdeps_CXX
29235 # The library search path used internally by the compiler when linking
29236 # a shared library.
29237 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
29239 # ### END LIBTOOL TAG CONFIG: CXX
29243 "svn_private_config.h.tmp":C) svn_cf=subversion/svn_private_config.h;
29244 $SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" $svn_cf.tmp > $svn_cf.tmp.new
29245 cmp -s $svn_cf.tmp.new $svn_cf || mv -f $svn_cf.tmp.new $svn_cf
29246 rm -f $svn_cf.tmp.new $svn_cf.tmp ;;
29247 "tools/backup/hot-backup.py":F) chmod +x tools/backup/hot-backup.py ;;
29248 "tools/hook-scripts/commit-access-control.pl":F) chmod +x tools/hook-scripts/commit-access-control.pl ;;
29249 "subversion/bindings/swig/perl/native/Makefile.PL":F) chmod +x subversion/bindings/swig/perl/native/Makefile.PL ;;
29250 "packages/solaris/pkginfo":F) chmod +x packages/solaris/pkginfo ;;
29258 ac_clean_files=$ac_clean_files_save
29260 test $ac_write_fail = 0 ||
29261 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
29264 # configure is writing to config.log, and then calls config.status.
29265 # config.status does its own redirection, appending to config.log.
29266 # Unfortunately, on DOS this fails, as config.log is still kept open
29267 # by configure, so config.status won't be able to write to it; its
29268 # output is simply discarded. So we exec the FD to /dev/null,
29269 # effectively closing config.log, so it can be properly (re)opened and
29270 # appended to by config.status. When coming back to configure, we
29271 # need to make the FD available again.
29272 if test "$no_create" != yes; then
29274 ac_config_status_args=
29275 test "$silent" = yes &&
29276 ac_config_status_args="$ac_config_status_args --quiet"
29278 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
29280 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
29281 # would make configure fail if this is the last instruction.
29282 $ac_cs_success || as_fn_exit 1
29284 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
29285 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
29286 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
29290 # ==== Print final messages to user ==========================================
29293 if test "$svn_have_berkeley_db" = "no6" && test "$enable_bdb6" != "no"; then
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We have configured without BDB filesystem support
29297 Berkeley DB 6 was found, but not used. Please re-run configure (see
29298 ./config.nice) with the '--enable-bdb6' flag to use it,
29299 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
29300 to silence this warning.
29302 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
29303 General Public License, version 3:
29304 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
29306 The AGPL-3.0 licence may impose special requirements for making available
29307 source code of server-side software. The text of the licence is:
29308 https://www.gnu.org/licenses/agpl-3.0.html
29309 http://opensource.org/licenses/AGPL-3.0
29311 The Berkeley DB backend to Subversion is deprecated; see
29312 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
29314 The Subversion developers have not tested Subversion with Berkeley DB 6 for
29315 technical problems or bugs.
29317 $as_echo "$as_me: WARNING: We have configured without BDB filesystem support
29320 Berkeley DB 6 was found, but not used. Please re-run configure (see
29321 ./config.nice) with the '--enable-bdb6' flag to use it,
29322 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
29323 to silence this warning.
29325 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
29326 General Public License, version 3:
29327 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
29329 The AGPL-3.0 licence may impose special requirements for making available
29330 source code of server-side software. The text of the licence is:
29331 https://www.gnu.org/licenses/agpl-3.0.html
29332 http://opensource.org/licenses/AGPL-3.0
29334 The Berkeley DB backend to Subversion is deprecated; see
29335 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
29337 The Subversion developers have not tested Subversion with Berkeley DB 6 for
29338 technical problems or bugs.