2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for subversion 1.9.4.
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.9.4'
594 PACKAGE_STRING='subversion 1.9.4'
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
639 JAVAHL_COMPAT_TESTS_TARGET
645 INSTALL_EXTRA_JAVAHL_LIB
647 SVN_FS_LIB_INSTALL_DEPS
650 SVN_RA_LIB_INSTALL_DEPS
654 SWIG_RB_SITE_ARCH_DIR
688 libsvn_ra_svn_LDFLAGS
689 libsvn_ra_serf_LDFLAGS
690 libsvn_ra_local_LDFLAGS
692 libsvn_fs_util_LDFLAGS
694 libsvn_fs_base_LDFLAGS
698 libsvn_client_LDFLAGS
699 libsvn_auth_kwallet_LDFLAGS
700 libsvn_auth_gnome_keyring_LDFLAGS
721 SVN_GNOME_KEYRING_LIBS
722 SVN_GNOME_KEYRING_INCLUDES
733 TRANSFORM_LIBTOOL_SCRIPTS
767 SVN_APR_MEMCACHE_LIBS
768 SVN_APR_MEMCACHE_INCLUDES
773 SVN_APR_MAJOR_VERSION
777 SVN_APR_SHLIB_PATH_VAR
851 program_transform_name
864 enable_option_checking
870 with_apache_libexecdir
871 enable_broken_httpd_auth
873 enable_sqlite_compatibility_version
882 enable_experimental_libtool
884 enable_local_library_preloading
899 enable_plaintext_password_storage
902 enable_disallowing_of_undefined_references
903 enable_maintainer_mode
904 enable_full_version_match
907 enable_mod_activation
914 with_ruby_test_verbose
916 enable_runtime_module_search
920 ac_precious_vars='build_alias
936 # Initialize some variables set by options.
938 ac_init_version=false
939 ac_unrecognized_opts=
941 # The variables have the same names as the options, with
942 # dashes changed to underlines.
950 program_transform_name=s,x,x,
958 # Installation directory options.
959 # These are left unexpanded so users can "make install exec_prefix=/foo"
960 # and all the variables that are supposed to be based on exec_prefix
961 # by default will actually change.
962 # Use braces instead of parens because sh, perl, etc. also accept them.
963 # (The list follows the same order as the GNU Coding Standards.)
964 bindir='${exec_prefix}/bin'
965 sbindir='${exec_prefix}/sbin'
966 libexecdir='${exec_prefix}/libexec'
967 datarootdir='${prefix}/share'
968 datadir='${datarootdir}'
969 sysconfdir='${prefix}/etc'
970 sharedstatedir='${prefix}/com'
971 localstatedir='${prefix}/var'
972 includedir='${prefix}/include'
973 oldincludedir='/usr/include'
974 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
975 infodir='${datarootdir}/info'
980 libdir='${exec_prefix}/lib'
981 localedir='${datarootdir}/locale'
982 mandir='${datarootdir}/man'
988 # If the previous option needs an argument, assign it.
989 if test -n "$ac_prev"; then
990 eval $ac_prev=\$ac_option
996 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1001 # Accept the important Cygnus configure options, so we can diagnose typos.
1003 case $ac_dashdash$ac_option in
1007 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1009 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1010 bindir=$ac_optarg ;;
1012 -build | --build | --buil | --bui | --bu)
1013 ac_prev=build_alias ;;
1014 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1015 build_alias=$ac_optarg ;;
1017 -cache-file | --cache-file | --cache-fil | --cache-fi \
1018 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1019 ac_prev=cache_file ;;
1020 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1021 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1022 cache_file=$ac_optarg ;;
1024 --config-cache | -C)
1025 cache_file=config.cache ;;
1027 -datadir | --datadir | --datadi | --datad)
1029 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1030 datadir=$ac_optarg ;;
1032 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1033 | --dataroo | --dataro | --datar)
1034 ac_prev=datarootdir ;;
1035 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1036 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1037 datarootdir=$ac_optarg ;;
1039 -disable-* | --disable-*)
1040 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1043 as_fn_error $? "invalid feature name: $ac_useropt"
1044 ac_useropt_orig=$ac_useropt
1045 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1048 "enable_$ac_useropt"
1050 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1051 ac_unrecognized_sep=', ';;
1053 eval enable_$ac_useropt=no ;;
1055 -docdir | --docdir | --docdi | --doc | --do)
1057 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1058 docdir=$ac_optarg ;;
1060 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1062 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1063 dvidir=$ac_optarg ;;
1065 -enable-* | --enable-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 as_fn_error $? "invalid feature name: $ac_useropt"
1070 ac_useropt_orig=$ac_useropt
1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1074 "enable_$ac_useropt"
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1079 eval enable_$ac_useropt=\$ac_optarg ;;
1081 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1082 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1083 | --exec | --exe | --ex)
1084 ac_prev=exec_prefix ;;
1085 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1086 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1087 | --exec=* | --exe=* | --ex=*)
1088 exec_prefix=$ac_optarg ;;
1090 -gas | --gas | --ga | --g)
1091 # Obsolete; use --with-gas.
1094 -help | --help | --hel | --he | -h)
1095 ac_init_help=long ;;
1096 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1097 ac_init_help=recursive ;;
1098 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1099 ac_init_help=short ;;
1101 -host | --host | --hos | --ho)
1102 ac_prev=host_alias ;;
1103 -host=* | --host=* | --hos=* | --ho=*)
1104 host_alias=$ac_optarg ;;
1106 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1108 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1110 htmldir=$ac_optarg ;;
1112 -includedir | --includedir | --includedi | --included | --include \
1113 | --includ | --inclu | --incl | --inc)
1114 ac_prev=includedir ;;
1115 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1116 | --includ=* | --inclu=* | --incl=* | --inc=*)
1117 includedir=$ac_optarg ;;
1119 -infodir | --infodir | --infodi | --infod | --info | --inf)
1121 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1122 infodir=$ac_optarg ;;
1124 -libdir | --libdir | --libdi | --libd)
1126 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1127 libdir=$ac_optarg ;;
1129 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1130 | --libexe | --libex | --libe)
1131 ac_prev=libexecdir ;;
1132 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1133 | --libexe=* | --libex=* | --libe=*)
1134 libexecdir=$ac_optarg ;;
1136 -localedir | --localedir | --localedi | --localed | --locale)
1137 ac_prev=localedir ;;
1138 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1139 localedir=$ac_optarg ;;
1141 -localstatedir | --localstatedir | --localstatedi | --localstated \
1142 | --localstate | --localstat | --localsta | --localst | --locals)
1143 ac_prev=localstatedir ;;
1144 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1145 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1146 localstatedir=$ac_optarg ;;
1148 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1150 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1151 mandir=$ac_optarg ;;
1153 -nfp | --nfp | --nf)
1154 # Obsolete; use --without-fp.
1157 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1158 | --no-cr | --no-c | -n)
1161 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1162 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1165 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1166 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1167 | --oldin | --oldi | --old | --ol | --o)
1168 ac_prev=oldincludedir ;;
1169 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1170 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1171 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1172 oldincludedir=$ac_optarg ;;
1174 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1176 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1177 prefix=$ac_optarg ;;
1179 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1180 | --program-pre | --program-pr | --program-p)
1181 ac_prev=program_prefix ;;
1182 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1183 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1184 program_prefix=$ac_optarg ;;
1186 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1187 | --program-suf | --program-su | --program-s)
1188 ac_prev=program_suffix ;;
1189 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1190 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1191 program_suffix=$ac_optarg ;;
1193 -program-transform-name | --program-transform-name \
1194 | --program-transform-nam | --program-transform-na \
1195 | --program-transform-n | --program-transform- \
1196 | --program-transform | --program-transfor \
1197 | --program-transfo | --program-transf \
1198 | --program-trans | --program-tran \
1199 | --progr-tra | --program-tr | --program-t)
1200 ac_prev=program_transform_name ;;
1201 -program-transform-name=* | --program-transform-name=* \
1202 | --program-transform-nam=* | --program-transform-na=* \
1203 | --program-transform-n=* | --program-transform-=* \
1204 | --program-transform=* | --program-transfor=* \
1205 | --program-transfo=* | --program-transf=* \
1206 | --program-trans=* | --program-tran=* \
1207 | --progr-tra=* | --program-tr=* | --program-t=*)
1208 program_transform_name=$ac_optarg ;;
1210 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1212 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1213 pdfdir=$ac_optarg ;;
1215 -psdir | --psdir | --psdi | --psd | --ps)
1217 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1220 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1221 | -silent | --silent | --silen | --sile | --sil)
1224 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1226 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1228 sbindir=$ac_optarg ;;
1230 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1231 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1232 | --sharedst | --shareds | --shared | --share | --shar \
1234 ac_prev=sharedstatedir ;;
1235 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1236 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1237 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1239 sharedstatedir=$ac_optarg ;;
1241 -site | --site | --sit)
1243 -site=* | --site=* | --sit=*)
1246 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1248 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1249 srcdir=$ac_optarg ;;
1251 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1252 | --syscon | --sysco | --sysc | --sys | --sy)
1253 ac_prev=sysconfdir ;;
1254 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1255 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1256 sysconfdir=$ac_optarg ;;
1258 -target | --target | --targe | --targ | --tar | --ta | --t)
1259 ac_prev=target_alias ;;
1260 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1261 target_alias=$ac_optarg ;;
1263 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1266 -version | --version | --versio | --versi | --vers | -V)
1267 ac_init_version=: ;;
1270 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1271 # Reject names that are not valid shell variable names.
1272 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1273 as_fn_error $? "invalid package name: $ac_useropt"
1274 ac_useropt_orig=$ac_useropt
1275 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1276 case $ac_user_opts in
1280 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1281 ac_unrecognized_sep=', ';;
1283 eval with_$ac_useropt=\$ac_optarg ;;
1285 -without-* | --without-*)
1286 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
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--without-$ac_useropt_orig"
1297 ac_unrecognized_sep=', ';;
1299 eval with_$ac_useropt=no ;;
1302 # Obsolete; use --with-x.
1305 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1306 | --x-incl | --x-inc | --x-in | --x-i)
1307 ac_prev=x_includes ;;
1308 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1309 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1310 x_includes=$ac_optarg ;;
1312 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1313 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1314 ac_prev=x_libraries ;;
1315 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1316 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1317 x_libraries=$ac_optarg ;;
1319 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1320 Try \`$0 --help' for more information"
1324 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1325 # Reject names that are not valid shell variable names.
1326 case $ac_envvar in #(
1327 '' | [0-9]* | *[!_$as_cr_alnum]* )
1328 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1330 eval $ac_envvar=\$ac_optarg
1331 export $ac_envvar ;;
1334 # FIXME: should be removed in autoconf 3.0.
1335 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1336 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1337 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1338 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1344 if test -n "$ac_prev"; then
1345 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1346 as_fn_error $? "missing argument to $ac_option"
1349 if test -n "$ac_unrecognized_opts"; then
1350 case $enable_option_checking in
1352 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1353 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1357 # Check all directory arguments for consistency.
1358 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1359 datadir sysconfdir sharedstatedir localstatedir includedir \
1360 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1361 libdir localedir mandir
1363 eval ac_val=\$$ac_var
1364 # Remove trailing slashes.
1367 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1368 eval $ac_var=\$ac_val;;
1370 # Be sure to have absolute directory names.
1372 [\\/$]* | ?:[\\/]* ) continue;;
1373 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1375 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1378 # There might be people who depend on the old broken behavior: `$host'
1379 # used to hold the argument of --host etc.
1380 # FIXME: To remove some day.
1383 target=$target_alias
1385 # FIXME: To remove some day.
1386 if test "x$host_alias" != x; then
1387 if test "x$build_alias" = x; then
1388 cross_compiling=maybe
1389 elif test "x$build_alias" != "x$host_alias"; then
1395 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1397 test "$silent" = yes && exec 6>/dev/null
1400 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1401 ac_ls_di=`ls -di .` &&
1402 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1403 as_fn_error $? "working directory cannot be determined"
1404 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1405 as_fn_error $? "pwd does not report name of working directory"
1408 # Find the source files, if location was not specified.
1409 if test -z "$srcdir"; then
1410 ac_srcdir_defaulted=yes
1411 # Try the directory containing this script, then the parent directory.
1412 ac_confdir=`$as_dirname -- "$as_myself" ||
1413 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1414 X"$as_myself" : 'X\(//\)[^/]' \| \
1415 X"$as_myself" : 'X\(//\)$' \| \
1416 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1417 $as_echo X"$as_myself" |
1418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1436 if test ! -r "$srcdir/$ac_unique_file"; then
1440 ac_srcdir_defaulted=no
1442 if test ! -r "$srcdir/$ac_unique_file"; then
1443 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1444 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1446 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1448 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1450 # When building in place, set srcdir=.
1451 if test "$ac_abs_confdir" = "$ac_pwd"; then
1454 # Remove unnecessary trailing slashes from srcdir.
1455 # Double slashes in file names in object file debugging info
1456 # mess up M-x gdb in Emacs.
1458 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1460 for ac_var in $ac_precious_vars; do
1461 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1462 eval ac_env_${ac_var}_value=\$${ac_var}
1463 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1464 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1468 # Report the --help message.
1470 if test "$ac_init_help" = "long"; then
1471 # Omit some internal or obsolete options to make the list less imposing.
1472 # This message is too long to be a string in the A/UX 3.1 sh.
1474 \`configure' configures subversion 1.9.4 to adapt to many kinds of systems.
1476 Usage: $0 [OPTION]... [VAR=VALUE]...
1478 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1479 VAR=VALUE. See below for descriptions of some of the useful variables.
1481 Defaults for the options are specified in brackets.
1484 -h, --help display this help and exit
1485 --help=short display options specific to this package
1486 --help=recursive display the short help of all the included packages
1487 -V, --version display version information and exit
1488 -q, --quiet, --silent do not print \`checking ...' messages
1489 --cache-file=FILE cache test results in FILE [disabled]
1490 -C, --config-cache alias for \`--cache-file=config.cache'
1491 -n, --no-create do not create output files
1492 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1494 Installation directories:
1495 --prefix=PREFIX install architecture-independent files in PREFIX
1496 [$ac_default_prefix]
1497 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1500 By default, \`make install' will install all the files in
1501 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1502 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1503 for instance \`--prefix=\$HOME'.
1505 For better control, use the options below.
1507 Fine tuning of the installation directories:
1508 --bindir=DIR user executables [EPREFIX/bin]
1509 --sbindir=DIR system admin executables [EPREFIX/sbin]
1510 --libexecdir=DIR program executables [EPREFIX/libexec]
1511 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1512 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1513 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1514 --libdir=DIR object code libraries [EPREFIX/lib]
1515 --includedir=DIR C header files [PREFIX/include]
1516 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1517 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1518 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1519 --infodir=DIR info documentation [DATAROOTDIR/info]
1520 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1521 --mandir=DIR man documentation [DATAROOTDIR/man]
1522 --docdir=DIR documentation root [DATAROOTDIR/doc/subversion]
1523 --htmldir=DIR html documentation [DOCDIR]
1524 --dvidir=DIR dvi documentation [DOCDIR]
1525 --pdfdir=DIR pdf documentation [DOCDIR]
1526 --psdir=DIR ps documentation [DOCDIR]
1532 --build=BUILD configure for building on BUILD [guessed]
1533 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1534 --target=TARGET configure for building compilers for TARGET [HOST]
1538 if test -n "$ac_init_help"; then
1539 case $ac_init_help in
1540 short | recursive ) echo "Configuration of subversion 1.9.4:";;
1545 --disable-option-checking ignore unrecognized --enable/--with options
1546 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1547 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1548 --enable-broken-httpd-auth
1549 Force build against httpd 2.4 with broken auth
1550 --enable-sqlite-compatibility-version=X.Y.Z
1551 Allow binary to run against SQLite as old as ARG
1552 --enable-shared[=PKGS] build shared libraries [default=yes]
1553 --enable-static[=PKGS] build static libraries [default=yes]
1554 --enable-fast-install[=PKGS]
1555 optimize for fast installation [default=yes]
1556 --disable-libtool-lock avoid locking (might break parallel builds)
1557 --enable-experimental-libtool
1559 --enable-static Build static libraries
1560 --enable-shared Build shared libraries
1561 --enable-all-static Build completely static (standalone) binaries.
1562 --enable-local-library-preloading
1563 Enable preloading of locally built libraries in
1564 locally built executables. This may be necessary for
1565 testing prior to installation on some platforms. It
1566 does not work on some platforms (Darwin, OpenBSD,
1568 --enable-bdb6 Allow building against BDB 6+. See
1569 --with-berkeley-db for specifying the location of
1570 the Berkeley DB installation. Using BDB 6 will fail
1571 if this option is not used.
1572 --disable-keychain Disable use of Mac OS KeyChain for auth credentials
1573 --disable-gmock Do not use the Googlemock testing framework
1574 --enable-ev2-impl Use Ev2 implementations, where available
1576 --disable-nls Disable gettext functionality
1577 --disable-plaintext-password-storage
1578 Disable on-disk caching of plaintext passwords and
1579 passphrases. (Leaving this functionality enabled
1580 will not force Subversion to store passwords in
1581 plaintext, but does permit users to explicitly allow
1582 that behavior via runtime configuration.)
1583 --enable-debug Turn on debugging
1584 --enable-optimize Turn on optimizations
1585 --enable-disallowing-of-undefined-references
1586 Use -Wl,--no-undefined flag during linking of some
1587 libraries to disallow undefined references
1588 --enable-maintainer-mode
1589 Turn on debugging and very strict compile-time
1591 --disable-full-version-match
1592 Disable the full version match rules when checking
1593 Subversion library compatibility.
1594 --enable-mod-activation Enable mod_dav_svn in httpd.conf
1595 --enable-gcov Turn on gcov coverage testing (GCC only).
1596 --enable-gprof Produce gprof profiling data in 'gmon.out' (GCC
1598 --enable-runtime-module-search
1599 Turn on dynamic loading of RA/FS libraries including
1600 third-party FS libraries
1601 --enable-javahl Enable compilation of Java high-level bindings
1605 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1606 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1607 --with-apr=PATH prefix for installed APR, path to APR build tree,
1608 or the full path to apr-config
1609 --with-apr-util=PATH prefix for installed APU, path to APU build tree,
1610 or the full path to apu-config
1611 --with-serf=PREFIX Serf HTTP client library (enabled by default if
1613 --with-apr_memcache=PREFIX
1614 Standalone apr_memcache client library
1615 --with-apxs[=FILE] Build shared Apache modules. FILE is the optional
1616 pathname to the Apache apxs tool; defaults to
1618 --with-apache-libexecdir[=PATH]
1619 Install Apache modules to Apache's configured
1620 modules directory instead of LIBEXECDIR; if PATH is
1621 given, install to PATH.
1622 --with-sqlite=PREFIX Use installed SQLite library or amalgamation file.
1623 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1625 --with-aix-soname=aix|svr4|both
1626 shared library versioning (aka "SONAME") variant to
1627 provide on AIX, [default=aix].
1628 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1629 --with-sysroot[=DIR] Search for dependent libraries within DIR (or the
1630 compiler's sysroot if not specified).
1631 --with-trang=PATH Specify the command to run the trang schema
1633 --with-doxygen=PATH Specify the command to run doxygen
1634 --with-expat=INCLUDES:LIB_SEARCH_DIRS:LIBS
1635 Specify location of Expat
1636 --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]
1637 The Subversion Berkeley DB based filesystem library
1638 requires Berkeley DB $db_version or $db_alt_version.
1639 If you specify `--without-berkeley-db', that library
1640 will not be built. If you omit the argument of this
1641 option completely, the configure script will use
1642 Berkeley DB used by APR-UTIL.
1643 --with-sasl=PATH Compile with libsasl2 in PATH
1644 --without-gpg-agent Disable support for GPG-Agent
1645 --with-gnome-keyring Enable use of GNOME Keyring for auth credentials
1646 (enabled by default if found)
1647 --with-libmagic=PREFIX libmagic filetype detection library
1648 --with-kwallet[=PATH] Enable use of KWallet (KDE 4) for auth credentials
1649 --with-editor=PATH Specify a default editor for the subversion client.
1650 --with-zlib=PREFIX zlib compression library
1651 --with-jdk=PATH Try to use 'PATH/include' to find the JNI headers.
1652 If PATH is not specified, look for a Java
1653 Development Kit at JAVA_HOME.
1654 --with-jikes=PATH Specify the path to a jikes binary to use it as your
1655 Java compiler. The default is to look for jikes
1656 (PATH optional). This behavior can be switched off
1658 --with-swig=PATH Try to use 'PATH/bin/swig' to build the swig
1659 bindings. If PATH is not specified, look for a
1660 'swig' binary in your PATH.
1661 --with-ruby-sitedir=SITEDIR
1662 install Ruby bindings in SITEDIR (default is same as
1664 --with-ruby-test-verbose=LEVEL
1665 how to use output level for Ruby bindings tests
1667 --with-ctypesgen=PATH Specify the path to ctypesgen. This can either be
1668 the full path to a ctypesgen installation, the full
1669 path to a ctypesgen source tree or the full path to
1671 --with-junit=PATH Specify a path to the junit JAR file.
1673 Some influential environment variables:
1674 CC C compiler command
1675 CFLAGS C compiler flags
1676 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1677 nonstandard directory <lib dir>
1678 LIBS libraries to pass to the linker, e.g. -l<library>
1679 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1680 you have headers in a nonstandard directory <include dir>
1681 CXX C++ compiler command
1682 CXXFLAGS C++ compiler flags
1685 User-defined run-time library search path.
1686 CXXCPP C++ preprocessor
1688 Use these variables to override the choices made by `configure' or to help
1689 it to find libraries and programs with nonstandard names/locations.
1691 Report bugs to <http://subversion.apache.org/>.
1696 if test "$ac_init_help" = "recursive"; then
1697 # If there are subdirs, report their specific --help.
1698 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1699 test -d "$ac_dir" ||
1700 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1707 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1708 # A ".." for each directory in $ac_dir_suffix.
1709 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1710 case $ac_top_builddir_sub in
1711 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1712 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1715 ac_abs_top_builddir=$ac_pwd
1716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1717 # for backward compatibility:
1718 ac_top_builddir=$ac_top_build_prefix
1721 .) # We are building in place.
1723 ac_top_srcdir=$ac_top_builddir_sub
1724 ac_abs_top_srcdir=$ac_pwd ;;
1725 [\\/]* | ?:[\\/]* ) # Absolute name.
1726 ac_srcdir=$srcdir$ac_dir_suffix;
1727 ac_top_srcdir=$srcdir
1728 ac_abs_top_srcdir=$srcdir ;;
1730 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1731 ac_top_srcdir=$ac_top_build_prefix$srcdir
1732 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1736 cd "$ac_dir" || { ac_status=$?; continue; }
1737 # Check for guested configure.
1738 if test -f "$ac_srcdir/configure.gnu"; then
1740 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1741 elif test -f "$ac_srcdir/configure"; then
1743 $SHELL "$ac_srcdir/configure" --help=recursive
1745 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1747 cd "$ac_pwd" || { ac_status=$?; break; }
1751 test -n "$ac_init_help" && exit $ac_status
1752 if $ac_init_version; then
1754 subversion configure 1.9.4
1755 generated by GNU Autoconf 2.69
1757 Copyright (C) 2012 Free Software Foundation, Inc.
1758 This configure script is free software; the Free Software Foundation
1759 gives unlimited permission to copy, distribute and modify it.
1764 ## ------------------------ ##
1765 ## Autoconf initialization. ##
1766 ## ------------------------ ##
1768 # ac_fn_c_try_compile LINENO
1769 # --------------------------
1770 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_c_try_compile ()
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 rm -f conftest.$ac_objext
1775 if { { ac_try="$ac_compile"
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_compile") 2>conftest.err
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest.$ac_objext; then :
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status $ac_retval
1804 } # ac_fn_c_try_compile
1806 # ac_fn_c_try_link LINENO
1807 # -----------------------
1808 # Try to link conftest.$ac_ext, and return whether this succeeded.
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 rm -f conftest.$ac_objext conftest$ac_exeext
1813 if { { ac_try="$ac_link"
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_link") 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_exeext && {
1832 test "$cross_compiling" = yes ||
1833 test -x conftest$ac_exeext
1837 $as_echo "$as_me: failed program was:" >&5
1838 sed 's/^/| /' conftest.$ac_ext >&5
1842 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1843 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1844 # interfere with the next link command; also delete a directory that is
1845 # left behind by Apple's compiler. We do this before executing the actions.
1846 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1848 as_fn_set_status $ac_retval
1850 } # ac_fn_c_try_link
1852 # ac_fn_cxx_try_compile LINENO
1853 # ----------------------------
1854 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1855 ac_fn_cxx_try_compile ()
1857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1858 rm -f conftest.$ac_objext
1859 if { { ac_try="$ac_compile"
1861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1862 *) ac_try_echo=$ac_try;;
1864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1865 $as_echo "$ac_try_echo"; } >&5
1866 (eval "$ac_compile") 2>conftest.err
1868 if test -s conftest.err; then
1869 grep -v '^ *+' conftest.err >conftest.er1
1870 cat conftest.er1 >&5
1871 mv -f conftest.er1 conftest.err
1873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1874 test $ac_status = 0; } && {
1875 test -z "$ac_cxx_werror_flag" ||
1876 test ! -s conftest.err
1877 } && test -s conftest.$ac_objext; then :
1880 $as_echo "$as_me: failed program was:" >&5
1881 sed 's/^/| /' conftest.$ac_ext >&5
1885 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886 as_fn_set_status $ac_retval
1888 } # ac_fn_cxx_try_compile
1890 # ac_fn_cxx_try_link LINENO
1891 # -------------------------
1892 # Try to link conftest.$ac_ext, and return whether this succeeded.
1893 ac_fn_cxx_try_link ()
1895 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1896 rm -f conftest.$ac_objext conftest$ac_exeext
1897 if { { ac_try="$ac_link"
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_link") 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_exeext && {
1916 test "$cross_compiling" = yes ||
1917 test -x conftest$ac_exeext
1921 $as_echo "$as_me: failed program was:" >&5
1922 sed 's/^/| /' conftest.$ac_ext >&5
1926 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1927 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1928 # interfere with the next link command; also delete a directory that is
1929 # left behind by Apple's compiler. We do this before executing the actions.
1930 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1932 as_fn_set_status $ac_retval
1934 } # ac_fn_cxx_try_link
1936 # ac_fn_c_try_cpp LINENO
1937 # ----------------------
1938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1942 if { { ac_try="$ac_cpp conftest.$ac_ext"
1944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1945 *) ac_try_echo=$ac_try;;
1947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1948 $as_echo "$ac_try_echo"; } >&5
1949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1951 if test -s conftest.err; then
1952 grep -v '^ *+' conftest.err >conftest.er1
1953 cat conftest.er1 >&5
1954 mv -f conftest.er1 conftest.err
1956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1957 test $ac_status = 0; } > conftest.i && {
1958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1959 test ! -s conftest.err
1963 $as_echo "$as_me: failed program was:" >&5
1964 sed 's/^/| /' conftest.$ac_ext >&5
1968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1969 as_fn_set_status $ac_retval
1973 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1974 # -------------------------------------------------------
1975 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1976 # the include files in INCLUDES and setting the cache variable VAR
1978 ac_fn_c_check_header_mongrel ()
1980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1981 if eval \${$3+:} false; then :
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1983 $as_echo_n "checking for $2... " >&6; }
1984 if eval \${$3+:} false; then :
1985 $as_echo_n "(cached) " >&6
1988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1989 $as_echo "$ac_res" >&6; }
1991 # Is the header compilable?
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1993 $as_echo_n "checking $2 usability... " >&6; }
1994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1995 /* end confdefs.h. */
1999 if ac_fn_c_try_compile "$LINENO"; then :
2000 ac_header_compiler=yes
2002 ac_header_compiler=no
2004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2006 $as_echo "$ac_header_compiler" >&6; }
2008 # Is the header present?
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2010 $as_echo_n "checking $2 presence... " >&6; }
2011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2012 /* end confdefs.h. */
2015 if ac_fn_c_try_cpp "$LINENO"; then :
2016 ac_header_preproc=yes
2018 ac_header_preproc=no
2020 rm -f conftest.err conftest.i conftest.$ac_ext
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2022 $as_echo "$ac_header_preproc" >&6; }
2024 # So? What about this header?
2025 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2028 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2029 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2030 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2033 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2034 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2036 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2038 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2039 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2040 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2042 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2043 ( $as_echo "## -------------------------------------------- ##
2044 ## Report this to http://subversion.apache.org/ ##
2045 ## -------------------------------------------- ##"
2046 ) | sed "s/^/$as_me: WARNING: /" >&2
2049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2050 $as_echo_n "checking for $2... " >&6; }
2051 if eval \${$3+:} false; then :
2052 $as_echo_n "(cached) " >&6
2054 eval "$3=\$ac_header_compiler"
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2058 $as_echo "$ac_res" >&6; }
2060 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2062 } # ac_fn_c_check_header_mongrel
2064 # ac_fn_c_try_run LINENO
2065 # ----------------------
2066 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2067 # that executables *can* be run.
2070 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2071 if { { ac_try="$ac_link"
2073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2074 *) ac_try_echo=$ac_try;;
2076 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2077 $as_echo "$ac_try_echo"; } >&5
2078 (eval "$ac_link") 2>&5
2080 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2081 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2082 { { case "(($ac_try" in
2083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2084 *) ac_try_echo=$ac_try;;
2086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2087 $as_echo "$ac_try_echo"; } >&5
2088 (eval "$ac_try") 2>&5
2090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2091 test $ac_status = 0; }; }; then :
2094 $as_echo "$as_me: program exited with status $ac_status" >&5
2095 $as_echo "$as_me: failed program was:" >&5
2096 sed 's/^/| /' conftest.$ac_ext >&5
2098 ac_retval=$ac_status
2100 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2102 as_fn_set_status $ac_retval
2106 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2107 # -------------------------------------------------------
2108 # Tests whether HEADER exists and can be compiled using the include files in
2109 # INCLUDES, setting the cache variable VAR accordingly.
2110 ac_fn_c_check_header_compile ()
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if eval \${$3+:} false; then :
2116 $as_echo_n "(cached) " >&6
2118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2119 /* end confdefs.h. */
2123 if ac_fn_c_try_compile "$LINENO"; then :
2128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2132 $as_echo "$ac_res" >&6; }
2133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2135 } # ac_fn_c_check_header_compile
2137 # ac_fn_c_check_func LINENO FUNC VAR
2138 # ----------------------------------
2139 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2140 ac_fn_c_check_func ()
2142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2144 $as_echo_n "checking for $2... " >&6; }
2145 if eval \${$3+:} false; then :
2146 $as_echo_n "(cached) " >&6
2148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2149 /* end confdefs.h. */
2150 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2151 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2152 #define $2 innocuous_$2
2154 /* System header to define __stub macros and hopefully few prototypes,
2155 which can conflict with char $2 (); below.
2156 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2157 <limits.h> exists even on freestanding compilers. */
2160 # include <limits.h>
2162 # include <assert.h>
2167 /* Override any GCC internal prototype to avoid an error.
2168 Use char because int might match the return type of a GCC
2169 builtin and then its argument prototype would still apply. */
2174 /* The GNU C library defines this for functions which it implements
2175 to always fail with ENOSYS. Some functions are actually named
2176 something starting with __ and the normal name is an alias. */
2177 #if defined __stub_$2 || defined __stub___$2
2189 if ac_fn_c_try_link "$LINENO"; then :
2194 rm -f core conftest.err conftest.$ac_objext \
2195 conftest$ac_exeext conftest.$ac_ext
2198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2199 $as_echo "$ac_res" >&6; }
2200 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2202 } # ac_fn_c_check_func
2204 # ac_fn_cxx_try_cpp LINENO
2205 # ------------------------
2206 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2207 ac_fn_cxx_try_cpp ()
2209 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2210 if { { ac_try="$ac_cpp conftest.$ac_ext"
2212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2213 *) ac_try_echo=$ac_try;;
2215 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2216 $as_echo "$ac_try_echo"; } >&5
2217 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2219 if test -s conftest.err; then
2220 grep -v '^ *+' conftest.err >conftest.er1
2221 cat conftest.er1 >&5
2222 mv -f conftest.er1 conftest.err
2224 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2225 test $ac_status = 0; } > conftest.i && {
2226 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2227 test ! -s conftest.err
2231 $as_echo "$as_me: failed program was:" >&5
2232 sed 's/^/| /' conftest.$ac_ext >&5
2236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237 as_fn_set_status $ac_retval
2239 } # ac_fn_cxx_try_cpp
2241 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2242 # -------------------------------------------
2243 # Tests whether TYPE exists after having included INCLUDES, setting cache
2244 # variable VAR accordingly.
2245 ac_fn_c_check_type ()
2247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2249 $as_echo_n "checking for $2... " >&6; }
2250 if eval \${$3+:} false; then :
2251 $as_echo_n "(cached) " >&6
2254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2255 /* end confdefs.h. */
2266 if ac_fn_c_try_compile "$LINENO"; then :
2267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2268 /* end confdefs.h. */
2279 if ac_fn_c_try_compile "$LINENO"; then :
2284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2290 $as_echo "$ac_res" >&6; }
2291 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2293 } # ac_fn_c_check_type
2294 cat >config.log <<_ACEOF
2295 This file contains any messages produced by compilers while
2296 running configure, to aid debugging if configure makes a mistake.
2298 It was created by subversion $as_me 1.9.4, which was
2299 generated by GNU Autoconf 2.69. Invocation command line was
2311 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2312 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2313 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2314 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2315 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2317 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2318 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2320 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2321 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2322 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2323 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2324 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2325 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2326 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2334 test -z "$as_dir" && as_dir=.
2335 $as_echo "PATH: $as_dir"
2351 # Keep a trace of the command line.
2352 # Strip out --no-create and --no-recursion so they do not pile up.
2353 # Strip out --silent because we don't want to record it for future runs.
2354 # Also quote any args containing shell meta-characters.
2355 # Make two passes to allow for proper duplicate-argument suppression.
2359 ac_must_keep_next=false
2365 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2367 | -silent | --silent | --silen | --sile | --sil)
2370 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2373 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2375 as_fn_append ac_configure_args1 " '$ac_arg'"
2376 if test $ac_must_keep_next = true; then
2377 ac_must_keep_next=false # Got value, back to normal.
2380 *=* | --config-cache | -C | -disable-* | --disable-* \
2381 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2382 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2383 | -with-* | --with-* | -without-* | --without-* | --x)
2384 case "$ac_configure_args0 " in
2385 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2388 -* ) ac_must_keep_next=true ;;
2391 as_fn_append ac_configure_args " '$ac_arg'"
2396 { ac_configure_args0=; unset ac_configure_args0;}
2397 { ac_configure_args1=; unset ac_configure_args1;}
2399 # When interrupted or exit'd, cleanup temporary files, and complete
2400 # config.log. We remove comments because anyway the quotes in there
2401 # would cause problems or look ugly.
2402 # WARNING: Use '\'' to represent an apostrophe within the trap.
2403 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2404 trap 'exit_status=$?
2405 # Save into config.log some information that might help in debugging.
2409 $as_echo "## ---------------- ##
2410 ## Cache variables. ##
2411 ## ---------------- ##"
2413 # The following way of writing the cache mishandles newlines in values,
2415 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2416 eval ac_val=\$$ac_var
2420 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2421 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2424 _ | IFS | as_nl) ;; #(
2425 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2426 *) { eval $ac_var=; unset $ac_var;} ;;
2431 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2432 *${as_nl}ac_space=\ *)
2434 "s/'\''/'\''\\\\'\'''\''/g;
2435 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2438 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2445 $as_echo "## ----------------- ##
2446 ## Output variables. ##
2447 ## ----------------- ##"
2449 for ac_var in $ac_subst_vars
2451 eval ac_val=\$$ac_var
2453 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2455 $as_echo "$ac_var='\''$ac_val'\''"
2459 if test -n "$ac_subst_files"; then
2460 $as_echo "## ------------------- ##
2461 ## File substitutions. ##
2462 ## ------------------- ##"
2464 for ac_var in $ac_subst_files
2466 eval ac_val=\$$ac_var
2468 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2470 $as_echo "$ac_var='\''$ac_val'\''"
2475 if test -s confdefs.h; then
2476 $as_echo "## ----------- ##
2483 test "$ac_signal" != 0 &&
2484 $as_echo "$as_me: caught signal $ac_signal"
2485 $as_echo "$as_me: exit $exit_status"
2487 rm -f core *.core core.conftest.* &&
2488 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2491 for ac_signal in 1 2 13 15; do
2492 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2496 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2497 rm -f -r conftest* confdefs.h
2499 $as_echo "/* confdefs.h */" > confdefs.h
2501 # Predefined preprocessor variables.
2503 cat >>confdefs.h <<_ACEOF
2504 #define PACKAGE_NAME "$PACKAGE_NAME"
2507 cat >>confdefs.h <<_ACEOF
2508 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2511 cat >>confdefs.h <<_ACEOF
2512 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2515 cat >>confdefs.h <<_ACEOF
2516 #define PACKAGE_STRING "$PACKAGE_STRING"
2519 cat >>confdefs.h <<_ACEOF
2520 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2523 cat >>confdefs.h <<_ACEOF
2524 #define PACKAGE_URL "$PACKAGE_URL"
2528 # Let the site file select an alternate cache file if it wants to.
2529 # Prefer an explicitly selected file to automatically selected ones.
2532 if test -n "$CONFIG_SITE"; then
2533 # We do not want a PATH search for config.site.
2534 case $CONFIG_SITE in #((
2535 -*) ac_site_file1=./$CONFIG_SITE;;
2536 */*) ac_site_file1=$CONFIG_SITE;;
2537 *) ac_site_file1=./$CONFIG_SITE;;
2539 elif test "x$prefix" != xNONE; then
2540 ac_site_file1=$prefix/share/config.site
2541 ac_site_file2=$prefix/etc/config.site
2543 ac_site_file1=$ac_default_prefix/share/config.site
2544 ac_site_file2=$ac_default_prefix/etc/config.site
2546 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2548 test "x$ac_site_file" = xNONE && continue
2549 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2550 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2551 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2552 sed 's/^/| /' "$ac_site_file" >&5
2554 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2555 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2556 as_fn_error $? "failed to load site script $ac_site_file
2557 See \`config.log' for more details" "$LINENO" 5; }
2561 if test -r "$cache_file"; then
2562 # Some versions of bash will fail to source /dev/null (special files
2563 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2564 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2566 $as_echo "$as_me: loading cache $cache_file" >&6;}
2568 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2569 *) . "./$cache_file";;
2573 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2574 $as_echo "$as_me: creating cache $cache_file" >&6;}
2578 # Check that the precious variables saved in the cache have kept the same
2580 ac_cache_corrupted=false
2581 for ac_var in $ac_precious_vars; do
2582 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2583 eval ac_new_set=\$ac_env_${ac_var}_set
2584 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2585 eval ac_new_val=\$ac_env_${ac_var}_value
2586 case $ac_old_set,$ac_new_set in
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2589 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2590 ac_cache_corrupted=: ;;
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2593 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2594 ac_cache_corrupted=: ;;
2597 if test "x$ac_old_val" != "x$ac_new_val"; then
2598 # differences in whitespace do not lead to failure.
2599 ac_old_val_w=`echo x $ac_old_val`
2600 ac_new_val_w=`echo x $ac_new_val`
2601 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2603 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2604 ac_cache_corrupted=:
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2607 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2608 eval $ac_var=\$ac_old_val
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2611 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2613 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2616 # Pass precious variables to config.status.
2617 if test "$ac_new_set" = set; then
2619 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2620 *) ac_arg=$ac_var=$ac_new_val ;;
2622 case " $ac_configure_args " in
2623 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2624 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2628 if $ac_cache_corrupted; then
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2631 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2632 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2633 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2635 ## -------------------- ##
2636 ## Main body of script. ##
2637 ## -------------------- ##
2640 ac_cpp='$CPP $CPPFLAGS'
2641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2649 for ac_dir in build "$srcdir"/build; do
2650 if test -f "$ac_dir/install-sh"; then
2652 ac_install_sh="$ac_aux_dir/install-sh -c"
2654 elif test -f "$ac_dir/install.sh"; then
2656 ac_install_sh="$ac_aux_dir/install.sh -c"
2658 elif test -f "$ac_dir/shtool"; then
2660 ac_install_sh="$ac_aux_dir/shtool install -c"
2664 if test -z "$ac_aux_dir"; then
2665 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2668 # These three variables are undocumented and unsupported,
2669 # and are intended to be withdrawn in a future Autoconf release.
2670 # They can cause serious problems if a builder's source tree is in a directory
2671 # whose full name contains unusual characters.
2672 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2673 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2674 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.9.4" >&5
2679 $as_echo "$as_me: Configuring Subversion 1.9.4" >&6;}
2681 abs_srcdir="`cd $srcdir && pwd`"
2683 abs_builddir="`pwd`"
2685 if test "$abs_srcdir" = "$abs_builddir"; then
2686 canonicalized_srcdir=""
2688 canonicalized_srcdir="$srcdir/"
2692 SWIG_LDFLAGS="$LDFLAGS"
2695 # Generate config.nice early (before the arguments are munged)
2697 { $as_echo "$as_me:${as_lineno-$LINENO}: creating config.nice" >&5
2698 $as_echo "$as_me: creating config.nice" >&6;}
2699 # This little dance satisfies Cygwin, which cannot overwrite in-use files.
2700 if test -f "config.nice"; then
2701 mv "config.nice" "config.nice.old"
2704 cat >"config.nice" <<EOF
2707 # Created by configure
2709 '$0' $ac_configure_args "\$@"
2712 chmod +x "config.nice"
2713 rm -f "config.nice.old"
2716 # ==== Check for programs ====================================================
2718 # Look for a C compiler (before anything can set CFLAGS)
2719 CUSERFLAGS="$CFLAGS"
2721 ac_cpp='$CPP $CPPFLAGS'
2722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2725 if test -n "$ac_tool_prefix"; then
2726 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2727 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_CC+:} false; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$CC"; then
2734 ac_cv_prog_CC="$CC" # Let the user override the test.
2736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir=.
2741 for ac_exec_ext in '' $ac_executable_extensions; do
2742 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2743 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2754 if test -n "$CC"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2756 $as_echo "$CC" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2764 if test -z "$ac_cv_prog_CC"; then
2766 # Extract the first word of "gcc", so it can be a program name with args.
2767 set dummy gcc; ac_word=$2
2768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2769 $as_echo_n "checking for $ac_word... " >&6; }
2770 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2771 $as_echo_n "(cached) " >&6
2773 if test -n "$ac_ct_CC"; then
2774 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2780 test -z "$as_dir" && as_dir=.
2781 for ac_exec_ext in '' $ac_executable_extensions; do
2782 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2783 ac_cv_prog_ac_ct_CC="gcc"
2784 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2793 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2794 if test -n "$ac_ct_CC"; then
2795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2796 $as_echo "$ac_ct_CC" >&6; }
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2799 $as_echo "no" >&6; }
2802 if test "x$ac_ct_CC" = x; then
2805 case $cross_compiling:$ac_tool_warned in
2807 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2808 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2809 ac_tool_warned=yes ;;
2817 if test -z "$CC"; then
2818 if test -n "$ac_tool_prefix"; then
2819 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2820 set dummy ${ac_tool_prefix}cc; ac_word=$2
2821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2822 $as_echo_n "checking for $ac_word... " >&6; }
2823 if ${ac_cv_prog_CC+:} false; then :
2824 $as_echo_n "(cached) " >&6
2826 if test -n "$CC"; then
2827 ac_cv_prog_CC="$CC" # Let the user override the test.
2829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2833 test -z "$as_dir" && as_dir=.
2834 for ac_exec_ext in '' $ac_executable_extensions; do
2835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2836 ac_cv_prog_CC="${ac_tool_prefix}cc"
2837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2847 if test -n "$CC"; then
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2849 $as_echo "$CC" >&6; }
2851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2852 $as_echo "no" >&6; }
2858 if test -z "$CC"; then
2859 # Extract the first word of "cc", so it can be a program name with args.
2860 set dummy cc; ac_word=$2
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2862 $as_echo_n "checking for $ac_word... " >&6; }
2863 if ${ac_cv_prog_CC+:} false; then :
2864 $as_echo_n "(cached) " >&6
2866 if test -n "$CC"; then
2867 ac_cv_prog_CC="$CC" # Let the user override the test.
2870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874 test -z "$as_dir" && as_dir=.
2875 for ac_exec_ext in '' $ac_executable_extensions; do
2876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2877 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2878 ac_prog_rejected=yes
2882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2889 if test $ac_prog_rejected = yes; then
2890 # We found a bogon in the path, so make sure we never use it.
2891 set dummy $ac_cv_prog_CC
2893 if test $# != 0; then
2894 # We chose a different compiler from the bogus one.
2895 # However, it has the same basename, so the bogon will be chosen
2896 # first if we set CC to just the basename; use the full file name.
2898 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2904 if test -n "$CC"; then
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2906 $as_echo "$CC" >&6; }
2908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2909 $as_echo "no" >&6; }
2914 if test -z "$CC"; then
2915 if test -n "$ac_tool_prefix"; then
2916 for ac_prog in cl.exe
2918 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2919 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2921 $as_echo_n "checking for $ac_word... " >&6; }
2922 if ${ac_cv_prog_CC+:} false; then :
2923 $as_echo_n "(cached) " >&6
2925 if test -n "$CC"; then
2926 ac_cv_prog_CC="$CC" # Let the user override the test.
2928 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2932 test -z "$as_dir" && as_dir=.
2933 for ac_exec_ext in '' $ac_executable_extensions; do
2934 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2935 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2936 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2946 if test -n "$CC"; then
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2948 $as_echo "$CC" >&6; }
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2951 $as_echo "no" >&6; }
2955 test -n "$CC" && break
2958 if test -z "$CC"; then
2960 for ac_prog in cl.exe
2962 # Extract the first word of "$ac_prog", so it can be a program name with args.
2963 set dummy $ac_prog; ac_word=$2
2964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2965 $as_echo_n "checking for $ac_word... " >&6; }
2966 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2967 $as_echo_n "(cached) " >&6
2969 if test -n "$ac_ct_CC"; then
2970 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2976 test -z "$as_dir" && as_dir=.
2977 for ac_exec_ext in '' $ac_executable_extensions; do
2978 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2979 ac_cv_prog_ac_ct_CC="$ac_prog"
2980 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2989 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2990 if test -n "$ac_ct_CC"; then
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2992 $as_echo "$ac_ct_CC" >&6; }
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2995 $as_echo "no" >&6; }
2999 test -n "$ac_ct_CC" && break
3002 if test "x$ac_ct_CC" = x; then
3005 case $cross_compiling:$ac_tool_warned in
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3008 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3009 ac_tool_warned=yes ;;
3018 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3019 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3020 as_fn_error $? "no acceptable C compiler found in \$PATH
3021 See \`config.log' for more details" "$LINENO" 5; }
3023 # Provide some information about the compiler.
3024 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3027 for ac_option in --version -v -V -qversion; do
3028 { { ac_try="$ac_compiler $ac_option >&5"
3030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3031 *) ac_try_echo=$ac_try;;
3033 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3034 $as_echo "$ac_try_echo"; } >&5
3035 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3037 if test -s conftest.err; then
3039 ... rest of stderr output deleted ...
3040 10q' conftest.err >conftest.er1
3041 cat conftest.er1 >&5
3043 rm -f conftest.er1 conftest.err
3044 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3045 test $ac_status = 0; }
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3059 ac_clean_files_save=$ac_clean_files
3060 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3061 # Try to create an executable without -o first, disregard a.out.
3062 # It will help us diagnose broken compilers, and finding out an intuition
3064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3065 $as_echo_n "checking whether the C compiler works... " >&6; }
3066 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3068 # The possible output files:
3069 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3072 for ac_file in $ac_files
3075 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3076 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3081 if { { ac_try="$ac_link_default"
3083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3084 *) ac_try_echo=$ac_try;;
3086 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3087 $as_echo "$ac_try_echo"; } >&5
3088 (eval "$ac_link_default") 2>&5
3090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3091 test $ac_status = 0; }; then :
3092 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3093 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3094 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3095 # so that the user can short-circuit this test for compilers unknown to
3097 for ac_file in $ac_files ''
3099 test -f "$ac_file" || continue
3101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3104 # We found the default executable, but exeext='' is most
3108 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3110 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3112 # We set ac_cv_exeext here because the later test for it is not
3113 # safe: cross compilers may not add the suffix if given an `-o'
3114 # argument, so we may need to know it at that point already.
3115 # Even if this section looks crufty: it has the advantage of
3122 test "$ac_cv_exeext" = no && ac_cv_exeext=
3127 if test -z "$ac_file"; then :
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3129 $as_echo "no" >&6; }
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3133 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3134 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3135 as_fn_error 77 "C compiler cannot create executables
3136 See \`config.log' for more details" "$LINENO" 5; }
3138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3139 $as_echo "yes" >&6; }
3141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3142 $as_echo_n "checking for C compiler default output file name... " >&6; }
3143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3144 $as_echo "$ac_file" >&6; }
3145 ac_exeext=$ac_cv_exeext
3147 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3148 ac_clean_files=$ac_clean_files_save
3149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3150 $as_echo_n "checking for suffix of executables... " >&6; }
3151 if { { ac_try="$ac_link"
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_link") 2>&5
3160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3161 test $ac_status = 0; }; then :
3162 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3163 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3164 # work properly (i.e., refer to `conftest.exe'), while it won't with
3166 for ac_file in conftest.exe conftest conftest.*; do
3167 test -f "$ac_file" || continue
3169 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3170 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3176 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3177 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3178 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3179 See \`config.log' for more details" "$LINENO" 5; }
3181 rm -f conftest conftest$ac_cv_exeext
3182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3183 $as_echo "$ac_cv_exeext" >&6; }
3185 rm -f conftest.$ac_ext
3186 EXEEXT=$ac_cv_exeext
3188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3189 /* end confdefs.h. */
3194 FILE *f = fopen ("conftest.out", "w");
3195 return ferror (f) || fclose (f) != 0;
3201 ac_clean_files="$ac_clean_files conftest.out"
3202 # Check that the compiler produces executables we can run. If not, either
3203 # the compiler is broken, or we cross compile.
3204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3205 $as_echo_n "checking whether we are cross compiling... " >&6; }
3206 if test "$cross_compiling" != yes; then
3207 { { ac_try="$ac_link"
3209 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3210 *) ac_try_echo=$ac_try;;
3212 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3213 $as_echo "$ac_try_echo"; } >&5
3214 (eval "$ac_link") 2>&5
3216 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3217 test $ac_status = 0; }
3218 if { ac_try='./conftest$ac_cv_exeext'
3219 { { case "(($ac_try" in
3220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3221 *) ac_try_echo=$ac_try;;
3223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3224 $as_echo "$ac_try_echo"; } >&5
3225 (eval "$ac_try") 2>&5
3227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3228 test $ac_status = 0; }; }; then
3231 if test "$cross_compiling" = maybe; then
3234 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236 as_fn_error $? "cannot run C compiled programs.
3237 If you meant to cross compile, use \`--host'.
3238 See \`config.log' for more details" "$LINENO" 5; }
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3243 $as_echo "$cross_compiling" >&6; }
3245 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3246 ac_clean_files=$ac_clean_files_save
3247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3248 $as_echo_n "checking for suffix of object files... " >&6; }
3249 if ${ac_cv_objext+:} false; then :
3250 $as_echo_n "(cached) " >&6
3252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3253 /* end confdefs.h. */
3263 rm -f conftest.o conftest.obj
3264 if { { ac_try="$ac_compile"
3266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3267 *) ac_try_echo=$ac_try;;
3269 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3270 $as_echo "$ac_try_echo"; } >&5
3271 (eval "$ac_compile") 2>&5
3273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3274 test $ac_status = 0; }; then :
3275 for ac_file in conftest.o conftest.obj conftest.*; do
3276 test -f "$ac_file" || continue;
3278 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3279 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3284 $as_echo "$as_me: failed program was:" >&5
3285 sed 's/^/| /' conftest.$ac_ext >&5
3287 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3288 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3289 as_fn_error $? "cannot compute suffix of object files: cannot compile
3290 See \`config.log' for more details" "$LINENO" 5; }
3292 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3295 $as_echo "$ac_cv_objext" >&6; }
3296 OBJEXT=$ac_cv_objext
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3299 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3300 if ${ac_cv_c_compiler_gnu+:} false; then :
3301 $as_echo_n "(cached) " >&6
3303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3304 /* end confdefs.h. */
3317 if ac_fn_c_try_compile "$LINENO"; then :
3322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3323 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3327 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3328 if test $ac_compiler_gnu = yes; then
3333 ac_test_CFLAGS=${CFLAGS+set}
3334 ac_save_CFLAGS=$CFLAGS
3335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3336 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3337 if ${ac_cv_prog_cc_g+:} false; then :
3338 $as_echo_n "(cached) " >&6
3340 ac_save_c_werror_flag=$ac_c_werror_flag
3341 ac_c_werror_flag=yes
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3355 if ac_fn_c_try_compile "$LINENO"; then :
3359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3360 /* end confdefs.h. */
3370 if ac_fn_c_try_compile "$LINENO"; then :
3373 ac_c_werror_flag=$ac_save_c_werror_flag
3375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3376 /* end confdefs.h. */
3386 if ac_fn_c_try_compile "$LINENO"; then :
3389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3394 ac_c_werror_flag=$ac_save_c_werror_flag
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3397 $as_echo "$ac_cv_prog_cc_g" >&6; }
3398 if test "$ac_test_CFLAGS" = set; then
3399 CFLAGS=$ac_save_CFLAGS
3400 elif test $ac_cv_prog_cc_g = yes; then
3401 if test "$GCC" = yes; then
3407 if test "$GCC" = yes; then
3413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3414 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3415 if ${ac_cv_prog_cc_c89+:} false; then :
3416 $as_echo_n "(cached) " >&6
3418 ac_cv_prog_cc_c89=no
3420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3421 /* end confdefs.h. */
3425 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3426 struct buf { int x; };
3427 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3428 static char *e (p, i)
3434 static char *f (char * (*g) (char **, int), char **p, ...)
3439 s = g (p, va_arg (v,int));
3444 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3445 function prototypes and stuff, but not '\xHH' hex character constants.
3446 These don't provoke an error unfortunately, instead are silently treated
3447 as 'x'. The following induces an error, until -std is added to get
3448 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3449 array size at least. It's necessary to write '\x00'==0 to get something
3450 that's true only with -std. */
3451 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3453 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3454 inside strings and character constants. */
3456 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3458 int test (int i, double x);
3459 struct s1 {int (*f) (int a);};
3460 struct s2 {int (*f) (double a);};
3461 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3467 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3472 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3473 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3475 CC="$ac_save_CC $ac_arg"
3476 if ac_fn_c_try_compile "$LINENO"; then :
3477 ac_cv_prog_cc_c89=$ac_arg
3479 rm -f core conftest.err conftest.$ac_objext
3480 test "x$ac_cv_prog_cc_c89" != "xno" && break
3482 rm -f conftest.$ac_ext
3487 case "x$ac_cv_prog_cc_c89" in
3489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3490 $as_echo "none needed" >&6; } ;;
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3493 $as_echo "unsupported" >&6; } ;;
3495 CC="$CC $ac_cv_prog_cc_c89"
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3497 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3499 if test "x$ac_cv_prog_cc_c89" != xno; then :
3504 ac_cpp='$CPP $CPPFLAGS'
3505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3511 CFLAGS_KEEP="$CFLAGS"
3514 if test "$GCC" = "yes"; then
3516 _svn_xxflags__save="$CFLAGS"
3518 ac_cpp='$CPP $CPPFLAGS'
3519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c90" >&5
3524 $as_echo_n "checking if $CC accepts -std=c90... " >&6; }
3525 CFLAGS="-std=c90 $CFLAGS"
3526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3527 /* end confdefs.h. */
3528 int main(void){return 0;}
3530 if ac_fn_c_try_link "$LINENO"; then :
3532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3533 $as_echo "yes" >&6; }
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3539 $as_echo "no" >&6; }
3540 CFLAGS="$_svn_xxflags__save"
3543 _svn_xxflags__save="$CFLAGS"
3545 ac_cpp='$CPP $CPPFLAGS'
3546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c89" >&5
3551 $as_echo_n "checking if $CC accepts -std=c89... " >&6; }
3552 CFLAGS="-std=c89 $CFLAGS"
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3555 int main(void){return 0;}
3557 if ac_fn_c_try_link "$LINENO"; then :
3559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3560 $as_echo "yes" >&6; }
3565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3566 $as_echo "no" >&6; }
3567 CFLAGS="$_svn_xxflags__save"
3570 _svn_xxflags__save="$CFLAGS"
3572 ac_cpp='$CPP $CPPFLAGS'
3573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -ansi" >&5
3578 $as_echo_n "checking if $CC accepts -ansi... " >&6; }
3579 CFLAGS="-ansi $CFLAGS"
3580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3581 /* end confdefs.h. */
3582 int main(void){return 0;}
3584 if ac_fn_c_try_link "$LINENO"; then :
3586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3587 $as_echo "yes" >&6; }
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3593 $as_echo "no" >&6; }
3594 CFLAGS="$_svn_xxflags__save"
3598 rm -f core conftest.err conftest.$ac_objext \
3599 conftest$ac_exeext conftest.$ac_ext
3601 ac_cpp='$CPP $CPPFLAGS'
3602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3610 rm -f core conftest.err conftest.$ac_objext \
3611 conftest$ac_exeext conftest.$ac_ext
3613 ac_cpp='$CPP $CPPFLAGS'
3614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3622 rm -f core conftest.err conftest.$ac_objext \
3623 conftest$ac_exeext conftest.$ac_ext
3625 ac_cpp='$CPP $CPPFLAGS'
3626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3633 CMODEFLAGS="$CFLAGS"
3636 if test "$GCC" = "yes"; then
3638 _svn_xxflags__save="$CFLAGS"
3640 ac_cpp='$CPP $CPPFLAGS'
3641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -w" >&5
3646 $as_echo_n "checking if $CC accepts -w... " >&6; }
3648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3649 /* end confdefs.h. */
3650 int main(void){return 0;}
3652 if ac_fn_c_try_link "$LINENO"; then :
3654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3655 $as_echo "yes" >&6; }
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3661 $as_echo "no" >&6; }
3662 CFLAGS="$_svn_xxflags__save"
3666 rm -f core conftest.err conftest.$ac_objext \
3667 conftest$ac_exeext conftest.$ac_ext
3669 ac_cpp='$CPP $CPPFLAGS'
3670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3677 CNOWARNFLAGS="$CFLAGS"
3678 CFLAGS="$CFLAGS_KEEP"
3685 if test "$GCC" = "yes"; then
3687 _svn_xxflags__save="$CFLAGS"
3689 ac_cpp='$CPP $CPPFLAGS'
3690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=unknown-warning-option" >&5
3695 $as_echo_n "checking if $CC accepts -Werror=unknown-warning-option... " >&6; }
3696 CFLAGS="-Werror=unknown-warning-option $CFLAGS"
3697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3698 /* end confdefs.h. */
3699 int main(void){return 0;}
3701 if ac_fn_c_try_link "$LINENO"; then :
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3704 $as_echo "yes" >&6; }
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3710 $as_echo "no" >&6; }
3711 CFLAGS="$_svn_xxflags__save"
3715 rm -f core conftest.err conftest.$ac_objext \
3716 conftest$ac_exeext conftest.$ac_ext
3718 ac_cpp='$CPP $CPPFLAGS'
3719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3727 # Look for a C++ compiler (before anything can set CXXFLAGS)
3728 CXXUSERFLAGS="$CXXFLAGS"
3730 ac_cpp='$CXXCPP $CPPFLAGS'
3731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3734 if test -z "$CXX"; then
3735 if test -n "$CCC"; then
3738 if test -n "$ac_tool_prefix"; then
3739 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3741 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3742 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3744 $as_echo_n "checking for $ac_word... " >&6; }
3745 if ${ac_cv_prog_CXX+:} false; then :
3746 $as_echo_n "(cached) " >&6
3748 if test -n "$CXX"; then
3749 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3755 test -z "$as_dir" && as_dir=.
3756 for ac_exec_ext in '' $ac_executable_extensions; do
3757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3758 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3769 if test -n "$CXX"; then
3770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3771 $as_echo "$CXX" >&6; }
3773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3774 $as_echo "no" >&6; }
3778 test -n "$CXX" && break
3781 if test -z "$CXX"; then
3783 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3785 # Extract the first word of "$ac_prog", so it can be a program name with args.
3786 set dummy $ac_prog; ac_word=$2
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3788 $as_echo_n "checking for $ac_word... " >&6; }
3789 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3790 $as_echo_n "(cached) " >&6
3792 if test -n "$ac_ct_CXX"; then
3793 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3795 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3799 test -z "$as_dir" && as_dir=.
3800 for ac_exec_ext in '' $ac_executable_extensions; do
3801 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3802 ac_cv_prog_ac_ct_CXX="$ac_prog"
3803 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3812 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3813 if test -n "$ac_ct_CXX"; then
3814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3815 $as_echo "$ac_ct_CXX" >&6; }
3817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3818 $as_echo "no" >&6; }
3822 test -n "$ac_ct_CXX" && break
3825 if test "x$ac_ct_CXX" = x; then
3828 case $cross_compiling:$ac_tool_warned in
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3831 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3832 ac_tool_warned=yes ;;
3840 # Provide some information about the compiler.
3841 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3844 for ac_option in --version -v -V -qversion; do
3845 { { ac_try="$ac_compiler $ac_option >&5"
3847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3848 *) ac_try_echo=$ac_try;;
3850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3851 $as_echo "$ac_try_echo"; } >&5
3852 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3854 if test -s conftest.err; then
3856 ... rest of stderr output deleted ...
3857 10q' conftest.err >conftest.er1
3858 cat conftest.er1 >&5
3860 rm -f conftest.er1 conftest.err
3861 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3862 test $ac_status = 0; }
3865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3866 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3867 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3868 $as_echo_n "(cached) " >&6
3870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3871 /* end confdefs.h. */
3884 if ac_fn_cxx_try_compile "$LINENO"; then :
3889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3890 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3894 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3895 if test $ac_compiler_gnu = yes; then
3900 ac_test_CXXFLAGS=${CXXFLAGS+set}
3901 ac_save_CXXFLAGS=$CXXFLAGS
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3903 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3904 if ${ac_cv_prog_cxx_g+:} false; then :
3905 $as_echo_n "(cached) " >&6
3907 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3908 ac_cxx_werror_flag=yes
3911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3912 /* end confdefs.h. */
3922 if ac_fn_cxx_try_compile "$LINENO"; then :
3923 ac_cv_prog_cxx_g=yes
3926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3927 /* end confdefs.h. */
3937 if ac_fn_cxx_try_compile "$LINENO"; then :
3940 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3943 /* end confdefs.h. */
3953 if ac_fn_cxx_try_compile "$LINENO"; then :
3954 ac_cv_prog_cxx_g=yes
3956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3961 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3964 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3965 if test "$ac_test_CXXFLAGS" = set; then
3966 CXXFLAGS=$ac_save_CXXFLAGS
3967 elif test $ac_cv_prog_cxx_g = yes; then
3968 if test "$GXX" = yes; then
3974 if test "$GXX" = yes; then
3981 ac_cpp='$CPP $CPPFLAGS'
3982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3988 CXXFLAGS_KEEP="$CXXFLAGS"
3991 if test "$GXX" = "yes"; then
3993 _svn_xxflags__save="$CXXFLAGS"
3995 ac_cpp='$CXXCPP $CPPFLAGS'
3996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -std=c++98" >&5
4001 $as_echo_n "checking if $CXX accepts -std=c++98... " >&6; }
4002 CXXFLAGS="-std=c++98 $CXXFLAGS"
4003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4004 /* end confdefs.h. */
4007 if ac_fn_cxx_try_link "$LINENO"; then :
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4010 $as_echo "yes" >&6; }
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4016 $as_echo "no" >&6; }
4017 CXXFLAGS="$_svn_xxflags__save"
4021 rm -f core conftest.err conftest.$ac_objext \
4022 conftest$ac_exeext conftest.$ac_ext
4024 ac_cpp='$CPP $CPPFLAGS'
4025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4032 CXXMODEFLAGS="$CXXFLAGS"
4035 if test "$GXX" = "yes"; then
4037 _svn_xxflags__save="$CXXFLAGS"
4039 ac_cpp='$CXXCPP $CPPFLAGS'
4040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -w" >&5
4045 $as_echo_n "checking if $CXX accepts -w... " >&6; }
4046 CXXFLAGS="-w $CXXFLAGS"
4047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4048 /* end confdefs.h. */
4051 if ac_fn_cxx_try_link "$LINENO"; then :
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4054 $as_echo "yes" >&6; }
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4060 $as_echo "no" >&6; }
4061 CXXFLAGS="$_svn_xxflags__save"
4065 rm -f core conftest.err conftest.$ac_objext \
4066 conftest$ac_exeext conftest.$ac_ext
4068 ac_cpp='$CPP $CPPFLAGS'
4069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4076 CXXNOWARNFLAGS="$CXXFLAGS"
4077 CXXFLAGS="$CXXFLAGS_KEEP"
4084 if test "$GXX" = "yes"; then
4086 _svn_xxflags__save="$CXXFLAGS"
4088 ac_cpp='$CXXCPP $CPPFLAGS'
4089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Werror=unknown-warning-option" >&5
4094 $as_echo_n "checking if $CXX accepts -Werror=unknown-warning-option... " >&6; }
4095 CXXFLAGS="-Werror=unknown-warning-option $CXXFLAGS"
4096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4097 /* end confdefs.h. */
4100 if ac_fn_cxx_try_link "$LINENO"; then :
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4103 $as_echo "yes" >&6; }
4108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4109 $as_echo "no" >&6; }
4110 CXXFLAGS="$_svn_xxflags__save"
4114 rm -f core conftest.err conftest.$ac_objext \
4115 conftest$ac_exeext conftest.$ac_ext
4117 ac_cpp='$CPP $CPPFLAGS'
4118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4126 # Look for a C pre-processor
4128 ac_cpp='$CPP $CPPFLAGS'
4129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4133 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4134 # On Suns, sometimes $CPP names a directory.
4135 if test -n "$CPP" && test -d "$CPP"; then
4138 if test -z "$CPP"; then
4139 if ${ac_cv_prog_CPP+:} false; then :
4140 $as_echo_n "(cached) " >&6
4142 # Double quotes because CPP needs to be expanded
4143 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4146 for ac_c_preproc_warn_flag in '' yes
4148 # Use a header file that comes with gcc, so configuring glibc
4149 # with a fresh cross-compiler works.
4150 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4151 # <limits.h> exists even on freestanding compilers.
4152 # On the NeXT, cc -E runs the code through the compiler's parser,
4153 # not just through cpp. "Syntax error" is here to catch this case.
4154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4155 /* end confdefs.h. */
4157 # include <limits.h>
4159 # include <assert.h>
4163 if ac_fn_c_try_cpp "$LINENO"; then :
4166 # Broken: fails on valid input.
4169 rm -f conftest.err conftest.i conftest.$ac_ext
4171 # OK, works on sane cases. Now check whether nonexistent headers
4172 # can be detected and how.
4173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4174 /* end confdefs.h. */
4175 #include <ac_nonexistent.h>
4177 if ac_fn_c_try_cpp "$LINENO"; then :
4178 # Broken: success on invalid input.
4181 # Passes both tests.
4185 rm -f conftest.err conftest.i conftest.$ac_ext
4188 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4189 rm -f conftest.i conftest.err conftest.$ac_ext
4190 if $ac_preproc_ok; then :
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4203 $as_echo "$CPP" >&6; }
4205 for ac_c_preproc_warn_flag in '' yes
4207 # Use a header file that comes with gcc, so configuring glibc
4208 # with a fresh cross-compiler works.
4209 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4210 # <limits.h> exists even on freestanding compilers.
4211 # On the NeXT, cc -E runs the code through the compiler's parser,
4212 # not just through cpp. "Syntax error" is here to catch this case.
4213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4216 # include <limits.h>
4218 # include <assert.h>
4222 if ac_fn_c_try_cpp "$LINENO"; then :
4225 # Broken: fails on valid input.
4228 rm -f conftest.err conftest.i conftest.$ac_ext
4230 # OK, works on sane cases. Now check whether nonexistent headers
4231 # can be detected and how.
4232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4233 /* end confdefs.h. */
4234 #include <ac_nonexistent.h>
4236 if ac_fn_c_try_cpp "$LINENO"; then :
4237 # Broken: success on invalid input.
4240 # Passes both tests.
4244 rm -f conftest.err conftest.i conftest.$ac_ext
4247 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4248 rm -f conftest.i conftest.err conftest.$ac_ext
4249 if $ac_preproc_ok; then :
4252 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4253 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4254 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4255 See \`config.log' for more details" "$LINENO" 5; }
4259 ac_cpp='$CPP $CPPFLAGS'
4260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4265 # Look for a good sed
4266 # AC_PROG_SED was introduced in Autoconf 2.59b
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4268 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4269 if ${ac_cv_path_SED+:} false; then :
4270 $as_echo_n "(cached) " >&6
4272 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4273 for ac_i in 1 2 3 4 5 6 7; do
4274 ac_script="$ac_script$as_nl$ac_script"
4276 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4277 { ac_script=; unset ac_script;}
4278 if test -z "$SED"; then
4279 ac_path_SED_found=false
4280 # Loop through the user's path and test for each of PROGNAME-LIST
4281 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4285 test -z "$as_dir" && as_dir=.
4286 for ac_prog in sed gsed; do
4287 for ac_exec_ext in '' $ac_executable_extensions; do
4288 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4289 as_fn_executable_p "$ac_path_SED" || continue
4290 # Check for GNU ac_path_SED and select it if it is found.
4291 # Check for GNU $ac_path_SED
4292 case `"$ac_path_SED" --version 2>&1` in
4294 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4297 $as_echo_n 0123456789 >"conftest.in"
4300 cat "conftest.in" "conftest.in" >"conftest.tmp"
4301 mv "conftest.tmp" "conftest.in"
4302 cp "conftest.in" "conftest.nl"
4303 $as_echo '' >> "conftest.nl"
4304 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4305 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4306 as_fn_arith $ac_count + 1 && ac_count=$as_val
4307 if test $ac_count -gt ${ac_path_SED_max-0}; then
4308 # Best one so far, save it but keep looking for a better one
4309 ac_cv_path_SED="$ac_path_SED"
4310 ac_path_SED_max=$ac_count
4312 # 10*(2^10) chars as input seems more than enough
4313 test $ac_count -gt 10 && break
4315 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4318 $ac_path_SED_found && break 3
4323 if test -z "$ac_cv_path_SED"; then
4324 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4332 $as_echo "$ac_cv_path_SED" >&6; }
4333 SED="$ac_cv_path_SED"
4337 # Grab target_cpu, so we can use it in the Solaris pkginfo file
4338 # Make sure we can run config.sub.
4339 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4340 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4343 $as_echo_n "checking build system type... " >&6; }
4344 if ${ac_cv_build+:} false; then :
4345 $as_echo_n "(cached) " >&6
4347 ac_build_alias=$build_alias
4348 test "x$ac_build_alias" = x &&
4349 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4350 test "x$ac_build_alias" = x &&
4351 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4352 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4353 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4357 $as_echo "$ac_cv_build" >&6; }
4358 case $ac_cv_build in
4360 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4363 ac_save_IFS=$IFS; IFS='-'
4369 # Remember, the first character of IFS is used to create $*,
4370 # except with old shells:
4373 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4377 $as_echo_n "checking host system type... " >&6; }
4378 if ${ac_cv_host+:} false; then :
4379 $as_echo_n "(cached) " >&6
4381 if test "x$host_alias" = x; then
4382 ac_cv_host=$ac_cv_build
4384 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4385 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4390 $as_echo "$ac_cv_host" >&6; }
4393 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4396 ac_save_IFS=$IFS; IFS='-'
4402 # Remember, the first character of IFS is used to create $*,
4403 # except with old shells:
4406 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4410 $as_echo_n "checking target system type... " >&6; }
4411 if ${ac_cv_target+:} false; then :
4412 $as_echo_n "(cached) " >&6
4414 if test "x$target_alias" = x; then
4415 ac_cv_target=$ac_cv_host
4417 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4418 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4423 $as_echo "$ac_cv_target" >&6; }
4424 case $ac_cv_target in
4426 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
4428 target=$ac_cv_target
4429 ac_save_IFS=$IFS; IFS='-'
4435 # Remember, the first character of IFS is used to create $*,
4436 # except with old shells:
4439 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4442 # The aliases save the names the user supplied, while $host etc.
4443 # will get canonicalized.
4444 test -n "$target_alias" &&
4445 test "$program_prefix$program_suffix$program_transform_name" = \
4447 program_prefix=${target_alias}-
4449 # Look for an extended grep
4450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4451 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4452 if ${ac_cv_path_GREP+:} false; then :
4453 $as_echo_n "(cached) " >&6
4455 if test -z "$GREP"; then
4456 ac_path_GREP_found=false
4457 # Loop through the user's path and test for each of PROGNAME-LIST
4458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4459 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4462 test -z "$as_dir" && as_dir=.
4463 for ac_prog in grep ggrep; do
4464 for ac_exec_ext in '' $ac_executable_extensions; do
4465 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4466 as_fn_executable_p "$ac_path_GREP" || continue
4467 # Check for GNU ac_path_GREP and select it if it is found.
4468 # Check for GNU $ac_path_GREP
4469 case `"$ac_path_GREP" --version 2>&1` in
4471 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4474 $as_echo_n 0123456789 >"conftest.in"
4477 cat "conftest.in" "conftest.in" >"conftest.tmp"
4478 mv "conftest.tmp" "conftest.in"
4479 cp "conftest.in" "conftest.nl"
4480 $as_echo 'GREP' >> "conftest.nl"
4481 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4482 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4483 as_fn_arith $ac_count + 1 && ac_count=$as_val
4484 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4485 # Best one so far, save it but keep looking for a better one
4486 ac_cv_path_GREP="$ac_path_GREP"
4487 ac_path_GREP_max=$ac_count
4489 # 10*(2^10) chars as input seems more than enough
4490 test $ac_count -gt 10 && break
4492 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4495 $ac_path_GREP_found && break 3
4500 if test -z "$ac_cv_path_GREP"; then
4501 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4504 ac_cv_path_GREP=$GREP
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4509 $as_echo "$ac_cv_path_GREP" >&6; }
4510 GREP="$ac_cv_path_GREP"
4513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4514 $as_echo_n "checking for egrep... " >&6; }
4515 if ${ac_cv_path_EGREP+:} false; then :
4516 $as_echo_n "(cached) " >&6
4518 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4519 then ac_cv_path_EGREP="$GREP -E"
4521 if test -z "$EGREP"; then
4522 ac_path_EGREP_found=false
4523 # Loop through the user's path and test for each of PROGNAME-LIST
4524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4525 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4528 test -z "$as_dir" && as_dir=.
4529 for ac_prog in egrep; do
4530 for ac_exec_ext in '' $ac_executable_extensions; do
4531 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4532 as_fn_executable_p "$ac_path_EGREP" || continue
4533 # Check for GNU ac_path_EGREP and select it if it is found.
4534 # Check for GNU $ac_path_EGREP
4535 case `"$ac_path_EGREP" --version 2>&1` in
4537 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4540 $as_echo_n 0123456789 >"conftest.in"
4543 cat "conftest.in" "conftest.in" >"conftest.tmp"
4544 mv "conftest.tmp" "conftest.in"
4545 cp "conftest.in" "conftest.nl"
4546 $as_echo 'EGREP' >> "conftest.nl"
4547 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4548 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4549 as_fn_arith $ac_count + 1 && ac_count=$as_val
4550 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4551 # Best one so far, save it but keep looking for a better one
4552 ac_cv_path_EGREP="$ac_path_EGREP"
4553 ac_path_EGREP_max=$ac_count
4555 # 10*(2^10) chars as input seems more than enough
4556 test $ac_count -gt 10 && break
4558 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4561 $ac_path_EGREP_found && break 3
4566 if test -z "$ac_cv_path_EGREP"; then
4567 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4570 ac_cv_path_EGREP=$EGREP
4575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4576 $as_echo "$ac_cv_path_EGREP" >&6; }
4577 EGREP="$ac_cv_path_EGREP"
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4582 $as_echo_n "checking whether ln -s works... " >&6; }
4584 if test "$LN_S" = "ln -s"; then
4585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4586 $as_echo "yes" >&6; }
4588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4589 $as_echo "no, using $LN_S" >&6; }
4593 # Find a good install program. We prefer a C program (faster),
4594 # so one script is as good as another. But avoid the broken or
4595 # incompatible versions:
4596 # SysV /etc/install, /usr/sbin/install
4597 # SunOS /usr/etc/install
4598 # IRIX /sbin/install
4600 # AmigaOS /C/install, which installs bootblocks on floppy discs
4601 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4602 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4603 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4604 # OS/2's system install, which has a completely different semantic
4605 # ./install, which can be erroneously created by make from ./install.sh.
4606 # Reject install programs that cannot install multiple files.
4607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4608 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4609 if test -z "$INSTALL"; then
4610 if ${ac_cv_path_install+:} false; then :
4611 $as_echo_n "(cached) " >&6
4613 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4617 test -z "$as_dir" && as_dir=.
4618 # Account for people who put trailing slashes in PATH elements.
4619 case $as_dir/ in #((
4620 ./ | .// | /[cC]/* | \
4621 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4622 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4625 # OSF1 and SCO ODT 3.0 have their own names for install.
4626 # Don't use installbsd from OSF since it installs stuff as root
4628 for ac_prog in ginstall scoinst install; do
4629 for ac_exec_ext in '' $ac_executable_extensions; do
4630 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4631 if test $ac_prog = install &&
4632 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4633 # AIX install. It has an incompatible calling convention.
4635 elif test $ac_prog = install &&
4636 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4637 # program-specific install script used by HP pwplus--don't use.
4640 rm -rf conftest.one conftest.two conftest.dir
4641 echo one > conftest.one
4642 echo two > conftest.two
4644 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4645 test -s conftest.one && test -s conftest.two &&
4646 test -s conftest.dir/conftest.one &&
4647 test -s conftest.dir/conftest.two
4649 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4662 rm -rf conftest.one conftest.two conftest.dir
4665 if test "${ac_cv_path_install+set}" = set; then
4666 INSTALL=$ac_cv_path_install
4668 # As a last resort, use the slow shell script. Don't cache a
4669 # value for INSTALL within a source directory, because that will
4670 # break other packages using the cache if that directory is
4671 # removed, or if the value is a relative name.
4672 INSTALL=$ac_install_sh
4675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4676 $as_echo "$INSTALL" >&6; }
4678 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4679 # It thinks the first close brace ends the variable substitution.
4680 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4682 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4684 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4686 # If $INSTALL is relative path to our fallback install-sh, then convert
4687 # to an absolute path, as in some cases (e.g. Solaris VPATH build), libtool
4688 # may try to use it from a changed working directory.
4689 if test "$INSTALL" = "build/install-sh -c"; then
4690 INSTALL="$abs_srcdir/$INSTALL"
4693 if test -z "$MKDIR"; then
4698 # ==== Libraries, for which we may have source to build ======================
4701 APR_VER_REGEXES="1\.[3-9]\. 2\."
4704 APR_WANTED_REGEXES="$APR_VER_REGEXES"
4706 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime (APR) library configuration" >&5
4707 $as_echo "$as_me: Apache Portable Runtime (APR) library configuration" >&6;}
4712 if test "$ac_cv_emxos2" = "yes"; then
4713 # Scripts don't pass test -x on OS/2
4719 acceptable_majors="2 1 0"
4721 apr_temp_acceptable_apr_config=""
4722 for apr_temp_major in $acceptable_majors
4724 case $apr_temp_major in
4726 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
4729 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
4735 $as_echo_n "checking for APR... " >&6; }
4737 # Check whether --with-apr was given.
4738 if test "${with_apr+set}" = set; then :
4740 if test "$withval" = "no" || test "$withval" = "yes"; then
4741 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
4744 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4746 for lookdir in "$withval/bin" "$withval"
4748 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
4750 apr_config="$lookdir/$apr_temp_apr_config_file"
4756 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
4758 apr_config="$withval"
4761 if test "$apr_found" != "yes"; then
4762 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
4767 if test -d """"; then
4768 apr_temp_abs_srcdir="`cd "" && pwd`"
4769 apr_found="reconfig"
4770 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apr_version.h\"`"
4771 case $apr_bundled_major in
4773 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
4776 apr_temp_apr_config_file="apr-config"
4779 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
4782 if test -n """"; then
4783 apr_config="""/$apr_temp_apr_config_file"
4785 apr_config="""/$apr_temp_apr_config_file"
4788 if test "$apr_found" = "no" && test -n "1" && test "1" = "1"; then
4789 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4791 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
4793 apr_config="$apr_temp_apr_config_file"
4796 for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
4797 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
4799 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
4811 $as_echo "$apr_found" >&6; }
4814 if test $apr_found = "no"; then
4815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APR not found" >&5
4816 $as_echo "$as_me: WARNING: APR not found" >&2;}
4818 echo "The Apache Portable Runtime (APR) library cannot be found."
4819 echo "Please install APR on this system and configure Subversion"
4820 echo "with the appropriate --with-apr option."
4822 echo "You probably need to do something similar with the Apache"
4823 echo "Portable Runtime Utility (APRUTIL) library and then configure"
4824 echo "Subversion with both the --with-apr and --with-apr-util options."
4826 as_fn_error $? "no suitable APR found" "$LINENO" 5
4830 if test $apr_found = "reconfig"; then
4831 as_fn_error $? "Unexpected APR reconfig" "$LINENO" 5
4835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APR version" >&5
4836 $as_echo_n "checking APR version... " >&6; }
4837 apr_version="`$apr_config --version`"
4838 if test $? -ne 0; then
4839 as_fn_error $? "apr-config --version failed" "$LINENO" 5
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_version" >&5
4842 $as_echo "$apr_version" >&6; }
4844 APR_WANTED_REGEX_MATCH=0
4845 for apr_wanted_regex in $APR_WANTED_REGEXES; do
4846 if test `expr $apr_version : $apr_wanted_regex` -ne 0; then
4847 APR_WANTED_REGEX_MATCH=1
4852 if test $APR_WANTED_REGEX_MATCH -eq 0; then
4853 echo "wanted regexes are $APR_WANTED_REGEXES"
4854 as_fn_error $? "invalid apr version found" "$LINENO" 5
4858 CPPFLAGS="$CPPFLAGS `$apr_config --cppflags`"
4859 if test $? -ne 0; then
4860 as_fn_error $? "apr-config --cppflags failed" "$LINENO" 5
4863 CFLAGS="$CFLAGS `$apr_config --cflags`"
4864 if test $? -ne 0; then
4865 as_fn_error $? "apr-config --cflags failed" "$LINENO" 5
4868 apr_ldflags="`$apr_config --ldflags`"
4869 if test $? -ne 0; then
4870 as_fn_error $? "apr-config --ldflags failed" "$LINENO" 5
4873 input_flags="$apr_ldflags"
4875 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4876 for flag in $input_flags; do
4878 for dir in $filtered_dirs; do
4879 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4884 if test "$filter" = "no"; then
4885 output_flags="$output_flags $flag"
4888 if test -n "$output_flags"; then
4889 printf "%s" "${output_flags# }"
4893 SVN_APR_INCLUDES="`$apr_config --includes`"
4894 if test $? -ne 0; then
4895 as_fn_error $? "apr-config --includes failed" "$LINENO" 5
4898 if test "$enable_all_static" = "yes"; then
4899 SVN_APR_LIBS="`$apr_config --link-ld --libs`"
4900 if test $? -ne 0; then
4901 as_fn_error $? "apr-config --link-ld --libs failed" "$LINENO" 5
4904 SVN_APR_LIBS="`$apr_config --link-ld`"
4905 if test $? -ne 0; then
4906 as_fn_error $? "apr-config --link-ld failed" "$LINENO" 5
4910 input_flags="$SVN_APR_LIBS"
4912 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4913 for flag in $input_flags; do
4915 for dir in $filtered_dirs; do
4916 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4921 if test "$filter" = "no"; then
4922 output_flags="$output_flags $flag"
4925 if test -n "$output_flags"; then
4926 printf "%s" "${output_flags# }"
4930 SVN_APR_SHLIB_PATH_VAR="`$apr_config --shlib-path-var`"
4931 if test $? -ne 0; then
4932 as_fn_error $? "apr-config --shlib-path-var failed" "$LINENO" 5
4935 SVN_APR_CONFIG="$apr_config"
4942 if test `expr $apr_version : 2` -ne 0; then
4944 apu_config=$apr_config
4946 SVN_APRUTIL_CONFIG="$apu_config"
4949 SVN_APR_MAJOR_VERSION=2
4952 APU_VER_REGEXES="1\.[3-9]\."
4954 APRUTIL_WANTED_REGEXES="$APU_VER_REGEXES"
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime Utility (APRUTIL) library configuration" >&5
4957 $as_echo "$as_me: Apache Portable Runtime Utility (APRUTIL) library configuration" >&6;}
4962 if test "$ac_cv_emxos2" = "yes"; then
4963 # Scripts don't pass test -x on OS/2
4969 acceptable_majors="1 0"
4971 apu_temp_acceptable_apu_config=""
4972 for apu_temp_major in $acceptable_majors
4974 case $apu_temp_major in
4976 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-config"
4979 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-$apu_temp_major-config"
4984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR-util" >&5
4985 $as_echo_n "checking for APR-util... " >&6; }
4987 # Check whether --with-apr-util was given.
4988 if test "${with_apr_util+set}" = set; then :
4989 withval=$with_apr_util;
4990 if test "$withval" = "no" || test "$withval" = "yes"; then
4991 as_fn_error $? "--with-apr-util requires a directory or file to be provided" "$LINENO" 5
4994 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
4996 for lookdir in "$withval/bin" "$withval"
4998 if $TEST_X "$lookdir/$apu_temp_apu_config_file"; then
5000 apu_config="$lookdir/$apu_temp_apu_config_file"
5006 if test "$apu_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
5008 apu_config="$withval"
5011 if test "$apu_found" != "yes"; then
5012 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
5017 if test -d """"; then
5018 apu_temp_abs_srcdir="`cd "" && pwd`"
5019 apu_found="reconfig"
5020 apu_bundled_major="`sed -n '/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apu_version.h\"`"
5021 case $apu_bundled_major in
5023 as_fn_error $? "failed to find major version of bundled APU" "$LINENO" 5
5026 apu_temp_apu_config_file="apu-config"
5029 apu_temp_apu_config_file="apu-$apu_bundled_major-config"
5032 if test -n """"; then
5033 apu_config="""/$apu_temp_apu_config_file"
5035 apu_config="""/$apu_temp_apu_config_file"
5038 if test "$apu_found" = "no" && test -n "1" && test "1" = "1"; then
5039 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
5041 if $apu_temp_apu_config_file --help > /dev/null 2>&1 ; then
5043 apu_config="$apu_temp_apu_config_file"
5046 for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
5047 if $TEST_X "$lookdir/bin/$apu_temp_apu_config_file"; then
5049 apu_config="$lookdir/bin/$apu_temp_apu_config_file"
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_found" >&5
5061 $as_echo "$apu_found" >&6; }
5064 if test $apu_found = "no"; then
5065 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APRUTIL not found" >&5
5066 $as_echo "$as_me: WARNING: APRUTIL not found" >&2;}
5068 echo "The Apache Portable Runtime Utility (APRUTIL) library cannot be found."
5069 echo "Install APRUTIL on this system and configure Subversion with the"
5070 echo " appropriate --with-apr-util option."
5072 as_fn_error $? "no suitable APRUTIL found" "$LINENO" 5
5076 if test $apu_found = "reconfig"; then
5077 as_fn_error $? "Unexpected APRUTIL reconfig" "$LINENO" 5
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APRUTIL version" >&5
5082 $as_echo_n "checking APRUTIL version... " >&6; }
5083 apu_version="`$apu_config --version`"
5084 if test $? -ne 0; then
5085 # This is a hack as suggested by Ben Collins-Sussman. It can be
5086 # removed after apache 2.0.44 has been released. (The apu-config
5087 # shipped in 2.0.43 contains a correct version number, but
5088 # stupidly doesn't understand the --version switch.)
5089 apu_version=`grep "APRUTIL_DOTTED_VERSION=" $(which $apu_config) | tr -d "APRUTIL_DOTTED_VERSION="| tr -d '"'`
5091 # apu-config --version failed.
5092 # Your apu-config doesn't support the --version switch, please upgrade
5093 # to APR-UTIL more recent than 2002-Nov-05.])
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_version" >&5
5096 $as_echo "$apu_version" >&6; }
5098 APU_WANTED_REGEX_MATCH=0
5099 for apu_wanted_regex in $APRUTIL_WANTED_REGEXES; do
5100 if test `expr $apu_version : $apu_wanted_regex` -ne 0; then
5101 APU_WANTED_REGEX_MATCH=1
5106 if test $APU_WANTED_REGEX_MATCH -eq 0; then
5107 echo "wanted regexes are $APRUTIL_WANTED_REGEXES"
5108 as_fn_error $? "invalid APRUTIL version found" "$LINENO" 5
5112 apu_ldflags="`$apu_config --ldflags`"
5113 if test $? -ne 0; then
5114 as_fn_error $? "apu-config --ldflags failed" "$LINENO" 5
5117 input_flags="$apu_ldflags"
5119 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5120 for flag in $input_flags; do
5122 for dir in $filtered_dirs; do
5123 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5128 if test "$filter" = "no"; then
5129 output_flags="$output_flags $flag"
5132 if test -n "$output_flags"; then
5133 printf "%s" "${output_flags# }"
5137 SVN_APRUTIL_INCLUDES="`$apu_config --includes`"
5138 if test $? -ne 0; then
5139 as_fn_error $? "apu-config --includes failed" "$LINENO" 5
5142 if test "$enable_all_static" = "yes"; then
5143 SVN_APRUTIL_LIBS="`$apu_config --link-ld --libs`"
5144 if test $? -ne 0; then
5145 as_fn_error $? "apu-config --link-ld --libs failed" "$LINENO" 5
5148 SVN_APRUTIL_LIBS="`$apu_config --link-ld`"
5149 if test $? -ne 0; then
5150 as_fn_error $? "apu-config --link-ld failed" "$LINENO" 5
5154 input_flags="$SVN_APRUTIL_LIBS"
5156 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5157 for flag in $input_flags; do
5159 for dir in $filtered_dirs; do
5160 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5165 if test "$filter" = "no"; then
5166 output_flags="$output_flags $flag"
5169 if test -n "$output_flags"; then
5170 printf "%s" "${output_flags# }"
5175 SVN_APRUTIL_CONFIG="$apu_config"
5179 SVN_HAVE_OLD_EXPAT="`$apu_config --old-expat`"
5180 if test "$SVN_HAVE_OLD_EXPAT" = "yes"; then
5182 $as_echo "#define SVN_HAVE_OLD_EXPAT 1" >>confdefs.h
5186 SVN_APR_MAJOR_VERSION=1
5189 SVN_LT_SOVERSION="-version-info $svn_lib_ver"
5192 cat >>confdefs.h <<_ACEOF
5193 #define SVN_SOVERSION $svn_lib_ver
5197 # Extract the first word of "pkg-config", so it can be a program name with args.
5198 set dummy pkg-config; ac_word=$2
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5200 $as_echo_n "checking for $ac_word... " >&6; }
5201 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5202 $as_echo_n "(cached) " >&6
5206 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5213 test -z "$as_dir" && as_dir=.
5214 for ac_exec_ext in '' $ac_executable_extensions; do
5215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5216 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5228 if test -n "$PKG_CONFIG"; then
5229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5230 $as_echo "$PKG_CONFIG" >&6; }
5232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5233 $as_echo "no" >&6; }
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5240 $as_echo_n "checking for ANSI C header files... " >&6; }
5241 if ${ac_cv_header_stdc+:} false; then :
5242 $as_echo_n "(cached) " >&6
5244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5245 /* end confdefs.h. */
5259 if ac_fn_c_try_compile "$LINENO"; then :
5260 ac_cv_header_stdc=yes
5262 ac_cv_header_stdc=no
5264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5266 if test $ac_cv_header_stdc = yes; then
5267 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5273 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5274 $EGREP "memchr" >/dev/null 2>&1; then :
5277 ac_cv_header_stdc=no
5283 if test $ac_cv_header_stdc = yes; then
5284 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5286 /* end confdefs.h. */
5290 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5291 $EGREP "free" >/dev/null 2>&1; then :
5294 ac_cv_header_stdc=no
5300 if test $ac_cv_header_stdc = yes; then
5301 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5302 if test "$cross_compiling" = yes; then :
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5309 #if ((' ' & 0x0FF) == 0x020)
5310 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5311 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5313 # define ISLOWER(c) \
5314 (('a' <= (c) && (c) <= 'i') \
5315 || ('j' <= (c) && (c) <= 'r') \
5316 || ('s' <= (c) && (c) <= 'z'))
5317 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5320 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5325 for (i = 0; i < 256; i++)
5326 if (XOR (islower (i), ISLOWER (i))
5327 || toupper (i) != TOUPPER (i))
5332 if ac_fn_c_try_run "$LINENO"; then :
5335 ac_cv_header_stdc=no
5337 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5338 conftest.$ac_objext conftest.beam conftest.$ac_ext
5343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5344 $as_echo "$ac_cv_header_stdc" >&6; }
5345 if test $ac_cv_header_stdc = yes; then
5347 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5351 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5352 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5353 inttypes.h stdint.h unistd.h
5355 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5356 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5358 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5359 cat >>confdefs.h <<_ACEOF
5360 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5373 serf_check_major="1"
5374 serf_check_minor="3"
5375 serf_check_patch="4"
5376 serf_check_version="1.3.4"
5379 # Check whether --with-serf was given.
5380 if test "${with_serf+set}" = set; then :
5382 if test "$withval" = "yes" ; then
5384 elif test "$withval" = "no" ; then
5388 serf_prefix="$withval"
5394 if test "$serf_skip" = "no" ; then
5396 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via pkg-config" >&5
5397 $as_echo "$as_me: serf library configuration via pkg-config" >&6;}
5398 if test -n "$PKG_CONFIG"; then
5399 for serf_major in serf-2 serf-1; do
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $serf_major library" >&5
5401 $as_echo_n "checking for $serf_major library... " >&6; }
5402 if test -n "$serf_prefix" ; then
5403 if test -e "$serf_prefix/$serf_major.pc" ; then
5404 serf_pc_arg="$serf_prefix/$serf_major.pc"
5405 elif test -e "$serf_prefix/lib/pkgconfig/$serf_major.pc" ; then
5406 serf_pc_arg="$serf_prefix/lib/pkgconfig/$serf_major.pc"
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5413 serf_pc_arg="$serf_major"
5415 if $PKG_CONFIG $serf_pc_arg --exists; then
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5417 $as_echo "yes" >&6; }
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf library version" >&5
5419 $as_echo_n "checking serf library version... " >&6; }
5420 SERF_VERSION=`$PKG_CONFIG $serf_pc_arg --modversion`
5421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SERF_VERSION" >&5
5422 $as_echo "$SERF_VERSION" >&6; }
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf version is suitable" >&5
5424 $as_echo_n "checking serf version is suitable... " >&6; }
5425 if $PKG_CONFIG $serf_pc_arg --atleast-version=$serf_check_version; then
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5427 $as_echo "yes" >&6; }
5429 SVN_SERF_INCLUDES=`$PKG_CONFIG $serf_pc_arg --cflags | $SED -e 's/-D[^ ]*//g'`
5430 SVN_SERF_LIBS=`$PKG_CONFIG $serf_pc_arg --libs-only-l`
5431 LDFLAGS="$LDFLAGS `$PKG_CONFIG $serf_pc_arg --libs | $SED -e 's/-l[^ ]*//g'`"
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5435 $as_echo "no" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5437 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5441 $as_echo "no" >&6; }
5446 if test -n "$serf_prefix" && test "$serf_found" = "no" ; then
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via prefix" >&5
5449 $as_echo "$as_me: serf library configuration via prefix" >&6;}
5451 for serf_major in serf-2 serf-1; do
5452 if ! test -d $serf_prefix/include/$serf_major; then continue; fi
5453 save_cppflags="$CPPFLAGS"
5454 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$serf_prefix/include/$serf_major"
5455 for ac_header in serf.h
5457 ac_fn_c_check_header_mongrel "$LINENO" "serf.h" "ac_cv_header_serf_h" "$ac_includes_default"
5458 if test "x$ac_cv_header_serf_h" = xyes; then :
5459 cat >>confdefs.h <<_ACEOF
5460 #define HAVE_SERF_H 1
5463 save_ldflags="$LDFLAGS"
5465 input_flags="-L$serf_prefix/lib"
5467 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5468 for flag in $input_flags; do
5470 for dir in $filtered_dirs; do
5471 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5476 if test "$filter" = "no"; then
5477 output_flags="$output_flags $flag"
5480 if test -n "$output_flags"; then
5481 printf "%s" "${output_flags# }"
5484 as_ac_Lib=`$as_echo "ac_cv_lib_$serf_major''_serf_context_create" | $as_tr_sh`
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for serf_context_create in -l$serf_major" >&5
5486 $as_echo_n "checking for serf_context_create in -l$serf_major... " >&6; }
5487 if eval \${$as_ac_Lib+:} false; then :
5488 $as_echo_n "(cached) " >&6
5490 ac_check_lib_save_LIBS=$LIBS
5491 LIBS="-l$serf_major $SVN_APRUTIL_LIBS $SVN_APR_LIBS -lz $LIBS"
5492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5493 /* end confdefs.h. */
5495 /* Override any GCC internal prototype to avoid an error.
5496 Use char because int might match the return type of a GCC
5497 builtin and then its argument prototype would still apply. */
5501 char serf_context_create ();
5505 return serf_context_create ();
5510 if ac_fn_c_try_link "$LINENO"; then :
5511 eval "$as_ac_Lib=yes"
5513 eval "$as_ac_Lib=no"
5515 rm -f core conftest.err conftest.$ac_objext \
5516 conftest$ac_exeext conftest.$ac_ext
5517 LIBS=$ac_check_lib_save_LIBS
5519 eval ac_res=\$$as_ac_Lib
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5521 $as_echo "$ac_res" >&6; }
5522 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5525 /* end confdefs.h. */
5534 #if ! SERF_VERSION_AT_LEAST($serf_check_major, $serf_check_minor, $serf_check_patch)
5535 #error Serf version too old: need $serf_check_version
5542 if ac_fn_c_try_compile "$LINENO"; then :
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5546 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5552 LDFLAGS="$save_ldflags"
5557 CPPFLAGS="$save_cppflags"
5558 test $serf_found = yes && break
5561 if test $serf_found = "yes"; then
5562 SVN_SERF_INCLUDES="-I$serf_prefix/include/$serf_major"
5563 if test -e "$serf_prefix/lib/lib$serf_major.la"; then
5564 SVN_SERF_LIBS="$serf_prefix/lib/lib$serf_major.la"
5566 SVN_SERF_LIBS="-l$serf_major"
5568 input_flags="-L$serf_prefix/lib"
5570 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5571 for flag in $input_flags; do
5573 for dir in $filtered_dirs; do
5574 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5579 if test "$filter" = "no"; then
5580 output_flags="$output_flags $flag"
5583 if test -n "$output_flags"; then
5584 printf "%s" "${output_flags# }"
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking was serf enabled" >&5
5593 $as_echo_n "checking was serf enabled... " >&6; }
5594 if test "$serf_found" = "yes"; then
5595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5596 $as_echo "yes" >&6; }
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5599 $as_echo "no" >&6; }
5602 echo "An appropriate version of serf could not be found, so libsvn_ra_serf"
5603 echo "will not be built. If you want to build libsvn_ra_serf, please"
5604 echo "install serf $serf_check_version or newer."
5607 if test "$serf_required" = "yes"; then
5608 as_fn_error $? "Serf was explicitly enabled but an appropriate version was not found." "$LINENO" 5
5613 svn_lib_serf=$serf_found
5619 if test "$svn_lib_serf" = "yes"; then
5621 $as_echo "#define SVN_HAVE_SERF 1" >>confdefs.h
5626 apr_memcache_found=no
5629 # Check whether --with-apr_memcache was given.
5630 if test "${with_apr_memcache+set}" = set; then :
5631 withval=$with_apr_memcache;
5632 if test "$withval" = "yes" ; then
5633 as_fn_error $? "--with-apr_memcache requires an argument." "$LINENO" 5
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for separate apr_memcache package" >&5
5636 $as_echo "$as_me: looking for separate apr_memcache package" >&6;}
5637 apr_memcache_prefix=$withval
5638 save_cppflags="$CPPFLAGS"
5639 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$apr_memcache_prefix/include/apr_memcache-0"
5640 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5641 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5643 save_ldflags="$LDFLAGS"
5644 LDFLAGS="$LDFLAGS -L$apr_memcache_prefix/lib"
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -lapr_memcache" >&5
5646 $as_echo_n "checking for apr_memcache_create in -lapr_memcache... " >&6; }
5647 if ${ac_cv_lib_apr_memcache_apr_memcache_create+:} false; then :
5648 $as_echo_n "(cached) " >&6
5650 ac_check_lib_save_LIBS=$LIBS
5651 LIBS="-lapr_memcache $LIBS"
5652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5653 /* end confdefs.h. */
5655 /* Override any GCC internal prototype to avoid an error.
5656 Use char because int might match the return type of a GCC
5657 builtin and then its argument prototype would still apply. */
5661 char apr_memcache_create ();
5665 return apr_memcache_create ();
5670 if ac_fn_c_try_link "$LINENO"; then :
5671 ac_cv_lib_apr_memcache_apr_memcache_create=yes
5673 ac_cv_lib_apr_memcache_apr_memcache_create=no
5675 rm -f core conftest.err conftest.$ac_objext \
5676 conftest$ac_exeext conftest.$ac_ext
5677 LIBS=$ac_check_lib_save_LIBS
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_memcache_apr_memcache_create" >&5
5680 $as_echo "$ac_cv_lib_apr_memcache_apr_memcache_create" >&6; }
5681 if test "x$ac_cv_lib_apr_memcache_apr_memcache_create" = xyes; then :
5682 apr_memcache_found="standalone"
5685 LDFLAGS="$save_ldflags"
5689 CPPFLAGS="$save_cppflags"
5694 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for apr_memcache as part of apr-util" >&5
5695 $as_echo "$as_me: looking for apr_memcache as part of apr-util" >&6;}
5696 save_cppflags="$CPPFLAGS"
5697 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES"
5698 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5699 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5701 save_ldflags="$LDFLAGS"
5702 LDFLAGS="$LDFLAGS $SVN_APRUTIL_LIBS"
5703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -laprutil-1" >&5
5704 $as_echo_n "checking for apr_memcache_create in -laprutil-1... " >&6; }
5705 if ${ac_cv_lib_aprutil_1_apr_memcache_create+:} false; then :
5706 $as_echo_n "(cached) " >&6
5708 ac_check_lib_save_LIBS=$LIBS
5709 LIBS="-laprutil-1 $LIBS"
5710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5711 /* end confdefs.h. */
5713 /* Override any GCC internal prototype to avoid an error.
5714 Use char because int might match the return type of a GCC
5715 builtin and then its argument prototype would still apply. */
5719 char apr_memcache_create ();
5723 return apr_memcache_create ();
5728 if ac_fn_c_try_link "$LINENO"; then :
5729 ac_cv_lib_aprutil_1_apr_memcache_create=yes
5731 ac_cv_lib_aprutil_1_apr_memcache_create=no
5733 rm -f core conftest.err conftest.$ac_objext \
5734 conftest$ac_exeext conftest.$ac_ext
5735 LIBS=$ac_check_lib_save_LIBS
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aprutil_1_apr_memcache_create" >&5
5738 $as_echo "$ac_cv_lib_aprutil_1_apr_memcache_create" >&6; }
5739 if test "x$ac_cv_lib_aprutil_1_apr_memcache_create" = xyes; then :
5740 apr_memcache_found="aprutil"
5743 LDFLAGS="$save_ldflags"
5747 CPPFLAGS="$save_cppflags"
5753 if test $apr_memcache_found = "standalone"; then
5754 SVN_APR_MEMCACHE_INCLUDES="-I$apr_memcache_prefix/include/apr_memcache-0"
5755 SVN_APR_MEMCACHE_LIBS="$apr_memcache_prefix/lib/libapr_memcache.la"
5756 svn_lib_apr_memcache=yes
5757 elif test $apr_memcache_found = "aprutil"; then
5758 SVN_APR_MEMCACHE_INCLUDES=""
5759 SVN_APR_MEMCACHE_LIBS=""
5760 svn_lib_apr_memcache=yes
5761 elif test $apr_memcache_found = "reconfig"; then
5762 svn_lib_apr_memcache=yes
5764 svn_lib_apr_memcache=no
5771 if test "$svn_lib_apr_memcache" = "yes"; then
5773 $as_echo "#define SVN_HAVE_MEMCACHE 1" >>confdefs.h
5781 HTTPD_WANTED_MMN="20051115"
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module support via DSO through APXS" >&5
5784 $as_echo_n "checking for Apache module support via DSO through APXS... " >&6; }
5786 # Check whether --with-apxs was given.
5787 if test "${with_apxs+set}" = set; then :
5789 if test "$withval" = "yes"; then
5799 if test -z "$APXS"; then
5800 for i in /usr/sbin /usr/local/apache/bin /usr/local/apache2/bin /usr/bin ; do
5801 if test -f "$i/apxs2"; then
5805 if test -f "$i/apxs"; then
5812 if test -n "$APXS" && test "$APXS" != "no"; then
5813 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
5814 if test -r $APXS_INCLUDE/mod_dav.h; then
5815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $APXS" >&5
5816 $as_echo "found at $APXS" >&6; }
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking httpd version" >&5
5819 $as_echo_n "checking httpd version... " >&6; }
5820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5821 /* end confdefs.h. */
5823 #include "$APXS_INCLUDE/ap_mmn.h"
5824 #if AP_MODULE_MAGIC_AT_LEAST($HTTPD_WANTED_MMN,0)
5828 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5829 $EGREP "VERSION_OKAY" >/dev/null 2>&1; then :
5830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recent enough" >&5
5831 $as_echo "recent enough" >&6; }
5833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&5
5834 $as_echo "apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&6; }
5835 if test "$APXS_EXPLICIT" != ""; then
5836 as_fn_error $? "Apache APXS build explicitly requested, but apache version is too old" "$LINENO" 5
5844 elif test "$APXS_EXPLICIT" != ""; then
5845 as_fn_error $? "no - APXS refers to an old version of Apache
5846 Unable to locate $APXS_INCLUDE/mod_dav.h" "$LINENO" 5
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&5
5849 $as_echo "no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&6; }
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5857 # check for some busted versions of mod_dav
5858 # in particular 2.2.25, 2.4.5, and 2.4.6 had the following bugs which are
5859 # troublesome for Subversion:
5860 # PR 55304: https://issues.apache.org/bugzilla/show_bug.cgi?id=55304
5861 # PR 55306: https://issues.apache.org/bugzilla/show_bug.cgi?id=55306
5862 # PR 55397: https://issues.apache.org/bugzilla/show_bug.cgi?id=55397
5863 if test -n "$APXS" && test "$APXS" != "no"; then
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mod_dav version" >&5
5865 $as_echo_n "checking mod_dav version... " >&6; }
5866 HTTPD_MAJOR=`$SED -ne '/^#define AP_SERVER_MAJORVERSION_NUMBER/p' "$APXS_INCLUDE/ap_release.h" | $SED -e 's/^.*NUMBER *//'`
5867 HTTPD_MINOR=`$SED -ne '/^#define AP_SERVER_MINORVERSION_NUMBER/p' "$APXS_INCLUDE/ap_release.h" | $SED -e 's/^.*NUMBER *//'`
5868 HTTPD_PATCH=`$SED -ne '/^#define AP_SERVER_PATCHLEVEL_NUMBER/p' "$APXS_INCLUDE/ap_release.h" | $SED -e 's/^.*NUMBER *//'`
5869 HTTPD_VERSION="${HTTPD_MAJOR}.${HTTPD_MINOR}.${HTTPD_PATCH}"
5870 case "$HTTPD_VERSION" in
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5
5873 $as_echo "broken" >&6; }
5874 as_fn_error $? "Apache httpd version $HTTPD_VERSION includes a broken mod_dav; use a newer version of httpd" "$LINENO" 5
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: acceptable" >&5
5878 $as_echo "acceptable" >&6; }
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unrecognised" >&5
5882 $as_echo "unrecognised" >&6; }
5883 as_fn_error $? "Apache httpd version $HTTPD_VERSION not recognised" "$LINENO" 5
5888 if test -n "$APXS" && test "$APXS" != "no"; then
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Apache version is compatible with APR version" >&5
5890 $as_echo_n "checking whether Apache version is compatible with APR version... " >&6; }
5891 apr_major_version="${apr_version%%.*}"
5892 case "$apr_major_version" in
5894 apache_minor_version_wanted_regex="0"
5897 apache_minor_version_wanted_regex="[1-5]"
5900 apache_minor_version_wanted_regex="[3-5]"
5903 as_fn_error $? "unknown APR version" "$LINENO" 5
5906 case $HTTPD_MINOR in
5907 $apache_minor_version_wanted_regex)
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5909 $as_echo "yes" >&6; }
5912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5913 $as_echo "no" >&6; }
5914 as_fn_error $? "Apache version $HTTPD_VERSION incompatible with APR version $apr_version" "$LINENO" 5
5920 # Check whether --with-apache-libexecdir was given.
5921 if test "${with_apache_libexecdir+set}" = set; then :
5922 withval=$with_apache_libexecdir; APACHE_LIBEXECDIR="$withval"
5924 APACHE_LIBEXECDIR='no'
5928 INSTALL_APACHE_MODS=false
5929 if test -n "$APXS" && test "$APXS" != "no"; then
5930 APXS_CC="`$APXS -q CC`"
5931 APACHE_INCLUDES="$APACHE_INCLUDES -I$APXS_INCLUDE"
5933 if test "$APACHE_LIBEXECDIR" = 'no'; then
5934 APACHE_LIBEXECDIR="$libexecdir"
5935 elif test "$APACHE_LIBEXECDIR" = 'yes'; then
5936 APACHE_LIBEXECDIR="`$APXS -q libexecdir`"
5939 for ac_header in unistd.h
5941 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
5942 if test "x$ac_cv_header_unistd_h" = xyes; then :
5943 cat >>confdefs.h <<_ACEOF
5944 #define HAVE_UNISTD_H 1
5946 for ac_func in getpid
5948 ac_fn_c_check_func "$LINENO" "getpid" "ac_cv_func_getpid"
5949 if test "x$ac_cv_func_getpid" = xyes; then :
5950 cat >>confdefs.h <<_ACEOF
5951 #define HAVE_GETPID 1
5962 MMN_MAJOR=`$SED -ne '/^#define MODULE_MAGIC_NUMBER_MAJOR/p' "$APXS_INCLUDE/ap_mmn.h" | $SED -e 's/^.*MAJOR *//'`
5963 MMN_MINOR=`$SED -ne '/^#define MODULE_MAGIC_NUMBER_MINOR/p' "$APXS_INCLUDE/ap_mmn.h" | $SED -e 's/^.*MINOR *//' | $SED -e 's/ .*//'`
5964 if test "$MMN_MAJOR" = "20120211" && test "$MMN_MINOR" -lt "47" ; then
5965 # This is httpd 2.4 and it doesn't appear to have the required
5966 # API but the installation may have been patched.
5967 # Check whether --enable-broken-httpd-auth was given.
5968 if test "${enable_broken_httpd_auth+set}" = set; then :
5969 enableval=$enable_broken_httpd_auth; broken_httpd_auth=$enableval
5971 broken_httpd_auth=no
5974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ap_some_authn_required" >&5
5975 $as_echo_n "checking for ap_some_authn_required... " >&6; }
5976 old_CPPFLAGS="$CPPFLAGS"
5977 CPPFLAGS="$CPPFLAGS $APACHE_INCLUDES $SVN_APR_INCLUDES"
5978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5979 /* end confdefs.h. */
5980 #include "http_request.h"
5982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5983 $EGREP "int.*\sap_some_authn_required\s*\(" >/dev/null 2>&1; then :
5984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5985 $as_echo "yes" >&6; }
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5993 CPPFLAGS="$old_CPPFLAGS"
5994 if test "$working_auth" = "yes" ; then
5996 $as_echo "#define SVN_USE_FORCE_AUTHN 1" >>confdefs.h
5998 elif test "$enable_broken_httpd_auth" = "yes"; then
5999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ==============================================" >&5
6000 $as_echo "$as_me: WARNING: ==============================================" >&2;}
6001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Apache httpd $HTTPD_VERSION MMN $MMN_MAJOR.$MMN_MINOR" >&5
6002 $as_echo "$as_me: WARNING: Apache httpd $HTTPD_VERSION MMN $MMN_MAJOR.$MMN_MINOR" >&2;}
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion will be vulnerable to CVE-2015-3184" >&5
6004 $as_echo "$as_me: WARNING: Subversion will be vulnerable to CVE-2015-3184" >&2;}
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: ==============================================" >&5
6006 $as_echo "$as_me: WARNING: ==============================================" >&2;}
6008 $as_echo "#define SVN_ALLOW_BROKEN_HTTPD_AUTH 1" >>confdefs.h
6011 as_fn_error $? "Apache httpd $HTTPD_VERSION MMN $MMN_MAJOR.$MMN_MINOR has broken auth (CVE-2015-3184)" "$LINENO" 5
6015 BUILD_APACHE_RULE=apache-mod
6016 INSTALL_APACHE_RULE=install-mods-shared
6017 INSTALL_APACHE_MODS=true
6020 APACHE_LDFLAGS="-shrext .so"
6023 elif test x"$APXS" != x"no"; then
6024 echo "=================================================================="
6025 echo "WARNING: skipping the build of mod_dav_svn"
6026 echo " try using --with-apxs"
6027 echo "=================================================================="
6037 # there aren't any flags that interest us ...
6038 #if test -n "$APXS" && test "$APXS" != "no"; then
6039 # CFLAGS="$CFLAGS `$APXS -q CFLAGS CFLAGS_SHLIB`"
6042 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
6043 echo "=================================================================="
6044 echo "WARNING: You have chosen to compile Subversion with a different"
6045 echo " compiler than the one used to compile Apache."
6047 echo " Current compiler: $CC"
6048 echo " Apache's compiler: $APXS_CC"
6050 echo "This could cause some problems."
6051 echo "=================================================================="
6056 SQLITE_MINIMUM_VER="3.7.12"
6057 SQLITE_RECOMMENDED_VER="3.7.15.1"
6058 SQLITE_URL="http://www.sqlite.org/sqlite-amalgamation-$(printf %d%02d%02d%02d $(echo ${SQLITE_RECOMMENDED_VER} | sed -e 's/\./ /g')).zip"
6061 SQLITE_MINIMUM_VER="${SQLITE_MINIMUM_VER}"
6062 SQLITE_RECOMMENDED_VER="${SQLITE_RECOMMENDED_VER}"
6063 SQLITE_URL="${SQLITE_URL}"
6064 SQLITE_PKGNAME="sqlite3"
6068 version_string="$SQLITE_MINIMUM_VER"
6070 major=`expr $version_string : '\([0-9]*\)'`
6071 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
6072 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
6073 if test -z "$micro"; then
6076 sqlite_min_ver_num=`expr $major \* 1000000 \
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library" >&5
6083 $as_echo "$as_me: checking sqlite library" >&6;}
6086 # Check whether --with-sqlite was given.
6087 if test "${with_sqlite+set}" = set; then :
6088 withval=$with_sqlite;
6089 if test "$withval" = "yes" ; then
6090 as_fn_error $? "--with-sqlite requires an argument." "$LINENO" 5
6092 sqlite_dir="$withval"
6095 if test -d $sqlite_dir; then
6097 if test -z "$sqlite_dir"; then
6099 sqlite_include="sqlite3.h"
6101 sqlite_dir="$sqlite_dir"
6102 sqlite_include="$sqlite_dir/include/sqlite3.h"
6105 save_CPPFLAGS="$CPPFLAGS"
6106 save_LDFLAGS="$LDFLAGS"
6108 if test ! -z "$sqlite_dir"; then
6109 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
6110 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
6113 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
6114 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
6116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
6117 $as_echo_n "checking sqlite library version (via header)... " >&6; }
6118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6119 /* end confdefs.h. */
6121 #include "$sqlite_include"
6122 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6126 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6127 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
6129 $as_echo "okay" >&6; }
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
6131 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
6132 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
6133 $as_echo_n "(cached) " >&6
6135 ac_check_lib_save_LIBS=$LIBS
6136 LIBS="-lsqlite3 $LIBS"
6137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6138 /* end confdefs.h. */
6140 /* Override any GCC internal prototype to avoid an error.
6141 Use char because int might match the return type of a GCC
6142 builtin and then its argument prototype would still apply. */
6146 char sqlite3_close ();
6150 return sqlite3_close ();
6155 if ac_fn_c_try_link "$LINENO"; then :
6156 ac_cv_lib_sqlite3_sqlite3_close=yes
6158 ac_cv_lib_sqlite3_sqlite3_close=no
6160 rm -f core conftest.err conftest.$ac_objext \
6161 conftest$ac_exeext conftest.$ac_ext
6162 LIBS=$ac_check_lib_save_LIBS
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
6165 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
6166 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
6168 svn_lib_sqlite="yes"
6169 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
6170 SVN_SQLITE_LIBS="-lsqlite3"
6172 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
6174 input_flags="-L$sqlite_dir/lib -lsqlite3"
6176 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
6177 for flag in $input_flags; do
6179 for dir in $filtered_dirs; do
6180 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
6185 if test "$filter" = "no"; then
6186 output_flags="$output_flags $flag"
6189 if test -n "$output_flags"; then
6190 printf "%s" "${output_flags# }"
6198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
6199 $as_echo "unsupported SQLite version" >&6; }
6208 CPPFLAGS="$save_CPPFLAGS"
6209 LDFLAGS="$save_LDFLAGS"
6213 sqlite_amalg="$sqlite_dir"
6214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6215 $as_echo_n "checking sqlite amalgamation... " >&6; }
6216 if test ! -e $sqlite_amalg; then
6217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6218 $as_echo "no" >&6; }
6220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6221 $as_echo "yes" >&6; }
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6223 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6227 #include "$sqlite_amalg"
6228 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6233 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6235 $as_echo "amalgamation found and is okay" >&6; }
6238 beos* | mingw* | pw32* | cegcc* | cygwin*)
6239 svn_sqlite_dso_ldflags=
6243 # if libdl is installed we need to link against it
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6245 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6246 if ${ac_cv_lib_dl_dlopen+:} false; then :
6247 $as_echo_n "(cached) " >&6
6249 ac_check_lib_save_LIBS=$LIBS
6251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6252 /* end confdefs.h. */
6254 /* Override any GCC internal prototype to avoid an error.
6255 Use char because int might match the return type of a GCC
6256 builtin and then its argument prototype would still apply. */
6269 if ac_fn_c_try_link "$LINENO"; then :
6270 ac_cv_lib_dl_dlopen=yes
6272 ac_cv_lib_dl_dlopen=no
6274 rm -f core conftest.err conftest.$ac_objext \
6275 conftest$ac_exeext conftest.$ac_ext
6276 LIBS=$ac_check_lib_save_LIBS
6278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6279 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6280 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6281 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6284 svn_sqlite_dso_ldflags=
6291 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6292 if test "x$ac_cv_func_shl_load" = xyes; then :
6293 svn_sqlite_dso_ldflags=
6295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6296 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6297 if ${ac_cv_lib_dld_shl_load+:} false; then :
6298 $as_echo_n "(cached) " >&6
6300 ac_check_lib_save_LIBS=$LIBS
6302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6303 /* end confdefs.h. */
6305 /* Override any GCC internal prototype to avoid an error.
6306 Use char because int might match the return type of a GCC
6307 builtin and then its argument prototype would still apply. */
6320 if ac_fn_c_try_link "$LINENO"; then :
6321 ac_cv_lib_dld_shl_load=yes
6323 ac_cv_lib_dld_shl_load=no
6325 rm -f core conftest.err conftest.$ac_objext \
6326 conftest$ac_exeext conftest.$ac_ext
6327 LIBS=$ac_check_lib_save_LIBS
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6330 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6331 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6332 svn_sqlite_dso_ldflags="-ldld"
6334 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6335 if test "x$ac_cv_func_dlopen" = xyes; then :
6336 svn_sqlite_dso_ldflags=
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6339 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6340 if ${ac_cv_lib_dl_dlopen+:} false; then :
6341 $as_echo_n "(cached) " >&6
6343 ac_check_lib_save_LIBS=$LIBS
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6348 /* Override any GCC internal prototype to avoid an error.
6349 Use char because int might match the return type of a GCC
6350 builtin and then its argument prototype would still apply. */
6363 if ac_fn_c_try_link "$LINENO"; then :
6364 ac_cv_lib_dl_dlopen=yes
6366 ac_cv_lib_dl_dlopen=no
6368 rm -f core conftest.err conftest.$ac_objext \
6369 conftest$ac_exeext conftest.$ac_ext
6370 LIBS=$ac_check_lib_save_LIBS
6372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6373 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6374 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6375 svn_sqlite_dso_ldflags="-ldl"
6377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6378 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6379 if ${ac_cv_lib_svld_dlopen+:} false; then :
6380 $as_echo_n "(cached) " >&6
6382 ac_check_lib_save_LIBS=$LIBS
6384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6385 /* end confdefs.h. */
6387 /* Override any GCC internal prototype to avoid an error.
6388 Use char because int might match the return type of a GCC
6389 builtin and then its argument prototype would still apply. */
6402 if ac_fn_c_try_link "$LINENO"; then :
6403 ac_cv_lib_svld_dlopen=yes
6405 ac_cv_lib_svld_dlopen=no
6407 rm -f core conftest.err conftest.$ac_objext \
6408 conftest$ac_exeext conftest.$ac_ext
6409 LIBS=$ac_check_lib_save_LIBS
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6412 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6413 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6414 svn_sqlite_dso_ldflags="-lsvld"
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6417 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6418 if ${ac_cv_lib_dld_dld_link+:} false; then :
6419 $as_echo_n "(cached) " >&6
6421 ac_check_lib_save_LIBS=$LIBS
6423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6424 /* end confdefs.h. */
6426 /* Override any GCC internal prototype to avoid an error.
6427 Use char because int might match the return type of a GCC
6428 builtin and then its argument prototype would still apply. */
6441 if ac_fn_c_try_link "$LINENO"; then :
6442 ac_cv_lib_dld_dld_link=yes
6444 ac_cv_lib_dld_dld_link=no
6446 rm -f core conftest.err conftest.$ac_objext \
6447 conftest$ac_exeext conftest.$ac_ext
6448 LIBS=$ac_check_lib_save_LIBS
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6451 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6452 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6453 svn_sqlite_dso_ldflags="-ldld"
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6475 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6476 if test -n "$svn_sqlite_dso_ldflags"; then
6477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6478 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6481 $as_echo "none" >&6; }
6485 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6487 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6488 if test -n "$svn_sqlite_dso_ldflags"; then
6489 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6491 SVN_SQLITE_LIBS="-lpthread"
6493 svn_lib_sqlite="yes"
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6496 $as_echo "unsupported amalgamation SQLite version" >&6; }
6504 if test -z "$svn_lib_sqlite"; then
6505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no suitable sqlite found in $sqlite_dir" >&5
6506 $as_echo "$as_me: WARNING: no suitable sqlite found in $sqlite_dir" >&2;}
6509 echo "An appropriate version of sqlite could not be found. We recommmend"
6510 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
6511 echo "Please either install a newer sqlite on this system"
6515 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
6516 echo " ${SQLITE_URL}"
6517 echo "unpack the archive using unzip and rename the resulting"
6518 echo "directory to:"
6519 echo "$abs_srcdir/sqlite-amalgamation"
6520 if test x"$abs_srcdir" != x"$abs_builddir"; then
6522 echo "$abs_builddir/sqlite-amalgamation"
6525 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
6532 sqlite_amalg="$abs_srcdir/sqlite-amalgamation/sqlite3.c"
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6534 $as_echo_n "checking sqlite amalgamation... " >&6; }
6535 if test ! -e $sqlite_amalg; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6540 $as_echo "yes" >&6; }
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6542 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6544 /* end confdefs.h. */
6546 #include "$sqlite_amalg"
6547 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6551 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6552 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6554 $as_echo "amalgamation found and is okay" >&6; }
6557 beos* | mingw* | pw32* | cegcc* | cygwin*)
6558 svn_sqlite_dso_ldflags=
6562 # if libdl is installed we need to link against it
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6564 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6565 if ${ac_cv_lib_dl_dlopen+:} false; then :
6566 $as_echo_n "(cached) " >&6
6568 ac_check_lib_save_LIBS=$LIBS
6570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6571 /* end confdefs.h. */
6573 /* Override any GCC internal prototype to avoid an error.
6574 Use char because int might match the return type of a GCC
6575 builtin and then its argument prototype would still apply. */
6588 if ac_fn_c_try_link "$LINENO"; then :
6589 ac_cv_lib_dl_dlopen=yes
6591 ac_cv_lib_dl_dlopen=no
6593 rm -f core conftest.err conftest.$ac_objext \
6594 conftest$ac_exeext conftest.$ac_ext
6595 LIBS=$ac_check_lib_save_LIBS
6597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6598 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6599 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6600 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6603 svn_sqlite_dso_ldflags=
6610 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6611 if test "x$ac_cv_func_shl_load" = xyes; then :
6612 svn_sqlite_dso_ldflags=
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6615 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6616 if ${ac_cv_lib_dld_shl_load+:} false; then :
6617 $as_echo_n "(cached) " >&6
6619 ac_check_lib_save_LIBS=$LIBS
6621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6622 /* end confdefs.h. */
6624 /* Override any GCC internal prototype to avoid an error.
6625 Use char because int might match the return type of a GCC
6626 builtin and then its argument prototype would still apply. */
6639 if ac_fn_c_try_link "$LINENO"; then :
6640 ac_cv_lib_dld_shl_load=yes
6642 ac_cv_lib_dld_shl_load=no
6644 rm -f core conftest.err conftest.$ac_objext \
6645 conftest$ac_exeext conftest.$ac_ext
6646 LIBS=$ac_check_lib_save_LIBS
6648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6649 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6650 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6651 svn_sqlite_dso_ldflags="-ldld"
6653 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6654 if test "x$ac_cv_func_dlopen" = xyes; then :
6655 svn_sqlite_dso_ldflags=
6657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6658 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6659 if ${ac_cv_lib_dl_dlopen+:} false; then :
6660 $as_echo_n "(cached) " >&6
6662 ac_check_lib_save_LIBS=$LIBS
6664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6665 /* end confdefs.h. */
6667 /* Override any GCC internal prototype to avoid an error.
6668 Use char because int might match the return type of a GCC
6669 builtin and then its argument prototype would still apply. */
6682 if ac_fn_c_try_link "$LINENO"; then :
6683 ac_cv_lib_dl_dlopen=yes
6685 ac_cv_lib_dl_dlopen=no
6687 rm -f core conftest.err conftest.$ac_objext \
6688 conftest$ac_exeext conftest.$ac_ext
6689 LIBS=$ac_check_lib_save_LIBS
6691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6692 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6693 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6694 svn_sqlite_dso_ldflags="-ldl"
6696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6697 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6698 if ${ac_cv_lib_svld_dlopen+:} false; then :
6699 $as_echo_n "(cached) " >&6
6701 ac_check_lib_save_LIBS=$LIBS
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6706 /* Override any GCC internal prototype to avoid an error.
6707 Use char because int might match the return type of a GCC
6708 builtin and then its argument prototype would still apply. */
6721 if ac_fn_c_try_link "$LINENO"; then :
6722 ac_cv_lib_svld_dlopen=yes
6724 ac_cv_lib_svld_dlopen=no
6726 rm -f core conftest.err conftest.$ac_objext \
6727 conftest$ac_exeext conftest.$ac_ext
6728 LIBS=$ac_check_lib_save_LIBS
6730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6731 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6732 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6733 svn_sqlite_dso_ldflags="-lsvld"
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6736 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6737 if ${ac_cv_lib_dld_dld_link+:} false; then :
6738 $as_echo_n "(cached) " >&6
6740 ac_check_lib_save_LIBS=$LIBS
6742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6743 /* end confdefs.h. */
6745 /* Override any GCC internal prototype to avoid an error.
6746 Use char because int might match the return type of a GCC
6747 builtin and then its argument prototype would still apply. */
6760 if ac_fn_c_try_link "$LINENO"; then :
6761 ac_cv_lib_dld_dld_link=yes
6763 ac_cv_lib_dld_dld_link=no
6765 rm -f core conftest.err conftest.$ac_objext \
6766 conftest$ac_exeext conftest.$ac_ext
6767 LIBS=$ac_check_lib_save_LIBS
6769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6770 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6771 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6772 svn_sqlite_dso_ldflags="-ldld"
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6794 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6795 if test -n "$svn_sqlite_dso_ldflags"; then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6797 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6800 $as_echo "none" >&6; }
6804 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6806 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6807 if test -n "$svn_sqlite_dso_ldflags"; then
6808 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6810 SVN_SQLITE_LIBS="-lpthread"
6812 svn_lib_sqlite="yes"
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6815 $as_echo "unsupported amalgamation SQLite version" >&6; }
6822 if test -z "$svn_lib_sqlite"; then
6824 sqlite_amalg="$abs_builddir/sqlite-amalgamation/sqlite3.c"
6825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6826 $as_echo_n "checking sqlite amalgamation... " >&6; }
6827 if test ! -e $sqlite_amalg; then
6828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6829 $as_echo "no" >&6; }
6831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6832 $as_echo "yes" >&6; }
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6834 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6836 /* end confdefs.h. */
6838 #include "$sqlite_amalg"
6839 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6843 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6844 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6846 $as_echo "amalgamation found and is okay" >&6; }
6849 beos* | mingw* | pw32* | cegcc* | cygwin*)
6850 svn_sqlite_dso_ldflags=
6854 # if libdl is installed we need to link against it
6855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6856 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6857 if ${ac_cv_lib_dl_dlopen+:} false; then :
6858 $as_echo_n "(cached) " >&6
6860 ac_check_lib_save_LIBS=$LIBS
6862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6863 /* end confdefs.h. */
6865 /* Override any GCC internal prototype to avoid an error.
6866 Use char because int might match the return type of a GCC
6867 builtin and then its argument prototype would still apply. */
6880 if ac_fn_c_try_link "$LINENO"; then :
6881 ac_cv_lib_dl_dlopen=yes
6883 ac_cv_lib_dl_dlopen=no
6885 rm -f core conftest.err conftest.$ac_objext \
6886 conftest$ac_exeext conftest.$ac_ext
6887 LIBS=$ac_check_lib_save_LIBS
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6890 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6891 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6892 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6895 svn_sqlite_dso_ldflags=
6902 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6903 if test "x$ac_cv_func_shl_load" = xyes; then :
6904 svn_sqlite_dso_ldflags=
6906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6907 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6908 if ${ac_cv_lib_dld_shl_load+:} false; then :
6909 $as_echo_n "(cached) " >&6
6911 ac_check_lib_save_LIBS=$LIBS
6913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6914 /* end confdefs.h. */
6916 /* Override any GCC internal prototype to avoid an error.
6917 Use char because int might match the return type of a GCC
6918 builtin and then its argument prototype would still apply. */
6931 if ac_fn_c_try_link "$LINENO"; then :
6932 ac_cv_lib_dld_shl_load=yes
6934 ac_cv_lib_dld_shl_load=no
6936 rm -f core conftest.err conftest.$ac_objext \
6937 conftest$ac_exeext conftest.$ac_ext
6938 LIBS=$ac_check_lib_save_LIBS
6940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6941 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6942 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6943 svn_sqlite_dso_ldflags="-ldld"
6945 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6946 if test "x$ac_cv_func_dlopen" = xyes; then :
6947 svn_sqlite_dso_ldflags=
6949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6950 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6951 if ${ac_cv_lib_dl_dlopen+:} false; then :
6952 $as_echo_n "(cached) " >&6
6954 ac_check_lib_save_LIBS=$LIBS
6956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6957 /* end confdefs.h. */
6959 /* Override any GCC internal prototype to avoid an error.
6960 Use char because int might match the return type of a GCC
6961 builtin and then its argument prototype would still apply. */
6974 if ac_fn_c_try_link "$LINENO"; then :
6975 ac_cv_lib_dl_dlopen=yes
6977 ac_cv_lib_dl_dlopen=no
6979 rm -f core conftest.err conftest.$ac_objext \
6980 conftest$ac_exeext conftest.$ac_ext
6981 LIBS=$ac_check_lib_save_LIBS
6983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6984 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6985 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6986 svn_sqlite_dso_ldflags="-ldl"
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6989 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6990 if ${ac_cv_lib_svld_dlopen+:} false; then :
6991 $as_echo_n "(cached) " >&6
6993 ac_check_lib_save_LIBS=$LIBS
6995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6996 /* end confdefs.h. */
6998 /* Override any GCC internal prototype to avoid an error.
6999 Use char because int might match the return type of a GCC
7000 builtin and then its argument prototype would still apply. */
7013 if ac_fn_c_try_link "$LINENO"; then :
7014 ac_cv_lib_svld_dlopen=yes
7016 ac_cv_lib_svld_dlopen=no
7018 rm -f core conftest.err conftest.$ac_objext \
7019 conftest$ac_exeext conftest.$ac_ext
7020 LIBS=$ac_check_lib_save_LIBS
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
7023 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
7024 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
7025 svn_sqlite_dso_ldflags="-lsvld"
7027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
7028 $as_echo_n "checking for dld_link in -ldld... " >&6; }
7029 if ${ac_cv_lib_dld_dld_link+:} false; then :
7030 $as_echo_n "(cached) " >&6
7032 ac_check_lib_save_LIBS=$LIBS
7034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7035 /* end confdefs.h. */
7037 /* Override any GCC internal prototype to avoid an error.
7038 Use char because int might match the return type of a GCC
7039 builtin and then its argument prototype would still apply. */
7052 if ac_fn_c_try_link "$LINENO"; then :
7053 ac_cv_lib_dld_dld_link=yes
7055 ac_cv_lib_dld_dld_link=no
7057 rm -f core conftest.err conftest.$ac_objext \
7058 conftest$ac_exeext conftest.$ac_ext
7059 LIBS=$ac_check_lib_save_LIBS
7061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
7062 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
7063 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
7064 svn_sqlite_dso_ldflags="-ldld"
7085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
7086 $as_echo_n "checking additional libraries for sqlite... " >&6; }
7087 if test -n "$svn_sqlite_dso_ldflags"; then
7088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
7089 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
7091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7092 $as_echo "none" >&6; }
7096 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
7098 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
7099 if test -n "$svn_sqlite_dso_ldflags"; then
7100 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
7102 SVN_SQLITE_LIBS="-lpthread"
7104 svn_lib_sqlite="yes"
7106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
7107 $as_echo "unsupported amalgamation SQLite version" >&6; }
7115 if test -z "$svn_lib_sqlite"; then
7119 sqlite_include="sqlite3.h"
7122 sqlite_include="/include/sqlite3.h"
7125 save_CPPFLAGS="$CPPFLAGS"
7126 save_LDFLAGS="$LDFLAGS"
7128 if test ! -z ""; then
7129 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
7130 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
7133 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
7134 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
7136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
7137 $as_echo_n "checking sqlite library version (via header)... " >&6; }
7138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7139 /* end confdefs.h. */
7141 #include "$sqlite_include"
7142 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
7146 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7147 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
7149 $as_echo "okay" >&6; }
7150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
7151 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
7152 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
7153 $as_echo_n "(cached) " >&6
7155 ac_check_lib_save_LIBS=$LIBS
7156 LIBS="-lsqlite3 $LIBS"
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7160 /* Override any GCC internal prototype to avoid an error.
7161 Use char because int might match the return type of a GCC
7162 builtin and then its argument prototype would still apply. */
7166 char sqlite3_close ();
7170 return sqlite3_close ();
7175 if ac_fn_c_try_link "$LINENO"; then :
7176 ac_cv_lib_sqlite3_sqlite3_close=yes
7178 ac_cv_lib_sqlite3_sqlite3_close=no
7180 rm -f core conftest.err conftest.$ac_objext \
7181 conftest$ac_exeext conftest.$ac_ext
7182 LIBS=$ac_check_lib_save_LIBS
7184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
7185 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
7186 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
7188 svn_lib_sqlite="yes"
7189 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
7190 SVN_SQLITE_LIBS="-lsqlite3"
7192 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
7194 input_flags="-L$sqlite_dir/lib -lsqlite3"
7196 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
7197 for flag in $input_flags; do
7199 for dir in $filtered_dirs; do
7200 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
7205 if test "$filter" = "no"; then
7206 output_flags="$output_flags $flag"
7209 if test -n "$output_flags"; then
7210 printf "%s" "${output_flags# }"
7218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
7219 $as_echo "unsupported SQLite version" >&6; }
7228 CPPFLAGS="$save_CPPFLAGS"
7229 LDFLAGS="$save_LDFLAGS"
7233 if test -z "$svn_lib_sqlite"; then
7235 if test -n "$PKG_CONFIG"; then
7236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via pkg-config)" >&5
7237 $as_echo_n "checking sqlite library version (via pkg-config)... " >&6; }
7238 sqlite_version=`$PKG_CONFIG $SQLITE_PKGNAME --modversion --silence-errors`
7240 if test -n "$sqlite_version"; then
7242 version_string="$sqlite_version"
7244 major=`expr $version_string : '\([0-9]*\)'`
7245 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7246 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7247 if test -z "$micro"; then
7250 sqlite_ver_num=`expr $major \* 1000000 \
7255 if test "$sqlite_ver_num" -ge "$sqlite_min_ver_num"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sqlite_version" >&5
7257 $as_echo "$sqlite_version" >&6; }
7258 svn_lib_sqlite="yes"
7259 SVN_SQLITE_INCLUDES="`$PKG_CONFIG $SQLITE_PKGNAME --cflags`"
7260 SVN_SQLITE_LIBS="`$PKG_CONFIG $SQLITE_PKGNAME --libs`"
7262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none or unsupported $sqlite_version" >&5
7263 $as_echo "none or unsupported $sqlite_version" >&6; }
7268 if test -z "$svn_lib_sqlite"; then
7269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7270 $as_echo "no" >&6; }
7275 if test -z "$svn_lib_sqlite"; then
7278 echo "An appropriate version of sqlite could not be found. We recommmend"
7279 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
7280 echo "Please either install a newer sqlite on this system"
7284 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
7285 echo " ${SQLITE_URL}"
7286 echo "unpack the archive using unzip and rename the resulting"
7287 echo "directory to:"
7288 echo "$abs_srcdir/sqlite-amalgamation"
7289 if test x"$abs_srcdir" != x"$abs_builddir"; then
7291 echo "$abs_builddir/sqlite-amalgamation"
7294 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
7305 # Check whether --enable-sqlite-compatibility-version was given.
7306 if test "${enable_sqlite_compatibility_version+set}" = set; then :
7307 enableval=$enable_sqlite_compatibility_version; sqlite_compat_ver=$enableval
7309 sqlite_compat_ver=no
7313 if test -n "$sqlite_compat_ver" && test "$sqlite_compat_ver" != no; then
7315 version_string="$sqlite_compat_ver"
7317 major=`expr $version_string : '\([0-9]*\)'`
7318 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7319 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7320 if test -z "$micro"; then
7323 sqlite_compat_ver_num=`expr $major \* 1000000 \
7327 CFLAGS="-DSVN_SQLITE_MIN_VERSION='\"$sqlite_compat_ver\"' $CFLAGS"
7328 CFLAGS="-DSVN_SQLITE_MIN_VERSION_NUMBER=$sqlite_compat_ver_num $CFLAGS"
7332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler provides atomic builtins" >&5
7333 $as_echo_n "checking whether the compiler provides atomic builtins... " >&6; }
7334 if ${svn_cv_atomic_builtins+:} false; then :
7335 $as_echo_n "(cached) " >&6
7337 if test "$cross_compiling" = yes; then :
7338 svn_cv_atomic_builtins=no
7340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7341 /* end confdefs.h. */
7345 unsigned long long val = 1010, tmp, *mem = &val;
7347 if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020)
7352 if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010)
7355 if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0)
7360 if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp)
7363 if (__sync_lock_test_and_set(&val, 4040) != 3030)
7368 if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp)
7371 __sync_synchronize();
7379 if ac_fn_c_try_run "$LINENO"; then :
7380 svn_cv_atomic_builtins=yes
7382 svn_cv_atomic_builtins=no
7384 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7385 conftest.$ac_objext conftest.beam conftest.$ac_ext
7389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_atomic_builtins" >&5
7390 $as_echo "$svn_cv_atomic_builtins" >&6; }
7392 if test "$svn_cv_atomic_builtins" = "yes"; then
7394 $as_echo "#define SVN_HAS_ATOMIC_BUILTINS 1" >>confdefs.h
7399 if test "${bindir}" = '${exec_prefix}/bin'; then
7400 if test "${exec_prefix}" = "NONE"; then
7401 if test "${prefix}" = "NONE"; then
7402 SVN_BINDIR="${ac_default_prefix}/bin"
7404 SVN_BINDIR="${prefix}/bin"
7407 SVN_BINDIR="${exec_prefix}/bin"
7410 SVN_BINDIR="${bindir}"
7413 SVN_BINDIR="`eval echo ${SVN_BINDIR}`"
7417 cat >>confdefs.h <<_ACEOF
7418 #define SVN_BINDIR "${SVN_BINDIR}"
7422 localedir='${datadir}/locale'
7425 if test "${datadir}" = '${prefix}/share' && test "${prefix}" = "NONE"; then
7426 exp_localedir='${ac_default_prefix}/share/locale'
7428 exp_localedir=$localedir
7432 svn_cur=""${exp_localedir}""
7433 while test "x${svn_cur}" != "x${svn_last}";
7435 svn_last="${svn_cur}"
7436 svn_cur=`eval "echo ${svn_cur}"`
7438 svn_localedir="${svn_cur}"
7441 cat >>confdefs.h <<_ACEOF
7442 #define SVN_LOCALE_DIR "${svn_localedir}"
7446 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring libtool now" >&5
7447 $as_echo "$as_me: configuring libtool now" >&6;}
7450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7451 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7456 macro_version='2.4.6'
7457 macro_revision='2.4.6'
7471 ltmain=$ac_aux_dir/ltmain.sh
7473 # Backslashify metacharacters that are still active within
7474 # double-quoted strings.
7475 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7477 # Same as above, but do not quote variable references.
7478 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7480 # Sed substitution to delay expansion of an escaped shell variable in a
7481 # double_quote_subst'ed string.
7482 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7484 # Sed substitution to delay expansion of an escaped single quote.
7485 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7487 # Sed substitution to avoid accidental globbing in evaled expressions
7488 no_glob_subst='s/\*/\\\*/g'
7490 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7491 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7492 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7495 $as_echo_n "checking how to print strings... " >&6; }
7496 # Test print first, because it will be a builtin if present.
7497 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7498 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7500 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7503 # Use this function as a fallback that always works.
7504 func_fallback_echo ()
7506 eval 'cat <<_LTECHO_EOF
7510 ECHO='func_fallback_echo'
7513 # func_echo_all arg...
7514 # Invoke $ECHO with all args, space-separated.
7521 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7522 $as_echo "printf" >&6; } ;;
7523 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7524 $as_echo "print -r" >&6; } ;;
7525 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7526 $as_echo "cat" >&6; } ;;
7542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7543 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7544 if ${ac_cv_path_SED+:} false; then :
7545 $as_echo_n "(cached) " >&6
7547 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7548 for ac_i in 1 2 3 4 5 6 7; do
7549 ac_script="$ac_script$as_nl$ac_script"
7551 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7552 { ac_script=; unset ac_script;}
7553 if test -z "$SED"; then
7554 ac_path_SED_found=false
7555 # Loop through the user's path and test for each of PROGNAME-LIST
7556 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7560 test -z "$as_dir" && as_dir=.
7561 for ac_prog in sed gsed; do
7562 for ac_exec_ext in '' $ac_executable_extensions; do
7563 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7564 as_fn_executable_p "$ac_path_SED" || continue
7565 # Check for GNU ac_path_SED and select it if it is found.
7566 # Check for GNU $ac_path_SED
7567 case `"$ac_path_SED" --version 2>&1` in
7569 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7572 $as_echo_n 0123456789 >"conftest.in"
7575 cat "conftest.in" "conftest.in" >"conftest.tmp"
7576 mv "conftest.tmp" "conftest.in"
7577 cp "conftest.in" "conftest.nl"
7578 $as_echo '' >> "conftest.nl"
7579 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7580 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7581 as_fn_arith $ac_count + 1 && ac_count=$as_val
7582 if test $ac_count -gt ${ac_path_SED_max-0}; then
7583 # Best one so far, save it but keep looking for a better one
7584 ac_cv_path_SED="$ac_path_SED"
7585 ac_path_SED_max=$ac_count
7587 # 10*(2^10) chars as input seems more than enough
7588 test $ac_count -gt 10 && break
7590 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7593 $ac_path_SED_found && break 3
7598 if test -z "$ac_cv_path_SED"; then
7599 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7607 $as_echo "$ac_cv_path_SED" >&6; }
7608 SED="$ac_cv_path_SED"
7611 test -z "$SED" && SED=sed
7612 Xsed="$SED -e 1s/^X//"
7624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7625 $as_echo_n "checking for fgrep... " >&6; }
7626 if ${ac_cv_path_FGREP+:} false; then :
7627 $as_echo_n "(cached) " >&6
7629 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7630 then ac_cv_path_FGREP="$GREP -F"
7632 if test -z "$FGREP"; then
7633 ac_path_FGREP_found=false
7634 # Loop through the user's path and test for each of PROGNAME-LIST
7635 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7636 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7639 test -z "$as_dir" && as_dir=.
7640 for ac_prog in fgrep; do
7641 for ac_exec_ext in '' $ac_executable_extensions; do
7642 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7643 as_fn_executable_p "$ac_path_FGREP" || continue
7644 # Check for GNU ac_path_FGREP and select it if it is found.
7645 # Check for GNU $ac_path_FGREP
7646 case `"$ac_path_FGREP" --version 2>&1` in
7648 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7651 $as_echo_n 0123456789 >"conftest.in"
7654 cat "conftest.in" "conftest.in" >"conftest.tmp"
7655 mv "conftest.tmp" "conftest.in"
7656 cp "conftest.in" "conftest.nl"
7657 $as_echo 'FGREP' >> "conftest.nl"
7658 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7659 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7660 as_fn_arith $ac_count + 1 && ac_count=$as_val
7661 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7662 # Best one so far, save it but keep looking for a better one
7663 ac_cv_path_FGREP="$ac_path_FGREP"
7664 ac_path_FGREP_max=$ac_count
7666 # 10*(2^10) chars as input seems more than enough
7667 test $ac_count -gt 10 && break
7669 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7672 $ac_path_FGREP_found && break 3
7677 if test -z "$ac_cv_path_FGREP"; then
7678 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7681 ac_cv_path_FGREP=$FGREP
7686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7687 $as_echo "$ac_cv_path_FGREP" >&6; }
7688 FGREP="$ac_cv_path_FGREP"
7691 test -z "$GREP" && GREP=grep
7711 # Check whether --with-gnu-ld was given.
7712 if test "${with_gnu_ld+set}" = set; then :
7713 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7719 if test yes = "$GCC"; then
7720 # Check if gcc -print-prog-name=ld gives a path.
7721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7722 $as_echo_n "checking for ld used by $CC... " >&6; }
7725 # gcc leaves a trailing carriage return, which upsets mingw
7726 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7728 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7731 # Accept absolute paths.
7733 re_direlt='/[^/][^/]*/\.\./'
7734 # Canonicalize the pathname of ld
7735 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7736 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7737 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7739 test -z "$LD" && LD=$ac_prog
7742 # If it fails, then pretend we aren't using GCC.
7746 # If it is relative, then search for the first ld in PATH.
7750 elif test yes = "$with_gnu_ld"; then
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7752 $as_echo_n "checking for GNU ld... " >&6; }
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7755 $as_echo_n "checking for non-GNU ld... " >&6; }
7757 if ${lt_cv_path_LD+:} false; then :
7758 $as_echo_n "(cached) " >&6
7760 if test -z "$LD"; then
7761 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7762 for ac_dir in $PATH; do
7764 test -z "$ac_dir" && ac_dir=.
7765 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7766 lt_cv_path_LD=$ac_dir/$ac_prog
7767 # Check to see if the program is GNU ld. I'd rather use --version,
7768 # but apparently some variants of GNU ld only accept -v.
7769 # Break only if it was the GNU/non-GNU ld that we prefer.
7770 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7771 *GNU* | *'with BFD'*)
7772 test no != "$with_gnu_ld" && break
7775 test yes != "$with_gnu_ld" && break
7782 lt_cv_path_LD=$LD # Let the user override the test with a path.
7787 if test -n "$LD"; then
7788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7789 $as_echo "$LD" >&6; }
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7792 $as_echo "no" >&6; }
7794 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7796 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7797 if ${lt_cv_prog_gnu_ld+:} false; then :
7798 $as_echo_n "(cached) " >&6
7800 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7801 case `$LD -v 2>&1 </dev/null` in
7802 *GNU* | *'with BFD'*)
7803 lt_cv_prog_gnu_ld=yes
7806 lt_cv_prog_gnu_ld=no
7810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7811 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7812 with_gnu_ld=$lt_cv_prog_gnu_ld
7822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7823 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7824 if ${lt_cv_path_NM+:} false; then :
7825 $as_echo_n "(cached) " >&6
7827 if test -n "$NM"; then
7828 # Let the user override the test.
7831 lt_nm_to_check=${ac_tool_prefix}nm
7832 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7833 lt_nm_to_check="$lt_nm_to_check nm"
7835 for lt_tmp_nm in $lt_nm_to_check; do
7836 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7837 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7839 test -z "$ac_dir" && ac_dir=.
7840 tmp_nm=$ac_dir/$lt_tmp_nm
7841 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7842 # Check to see if the nm accepts a BSD-compat flag.
7843 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7844 # nm: unknown option "B" ignored
7845 # Tru64's nm complains that /dev/null is an invalid object file
7846 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7848 mingw*) lt_bad_file=conftest.nm/nofile ;;
7849 *) lt_bad_file=/dev/null ;;
7851 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7852 *$lt_bad_file* | *'Invalid file or object type'*)
7853 lt_cv_path_NM="$tmp_nm -B"
7857 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7859 lt_cv_path_NM="$tmp_nm -p"
7863 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7864 continue # so that we can try to find one that supports BSD flags
7873 : ${lt_cv_path_NM=no}
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7877 $as_echo "$lt_cv_path_NM" >&6; }
7878 if test no != "$lt_cv_path_NM"; then
7881 # Didn't find any BSD compatible name lister, look for dumpbin.
7882 if test -n "$DUMPBIN"; then :
7883 # Let the user override the test.
7885 if test -n "$ac_tool_prefix"; then
7886 for ac_prog in dumpbin "link -dump"
7888 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7889 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7891 $as_echo_n "checking for $ac_word... " >&6; }
7892 if ${ac_cv_prog_DUMPBIN+:} false; then :
7893 $as_echo_n "(cached) " >&6
7895 if test -n "$DUMPBIN"; then
7896 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7902 test -z "$as_dir" && as_dir=.
7903 for ac_exec_ext in '' $ac_executable_extensions; do
7904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7905 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7915 DUMPBIN=$ac_cv_prog_DUMPBIN
7916 if test -n "$DUMPBIN"; then
7917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7918 $as_echo "$DUMPBIN" >&6; }
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7921 $as_echo "no" >&6; }
7925 test -n "$DUMPBIN" && break
7928 if test -z "$DUMPBIN"; then
7929 ac_ct_DUMPBIN=$DUMPBIN
7930 for ac_prog in dumpbin "link -dump"
7932 # Extract the first word of "$ac_prog", so it can be a program name with args.
7933 set dummy $ac_prog; ac_word=$2
7934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7935 $as_echo_n "checking for $ac_word... " >&6; }
7936 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7937 $as_echo_n "(cached) " >&6
7939 if test -n "$ac_ct_DUMPBIN"; then
7940 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7942 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7946 test -z "$as_dir" && as_dir=.
7947 for ac_exec_ext in '' $ac_executable_extensions; do
7948 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7949 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7950 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7959 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7960 if test -n "$ac_ct_DUMPBIN"; then
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7962 $as_echo "$ac_ct_DUMPBIN" >&6; }
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7965 $as_echo "no" >&6; }
7969 test -n "$ac_ct_DUMPBIN" && break
7972 if test "x$ac_ct_DUMPBIN" = x; then
7975 case $cross_compiling:$ac_tool_warned in
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7979 ac_tool_warned=yes ;;
7981 DUMPBIN=$ac_ct_DUMPBIN
7985 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7987 DUMPBIN="$DUMPBIN -symbols -headers"
7995 if test : != "$DUMPBIN"; then
7999 test -z "$NM" && NM=nm
8006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8007 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8008 if ${lt_cv_nm_interface+:} false; then :
8009 $as_echo_n "(cached) " >&6
8011 lt_cv_nm_interface="BSD nm"
8012 echo "int some_variable = 0;" > conftest.$ac_ext
8013 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8014 (eval "$ac_compile" 2>conftest.err)
8015 cat conftest.err >&5
8016 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8017 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8018 cat conftest.err >&5
8019 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8020 cat conftest.out >&5
8021 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8022 lt_cv_nm_interface="MS dumpbin"
8026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8027 $as_echo "$lt_cv_nm_interface" >&6; }
8029 # find the maximum length of command line arguments
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8031 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8032 if ${lt_cv_sys_max_cmd_len+:} false; then :
8033 $as_echo_n "(cached) " >&6
8040 # On DJGPP, this test can blow up pretty badly due to problems in libc
8041 # (any single argument exceeding 2000 bytes causes a buffer overrun
8042 # during glob expansion). Even if it were fixed, the result of this
8043 # check would be larger than it should be.
8044 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8048 # Under GNU Hurd, this test is not required because there is
8049 # no limit to the length of command line arguments.
8050 # Libtool will interpret -1 as no limit whatsoever
8051 lt_cv_sys_max_cmd_len=-1;
8054 cygwin* | mingw* | cegcc*)
8055 # On Win9x/ME, this test blows up -- it succeeds, but takes
8056 # about 5 minutes as the teststring grows exponentially.
8057 # Worse, since 9x/ME are not pre-emptively multitasking,
8058 # you end up with a "frozen" computer, even though with patience
8059 # the test eventually succeeds (with a max line length of 256k).
8060 # Instead, let's just punt: use the minimum linelength reported by
8061 # all of the supported platforms: 8192 (on NT/2K/XP).
8062 lt_cv_sys_max_cmd_len=8192;
8066 # On MiNT this can take a long time and run out of memory.
8067 lt_cv_sys_max_cmd_len=8192;
8071 # On AmigaOS with pdksh, this test takes hours, literally.
8072 # So we just punt and use a minimum line length of 8192.
8073 lt_cv_sys_max_cmd_len=8192;
8076 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
8077 # This has been around since 386BSD, at least. Likely further.
8078 if test -x /sbin/sysctl; then
8079 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8080 elif test -x /usr/sbin/sysctl; then
8081 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8083 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8085 # And add a safety zone
8086 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8087 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8091 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8092 lt_cv_sys_max_cmd_len=196608
8096 # The test takes a long time on OS/2.
8097 lt_cv_sys_max_cmd_len=8192
8101 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8102 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8103 # nice to cause kernel panics so lets avoid the loop below.
8104 # First set a reasonable default.
8105 lt_cv_sys_max_cmd_len=16384
8107 if test -x /sbin/sysconfig; then
8108 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8109 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8114 lt_cv_sys_max_cmd_len=102400
8116 sysv5* | sco5v6* | sysv4.2uw2*)
8117 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8118 if test -n "$kargmax"; then
8119 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8121 lt_cv_sys_max_cmd_len=32768
8125 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8126 if test -n "$lt_cv_sys_max_cmd_len" && \
8127 test undefined != "$lt_cv_sys_max_cmd_len"; then
8128 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8129 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8131 # Make teststring a little bigger before we do anything with it.
8132 # a 1K string should be a reasonable start.
8133 for i in 1 2 3 4 5 6 7 8; do
8134 teststring=$teststring$teststring
8136 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8137 # If test is not a shell built-in, we'll probably end up computing a
8138 # maximum length that is only half of the actual maximum length, but
8140 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
8141 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8142 test 17 != "$i" # 1/2 MB should be enough
8145 teststring=$teststring$teststring
8147 # Only check the string length outside the loop.
8148 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8150 # Add a significant safety factor because C++ compilers can tack on
8151 # massive amounts of additional arguments before passing them to the
8152 # linker. It appears as though 1/2 is a usable value.
8153 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8160 if test -n "$lt_cv_sys_max_cmd_len"; then
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8162 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8165 $as_echo "none" >&6; }
8167 max_cmd_len=$lt_cv_sys_max_cmd_len
8178 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8188 # test EBCDIC or ASCII
8189 case `echo X|tr X '\101'` in
8190 A) # ASCII based system
8191 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8192 lt_SP2NL='tr \040 \012'
8193 lt_NL2SP='tr \015\012 \040\040'
8195 *) # EBCDIC based system
8196 lt_SP2NL='tr \100 \n'
8197 lt_NL2SP='tr \r\n \100\100'
8209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8210 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8211 if ${lt_cv_to_host_file_cmd+:} false; then :
8212 $as_echo_n "(cached) " >&6
8217 *-*-mingw* ) # actually msys
8218 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8221 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8223 * ) # otherwise, assume *nix
8224 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8230 *-*-mingw* ) # actually msys
8231 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8234 lt_cv_to_host_file_cmd=func_convert_file_noop
8236 * ) # otherwise, assume *nix
8237 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8241 * ) # unhandled hosts (and "normal" native builds)
8242 lt_cv_to_host_file_cmd=func_convert_file_noop
8248 to_host_file_cmd=$lt_cv_to_host_file_cmd
8249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8250 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8257 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8258 if ${lt_cv_to_tool_file_cmd+:} false; then :
8259 $as_echo_n "(cached) " >&6
8261 #assume ordinary cross tools, or native build.
8262 lt_cv_to_tool_file_cmd=func_convert_file_noop
8266 *-*-mingw* ) # actually msys
8267 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8275 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8277 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8284 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8285 if ${lt_cv_ld_reload_flag+:} false; then :
8286 $as_echo_n "(cached) " >&6
8288 lt_cv_ld_reload_flag='-r'
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8291 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8292 reload_flag=$lt_cv_ld_reload_flag
8293 case $reload_flag in
8295 *) reload_flag=" $reload_flag" ;;
8297 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8299 cygwin* | mingw* | pw32* | cegcc*)
8300 if test yes != "$GCC"; then
8305 if test yes = "$GCC"; then
8306 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8308 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8321 if test -n "$ac_tool_prefix"; then
8322 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8323 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8325 $as_echo_n "checking for $ac_word... " >&6; }
8326 if ${ac_cv_prog_OBJDUMP+:} false; then :
8327 $as_echo_n "(cached) " >&6
8329 if test -n "$OBJDUMP"; then
8330 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8336 test -z "$as_dir" && as_dir=.
8337 for ac_exec_ext in '' $ac_executable_extensions; do
8338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8339 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8349 OBJDUMP=$ac_cv_prog_OBJDUMP
8350 if test -n "$OBJDUMP"; then
8351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8352 $as_echo "$OBJDUMP" >&6; }
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8355 $as_echo "no" >&6; }
8360 if test -z "$ac_cv_prog_OBJDUMP"; then
8361 ac_ct_OBJDUMP=$OBJDUMP
8362 # Extract the first word of "objdump", so it can be a program name with args.
8363 set dummy objdump; ac_word=$2
8364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8365 $as_echo_n "checking for $ac_word... " >&6; }
8366 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8367 $as_echo_n "(cached) " >&6
8369 if test -n "$ac_ct_OBJDUMP"; then
8370 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8372 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8376 test -z "$as_dir" && as_dir=.
8377 for ac_exec_ext in '' $ac_executable_extensions; do
8378 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8379 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8380 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8389 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8390 if test -n "$ac_ct_OBJDUMP"; then
8391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8392 $as_echo "$ac_ct_OBJDUMP" >&6; }
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8395 $as_echo "no" >&6; }
8398 if test "x$ac_ct_OBJDUMP" = x; then
8401 case $cross_compiling:$ac_tool_warned in
8403 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8404 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8405 ac_tool_warned=yes ;;
8407 OBJDUMP=$ac_ct_OBJDUMP
8410 OBJDUMP="$ac_cv_prog_OBJDUMP"
8413 test -z "$OBJDUMP" && OBJDUMP=objdump
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8424 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8425 if ${lt_cv_deplibs_check_method+:} false; then :
8426 $as_echo_n "(cached) " >&6
8428 lt_cv_file_magic_cmd='$MAGIC_CMD'
8429 lt_cv_file_magic_test_file=
8430 lt_cv_deplibs_check_method='unknown'
8431 # Need to set the preceding variable on all platforms that support
8432 # interlibrary dependencies.
8433 # 'none' -- dependencies not supported.
8434 # 'unknown' -- same as none, but documents that we really don't know.
8435 # 'pass_all' -- all dependencies passed with no checks.
8436 # 'test_compile' -- check by making test program.
8437 # 'file_magic [[regex]]' -- check by looking for files in library path
8438 # that responds to the $file_magic_cmd with a given extended regex.
8439 # If you have 'file' or equivalent on your system and you're not sure
8440 # whether 'pass_all' will *always* work, you probably want this one.
8444 lt_cv_deplibs_check_method=pass_all
8448 lt_cv_deplibs_check_method=pass_all
8452 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8453 lt_cv_file_magic_cmd='/usr/bin/file -L'
8454 lt_cv_file_magic_test_file=/shlib/libc.so
8458 # func_win32_libid is a shell function defined in ltmain.sh
8459 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8460 lt_cv_file_magic_cmd='func_win32_libid'
8464 # Base MSYS/MinGW do not provide the 'file' command needed by
8465 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8466 # unless we find 'file', for example because we are cross-compiling.
8467 if ( file / ) >/dev/null 2>&1; then
8468 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8469 lt_cv_file_magic_cmd='func_win32_libid'
8471 # Keep this pattern in sync with the one in func_win32_libid.
8472 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8473 lt_cv_file_magic_cmd='$OBJDUMP -f'
8478 # use the weaker test based on 'objdump'. See mingw*.
8479 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8480 lt_cv_file_magic_cmd='$OBJDUMP -f'
8483 darwin* | rhapsody*)
8484 lt_cv_deplibs_check_method=pass_all
8487 freebsd* | dragonfly*)
8488 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8491 # Not sure whether the presence of OpenBSD here was a mistake.
8492 # Let's accept both of them until this is cleared up.
8493 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8494 lt_cv_file_magic_cmd=/usr/bin/file
8495 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8499 lt_cv_deplibs_check_method=pass_all
8504 lt_cv_deplibs_check_method=pass_all
8507 hpux10.20* | hpux11*)
8508 lt_cv_file_magic_cmd=/usr/bin/file
8511 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8512 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8515 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]'
8516 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8519 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8520 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8526 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8527 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8530 irix5* | irix6* | nonstopux*)
8532 *-32|*"-32 ") libmagic=32-bit;;
8533 *-n32|*"-n32 ") libmagic=N32;;
8534 *-64|*"-64 ") libmagic=64-bit;;
8535 *) libmagic=never-match;;
8537 lt_cv_deplibs_check_method=pass_all
8540 # This must be glibc/ELF.
8541 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8542 lt_cv_deplibs_check_method=pass_all
8546 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8547 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8549 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8554 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8555 lt_cv_file_magic_cmd=/usr/bin/file
8556 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8560 lt_cv_deplibs_check_method=pass_all
8564 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8565 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8567 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8571 osf3* | osf4* | osf5*)
8572 lt_cv_deplibs_check_method=pass_all
8576 lt_cv_deplibs_check_method=pass_all
8580 lt_cv_deplibs_check_method=pass_all
8583 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8584 lt_cv_deplibs_check_method=pass_all
8588 case $host_vendor in
8590 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]'
8591 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8594 lt_cv_deplibs_check_method=pass_all
8597 lt_cv_file_magic_cmd='/bin/file'
8598 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8601 lt_cv_file_magic_cmd='/bin/file'
8602 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8603 lt_cv_file_magic_test_file=/lib/libc.so
8606 lt_cv_deplibs_check_method=pass_all
8609 lt_cv_deplibs_check_method=pass_all
8615 lt_cv_deplibs_check_method=pass_all
8618 lt_cv_deplibs_check_method=pass_all
8623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8624 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8628 if test "$build" = "$host"; then
8631 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8634 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8640 file_magic_cmd=$lt_cv_file_magic_cmd
8641 deplibs_check_method=$lt_cv_deplibs_check_method
8642 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8665 if test -n "$ac_tool_prefix"; then
8666 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8667 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8669 $as_echo_n "checking for $ac_word... " >&6; }
8670 if ${ac_cv_prog_DLLTOOL+:} false; then :
8671 $as_echo_n "(cached) " >&6
8673 if test -n "$DLLTOOL"; then
8674 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8676 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8680 test -z "$as_dir" && as_dir=.
8681 for ac_exec_ext in '' $ac_executable_extensions; do
8682 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8683 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8684 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8693 DLLTOOL=$ac_cv_prog_DLLTOOL
8694 if test -n "$DLLTOOL"; then
8695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8696 $as_echo "$DLLTOOL" >&6; }
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8699 $as_echo "no" >&6; }
8704 if test -z "$ac_cv_prog_DLLTOOL"; then
8705 ac_ct_DLLTOOL=$DLLTOOL
8706 # Extract the first word of "dlltool", so it can be a program name with args.
8707 set dummy dlltool; ac_word=$2
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8709 $as_echo_n "checking for $ac_word... " >&6; }
8710 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8711 $as_echo_n "(cached) " >&6
8713 if test -n "$ac_ct_DLLTOOL"; then
8714 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8716 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8720 test -z "$as_dir" && as_dir=.
8721 for ac_exec_ext in '' $ac_executable_extensions; do
8722 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8723 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8724 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8733 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8734 if test -n "$ac_ct_DLLTOOL"; then
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8736 $as_echo "$ac_ct_DLLTOOL" >&6; }
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8739 $as_echo "no" >&6; }
8742 if test "x$ac_ct_DLLTOOL" = x; then
8745 case $cross_compiling:$ac_tool_warned in
8747 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8748 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8749 ac_tool_warned=yes ;;
8751 DLLTOOL=$ac_ct_DLLTOOL
8754 DLLTOOL="$ac_cv_prog_DLLTOOL"
8757 test -z "$DLLTOOL" && DLLTOOL=dlltool
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8769 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8770 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8771 $as_echo_n "(cached) " >&6
8773 lt_cv_sharedlib_from_linklib_cmd='unknown'
8776 cygwin* | mingw* | pw32* | cegcc*)
8777 # two different shell functions defined in ltmain.sh;
8778 # decide which one to use based on capabilities of $DLLTOOL
8779 case `$DLLTOOL --help 2>&1` in
8780 *--identify-strict*)
8781 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8784 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8789 # fallback: assume linklib IS sharedlib
8790 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8796 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8797 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8798 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8806 if test -n "$ac_tool_prefix"; then
8809 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8810 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8812 $as_echo_n "checking for $ac_word... " >&6; }
8813 if ${ac_cv_prog_AR+:} false; then :
8814 $as_echo_n "(cached) " >&6
8816 if test -n "$AR"; then
8817 ac_cv_prog_AR="$AR" # Let the user override the test.
8819 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8823 test -z "$as_dir" && as_dir=.
8824 for ac_exec_ext in '' $ac_executable_extensions; do
8825 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8826 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8827 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8837 if test -n "$AR"; then
8838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8839 $as_echo "$AR" >&6; }
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8842 $as_echo "no" >&6; }
8846 test -n "$AR" && break
8849 if test -z "$AR"; then
8853 # Extract the first word of "$ac_prog", so it can be a program name with args.
8854 set dummy $ac_prog; ac_word=$2
8855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8856 $as_echo_n "checking for $ac_word... " >&6; }
8857 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8858 $as_echo_n "(cached) " >&6
8860 if test -n "$ac_ct_AR"; then
8861 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8863 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8867 test -z "$as_dir" && as_dir=.
8868 for ac_exec_ext in '' $ac_executable_extensions; do
8869 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8870 ac_cv_prog_ac_ct_AR="$ac_prog"
8871 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8880 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8881 if test -n "$ac_ct_AR"; then
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8883 $as_echo "$ac_ct_AR" >&6; }
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8886 $as_echo "no" >&6; }
8890 test -n "$ac_ct_AR" && break
8893 if test "x$ac_ct_AR" = x; then
8896 case $cross_compiling:$ac_tool_warned in
8898 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8899 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8900 ac_tool_warned=yes ;;
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8920 $as_echo_n "checking for archiver @FILE support... " >&6; }
8921 if ${lt_cv_ar_at_file+:} false; then :
8922 $as_echo_n "(cached) " >&6
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8936 if ac_fn_c_try_compile "$LINENO"; then :
8937 echo conftest.$ac_objext > conftest.lst
8938 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8939 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8940 (eval $lt_ar_try) 2>&5
8942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8943 test $ac_status = 0; }
8944 if test 0 -eq "$ac_status"; then
8945 # Ensure the archiver fails upon bogus file names.
8946 rm -f conftest.$ac_objext libconftest.a
8947 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8948 (eval $lt_ar_try) 2>&5
8950 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8951 test $ac_status = 0; }
8952 if test 0 -ne "$ac_status"; then
8956 rm -f conftest.* libconftest.a
8959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8963 $as_echo "$lt_cv_ar_at_file" >&6; }
8965 if test no = "$lt_cv_ar_at_file"; then
8968 archiver_list_spec=$lt_cv_ar_at_file
8977 if test -n "$ac_tool_prefix"; then
8978 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8979 set dummy ${ac_tool_prefix}strip; ac_word=$2
8980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8981 $as_echo_n "checking for $ac_word... " >&6; }
8982 if ${ac_cv_prog_STRIP+:} false; then :
8983 $as_echo_n "(cached) " >&6
8985 if test -n "$STRIP"; then
8986 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8988 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8992 test -z "$as_dir" && as_dir=.
8993 for ac_exec_ext in '' $ac_executable_extensions; do
8994 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8995 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8996 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9005 STRIP=$ac_cv_prog_STRIP
9006 if test -n "$STRIP"; then
9007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9008 $as_echo "$STRIP" >&6; }
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9011 $as_echo "no" >&6; }
9016 if test -z "$ac_cv_prog_STRIP"; then
9018 # Extract the first word of "strip", so it can be a program name with args.
9019 set dummy strip; ac_word=$2
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9021 $as_echo_n "checking for $ac_word... " >&6; }
9022 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9023 $as_echo_n "(cached) " >&6
9025 if test -n "$ac_ct_STRIP"; then
9026 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9028 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9032 test -z "$as_dir" && as_dir=.
9033 for ac_exec_ext in '' $ac_executable_extensions; do
9034 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9035 ac_cv_prog_ac_ct_STRIP="strip"
9036 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9045 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9046 if test -n "$ac_ct_STRIP"; then
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9048 $as_echo "$ac_ct_STRIP" >&6; }
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9051 $as_echo "no" >&6; }
9054 if test "x$ac_ct_STRIP" = x; then
9057 case $cross_compiling:$ac_tool_warned in
9059 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9060 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9061 ac_tool_warned=yes ;;
9066 STRIP="$ac_cv_prog_STRIP"
9069 test -z "$STRIP" && STRIP=:
9076 if test -n "$ac_tool_prefix"; then
9077 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9078 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9080 $as_echo_n "checking for $ac_word... " >&6; }
9081 if ${ac_cv_prog_RANLIB+:} false; then :
9082 $as_echo_n "(cached) " >&6
9084 if test -n "$RANLIB"; then
9085 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9087 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9091 test -z "$as_dir" && as_dir=.
9092 for ac_exec_ext in '' $ac_executable_extensions; do
9093 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9094 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9095 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9104 RANLIB=$ac_cv_prog_RANLIB
9105 if test -n "$RANLIB"; then
9106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9107 $as_echo "$RANLIB" >&6; }
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9110 $as_echo "no" >&6; }
9115 if test -z "$ac_cv_prog_RANLIB"; then
9116 ac_ct_RANLIB=$RANLIB
9117 # Extract the first word of "ranlib", so it can be a program name with args.
9118 set dummy ranlib; ac_word=$2
9119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9120 $as_echo_n "checking for $ac_word... " >&6; }
9121 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9122 $as_echo_n "(cached) " >&6
9124 if test -n "$ac_ct_RANLIB"; then
9125 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9131 test -z "$as_dir" && as_dir=.
9132 for ac_exec_ext in '' $ac_executable_extensions; do
9133 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9134 ac_cv_prog_ac_ct_RANLIB="ranlib"
9135 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9144 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9145 if test -n "$ac_ct_RANLIB"; then
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9147 $as_echo "$ac_ct_RANLIB" >&6; }
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9150 $as_echo "no" >&6; }
9153 if test "x$ac_ct_RANLIB" = x; then
9156 case $cross_compiling:$ac_tool_warned in
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9159 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9160 ac_tool_warned=yes ;;
9162 RANLIB=$ac_ct_RANLIB
9165 RANLIB="$ac_cv_prog_RANLIB"
9168 test -z "$RANLIB" && RANLIB=:
9175 # Determine commands to create old-style static archives.
9176 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9177 old_postinstall_cmds='chmod 644 $oldlib'
9178 old_postuninstall_cmds=
9180 if test -n "$RANLIB"; then
9183 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9186 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9189 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9194 lock_old_archive_extraction=yes ;;
9196 lock_old_archive_extraction=no ;;
9219 for ac_prog in gawk mawk nawk awk
9221 # Extract the first word of "$ac_prog", so it can be a program name with args.
9222 set dummy $ac_prog; ac_word=$2
9223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9224 $as_echo_n "checking for $ac_word... " >&6; }
9225 if ${ac_cv_prog_AWK+:} false; then :
9226 $as_echo_n "(cached) " >&6
9228 if test -n "$AWK"; then
9229 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9235 test -z "$as_dir" && as_dir=.
9236 for ac_exec_ext in '' $ac_executable_extensions; do
9237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9238 ac_cv_prog_AWK="$ac_prog"
9239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9249 if test -n "$AWK"; then
9250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9251 $as_echo "$AWK" >&6; }
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9254 $as_echo "no" >&6; }
9258 test -n "$AWK" && break
9279 # If no C compiler was specified, use CC.
9282 # If no C compiler flags were specified, use CFLAGS.
9283 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9285 # Allow CC to be a program name with arguments.
9289 # Check for command to grab the raw symbol name followed by C symbol from nm.
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9291 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9292 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9293 $as_echo_n "(cached) " >&6
9296 # These are sane defaults that work on at least a few old systems.
9297 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9299 # Character class describing NM global symbol codes.
9300 symcode='[BCDEGRST]'
9302 # Regexp to match symbols that can be accessed directly from C.
9303 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9305 # Define system-specific variables.
9310 cygwin* | mingw* | pw32* | cegcc*)
9311 symcode='[ABCDGISTW]'
9314 if test ia64 = "$host_cpu"; then
9315 symcode='[ABCDEGRST]'
9319 symcode='[BCDEGRST]'
9322 symcode='[BCDEGQRST]'
9333 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9341 # If we're using GNU nm, then use its standard symbol codes.
9342 case `$NM -V 2>&1` in
9343 *GNU* | *'with BFD'*)
9344 symcode='[ABCDGIRSTW]' ;;
9347 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9348 # Gets list of data symbols to import.
9349 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9350 # Adjust the below global symbol transforms to fixup imported variables.
9351 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9352 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9353 lt_c_name_lib_hook="\
9354 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9355 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9357 # Disable hooks by default.
9358 lt_cv_sys_global_symbol_to_import=
9364 # Transform an extracted symbol line into a proper C declaration.
9365 # Some systems (esp. on ia64) link data and code symbols differently,
9366 # so use this general approach.
9367 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9369 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9370 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9372 # Transform an extracted symbol line into symbol name and symbol address
9373 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9375 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9376 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9378 # Transform an extracted symbol line into symbol name with lib prefix and
9380 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9381 $lt_c_name_lib_hook\
9382 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9383 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9384 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9386 # Handle CRLF in mingw tool chain
9390 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9394 # Try without a prefix underscore, then with it.
9395 for ac_symprfx in "" "_"; do
9397 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9398 symxfrm="\\1 $ac_symprfx\\2 \\2"
9400 # Write the raw and C identifiers.
9401 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9402 # Fake it for dumpbin and say T for any non-static function,
9403 # D for any global variable and I for any imported variable.
9404 # Also find C++ and __fastcall symbols from MSVC++,
9405 # which start with @ or ?.
9406 lt_cv_sys_global_symbol_pipe="$AWK '"\
9407 " {last_section=section; section=\$ 3};"\
9408 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9409 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9410 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9411 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9412 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9413 " \$ 0!~/External *\|/{next};"\
9414 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9415 " {if(hide[section]) next};"\
9416 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9417 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9418 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9419 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9420 " ' prfx=^$ac_symprfx"
9422 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9424 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9426 # Check to see that the pipe works correctly.
9430 cat > conftest.$ac_ext <<_LT_EOF
9435 void nm_test_func(void);
9436 void nm_test_func(void){}
9440 int main(){nm_test_var='a';nm_test_func();return(0);}
9443 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9444 (eval $ac_compile) 2>&5
9446 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9447 test $ac_status = 0; }; then
9448 # Now try to grab the symbols.
9450 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9451 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9453 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9454 test $ac_status = 0; } && test -s "$nlist"; then
9455 # Try sorting and uniquifying the output.
9456 if sort "$nlist" | uniq > "$nlist"T; then
9457 mv -f "$nlist"T "$nlist"
9462 # Make sure that we snagged all the symbols we need.
9463 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9464 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9465 cat <<_LT_EOF > conftest.$ac_ext
9466 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9467 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9468 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9469 relocations are performed -- see ld's documentation on pseudo-relocs. */
9470 # define LT_DLSYM_CONST
9471 #elif defined __osf__
9472 /* This system does not cope well with relocations in const data. */
9473 # define LT_DLSYM_CONST
9475 # define LT_DLSYM_CONST const
9483 # Now generate the symbol file.
9484 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9486 cat <<_LT_EOF >> conftest.$ac_ext
9488 /* The mapping between symbol names and symbols. */
9489 LT_DLSYM_CONST struct {
9493 lt__PROGRAM__LTX_preloaded_symbols[] =
9495 { "@PROGRAM@", (void *) 0 },
9497 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9498 cat <<\_LT_EOF >> conftest.$ac_ext
9502 /* This works around a problem in FreeBSD linker */
9503 #ifdef FREEBSD_WORKAROUND
9504 static const void *lt_preloaded_setup() {
9505 return lt__PROGRAM__LTX_preloaded_symbols;
9513 # Now try linking the two files.
9514 mv conftest.$ac_objext conftstm.$ac_objext
9515 lt_globsym_save_LIBS=$LIBS
9516 lt_globsym_save_CFLAGS=$CFLAGS
9517 LIBS=conftstm.$ac_objext
9518 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9519 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9520 (eval $ac_link) 2>&5
9522 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9523 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9526 LIBS=$lt_globsym_save_LIBS
9527 CFLAGS=$lt_globsym_save_CFLAGS
9529 echo "cannot find nm_test_func in $nlist" >&5
9532 echo "cannot find nm_test_var in $nlist" >&5
9535 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9538 echo "$progname: failed program was:" >&5
9539 cat conftest.$ac_ext >&5
9541 rm -rf conftest* conftst*
9543 # Do not use the global_symbol_pipe unless it works.
9544 if test yes = "$pipe_works"; then
9547 lt_cv_sys_global_symbol_pipe=
9553 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9554 lt_cv_sys_global_symbol_to_cdecl=
9556 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9558 $as_echo "failed" >&6; }
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9561 $as_echo "ok" >&6; }
9564 # Response file support.
9565 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9566 nm_file_list_spec='@'
9567 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9568 nm_file_list_spec='@'
9607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9608 $as_echo_n "checking for sysroot... " >&6; }
9610 # Check whether --with-sysroot was given.
9611 if test "${with_sysroot+set}" = set; then :
9612 withval=$with_sysroot;
9619 case $with_sysroot in #(
9621 if test yes = "$GCC"; then
9622 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9626 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9632 $as_echo "$with_sysroot" >&6; }
9633 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9638 $as_echo "${lt_sysroot:-no}" >&6; }
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9645 $as_echo_n "checking for a working dd... " >&6; }
9646 if ${ac_cv_path_lt_DD+:} false; then :
9647 $as_echo_n "(cached) " >&6
9649 printf 0123456789abcdef0123456789abcdef >conftest.i
9650 cat conftest.i conftest.i >conftest2.i
9652 if test -z "$lt_DD"; then
9653 ac_path_lt_DD_found=false
9654 # Loop through the user's path and test for each of PROGNAME-LIST
9655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9659 test -z "$as_dir" && as_dir=.
9660 for ac_prog in dd; do
9661 for ac_exec_ext in '' $ac_executable_extensions; do
9662 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
9663 as_fn_executable_p "$ac_path_lt_DD" || continue
9664 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9665 cmp -s conftest.i conftest.out \
9666 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9668 $ac_path_lt_DD_found && break 3
9673 if test -z "$ac_cv_path_lt_DD"; then
9677 ac_cv_path_lt_DD=$lt_DD
9680 rm -f conftest.i conftest2.i conftest.out
9682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9683 $as_echo "$ac_cv_path_lt_DD" >&6; }
9686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9687 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9688 if ${lt_cv_truncate_bin+:} false; then :
9689 $as_echo_n "(cached) " >&6
9691 printf 0123456789abcdef0123456789abcdef >conftest.i
9692 cat conftest.i conftest.i >conftest2.i
9694 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9695 cmp -s conftest.i conftest.out \
9696 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9698 rm -f conftest.i conftest2.i conftest.out
9699 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9702 $as_echo "$lt_cv_truncate_bin" >&6; }
9710 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9713 for cc_temp in $*""; do
9715 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9716 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9721 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9724 # Check whether --enable-libtool-lock was given.
9725 if test "${enable_libtool_lock+set}" = set; then :
9726 enableval=$enable_libtool_lock;
9729 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9731 # Some flags need to be propagated to the compiler or linker for good
9735 # Find out what ABI is being produced by ac_compile, and set mode
9736 # options accordingly.
9737 echo 'int i;' > conftest.$ac_ext
9738 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9739 (eval $ac_compile) 2>&5
9741 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9742 test $ac_status = 0; }; then
9743 case `/usr/bin/file conftest.$ac_objext` in
9755 # Find out what ABI is being produced by ac_compile, and set linker
9756 # options accordingly.
9757 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9758 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9759 (eval $ac_compile) 2>&5
9761 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9762 test $ac_status = 0; }; then
9763 if test yes = "$lt_cv_prog_gnu_ld"; then
9764 case `/usr/bin/file conftest.$ac_objext` in
9766 LD="${LD-ld} -melf32bsmip"
9769 LD="${LD-ld} -melf32bmipn32"
9772 LD="${LD-ld} -melf64bmip"
9776 case `/usr/bin/file conftest.$ac_objext` in
9793 # Find out what ABI is being produced by ac_compile, and set linker
9794 # options accordingly.
9795 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9796 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9797 (eval $ac_compile) 2>&5
9799 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9800 test $ac_status = 0; }; then
9802 case `/usr/bin/file conftest.$ac_objext` in
9810 case `/usr/bin/file conftest.$ac_objext` in
9812 emul="${emul}btsmip"
9815 emul="${emul}ltsmip"
9818 case `/usr/bin/file conftest.$ac_objext` in
9823 LD="${LD-ld} -m $emul"
9828 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9829 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9830 # Find out what ABI is being produced by ac_compile, and set linker
9831 # options accordingly. Note that the listed cases only cover the
9832 # situations where additional linker options are needed (such as when
9833 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9834 # vice versa); the common cases where no linker options are needed do
9835 # not appear in the list.
9836 echo 'int i;' > conftest.$ac_ext
9837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9838 (eval $ac_compile) 2>&5
9840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9841 test $ac_status = 0; }; then
9842 case `/usr/bin/file conftest.o` in
9845 x86_64-*kfreebsd*-gnu)
9846 LD="${LD-ld} -m elf_i386_fbsd"
9849 case `/usr/bin/file conftest.o` in
9851 LD="${LD-ld} -m elf32_x86_64"
9854 LD="${LD-ld} -m elf_i386"
9858 powerpc64le-*linux*)
9859 LD="${LD-ld} -m elf32lppclinux"
9862 LD="${LD-ld} -m elf32ppclinux"
9865 LD="${LD-ld} -m elf_s390"
9868 LD="${LD-ld} -m elf32_sparc"
9874 x86_64-*kfreebsd*-gnu)
9875 LD="${LD-ld} -m elf_x86_64_fbsd"
9878 LD="${LD-ld} -m elf_x86_64"
9881 LD="${LD-ld} -m elf64lppc"
9884 LD="${LD-ld} -m elf64ppc"
9886 s390*-*linux*|s390*-*tpf*)
9887 LD="${LD-ld} -m elf64_s390"
9890 LD="${LD-ld} -m elf64_sparc"
9900 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9902 CFLAGS="$CFLAGS -belf"
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9904 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9905 if ${lt_cv_cc_needs_belf+:} false; then :
9906 $as_echo_n "(cached) " >&6
9909 ac_cpp='$CPP $CPPFLAGS'
9910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9925 if ac_fn_c_try_link "$LINENO"; then :
9926 lt_cv_cc_needs_belf=yes
9928 lt_cv_cc_needs_belf=no
9930 rm -f core conftest.err conftest.$ac_objext \
9931 conftest$ac_exeext conftest.$ac_ext
9933 ac_cpp='$CPP $CPPFLAGS'
9934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9940 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9941 if test yes != "$lt_cv_cc_needs_belf"; then
9942 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9947 # Find out what ABI is being produced by ac_compile, and set linker
9948 # options accordingly.
9949 echo 'int i;' > conftest.$ac_ext
9950 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9951 (eval $ac_compile) 2>&5
9953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9954 test $ac_status = 0; }; then
9955 case `/usr/bin/file conftest.o` in
9957 case $lt_cv_prog_gnu_ld in
9960 i?86-*-solaris*|x86_64-*-solaris*)
9961 LD="${LD-ld} -m elf_x86_64"
9964 LD="${LD-ld} -m elf64_sparc"
9967 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9968 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9973 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9985 need_locks=$enable_libtool_lock
9987 if test -n "$ac_tool_prefix"; then
9988 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9989 set dummy ${ac_tool_prefix}mt; ac_word=$2
9990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9991 $as_echo_n "checking for $ac_word... " >&6; }
9992 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9993 $as_echo_n "(cached) " >&6
9995 if test -n "$MANIFEST_TOOL"; then
9996 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 test -z "$as_dir" && as_dir=.
10003 for ac_exec_ext in '' $ac_executable_extensions; do
10004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10005 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10015 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10016 if test -n "$MANIFEST_TOOL"; then
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10018 $as_echo "$MANIFEST_TOOL" >&6; }
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10021 $as_echo "no" >&6; }
10026 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10027 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10028 # Extract the first word of "mt", so it can be a program name with args.
10029 set dummy mt; ac_word=$2
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10031 $as_echo_n "checking for $ac_word... " >&6; }
10032 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10033 $as_echo_n "(cached) " >&6
10035 if test -n "$ac_ct_MANIFEST_TOOL"; then
10036 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10039 for as_dir in $PATH
10042 test -z "$as_dir" && as_dir=.
10043 for ac_exec_ext in '' $ac_executable_extensions; do
10044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10045 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10055 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10056 if test -n "$ac_ct_MANIFEST_TOOL"; then
10057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10058 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10061 $as_echo "no" >&6; }
10064 if test "x$ac_ct_MANIFEST_TOOL" = x; then
10067 case $cross_compiling:$ac_tool_warned in
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10071 ac_tool_warned=yes ;;
10073 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10076 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10079 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10081 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10082 if ${lt_cv_path_mainfest_tool+:} false; then :
10083 $as_echo_n "(cached) " >&6
10085 lt_cv_path_mainfest_tool=no
10086 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10087 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10088 cat conftest.err >&5
10089 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10090 lt_cv_path_mainfest_tool=yes
10094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10095 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10096 if test yes != "$lt_cv_path_mainfest_tool"; then
10106 rhapsody* | darwin*)
10107 if test -n "$ac_tool_prefix"; then
10108 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10109 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10111 $as_echo_n "checking for $ac_word... " >&6; }
10112 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10113 $as_echo_n "(cached) " >&6
10115 if test -n "$DSYMUTIL"; then
10116 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10119 for as_dir in $PATH
10122 test -z "$as_dir" && as_dir=.
10123 for ac_exec_ext in '' $ac_executable_extensions; do
10124 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10125 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10135 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10136 if test -n "$DSYMUTIL"; then
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10138 $as_echo "$DSYMUTIL" >&6; }
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10141 $as_echo "no" >&6; }
10146 if test -z "$ac_cv_prog_DSYMUTIL"; then
10147 ac_ct_DSYMUTIL=$DSYMUTIL
10148 # Extract the first word of "dsymutil", so it can be a program name with args.
10149 set dummy dsymutil; ac_word=$2
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10151 $as_echo_n "checking for $ac_word... " >&6; }
10152 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10153 $as_echo_n "(cached) " >&6
10155 if test -n "$ac_ct_DSYMUTIL"; then
10156 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10159 for as_dir in $PATH
10162 test -z "$as_dir" && as_dir=.
10163 for ac_exec_ext in '' $ac_executable_extensions; do
10164 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10165 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10166 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10175 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10176 if test -n "$ac_ct_DSYMUTIL"; then
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10178 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10181 $as_echo "no" >&6; }
10184 if test "x$ac_ct_DSYMUTIL" = x; then
10187 case $cross_compiling:$ac_tool_warned in
10189 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10190 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10191 ac_tool_warned=yes ;;
10193 DSYMUTIL=$ac_ct_DSYMUTIL
10196 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10199 if test -n "$ac_tool_prefix"; then
10200 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10201 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10203 $as_echo_n "checking for $ac_word... " >&6; }
10204 if ${ac_cv_prog_NMEDIT+:} false; then :
10205 $as_echo_n "(cached) " >&6
10207 if test -n "$NMEDIT"; then
10208 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10211 for as_dir in $PATH
10214 test -z "$as_dir" && as_dir=.
10215 for ac_exec_ext in '' $ac_executable_extensions; do
10216 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10217 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10218 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10227 NMEDIT=$ac_cv_prog_NMEDIT
10228 if test -n "$NMEDIT"; then
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10230 $as_echo "$NMEDIT" >&6; }
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10233 $as_echo "no" >&6; }
10238 if test -z "$ac_cv_prog_NMEDIT"; then
10239 ac_ct_NMEDIT=$NMEDIT
10240 # Extract the first word of "nmedit", so it can be a program name with args.
10241 set dummy nmedit; ac_word=$2
10242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10243 $as_echo_n "checking for $ac_word... " >&6; }
10244 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10245 $as_echo_n "(cached) " >&6
10247 if test -n "$ac_ct_NMEDIT"; then
10248 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10250 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10251 for as_dir in $PATH
10254 test -z "$as_dir" && as_dir=.
10255 for ac_exec_ext in '' $ac_executable_extensions; do
10256 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10257 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10258 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10267 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10268 if test -n "$ac_ct_NMEDIT"; then
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10270 $as_echo "$ac_ct_NMEDIT" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10273 $as_echo "no" >&6; }
10276 if test "x$ac_ct_NMEDIT" = x; then
10279 case $cross_compiling:$ac_tool_warned in
10281 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10282 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10283 ac_tool_warned=yes ;;
10285 NMEDIT=$ac_ct_NMEDIT
10288 NMEDIT="$ac_cv_prog_NMEDIT"
10291 if test -n "$ac_tool_prefix"; then
10292 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10293 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10295 $as_echo_n "checking for $ac_word... " >&6; }
10296 if ${ac_cv_prog_LIPO+:} false; then :
10297 $as_echo_n "(cached) " >&6
10299 if test -n "$LIPO"; then
10300 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10303 for as_dir in $PATH
10306 test -z "$as_dir" && as_dir=.
10307 for ac_exec_ext in '' $ac_executable_extensions; do
10308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10309 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10319 LIPO=$ac_cv_prog_LIPO
10320 if test -n "$LIPO"; then
10321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10322 $as_echo "$LIPO" >&6; }
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10325 $as_echo "no" >&6; }
10330 if test -z "$ac_cv_prog_LIPO"; then
10332 # Extract the first word of "lipo", so it can be a program name with args.
10333 set dummy lipo; ac_word=$2
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10335 $as_echo_n "checking for $ac_word... " >&6; }
10336 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10337 $as_echo_n "(cached) " >&6
10339 if test -n "$ac_ct_LIPO"; then
10340 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10343 for as_dir in $PATH
10346 test -z "$as_dir" && as_dir=.
10347 for ac_exec_ext in '' $ac_executable_extensions; do
10348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10349 ac_cv_prog_ac_ct_LIPO="lipo"
10350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10359 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10360 if test -n "$ac_ct_LIPO"; then
10361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10362 $as_echo "$ac_ct_LIPO" >&6; }
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10365 $as_echo "no" >&6; }
10368 if test "x$ac_ct_LIPO" = x; then
10371 case $cross_compiling:$ac_tool_warned in
10373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10375 ac_tool_warned=yes ;;
10380 LIPO="$ac_cv_prog_LIPO"
10383 if test -n "$ac_tool_prefix"; then
10384 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10385 set dummy ${ac_tool_prefix}otool; ac_word=$2
10386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10387 $as_echo_n "checking for $ac_word... " >&6; }
10388 if ${ac_cv_prog_OTOOL+:} false; then :
10389 $as_echo_n "(cached) " >&6
10391 if test -n "$OTOOL"; then
10392 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10394 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10395 for as_dir in $PATH
10398 test -z "$as_dir" && as_dir=.
10399 for ac_exec_ext in '' $ac_executable_extensions; do
10400 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10401 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10402 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10411 OTOOL=$ac_cv_prog_OTOOL
10412 if test -n "$OTOOL"; then
10413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10414 $as_echo "$OTOOL" >&6; }
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10417 $as_echo "no" >&6; }
10422 if test -z "$ac_cv_prog_OTOOL"; then
10424 # Extract the first word of "otool", so it can be a program name with args.
10425 set dummy otool; ac_word=$2
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10427 $as_echo_n "checking for $ac_word... " >&6; }
10428 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10429 $as_echo_n "(cached) " >&6
10431 if test -n "$ac_ct_OTOOL"; then
10432 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10435 for as_dir in $PATH
10438 test -z "$as_dir" && as_dir=.
10439 for ac_exec_ext in '' $ac_executable_extensions; do
10440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10441 ac_cv_prog_ac_ct_OTOOL="otool"
10442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10451 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10452 if test -n "$ac_ct_OTOOL"; then
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10454 $as_echo "$ac_ct_OTOOL" >&6; }
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10457 $as_echo "no" >&6; }
10460 if test "x$ac_ct_OTOOL" = x; then
10463 case $cross_compiling:$ac_tool_warned in
10465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10466 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10467 ac_tool_warned=yes ;;
10472 OTOOL="$ac_cv_prog_OTOOL"
10475 if test -n "$ac_tool_prefix"; then
10476 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10477 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10479 $as_echo_n "checking for $ac_word... " >&6; }
10480 if ${ac_cv_prog_OTOOL64+:} false; then :
10481 $as_echo_n "(cached) " >&6
10483 if test -n "$OTOOL64"; then
10484 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10487 for as_dir in $PATH
10490 test -z "$as_dir" && as_dir=.
10491 for ac_exec_ext in '' $ac_executable_extensions; do
10492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10493 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10503 OTOOL64=$ac_cv_prog_OTOOL64
10504 if test -n "$OTOOL64"; then
10505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10506 $as_echo "$OTOOL64" >&6; }
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10509 $as_echo "no" >&6; }
10514 if test -z "$ac_cv_prog_OTOOL64"; then
10515 ac_ct_OTOOL64=$OTOOL64
10516 # Extract the first word of "otool64", so it can be a program name with args.
10517 set dummy otool64; ac_word=$2
10518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10519 $as_echo_n "checking for $ac_word... " >&6; }
10520 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10521 $as_echo_n "(cached) " >&6
10523 if test -n "$ac_ct_OTOOL64"; then
10524 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10526 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10527 for as_dir in $PATH
10530 test -z "$as_dir" && as_dir=.
10531 for ac_exec_ext in '' $ac_executable_extensions; do
10532 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10533 ac_cv_prog_ac_ct_OTOOL64="otool64"
10534 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10543 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10544 if test -n "$ac_ct_OTOOL64"; then
10545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10546 $as_echo "$ac_ct_OTOOL64" >&6; }
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10549 $as_echo "no" >&6; }
10552 if test "x$ac_ct_OTOOL64" = x; then
10555 case $cross_compiling:$ac_tool_warned in
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10558 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10559 ac_tool_warned=yes ;;
10561 OTOOL64=$ac_ct_OTOOL64
10564 OTOOL64="$ac_cv_prog_OTOOL64"
10593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10594 $as_echo_n "checking for -single_module linker flag... " >&6; }
10595 if ${lt_cv_apple_cc_single_mod+:} false; then :
10596 $as_echo_n "(cached) " >&6
10598 lt_cv_apple_cc_single_mod=no
10599 if test -z "$LT_MULTI_MODULE"; then
10600 # By default we will add the -single_module flag. You can override
10601 # by either setting the environment variable LT_MULTI_MODULE
10602 # non-empty at configure time, or by adding -multi_module to the
10604 rm -rf libconftest.dylib*
10605 echo "int foo(void){return 1;}" > conftest.c
10606 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10607 -dynamiclib -Wl,-single_module conftest.c" >&5
10608 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10609 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10611 # If there is a non-empty error log, and "single_module"
10612 # appears in it, assume the flag caused a linker warning
10613 if test -s conftest.err && $GREP single_module conftest.err; then
10614 cat conftest.err >&5
10615 # Otherwise, if the output was created with a 0 exit code from
10616 # the compiler, it worked.
10617 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10618 lt_cv_apple_cc_single_mod=yes
10620 cat conftest.err >&5
10622 rm -rf libconftest.dylib*
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10627 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10630 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10631 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10632 $as_echo_n "(cached) " >&6
10634 lt_cv_ld_exported_symbols_list=no
10635 save_LDFLAGS=$LDFLAGS
10636 echo "_main" > conftest.sym
10637 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10639 /* end confdefs.h. */
10649 if ac_fn_c_try_link "$LINENO"; then :
10650 lt_cv_ld_exported_symbols_list=yes
10652 lt_cv_ld_exported_symbols_list=no
10654 rm -f core conftest.err conftest.$ac_objext \
10655 conftest$ac_exeext conftest.$ac_ext
10656 LDFLAGS=$save_LDFLAGS
10659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10660 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10663 $as_echo_n "checking for -force_load linker flag... " >&6; }
10664 if ${lt_cv_ld_force_load+:} false; then :
10665 $as_echo_n "(cached) " >&6
10667 lt_cv_ld_force_load=no
10668 cat > conftest.c << _LT_EOF
10669 int forced_loaded() { return 2;}
10671 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10672 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10673 echo "$AR cru libconftest.a conftest.o" >&5
10674 $AR cru libconftest.a conftest.o 2>&5
10675 echo "$RANLIB libconftest.a" >&5
10676 $RANLIB libconftest.a 2>&5
10677 cat > conftest.c << _LT_EOF
10678 int main() { return 0;}
10680 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10681 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10683 if test -s conftest.err && $GREP force_load conftest.err; then
10684 cat conftest.err >&5
10685 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10686 lt_cv_ld_force_load=yes
10688 cat conftest.err >&5
10690 rm -f conftest.err libconftest.a conftest conftest.c
10691 rm -rf conftest.dSYM
10694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10695 $as_echo "$lt_cv_ld_force_load" >&6; }
10697 rhapsody* | darwin1.[012])
10698 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10700 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10701 darwin*) # darwin 5.x on
10702 # if running on 10.5 or later, the deployment target defaults
10703 # to the OS version, if on x86, and 10.4, the deployment
10704 # target defaults to 10.4. Don't you love it?
10705 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10706 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10707 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10709 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10711 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10715 if test yes = "$lt_cv_apple_cc_single_mod"; then
10716 _lt_dar_single_mod='$single_module'
10718 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10719 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10721 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10723 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10724 _lt_dsymutil='~$DSYMUTIL $lib || :'
10731 # func_munge_path_list VARIABLE PATH
10732 # -----------------------------------
10733 # VARIABLE is name of variable containing _space_ separated list of
10734 # directories to be munged by the contents of PATH, which is string
10737 # string "DIR[ DIR]" will be prepended to VARIABLE
10739 # string "DIR[ DIR]" will be appended to VARIABLE
10740 # "DIRP[:DIRP]::[DIRA:]DIRA"
10741 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10742 # "DIRA[ DIRA]" will be appended to VARIABLE
10744 # VARIABLE will be replaced by "DIR[ DIR]"
10745 func_munge_path_list ()
10751 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10754 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10757 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10758 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10761 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10766 for ac_header in dlfcn.h
10768 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10770 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10771 cat >>confdefs.h <<_ACEOF
10772 #define HAVE_DLFCN_H 1
10781 func_stripname_cnf ()
10784 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10785 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10787 } # func_stripname_cnf
10800 enable_win32_dll=no
10803 # Check whether --enable-shared was given.
10804 if test "${enable_shared+set}" = set; then :
10805 enableval=$enable_shared; p=${PACKAGE-default}
10807 yes) enable_shared=yes ;;
10808 no) enable_shared=no ;;
10811 # Look at the argument we got. We use all the common list separators.
10812 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10813 for pkg in $enableval; do
10815 if test "X$pkg" = "X$p"; then
10834 # Check whether --enable-static was given.
10835 if test "${enable_static+set}" = set; then :
10836 enableval=$enable_static; p=${PACKAGE-default}
10838 yes) enable_static=yes ;;
10839 no) enable_static=no ;;
10842 # Look at the argument we got. We use all the common list separators.
10843 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10844 for pkg in $enableval; do
10846 if test "X$pkg" = "X$p"; then
10866 # Check whether --with-pic was given.
10867 if test "${with_pic+set}" = set; then :
10868 withval=$with_pic; lt_p=${PACKAGE-default}
10870 yes|no) pic_mode=$withval ;;
10873 # Look at the argument we got. We use all the common list separators.
10874 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10875 for lt_pkg in $withval; do
10877 if test "X$lt_pkg" = "X$lt_p"; then
10895 # Check whether --enable-fast-install was given.
10896 if test "${enable_fast_install+set}" = set; then :
10897 enableval=$enable_fast_install; p=${PACKAGE-default}
10899 yes) enable_fast_install=yes ;;
10900 no) enable_fast_install=no ;;
10902 enable_fast_install=no
10903 # Look at the argument we got. We use all the common list separators.
10904 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10905 for pkg in $enableval; do
10907 if test "X$pkg" = "X$p"; then
10908 enable_fast_install=yes
10915 enable_fast_install=yes
10925 shared_archive_member_spec=
10926 case $host,$enable_shared in
10927 power*-*-aix[5-9]*,yes)
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10929 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10931 # Check whether --with-aix-soname was given.
10932 if test "${with_aix_soname+set}" = set; then :
10933 withval=$with_aix_soname; case $withval in
10937 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10940 lt_cv_with_aix_soname=$with_aix_soname
10942 if ${lt_cv_with_aix_soname+:} false; then :
10943 $as_echo_n "(cached) " >&6
10945 lt_cv_with_aix_soname=aix
10948 with_aix_soname=$lt_cv_with_aix_soname
10951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10952 $as_echo "$with_aix_soname" >&6; }
10953 if test aix != "$with_aix_soname"; then
10954 # For the AIX way of multilib, we name the shared archive member
10955 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10956 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10957 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10958 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10959 if test 64 = "${OBJECT_MODE-32}"; then
10960 shared_archive_member_spec=shr_64
10962 shared_archive_member_spec=shr
10967 with_aix_soname=aix
10980 # This can be used to rebuild libtool when needed
10981 LIBTOOL_DEPS=$ltmain
10983 # Always use our own libtool.
10984 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11015 test -z "$LN_S" && LN_S="ln -s"
11030 if test -n "${ZSH_VERSION+set}"; then
11031 setopt NO_GLOB_SUBST
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11035 $as_echo_n "checking for objdir... " >&6; }
11036 if ${lt_cv_objdir+:} false; then :
11037 $as_echo_n "(cached) " >&6
11039 rm -f .libs 2>/dev/null
11040 mkdir .libs 2>/dev/null
11041 if test -d .libs; then
11044 # MS-DOS does not allow filenames that begin with a dot.
11047 rmdir .libs 2>/dev/null
11049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11050 $as_echo "$lt_cv_objdir" >&6; }
11051 objdir=$lt_cv_objdir
11057 cat >>confdefs.h <<_ACEOF
11058 #define LT_OBJDIR "$lt_cv_objdir/"
11066 # AIX sometimes has problems with the GCC collect2 program. For some
11067 # reason, if we set the COLLECT_NAMES environment variable, the problems
11068 # vanish in a puff of smoke.
11069 if test set != "${COLLECT_NAMES+set}"; then
11071 export COLLECT_NAMES
11076 # Global variables:
11078 can_build_shared=yes
11080 # All known linkers require a '.a' archive for static linking (except MSVC,
11081 # which needs '.lib').
11084 with_gnu_ld=$lt_cv_prog_gnu_ld
11089 # Set sane defaults for various variables
11090 test -z "$CC" && CC=cc
11091 test -z "$LTCC" && LTCC=$CC
11092 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11093 test -z "$LD" && LD=ld
11094 test -z "$ac_objext" && ac_objext=o
11096 func_cc_basename $compiler
11097 cc_basename=$func_cc_basename_result
11100 # Only perform the check for file, if the check method requires it
11101 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11102 case $deplibs_check_method in
11104 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11106 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11107 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11108 $as_echo_n "(cached) " >&6
11112 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11115 lt_save_MAGIC_CMD=$MAGIC_CMD
11116 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11117 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11118 for ac_dir in $ac_dummy; do
11120 test -z "$ac_dir" && ac_dir=.
11121 if test -f "$ac_dir/${ac_tool_prefix}file"; then
11122 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
11123 if test -n "$file_magic_test_file"; then
11124 case $deplibs_check_method in
11126 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11127 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11128 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11129 $EGREP "$file_magic_regex" > /dev/null; then
11134 *** Warning: the command libtool uses to detect shared libraries,
11135 *** $file_magic_cmd, produces output that libtool cannot recognize.
11136 *** The result is that libtool may fail to recognize shared libraries
11137 *** as such. This will affect the creation of libtool libraries that
11138 *** depend on shared libraries, but programs linked with such libtool
11139 *** libraries will work regardless of this problem. Nevertheless, you
11140 *** may want to report the problem to your system manager and/or to
11141 *** bug-libtool@gnu.org
11151 MAGIC_CMD=$lt_save_MAGIC_CMD
11156 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11157 if test -n "$MAGIC_CMD"; then
11158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11159 $as_echo "$MAGIC_CMD" >&6; }
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11162 $as_echo "no" >&6; }
11169 if test -z "$lt_cv_path_MAGIC_CMD"; then
11170 if test -n "$ac_tool_prefix"; then
11171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11172 $as_echo_n "checking for file... " >&6; }
11173 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11174 $as_echo_n "(cached) " >&6
11178 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11181 lt_save_MAGIC_CMD=$MAGIC_CMD
11182 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11183 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11184 for ac_dir in $ac_dummy; do
11186 test -z "$ac_dir" && ac_dir=.
11187 if test -f "$ac_dir/file"; then
11188 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11189 if test -n "$file_magic_test_file"; then
11190 case $deplibs_check_method in
11192 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11193 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11194 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11195 $EGREP "$file_magic_regex" > /dev/null; then
11200 *** Warning: the command libtool uses to detect shared libraries,
11201 *** $file_magic_cmd, produces output that libtool cannot recognize.
11202 *** The result is that libtool may fail to recognize shared libraries
11203 *** as such. This will affect the creation of libtool libraries that
11204 *** depend on shared libraries, but programs linked with such libtool
11205 *** libraries will work regardless of this problem. Nevertheless, you
11206 *** may want to report the problem to your system manager and/or to
11207 *** bug-libtool@gnu.org
11217 MAGIC_CMD=$lt_save_MAGIC_CMD
11222 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11223 if test -n "$MAGIC_CMD"; then
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11225 $as_echo "$MAGIC_CMD" >&6; }
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11228 $as_echo "no" >&6; }
11241 # Use C for the default configuration in the libtool script
11245 ac_cpp='$CPP $CPPFLAGS'
11246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11251 # Source file extension for C test sources.
11254 # Object file extension for compiled C test sources.
11258 # Code to be used in simple compile tests
11259 lt_simple_compile_test_code="int some_variable = 0;"
11261 # Code to be used in simple link tests
11262 lt_simple_link_test_code='int main(){return(0);}'
11270 # If no C compiler was specified, use CC.
11273 # If no C compiler flags were specified, use CFLAGS.
11274 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11276 # Allow CC to be a program name with arguments.
11279 # Save the default compiler, since it gets overwritten when the other
11280 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11281 compiler_DEFAULT=$CC
11283 # save warnings/boilerplate of simple test code
11284 ac_outfile=conftest.$ac_objext
11285 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11286 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11287 _lt_compiler_boilerplate=`cat conftest.err`
11290 ac_outfile=conftest.$ac_objext
11291 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11292 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11293 _lt_linker_boilerplate=`cat conftest.err`
11298 ## There is no encapsulation within the following macros, do not change
11299 ## the running order or otherwise move them around unless you know exactly
11300 ## what you are doing...
11301 if test -n "$compiler"; then
11303 lt_prog_compiler_no_builtin_flag=
11305 if test yes = "$GCC"; then
11306 case $cc_basename in
11308 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11310 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11314 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11315 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11316 $as_echo_n "(cached) " >&6
11318 lt_cv_prog_compiler_rtti_exceptions=no
11319 ac_outfile=conftest.$ac_objext
11320 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11321 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11322 # Insert the option either (1) after the last *FLAGS variable, or
11323 # (2) before a word containing "conftest.", or (3) at the end.
11324 # Note that $ac_compile itself does not contain backslashes and begins
11325 # with a dollar sign (not a hyphen), so the echo should work correctly.
11326 # The option is referenced via a variable to avoid confusing sed.
11327 lt_compile=`echo "$ac_compile" | $SED \
11328 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11329 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11330 -e 's:$: $lt_compiler_flag:'`
11331 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11332 (eval "$lt_compile" 2>conftest.err)
11334 cat conftest.err >&5
11335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11336 if (exit $ac_status) && test -s "$ac_outfile"; then
11337 # The compiler can only warn and ignore the option if not recognized
11338 # So say no if there are warnings other than the usual output.
11339 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11340 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11341 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11342 lt_cv_prog_compiler_rtti_exceptions=yes
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11349 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11351 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11352 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11364 lt_prog_compiler_wl=
11365 lt_prog_compiler_pic=
11366 lt_prog_compiler_static=
11369 if test yes = "$GCC"; then
11370 lt_prog_compiler_wl='-Wl,'
11371 lt_prog_compiler_static='-static'
11375 # All AIX code is PIC.
11376 if test ia64 = "$host_cpu"; then
11377 # AIX 5 now supports IA64 processor
11378 lt_prog_compiler_static='-Bstatic'
11380 lt_prog_compiler_pic='-fPIC'
11386 # see comment about AmigaOS4 .so support
11387 lt_prog_compiler_pic='-fPIC'
11390 # FIXME: we need at least 68020 code to build shared libraries, but
11391 # adding the '-m68020' flag to GCC prevents building anything better,
11393 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11398 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11399 # PIC is the default for these OSes.
11402 mingw* | cygwin* | pw32* | os2* | cegcc*)
11403 # This hack is so that the source file can tell whether it is being
11404 # built for inclusion in a dll (and should export symbols for example).
11405 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11406 # (--disable-auto-import) libraries
11407 lt_prog_compiler_pic='-DDLL_EXPORT'
11410 lt_prog_compiler_static='$wl-static'
11415 darwin* | rhapsody*)
11416 # PIC is the default on this platform
11417 # Common symbols not allowed in MH_DYLIB files
11418 lt_prog_compiler_pic='-fno-common'
11422 # PIC is the default for Haiku.
11423 # The "-static" flag exists, but is broken.
11424 lt_prog_compiler_static=
11428 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11429 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11430 # sets the default TLS model and affects inlining.
11436 lt_prog_compiler_pic='-fPIC'
11442 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11443 # Instead, we relocate shared libraries at runtime.
11447 # Just because we use GCC doesn't mean we suddenly get shared libraries
11448 # on systems that don't support them.
11449 lt_prog_compiler_can_build_shared=no
11454 # QNX uses GNU C++, but need to define -shared option too, otherwise
11455 # it will coredump.
11456 lt_prog_compiler_pic='-fPIC -shared'
11460 if test -d /usr/nec; then
11461 lt_prog_compiler_pic=-Kconform_pic
11466 lt_prog_compiler_pic='-fPIC'
11470 case $cc_basename in
11471 nvcc*) # Cuda Compiler Driver 2.2
11472 lt_prog_compiler_wl='-Xlinker '
11473 if test -n "$lt_prog_compiler_pic"; then
11474 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11479 # PORTME Check for flag to pass linker flags through the system compiler.
11482 lt_prog_compiler_wl='-Wl,'
11483 if test ia64 = "$host_cpu"; then
11484 # AIX 5 now supports IA64 processor
11485 lt_prog_compiler_static='-Bstatic'
11487 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11491 darwin* | rhapsody*)
11492 # PIC is the default on this platform
11493 # Common symbols not allowed in MH_DYLIB files
11494 lt_prog_compiler_pic='-fno-common'
11495 case $cc_basename in
11497 # NAG Fortran compiler
11498 lt_prog_compiler_wl='-Wl,-Wl,,'
11499 lt_prog_compiler_pic='-PIC'
11500 lt_prog_compiler_static='-Bstatic'
11505 mingw* | cygwin* | pw32* | os2* | cegcc*)
11506 # This hack is so that the source file can tell whether it is being
11507 # built for inclusion in a dll (and should export symbols for example).
11508 lt_prog_compiler_pic='-DDLL_EXPORT'
11511 lt_prog_compiler_static='$wl-static'
11516 hpux9* | hpux10* | hpux11*)
11517 lt_prog_compiler_wl='-Wl,'
11518 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11519 # not for PA HP-UX.
11525 lt_prog_compiler_pic='+Z'
11528 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11529 lt_prog_compiler_static='$wl-a ${wl}archive'
11532 irix5* | irix6* | nonstopux*)
11533 lt_prog_compiler_wl='-Wl,'
11534 # PIC (with -KPIC) is the default.
11535 lt_prog_compiler_static='-non_shared'
11538 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11539 case $cc_basename in
11540 # old Intel for x86_64, which still supported -KPIC.
11542 lt_prog_compiler_wl='-Wl,'
11543 lt_prog_compiler_pic='-KPIC'
11544 lt_prog_compiler_static='-static'
11546 # icc used to be incompatible with GCC.
11547 # ICC 10 doesn't accept -KPIC any more.
11549 lt_prog_compiler_wl='-Wl,'
11550 lt_prog_compiler_pic='-fPIC'
11551 lt_prog_compiler_static='-static'
11553 # Lahey Fortran 8.1.
11555 lt_prog_compiler_wl='-Wl,'
11556 lt_prog_compiler_pic='--shared'
11557 lt_prog_compiler_static='--static'
11560 # NAG Fortran compiler
11561 lt_prog_compiler_wl='-Wl,-Wl,,'
11562 lt_prog_compiler_pic='-PIC'
11563 lt_prog_compiler_static='-Bstatic'
11566 # Fabrice Bellard et al's Tiny C Compiler
11567 lt_prog_compiler_wl='-Wl,'
11568 lt_prog_compiler_pic='-fPIC'
11569 lt_prog_compiler_static='-static'
11571 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11572 # Portland Group compilers (*not* the Pentium gcc compiler,
11573 # which looks to be a dead project)
11574 lt_prog_compiler_wl='-Wl,'
11575 lt_prog_compiler_pic='-fpic'
11576 lt_prog_compiler_static='-Bstatic'
11579 lt_prog_compiler_wl='-Wl,'
11580 # All Alpha code is PIC.
11581 lt_prog_compiler_static='-non_shared'
11583 xl* | bgxl* | bgf* | mpixl*)
11584 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11585 lt_prog_compiler_wl='-Wl,'
11586 lt_prog_compiler_pic='-qpic'
11587 lt_prog_compiler_static='-qstaticlink'
11590 case `$CC -V 2>&1 | sed 5q` in
11591 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11592 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11593 lt_prog_compiler_pic='-KPIC'
11594 lt_prog_compiler_static='-Bstatic'
11595 lt_prog_compiler_wl=''
11597 *Sun\ F* | *Sun*Fortran*)
11598 lt_prog_compiler_pic='-KPIC'
11599 lt_prog_compiler_static='-Bstatic'
11600 lt_prog_compiler_wl='-Qoption ld '
11604 lt_prog_compiler_pic='-KPIC'
11605 lt_prog_compiler_static='-Bstatic'
11606 lt_prog_compiler_wl='-Wl,'
11608 *Intel*\ [CF]*Compiler*)
11609 lt_prog_compiler_wl='-Wl,'
11610 lt_prog_compiler_pic='-fPIC'
11611 lt_prog_compiler_static='-static'
11614 lt_prog_compiler_wl='-Wl,'
11615 lt_prog_compiler_pic='-fpic'
11616 lt_prog_compiler_static='-Bstatic'
11624 lt_prog_compiler_pic='-KPIC'
11625 lt_prog_compiler_static='-Bstatic'
11629 # QNX uses GNU C++, but need to define -shared option too, otherwise
11630 # it will coredump.
11631 lt_prog_compiler_pic='-fPIC -shared'
11634 osf3* | osf4* | osf5*)
11635 lt_prog_compiler_wl='-Wl,'
11636 # All OSF/1 code is PIC.
11637 lt_prog_compiler_static='-non_shared'
11641 lt_prog_compiler_static='-non_shared'
11645 lt_prog_compiler_pic='-KPIC'
11646 lt_prog_compiler_static='-Bstatic'
11647 case $cc_basename in
11648 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11649 lt_prog_compiler_wl='-Qoption ld ';;
11651 lt_prog_compiler_wl='-Wl,';;
11656 lt_prog_compiler_wl='-Qoption ld '
11657 lt_prog_compiler_pic='-PIC'
11658 lt_prog_compiler_static='-Bstatic'
11661 sysv4 | sysv4.2uw2* | sysv4.3*)
11662 lt_prog_compiler_wl='-Wl,'
11663 lt_prog_compiler_pic='-KPIC'
11664 lt_prog_compiler_static='-Bstatic'
11668 if test -d /usr/nec; then
11669 lt_prog_compiler_pic='-Kconform_pic'
11670 lt_prog_compiler_static='-Bstatic'
11674 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11675 lt_prog_compiler_wl='-Wl,'
11676 lt_prog_compiler_pic='-KPIC'
11677 lt_prog_compiler_static='-Bstatic'
11681 lt_prog_compiler_wl='-Wl,'
11682 lt_prog_compiler_can_build_shared=no
11686 lt_prog_compiler_pic='-pic'
11687 lt_prog_compiler_static='-Bstatic'
11691 lt_prog_compiler_can_build_shared=no
11697 # For platforms that do not support PIC, -DPIC is meaningless:
11699 lt_prog_compiler_pic=
11702 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11707 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11708 if ${lt_cv_prog_compiler_pic+:} false; then :
11709 $as_echo_n "(cached) " >&6
11711 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11714 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11715 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11718 # Check to make sure the PIC flag actually works.
11720 if test -n "$lt_prog_compiler_pic"; then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11722 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11723 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11724 $as_echo_n "(cached) " >&6
11726 lt_cv_prog_compiler_pic_works=no
11727 ac_outfile=conftest.$ac_objext
11728 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11729 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11730 # Insert the option either (1) after the last *FLAGS variable, or
11731 # (2) before a word containing "conftest.", or (3) at the end.
11732 # Note that $ac_compile itself does not contain backslashes and begins
11733 # with a dollar sign (not a hyphen), so the echo should work correctly.
11734 # The option is referenced via a variable to avoid confusing sed.
11735 lt_compile=`echo "$ac_compile" | $SED \
11736 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11737 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11738 -e 's:$: $lt_compiler_flag:'`
11739 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11740 (eval "$lt_compile" 2>conftest.err)
11742 cat conftest.err >&5
11743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11744 if (exit $ac_status) && test -s "$ac_outfile"; then
11745 # The compiler can only warn and ignore the option if not recognized
11746 # So say no if there are warnings other than the usual output.
11747 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11748 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11749 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11750 lt_cv_prog_compiler_pic_works=yes
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11757 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11759 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11760 case $lt_prog_compiler_pic in
11762 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11765 lt_prog_compiler_pic=
11766 lt_prog_compiler_can_build_shared=no
11782 # Check to make sure the static flag actually works.
11784 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11786 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11787 if ${lt_cv_prog_compiler_static_works+:} false; then :
11788 $as_echo_n "(cached) " >&6
11790 lt_cv_prog_compiler_static_works=no
11791 save_LDFLAGS=$LDFLAGS
11792 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11793 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11794 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11795 # The linker can only warn and ignore the option if not recognized
11796 # So say no if there are warnings
11797 if test -s conftest.err; then
11798 # Append any errors to the config.log.
11799 cat conftest.err 1>&5
11800 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11801 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11802 if diff conftest.exp conftest.er2 >/dev/null; then
11803 lt_cv_prog_compiler_static_works=yes
11806 lt_cv_prog_compiler_static_works=yes
11810 LDFLAGS=$save_LDFLAGS
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11814 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11816 if test yes = "$lt_cv_prog_compiler_static_works"; then
11819 lt_prog_compiler_static=
11828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11829 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11830 if ${lt_cv_prog_compiler_c_o+:} false; then :
11831 $as_echo_n "(cached) " >&6
11833 lt_cv_prog_compiler_c_o=no
11834 $RM -r conftest 2>/dev/null
11838 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11840 lt_compiler_flag="-o out/conftest2.$ac_objext"
11841 # Insert the option either (1) after the last *FLAGS variable, or
11842 # (2) before a word containing "conftest.", or (3) at the end.
11843 # Note that $ac_compile itself does not contain backslashes and begins
11844 # with a dollar sign (not a hyphen), so the echo should work correctly.
11845 lt_compile=`echo "$ac_compile" | $SED \
11846 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11847 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11848 -e 's:$: $lt_compiler_flag:'`
11849 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11850 (eval "$lt_compile" 2>out/conftest.err)
11852 cat out/conftest.err >&5
11853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11854 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11856 # The compiler can only warn and ignore the option if not recognized
11857 # So say no if there are warnings
11858 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11859 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11860 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11861 lt_cv_prog_compiler_c_o=yes
11866 # SGI C++ compiler will create directory out/ii_files/ for
11867 # template instantiation
11868 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11869 $RM out/* && rmdir out
11875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11876 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11884 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11885 if ${lt_cv_prog_compiler_c_o+:} false; then :
11886 $as_echo_n "(cached) " >&6
11888 lt_cv_prog_compiler_c_o=no
11889 $RM -r conftest 2>/dev/null
11893 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11895 lt_compiler_flag="-o out/conftest2.$ac_objext"
11896 # Insert the option either (1) after the last *FLAGS variable, or
11897 # (2) before a word containing "conftest.", or (3) at the end.
11898 # Note that $ac_compile itself does not contain backslashes and begins
11899 # with a dollar sign (not a hyphen), so the echo should work correctly.
11900 lt_compile=`echo "$ac_compile" | $SED \
11901 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11902 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11903 -e 's:$: $lt_compiler_flag:'`
11904 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11905 (eval "$lt_compile" 2>out/conftest.err)
11907 cat out/conftest.err >&5
11908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11909 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11911 # The compiler can only warn and ignore the option if not recognized
11912 # So say no if there are warnings
11913 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11914 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11915 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11916 lt_cv_prog_compiler_c_o=yes
11921 # SGI C++ compiler will create directory out/ii_files/ for
11922 # template instantiation
11923 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11924 $RM out/* && rmdir out
11930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11931 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11936 hard_links=nottested
11937 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11938 # do not overwrite the value of need_locks provided by the user
11939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11940 $as_echo_n "checking if we can lock with hard links... " >&6; }
11943 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11945 ln conftest.a conftest.b 2>&5 || hard_links=no
11946 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11948 $as_echo "$hard_links" >&6; }
11949 if test no = "$hard_links"; then
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11951 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11964 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11967 allow_undefined_flag=
11968 always_export_symbols=no
11970 archive_expsym_cmds=
11971 compiler_needs_object=no
11972 enable_shared_with_static_runtimes=no
11973 export_dynamic_flag_spec=
11974 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11975 hardcode_automatic=no
11977 hardcode_direct_absolute=no
11978 hardcode_libdir_flag_spec=
11979 hardcode_libdir_separator=
11980 hardcode_minus_L=no
11981 hardcode_shlibpath_var=unsupported
11983 link_all_deplibs=unknown
11985 module_expsym_cmds=
11986 old_archive_from_new_cmds=
11987 old_archive_from_expsyms_cmds=
11988 thread_safe_flag_spec=
11989 whole_archive_flag_spec=
11990 # include_expsyms should be a list of space-separated symbols to be *always*
11991 # included in the symbol list
11993 # exclude_expsyms can be an extended regexp of symbols to exclude
11994 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11995 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11996 # as well as any symbol that contains 'd'.
11997 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11998 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11999 # platforms (ab)use it in PIC code, but their linkers get confused if
12000 # the symbol is explicitly referenced. Since portable code cannot
12001 # rely on this symbol name, it's probably fine to never include it in
12002 # preloaded symbol tables.
12003 # Exclude shared library initialization/finalization symbols.
12004 extract_expsyms_cmds=
12007 cygwin* | mingw* | pw32* | cegcc*)
12008 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12009 # When not using gcc, we currently assume that we are using
12010 # Microsoft Visual C++.
12011 if test yes != "$GCC"; then
12016 # we just hope/assume this is gcc and not c89 (= MSVC++)
12019 openbsd* | bitrig*)
12026 # On some targets, GNU ld is compatible enough with the native linker
12027 # that we're better off using the native interface for both.
12028 lt_use_gnu_ld_interface=no
12029 if test yes = "$with_gnu_ld"; then
12032 # The AIX port of GNU ld has always aspired to compatibility
12033 # with the native linker. However, as the warning in the GNU ld
12034 # block says, versions before 2.19.5* couldn't really create working
12035 # shared libraries, regardless of the interface used.
12036 case `$LD -v 2>&1` in
12037 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12038 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12039 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12041 lt_use_gnu_ld_interface=yes
12046 lt_use_gnu_ld_interface=yes
12051 if test yes = "$lt_use_gnu_ld_interface"; then
12052 # If archive_cmds runs LD, not CC, wlarc should be empty
12055 # Set some defaults for GNU ld with shared library support. These
12056 # are reset later if shared libraries are not supported. Putting them
12057 # here allows them to be overridden if necessary.
12058 runpath_var=LD_RUN_PATH
12059 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12060 export_dynamic_flag_spec='$wl--export-dynamic'
12061 # ancient GNU ld didn't support --whole-archive et. al.
12062 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12063 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12065 whole_archive_flag_spec=
12067 supports_anon_versioning=no
12068 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12069 *GNU\ gold*) supports_anon_versioning=yes ;;
12070 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12071 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12072 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12073 *\ 2.11.*) ;; # other 2.11 versions
12074 *) supports_anon_versioning=yes ;;
12077 # See if GNU ld supports shared libraries.
12080 # On AIX/PPC, the GNU linker is very broken
12081 if test ia64 != "$host_cpu"; then
12085 *** Warning: the GNU linker, at least up to release 2.19, is reported
12086 *** to be unable to reliably create shared libraries on AIX.
12087 *** Therefore, libtool is disabling shared libraries support. If you
12088 *** really care for shared libraries, you may want to install binutils
12089 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12090 *** You will then need to restart the configuration process.
12099 # see comment about AmigaOS4 .so support
12100 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12101 archive_expsym_cmds=''
12104 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)'
12105 hardcode_libdir_flag_spec='-L$libdir'
12106 hardcode_minus_L=yes
12112 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12113 allow_undefined_flag=unsupported
12114 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12115 # support --undefined. This deserves some investigation. FIXME
12116 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12122 cygwin* | mingw* | pw32* | cegcc*)
12123 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12124 # as there is no search path for DLLs.
12125 hardcode_libdir_flag_spec='-L$libdir'
12126 export_dynamic_flag_spec='$wl--export-all-symbols'
12127 allow_undefined_flag=unsupported
12128 always_export_symbols=no
12129 enable_shared_with_static_runtimes=yes
12130 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'
12131 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12133 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12134 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12135 # If the export-symbols file already is a .def file, use it as
12136 # is; otherwise, prepend EXPORTS...
12137 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12138 cp $export_symbols $output_objdir/$soname.def;
12140 echo EXPORTS > $output_objdir/$soname.def;
12141 cat $export_symbols >> $output_objdir/$soname.def;
12143 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12150 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12151 link_all_deplibs=yes
12155 hardcode_libdir_flag_spec='-L$libdir'
12156 hardcode_minus_L=yes
12157 allow_undefined_flag=unsupported
12159 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12160 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12161 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12162 $ECHO EXPORTS >> $output_objdir/$libname.def~
12163 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12164 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12165 emximp -o $lib $output_objdir/$libname.def'
12166 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12167 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12168 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12169 $ECHO EXPORTS >> $output_objdir/$libname.def~
12170 prefix_cmds="$SED"~
12171 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12172 prefix_cmds="$prefix_cmds -e 1d";
12174 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12175 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12176 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12177 emximp -o $lib $output_objdir/$libname.def'
12178 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12179 enable_shared_with_static_runtimes=yes
12184 hardcode_shlibpath_var=no
12185 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12186 export_dynamic_flag_spec='$wl-E'
12187 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12188 # Instead, shared libraries are loaded at an image base (0x10000000 by
12189 # default) and relocated if they conflict, which is a slow very memory
12190 # consuming and fragmenting process. To avoid this, we pick a random,
12191 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12192 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12193 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12194 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'
12197 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12199 if test linux-dietlibc = "$host_os"; then
12200 case $cc_basename in
12201 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12204 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12205 && test no = "$tmp_diet"
12207 tmp_addflag=' $pic_flag'
12208 tmp_sharedflag='-shared'
12209 case $cc_basename,$host_cpu in
12210 pgcc*) # Portland Group C compiler
12211 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'
12212 tmp_addflag=' $pic_flag'
12214 pgf77* | pgf90* | pgf95* | pgfortran*)
12215 # Portland Group f77 and f90 compilers
12216 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'
12217 tmp_addflag=' $pic_flag -Mnomain' ;;
12218 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12219 tmp_addflag=' -i_dynamic' ;;
12220 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12221 tmp_addflag=' -i_dynamic -nofor_main' ;;
12222 ifc* | ifort*) # Intel Fortran compiler
12223 tmp_addflag=' -nofor_main' ;;
12224 lf95*) # Lahey Fortran 8.1
12225 whole_archive_flag_spec=
12226 tmp_sharedflag='--shared' ;;
12227 nagfor*) # NAGFOR 5.3
12228 tmp_sharedflag='-Wl,-shared' ;;
12229 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12230 tmp_sharedflag='-qmkshrobj'
12232 nvcc*) # Cuda Compiler Driver 2.2
12233 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'
12234 compiler_needs_object=yes
12237 case `$CC -V 2>&1 | sed 5q` in
12238 *Sun\ C*) # Sun C 5.9
12239 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'
12240 compiler_needs_object=yes
12241 tmp_sharedflag='-G' ;;
12242 *Sun\ F*) # Sun Fortran 8.3
12243 tmp_sharedflag='-G' ;;
12245 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12247 if test yes = "$supports_anon_versioning"; then
12248 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12249 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12250 echo "local: *; };" >> $output_objdir/$libname.ver~
12251 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12254 case $cc_basename in
12256 export_dynamic_flag_spec='-rdynamic'
12258 xlf* | bgf* | bgxlf* | mpixlf*)
12259 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12260 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12261 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12262 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12263 if test yes = "$supports_anon_versioning"; then
12264 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12265 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12266 echo "local: *; };" >> $output_objdir/$libname.ver~
12267 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12277 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12278 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12281 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12282 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12287 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12291 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12292 *** create shared libraries on Solaris systems. Therefore, libtool
12293 *** is disabling shared libraries support. We urge you to upgrade GNU
12294 *** binutils to release 2.9.1 or newer. Another option is to modify
12295 *** your PATH or compiler configuration so that the native linker is
12296 *** used, and then restart.
12299 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12300 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12301 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12307 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12308 case `$LD -v 2>&1` in
12309 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12313 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12314 *** reliably create shared libraries on SCO systems. Therefore, libtool
12315 *** is disabling shared libraries support. We urge you to upgrade GNU
12316 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12317 *** your PATH or compiler configuration so that the native linker is
12318 *** used, and then restart.
12323 # For security reasons, it is highly recommended that you always
12324 # use absolute paths for naming shared libraries, and exclude the
12325 # DT_RUNPATH tag from executables and libraries. But doing so
12326 # requires that you compile everything twice, which is a pain.
12327 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12328 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12329 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12330 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12339 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12341 hardcode_direct=yes
12342 hardcode_shlibpath_var=no
12346 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12347 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12348 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12355 if test no = "$ld_shlibs"; then
12357 hardcode_libdir_flag_spec=
12358 export_dynamic_flag_spec=
12359 whole_archive_flag_spec=
12362 # PORTME fill in a description of your system's linker (not GNU ld)
12365 allow_undefined_flag=unsupported
12366 always_export_symbols=yes
12367 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'
12368 # Note: this linker hardcodes the directories in LIBPATH if there
12369 # are no directories specified by -L.
12370 hardcode_minus_L=yes
12371 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12372 # Neither direct hardcoding nor static linking is supported with a
12374 hardcode_direct=unsupported
12379 if test ia64 = "$host_cpu"; then
12380 # On IA64, the linker does run time linking by default, so we don't
12381 # have to do anything special.
12382 aix_use_runtimelinking=no
12383 exp_sym_flag='-Bexport'
12386 # If we're using GNU nm, then we don't want the "-C" option.
12387 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12388 # Without the "-l" option, or with the "-B" option, AIX nm treats
12389 # weak defined symbols like other global defined symbols, whereas
12390 # GNU nm marks them as "W".
12391 # While the 'weak' keyword is ignored in the Export File, we need
12392 # it in the Import File for the 'aix-soname' feature, so we have
12393 # to replace the "-B" option with "-P" for AIX nm.
12394 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12395 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'
12397 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'
12399 aix_use_runtimelinking=no
12401 # Test if we are trying to use run time linking or normal
12402 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12403 # have runtime linking enabled, and use it for executables.
12404 # For shared libraries, we enable/disable runtime linking
12405 # depending on the kind of the shared library created -
12406 # when "with_aix_soname,aix_use_runtimelinking" is:
12407 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12408 # "aix,yes" lib.so shared, rtl:yes, for executables
12409 # lib.a static archive
12410 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12411 # lib.a(lib.so.V) shared, rtl:no, for executables
12412 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12413 # lib.a(lib.so.V) shared, rtl:no
12414 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12415 # lib.a static archive
12416 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12417 for ld_flag in $LDFLAGS; do
12418 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12419 aix_use_runtimelinking=yes
12423 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12424 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12425 # so we don't have lib.a shared libs to link our executables.
12426 # We have to force runtime linking in this case.
12427 aix_use_runtimelinking=yes
12428 LDFLAGS="$LDFLAGS -Wl,-brtl"
12433 exp_sym_flag='-bexport'
12434 no_entry_flag='-bnoentry'
12437 # When large executables or shared objects are built, AIX ld can
12438 # have problems creating the table of contents. If linking a library
12439 # or program results in "error TOC overflow" add -mminimal-toc to
12440 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12441 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12444 hardcode_direct=yes
12445 hardcode_direct_absolute=yes
12446 hardcode_libdir_separator=':'
12447 link_all_deplibs=yes
12448 file_list_spec='$wl-f,'
12449 case $with_aix_soname,$aix_use_runtimelinking in
12450 aix,*) ;; # traditional, no import file
12451 svr4,* | *,yes) # use import file
12452 # The Import File defines what to hardcode.
12454 hardcode_direct_absolute=no
12458 if test yes = "$GCC"; then
12459 case $host_os in aix4.[012]|aix4.[012].*)
12460 # We only want to do this on AIX 4.2 and lower, the check
12461 # below for broken collect2 doesn't work under 4.3+
12462 collect2name=`$CC -print-prog-name=collect2`
12463 if test -f "$collect2name" &&
12464 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12466 # We have reworked collect2
12469 # We have old collect2
12470 hardcode_direct=unsupported
12471 # It fails to find uninstalled libraries when the uninstalled
12472 # path is not listed in the libpath. Setting hardcode_minus_L
12473 # to unsupported forces relinking
12474 hardcode_minus_L=yes
12475 hardcode_libdir_flag_spec='-L$libdir'
12476 hardcode_libdir_separator=
12480 shared_flag='-shared'
12481 if test yes = "$aix_use_runtimelinking"; then
12482 shared_flag="$shared_flag "'$wl-G'
12484 # Need to ensure runtime linking is disabled for the traditional
12485 # shared library, or the linker may eventually find shared libraries
12486 # /with/ Import File - we do not want to mix them.
12487 shared_flag_aix='-shared'
12488 shared_flag_svr4='-shared $wl-G'
12491 if test ia64 = "$host_cpu"; then
12492 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12493 # chokes on -Wl,-G. The following line is correct:
12496 if test yes = "$aix_use_runtimelinking"; then
12497 shared_flag='$wl-G'
12499 shared_flag='$wl-bM:SRE'
12501 shared_flag_aix='$wl-bM:SRE'
12502 shared_flag_svr4='$wl-G'
12506 export_dynamic_flag_spec='$wl-bexpall'
12507 # It seems that -bexpall does not export symbols beginning with
12508 # underscore (_), so it is better to generate a list of symbols to export.
12509 always_export_symbols=yes
12510 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12511 # Warning - without using the other runtime loading flags (-brtl),
12512 # -berok will link without error, but may produce a broken library.
12513 allow_undefined_flag='-berok'
12514 # Determine the default libpath from the value encoded in an
12515 # empty executable.
12516 if test set = "${lt_cv_aix_libpath+set}"; then
12517 aix_libpath=$lt_cv_aix_libpath
12519 if ${lt_cv_aix_libpath_+:} false; then :
12520 $as_echo_n "(cached) " >&6
12522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12523 /* end confdefs.h. */
12533 if ac_fn_c_try_link "$LINENO"; then :
12535 lt_aix_libpath_sed='
12536 /Import File Strings/,/^$/ {
12538 s/^0 *\([^ ]*\) *$/\1/
12542 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12543 # Check for a 64-bit object if we didn't find anything.
12544 if test -z "$lt_cv_aix_libpath_"; then
12545 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12548 rm -f core conftest.err conftest.$ac_objext \
12549 conftest$ac_exeext conftest.$ac_ext
12550 if test -z "$lt_cv_aix_libpath_"; then
12551 lt_cv_aix_libpath_=/usr/lib:/lib
12556 aix_libpath=$lt_cv_aix_libpath_
12559 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12560 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
12562 if test ia64 = "$host_cpu"; then
12563 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12564 allow_undefined_flag="-z nodefs"
12565 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"
12567 # Determine the default libpath from the value encoded in an
12568 # empty executable.
12569 if test set = "${lt_cv_aix_libpath+set}"; then
12570 aix_libpath=$lt_cv_aix_libpath
12572 if ${lt_cv_aix_libpath_+:} false; then :
12573 $as_echo_n "(cached) " >&6
12575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12576 /* end confdefs.h. */
12586 if ac_fn_c_try_link "$LINENO"; then :
12588 lt_aix_libpath_sed='
12589 /Import File Strings/,/^$/ {
12591 s/^0 *\([^ ]*\) *$/\1/
12595 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12596 # Check for a 64-bit object if we didn't find anything.
12597 if test -z "$lt_cv_aix_libpath_"; then
12598 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12601 rm -f core conftest.err conftest.$ac_objext \
12602 conftest$ac_exeext conftest.$ac_ext
12603 if test -z "$lt_cv_aix_libpath_"; then
12604 lt_cv_aix_libpath_=/usr/lib:/lib
12609 aix_libpath=$lt_cv_aix_libpath_
12612 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12613 # Warning - without using the other run time loading flags,
12614 # -berok will link without error, but may produce a broken library.
12615 no_undefined_flag=' $wl-bernotok'
12616 allow_undefined_flag=' $wl-berok'
12617 if test yes = "$with_gnu_ld"; then
12618 # We only use this code for GNU lds that support --whole-archive.
12619 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12621 # Exported symbols can be pulled into shared objects from archives
12622 whole_archive_flag_spec='$convenience'
12624 archive_cmds_need_lc=yes
12625 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12626 # -brtl affects multiple linker settings, -berok does not and is overridden later
12627 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12628 if test svr4 != "$with_aix_soname"; then
12629 # This is similar to how AIX traditionally builds its shared libraries.
12630 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'
12632 if test aix != "$with_aix_soname"; then
12633 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'
12635 # used by -dlpreopen to get the symbols
12636 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12638 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12646 # see comment about AmigaOS4 .so support
12647 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12648 archive_expsym_cmds=''
12651 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)'
12652 hardcode_libdir_flag_spec='-L$libdir'
12653 hardcode_minus_L=yes
12659 export_dynamic_flag_spec=-rdynamic
12662 cygwin* | mingw* | pw32* | cegcc*)
12663 # When not using gcc, we currently assume that we are using
12664 # Microsoft Visual C++.
12665 # hardcode_libdir_flag_spec is actually meaningless, as there is
12666 # no search path for DLLs.
12667 case $cc_basename in
12670 hardcode_libdir_flag_spec=' '
12671 allow_undefined_flag=unsupported
12672 always_export_symbols=yes
12674 # Tell ltmain to make .lib files, not .a files.
12676 # Tell ltmain to make .dll files, not .so files.
12678 # FIXME: Setting linknames here is a bad hack.
12679 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12680 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12681 cp "$export_symbols" "$output_objdir/$soname.def";
12682 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12684 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12686 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12688 # The linker will not automatically build a static lib if we build a DLL.
12689 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12690 enable_shared_with_static_runtimes=yes
12691 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12692 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12694 old_postinstall_cmds='chmod 644 $oldlib'
12695 postlink_cmds='lt_outputfile="@OUTPUT@"~
12696 lt_tool_outputfile="@TOOL_OUTPUT@"~
12697 case $lt_outputfile in
12700 lt_outputfile=$lt_outputfile.exe
12701 lt_tool_outputfile=$lt_tool_outputfile.exe
12704 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12705 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12706 $RM "$lt_outputfile.manifest";
12710 # Assume MSVC wrapper
12711 hardcode_libdir_flag_spec=' '
12712 allow_undefined_flag=unsupported
12713 # Tell ltmain to make .lib files, not .a files.
12715 # Tell ltmain to make .dll files, not .so files.
12717 # FIXME: Setting linknames here is a bad hack.
12718 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12719 # The linker will automatically build a .lib file if we build a DLL.
12720 old_archive_from_new_cmds='true'
12721 # FIXME: Should let the user specify the lib program.
12722 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12723 enable_shared_with_static_runtimes=yes
12728 darwin* | rhapsody*)
12731 archive_cmds_need_lc=no
12733 hardcode_automatic=yes
12734 hardcode_shlibpath_var=unsupported
12735 if test yes = "$lt_cv_ld_force_load"; then
12736 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\"`'
12739 whole_archive_flag_spec=''
12741 link_all_deplibs=yes
12742 allow_undefined_flag=$_lt_dar_allow_undefined
12743 case $cc_basename in
12744 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12745 *) _lt_dar_can_shared=$GCC ;;
12747 if test yes = "$_lt_dar_can_shared"; then
12748 output_verbose_link_cmd=func_echo_all
12749 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12750 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12751 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"
12752 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"
12761 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12762 hardcode_libdir_flag_spec='-L$libdir'
12763 hardcode_shlibpath_var=no
12766 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12767 # support. Future versions do this automatically, but an explicit c++rt0.o
12768 # does not break anything, and helps significantly (at the cost of a little
12771 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12772 hardcode_libdir_flag_spec='-R$libdir'
12773 hardcode_direct=yes
12774 hardcode_shlibpath_var=no
12777 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12779 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12780 hardcode_direct=yes
12781 hardcode_minus_L=yes
12782 hardcode_shlibpath_var=no
12785 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12786 freebsd* | dragonfly*)
12787 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12788 hardcode_libdir_flag_spec='-R$libdir'
12789 hardcode_direct=yes
12790 hardcode_shlibpath_var=no
12794 if test yes = "$GCC"; then
12795 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'
12797 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'
12799 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12800 hardcode_libdir_separator=:
12801 hardcode_direct=yes
12803 # hardcode_minus_L: Not really in the search PATH,
12804 # but as the default location of the library.
12805 hardcode_minus_L=yes
12806 export_dynamic_flag_spec='$wl-E'
12810 if test yes,no = "$GCC,$with_gnu_ld"; then
12811 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12813 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12815 if test no = "$with_gnu_ld"; then
12816 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12817 hardcode_libdir_separator=:
12818 hardcode_direct=yes
12819 hardcode_direct_absolute=yes
12820 export_dynamic_flag_spec='$wl-E'
12821 # hardcode_minus_L: Not really in the search PATH,
12822 # but as the default location of the library.
12823 hardcode_minus_L=yes
12828 if test yes,no = "$GCC,$with_gnu_ld"; then
12831 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12834 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12837 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12843 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12846 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12850 # Older versions of the 11.00 compiler do not understand -b yet
12851 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12853 $as_echo_n "checking if $CC understands -b... " >&6; }
12854 if ${lt_cv_prog_compiler__b+:} false; then :
12855 $as_echo_n "(cached) " >&6
12857 lt_cv_prog_compiler__b=no
12858 save_LDFLAGS=$LDFLAGS
12859 LDFLAGS="$LDFLAGS -b"
12860 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12861 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12862 # The linker can only warn and ignore the option if not recognized
12863 # So say no if there are warnings
12864 if test -s conftest.err; then
12865 # Append any errors to the config.log.
12866 cat conftest.err 1>&5
12867 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12868 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12869 if diff conftest.exp conftest.er2 >/dev/null; then
12870 lt_cv_prog_compiler__b=yes
12873 lt_cv_prog_compiler__b=yes
12877 LDFLAGS=$save_LDFLAGS
12880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12881 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12883 if test yes = "$lt_cv_prog_compiler__b"; then
12884 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12886 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12892 if test no = "$with_gnu_ld"; then
12893 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12894 hardcode_libdir_separator=:
12899 hardcode_shlibpath_var=no
12902 hardcode_direct=yes
12903 hardcode_direct_absolute=yes
12904 export_dynamic_flag_spec='$wl-E'
12906 # hardcode_minus_L: Not really in the search PATH,
12907 # but as the default location of the library.
12908 hardcode_minus_L=yes
12914 irix5* | irix6* | nonstopux*)
12915 if test yes = "$GCC"; then
12916 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'
12917 # Try to use the -exported_symbol ld option, if it does not
12918 # work, assume that -exports_file does not work either and
12919 # implicitly export all symbols.
12920 # This should be the same for all languages, so no per-tag cache variable.
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12922 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12923 if ${lt_cv_irix_exported_symbol+:} false; then :
12924 $as_echo_n "(cached) " >&6
12926 save_LDFLAGS=$LDFLAGS
12927 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12930 int foo (void) { return 0; }
12932 if ac_fn_c_try_link "$LINENO"; then :
12933 lt_cv_irix_exported_symbol=yes
12935 lt_cv_irix_exported_symbol=no
12937 rm -f core conftest.err conftest.$ac_objext \
12938 conftest$ac_exeext conftest.$ac_ext
12939 LDFLAGS=$save_LDFLAGS
12941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12942 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12943 if test yes = "$lt_cv_irix_exported_symbol"; then
12944 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'
12947 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'
12948 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'
12950 archive_cmds_need_lc='no'
12951 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12952 hardcode_libdir_separator=:
12954 link_all_deplibs=yes
12958 case $cc_basename in
12960 # Fabrice Bellard et al's Tiny C Compiler
12962 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12968 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12969 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12971 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12973 hardcode_libdir_flag_spec='-R$libdir'
12974 hardcode_direct=yes
12975 hardcode_shlibpath_var=no
12979 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12980 hardcode_direct=yes
12981 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12982 hardcode_libdir_separator=:
12983 hardcode_shlibpath_var=no
12989 openbsd* | bitrig*)
12990 if test -f /usr/libexec/ld.so; then
12991 hardcode_direct=yes
12992 hardcode_shlibpath_var=no
12993 hardcode_direct_absolute=yes
12994 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12995 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12996 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
12997 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12998 export_dynamic_flag_spec='$wl-E'
13000 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13001 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13009 hardcode_libdir_flag_spec='-L$libdir'
13010 hardcode_minus_L=yes
13011 allow_undefined_flag=unsupported
13013 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13014 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13015 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13016 $ECHO EXPORTS >> $output_objdir/$libname.def~
13017 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13018 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13019 emximp -o $lib $output_objdir/$libname.def'
13020 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13021 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13022 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13023 $ECHO EXPORTS >> $output_objdir/$libname.def~
13024 prefix_cmds="$SED"~
13025 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13026 prefix_cmds="$prefix_cmds -e 1d";
13028 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13029 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13030 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13031 emximp -o $lib $output_objdir/$libname.def'
13032 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13033 enable_shared_with_static_runtimes=yes
13037 if test yes = "$GCC"; then
13038 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13039 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'
13041 allow_undefined_flag=' -expect_unresolved \*'
13042 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'
13044 archive_cmds_need_lc='no'
13045 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13046 hardcode_libdir_separator=:
13049 osf4* | osf5*) # as osf3* with the addition of -msym flag
13050 if test yes = "$GCC"; then
13051 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13052 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'
13053 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13055 allow_undefined_flag=' -expect_unresolved \*'
13056 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'
13057 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~
13058 $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'
13060 # Both c and cxx compiler support -rpath directly
13061 hardcode_libdir_flag_spec='-rpath $libdir'
13063 archive_cmds_need_lc='no'
13064 hardcode_libdir_separator=:
13068 no_undefined_flag=' -z defs'
13069 if test yes = "$GCC"; then
13071 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13072 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13073 $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'
13075 case `$CC -V 2>&1` in
13078 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13079 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13080 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13084 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13085 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13086 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13090 hardcode_libdir_flag_spec='-R$libdir'
13091 hardcode_shlibpath_var=no
13093 solaris2.[0-5] | solaris2.[0-5].*) ;;
13095 # The compiler driver will combine and reorder linker options,
13096 # but understands '-z linker_flag'. GCC discards it without '$wl',
13097 # but is careful enough not to reorder.
13098 # Supported since Solaris 2.6 (maybe 2.5.1?)
13099 if test yes = "$GCC"; then
13100 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13102 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13106 link_all_deplibs=yes
13110 if test sequent = "$host_vendor"; then
13111 # Use $CC to link under sequent, because it throws in some extra .o
13112 # files that make .init and .fini sections work.
13113 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13115 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13117 hardcode_libdir_flag_spec='-L$libdir'
13118 hardcode_direct=yes
13119 hardcode_minus_L=yes
13120 hardcode_shlibpath_var=no
13124 case $host_vendor in
13126 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13127 hardcode_direct=yes # is this really true???
13130 ## LD is ld it makes a PLAMLIB
13131 ## CC just makes a GrossModule.
13132 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13133 reload_cmds='$CC -r -o $output$reload_objs'
13137 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13138 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13141 runpath_var='LD_RUN_PATH'
13142 hardcode_shlibpath_var=no
13146 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13147 hardcode_shlibpath_var=no
13148 export_dynamic_flag_spec='-Bexport'
13152 if test -d /usr/nec; then
13153 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13154 hardcode_shlibpath_var=no
13155 runpath_var=LD_RUN_PATH
13156 hardcode_runpath_var=yes
13161 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13162 no_undefined_flag='$wl-z,text'
13163 archive_cmds_need_lc=no
13164 hardcode_shlibpath_var=no
13165 runpath_var='LD_RUN_PATH'
13167 if test yes = "$GCC"; then
13168 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13169 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13171 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13176 sysv5* | sco3.2v5* | sco5v6*)
13177 # Note: We CANNOT use -z defs as we might desire, because we do not
13178 # link with -lc, and that would cause any symbols used from libc to
13179 # always be unresolved, which means just about no library would
13180 # ever link correctly. If we're not using GNU ld we use -z text
13181 # though, which does catch some bad symbols but isn't as heavy-handed
13183 no_undefined_flag='$wl-z,text'
13184 allow_undefined_flag='$wl-z,nodefs'
13185 archive_cmds_need_lc=no
13186 hardcode_shlibpath_var=no
13187 hardcode_libdir_flag_spec='$wl-R,$libdir'
13188 hardcode_libdir_separator=':'
13189 link_all_deplibs=yes
13190 export_dynamic_flag_spec='$wl-Bexport'
13191 runpath_var='LD_RUN_PATH'
13193 if test yes = "$GCC"; then
13194 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13195 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13197 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13198 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13203 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13204 hardcode_libdir_flag_spec='-L$libdir'
13205 hardcode_shlibpath_var=no
13213 if test sni = "$host_vendor"; then
13215 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13216 export_dynamic_flag_spec='$wl-Blargedynsym'
13222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13223 $as_echo "$ld_shlibs" >&6; }
13224 test no = "$ld_shlibs" && can_build_shared=no
13226 with_gnu_ld=$with_gnu_ld
13243 # Do we need to explicitly link libc?
13245 case "x$archive_cmds_need_lc" in
13247 # Assume -lc should be added
13248 archive_cmds_need_lc=yes
13250 if test yes,yes = "$GCC,$enable_shared"; then
13251 case $archive_cmds in
13253 # FIXME: we may have to deal with multi-command sequences.
13256 # Test whether the compiler implicitly links with -lc since on some
13257 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13258 # to ld, don't add -lc before -lgcc.
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13260 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13261 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13262 $as_echo_n "(cached) " >&6
13265 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13267 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13268 (eval $ac_compile) 2>&5
13270 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13271 test $ac_status = 0; } 2>conftest.err; then
13274 libobjs=conftest.$ac_objext
13276 wl=$lt_prog_compiler_wl
13277 pic_flag=$lt_prog_compiler_pic
13283 lt_save_allow_undefined_flag=$allow_undefined_flag
13284 allow_undefined_flag=
13285 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13286 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13289 test $ac_status = 0; }
13291 lt_cv_archive_cmds_need_lc=no
13293 lt_cv_archive_cmds_need_lc=yes
13295 allow_undefined_flag=$lt_save_allow_undefined_flag
13297 cat conftest.err 1>&5
13302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13303 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13304 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13463 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13465 if test yes = "$GCC"; then
13467 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13468 *) lt_awk_arg='/^libraries:/' ;;
13471 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13472 *) lt_sed_strip_eq='s|=/|/|g' ;;
13474 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13475 case $lt_search_path_spec in
13477 # if the path contains ";" then we assume it to be the separator
13478 # otherwise default to the standard path separator (i.e. ":") - it is
13479 # assumed that no part of a normal pathname contains ";" but that should
13480 # okay in the real world where ";" in dirpaths is itself problematic.
13481 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13484 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13487 # Ok, now we have the path, separated by spaces, we can step through it
13488 # and add multilib dir if necessary...
13489 lt_tmp_lt_search_path_spec=
13490 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13491 # ...but if some path component already ends with the multilib dir we assume
13492 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13493 case "$lt_multi_os_dir; $lt_search_path_spec " in
13494 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13498 for lt_sys_path in $lt_search_path_spec; do
13499 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13500 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13501 elif test -n "$lt_multi_os_dir"; then
13502 test -d "$lt_sys_path" && \
13503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13506 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13507 BEGIN {RS = " "; FS = "/|\n";} {
13510 for (lt_i = NF; lt_i > 0; lt_i--) {
13511 if ($lt_i != "" && $lt_i != ".") {
13512 if ($lt_i == "..") {
13515 if (lt_count == 0) {
13516 lt_foo = "/" $lt_i lt_foo;
13523 if (lt_foo != "") { lt_freq[lt_foo]++; }
13524 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13526 # AWK program above erroneously prepends '/' to C:/dos/paths
13529 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13530 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13532 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13534 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13536 library_names_spec=
13537 libname_spec='lib$name'
13541 postuninstall_cmds=
13545 shlibpath_overrides_runpath=unknown
13547 dynamic_linker="$host_os ld.so"
13548 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13549 need_lib_prefix=unknown
13550 hardcode_into_libs=no
13552 # when you set need_version to no, make sure it does not cause -set_version
13553 # flags to be left without arguments
13554 need_version=unknown
13560 version_type=linux # correct to gnu/linux during the next big refactor
13561 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13562 shlibpath_var=LIBPATH
13564 # AIX 3 has no versioning support, so we append a major version to the name.
13565 soname_spec='$libname$release$shared_ext$major'
13569 version_type=linux # correct to gnu/linux during the next big refactor
13572 hardcode_into_libs=yes
13573 if test ia64 = "$host_cpu"; then
13574 # AIX 5 supports IA64
13575 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13576 shlibpath_var=LD_LIBRARY_PATH
13578 # With GCC up to 2.95.x, collect2 would create an import file
13579 # for dependence libraries. The import file would start with
13580 # the line '#! .'. This would cause the generated library to
13581 # depend on '.', always an invalid library. This was fixed in
13582 # development snapshots of GCC prior to 3.0.
13584 aix4 | aix4.[01] | aix4.[01].*)
13585 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13587 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13590 can_build_shared=no
13594 # Using Import Files as archive members, it is possible to support
13595 # filename-based versioning of shared library archives on AIX. While
13596 # this would work for both with and without runtime linking, it will
13597 # prevent static linking of such archives. So we do filename-based
13598 # shared library versioning with .so extension only, which is used
13599 # when both runtime linking and shared linking is enabled.
13600 # Unfortunately, runtime linking may impact performance, so we do
13601 # not want this to be the default eventually. Also, we use the
13602 # versioned .so libs for executables only if there is the -brtl
13603 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13604 # To allow for filename-based versioning support, we need to create
13605 # libNAME.so.V as an archive file, containing:
13606 # *) an Import File, referring to the versioned filename of the
13607 # archive as well as the shared archive member, telling the
13608 # bitwidth (32 or 64) of that shared object, and providing the
13609 # list of exported symbols of that shared object, eventually
13610 # decorated with the 'weak' keyword
13611 # *) the shared object with the F_LOADONLY flag set, to really avoid
13612 # it being seen by the linker.
13613 # At run time we better use the real file rather than another symlink,
13614 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13616 case $with_aix_soname,$aix_use_runtimelinking in
13617 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13618 # soname into executable. Probably we can add versioning support to
13619 # collect2, so additional links can be useful in future.
13620 aix,yes) # traditional libtool
13621 dynamic_linker='AIX unversionable lib.so'
13622 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13623 # instead of lib<name>.a to let people know that these are not
13624 # typical AIX shared libraries.
13625 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13627 aix,no) # traditional AIX only
13628 dynamic_linker='AIX lib.a(lib.so.V)'
13629 # We preserve .a as extension for shared libraries through AIX4.2
13630 # and later when we are not doing run time linking.
13631 library_names_spec='$libname$release.a $libname.a'
13632 soname_spec='$libname$release$shared_ext$major'
13634 svr4,*) # full svr4 only
13635 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13636 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13637 # We do not specify a path in Import Files, so LIBPATH fires.
13638 shlibpath_overrides_runpath=yes
13640 *,yes) # both, prefer svr4
13641 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13642 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13643 # unpreferred sharedlib libNAME.a needs extra handling
13644 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"'
13645 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"'
13646 # We do not specify a path in Import Files, so LIBPATH fires.
13647 shlibpath_overrides_runpath=yes
13649 *,no) # both, prefer aix
13650 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13651 library_names_spec='$libname$release.a $libname.a'
13652 soname_spec='$libname$release$shared_ext$major'
13653 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13654 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)'
13655 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"'
13658 shlibpath_var=LIBPATH
13665 # Since July 2007 AmigaOS4 officially supports .so libraries.
13666 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13667 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13670 library_names_spec='$libname.ixlibrary $libname.a'
13671 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13672 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'
13678 library_names_spec='$libname$shared_ext'
13679 dynamic_linker="$host_os ld.so"
13680 shlibpath_var=LIBRARY_PATH
13684 version_type=linux # correct to gnu/linux during the next big refactor
13686 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13687 soname_spec='$libname$release$shared_ext$major'
13688 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13689 shlibpath_var=LD_LIBRARY_PATH
13690 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13691 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13692 # the default ld.so.conf also contains /usr/contrib/lib and
13693 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13694 # libtool to hard-code these into programs
13697 cygwin* | mingw* | pw32* | cegcc*)
13698 version_type=windows
13703 case $GCC,$cc_basename in
13706 library_names_spec='$libname.dll.a'
13707 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13708 postinstall_cmds='base_file=`basename \$file`~
13709 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13710 dldir=$destdir/`dirname \$dlpath`~
13711 test -d \$dldir || mkdir -p \$dldir~
13712 $install_prog $dir/$dlname \$dldir/$dlname~
13713 chmod a+x \$dldir/$dlname~
13714 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13715 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13717 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13718 dlpath=$dir/\$dldll~
13720 shlibpath_overrides_runpath=yes
13724 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13725 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13727 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13730 # MinGW DLLs use traditional 'lib' prefix
13731 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13734 # pw32 DLLs use 'pw' prefix rather than 'lib'
13735 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13738 dynamic_linker='Win32 ld.exe'
13743 libname_spec='$name'
13744 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13745 library_names_spec='$libname.dll.lib'
13749 sys_lib_search_path_spec=
13752 for lt_path in $LIB
13755 # Let DOS variable expansion print the short 8.3 style file name.
13756 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13757 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13760 # Convert to MSYS style.
13761 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13764 # Convert to unix form, then to dos form, then back to unix form
13765 # but this time dos style (no spaces!) so that the unix form looks
13766 # like /cygdrive/c/PROGRA~1:/cygdr...
13767 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13768 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13769 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13772 sys_lib_search_path_spec=$LIB
13773 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13774 # It is most probably a Windows format PATH.
13775 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13777 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13779 # FIXME: find the short name or the path components, as spaces are
13780 # common. (e.g. "Program Files" -> "PROGRA~1")
13784 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13785 postinstall_cmds='base_file=`basename \$file`~
13786 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13787 dldir=$destdir/`dirname \$dlpath`~
13788 test -d \$dldir || mkdir -p \$dldir~
13789 $install_prog $dir/$dlname \$dldir/$dlname'
13790 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13791 dlpath=$dir/\$dldll~
13793 shlibpath_overrides_runpath=yes
13794 dynamic_linker='Win32 link.exe'
13798 # Assume MSVC wrapper
13799 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13800 dynamic_linker='Win32 ld.exe'
13803 # FIXME: first we should search . and the directory the executable is in
13807 darwin* | rhapsody*)
13808 dynamic_linker="$host_os dyld"
13809 version_type=darwin
13812 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13813 soname_spec='$libname$release$major$shared_ext'
13814 shlibpath_overrides_runpath=yes
13815 shlibpath_var=DYLD_LIBRARY_PATH
13816 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13818 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13819 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13823 version_type=linux # correct to gnu/linux during the next big refactor
13826 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13827 soname_spec='$libname$release$shared_ext$major'
13828 shlibpath_var=LD_LIBRARY_PATH
13831 freebsd* | dragonfly*)
13832 # DragonFly does not have aout. When/if they implement a new
13833 # versioning mechanism, adjust this.
13834 if test -x /usr/bin/objformat; then
13835 objformat=`/usr/bin/objformat`
13838 freebsd[23].*) objformat=aout ;;
13839 *) objformat=elf ;;
13842 version_type=freebsd-$objformat
13843 case $version_type in
13845 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13846 soname_spec='$libname$release$shared_ext$major'
13851 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13855 shlibpath_var=LD_LIBRARY_PATH
13858 shlibpath_overrides_runpath=yes
13860 freebsd3.[01]* | freebsdelf3.[01]*)
13861 shlibpath_overrides_runpath=yes
13862 hardcode_into_libs=yes
13864 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13865 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13866 shlibpath_overrides_runpath=no
13867 hardcode_into_libs=yes
13869 *) # from 4.6 on, and DragonFly
13870 shlibpath_overrides_runpath=yes
13871 hardcode_into_libs=yes
13877 version_type=linux # correct to gnu/linux during the next big refactor
13880 dynamic_linker="$host_os runtime_loader"
13881 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13882 soname_spec='$libname$release$shared_ext$major'
13883 shlibpath_var=LIBRARY_PATH
13884 shlibpath_overrides_runpath=no
13885 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13886 hardcode_into_libs=yes
13889 hpux9* | hpux10* | hpux11*)
13890 # Give a soname corresponding to the major version so that dld.sl refuses to
13891 # link against other versions.
13898 hardcode_into_libs=yes
13899 dynamic_linker="$host_os dld.so"
13900 shlibpath_var=LD_LIBRARY_PATH
13901 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13902 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13903 soname_spec='$libname$release$shared_ext$major'
13904 if test 32 = "$HPUX_IA64_MODE"; then
13905 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13906 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13908 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13909 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13914 hardcode_into_libs=yes
13915 dynamic_linker="$host_os dld.sl"
13916 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13917 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13918 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13919 soname_spec='$libname$release$shared_ext$major'
13920 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13921 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13925 dynamic_linker="$host_os dld.sl"
13926 shlibpath_var=SHLIB_PATH
13927 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13928 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13929 soname_spec='$libname$release$shared_ext$major'
13932 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13933 postinstall_cmds='chmod 555 $lib'
13934 # or fails outright, so override atomically:
13935 install_override_mode=555
13939 version_type=linux # correct to gnu/linux during the next big refactor
13942 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13943 soname_spec='$libname$release$shared_ext$major'
13944 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13945 shlibpath_var=LD_LIBRARY_PATH
13946 shlibpath_overrides_runpath=no
13947 hardcode_into_libs=yes
13950 irix5* | irix6* | nonstopux*)
13952 nonstopux*) version_type=nonstopux ;;
13954 if test yes = "$lt_cv_prog_gnu_ld"; then
13955 version_type=linux # correct to gnu/linux during the next big refactor
13962 soname_spec='$libname$release$shared_ext$major'
13963 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13965 irix5* | nonstopux*)
13966 libsuff= shlibsuff=
13969 case $LD in # libtool.m4 will add one of these switches to LD
13970 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13971 libsuff= shlibsuff= libmagic=32-bit;;
13972 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13973 libsuff=32 shlibsuff=N32 libmagic=N32;;
13974 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13975 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13976 *) libsuff= shlibsuff= libmagic=never-match;;
13980 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13981 shlibpath_overrides_runpath=no
13982 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13983 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13984 hardcode_into_libs=yes
13987 # No shared lib support for Linux oldld, aout, or coff.
13988 linux*oldld* | linux*aout* | linux*coff*)
13993 version_type=none # Android doesn't support versioned libraries.
13996 library_names_spec='$libname$release$shared_ext'
13997 soname_spec='$libname$release$shared_ext'
13999 shlibpath_var=LD_LIBRARY_PATH
14000 shlibpath_overrides_runpath=yes
14002 # This implies no fast_install, which is unacceptable.
14003 # Some rework will be needed to allow for fast_install
14004 # before this can be enabled.
14005 hardcode_into_libs=yes
14007 dynamic_linker='Android linker'
14008 # Don't embed -rpath directories since the linker doesn't support them.
14009 hardcode_libdir_flag_spec='-L$libdir'
14012 # This must be glibc/ELF.
14013 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14014 version_type=linux # correct to gnu/linux during the next big refactor
14017 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14018 soname_spec='$libname$release$shared_ext$major'
14019 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14020 shlibpath_var=LD_LIBRARY_PATH
14021 shlibpath_overrides_runpath=no
14023 # Some binutils ld are patched to set DT_RUNPATH
14024 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14025 $as_echo_n "(cached) " >&6
14027 lt_cv_shlibpath_overrides_runpath=no
14028 save_LDFLAGS=$LDFLAGS
14029 save_libdir=$libdir
14030 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14031 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14033 /* end confdefs.h. */
14043 if ac_fn_c_try_link "$LINENO"; then :
14044 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14045 lt_cv_shlibpath_overrides_runpath=yes
14048 rm -f core conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14050 LDFLAGS=$save_LDFLAGS
14051 libdir=$save_libdir
14055 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14057 # This implies no fast_install, which is unacceptable.
14058 # Some rework will be needed to allow for fast_install
14059 # before this can be enabled.
14060 hardcode_into_libs=yes
14062 # Ideally, we could use ldconfig to report *all* directores which are
14063 # searched for libraries, however this is still not possible. Aside from not
14064 # being certain /sbin/ldconfig is available, command
14065 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14066 # even though it is searched at run-time. Try to do the best guess by
14067 # appending ld.so.conf contents (and includes) to the search path.
14068 if test -f /etc/ld.so.conf; then
14069 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' ' '`
14070 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14073 # We used to test for /lib/ld.so.1 and disable shared libraries on
14074 # powerpc, because MkLinux only supported shared libraries with the
14075 # GNU dynamic linker. Since this was broken with cross compilers,
14076 # most powerpc-linux boxes support dynamic linking these days and
14077 # people can always --disable-shared, the test was removed, and we
14078 # assume the GNU/Linux dynamic linker is in use.
14079 dynamic_linker='GNU/Linux ld.so'
14086 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14087 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14088 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14089 dynamic_linker='NetBSD (a.out) ld.so'
14091 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14092 soname_spec='$libname$release$shared_ext$major'
14093 dynamic_linker='NetBSD ld.elf_so'
14095 shlibpath_var=LD_LIBRARY_PATH
14096 shlibpath_overrides_runpath=yes
14097 hardcode_into_libs=yes
14101 version_type=linux # correct to gnu/linux during the next big refactor
14102 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14103 shlibpath_var=LD_LIBRARY_PATH
14104 shlibpath_overrides_runpath=yes
14111 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14112 soname_spec='$libname$release$shared_ext$major'
14113 shlibpath_var=LD_LIBRARY_PATH
14114 shlibpath_overrides_runpath=no
14115 hardcode_into_libs=yes
14116 dynamic_linker='ldqnx.so'
14119 openbsd* | bitrig*)
14121 sys_lib_dlsearch_path_spec=/usr/lib
14123 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14128 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14129 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14130 shlibpath_var=LD_LIBRARY_PATH
14131 shlibpath_overrides_runpath=yes
14135 libname_spec='$name'
14136 version_type=windows
14140 # OS/2 can only load a DLL with a base name of 8 characters or less.
14141 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14142 v=$($ECHO $release$versuffix | tr -d .-);
14143 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14144 $ECHO $n$v`$shared_ext'
14145 library_names_spec='${libname}_dll.$libext'
14146 dynamic_linker='OS/2 ld.exe'
14147 shlibpath_var=BEGINLIBPATH
14148 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14149 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14150 postinstall_cmds='base_file=`basename \$file`~
14151 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14152 dldir=$destdir/`dirname \$dlpath`~
14153 test -d \$dldir || mkdir -p \$dldir~
14154 $install_prog $dir/$dlname \$dldir/$dlname~
14155 chmod a+x \$dldir/$dlname~
14156 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14157 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14159 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14160 dlpath=$dir/\$dldll~
14164 osf3* | osf4* | osf5*)
14168 soname_spec='$libname$release$shared_ext$major'
14169 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14170 shlibpath_var=LD_LIBRARY_PATH
14171 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14172 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14180 version_type=linux # correct to gnu/linux during the next big refactor
14183 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14184 soname_spec='$libname$release$shared_ext$major'
14185 shlibpath_var=LD_LIBRARY_PATH
14186 shlibpath_overrides_runpath=yes
14187 hardcode_into_libs=yes
14188 # ldd complains unless libraries are executable
14189 postinstall_cmds='chmod +x $lib'
14194 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14195 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14196 shlibpath_var=LD_LIBRARY_PATH
14197 shlibpath_overrides_runpath=yes
14198 if test yes = "$with_gnu_ld"; then
14205 version_type=linux # correct to gnu/linux during the next big refactor
14206 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14207 soname_spec='$libname$release$shared_ext$major'
14208 shlibpath_var=LD_LIBRARY_PATH
14209 case $host_vendor in
14211 shlibpath_overrides_runpath=no
14213 runpath_var=LD_RUN_PATH
14221 shlibpath_overrides_runpath=no
14222 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14228 if test -d /usr/nec; then
14229 version_type=linux # correct to gnu/linux during the next big refactor
14230 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14231 soname_spec='$libname$shared_ext.$major'
14232 shlibpath_var=LD_LIBRARY_PATH
14236 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14240 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14241 soname_spec='$libname$release$shared_ext$major'
14242 shlibpath_var=LD_LIBRARY_PATH
14243 shlibpath_overrides_runpath=yes
14244 hardcode_into_libs=yes
14245 if test yes = "$with_gnu_ld"; then
14246 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14248 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14251 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14255 sys_lib_dlsearch_path_spec='/usr/lib'
14259 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14260 version_type=linux # correct to gnu/linux during the next big refactor
14263 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14264 shlibpath_var=LD_LIBRARY_PATH
14265 shlibpath_overrides_runpath=no
14266 hardcode_into_libs=yes
14270 version_type=linux # correct to gnu/linux during the next big refactor
14271 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14272 soname_spec='$libname$release$shared_ext$major'
14273 shlibpath_var=LD_LIBRARY_PATH
14280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14281 $as_echo "$dynamic_linker" >&6; }
14282 test no = "$dynamic_linker" && can_build_shared=no
14284 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14285 if test yes = "$GCC"; then
14286 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14289 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14290 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14293 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14294 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14297 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14298 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14300 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14301 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14303 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14304 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14403 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14405 if test -n "$hardcode_libdir_flag_spec" ||
14406 test -n "$runpath_var" ||
14407 test yes = "$hardcode_automatic"; then
14409 # We can hardcode non-existent directories.
14410 if test no != "$hardcode_direct" &&
14411 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14412 # have to relink, otherwise we might link with an installed library
14413 # when we should be linking with a yet-to-be-installed one
14414 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14415 test no != "$hardcode_minus_L"; then
14416 # Linking always hardcodes the temporary library directory.
14417 hardcode_action=relink
14419 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14420 hardcode_action=immediate
14423 # We cannot hardcode anything, or else we can only hardcode existing
14425 hardcode_action=unsupported
14427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14428 $as_echo "$hardcode_action" >&6; }
14430 if test relink = "$hardcode_action" ||
14431 test yes = "$inherit_rpath"; then
14432 # Fast installation is not supported
14433 enable_fast_install=no
14434 elif test yes = "$shlibpath_overrides_runpath" ||
14435 test no = "$enable_shared"; then
14436 # Fast installation is not necessary
14437 enable_fast_install=needless
14445 if test yes != "$enable_dlopen"; then
14446 enable_dlopen=unknown
14447 enable_dlopen_self=unknown
14448 enable_dlopen_self_static=unknown
14455 lt_cv_dlopen=load_add_on
14457 lt_cv_dlopen_self=yes
14460 mingw* | pw32* | cegcc*)
14461 lt_cv_dlopen=LoadLibrary
14466 lt_cv_dlopen=dlopen
14471 # if libdl is installed we need to link against it
14472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14473 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14474 if ${ac_cv_lib_dl_dlopen+:} false; then :
14475 $as_echo_n "(cached) " >&6
14477 ac_check_lib_save_LIBS=$LIBS
14479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14480 /* end confdefs.h. */
14482 /* Override any GCC internal prototype to avoid an error.
14483 Use char because int might match the return type of a GCC
14484 builtin and then its argument prototype would still apply. */
14497 if ac_fn_c_try_link "$LINENO"; then :
14498 ac_cv_lib_dl_dlopen=yes
14500 ac_cv_lib_dl_dlopen=no
14502 rm -f core conftest.err conftest.$ac_objext \
14503 conftest$ac_exeext conftest.$ac_ext
14504 LIBS=$ac_check_lib_save_LIBS
14506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14507 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14508 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14509 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14514 lt_cv_dlopen_self=yes
14521 # Don't try to run any link tests for TPF. We know it's impossible
14522 # because TPF is a cross-compiler, and we know how we open DSOs.
14523 lt_cv_dlopen=dlopen
14525 lt_cv_dlopen_self=no
14529 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14530 if test "x$ac_cv_func_shl_load" = xyes; then :
14531 lt_cv_dlopen=shl_load
14533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14534 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14535 if ${ac_cv_lib_dld_shl_load+:} false; then :
14536 $as_echo_n "(cached) " >&6
14538 ac_check_lib_save_LIBS=$LIBS
14540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14541 /* end confdefs.h. */
14543 /* Override any GCC internal prototype to avoid an error.
14544 Use char because int might match the return type of a GCC
14545 builtin and then its argument prototype would still apply. */
14553 return shl_load ();
14558 if ac_fn_c_try_link "$LINENO"; then :
14559 ac_cv_lib_dld_shl_load=yes
14561 ac_cv_lib_dld_shl_load=no
14563 rm -f core conftest.err conftest.$ac_objext \
14564 conftest$ac_exeext conftest.$ac_ext
14565 LIBS=$ac_check_lib_save_LIBS
14567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14568 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14569 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14570 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14572 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14573 if test "x$ac_cv_func_dlopen" = xyes; then :
14574 lt_cv_dlopen=dlopen
14576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14577 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14578 if ${ac_cv_lib_dl_dlopen+:} false; then :
14579 $as_echo_n "(cached) " >&6
14581 ac_check_lib_save_LIBS=$LIBS
14583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14584 /* end confdefs.h. */
14586 /* Override any GCC internal prototype to avoid an error.
14587 Use char because int might match the return type of a GCC
14588 builtin and then its argument prototype would still apply. */
14601 if ac_fn_c_try_link "$LINENO"; then :
14602 ac_cv_lib_dl_dlopen=yes
14604 ac_cv_lib_dl_dlopen=no
14606 rm -f core conftest.err conftest.$ac_objext \
14607 conftest$ac_exeext conftest.$ac_ext
14608 LIBS=$ac_check_lib_save_LIBS
14610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14611 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14612 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14613 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14616 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14617 if ${ac_cv_lib_svld_dlopen+:} false; then :
14618 $as_echo_n "(cached) " >&6
14620 ac_check_lib_save_LIBS=$LIBS
14621 LIBS="-lsvld $LIBS"
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14625 /* Override any GCC internal prototype to avoid an error.
14626 Use char because int might match the return type of a GCC
14627 builtin and then its argument prototype would still apply. */
14640 if ac_fn_c_try_link "$LINENO"; then :
14641 ac_cv_lib_svld_dlopen=yes
14643 ac_cv_lib_svld_dlopen=no
14645 rm -f core conftest.err conftest.$ac_objext \
14646 conftest$ac_exeext conftest.$ac_ext
14647 LIBS=$ac_check_lib_save_LIBS
14649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14650 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14651 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14652 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14655 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14656 if ${ac_cv_lib_dld_dld_link+:} false; then :
14657 $as_echo_n "(cached) " >&6
14659 ac_check_lib_save_LIBS=$LIBS
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14664 /* Override any GCC internal prototype to avoid an error.
14665 Use char because int might match the return type of a GCC
14666 builtin and then its argument prototype would still apply. */
14674 return dld_link ();
14679 if ac_fn_c_try_link "$LINENO"; then :
14680 ac_cv_lib_dld_dld_link=yes
14682 ac_cv_lib_dld_dld_link=no
14684 rm -f core conftest.err conftest.$ac_objext \
14685 conftest$ac_exeext conftest.$ac_ext
14686 LIBS=$ac_check_lib_save_LIBS
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14689 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14690 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14691 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14712 if test no = "$lt_cv_dlopen"; then
14718 case $lt_cv_dlopen in
14720 save_CPPFLAGS=$CPPFLAGS
14721 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14723 save_LDFLAGS=$LDFLAGS
14724 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14727 LIBS="$lt_cv_dlopen_libs $LIBS"
14729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14730 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14731 if ${lt_cv_dlopen_self+:} false; then :
14732 $as_echo_n "(cached) " >&6
14734 if test yes = "$cross_compiling"; then :
14735 lt_cv_dlopen_self=cross
14737 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14738 lt_status=$lt_dlunknown
14739 cat > conftest.$ac_ext <<_LT_EOF
14740 #line $LINENO "configure"
14741 #include "confdefs.h"
14750 # define LT_DLGLOBAL RTLD_GLOBAL
14753 # define LT_DLGLOBAL DL_GLOBAL
14755 # define LT_DLGLOBAL 0
14759 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14760 find out it does not work in some platform. */
14761 #ifndef LT_DLLAZY_OR_NOW
14763 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14766 # define LT_DLLAZY_OR_NOW DL_LAZY
14769 # define LT_DLLAZY_OR_NOW RTLD_NOW
14772 # define LT_DLLAZY_OR_NOW DL_NOW
14774 # define LT_DLLAZY_OR_NOW 0
14781 /* When -fvisibility=hidden is used, assume the code has been annotated
14782 correspondingly for the symbols needed. */
14783 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14784 int fnord () __attribute__((visibility("default")));
14787 int fnord () { return 42; }
14790 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14791 int status = $lt_dlunknown;
14795 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14798 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14799 else puts (dlerror ());
14801 /* dlclose (self); */
14809 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14810 (eval $ac_link) 2>&5
14812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14813 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14814 (./conftest; exit; ) >&5 2>/dev/null
14816 case x$lt_status in
14817 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14818 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14819 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14822 # compilation failed
14823 lt_cv_dlopen_self=no
14830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14831 $as_echo "$lt_cv_dlopen_self" >&6; }
14833 if test yes = "$lt_cv_dlopen_self"; then
14834 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14836 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14837 if ${lt_cv_dlopen_self_static+:} false; then :
14838 $as_echo_n "(cached) " >&6
14840 if test yes = "$cross_compiling"; then :
14841 lt_cv_dlopen_self_static=cross
14843 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14844 lt_status=$lt_dlunknown
14845 cat > conftest.$ac_ext <<_LT_EOF
14846 #line $LINENO "configure"
14847 #include "confdefs.h"
14856 # define LT_DLGLOBAL RTLD_GLOBAL
14859 # define LT_DLGLOBAL DL_GLOBAL
14861 # define LT_DLGLOBAL 0
14865 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14866 find out it does not work in some platform. */
14867 #ifndef LT_DLLAZY_OR_NOW
14869 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14872 # define LT_DLLAZY_OR_NOW DL_LAZY
14875 # define LT_DLLAZY_OR_NOW RTLD_NOW
14878 # define LT_DLLAZY_OR_NOW DL_NOW
14880 # define LT_DLLAZY_OR_NOW 0
14887 /* When -fvisibility=hidden is used, assume the code has been annotated
14888 correspondingly for the symbols needed. */
14889 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14890 int fnord () __attribute__((visibility("default")));
14893 int fnord () { return 42; }
14896 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14897 int status = $lt_dlunknown;
14901 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14904 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14905 else puts (dlerror ());
14907 /* dlclose (self); */
14915 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14916 (eval $ac_link) 2>&5
14918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14919 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14920 (./conftest; exit; ) >&5 2>/dev/null
14922 case x$lt_status in
14923 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14924 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14925 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14928 # compilation failed
14929 lt_cv_dlopen_self_static=no
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14937 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14940 CPPFLAGS=$save_CPPFLAGS
14941 LDFLAGS=$save_LDFLAGS
14946 case $lt_cv_dlopen_self in
14947 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14948 *) enable_dlopen_self=unknown ;;
14951 case $lt_cv_dlopen_self_static in
14952 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14953 *) enable_dlopen_self_static=unknown ;;
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14976 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14977 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14978 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14979 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14981 $as_echo "yes" >&6; }
14983 # FIXME - insert some real tests, host_os isn't really good enough
14986 if test -n "$STRIP"; then
14987 striplib="$STRIP -x"
14988 old_striplib="$STRIP -S"
14989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14990 $as_echo "yes" >&6; }
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14993 $as_echo "no" >&6; }
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14998 $as_echo "no" >&6; }
15014 # Report what library types will actually be built
15015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15016 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15018 $as_echo "$can_build_shared" >&6; }
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15021 $as_echo_n "checking whether to build shared libraries... " >&6; }
15022 test no = "$can_build_shared" && enable_shared=no
15024 # On AIX, shared libraries and static libraries use the same namespace, and
15025 # are all built from PIC.
15028 test yes = "$enable_shared" && enable_static=no
15029 if test -n "$RANLIB"; then
15030 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15031 postinstall_cmds='$RANLIB $lib'
15036 if test ia64 != "$host_cpu"; then
15037 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15038 yes,aix,yes) ;; # shared object as lib.so file only
15039 yes,svr4,*) ;; # shared object as lib.so archive member only
15040 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15046 $as_echo "$enable_shared" >&6; }
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15049 $as_echo_n "checking whether to build static libraries... " >&6; }
15050 # Make sure either enable_shared or enable_static is yes.
15051 test yes = "$enable_shared" || enable_static=yes
15052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15053 $as_echo "$enable_static" >&6; }
15060 ac_cpp='$CPP $CPPFLAGS'
15061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15067 if test -n "$CXX" && ( test no != "$CXX" &&
15068 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
15069 (test g++ != "$CXX"))); then
15071 ac_cpp='$CXXCPP $CPPFLAGS'
15072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15076 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15077 if test -z "$CXXCPP"; then
15078 if ${ac_cv_prog_CXXCPP+:} false; then :
15079 $as_echo_n "(cached) " >&6
15081 # Double quotes because CXXCPP needs to be expanded
15082 for CXXCPP in "$CXX -E" "/lib/cpp"
15084 ac_preproc_ok=false
15085 for ac_cxx_preproc_warn_flag in '' yes
15087 # Use a header file that comes with gcc, so configuring glibc
15088 # with a fresh cross-compiler works.
15089 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15090 # <limits.h> exists even on freestanding compilers.
15091 # On the NeXT, cc -E runs the code through the compiler's parser,
15092 # not just through cpp. "Syntax error" is here to catch this case.
15093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15094 /* end confdefs.h. */
15096 # include <limits.h>
15098 # include <assert.h>
15102 if ac_fn_cxx_try_cpp "$LINENO"; then :
15105 # Broken: fails on valid input.
15108 rm -f conftest.err conftest.i conftest.$ac_ext
15110 # OK, works on sane cases. Now check whether nonexistent headers
15111 # can be detected and how.
15112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15113 /* end confdefs.h. */
15114 #include <ac_nonexistent.h>
15116 if ac_fn_cxx_try_cpp "$LINENO"; then :
15117 # Broken: success on invalid input.
15120 # Passes both tests.
15124 rm -f conftest.err conftest.i conftest.$ac_ext
15127 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15128 rm -f conftest.i conftest.err conftest.$ac_ext
15129 if $ac_preproc_ok; then :
15134 ac_cv_prog_CXXCPP=$CXXCPP
15137 CXXCPP=$ac_cv_prog_CXXCPP
15139 ac_cv_prog_CXXCPP=$CXXCPP
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15142 $as_echo "$CXXCPP" >&6; }
15143 ac_preproc_ok=false
15144 for ac_cxx_preproc_warn_flag in '' yes
15146 # Use a header file that comes with gcc, so configuring glibc
15147 # with a fresh cross-compiler works.
15148 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15149 # <limits.h> exists even on freestanding compilers.
15150 # On the NeXT, cc -E runs the code through the compiler's parser,
15151 # not just through cpp. "Syntax error" is here to catch this case.
15152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15153 /* end confdefs.h. */
15155 # include <limits.h>
15157 # include <assert.h>
15161 if ac_fn_cxx_try_cpp "$LINENO"; then :
15164 # Broken: fails on valid input.
15167 rm -f conftest.err conftest.i conftest.$ac_ext
15169 # OK, works on sane cases. Now check whether nonexistent headers
15170 # can be detected and how.
15171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15172 /* end confdefs.h. */
15173 #include <ac_nonexistent.h>
15175 if ac_fn_cxx_try_cpp "$LINENO"; then :
15176 # Broken: success on invalid input.
15179 # Passes both tests.
15183 rm -f conftest.err conftest.i conftest.$ac_ext
15186 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15187 rm -f conftest.i conftest.err conftest.$ac_ext
15188 if $ac_preproc_ok; then :
15191 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15192 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15193 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15194 See \`config.log' for more details" "$LINENO" 5; }
15198 ac_cpp='$CPP $CPPFLAGS'
15199 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15200 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15201 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15204 _lt_caught_CXX_error=yes
15208 ac_cpp='$CXXCPP $CPPFLAGS'
15209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15213 archive_cmds_need_lc_CXX=no
15214 allow_undefined_flag_CXX=
15215 always_export_symbols_CXX=no
15216 archive_expsym_cmds_CXX=
15217 compiler_needs_object_CXX=no
15218 export_dynamic_flag_spec_CXX=
15219 hardcode_direct_CXX=no
15220 hardcode_direct_absolute_CXX=no
15221 hardcode_libdir_flag_spec_CXX=
15222 hardcode_libdir_separator_CXX=
15223 hardcode_minus_L_CXX=no
15224 hardcode_shlibpath_var_CXX=unsupported
15225 hardcode_automatic_CXX=no
15226 inherit_rpath_CXX=no
15228 module_expsym_cmds_CXX=
15229 link_all_deplibs_CXX=unknown
15230 old_archive_cmds_CXX=$old_archive_cmds
15231 reload_flag_CXX=$reload_flag
15232 reload_cmds_CXX=$reload_cmds
15233 no_undefined_flag_CXX=
15234 whole_archive_flag_spec_CXX=
15235 enable_shared_with_static_runtimes_CXX=no
15237 # Source file extension for C++ test sources.
15240 # Object file extension for compiled C++ test sources.
15244 # No sense in running all these tests if we already determined that
15245 # the CXX compiler isn't working. Some variables (like enable_shared)
15246 # are currently assumed to apply to all compilers on this platform,
15247 # and will be corrupted by setting them based on a non-working compiler.
15248 if test yes != "$_lt_caught_CXX_error"; then
15249 # Code to be used in simple compile tests
15250 lt_simple_compile_test_code="int some_variable = 0;"
15252 # Code to be used in simple link tests
15253 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15255 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15262 # If no C compiler was specified, use CC.
15265 # If no C compiler flags were specified, use CFLAGS.
15266 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15268 # Allow CC to be a program name with arguments.
15272 # save warnings/boilerplate of simple test code
15273 ac_outfile=conftest.$ac_objext
15274 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15275 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15276 _lt_compiler_boilerplate=`cat conftest.err`
15279 ac_outfile=conftest.$ac_objext
15280 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15281 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15282 _lt_linker_boilerplate=`cat conftest.err`
15286 # Allow CC to be a program name with arguments.
15288 lt_save_CFLAGS=$CFLAGS
15292 lt_save_with_gnu_ld=$with_gnu_ld
15293 lt_save_path_LD=$lt_cv_path_LD
15294 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15295 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15297 $as_unset lt_cv_prog_gnu_ld
15299 if test -n "${lt_cv_path_LDCXX+set}"; then
15300 lt_cv_path_LD=$lt_cv_path_LDCXX
15302 $as_unset lt_cv_path_LD
15304 test -z "${LDCXX+set}" || LD=$LDCXX
15309 func_cc_basename $compiler
15310 cc_basename=$func_cc_basename_result
15313 if test -n "$compiler"; then
15314 # We don't want -fno-exception when compiling C++ code, so set the
15315 # no_builtin_flag separately
15316 if test yes = "$GXX"; then
15317 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15319 lt_prog_compiler_no_builtin_flag_CXX=
15322 if test yes = "$GXX"; then
15323 # Set up default GNU C++ configuration
15327 # Check whether --with-gnu-ld was given.
15328 if test "${with_gnu_ld+set}" = set; then :
15329 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
15335 if test yes = "$GCC"; then
15336 # Check if gcc -print-prog-name=ld gives a path.
15337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15338 $as_echo_n "checking for ld used by $CC... " >&6; }
15341 # gcc leaves a trailing carriage return, which upsets mingw
15342 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15344 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15347 # Accept absolute paths.
15349 re_direlt='/[^/][^/]*/\.\./'
15350 # Canonicalize the pathname of ld
15351 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15352 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15353 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15355 test -z "$LD" && LD=$ac_prog
15358 # If it fails, then pretend we aren't using GCC.
15362 # If it is relative, then search for the first ld in PATH.
15363 with_gnu_ld=unknown
15366 elif test yes = "$with_gnu_ld"; then
15367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15368 $as_echo_n "checking for GNU ld... " >&6; }
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15371 $as_echo_n "checking for non-GNU ld... " >&6; }
15373 if ${lt_cv_path_LD+:} false; then :
15374 $as_echo_n "(cached) " >&6
15376 if test -z "$LD"; then
15377 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15378 for ac_dir in $PATH; do
15380 test -z "$ac_dir" && ac_dir=.
15381 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15382 lt_cv_path_LD=$ac_dir/$ac_prog
15383 # Check to see if the program is GNU ld. I'd rather use --version,
15384 # but apparently some variants of GNU ld only accept -v.
15385 # Break only if it was the GNU/non-GNU ld that we prefer.
15386 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15387 *GNU* | *'with BFD'*)
15388 test no != "$with_gnu_ld" && break
15391 test yes != "$with_gnu_ld" && break
15398 lt_cv_path_LD=$LD # Let the user override the test with a path.
15403 if test -n "$LD"; then
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15405 $as_echo "$LD" >&6; }
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15408 $as_echo "no" >&6; }
15410 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15412 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15413 if ${lt_cv_prog_gnu_ld+:} false; then :
15414 $as_echo_n "(cached) " >&6
15416 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15417 case `$LD -v 2>&1 </dev/null` in
15418 *GNU* | *'with BFD'*)
15419 lt_cv_prog_gnu_ld=yes
15422 lt_cv_prog_gnu_ld=no
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15427 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15428 with_gnu_ld=$lt_cv_prog_gnu_ld
15436 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15437 # archiving commands below assume that GNU ld is being used.
15438 if test yes = "$with_gnu_ld"; then
15439 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15440 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'
15442 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15443 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15445 # If archive_cmds runs LD, not CC, wlarc should be empty
15446 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15447 # investigate it a little bit more. (MM)
15450 # ancient GNU ld didn't support --whole-archive et. al.
15451 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15452 $GREP 'no-whole-archive' > /dev/null; then
15453 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15455 whole_archive_flag_spec_CXX=
15461 # A generic and very simple default shared library creation
15462 # command for GNU C++ for the case where it uses the native
15463 # linker, instead of GNU ld. If possible, this setting should
15464 # overridden to take advantage of the native linker features on
15465 # the platform it is being used on.
15466 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15469 # Commands to make compiler produce verbose output that lists
15470 # what "hidden" libraries, object files and flags are used when
15471 # linking a shared library.
15472 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15480 # PORTME: fill in a description of your system's C++ link characteristics
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15482 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15486 # FIXME: insert proper C++ library support
15490 if test ia64 = "$host_cpu"; then
15491 # On IA64, the linker does run time linking by default, so we don't
15492 # have to do anything special.
15493 aix_use_runtimelinking=no
15494 exp_sym_flag='-Bexport'
15497 aix_use_runtimelinking=no
15499 # Test if we are trying to use run time linking or normal
15500 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15501 # have runtime linking enabled, and use it for executables.
15502 # For shared libraries, we enable/disable runtime linking
15503 # depending on the kind of the shared library created -
15504 # when "with_aix_soname,aix_use_runtimelinking" is:
15505 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15506 # "aix,yes" lib.so shared, rtl:yes, for executables
15507 # lib.a static archive
15508 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15509 # lib.a(lib.so.V) shared, rtl:no, for executables
15510 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15511 # lib.a(lib.so.V) shared, rtl:no
15512 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15513 # lib.a static archive
15514 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15515 for ld_flag in $LDFLAGS; do
15518 aix_use_runtimelinking=yes
15523 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15524 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15525 # so we don't have lib.a shared libs to link our executables.
15526 # We have to force runtime linking in this case.
15527 aix_use_runtimelinking=yes
15528 LDFLAGS="$LDFLAGS -Wl,-brtl"
15533 exp_sym_flag='-bexport'
15534 no_entry_flag='-bnoentry'
15537 # When large executables or shared objects are built, AIX ld can
15538 # have problems creating the table of contents. If linking a library
15539 # or program results in "error TOC overflow" add -mminimal-toc to
15540 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15541 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15543 archive_cmds_CXX=''
15544 hardcode_direct_CXX=yes
15545 hardcode_direct_absolute_CXX=yes
15546 hardcode_libdir_separator_CXX=':'
15547 link_all_deplibs_CXX=yes
15548 file_list_spec_CXX='$wl-f,'
15549 case $with_aix_soname,$aix_use_runtimelinking in
15550 aix,*) ;; # no import file
15551 svr4,* | *,yes) # use import file
15552 # The Import File defines what to hardcode.
15553 hardcode_direct_CXX=no
15554 hardcode_direct_absolute_CXX=no
15558 if test yes = "$GXX"; then
15559 case $host_os in aix4.[012]|aix4.[012].*)
15560 # We only want to do this on AIX 4.2 and lower, the check
15561 # below for broken collect2 doesn't work under 4.3+
15562 collect2name=`$CC -print-prog-name=collect2`
15563 if test -f "$collect2name" &&
15564 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15566 # We have reworked collect2
15569 # We have old collect2
15570 hardcode_direct_CXX=unsupported
15571 # It fails to find uninstalled libraries when the uninstalled
15572 # path is not listed in the libpath. Setting hardcode_minus_L
15573 # to unsupported forces relinking
15574 hardcode_minus_L_CXX=yes
15575 hardcode_libdir_flag_spec_CXX='-L$libdir'
15576 hardcode_libdir_separator_CXX=
15579 shared_flag='-shared'
15580 if test yes = "$aix_use_runtimelinking"; then
15581 shared_flag=$shared_flag' $wl-G'
15583 # Need to ensure runtime linking is disabled for the traditional
15584 # shared library, or the linker may eventually find shared libraries
15585 # /with/ Import File - we do not want to mix them.
15586 shared_flag_aix='-shared'
15587 shared_flag_svr4='-shared $wl-G'
15590 if test ia64 = "$host_cpu"; then
15591 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15592 # chokes on -Wl,-G. The following line is correct:
15595 if test yes = "$aix_use_runtimelinking"; then
15596 shared_flag='$wl-G'
15598 shared_flag='$wl-bM:SRE'
15600 shared_flag_aix='$wl-bM:SRE'
15601 shared_flag_svr4='$wl-G'
15605 export_dynamic_flag_spec_CXX='$wl-bexpall'
15606 # It seems that -bexpall does not export symbols beginning with
15607 # underscore (_), so it is better to generate a list of symbols to
15609 always_export_symbols_CXX=yes
15610 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15611 # Warning - without using the other runtime loading flags (-brtl),
15612 # -berok will link without error, but may produce a broken library.
15613 # The "-G" linker flag allows undefined symbols.
15614 no_undefined_flag_CXX='-bernotok'
15615 # Determine the default libpath from the value encoded in an empty
15617 if test set = "${lt_cv_aix_libpath+set}"; then
15618 aix_libpath=$lt_cv_aix_libpath
15620 if ${lt_cv_aix_libpath__CXX+:} false; then :
15621 $as_echo_n "(cached) " >&6
15623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15624 /* end confdefs.h. */
15634 if ac_fn_cxx_try_link "$LINENO"; then :
15636 lt_aix_libpath_sed='
15637 /Import File Strings/,/^$/ {
15639 s/^0 *\([^ ]*\) *$/\1/
15643 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15644 # Check for a 64-bit object if we didn't find anything.
15645 if test -z "$lt_cv_aix_libpath__CXX"; then
15646 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15649 rm -f core conftest.err conftest.$ac_objext \
15650 conftest$ac_exeext conftest.$ac_ext
15651 if test -z "$lt_cv_aix_libpath__CXX"; then
15652 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15657 aix_libpath=$lt_cv_aix_libpath__CXX
15660 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15662 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
15664 if test ia64 = "$host_cpu"; then
15665 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15666 allow_undefined_flag_CXX="-z nodefs"
15667 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"
15669 # Determine the default libpath from the value encoded in an
15670 # empty executable.
15671 if test set = "${lt_cv_aix_libpath+set}"; then
15672 aix_libpath=$lt_cv_aix_libpath
15674 if ${lt_cv_aix_libpath__CXX+:} false; then :
15675 $as_echo_n "(cached) " >&6
15677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15678 /* end confdefs.h. */
15688 if ac_fn_cxx_try_link "$LINENO"; then :
15690 lt_aix_libpath_sed='
15691 /Import File Strings/,/^$/ {
15693 s/^0 *\([^ ]*\) *$/\1/
15697 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15698 # Check for a 64-bit object if we didn't find anything.
15699 if test -z "$lt_cv_aix_libpath__CXX"; then
15700 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15703 rm -f core conftest.err conftest.$ac_objext \
15704 conftest$ac_exeext conftest.$ac_ext
15705 if test -z "$lt_cv_aix_libpath__CXX"; then
15706 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15711 aix_libpath=$lt_cv_aix_libpath__CXX
15714 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15715 # Warning - without using the other run time loading flags,
15716 # -berok will link without error, but may produce a broken library.
15717 no_undefined_flag_CXX=' $wl-bernotok'
15718 allow_undefined_flag_CXX=' $wl-berok'
15719 if test yes = "$with_gnu_ld"; then
15720 # We only use this code for GNU lds that support --whole-archive.
15721 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15723 # Exported symbols can be pulled into shared objects from archives
15724 whole_archive_flag_spec_CXX='$convenience'
15726 archive_cmds_need_lc_CXX=yes
15727 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15728 # -brtl affects multiple linker settings, -berok does not and is overridden later
15729 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15730 if test svr4 != "$with_aix_soname"; then
15731 # This is similar to how AIX traditionally builds its shared
15732 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15733 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'
15735 if test aix != "$with_aix_soname"; then
15736 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'
15738 # used by -dlpreopen to get the symbols
15739 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15741 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15747 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15748 allow_undefined_flag_CXX=unsupported
15749 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15750 # support --undefined. This deserves some investigation. FIXME
15751 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15758 case $cc_basename in
15760 # FIXME: insert proper C++ library support
15766 cygwin* | mingw* | pw32* | cegcc*)
15767 case $GXX,$cc_basename in
15770 # hardcode_libdir_flag_spec is actually meaningless, as there is
15771 # no search path for DLLs.
15772 hardcode_libdir_flag_spec_CXX=' '
15773 allow_undefined_flag_CXX=unsupported
15774 always_export_symbols_CXX=yes
15775 file_list_spec_CXX='@'
15776 # Tell ltmain to make .lib files, not .a files.
15778 # Tell ltmain to make .dll files, not .so files.
15780 # FIXME: Setting linknames here is a bad hack.
15781 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15782 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15783 cp "$export_symbols" "$output_objdir/$soname.def";
15784 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15786 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15788 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15790 # The linker will not automatically build a static lib if we build a DLL.
15791 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15792 enable_shared_with_static_runtimes_CXX=yes
15794 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15795 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15796 lt_tool_outputfile="@TOOL_OUTPUT@"~
15797 case $lt_outputfile in
15800 lt_outputfile=$lt_outputfile.exe
15801 lt_tool_outputfile=$lt_tool_outputfile.exe
15804 func_to_tool_file "$lt_outputfile"~
15805 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15806 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15807 $RM "$lt_outputfile.manifest";
15812 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15813 # as there is no search path for DLLs.
15814 hardcode_libdir_flag_spec_CXX='-L$libdir'
15815 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15816 allow_undefined_flag_CXX=unsupported
15817 always_export_symbols_CXX=no
15818 enable_shared_with_static_runtimes_CXX=yes
15820 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15821 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'
15822 # If the export-symbols file already is a .def file, use it as
15823 # is; otherwise, prepend EXPORTS...
15824 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15825 cp $export_symbols $output_objdir/$soname.def;
15827 echo EXPORTS > $output_objdir/$soname.def;
15828 cat $export_symbols >> $output_objdir/$soname.def;
15830 $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'
15837 darwin* | rhapsody*)
15840 archive_cmds_need_lc_CXX=no
15841 hardcode_direct_CXX=no
15842 hardcode_automatic_CXX=yes
15843 hardcode_shlibpath_var_CXX=unsupported
15844 if test yes = "$lt_cv_ld_force_load"; then
15845 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\"`'
15848 whole_archive_flag_spec_CXX=''
15850 link_all_deplibs_CXX=yes
15851 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15852 case $cc_basename in
15853 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15854 *) _lt_dar_can_shared=$GCC ;;
15856 if test yes = "$_lt_dar_can_shared"; then
15857 output_verbose_link_cmd=func_echo_all
15858 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"
15859 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15860 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"
15861 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"
15862 if test yes != "$lt_cv_apple_cc_single_mod"; then
15863 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"
15864 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"
15874 hardcode_libdir_flag_spec_CXX='-L$libdir'
15875 hardcode_minus_L_CXX=yes
15876 allow_undefined_flag_CXX=unsupported
15878 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15879 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15880 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15881 $ECHO EXPORTS >> $output_objdir/$libname.def~
15882 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15883 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15884 emximp -o $lib $output_objdir/$libname.def'
15885 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15886 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15887 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15888 $ECHO EXPORTS >> $output_objdir/$libname.def~
15889 prefix_cmds="$SED"~
15890 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15891 prefix_cmds="$prefix_cmds -e 1d";
15893 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15894 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15895 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15896 emximp -o $lib $output_objdir/$libname.def'
15897 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15898 enable_shared_with_static_runtimes_CXX=yes
15902 case $cc_basename in
15904 # FIXME: insert proper C++ library support
15908 # Green Hills C++ Compiler
15909 # FIXME: insert proper C++ library support
15913 # FIXME: insert proper C++ library support
15920 # C++ shared libraries reported to be fairly broken before
15926 archive_cmds_need_lc_CXX=no
15929 freebsd* | dragonfly*)
15930 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15936 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15937 link_all_deplibs_CXX=yes
15941 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15942 hardcode_libdir_separator_CXX=:
15943 export_dynamic_flag_spec_CXX='$wl-E'
15944 hardcode_direct_CXX=yes
15945 hardcode_minus_L_CXX=yes # Not in the search PATH,
15946 # but as the default
15947 # location of the library.
15949 case $cc_basename in
15951 # FIXME: insert proper C++ library support
15955 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'
15956 # Commands to make compiler produce verbose output that lists
15957 # what "hidden" libraries, object files and flags are used when
15958 # linking a shared library.
15960 # There doesn't appear to be a way to prevent this compiler from
15961 # explicitly linking system object files so we need to strip them
15962 # from the output so that they don't get included in the library
15964 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"'
15967 if test yes = "$GXX"; then
15968 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'
15970 # FIXME: insert proper C++ library support
15978 if test no = "$with_gnu_ld"; then
15979 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15980 hardcode_libdir_separator_CXX=:
15986 export_dynamic_flag_spec_CXX='$wl-E'
15992 hardcode_direct_CXX=no
15993 hardcode_shlibpath_var_CXX=no
15996 hardcode_direct_CXX=yes
15997 hardcode_direct_absolute_CXX=yes
15998 hardcode_minus_L_CXX=yes # Not in the search PATH,
15999 # but as the default
16000 # location of the library.
16004 case $cc_basename in
16006 # FIXME: insert proper C++ library support
16012 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16015 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16018 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16021 # Commands to make compiler produce verbose output that lists
16022 # what "hidden" libraries, object files and flags are used when
16023 # linking a shared library.
16025 # There doesn't appear to be a way to prevent this compiler from
16026 # explicitly linking system object files so we need to strip them
16027 # from the output so that they don't get included in the library
16029 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"'
16032 if test yes = "$GXX"; then
16033 if test no = "$with_gnu_ld"; then
16036 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16039 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16042 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'
16047 # FIXME: insert proper C++ library support
16055 hardcode_direct_CXX=no
16056 hardcode_shlibpath_var_CXX=no
16057 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16058 export_dynamic_flag_spec_CXX='$wl-E'
16059 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16060 # Instead, shared libraries are loaded at an image base (0x10000000 by
16061 # default) and relocated if they conflict, which is a slow very memory
16062 # consuming and fragmenting process. To avoid this, we pick a random,
16063 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16064 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16065 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'
16066 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'
16069 case $cc_basename in
16072 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'
16074 # Archives containing C++ object files must be created using
16075 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16076 # necessary to make sure instantiated templates are included
16078 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16081 if test yes = "$GXX"; then
16082 if test no = "$with_gnu_ld"; then
16083 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'
16085 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'
16088 link_all_deplibs_CXX=yes
16091 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16092 hardcode_libdir_separator_CXX=:
16093 inherit_rpath_CXX=yes
16096 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16097 case $cc_basename in
16099 # Kuck and Associates, Inc. (KAI) C++ Compiler
16101 # KCC will only create a shared library if the output file
16102 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16103 # to its proper name (with version) after linking.
16104 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'
16105 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'
16106 # Commands to make compiler produce verbose output that lists
16107 # what "hidden" libraries, object files and flags are used when
16108 # linking a shared library.
16110 # There doesn't appear to be a way to prevent this compiler from
16111 # explicitly linking system object files so we need to strip them
16112 # from the output so that they don't get included in the library
16114 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"'
16116 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16117 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16119 # Archives containing C++ object files must be created using
16120 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16121 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16126 # version 8.0 and above of icpc choke on multiply defined symbols
16127 # if we add $predep_objects and $postdep_objects, however 7.1 and
16128 # earlier do not add the objects themselves.
16129 case `$CC -V 2>&1` in
16131 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16132 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'
16134 *) # Version 8.0 or newer
16137 ia64*) tmp_idyn=' -i_dynamic';;
16139 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16140 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'
16143 archive_cmds_need_lc_CXX=no
16144 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16145 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16146 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16149 # Portland Group C++ compiler
16151 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
16152 prelink_cmds_CXX='tpldir=Template.dir~
16154 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16155 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
16156 old_archive_cmds_CXX='tpldir=Template.dir~
16158 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16159 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
16161 archive_cmds_CXX='tpldir=Template.dir~
16163 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16164 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16165 archive_expsym_cmds_CXX='tpldir=Template.dir~
16167 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16168 $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'
16170 *) # Version 6 and above use weak symbols
16171 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16172 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'
16176 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
16177 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16178 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'
16182 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16183 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'
16185 runpath_var=LD_RUN_PATH
16186 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16187 hardcode_libdir_separator_CXX=:
16189 # Commands to make compiler produce verbose output that lists
16190 # what "hidden" libraries, object files and flags are used when
16191 # linking a shared library.
16193 # There doesn't appear to be a way to prevent this compiler from
16194 # explicitly linking system object files so we need to strip them
16195 # from the output so that they don't get included in the library
16197 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'
16199 xl* | mpixl* | bgxl*)
16200 # IBM XL 8.0 on PPC, with GNU ld
16201 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16202 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16203 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16204 if test yes = "$supports_anon_versioning"; then
16205 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16206 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16207 echo "local: *; };" >> $output_objdir/$libname.ver~
16208 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16212 case `$CC -V 2>&1 | sed 5q` in
16215 no_undefined_flag_CXX=' -zdefs'
16216 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16217 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'
16218 hardcode_libdir_flag_spec_CXX='-R$libdir'
16219 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'
16220 compiler_needs_object_CXX=yes
16222 # Not sure whether something based on
16223 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16225 output_verbose_link_cmd='func_echo_all'
16227 # Archives containing C++ object files must be created using
16228 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16229 # necessary to make sure instantiated templates are included
16231 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16239 # FIXME: insert proper C++ library support
16244 # FIXME: insert proper C++ library support
16249 case $cc_basename in
16251 # FIXME: insert proper C++ library support
16255 # FIXME: insert proper C++ library support
16262 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16263 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16265 hardcode_libdir_flag_spec_CXX='-R$libdir'
16266 hardcode_direct_CXX=yes
16267 hardcode_shlibpath_var_CXX=no
16269 # Workaround some broken pre-1.5 toolchains
16270 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16277 openbsd* | bitrig*)
16278 if test -f /usr/libexec/ld.so; then
16279 hardcode_direct_CXX=yes
16280 hardcode_shlibpath_var_CXX=no
16281 hardcode_direct_absolute_CXX=yes
16282 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16283 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16284 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16285 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16286 export_dynamic_flag_spec_CXX='$wl-E'
16287 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16289 output_verbose_link_cmd=func_echo_all
16295 osf3* | osf4* | osf5*)
16296 case $cc_basename in
16298 # Kuck and Associates, Inc. (KAI) C++ Compiler
16300 # KCC will only create a shared library if the output file
16301 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16302 # to its proper name (with version) after linking.
16303 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'
16305 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16306 hardcode_libdir_separator_CXX=:
16308 # Archives containing C++ object files must be created using
16309 # the KAI C++ compiler.
16311 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16312 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16316 # Rational C++ 2.4.1
16317 # FIXME: insert proper C++ library support
16323 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16324 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'
16325 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16328 allow_undefined_flag_CXX=' -expect_unresolved \*'
16329 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'
16330 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16331 echo "-hidden">> $lib.exp~
16332 $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~
16334 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16338 hardcode_libdir_separator_CXX=:
16340 # Commands to make compiler produce verbose output that lists
16341 # what "hidden" libraries, object files and flags are used when
16342 # linking a shared library.
16344 # There doesn't appear to be a way to prevent this compiler from
16345 # explicitly linking system object files so we need to strip them
16346 # from the output so that they don't get included in the library
16348 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"'
16351 if test yes,no = "$GXX,$with_gnu_ld"; then
16352 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16355 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'
16358 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'
16362 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16363 hardcode_libdir_separator_CXX=:
16365 # Commands to make compiler produce verbose output that lists
16366 # what "hidden" libraries, object files and flags are used when
16367 # linking a shared library.
16368 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16371 # FIXME: insert proper C++ library support
16379 # FIXME: insert proper C++ library support
16384 case $cc_basename in
16387 # FIXME: insert proper C++ library support
16392 # FIXME: insert proper C++ library support
16396 # FIXME: insert proper C++ library support
16403 case $cc_basename in
16405 # Sun C++ 4.2, 5.x and Centerline C++
16406 archive_cmds_need_lc_CXX=yes
16407 no_undefined_flag_CXX=' -zdefs'
16408 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16409 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16410 $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'
16412 hardcode_libdir_flag_spec_CXX='-R$libdir'
16413 hardcode_shlibpath_var_CXX=no
16415 solaris2.[0-5] | solaris2.[0-5].*) ;;
16417 # The compiler driver will combine and reorder linker options,
16418 # but understands '-z linker_flag'.
16419 # Supported since Solaris 2.6 (maybe 2.5.1?)
16420 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16423 link_all_deplibs_CXX=yes
16425 output_verbose_link_cmd='func_echo_all'
16427 # Archives containing C++ object files must be created using
16428 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16429 # necessary to make sure instantiated templates are included
16431 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16434 # Green Hills C++ Compiler
16435 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16437 # The C++ compiler must be used to create the archive.
16438 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16441 # GNU C++ compiler with Solaris linker
16442 if test yes,no = "$GXX,$with_gnu_ld"; then
16443 no_undefined_flag_CXX=' $wl-z ${wl}defs'
16444 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16445 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16446 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16447 $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'
16449 # Commands to make compiler produce verbose output that lists
16450 # what "hidden" libraries, object files and flags are used when
16451 # linking a shared library.
16452 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16454 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16456 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16457 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16458 $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'
16460 # Commands to make compiler produce verbose output that lists
16461 # what "hidden" libraries, object files and flags are used when
16462 # linking a shared library.
16463 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16466 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
16468 solaris2.[0-5] | solaris2.[0-5].*) ;;
16470 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16478 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16479 no_undefined_flag_CXX='$wl-z,text'
16480 archive_cmds_need_lc_CXX=no
16481 hardcode_shlibpath_var_CXX=no
16482 runpath_var='LD_RUN_PATH'
16484 case $cc_basename in
16486 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16487 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16490 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16491 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16496 sysv5* | sco3.2v5* | sco5v6*)
16497 # Note: We CANNOT use -z defs as we might desire, because we do not
16498 # link with -lc, and that would cause any symbols used from libc to
16499 # always be unresolved, which means just about no library would
16500 # ever link correctly. If we're not using GNU ld we use -z text
16501 # though, which does catch some bad symbols but isn't as heavy-handed
16503 no_undefined_flag_CXX='$wl-z,text'
16504 allow_undefined_flag_CXX='$wl-z,nodefs'
16505 archive_cmds_need_lc_CXX=no
16506 hardcode_shlibpath_var_CXX=no
16507 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16508 hardcode_libdir_separator_CXX=':'
16509 link_all_deplibs_CXX=yes
16510 export_dynamic_flag_spec_CXX='$wl-Bexport'
16511 runpath_var='LD_RUN_PATH'
16513 case $cc_basename in
16515 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16516 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16517 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16518 '"$old_archive_cmds_CXX"
16519 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16520 '"$reload_cmds_CXX"
16523 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16524 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16530 case $cc_basename in
16532 # NonStop-UX NCC 3.20
16533 # FIXME: insert proper C++ library support
16537 # FIXME: insert proper C++ library support
16544 # FIXME: insert proper C++ library support
16549 # FIXME: insert proper C++ library support
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16555 $as_echo "$ld_shlibs_CXX" >&6; }
16556 test no = "$ld_shlibs_CXX" && can_build_shared=no
16562 ## There is no encapsulation within the following macros, do not change
16563 ## the running order or otherwise move them around unless you know exactly
16564 ## what you are doing...
16565 # Dependencies to place before and after the object being linked:
16566 predep_objects_CXX=
16567 postdep_objects_CXX=
16570 compiler_lib_search_path_CXX=
16572 cat > conftest.$ac_ext <<_LT_EOF
16576 Foo (void) { a = 0; }
16583 _lt_libdeps_save_CFLAGS=$CFLAGS
16584 case "$CC $CFLAGS " in #(
16585 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16586 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16587 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16590 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16591 (eval $ac_compile) 2>&5
16593 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16594 test $ac_status = 0; }; then
16595 # Parse the compiler output and extract the necessary
16596 # objects, libraries and library flags.
16598 # Sentinel used to keep track of whether or not we are before
16599 # the conftest object file.
16600 pre_test_object_deps_done=no
16602 for p in `eval "$output_verbose_link_cmd"`; do
16606 # Some compilers place space between "-{L,R}" and the path.
16607 # Remove the space.
16608 if test x-L = "$p" ||
16609 test x-R = "$p"; then
16614 # Expand the sysroot to ease extracting the directories later.
16615 if test -z "$prev"; then
16617 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16618 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16619 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16623 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16625 if test no = "$pre_test_object_deps_done"; then
16628 # Internal compiler library paths should come after those
16629 # provided the user. The postdeps already come after the
16630 # user supplied libs so there is no need to process them.
16631 if test -z "$compiler_lib_search_path_CXX"; then
16632 compiler_lib_search_path_CXX=$prev$p
16634 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16637 # The "-l" case would never come before the object being
16638 # linked, so don't bother handling this case.
16641 if test -z "$postdeps_CXX"; then
16642 postdeps_CXX=$prev$p
16644 postdeps_CXX="${postdeps_CXX} $prev$p"
16650 *.lto.$objext) ;; # Ignore GCC LTO objects
16652 # This assumes that the test object file only shows up
16653 # once in the compiler output.
16654 if test "$p" = "conftest.$objext"; then
16655 pre_test_object_deps_done=yes
16659 if test no = "$pre_test_object_deps_done"; then
16660 if test -z "$predep_objects_CXX"; then
16661 predep_objects_CXX=$p
16663 predep_objects_CXX="$predep_objects_CXX $p"
16666 if test -z "$postdep_objects_CXX"; then
16667 postdep_objects_CXX=$p
16669 postdep_objects_CXX="$postdep_objects_CXX $p"
16674 *) ;; # Ignore the rest.
16682 echo "libtool.m4: error: problem compiling CXX test program"
16685 $RM -f confest.$objext
16686 CFLAGS=$_lt_libdeps_save_CFLAGS
16688 # PORTME: override above test on systems where it is broken
16691 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16692 # hack all around it, let's just trust "g++" to DTRT.
16693 predep_objects_CXX=
16694 postdep_objects_CXX=
16700 case " $postdeps_CXX " in
16701 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16703 compiler_lib_search_dirs_CXX=
16704 if test -n "${compiler_lib_search_path_CXX}"; then
16705 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16738 lt_prog_compiler_wl_CXX=
16739 lt_prog_compiler_pic_CXX=
16740 lt_prog_compiler_static_CXX=
16743 # C++ specific cases for pic, static, wl, etc.
16744 if test yes = "$GXX"; then
16745 lt_prog_compiler_wl_CXX='-Wl,'
16746 lt_prog_compiler_static_CXX='-static'
16750 # All AIX code is PIC.
16751 if test ia64 = "$host_cpu"; then
16752 # AIX 5 now supports IA64 processor
16753 lt_prog_compiler_static_CXX='-Bstatic'
16755 lt_prog_compiler_pic_CXX='-fPIC'
16761 # see comment about AmigaOS4 .so support
16762 lt_prog_compiler_pic_CXX='-fPIC'
16765 # FIXME: we need at least 68020 code to build shared libraries, but
16766 # adding the '-m68020' flag to GCC prevents building anything better,
16768 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16773 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16774 # PIC is the default for these OSes.
16776 mingw* | cygwin* | os2* | pw32* | cegcc*)
16777 # This hack is so that the source file can tell whether it is being
16778 # built for inclusion in a dll (and should export symbols for example).
16779 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16780 # (--disable-auto-import) libraries
16781 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16784 lt_prog_compiler_static_CXX='$wl-static'
16788 darwin* | rhapsody*)
16789 # PIC is the default on this platform
16790 # Common symbols not allowed in MH_DYLIB files
16791 lt_prog_compiler_pic_CXX='-fno-common'
16794 # DJGPP does not support shared libraries at all
16795 lt_prog_compiler_pic_CXX=
16798 # PIC is the default for Haiku.
16799 # The "-static" flag exists, but is broken.
16800 lt_prog_compiler_static_CXX=
16803 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16804 # Instead, we relocate shared libraries at runtime.
16807 if test -d /usr/nec; then
16808 lt_prog_compiler_pic_CXX=-Kconform_pic
16812 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16813 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16814 # sets the default TLS model and affects inlining.
16819 lt_prog_compiler_pic_CXX='-fPIC'
16824 # QNX uses GNU C++, but need to define -shared option too, otherwise
16825 # it will coredump.
16826 lt_prog_compiler_pic_CXX='-fPIC -shared'
16829 lt_prog_compiler_pic_CXX='-fPIC'
16835 # All AIX code is PIC.
16836 if test ia64 = "$host_cpu"; then
16837 # AIX 5 now supports IA64 processor
16838 lt_prog_compiler_static_CXX='-Bstatic'
16840 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16844 case $cc_basename in
16846 # Green Hills C++ Compiler
16847 # _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"
16851 mingw* | cygwin* | os2* | pw32* | cegcc*)
16852 # This hack is so that the source file can tell whether it is being
16853 # built for inclusion in a dll (and should export symbols for example).
16854 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16857 case $cc_basename in
16859 lt_prog_compiler_pic_CXX='-KPIC'
16862 # Green Hills C++ Compiler
16863 lt_prog_compiler_pic_CXX='-pic'
16869 freebsd* | dragonfly*)
16870 # FreeBSD uses GNU C++
16872 hpux9* | hpux10* | hpux11*)
16873 case $cc_basename in
16875 lt_prog_compiler_wl_CXX='-Wl,'
16876 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16877 if test ia64 != "$host_cpu"; then
16878 lt_prog_compiler_pic_CXX='+Z'
16882 lt_prog_compiler_wl_CXX='-Wl,'
16883 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16889 lt_prog_compiler_pic_CXX='+Z'
16898 # This is c89, which is MS Visual C++ (no shared libs)
16899 # Anyone wants to do a port?
16901 irix5* | irix6* | nonstopux*)
16902 case $cc_basename in
16904 lt_prog_compiler_wl_CXX='-Wl,'
16905 lt_prog_compiler_static_CXX='-non_shared'
16906 # CC pic flag -KPIC is the default.
16912 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16913 case $cc_basename in
16916 lt_prog_compiler_wl_CXX='--backend -Wl,'
16917 lt_prog_compiler_pic_CXX='-fPIC'
16920 # old Intel C++ for x86_64, which still supported -KPIC.
16921 lt_prog_compiler_wl_CXX='-Wl,'
16922 lt_prog_compiler_pic_CXX='-KPIC'
16923 lt_prog_compiler_static_CXX='-static'
16926 # Intel C++, used to be incompatible with GCC.
16927 # ICC 10 doesn't accept -KPIC any more.
16928 lt_prog_compiler_wl_CXX='-Wl,'
16929 lt_prog_compiler_pic_CXX='-fPIC'
16930 lt_prog_compiler_static_CXX='-static'
16933 # Portland Group C++ compiler
16934 lt_prog_compiler_wl_CXX='-Wl,'
16935 lt_prog_compiler_pic_CXX='-fpic'
16936 lt_prog_compiler_static_CXX='-Bstatic'
16940 # Make sure the PIC flag is empty. It appears that all Alpha
16941 # Linux and Compaq Tru64 Unix objects are PIC.
16942 lt_prog_compiler_pic_CXX=
16943 lt_prog_compiler_static_CXX='-non_shared'
16945 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16946 # IBM XL 8.0, 9.0 on PPC and BlueGene
16947 lt_prog_compiler_wl_CXX='-Wl,'
16948 lt_prog_compiler_pic_CXX='-qpic'
16949 lt_prog_compiler_static_CXX='-qstaticlink'
16952 case `$CC -V 2>&1 | sed 5q` in
16955 lt_prog_compiler_pic_CXX='-KPIC'
16956 lt_prog_compiler_static_CXX='-Bstatic'
16957 lt_prog_compiler_wl_CXX='-Qoption ld '
16968 case $cc_basename in
16970 lt_prog_compiler_pic_CXX='-W c,exportall'
16979 # QNX uses GNU C++, but need to define -shared option too, otherwise
16980 # it will coredump.
16981 lt_prog_compiler_pic_CXX='-fPIC -shared'
16983 osf3* | osf4* | osf5*)
16984 case $cc_basename in
16986 lt_prog_compiler_wl_CXX='--backend -Wl,'
16989 # Rational C++ 2.4.1
16990 lt_prog_compiler_pic_CXX='-pic'
16993 # Digital/Compaq C++
16994 lt_prog_compiler_wl_CXX='-Wl,'
16995 # Make sure the PIC flag is empty. It appears that all Alpha
16996 # Linux and Compaq Tru64 Unix objects are PIC.
16997 lt_prog_compiler_pic_CXX=
16998 lt_prog_compiler_static_CXX='-non_shared'
17007 case $cc_basename in
17009 # Sun C++ 4.2, 5.x and Centerline C++
17010 lt_prog_compiler_pic_CXX='-KPIC'
17011 lt_prog_compiler_static_CXX='-Bstatic'
17012 lt_prog_compiler_wl_CXX='-Qoption ld '
17015 # Green Hills C++ Compiler
17016 lt_prog_compiler_pic_CXX='-PIC'
17023 case $cc_basename in
17026 lt_prog_compiler_pic_CXX='-pic'
17027 lt_prog_compiler_static_CXX='-Bstatic'
17031 lt_prog_compiler_pic_CXX='-pic'
17037 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17038 case $cc_basename in
17040 lt_prog_compiler_wl_CXX='-Wl,'
17041 lt_prog_compiler_pic_CXX='-KPIC'
17042 lt_prog_compiler_static_CXX='-Bstatic'
17047 case $cc_basename in
17049 # NonStop-UX NCC 3.20
17050 lt_prog_compiler_pic_CXX='-KPIC'
17059 lt_prog_compiler_can_build_shared_CXX=no
17065 # For platforms that do not support PIC, -DPIC is meaningless:
17067 lt_prog_compiler_pic_CXX=
17070 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17075 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17076 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
17077 $as_echo_n "(cached) " >&6
17079 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
17081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17082 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
17083 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
17086 # Check to make sure the PIC flag actually works.
17088 if test -n "$lt_prog_compiler_pic_CXX"; then
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17090 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17091 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
17092 $as_echo_n "(cached) " >&6
17094 lt_cv_prog_compiler_pic_works_CXX=no
17095 ac_outfile=conftest.$ac_objext
17096 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17097 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17098 # Insert the option either (1) after the last *FLAGS variable, or
17099 # (2) before a word containing "conftest.", or (3) at the end.
17100 # Note that $ac_compile itself does not contain backslashes and begins
17101 # with a dollar sign (not a hyphen), so the echo should work correctly.
17102 # The option is referenced via a variable to avoid confusing sed.
17103 lt_compile=`echo "$ac_compile" | $SED \
17104 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17105 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17106 -e 's:$: $lt_compiler_flag:'`
17107 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17108 (eval "$lt_compile" 2>conftest.err)
17110 cat conftest.err >&5
17111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17112 if (exit $ac_status) && test -s "$ac_outfile"; then
17113 # The compiler can only warn and ignore the option if not recognized
17114 # So say no if there are warnings other than the usual output.
17115 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17116 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17117 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17118 lt_cv_prog_compiler_pic_works_CXX=yes
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17125 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17127 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17128 case $lt_prog_compiler_pic_CXX in
17130 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17133 lt_prog_compiler_pic_CXX=
17134 lt_prog_compiler_can_build_shared_CXX=no
17144 # Check to make sure the static flag actually works.
17146 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17148 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17149 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
17150 $as_echo_n "(cached) " >&6
17152 lt_cv_prog_compiler_static_works_CXX=no
17153 save_LDFLAGS=$LDFLAGS
17154 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17155 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17156 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17157 # The linker can only warn and ignore the option if not recognized
17158 # So say no if there are warnings
17159 if test -s conftest.err; then
17160 # Append any errors to the config.log.
17161 cat conftest.err 1>&5
17162 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17163 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17164 if diff conftest.exp conftest.er2 >/dev/null; then
17165 lt_cv_prog_compiler_static_works_CXX=yes
17168 lt_cv_prog_compiler_static_works_CXX=yes
17172 LDFLAGS=$save_LDFLAGS
17175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17176 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17178 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
17181 lt_prog_compiler_static_CXX=
17187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17188 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17189 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17190 $as_echo_n "(cached) " >&6
17192 lt_cv_prog_compiler_c_o_CXX=no
17193 $RM -r conftest 2>/dev/null
17197 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17199 lt_compiler_flag="-o out/conftest2.$ac_objext"
17200 # Insert the option either (1) after the last *FLAGS variable, or
17201 # (2) before a word containing "conftest.", or (3) at the end.
17202 # Note that $ac_compile itself does not contain backslashes and begins
17203 # with a dollar sign (not a hyphen), so the echo should work correctly.
17204 lt_compile=`echo "$ac_compile" | $SED \
17205 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17206 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17207 -e 's:$: $lt_compiler_flag:'`
17208 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17209 (eval "$lt_compile" 2>out/conftest.err)
17211 cat out/conftest.err >&5
17212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17213 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17215 # The compiler can only warn and ignore the option if not recognized
17216 # So say no if there are warnings
17217 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17218 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17219 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17220 lt_cv_prog_compiler_c_o_CXX=yes
17225 # SGI C++ compiler will create directory out/ii_files/ for
17226 # template instantiation
17227 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17228 $RM out/* && rmdir out
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17235 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17240 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17241 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17242 $as_echo_n "(cached) " >&6
17244 lt_cv_prog_compiler_c_o_CXX=no
17245 $RM -r conftest 2>/dev/null
17249 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17251 lt_compiler_flag="-o out/conftest2.$ac_objext"
17252 # Insert the option either (1) after the last *FLAGS variable, or
17253 # (2) before a word containing "conftest.", or (3) at the end.
17254 # Note that $ac_compile itself does not contain backslashes and begins
17255 # with a dollar sign (not a hyphen), so the echo should work correctly.
17256 lt_compile=`echo "$ac_compile" | $SED \
17257 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17258 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17259 -e 's:$: $lt_compiler_flag:'`
17260 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17261 (eval "$lt_compile" 2>out/conftest.err)
17263 cat out/conftest.err >&5
17264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17265 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17267 # The compiler can only warn and ignore the option if not recognized
17268 # So say no if there are warnings
17269 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17270 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17271 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17272 lt_cv_prog_compiler_c_o_CXX=yes
17277 # SGI C++ compiler will create directory out/ii_files/ for
17278 # template instantiation
17279 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17280 $RM out/* && rmdir out
17286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17287 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17292 hard_links=nottested
17293 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
17294 # do not overwrite the value of need_locks provided by the user
17295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17296 $as_echo_n "checking if we can lock with hard links... " >&6; }
17299 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17301 ln conftest.a conftest.b 2>&5 || hard_links=no
17302 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17304 $as_echo "$hard_links" >&6; }
17305 if test no = "$hard_links"; then
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17307 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17317 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17319 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17320 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17323 # If we're using GNU nm, then we don't want the "-C" option.
17324 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17325 # Without the "-l" option, or with the "-B" option, AIX nm treats
17326 # weak defined symbols like other global defined symbols, whereas
17327 # GNU nm marks them as "W".
17328 # While the 'weak' keyword is ignored in the Export File, we need
17329 # it in the Import File for the 'aix-soname' feature, so we have
17330 # to replace the "-B" option with "-P" for AIX nm.
17331 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17332 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'
17334 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'
17338 export_symbols_cmds_CXX=$ltdll_cmds
17340 cygwin* | mingw* | cegcc*)
17341 case $cc_basename in
17343 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17346 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'
17347 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17352 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17357 $as_echo "$ld_shlibs_CXX" >&6; }
17358 test no = "$ld_shlibs_CXX" && can_build_shared=no
17360 with_gnu_ld_CXX=$with_gnu_ld
17368 # Do we need to explicitly link libc?
17370 case "x$archive_cmds_need_lc_CXX" in
17372 # Assume -lc should be added
17373 archive_cmds_need_lc_CXX=yes
17375 if test yes,yes = "$GCC,$enable_shared"; then
17376 case $archive_cmds_CXX in
17378 # FIXME: we may have to deal with multi-command sequences.
17381 # Test whether the compiler implicitly links with -lc since on some
17382 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17383 # to ld, don't add -lc before -lgcc.
17384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17385 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17386 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17387 $as_echo_n "(cached) " >&6
17390 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17392 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17393 (eval $ac_compile) 2>&5
17395 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17396 test $ac_status = 0; } 2>conftest.err; then
17399 libobjs=conftest.$ac_objext
17401 wl=$lt_prog_compiler_wl_CXX
17402 pic_flag=$lt_prog_compiler_pic_CXX
17408 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17409 allow_undefined_flag_CXX=
17410 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17411 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17413 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17414 test $ac_status = 0; }
17416 lt_cv_archive_cmds_need_lc_CXX=no
17418 lt_cv_archive_cmds_need_lc_CXX=yes
17420 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17422 cat conftest.err 1>&5
17427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17428 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17429 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17498 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17500 library_names_spec=
17501 libname_spec='lib$name'
17505 postuninstall_cmds=
17509 shlibpath_overrides_runpath=unknown
17511 dynamic_linker="$host_os ld.so"
17512 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17513 need_lib_prefix=unknown
17514 hardcode_into_libs=no
17516 # when you set need_version to no, make sure it does not cause -set_version
17517 # flags to be left without arguments
17518 need_version=unknown
17524 version_type=linux # correct to gnu/linux during the next big refactor
17525 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17526 shlibpath_var=LIBPATH
17528 # AIX 3 has no versioning support, so we append a major version to the name.
17529 soname_spec='$libname$release$shared_ext$major'
17533 version_type=linux # correct to gnu/linux during the next big refactor
17536 hardcode_into_libs=yes
17537 if test ia64 = "$host_cpu"; then
17538 # AIX 5 supports IA64
17539 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17540 shlibpath_var=LD_LIBRARY_PATH
17542 # With GCC up to 2.95.x, collect2 would create an import file
17543 # for dependence libraries. The import file would start with
17544 # the line '#! .'. This would cause the generated library to
17545 # depend on '.', always an invalid library. This was fixed in
17546 # development snapshots of GCC prior to 3.0.
17548 aix4 | aix4.[01] | aix4.[01].*)
17549 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17551 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17554 can_build_shared=no
17558 # Using Import Files as archive members, it is possible to support
17559 # filename-based versioning of shared library archives on AIX. While
17560 # this would work for both with and without runtime linking, it will
17561 # prevent static linking of such archives. So we do filename-based
17562 # shared library versioning with .so extension only, which is used
17563 # when both runtime linking and shared linking is enabled.
17564 # Unfortunately, runtime linking may impact performance, so we do
17565 # not want this to be the default eventually. Also, we use the
17566 # versioned .so libs for executables only if there is the -brtl
17567 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17568 # To allow for filename-based versioning support, we need to create
17569 # libNAME.so.V as an archive file, containing:
17570 # *) an Import File, referring to the versioned filename of the
17571 # archive as well as the shared archive member, telling the
17572 # bitwidth (32 or 64) of that shared object, and providing the
17573 # list of exported symbols of that shared object, eventually
17574 # decorated with the 'weak' keyword
17575 # *) the shared object with the F_LOADONLY flag set, to really avoid
17576 # it being seen by the linker.
17577 # At run time we better use the real file rather than another symlink,
17578 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17580 case $with_aix_soname,$aix_use_runtimelinking in
17581 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17582 # soname into executable. Probably we can add versioning support to
17583 # collect2, so additional links can be useful in future.
17584 aix,yes) # traditional libtool
17585 dynamic_linker='AIX unversionable lib.so'
17586 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17587 # instead of lib<name>.a to let people know that these are not
17588 # typical AIX shared libraries.
17589 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17591 aix,no) # traditional AIX only
17592 dynamic_linker='AIX lib.a(lib.so.V)'
17593 # We preserve .a as extension for shared libraries through AIX4.2
17594 # and later when we are not doing run time linking.
17595 library_names_spec='$libname$release.a $libname.a'
17596 soname_spec='$libname$release$shared_ext$major'
17598 svr4,*) # full svr4 only
17599 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17600 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17601 # We do not specify a path in Import Files, so LIBPATH fires.
17602 shlibpath_overrides_runpath=yes
17604 *,yes) # both, prefer svr4
17605 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17606 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17607 # unpreferred sharedlib libNAME.a needs extra handling
17608 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"'
17609 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"'
17610 # We do not specify a path in Import Files, so LIBPATH fires.
17611 shlibpath_overrides_runpath=yes
17613 *,no) # both, prefer aix
17614 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17615 library_names_spec='$libname$release.a $libname.a'
17616 soname_spec='$libname$release$shared_ext$major'
17617 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17618 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)'
17619 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"'
17622 shlibpath_var=LIBPATH
17629 # Since July 2007 AmigaOS4 officially supports .so libraries.
17630 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17631 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17634 library_names_spec='$libname.ixlibrary $libname.a'
17635 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17636 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'
17642 library_names_spec='$libname$shared_ext'
17643 dynamic_linker="$host_os ld.so"
17644 shlibpath_var=LIBRARY_PATH
17648 version_type=linux # correct to gnu/linux during the next big refactor
17650 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17651 soname_spec='$libname$release$shared_ext$major'
17652 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17653 shlibpath_var=LD_LIBRARY_PATH
17654 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17655 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17656 # the default ld.so.conf also contains /usr/contrib/lib and
17657 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17658 # libtool to hard-code these into programs
17661 cygwin* | mingw* | pw32* | cegcc*)
17662 version_type=windows
17667 case $GCC,$cc_basename in
17670 library_names_spec='$libname.dll.a'
17671 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17672 postinstall_cmds='base_file=`basename \$file`~
17673 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17674 dldir=$destdir/`dirname \$dlpath`~
17675 test -d \$dldir || mkdir -p \$dldir~
17676 $install_prog $dir/$dlname \$dldir/$dlname~
17677 chmod a+x \$dldir/$dlname~
17678 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17679 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17681 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17682 dlpath=$dir/\$dldll~
17684 shlibpath_overrides_runpath=yes
17688 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17689 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17693 # MinGW DLLs use traditional 'lib' prefix
17694 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17697 # pw32 DLLs use 'pw' prefix rather than 'lib'
17698 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17701 dynamic_linker='Win32 ld.exe'
17706 libname_spec='$name'
17707 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17708 library_names_spec='$libname.dll.lib'
17712 sys_lib_search_path_spec=
17715 for lt_path in $LIB
17718 # Let DOS variable expansion print the short 8.3 style file name.
17719 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17720 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17723 # Convert to MSYS style.
17724 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17727 # Convert to unix form, then to dos form, then back to unix form
17728 # but this time dos style (no spaces!) so that the unix form looks
17729 # like /cygdrive/c/PROGRA~1:/cygdr...
17730 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17731 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17732 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17735 sys_lib_search_path_spec=$LIB
17736 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17737 # It is most probably a Windows format PATH.
17738 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17740 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17742 # FIXME: find the short name or the path components, as spaces are
17743 # common. (e.g. "Program Files" -> "PROGRA~1")
17747 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17748 postinstall_cmds='base_file=`basename \$file`~
17749 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17750 dldir=$destdir/`dirname \$dlpath`~
17751 test -d \$dldir || mkdir -p \$dldir~
17752 $install_prog $dir/$dlname \$dldir/$dlname'
17753 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17754 dlpath=$dir/\$dldll~
17756 shlibpath_overrides_runpath=yes
17757 dynamic_linker='Win32 link.exe'
17761 # Assume MSVC wrapper
17762 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17763 dynamic_linker='Win32 ld.exe'
17766 # FIXME: first we should search . and the directory the executable is in
17770 darwin* | rhapsody*)
17771 dynamic_linker="$host_os dyld"
17772 version_type=darwin
17775 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17776 soname_spec='$libname$release$major$shared_ext'
17777 shlibpath_overrides_runpath=yes
17778 shlibpath_var=DYLD_LIBRARY_PATH
17779 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17781 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17785 version_type=linux # correct to gnu/linux during the next big refactor
17788 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17789 soname_spec='$libname$release$shared_ext$major'
17790 shlibpath_var=LD_LIBRARY_PATH
17793 freebsd* | dragonfly*)
17794 # DragonFly does not have aout. When/if they implement a new
17795 # versioning mechanism, adjust this.
17796 if test -x /usr/bin/objformat; then
17797 objformat=`/usr/bin/objformat`
17800 freebsd[23].*) objformat=aout ;;
17801 *) objformat=elf ;;
17804 version_type=freebsd-$objformat
17805 case $version_type in
17807 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17808 soname_spec='$libname$release$shared_ext$major'
17813 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17817 shlibpath_var=LD_LIBRARY_PATH
17820 shlibpath_overrides_runpath=yes
17822 freebsd3.[01]* | freebsdelf3.[01]*)
17823 shlibpath_overrides_runpath=yes
17824 hardcode_into_libs=yes
17826 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17827 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17828 shlibpath_overrides_runpath=no
17829 hardcode_into_libs=yes
17831 *) # from 4.6 on, and DragonFly
17832 shlibpath_overrides_runpath=yes
17833 hardcode_into_libs=yes
17839 version_type=linux # correct to gnu/linux during the next big refactor
17842 dynamic_linker="$host_os runtime_loader"
17843 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17844 soname_spec='$libname$release$shared_ext$major'
17845 shlibpath_var=LIBRARY_PATH
17846 shlibpath_overrides_runpath=no
17847 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17848 hardcode_into_libs=yes
17851 hpux9* | hpux10* | hpux11*)
17852 # Give a soname corresponding to the major version so that dld.sl refuses to
17853 # link against other versions.
17860 hardcode_into_libs=yes
17861 dynamic_linker="$host_os dld.so"
17862 shlibpath_var=LD_LIBRARY_PATH
17863 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17864 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17865 soname_spec='$libname$release$shared_ext$major'
17866 if test 32 = "$HPUX_IA64_MODE"; then
17867 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17868 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17870 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17871 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17876 hardcode_into_libs=yes
17877 dynamic_linker="$host_os dld.sl"
17878 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17879 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17880 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17881 soname_spec='$libname$release$shared_ext$major'
17882 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17883 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17887 dynamic_linker="$host_os dld.sl"
17888 shlibpath_var=SHLIB_PATH
17889 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17890 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17891 soname_spec='$libname$release$shared_ext$major'
17894 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17895 postinstall_cmds='chmod 555 $lib'
17896 # or fails outright, so override atomically:
17897 install_override_mode=555
17901 version_type=linux # correct to gnu/linux during the next big refactor
17904 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17905 soname_spec='$libname$release$shared_ext$major'
17906 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17907 shlibpath_var=LD_LIBRARY_PATH
17908 shlibpath_overrides_runpath=no
17909 hardcode_into_libs=yes
17912 irix5* | irix6* | nonstopux*)
17914 nonstopux*) version_type=nonstopux ;;
17916 if test yes = "$lt_cv_prog_gnu_ld"; then
17917 version_type=linux # correct to gnu/linux during the next big refactor
17924 soname_spec='$libname$release$shared_ext$major'
17925 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17927 irix5* | nonstopux*)
17928 libsuff= shlibsuff=
17931 case $LD in # libtool.m4 will add one of these switches to LD
17932 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17933 libsuff= shlibsuff= libmagic=32-bit;;
17934 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17935 libsuff=32 shlibsuff=N32 libmagic=N32;;
17936 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17937 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17938 *) libsuff= shlibsuff= libmagic=never-match;;
17942 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17943 shlibpath_overrides_runpath=no
17944 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17945 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17946 hardcode_into_libs=yes
17949 # No shared lib support for Linux oldld, aout, or coff.
17950 linux*oldld* | linux*aout* | linux*coff*)
17955 version_type=none # Android doesn't support versioned libraries.
17958 library_names_spec='$libname$release$shared_ext'
17959 soname_spec='$libname$release$shared_ext'
17961 shlibpath_var=LD_LIBRARY_PATH
17962 shlibpath_overrides_runpath=yes
17964 # This implies no fast_install, which is unacceptable.
17965 # Some rework will be needed to allow for fast_install
17966 # before this can be enabled.
17967 hardcode_into_libs=yes
17969 dynamic_linker='Android linker'
17970 # Don't embed -rpath directories since the linker doesn't support them.
17971 hardcode_libdir_flag_spec_CXX='-L$libdir'
17974 # This must be glibc/ELF.
17975 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17976 version_type=linux # correct to gnu/linux during the next big refactor
17979 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17980 soname_spec='$libname$release$shared_ext$major'
17981 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17982 shlibpath_var=LD_LIBRARY_PATH
17983 shlibpath_overrides_runpath=no
17985 # Some binutils ld are patched to set DT_RUNPATH
17986 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17987 $as_echo_n "(cached) " >&6
17989 lt_cv_shlibpath_overrides_runpath=no
17990 save_LDFLAGS=$LDFLAGS
17991 save_libdir=$libdir
17992 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17993 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17995 /* end confdefs.h. */
18005 if ac_fn_cxx_try_link "$LINENO"; then :
18006 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18007 lt_cv_shlibpath_overrides_runpath=yes
18010 rm -f core conftest.err conftest.$ac_objext \
18011 conftest$ac_exeext conftest.$ac_ext
18012 LDFLAGS=$save_LDFLAGS
18013 libdir=$save_libdir
18017 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18019 # This implies no fast_install, which is unacceptable.
18020 # Some rework will be needed to allow for fast_install
18021 # before this can be enabled.
18022 hardcode_into_libs=yes
18024 # Ideally, we could use ldconfig to report *all* directores which are
18025 # searched for libraries, however this is still not possible. Aside from not
18026 # being certain /sbin/ldconfig is available, command
18027 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18028 # even though it is searched at run-time. Try to do the best guess by
18029 # appending ld.so.conf contents (and includes) to the search path.
18030 if test -f /etc/ld.so.conf; then
18031 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' ' '`
18032 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18035 # We used to test for /lib/ld.so.1 and disable shared libraries on
18036 # powerpc, because MkLinux only supported shared libraries with the
18037 # GNU dynamic linker. Since this was broken with cross compilers,
18038 # most powerpc-linux boxes support dynamic linking these days and
18039 # people can always --disable-shared, the test was removed, and we
18040 # assume the GNU/Linux dynamic linker is in use.
18041 dynamic_linker='GNU/Linux ld.so'
18048 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18049 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18050 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18051 dynamic_linker='NetBSD (a.out) ld.so'
18053 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18054 soname_spec='$libname$release$shared_ext$major'
18055 dynamic_linker='NetBSD ld.elf_so'
18057 shlibpath_var=LD_LIBRARY_PATH
18058 shlibpath_overrides_runpath=yes
18059 hardcode_into_libs=yes
18063 version_type=linux # correct to gnu/linux during the next big refactor
18064 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18065 shlibpath_var=LD_LIBRARY_PATH
18066 shlibpath_overrides_runpath=yes
18073 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18074 soname_spec='$libname$release$shared_ext$major'
18075 shlibpath_var=LD_LIBRARY_PATH
18076 shlibpath_overrides_runpath=no
18077 hardcode_into_libs=yes
18078 dynamic_linker='ldqnx.so'
18081 openbsd* | bitrig*)
18083 sys_lib_dlsearch_path_spec=/usr/lib
18085 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18090 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18091 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18092 shlibpath_var=LD_LIBRARY_PATH
18093 shlibpath_overrides_runpath=yes
18097 libname_spec='$name'
18098 version_type=windows
18102 # OS/2 can only load a DLL with a base name of 8 characters or less.
18103 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
18104 v=$($ECHO $release$versuffix | tr -d .-);
18105 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18106 $ECHO $n$v`$shared_ext'
18107 library_names_spec='${libname}_dll.$libext'
18108 dynamic_linker='OS/2 ld.exe'
18109 shlibpath_var=BEGINLIBPATH
18110 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18111 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18112 postinstall_cmds='base_file=`basename \$file`~
18113 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18114 dldir=$destdir/`dirname \$dlpath`~
18115 test -d \$dldir || mkdir -p \$dldir~
18116 $install_prog $dir/$dlname \$dldir/$dlname~
18117 chmod a+x \$dldir/$dlname~
18118 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18119 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18121 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18122 dlpath=$dir/\$dldll~
18126 osf3* | osf4* | osf5*)
18130 soname_spec='$libname$release$shared_ext$major'
18131 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18132 shlibpath_var=LD_LIBRARY_PATH
18133 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18134 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18142 version_type=linux # correct to gnu/linux during the next big refactor
18145 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18146 soname_spec='$libname$release$shared_ext$major'
18147 shlibpath_var=LD_LIBRARY_PATH
18148 shlibpath_overrides_runpath=yes
18149 hardcode_into_libs=yes
18150 # ldd complains unless libraries are executable
18151 postinstall_cmds='chmod +x $lib'
18156 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18157 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18158 shlibpath_var=LD_LIBRARY_PATH
18159 shlibpath_overrides_runpath=yes
18160 if test yes = "$with_gnu_ld"; then
18167 version_type=linux # correct to gnu/linux during the next big refactor
18168 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18169 soname_spec='$libname$release$shared_ext$major'
18170 shlibpath_var=LD_LIBRARY_PATH
18171 case $host_vendor in
18173 shlibpath_overrides_runpath=no
18175 runpath_var=LD_RUN_PATH
18183 shlibpath_overrides_runpath=no
18184 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18190 if test -d /usr/nec; then
18191 version_type=linux # correct to gnu/linux during the next big refactor
18192 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
18193 soname_spec='$libname$shared_ext.$major'
18194 shlibpath_var=LD_LIBRARY_PATH
18198 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18202 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
18203 soname_spec='$libname$release$shared_ext$major'
18204 shlibpath_var=LD_LIBRARY_PATH
18205 shlibpath_overrides_runpath=yes
18206 hardcode_into_libs=yes
18207 if test yes = "$with_gnu_ld"; then
18208 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18210 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18213 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18217 sys_lib_dlsearch_path_spec='/usr/lib'
18221 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18222 version_type=linux # correct to gnu/linux during the next big refactor
18225 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18226 shlibpath_var=LD_LIBRARY_PATH
18227 shlibpath_overrides_runpath=no
18228 hardcode_into_libs=yes
18232 version_type=linux # correct to gnu/linux during the next big refactor
18233 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18234 soname_spec='$libname$release$shared_ext$major'
18235 shlibpath_var=LD_LIBRARY_PATH
18242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18243 $as_echo "$dynamic_linker" >&6; }
18244 test no = "$dynamic_linker" && can_build_shared=no
18246 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18247 if test yes = "$GCC"; then
18248 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18251 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18252 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
18255 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18256 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
18259 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18260 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
18262 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18263 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
18265 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18266 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18308 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18309 hardcode_action_CXX=
18310 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18311 test -n "$runpath_var_CXX" ||
18312 test yes = "$hardcode_automatic_CXX"; then
18314 # We can hardcode non-existent directories.
18315 if test no != "$hardcode_direct_CXX" &&
18316 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18317 # have to relink, otherwise we might link with an installed library
18318 # when we should be linking with a yet-to-be-installed one
18319 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18320 test no != "$hardcode_minus_L_CXX"; then
18321 # Linking always hardcodes the temporary library directory.
18322 hardcode_action_CXX=relink
18324 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18325 hardcode_action_CXX=immediate
18328 # We cannot hardcode anything, or else we can only hardcode existing
18330 hardcode_action_CXX=unsupported
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18333 $as_echo "$hardcode_action_CXX" >&6; }
18335 if test relink = "$hardcode_action_CXX" ||
18336 test yes = "$inherit_rpath_CXX"; then
18337 # Fast installation is not supported
18338 enable_fast_install=no
18339 elif test yes = "$shlibpath_overrides_runpath" ||
18340 test no = "$enable_shared"; then
18341 # Fast installation is not necessary
18342 enable_fast_install=needless
18351 fi # test -n "$compiler"
18354 CFLAGS=$lt_save_CFLAGS
18358 with_gnu_ld=$lt_save_with_gnu_ld
18359 lt_cv_path_LDCXX=$lt_cv_path_LD
18360 lt_cv_path_LD=$lt_save_path_LD
18361 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18362 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18363 fi # test yes != "$_lt_caught_CXX_error"
18366 ac_cpp='$CPP $CPPFLAGS'
18367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18385 ac_config_commands="$ac_config_commands libtool"
18390 # Only expand once:
18393 # Check whether --enable-experimental-libtool was given.
18394 if test "${enable_experimental_libtool+set}" = set; then :
18395 enableval=$enable_experimental_libtool; experimental_libtool=$enableval
18397 experimental_libtool=no
18401 if test "$experimental_libtool" = "yes"; then
18402 echo "using APR's libtool"
18403 sh_libtool="`$apr_config --apr-libtool`"
18404 LIBTOOL="$sh_libtool"
18405 SVN_LIBTOOL="$sh_libtool"
18407 sh_libtool="$abs_builddir/libtool"
18408 SVN_LIBTOOL="\$(SHELL) \"$sh_libtool\""
18412 lt_pversion=`$LIBTOOL --version 2>/dev/null|$SED -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
18413 lt_version=`echo $lt_pversion|$SED -e 's/\([a-z]*\)$/.\1/'`
18414 lt_major_version=`echo $lt_version | cut -d'.' -f 1`
18416 svn_enable_static=yes
18417 svn_enable_shared=yes
18419 # Check whether --enable-static was given.
18420 if test "${enable_static+set}" = set; then :
18421 enableval=$enable_static; svn_enable_static="$enableval"
18423 svn_enable_static="yes"
18427 # Check whether --enable-shared was given.
18428 if test "${enable_shared+set}" = set; then :
18429 enableval=$enable_shared; svn_enable_shared="$enableval"
18431 svn_enable_shared="yes"
18435 if test "$svn_enable_static" = "yes" && test "$svn_enable_shared" = "yes" ; then
18436 { $as_echo "$as_me:${as_lineno-$LINENO}: building both shared and static libraries" >&5
18437 $as_echo "$as_me: building both shared and static libraries" >&6;}
18438 elif test "$svn_enable_static" = "yes" ; then
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: building static libraries only" >&5
18440 $as_echo "$as_me: building static libraries only" >&6;}
18441 LT_CFLAGS="-static $LT_CFLAGS"
18442 LT_LDFLAGS="-static $LT_LDFLAGS"
18443 elif test "$svn_enable_shared" = "yes" ; then
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: building shared libraries only" >&5
18445 $as_echo "$as_me: building shared libraries only" >&6;}
18446 if test "$lt_major_version" = "1" ; then
18447 LT_CFLAGS="-prefer-pic $LT_CFLAGS"
18448 elif test "$lt_major_version" = "2" ; then
18449 LT_CFLAGS="-shared $LT_CFLAGS"
18451 LT_LDFLAGS="-shared $LT_LDFLAGS"
18453 as_fn_error $? "cannot disable both shared and static libraries" "$LINENO" 5
18456 # Check whether --enable-all-static was given.
18457 if test "${enable_all_static+set}" = set; then :
18458 enableval=$enable_all_static;
18459 if test "$enableval" = "yes" ; then
18460 LT_LDFLAGS="-all-static $LT_LDFLAGS"
18461 elif test "$enableval" != "no" ; then
18462 as_fn_error $? "--enable-all-static doesn't accept argument" "$LINENO" 5
18471 # Check whether --enable-local-library-preloading was given.
18472 if test "${enable_local_library_preloading+set}" = set; then :
18473 enableval=$enable_local_library_preloading;
18474 if test "$enableval" != "no"; then
18475 if test "$svn_enable_shared" = "yes"; then
18476 TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts"
18478 as_fn_error $? "--enable-local-library-preloading conflicts with --disable-shared" "$LINENO" 5
18481 TRANSFORM_LIBTOOL_SCRIPTS=""
18486 TRANSFORM_LIBTOOL_SCRIPTS=""
18492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool needs -no-undefined" >&5
18493 $as_echo_n "checking whether libtool needs -no-undefined... " >&6; }
18496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18497 $as_echo "yes" >&6; }
18498 LT_NO_UNDEFINED="-no-undefined"
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18502 $as_echo "no" >&6; }
18510 # Check whether --with-trang was given.
18511 if test "${with_trang+set}" = set; then :
18512 withval=$with_trang;
18517 if test "$trang" = "yes"; then
18518 # Extract the first word of "trang", so it can be a program name with args.
18519 set dummy trang; ac_word=$2
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18521 $as_echo_n "checking for $ac_word... " >&6; }
18522 if ${ac_cv_path_TRANG+:} false; then :
18523 $as_echo_n "(cached) " >&6
18527 ac_cv_path_TRANG="$TRANG" # Let the user override the test with a path.
18530 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18531 for as_dir in $PATH
18534 test -z "$as_dir" && as_dir=.
18535 for ac_exec_ext in '' $ac_executable_extensions; do
18536 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18537 ac_cv_path_TRANG="$as_dir/$ac_word$ac_exec_ext"
18538 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18545 test -z "$ac_cv_path_TRANG" && ac_cv_path_TRANG="none"
18549 TRANG=$ac_cv_path_TRANG
18550 if test -n "$TRANG"; then
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRANG" >&5
18552 $as_echo "$TRANG" >&6; }
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18555 $as_echo "no" >&6; }
18566 # Check whether --with-doxygen was given.
18567 if test "${with_doxygen+set}" = set; then :
18568 withval=$with_doxygen;
18573 if test "$doxygen" = "yes"; then
18574 # Extract the first word of "doxygen", so it can be a program name with args.
18575 set dummy doxygen; ac_word=$2
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18577 $as_echo_n "checking for $ac_word... " >&6; }
18578 if ${ac_cv_path_DOXYGEN+:} false; then :
18579 $as_echo_n "(cached) " >&6
18583 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18586 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18587 for as_dir in $PATH
18590 test -z "$as_dir" && as_dir=.
18591 for ac_exec_ext in '' $ac_executable_extensions; do
18592 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18593 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18594 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18601 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="none"
18605 DOXYGEN=$ac_cv_path_DOXYGEN
18606 if test -n "$DOXYGEN"; then
18607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18608 $as_echo "$DOXYGEN" >&6; }
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18611 $as_echo "no" >&6; }
18624 # Check whether --with-expat was given.
18625 if test "${with_expat+set}" = set; then :
18626 withval=$with_expat; svn_lib_expat="$withval"
18628 svn_lib_expat="::expat"
18632 # APR-util accepts "builtin" as an argument to this option so if the user
18633 # passed "builtin" pretend the user didn't specify the --with-expat option
18634 # at all. Expat will (hopefully) be found in apr-util.
18635 test "_$svn_lib_expat" = "_builtin" && svn_lib_expat="::expat"
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat" >&5
18638 $as_echo_n "checking for Expat... " >&6; }
18639 if test -n "`echo "$svn_lib_expat" | $EGREP ":.*:"`"; then
18640 SVN_XML_INCLUDES=""
18641 for i in `echo "$svn_lib_expat" | $SED -e "s/\([^:]*\):.*/\1/"`; do
18642 SVN_XML_INCLUDES="$SVN_XML_INCLUDES -I$i"
18644 SVN_XML_INCLUDES="${SVN_XML_INCLUDES## }"
18645 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\):.*/\1/"`; do
18646 LDFLAGS="$LDFLAGS -L$l"
18648 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18649 SVN_XML_LIBS="$SVN_XML_LIBS -l$l"
18651 SVN_XML_LIBS="${SVN_XML_LIBS## }"
18652 old_CPPFLAGS="$CPPFLAGS"
18654 CPPFLAGS="$CPPFLAGS $SVN_XML_INCLUDES"
18655 LIBS="$LIBS $SVN_XML_LIBS"
18656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18657 /* end confdefs.h. */
18661 {XML_ParserCreate(NULL);}
18663 if ac_fn_c_try_link "$LINENO"; then :
18664 svn_lib_expat="yes"
18668 rm -f core conftest.err conftest.$ac_objext \
18669 conftest$ac_exeext conftest.$ac_ext
18671 if test "$svn_lib_expat" = "yes"; then
18672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18673 $as_echo "yes" >&6; }
18675 SVN_XML_INCLUDES=""
18677 CPPFLAGS="$CPPFLAGS $SVN_APRUTIL_INCLUDES"
18678 if test "$enable_all_static" != "yes"; then
18679 SVN_APRUTIL_LIBS="$SVN_APRUTIL_LIBS `$apu_config --libs`"
18681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18682 /* end confdefs.h. */
18686 {XML_ParserCreate(NULL);}
18688 if ac_fn_c_try_compile "$LINENO"; then :
18689 svn_lib_expat="yes"
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 if test "$svn_lib_expat" = "yes"; then
18695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18696 $as_echo "yes" >&6; }
18697 { $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
18698 $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;}
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18701 $as_echo "no" >&6; }
18702 as_fn_error $? "Expat not found" "$LINENO" 5
18705 CPPFLAGS="$old_CPPFLAGS"
18707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18708 $as_echo "no" >&6; }
18709 if test "$svn_lib_expat" = "yes"; then
18710 as_fn_error $? "--with-expat option requires argument" "$LINENO" 5
18711 elif test "$svn_lib_expat" = "no"; then
18712 as_fn_error $? "Expat is required" "$LINENO" 5
18714 as_fn_error $? "Invalid syntax of argument of --with-expat option" "$LINENO" 5
18721 # Berkeley DB on SCO OpenServer needs -lsocket
18722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
18723 $as_echo_n "checking for socket in -lsocket... " >&6; }
18724 if ${ac_cv_lib_socket_socket+:} false; then :
18725 $as_echo_n "(cached) " >&6
18727 ac_check_lib_save_LIBS=$LIBS
18728 LIBS="-lsocket $LIBS"
18729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18730 /* end confdefs.h. */
18732 /* Override any GCC internal prototype to avoid an error.
18733 Use char because int might match the return type of a GCC
18734 builtin and then its argument prototype would still apply. */
18747 if ac_fn_c_try_link "$LINENO"; then :
18748 ac_cv_lib_socket_socket=yes
18750 ac_cv_lib_socket_socket=no
18752 rm -f core conftest.err conftest.$ac_objext \
18753 conftest$ac_exeext conftest.$ac_ext
18754 LIBS=$ac_check_lib_save_LIBS
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
18757 $as_echo "$ac_cv_lib_socket_socket" >&6; }
18758 if test "x$ac_cv_lib_socket_socket" = xyes; then :
18759 cat >>confdefs.h <<_ACEOF
18760 #define HAVE_LIBSOCKET 1
18763 LIBS="-lsocket $LIBS"
18768 # Build the BDB filesystem library only if we have an appropriate
18769 # version of Berkeley DB.
18771 powerpc-apple-darwin*)
18772 # Berkeley DB 4.0 does not work on OS X.
18773 SVN_FS_WANT_DB_MAJOR=4
18774 SVN_FS_WANT_DB_MINOR=1
18775 SVN_FS_WANT_DB_PATCH=25
18778 SVN_FS_WANT_DB_MAJOR=4
18779 SVN_FS_WANT_DB_MINOR=0
18780 SVN_FS_WANT_DB_PATCH=14
18783 db_alt_version="5.x"
18784 # Look for libdb4.so first:
18786 db_version=$SVN_FS_WANT_DB_MAJOR.$SVN_FS_WANT_DB_MINOR.$SVN_FS_WANT_DB_PATCH
18789 # Check whether --with-berkeley-db was given.
18790 if test "${with_berkeley_db+set}" = set; then :
18791 withval=$with_berkeley_db;
18792 if test "$withval" = "no"; then
18794 elif test "$withval" = "yes"; then
18795 apu_db_version="`$apu_config --db-version`"
18796 if test $? -ne 0; then
18797 as_fn_error $? "Can't determine whether apr-util is linked against a
18798 proper version of Berkeley DB." "$LINENO" 5
18801 if test "$withval" = "yes"; then
18802 if test "$apu_db_version" -lt "4"; then
18803 as_fn_error $? "APR-UTIL was linked against Berkeley DB version $apu_db_version,
18804 while version 4 or higher is required. Reinstall
18805 APR-UTIL with the appropriate options." "$LINENO" 5
18808 bdb_status=required
18810 elif test "$apu_found" != "reconfig"; then
18811 if test "$apu_db_version" -lt 4; then
18812 as_fn_error $? "APR-UTIL was installed independently, it won't be
18813 possible to use the specified Berkeley DB: $withval" "$LINENO" 5
18816 bdb_status=required
18819 if echo "$withval" | $EGREP ":.*:.*:" > /dev/null; then
18820 svn_berkeley_db_header="`echo "$withval" | $SED -e "s/\([^:]*\):.*/\1/"`"
18822 for i in `echo "$withval" | $SED -e "s/.*:\([^:]*\):[^:]*:.*/\1/"`; do
18823 SVN_DB_INCLUDES="$SVN_DB_INCLUDES -I$i"
18825 SVN_DB_INCLUDES="${SVN_DB_INCLUDES## }"
18826 for l in `echo "$withval" | $SED -e "s/.*:[^:]*:\([^:]*\):.*/\1/"`; do
18827 LDFLAGS="$LDFLAGS `
18830 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
18831 for flag in $input_flags; do
18833 for dir in $filtered_dirs; do
18834 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
18839 if test "$filter" = "no"; then
18840 output_flags="$output_flags $flag"
18843 if test -n "$output_flags"; then
18844 printf "%s" "${output_flags# }"
18849 for l in `echo "$withval" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18850 SVN_DB_LIBS="$SVN_DB_LIBS -l$l"
18852 SVN_DB_LIBS="${SVN_DB_LIBS## }"
18854 bdb_status=required
18856 as_fn_error $? "Invalid syntax of argument of --with-berkeley-db option" "$LINENO" 5
18862 # No --with-berkeley-db option:
18864 # Check if APR-UTIL is providing the correct Berkeley DB version
18867 apu_db_version="`$apu_config --db-version`"
18868 if test $? -ne 0; then
18869 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected older version of APR-UTIL, trying to determine
18870 whether apr-util is linked against Berkeley DB
18872 $as_echo "$as_me: WARNING: Detected older version of APR-UTIL, trying to determine
18873 whether apr-util is linked against Berkeley DB
18875 bdb_status=try-link
18876 elif test "$apu_db_version" -lt "4"; then
18879 bdb_status=try-link
18885 if test "$bdb_status" = "skip"; then
18886 svn_lib_berkeley_db=no
18888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Berkeley DB" >&5
18889 $as_echo_n "checking for availability of Berkeley DB... " >&6; }
18890 # Check whether --enable-bdb6 was given.
18891 if test "${enable_bdb6+set}" = set; then :
18892 enableval=$enable_bdb6; enable_bdb6=$enableval
18894 enable_bdb6=unspecified
18899 svn_lib_berkeley_db_try_save_cppflags="$CPPFLAGS"
18900 svn_lib_berkeley_db_try_save_libs="$LIBS"
18902 svn_check_berkeley_db_major=$SVN_FS_WANT_DB_MAJOR
18903 svn_check_berkeley_db_minor=$SVN_FS_WANT_DB_MINOR
18904 svn_check_berkeley_db_patch=$SVN_FS_WANT_DB_PATCH
18905 enable_bdb6=$enable_bdb6
18907 if test -z "$SVN_DB_LIBS"; then
18908 # We pass --dbm-libs here since Debian has modified apu-config not
18909 # to return -ldb unless --dbm-libs is passed. This may also produce
18910 # extra output beyond -ldb but since we're only filtering for -ldb
18911 # it won't matter to us. However, --dbm-libs was added to apu-config
18912 # in 1.3.8 so it's possible the version we have doesn't support it
18913 # so fallback without it if we get an error.
18914 svn_db_libs_prefiltered="`$apu_config --libs --dbm-libs`"
18915 if test $? -ne 0; then
18916 svn_db_libs_prefiltered="`$apu_config --libs`"
18919 # Extract only the -ldb.* flag from the libs supplied by apu-config
18920 # Otherwise we get bit by the fact that expat might not be built yet
18921 # Or that it resides in a non-standard location which we would have
18922 # to compensate with using something like -R`$apu_config --prefix`/lib.
18924 SVN_DB_LIBS="`echo \"$svn_db_libs_prefiltered\" | $SED -e 's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`"
18927 CPPFLAGS="$SVN_DB_INCLUDES $SVN_APRUTIL_INCLUDES $CPPFLAGS"
18928 LIBS="`$apu_config --ldflags` $SVN_DB_LIBS $LIBS"
18930 if test -n "$svn_berkeley_db_header"; then
18931 SVN_DB_HEADER="#include <$svn_berkeley_db_header>"
18932 svn_db_header="#include <$svn_berkeley_db_header>"
18934 SVN_DB_HEADER="#include <apu_want.h>"
18935 svn_db_header="#define APU_WANT_DB
18936 #include <apu_want.h>"
18941 if test "$cross_compiling" = yes; then :
18942 svn_have_berkeley_db=yes
18945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18946 /* end confdefs.h. */
18948 #include <string.h>
18949 #include <stdlib.h>
18954 int major, minor, patch;
18956 db_version (&major, &minor, &patch);
18958 /* Sanity check: ensure that db.h constants actually match the db library */
18959 if (major != DB_VERSION_MAJOR
18960 || minor != DB_VERSION_MINOR
18961 || patch != DB_VERSION_PATCH)
18964 /* Block Berkeley DB 6, because (a) we haven't tested with it, (b) 6.0.20
18965 and newer are under the AGPL, and we want use of AGPL dependencies to be
18967 if (major >= 6 && strcmp("$enable_bdb6", "yes"))
18970 /* Run-time check: ensure the library claims to be the correct version. */
18972 if (major < $svn_check_berkeley_db_major)
18974 if (major > $svn_check_berkeley_db_major)
18977 if (minor < $svn_check_berkeley_db_minor)
18979 if (minor > $svn_check_berkeley_db_minor)
18982 if (patch >= $svn_check_berkeley_db_patch)
18989 if ac_fn_c_try_run "$LINENO"; then :
18990 svn_have_berkeley_db=yes
18993 svn_have_berkeley_db=no
18994 if test $rc = 2; then
18995 svn_have_berkeley_db=no6
18998 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18999 conftest.$ac_objext conftest.beam conftest.$ac_ext
19003 CPPFLAGS="$svn_lib_berkeley_db_try_save_cppflags"
19004 LIBS="$svn_lib_berkeley_db_try_save_libs"
19007 if test "$svn_have_berkeley_db" = "yes"; then
19008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19009 $as_echo "yes" >&6; }
19010 svn_lib_berkeley_db=yes
19012 if test "$svn_have_berkeley_db" = "no6"; then
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found version 6, but --enable-bdb6 not specified)" >&5
19014 $as_echo "no (found version 6, but --enable-bdb6 not specified)" >&6; }
19015 # A warning will be printed at the end of configure.ac.
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19018 $as_echo "no" >&6; }
19020 svn_lib_berkeley_db=no
19021 if test "$bdb_status" = "required"; then
19022 as_fn_error $? "Berkeley DB $db_version or $db_alt_version wasn't found." "$LINENO" 5
19029 cat >>confdefs.h <<_ACEOF
19030 #define SVN_FS_WANT_DB_MAJOR $SVN_FS_WANT_DB_MAJOR
19034 cat >>confdefs.h <<_ACEOF
19035 #define SVN_FS_WANT_DB_MINOR $SVN_FS_WANT_DB_MINOR
19039 cat >>confdefs.h <<_ACEOF
19040 #define SVN_FS_WANT_DB_PATCH $SVN_FS_WANT_DB_PATCH
19049 # Check whether --with-sasl was given.
19050 if test "${with_sasl+set}" = set; then :
19051 withval=$with_sasl;
19052 with_sasl="$withval"
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for SASL" >&5
19064 $as_echo_n "checking whether to look for SASL... " >&6; }
19066 if test "${with_sasl}" = "no"; then
19067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19068 $as_echo "no" >&6; }
19071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19072 $as_echo "yes" >&6; }
19073 saved_LDFLAGS="$LDFLAGS"
19074 saved_CPPFLAGS="$CPPFLAGS"
19076 if test "$with_sasl" = "yes"; then
19077 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking in default locations" >&5
19078 $as_echo "$as_me: Looking in default locations" >&6;}
19079 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
19080 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
19081 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
19082 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
19084 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
19085 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
19086 $as_echo_n "(cached) " >&6
19088 ac_check_lib_save_LIBS=$LIBS
19089 LIBS="-lsasl2 $LIBS"
19090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19091 /* end confdefs.h. */
19093 /* Override any GCC internal prototype to avoid an error.
19094 Use char because int might match the return type of a GCC
19095 builtin and then its argument prototype would still apply. */
19103 return prop_get ();
19108 if ac_fn_c_try_link "$LINENO"; then :
19109 ac_cv_lib_sasl2_prop_get=yes
19111 ac_cv_lib_sasl2_prop_get=no
19113 rm -f core conftest.err conftest.$ac_objext \
19114 conftest$ac_exeext conftest.$ac_ext
19115 LIBS=$ac_check_lib_save_LIBS
19117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
19118 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
19119 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
19135 if test "$svn_lib_sasl" = "no"; then
19136 with_sasl="/usr/local"
19142 if test "$svn_lib_sasl" = "no"; then
19143 SVN_SASL_INCLUDES="-I${with_sasl}/include"
19144 CPPFLAGS="$CPPFLAGS $SVN_SASL_INCLUDES"
19145 LDFLAGS="$LDFLAGS `
19146 input_flags="-L${with_sasl}/lib"
19148 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19149 for flag in $input_flags; do
19151 for dir in $filtered_dirs; do
19152 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
19157 if test "$filter" = "no"; then
19158 output_flags="$output_flags $flag"
19161 if test -n "$output_flags"; then
19162 printf "%s" "${output_flags# }"
19166 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
19167 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
19168 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
19169 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
19170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
19171 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
19172 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
19173 $as_echo_n "(cached) " >&6
19175 ac_check_lib_save_LIBS=$LIBS
19176 LIBS="-lsasl2 $LIBS"
19177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19178 /* end confdefs.h. */
19180 /* Override any GCC internal prototype to avoid an error.
19181 Use char because int might match the return type of a GCC
19182 builtin and then its argument prototype would still apply. */
19190 return prop_get ();
19195 if ac_fn_c_try_link "$LINENO"; then :
19196 ac_cv_lib_sasl2_prop_get=yes
19198 ac_cv_lib_sasl2_prop_get=no
19200 rm -f core conftest.err conftest.$ac_objext \
19201 conftest$ac_exeext conftest.$ac_ext
19202 LIBS=$ac_check_lib_save_LIBS
19204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
19205 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
19206 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
19224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Cyrus SASL v2" >&5
19225 $as_echo_n "checking for availability of Cyrus SASL v2... " >&6; }
19226 if test "$svn_lib_sasl" = "yes"; then
19227 SVN_SASL_LIBS="-lsasl2"
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19229 $as_echo "yes" >&6; }
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19232 $as_echo "no" >&6; }
19234 if test "$required" = "yes"; then
19235 as_fn_error $? "Could not find Cyrus SASL v2" "$LINENO" 5
19238 SVN_SASL_INCLUDES=""
19239 LDFLAGS="$saved_LDFLAGS"
19242 CPPFLAGS="$saved_CPPFLAGS"
19249 if test "$svn_lib_sasl" = "yes"; then
19251 $as_echo "#define SVN_HAVE_SASL 1" >>confdefs.h
19257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mach-O dynamic module iteration functions" >&5
19258 $as_echo_n "checking for Mach-O dynamic module iteration functions... " >&6; }
19259 if test "$cross_compiling" = yes; then :
19260 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19261 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19262 as_fn_error $? "cannot run test program while cross compiling
19263 See \`config.log' for more details" "$LINENO" 5; }
19265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19266 /* end confdefs.h. */
19268 #include <mach-o/dyld.h>
19269 #include <mach-o/loader.h>
19275 const struct mach_header *header = _dyld_get_image_header(0);
19276 const char *name = _dyld_get_image_name(0);
19277 if (name && header) return 0;
19284 if ac_fn_c_try_run "$LINENO"; then :
19287 $as_echo "#define SVN_HAVE_MACHO_ITERATE 1" >>confdefs.h
19289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19290 $as_echo "yes" >&6; }
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19295 $as_echo "no" >&6; }
19298 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19299 conftest.$ac_objext conftest.beam conftest.$ac_ext
19304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS property list utilities" >&5
19305 $as_echo_n "checking for Mac OS property list utilities... " >&6; }
19307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19310 #include <AvailabilityMacros.h>
19311 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
19312 || !defined(MAC_OS_X_VERSION_10_0) \
19313 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_0)
19314 #error ProperyList API unavailable.
19325 if ac_fn_c_try_compile "$LINENO"; then :
19328 LIBS="$LIBS -framework CoreFoundation"
19330 $as_echo "#define SVN_HAVE_MACOS_PLIST 1" >>confdefs.h
19332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19333 $as_echo "yes" >&6; }
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19338 $as_echo "no" >&6; }
19341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19344 # Check whether --enable-keychain was given.
19345 if test "${enable_keychain+set}" = set; then :
19346 enableval=$enable_keychain; enable_keychain=$enableval
19348 enable_keychain=yes
19352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS KeyChain Services" >&5
19353 $as_echo_n "checking for Mac OS KeyChain Services... " >&6; }
19355 if test "$enable_keychain" = "yes"; then
19356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19357 /* end confdefs.h. */
19359 #include <AvailabilityMacros.h>
19360 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
19361 || !defined(MAC_OS_X_VERSION_10_2) \
19362 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2)
19363 #error KeyChain API unavailable.
19374 if ac_fn_c_try_compile "$LINENO"; then :
19376 LIBS="$LIBS -framework Security"
19377 LIBS="$LIBS -framework CoreServices"
19379 $as_echo "#define SVN_HAVE_KEYCHAIN_SERVICES 1" >>confdefs.h
19381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19382 $as_echo "yes" >&6; }
19387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19388 $as_echo "no" >&6; }
19391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether APR has support for DSOs" >&5
19397 $as_echo_n "checking whether APR has support for DSOs... " >&6; }
19398 old_CPPFLAGS="$CPPFLAGS"
19399 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19408 if ac_fn_c_try_cpp "$LINENO"; then :
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19411 $as_echo "yes" >&6; }
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19415 $as_echo "no" >&6; }
19417 rm -f conftest.err conftest.i conftest.$ac_ext
19418 CPPFLAGS="$old_CPPFLAGS"
19422 if test -n "$PKG_CONFIG"; then
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus .pc file" >&5
19424 $as_echo_n "checking for D-Bus .pc file... " >&6; }
19425 if $PKG_CONFIG --exists dbus-1; then
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19427 $as_echo "yes" >&6; }
19428 old_CPPFLAGS="$CPPFLAGS"
19430 DBUS_CPPFLAGS="`$PKG_CONFIG --cflags dbus-1`"
19431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D-Bus version" >&5
19432 $as_echo_n "checking D-Bus version... " >&6; }
19433 DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1`"
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5
19435 $as_echo "$DBUS_VERSION" >&6; }
19436 # D-Bus 0.* requires DBUS_API_SUBJECT_TO_CHANGE
19437 if test -n "`echo "$DBUS_VERSION" | $EGREP '^0\.[[:digit:]]+'`"; then
19438 DBUS_CPPFLAGS="$DBUS_CPPFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
19440 DBUS_LIBS="`$PKG_CONFIG --libs dbus-1`"
19441 CPPFLAGS="$CPPFLAGS $DBUS_CPPFLAGS"
19442 LIBS="$LIBS $DBUS_LIBS"
19443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus" >&5
19444 $as_echo_n "checking for D-Bus... " >&6; }
19445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19446 /* end confdefs.h. */
19448 #include <dbus/dbus.h>
19450 {dbus_bus_get(DBUS_BUS_SESSION, NULL);}
19452 if ac_fn_c_try_link "$LINENO"; then :
19457 rm -f core conftest.err conftest.$ac_objext \
19458 conftest$ac_exeext conftest.$ac_ext
19459 if test "$HAVE_DBUS" = "yes"; then
19460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19461 $as_echo "yes" >&6; }
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19464 $as_echo "no" >&6; }
19466 CPPFLAGS="$old_CPPFLAGS"
19469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19470 $as_echo "no" >&6; }
19476 # Check whether --with-gpg_agent was given.
19477 if test "${with_gpg_agent+set}" = set; then :
19478 withval=$with_gpg_agent;
19483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support GPG-Agent" >&5
19484 $as_echo_n "checking whether to support GPG-Agent... " >&6; }
19485 if test "$with_gpg_agent" = "yes"; then
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19487 $as_echo "yes" >&6; }
19489 $as_echo "#define SVN_HAVE_GPG_AGENT 1" >>confdefs.h
19492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19493 $as_echo "no" >&6; }
19500 # Check whether --with-gnome_keyring was given.
19501 if test "${with_gnome_keyring+set}" = set; then :
19502 withval=$with_gnome_keyring; with_gnome_keyring="$withval"
19504 with_gnome_keyring=auto
19508 found_gnome_keyring=no
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for GNOME Keyring" >&5
19510 $as_echo_n "checking whether to look for GNOME Keyring... " >&6; }
19511 if test "$with_gnome_keyring" != "no"; then
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19513 $as_echo "yes" >&6; }
19516 if test "$with_gnome_keyring" = "yes"; then
19517 as_fn_error $? "--with-gnome-keyring is not supported on Mac OS X." "$LINENO" 5
19519 with_gnome_keyring=no
19523 if test "$svn_enable_shared" = "yes"; then
19524 if test "$APR_HAS_DSO" = "yes"; then
19525 if test -n "$PKG_CONFIG"; then
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLib and GNOME Keyring .pc files" >&5
19527 $as_echo_n "checking for GLib and GNOME Keyring .pc files... " >&6; }
19528 if $PKG_CONFIG --exists glib-2.0 gnome-keyring-1; then
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19530 $as_echo "yes" >&6; }
19531 old_CPPFLAGS="$CPPFLAGS"
19532 SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags glib-2.0 gnome-keyring-1`"
19533 CPPFLAGS="$CPPFLAGS $SVN_GNOME_KEYRING_INCLUDES"
19534 ac_fn_c_check_header_mongrel "$LINENO" "gnome-keyring.h" "ac_cv_header_gnome_keyring_h" "$ac_includes_default"
19535 if test "x$ac_cv_header_gnome_keyring_h" = xyes; then :
19536 found_gnome_keyring=yes
19538 found_gnome_keyring=no
19542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
19543 $as_echo_n "checking for GNOME Keyring... " >&6; }
19544 if test "$found_gnome_keyring" = "yes"; then
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19546 $as_echo "yes" >&6; }
19548 $as_echo "#define SVN_HAVE_GNOME_KEYRING 1" >>confdefs.h
19550 CPPFLAGS="$old_CPPFLAGS"
19551 SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
19553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19554 $as_echo "no" >&6; }
19555 if test "$with_gnome_keyring" = "yes"; then
19556 as_fn_error $? "cannot find GNOME Keyring" "$LINENO" 5
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19561 $as_echo "no" >&6; }
19562 if test "$with_gnome_keyring" = "yes"; then
19563 as_fn_error $? "cannot find GLib and GNOME Keyring .pc files." "$LINENO" 5
19565 with_gnome_keyring=no
19569 if test "$with_gnome_keyring" = "yes"; then
19570 as_fn_error $? "cannot find pkg-config. GNOME Keyring requires this." "$LINENO" 5
19572 with_gnome_keyring=no
19576 if test "$with_gnome_keyring" = "yes"; then
19577 as_fn_error $? "APR does not have support for DSOs. GNOME Keyring requires this." "$LINENO" 5
19579 with_gnome_keyring=no
19583 if test "$with_gnome_keyring" = "yes"; then
19584 as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
19586 with_gnome_keyring=no
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19593 $as_echo "no" >&6; }
19598 # Check whether --enable-gmock was given.
19599 if test "${enable_gmock+set}" = set; then :
19600 enableval=$enable_gmock;
19606 GMOCK_SRCDIR=$abs_srcdir/gmock-fused
19608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use Googlemock" >&5
19609 $as_echo_n "checking whether use Googlemock... " >&6; }
19610 if test "$enable_gmock" != "no"; then
19611 if test -d "$GMOCK_SRCDIR"; then
19612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19613 $as_echo "yes" >&6; }
19616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19617 $as_echo "no" >&6; }
19618 SVN_USE_GMOCK=false
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19622 $as_echo "no" >&6; }
19623 SVN_USE_GMOCK_SOURCES=false
19627 # Check whether --enable-ev2-impl was given.
19628 if test "${enable_ev2_impl+set}" = set; then :
19629 enableval=$enable_ev2_impl; enable_ev2_impl=$enableval
19634 if test "$enable_ev2_impl" = "yes"; then
19636 $as_echo "#define ENABLE_EV2_IMPL 1" >>confdefs.h
19642 # Check whether --enable-nls was given.
19643 if test "${enable_nls+set}" = set; then :
19644 enableval=$enable_nls; enable_nls=$enableval
19652 if test "$enable_nls" = "yes"; then
19653 # Extract the first word of "msgfmt", so it can be a program name with args.
19654 set dummy msgfmt; ac_word=$2
19655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19656 $as_echo_n "checking for $ac_word... " >&6; }
19657 if ${ac_cv_path_MSGFMT+:} false; then :
19658 $as_echo_n "(cached) " >&6
19662 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19665 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19666 for as_dir in $PATH
19669 test -z "$as_dir" && as_dir=.
19670 for ac_exec_ext in '' $ac_executable_extensions; do
19671 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19672 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19673 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19680 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="none"
19684 MSGFMT=$ac_cv_path_MSGFMT
19685 if test -n "$MSGFMT"; then
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19687 $as_echo "$MSGFMT" >&6; }
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19690 $as_echo "no" >&6; }
19694 # Extract the first word of "msgmerge", so it can be a program name with args.
19695 set dummy msgmerge; ac_word=$2
19696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19697 $as_echo_n "checking for $ac_word... " >&6; }
19698 if ${ac_cv_path_MSGMERGE+:} false; then :
19699 $as_echo_n "(cached) " >&6
19703 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19707 for as_dir in $PATH
19710 test -z "$as_dir" && as_dir=.
19711 for ac_exec_ext in '' $ac_executable_extensions; do
19712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19713 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19721 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="none"
19725 MSGMERGE=$ac_cv_path_MSGMERGE
19726 if test -n "$MSGMERGE"; then
19727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19728 $as_echo "$MSGMERGE" >&6; }
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19731 $as_echo "no" >&6; }
19735 # Extract the first word of "xgettext", so it can be a program name with args.
19736 set dummy xgettext; ac_word=$2
19737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19738 $as_echo_n "checking for $ac_word... " >&6; }
19739 if ${ac_cv_path_XGETTEXT+:} false; then :
19740 $as_echo_n "(cached) " >&6
19744 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19747 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19748 for as_dir in $PATH
19751 test -z "$as_dir" && as_dir=.
19752 for ac_exec_ext in '' $ac_executable_extensions; do
19753 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19754 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19755 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19762 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="none"
19766 XGETTEXT=$ac_cv_path_XGETTEXT
19767 if test -n "$XGETTEXT"; then
19768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19769 $as_echo "$XGETTEXT" >&6; }
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19772 $as_echo "no" >&6; }
19776 if test "$MSGFMT" != "none"; then
19777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19778 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19779 if ${ac_cv_search_bindtextdomain+:} false; then :
19780 $as_echo_n "(cached) " >&6
19782 ac_func_search_save_LIBS=$LIBS
19783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19784 /* end confdefs.h. */
19786 /* Override any GCC internal prototype to avoid an error.
19787 Use char because int might match the return type of a GCC
19788 builtin and then its argument prototype would still apply. */
19792 char bindtextdomain ();
19796 return bindtextdomain ();
19801 for ac_lib in '' intl; do
19802 if test -z "$ac_lib"; then
19803 ac_res="none required"
19806 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19808 if ac_fn_c_try_link "$LINENO"; then :
19809 ac_cv_search_bindtextdomain=$ac_res
19811 rm -f core conftest.err conftest.$ac_objext \
19813 if ${ac_cv_search_bindtextdomain+:} false; then :
19817 if ${ac_cv_search_bindtextdomain+:} false; then :
19820 ac_cv_search_bindtextdomain=no
19822 rm conftest.$ac_ext
19823 LIBS=$ac_func_search_save_LIBS
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19826 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19827 ac_res=$ac_cv_search_bindtextdomain
19828 if test "$ac_res" != no; then :
19829 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19831 # in case libintl needs to be linked explicitly,
19832 # $ac_cv_search_bindtextdomain contains -l linker flags
19833 if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
19835 SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
19844 if test "$enable_nls" = "no"; then
19845 # Destroy the cached result so we can test again
19846 unset ac_cv_search_bindtextdomain
19847 # On some systems, libintl needs libiconv to link properly,
19848 # so try again with -liconv.
19849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19850 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19851 if ${ac_cv_search_bindtextdomain+:} false; then :
19852 $as_echo_n "(cached) " >&6
19854 ac_func_search_save_LIBS=$LIBS
19855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19856 /* end confdefs.h. */
19858 /* Override any GCC internal prototype to avoid an error.
19859 Use char because int might match the return type of a GCC
19860 builtin and then its argument prototype would still apply. */
19864 char bindtextdomain ();
19868 return bindtextdomain ();
19873 for ac_lib in '' intl; do
19874 if test -z "$ac_lib"; then
19875 ac_res="none required"
19878 LIBS="-l$ac_lib -liconv $ac_func_search_save_LIBS"
19880 if ac_fn_c_try_link "$LINENO"; then :
19881 ac_cv_search_bindtextdomain=$ac_res
19883 rm -f core conftest.err conftest.$ac_objext \
19885 if ${ac_cv_search_bindtextdomain+:} false; then :
19889 if ${ac_cv_search_bindtextdomain+:} false; then :
19892 ac_cv_search_bindtextdomain=no
19894 rm conftest.$ac_ext
19895 LIBS=$ac_func_search_save_LIBS
19897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19898 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19899 ac_res=$ac_cv_search_bindtextdomain
19900 if test "$ac_res" != no; then :
19901 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19904 if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
19906 SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
19908 # This is here so that -liconv ends up in LIBS
19909 # if it worked with -liconv.
19910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
19911 $as_echo_n "checking for libiconv_open in -liconv... " >&6; }
19912 if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
19913 $as_echo_n "(cached) " >&6
19915 ac_check_lib_save_LIBS=$LIBS
19916 LIBS="-liconv $LIBS"
19917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19918 /* end confdefs.h. */
19920 /* Override any GCC internal prototype to avoid an error.
19921 Use char because int might match the return type of a GCC
19922 builtin and then its argument prototype would still apply. */
19926 char libiconv_open ();
19930 return libiconv_open ();
19935 if ac_fn_c_try_link "$LINENO"; then :
19936 ac_cv_lib_iconv_libiconv_open=yes
19938 ac_cv_lib_iconv_libiconv_open=no
19940 rm -f core conftest.err conftest.$ac_objext \
19941 conftest$ac_exeext conftest.$ac_ext
19942 LIBS=$ac_check_lib_save_LIBS
19944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
19945 $as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
19946 if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
19947 cat >>confdefs.h <<_ACEOF
19948 #define HAVE_LIBICONV 1
19951 LIBS="-liconv $LIBS"
19958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bindtextdomain() not found. Disabling NLS." >&5
19959 $as_echo "$as_me: WARNING: bindtextdomain() not found. Disabling NLS." >&2;}
19965 if test "$enable_nls" = "yes"; then
19967 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
19979 NO_GETTEXT_CODESET=\#
19980 if test $USE_NLS = "yes"; then
19981 for ac_func in bind_textdomain_codeset
19983 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19984 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19985 cat >>confdefs.h <<_ACEOF
19986 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19990 NO_GETTEXT_CODESET=""
19998 # Check if we are using GNU gettext.
20001 if test $USE_NLS = "yes"; then
20002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using GNU gettext" >&5
20003 $as_echo_n "checking if we are using GNU gettext... " >&6; }
20004 if $MSGFMT --version 2>&1 | $EGREP GNU > /dev/null; then
20008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNU_GETTEXT" >&5
20009 $as_echo "$GNU_GETTEXT" >&6; }
20017 # Check whether --with-libmagic was given.
20018 if test "${with_libmagic+set}" = set; then :
20019 withval=$with_libmagic;
20020 if test "$withval" = "yes" ; then
20021 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20022 if test "x$ac_cv_header_magic_h" = xyes; then :
20024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20025 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20026 if ${ac_cv_lib_magic_magic_open+:} false; then :
20027 $as_echo_n "(cached) " >&6
20029 ac_check_lib_save_LIBS=$LIBS
20030 LIBS="-lmagic $LIBS"
20031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20032 /* end confdefs.h. */
20034 /* Override any GCC internal prototype to avoid an error.
20035 Use char because int might match the return type of a GCC
20036 builtin and then its argument prototype would still apply. */
20040 char magic_open ();
20044 return magic_open ();
20049 if ac_fn_c_try_link "$LINENO"; then :
20050 ac_cv_lib_magic_magic_open=yes
20052 ac_cv_lib_magic_magic_open=no
20054 rm -f core conftest.err conftest.$ac_objext \
20055 conftest$ac_exeext conftest.$ac_ext
20056 LIBS=$ac_check_lib_save_LIBS
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20059 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20060 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20061 libmagic_found="builtin"
20068 libmagic_prefix="the default locations"
20069 elif test "$withval" != "no"; then
20070 libmagic_prefix=$withval
20071 save_cppflags="$CPPFLAGS"
20072 CPPFLAGS="$CPPFLAGS -I$libmagic_prefix/include"
20073 for ac_header in magic.h
20075 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20076 if test "x$ac_cv_header_magic_h" = xyes; then :
20077 cat >>confdefs.h <<_ACEOF
20078 #define HAVE_MAGIC_H 1
20081 save_ldflags="$LDFLAGS"
20082 LDFLAGS="-L$libmagic_prefix/lib $LDFLAGS"
20083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20084 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20085 if ${ac_cv_lib_magic_magic_open+:} false; then :
20086 $as_echo_n "(cached) " >&6
20088 ac_check_lib_save_LIBS=$LIBS
20089 LIBS="-lmagic $LIBS"
20090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20091 /* end confdefs.h. */
20093 /* Override any GCC internal prototype to avoid an error.
20094 Use char because int might match the return type of a GCC
20095 builtin and then its argument prototype would still apply. */
20099 char magic_open ();
20103 return magic_open ();
20108 if ac_fn_c_try_link "$LINENO"; then :
20109 ac_cv_lib_magic_magic_open=yes
20111 ac_cv_lib_magic_magic_open=no
20113 rm -f core conftest.err conftest.$ac_objext \
20114 conftest$ac_exeext conftest.$ac_ext
20115 LIBS=$ac_check_lib_save_LIBS
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20118 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20119 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20120 libmagic_found="yes"
20123 LDFLAGS="$save_ldflags"
20129 CPPFLAGS="$save_cppflags"
20131 if test "$withval" != "no" && test "$libmagic_found" = "no"; then
20132 as_fn_error $? "--with-libmagic requested, but libmagic not found at $libmagic_prefix" "$LINENO" 5
20137 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20138 if test "x$ac_cv_header_magic_h" = xyes; then :
20140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20141 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20142 if ${ac_cv_lib_magic_magic_open+:} false; then :
20143 $as_echo_n "(cached) " >&6
20145 ac_check_lib_save_LIBS=$LIBS
20146 LIBS="-lmagic $LIBS"
20147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20148 /* end confdefs.h. */
20150 /* Override any GCC internal prototype to avoid an error.
20151 Use char because int might match the return type of a GCC
20152 builtin and then its argument prototype would still apply. */
20156 char magic_open ();
20160 return magic_open ();
20165 if ac_fn_c_try_link "$LINENO"; then :
20166 ac_cv_lib_magic_magic_open=yes
20168 ac_cv_lib_magic_magic_open=no
20170 rm -f core conftest.err conftest.$ac_objext \
20171 conftest$ac_exeext conftest.$ac_ext
20172 LIBS=$ac_check_lib_save_LIBS
20174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20175 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20176 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20177 libmagic_found="builtin"
20188 if test "$libmagic_found" != "no"; then
20190 $as_echo "#define SVN_HAVE_LIBMAGIC 1" >>confdefs.h
20192 SVN_MAGIC_LIBS="-lmagic"
20195 if test "$libmagic_found" = "yes"; then
20196 SVN_MAGIC_INCLUDES="-I$libmagic_prefix/include"
20197 LDFLAGS="$LDFLAGS `
20198 input_flags="-L$libmagic_prefix/lib"
20200 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
20201 for flag in $input_flags; do
20203 for dir in $filtered_dirs; do
20204 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
20209 if test "$filter" = "no"; then
20210 output_flags="$output_flags $flag"
20213 if test -n "$output_flags"; then
20214 printf "%s" "${output_flags# }"
20224 # Check whether --with-kwallet was given.
20225 if test "${with_kwallet+set}" = set; then :
20226 withval=$with_kwallet; svn_lib_kwallet="$withval"
20232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for KWallet" >&5
20233 $as_echo_n "checking whether to look for KWallet... " >&6; }
20234 if test "$svn_lib_kwallet" != "no"; then
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20236 $as_echo "yes" >&6; }
20239 as_fn_error $? "--with-kwallet is not supported on Mac OS X." "$LINENO" 5
20242 if test "$svn_enable_shared" = "yes"; then
20243 if test "$APR_HAS_DSO" = "yes"; then
20244 if test -n "$PKG_CONFIG"; then
20245 if test "$HAVE_DBUS" = "yes"; then
20246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore, QtDBus, QtGui" >&5
20247 $as_echo_n "checking for QtCore, QtDBus, QtGui... " >&6; }
20248 if $PKG_CONFIG --exists QtCore QtDBus QtGui; then
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20250 $as_echo "yes" >&6; }
20251 if test "$svn_lib_kwallet" != "yes"; then
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
20253 $as_echo_n "checking for kde4-config... " >&6; }
20254 KDE4_CONFIG="$svn_lib_kwallet/bin/kde4-config"
20255 if test -f "$KDE4_CONFIG" && test -x "$KDE4_CONFIG"; then
20256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20257 $as_echo "yes" >&6; }
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20261 $as_echo "no" >&6; }
20264 # Extract the first word of "kde4-config", so it can be a program name with args.
20265 set dummy kde4-config; ac_word=$2
20266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20267 $as_echo_n "checking for $ac_word... " >&6; }
20268 if ${ac_cv_path_KDE4_CONFIG+:} false; then :
20269 $as_echo_n "(cached) " >&6
20271 case $KDE4_CONFIG in
20273 ac_cv_path_KDE4_CONFIG="$KDE4_CONFIG" # Let the user override the test with a path.
20276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20277 for as_dir in $PATH
20280 test -z "$as_dir" && as_dir=.
20281 for ac_exec_ext in '' $ac_executable_extensions; do
20282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20283 ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20294 KDE4_CONFIG=$ac_cv_path_KDE4_CONFIG
20295 if test -n "$KDE4_CONFIG"; then
20296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
20297 $as_echo "$KDE4_CONFIG" >&6; }
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20300 $as_echo "no" >&6; }
20305 if test -n "$KDE4_CONFIG"; then
20306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
20307 $as_echo_n "checking for KWallet... " >&6; }
20308 old_CXXFLAGS="$CXXFLAGS"
20309 old_LDFLAGS="$LDFLAGS"
20311 for d in `$PKG_CONFIG --cflags QtCore QtDBus QtGui`; do
20312 if test -n "`echo "$d" | $EGREP -- '^-D[^[:space:]]*'`"; then
20313 CPPFLAGS="$CPPFLAGS $d"
20316 qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
20317 kde_incdir="`$KDE4_CONFIG --install include`"
20318 SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_incdir"
20319 qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
20320 SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
20321 CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
20322 LIBS="$LIBS $SVN_KWALLET_LIBS"
20323 qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
20324 kde_libdir="`$KDE4_CONFIG --install lib`"
20325 LDFLAGS="$old_LDFLAGS `
20326 input_flags="$qt_lib_dirs -L$kde_libdir"
20328 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
20329 for flag in $input_flags; do
20331 for dir in $filtered_dirs; do
20332 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
20337 if test "$filter" = "no"; then
20338 output_flags="$output_flags $flag"
20341 if test -n "$output_flags"; then
20342 printf "%s" "${output_flags# }"
20346 ac_cpp='$CXXCPP $CPPFLAGS'
20347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20352 /* end confdefs.h. */
20354 #include <kwallet.h>
20356 {KWallet::Wallet::walletList();}
20358 if ac_fn_cxx_try_link "$LINENO"; then :
20359 svn_lib_kwallet="yes"
20361 svn_lib_kwallet="no"
20363 rm -f core conftest.err conftest.$ac_objext \
20364 conftest$ac_exeext conftest.$ac_ext
20366 ac_cpp='$CPP $CPPFLAGS'
20367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20371 if test "$svn_lib_kwallet" = "yes"; then
20372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20373 $as_echo "yes" >&6; }
20374 CXXFLAGS="$old_CXXFLAGS"
20377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20378 $as_echo "no" >&6; }
20379 as_fn_error $? "cannot find KWallet" "$LINENO" 5
20382 as_fn_error $? "cannot find kde4-config" "$LINENO" 5
20385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20386 $as_echo "no" >&6; }
20387 as_fn_error $? "cannot find QtCore, QtDBus, QtGui" "$LINENO" 5
20390 as_fn_error $? "cannot find D-Bus" "$LINENO" 5
20393 as_fn_error $? "cannot find pkg-config" "$LINENO" 5
20396 as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
20399 as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
20404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20405 $as_echo "no" >&6; }
20411 if test "$svn_lib_kwallet" = "yes"; then
20413 $as_echo "#define SVN_HAVE_KWALLET 1" >>confdefs.h
20417 # Check whether --enable-plaintext-password-storage was given.
20418 if test "${enable_plaintext_password_storage+set}" = set; then :
20419 enableval=$enable_plaintext_password_storage;
20420 if test "$enableval" = "no"; then
20421 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling plaintext password/passphrase storage" >&5
20422 $as_echo "$as_me: Disabling plaintext password/passphrase storage" >&6;}
20424 $as_echo "#define SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE 1" >>confdefs.h
20432 INSTALL_STATIC_RULES="install-bin install-docs"
20433 INSTALL_RULES="install-fsmod-lib install-ramod-lib install-lib install-include install-static"
20434 INSTALL_RULES="$INSTALL_RULES $INSTALL_APACHE_RULE"
20435 BUILD_RULES="fsmod-lib ramod-lib lib bin test sub-test $BUILD_APACHE_RULE tools"
20437 if test "$svn_lib_berkeley_db" = "yes"; then
20438 BUILD_RULES="$BUILD_RULES bdb-lib bdb-test"
20439 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-fsmod-lib/install-fsmod-lib install-bdb-lib/'`"
20440 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-bdb-lib"
20441 BDB_TEST_DEPS="\$(BDB_TEST_DEPS)"
20442 BDB_TEST_PROGRAMS="\$(BDB_TEST_PROGRAMS)"
20445 if test "$svn_lib_serf" = "yes"; then
20446 BUILD_RULES="$BUILD_RULES serf-lib"
20447 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-ramod-lib/install-ramod-lib install-serf-lib/'`"
20448 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-serf-lib"
20451 if test "$svn_lib_kwallet" = "yes"; then
20452 BUILD_RULES="$BUILD_RULES kwallet-lib"
20453 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-kwallet-lib/'`"
20454 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-kwallet-lib"
20457 if test "$found_gnome_keyring" = "yes"; then
20458 BUILD_RULES="$BUILD_RULES gnome-keyring-lib"
20459 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-gnome-keyring-lib/'`"
20460 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-gnome-keyring-lib"
20463 if test "$USE_NLS" = "yes"; then
20464 BUILD_RULES="$BUILD_RULES locale"
20465 INSTALL_RULES="$INSTALL_RULES install-locale"
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20476 $as_echo_n "checking for ANSI C header files... " >&6; }
20477 if ${ac_cv_header_stdc+:} false; then :
20478 $as_echo_n "(cached) " >&6
20480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20481 /* end confdefs.h. */
20482 #include <stdlib.h>
20483 #include <stdarg.h>
20484 #include <string.h>
20495 if ac_fn_c_try_compile "$LINENO"; then :
20496 ac_cv_header_stdc=yes
20498 ac_cv_header_stdc=no
20500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502 if test $ac_cv_header_stdc = yes; then
20503 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20505 /* end confdefs.h. */
20506 #include <string.h>
20509 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20510 $EGREP "memchr" >/dev/null 2>&1; then :
20513 ac_cv_header_stdc=no
20519 if test $ac_cv_header_stdc = yes; then
20520 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20522 /* end confdefs.h. */
20523 #include <stdlib.h>
20526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20527 $EGREP "free" >/dev/null 2>&1; then :
20530 ac_cv_header_stdc=no
20536 if test $ac_cv_header_stdc = yes; then
20537 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20538 if test "$cross_compiling" = yes; then :
20541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20542 /* end confdefs.h. */
20544 #include <stdlib.h>
20545 #if ((' ' & 0x0FF) == 0x020)
20546 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20547 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20549 # define ISLOWER(c) \
20550 (('a' <= (c) && (c) <= 'i') \
20551 || ('j' <= (c) && (c) <= 'r') \
20552 || ('s' <= (c) && (c) <= 'z'))
20553 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20556 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20561 for (i = 0; i < 256; i++)
20562 if (XOR (islower (i), ISLOWER (i))
20563 || toupper (i) != TOUPPER (i))
20568 if ac_fn_c_try_run "$LINENO"; then :
20571 ac_cv_header_stdc=no
20573 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20574 conftest.$ac_objext conftest.beam conftest.$ac_ext
20579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20580 $as_echo "$ac_cv_header_stdc" >&6; }
20581 if test $ac_cv_header_stdc = yes; then
20583 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20590 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20591 if ${ac_cv_c_const+:} false; then :
20592 $as_echo_n "(cached) " >&6
20594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20595 /* end confdefs.h. */
20601 #ifndef __cplusplus
20602 /* Ultrix mips cc rejects this sort of thing. */
20603 typedef int charset[2];
20604 const charset cs = { 0, 0 };
20605 /* SunOS 4.1.1 cc rejects this. */
20606 char const *const *pcpcc;
20608 /* NEC SVR4.0.2 mips cc rejects this. */
20609 struct point {int x, y;};
20610 static struct point const zero = {0,0};
20611 /* AIX XL C 1.02.0.0 rejects this.
20612 It does not let you subtract one const X* pointer from another in
20613 an arm of an if-expression whose if-part is not a constant
20615 const char *g = "string";
20616 pcpcc = &g + (g ? g-g : 0);
20617 /* HPUX 7.0 cc rejects these. */
20619 ppc = (char**) pcpcc;
20620 pcpcc = (char const *const *) ppc;
20621 { /* SCO 3.2v4 cc rejects this sort of thing. */
20624 char const *s = 0 ? (char *) 0 : (char const *) 0;
20629 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20630 int x[] = {25, 17};
20631 const int *foo = &x[0];
20634 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20635 typedef const int *iptr;
20639 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20640 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20641 struct s { int j; const int *ap[3]; } bx;
20642 struct s *b = &bx; b->j = 5;
20644 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20645 const int foo = 10;
20646 if (!foo) return 0;
20648 return !cs[0] && !zero.x;
20655 if ac_fn_c_try_compile "$LINENO"; then :
20660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20663 $as_echo "$ac_cv_c_const" >&6; }
20664 if test $ac_cv_c_const = no; then
20666 $as_echo "#define const /**/" >>confdefs.h
20671 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20672 if test "x$ac_cv_type_size_t" = xyes; then :
20676 cat >>confdefs.h <<_ACEOF
20677 #define size_t unsigned int
20685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
20686 $as_echo_n "checking for working memcmp... " >&6; }
20687 if ${ac_cv_func_memcmp_working+:} false; then :
20688 $as_echo_n "(cached) " >&6
20690 if test "$cross_compiling" = yes; then :
20691 ac_cv_func_memcmp_working=no
20693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20694 /* end confdefs.h. */
20695 $ac_includes_default
20700 /* Some versions of memcmp are not 8-bit clean. */
20701 char c0 = '\100', c1 = '\200', c2 = '\201';
20702 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20705 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20706 or more and with at least one buffer not starting on a 4-byte boundary.
20707 William Lewis provided this test program. */
20712 for (i = 0; i < 4; i++)
20716 strcpy (a, "--------01111111");
20717 strcpy (b, "--------10000000");
20718 if (memcmp (a, b, 16) >= 0)
20728 if ac_fn_c_try_run "$LINENO"; then :
20729 ac_cv_func_memcmp_working=yes
20731 ac_cv_func_memcmp_working=no
20733 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20734 conftest.$ac_objext conftest.beam conftest.$ac_ext
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
20739 $as_echo "$ac_cv_func_memcmp_working" >&6; }
20740 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
20741 *" memcmp.$ac_objext "* ) ;;
20742 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
20748 for ac_func in vprintf
20750 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
20751 if test "x$ac_cv_func_vprintf" = xyes; then :
20752 cat >>confdefs.h <<_ACEOF
20753 #define HAVE_VPRINTF 1
20756 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
20757 if test "x$ac_cv_func__doprnt" = xyes; then :
20759 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
20768 for ac_func in symlink readlink
20770 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20771 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20772 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20773 cat >>confdefs.h <<_ACEOF
20774 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20781 for ac_header in sys/utsname.h
20783 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
20784 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
20785 cat >>confdefs.h <<_ACEOF
20786 #define HAVE_SYS_UTSNAME_H 1
20788 for ac_func in uname
20790 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
20791 if test "x$ac_cv_func_uname" = xyes; then :
20792 cat >>confdefs.h <<_ACEOF
20793 #define HAVE_UNAME 1
20804 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20805 if test "x$ac_cv_header_termios_h" = xyes; then :
20807 for ac_func in tcgetattr tcsetattr
20809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20811 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20812 cat >>confdefs.h <<_ACEOF
20813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20817 $as_echo "#define HAVE_TERMIOS_H 1" >>confdefs.h
20829 # Check whether --enable-debug was given.
20830 if test "${enable_debug+set}" = set; then :
20831 enableval=$enable_debug;
20832 if test "$enableval" = "yes" ; then
20833 enable_debugging="yes"
20835 enable_debugging="no"
20840 # Neither --enable-debug nor --disable-debug was passed.
20841 enable_debugging="maybe"
20846 # Check whether --enable-optimize was given.
20847 if test "${enable_optimize+set}" = set; then :
20848 enableval=$enable_optimize;
20849 if test "$enableval" = "yes" ; then
20850 enable_optimization="yes"
20852 enable_optimization="no"
20857 # Neither --enable-optimize nor --disable-optimize was passed.
20858 enable_optimization="maybe"
20863 # Check whether --enable-disallowing-of-undefined-references was given.
20864 if test "${enable_disallowing_of_undefined_references+set}" = set; then :
20865 enableval=$enable_disallowing_of_undefined_references;
20868 if test "$enable_disallowing_of_undefined_references" != "yes" && test "`uname`" != "Linux"; then
20869 enable_disallowing_of_undefined_references="no"
20871 if test "$enable_disallowing_of_undefined_references" != "no"; then
20872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-undefined" >&5
20873 $as_echo_n "checking for -Wl,--no-undefined... " >&6; }
20874 old_LDFLAGS="$LDFLAGS"
20875 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
20876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20877 /* end confdefs.h. */
20880 if ac_fn_c_try_link "$LINENO"; then :
20881 svn_wl_no_undefined="yes"
20883 svn_wl_no_undefined="no"
20885 rm -f core conftest.err conftest.$ac_objext \
20886 conftest$ac_exeext conftest.$ac_ext
20887 LDFLAGS="$old_LDFLAGS"
20888 if test "$svn_wl_no_undefined" = "yes"; then
20889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20890 $as_echo "yes" >&6; }
20891 for library_dir in "$abs_srcdir/subversion/libsvn_"*; do
20892 eval "`basename $library_dir`_LDFLAGS=-Wl,--no-undefined"
20895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20896 $as_echo "no" >&6; }
20897 if test "$enable_disallowing_of_undefined_references" = "yes"; then
20898 as_fn_error $? "--enable-disallowing-of-undefined-references explicitly requested, but -Wl,--no-undefined not supported" "$LINENO" 5
20920 # Check whether --enable-maintainer-mode was given.
20921 if test "${enable_maintainer_mode+set}" = set; then :
20922 enableval=$enable_maintainer_mode;
20923 if test "$enableval" = "yes" ; then
20924 if test "$enable_debugging" = "no" ; then
20925 as_fn_error $? "Can't have --disable-debug and --enable-maintainer-mode" "$LINENO" 5
20927 enable_debugging=yes
20929 if test "$GCC" = "yes"; then
20930 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding GCC warning flags" >&5
20931 $as_echo "$as_me: maintainer-mode: adding GCC warning flags" >&6;}
20934 CFLAGS_KEEP="$CFLAGS"
20938 _svn_xxflags__save="$CFLAGS"
20940 ac_cpp='$CPP $CPPFLAGS'
20941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=implicit-function-declaration" >&5
20946 $as_echo_n "checking if $CC accepts -Werror=implicit-function-declaration... " >&6; }
20947 CFLAGS="-Werror=implicit-function-declaration $CFLAGS"
20948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20949 /* end confdefs.h. */
20950 int main(void){return 0;}
20952 if ac_fn_c_try_link "$LINENO"; then :
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20955 $as_echo "yes" >&6; }
20960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20961 $as_echo "no" >&6; }
20962 CFLAGS="$_svn_xxflags__save"
20966 rm -f core conftest.err conftest.$ac_objext \
20967 conftest$ac_exeext conftest.$ac_ext
20969 ac_cpp='$CPP $CPPFLAGS'
20970 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20971 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20972 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20976 _svn_xxflags__save="$CFLAGS"
20978 ac_cpp='$CPP $CPPFLAGS'
20979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=declaration-after-statement" >&5
20984 $as_echo_n "checking if $CC accepts -Werror=declaration-after-statement... " >&6; }
20985 CFLAGS="-Werror=declaration-after-statement $CFLAGS"
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 int main(void){return 0;}
20990 if ac_fn_c_try_link "$LINENO"; then :
20992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20993 $as_echo "yes" >&6; }
20998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20999 $as_echo "no" >&6; }
21000 CFLAGS="$_svn_xxflags__save"
21004 rm -f core conftest.err conftest.$ac_objext \
21005 conftest$ac_exeext conftest.$ac_ext
21007 ac_cpp='$CPP $CPPFLAGS'
21008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21014 _svn_xxflags__save="$CFLAGS"
21016 ac_cpp='$CPP $CPPFLAGS'
21017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wextra-tokens" >&5
21022 $as_echo_n "checking if $CC accepts -Wextra-tokens... " >&6; }
21023 CFLAGS="-Wextra-tokens $CFLAGS"
21024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21025 /* end confdefs.h. */
21026 int main(void){return 0;}
21028 if ac_fn_c_try_link "$LINENO"; then :
21030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21031 $as_echo "yes" >&6; }
21036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21037 $as_echo "no" >&6; }
21038 CFLAGS="$_svn_xxflags__save"
21042 rm -f core conftest.err conftest.$ac_objext \
21043 conftest$ac_exeext conftest.$ac_ext
21045 ac_cpp='$CPP $CPPFLAGS'
21046 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21047 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21048 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21052 _svn_xxflags__save="$CFLAGS"
21054 ac_cpp='$CPP $CPPFLAGS'
21055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wnewline-eof" >&5
21060 $as_echo_n "checking if $CC accepts -Wnewline-eof... " >&6; }
21061 CFLAGS="-Wnewline-eof $CFLAGS"
21062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21063 /* end confdefs.h. */
21064 int main(void){return 0;}
21066 if ac_fn_c_try_link "$LINENO"; then :
21068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21069 $as_echo "yes" >&6; }
21074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21075 $as_echo "no" >&6; }
21076 CFLAGS="$_svn_xxflags__save"
21080 rm -f core conftest.err conftest.$ac_objext \
21081 conftest$ac_exeext conftest.$ac_ext
21083 ac_cpp='$CPP $CPPFLAGS'
21084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21090 _svn_xxflags__save="$CFLAGS"
21092 ac_cpp='$CPP $CPPFLAGS'
21093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wshorten-64-to-32" >&5
21098 $as_echo_n "checking if $CC accepts -Wshorten-64-to-32... " >&6; }
21099 CFLAGS="-Wshorten-64-to-32 $CFLAGS"
21100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21101 /* end confdefs.h. */
21102 int main(void){return 0;}
21104 if ac_fn_c_try_link "$LINENO"; then :
21106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21107 $as_echo "yes" >&6; }
21112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21113 $as_echo "no" >&6; }
21114 CFLAGS="$_svn_xxflags__save"
21118 rm -f core conftest.err conftest.$ac_objext \
21119 conftest$ac_exeext conftest.$ac_ext
21121 ac_cpp='$CPP $CPPFLAGS'
21122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21128 _svn_xxflags__save="$CFLAGS"
21130 ac_cpp='$CPP $CPPFLAGS'
21131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wold-style-definition" >&5
21136 $as_echo_n "checking if $CC accepts -Wold-style-definition... " >&6; }
21137 CFLAGS="-Wold-style-definition $CFLAGS"
21138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21139 /* end confdefs.h. */
21140 int main(void){return 0;}
21142 if ac_fn_c_try_link "$LINENO"; then :
21144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21145 $as_echo "yes" >&6; }
21150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21151 $as_echo "no" >&6; }
21152 CFLAGS="$_svn_xxflags__save"
21156 rm -f core conftest.err conftest.$ac_objext \
21157 conftest$ac_exeext conftest.$ac_ext
21159 ac_cpp='$CPP $CPPFLAGS'
21160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21166 _svn_xxflags__save="$CFLAGS"
21168 ac_cpp='$CPP $CPPFLAGS'
21169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-system-headers" >&5
21174 $as_echo_n "checking if $CC accepts -Wno-system-headers... " >&6; }
21175 CFLAGS="-Wno-system-headers $CFLAGS"
21176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21177 /* end confdefs.h. */
21178 int main(void){return 0;}
21180 if ac_fn_c_try_link "$LINENO"; then :
21182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21183 $as_echo "yes" >&6; }
21188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21189 $as_echo "no" >&6; }
21190 CFLAGS="$_svn_xxflags__save"
21194 rm -f core conftest.err conftest.$ac_objext \
21195 conftest$ac_exeext conftest.$ac_ext
21197 ac_cpp='$CPP $CPPFLAGS'
21198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21204 _svn_xxflags__save="$CFLAGS"
21206 ac_cpp='$CPP $CPPFLAGS'
21207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-format-nonliteral" >&5
21212 $as_echo_n "checking if $CC accepts -Wno-format-nonliteral... " >&6; }
21213 CFLAGS="-Wno-format-nonliteral $CFLAGS"
21214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21215 /* end confdefs.h. */
21216 int main(void){return 0;}
21218 if ac_fn_c_try_link "$LINENO"; then :
21220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21221 $as_echo "yes" >&6; }
21226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21227 $as_echo "no" >&6; }
21228 CFLAGS="$_svn_xxflags__save"
21232 rm -f core conftest.err conftest.$ac_objext \
21233 conftest$ac_exeext conftest.$ac_ext
21235 ac_cpp='$CPP $CPPFLAGS'
21236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21242 _svn_xxflags__save="$CFLAGS"
21244 ac_cpp='$CPP $CPPFLAGS'
21245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wmissing-variable-declarations" >&5
21250 $as_echo_n "checking if $CC accepts -Wmissing-variable-declarations... " >&6; }
21251 CFLAGS="-Wmissing-variable-declarations $CFLAGS"
21252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21253 /* end confdefs.h. */
21254 int main(void){return 0;}
21256 if ac_fn_c_try_link "$LINENO"; then :
21258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21259 $as_echo "yes" >&6; }
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21265 $as_echo "no" >&6; }
21266 CFLAGS="$_svn_xxflags__save"
21270 rm -f core conftest.err conftest.$ac_objext \
21271 conftest$ac_exeext conftest.$ac_ext
21273 ac_cpp='$CPP $CPPFLAGS'
21274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21280 CMAINTAINERFLAGS="$CFLAGS"
21281 CFLAGS="$CFLAGS_KEEP"
21283 CMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wformat=2 -Wunused -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wno-multichar -Wredundant-decls -Wnested-externs -Winline -Wno-long-long -Wbad-function-cast $CMAINTAINERFLAGS"
21285 if test "$GXX" = "yes"; then
21286 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding G++ warning flags" >&5
21287 $as_echo "$as_me: maintainer-mode: adding G++ warning flags" >&6;}
21289 CXXFLAGS_KEEP="$CXXFLAGS"
21293 _svn_xxflags__save="$CXXFLAGS"
21295 ac_cpp='$CXXCPP $CPPFLAGS'
21296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wextra-tokens" >&5
21301 $as_echo_n "checking if $CXX accepts -Wextra-tokens... " >&6; }
21302 CXXFLAGS="-Wextra-tokens $CXXFLAGS"
21303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21304 /* end confdefs.h. */
21307 if ac_fn_cxx_try_link "$LINENO"; then :
21309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21310 $as_echo "yes" >&6; }
21315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21316 $as_echo "no" >&6; }
21317 CXXFLAGS="$_svn_xxflags__save"
21321 rm -f core conftest.err conftest.$ac_objext \
21322 conftest$ac_exeext conftest.$ac_ext
21324 ac_cpp='$CPP $CPPFLAGS'
21325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21331 _svn_xxflags__save="$CXXFLAGS"
21333 ac_cpp='$CXXCPP $CPPFLAGS'
21334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wnewline-eof" >&5
21339 $as_echo_n "checking if $CXX accepts -Wnewline-eof... " >&6; }
21340 CXXFLAGS="-Wnewline-eof $CXXFLAGS"
21341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21342 /* end confdefs.h. */
21345 if ac_fn_cxx_try_link "$LINENO"; then :
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21348 $as_echo "yes" >&6; }
21353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21354 $as_echo "no" >&6; }
21355 CXXFLAGS="$_svn_xxflags__save"
21359 rm -f core conftest.err conftest.$ac_objext \
21360 conftest$ac_exeext conftest.$ac_ext
21362 ac_cpp='$CPP $CPPFLAGS'
21363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21369 _svn_xxflags__save="$CXXFLAGS"
21371 ac_cpp='$CXXCPP $CPPFLAGS'
21372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wshorten-64-to-32" >&5
21377 $as_echo_n "checking if $CXX accepts -Wshorten-64-to-32... " >&6; }
21378 CXXFLAGS="-Wshorten-64-to-32 $CXXFLAGS"
21379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21380 /* end confdefs.h. */
21383 if ac_fn_cxx_try_link "$LINENO"; then :
21385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21386 $as_echo "yes" >&6; }
21391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21392 $as_echo "no" >&6; }
21393 CXXFLAGS="$_svn_xxflags__save"
21397 rm -f core conftest.err conftest.$ac_objext \
21398 conftest$ac_exeext conftest.$ac_ext
21400 ac_cpp='$CPP $CPPFLAGS'
21401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21407 _svn_xxflags__save="$CXXFLAGS"
21409 ac_cpp='$CXXCPP $CPPFLAGS'
21410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-system-headers" >&5
21415 $as_echo_n "checking if $CXX accepts -Wno-system-headers... " >&6; }
21416 CXXFLAGS="-Wno-system-headers $CXXFLAGS"
21417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21418 /* end confdefs.h. */
21421 if ac_fn_cxx_try_link "$LINENO"; then :
21423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21424 $as_echo "yes" >&6; }
21429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21430 $as_echo "no" >&6; }
21431 CXXFLAGS="$_svn_xxflags__save"
21435 rm -f core conftest.err conftest.$ac_objext \
21436 conftest$ac_exeext conftest.$ac_ext
21438 ac_cpp='$CPP $CPPFLAGS'
21439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21445 CXXMAINTAINERFLAGS="$CXXFLAGS"
21446 CXXFLAGS="$CXXFLAGS_KEEP"
21448 CXXMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wunused -Wunreachable-code $CXXMAINTAINERFLAGS"
21455 if test "$enable_debugging" = "yes" ; then
21456 if test "$enable_optimization" != "yes"; then
21457 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations for debugging" >&5
21458 $as_echo "$as_me: Disabling optimizations for debugging" >&6;}
21459 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21460 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21462 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
21463 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C" >&5
21464 $as_echo "$as_me: Enabling debugging for C" >&6;}
21465 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21467 _svn_xxflags__save="$CFLAGS"
21469 ac_cpp='$CPP $CPPFLAGS'
21470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-inline" >&5
21475 $as_echo_n "checking if $CC accepts -fno-inline... " >&6; }
21476 CFLAGS="-fno-inline $CFLAGS"
21477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21478 /* end confdefs.h. */
21479 int main(void){return 0;}
21481 if ac_fn_c_try_link "$LINENO"; then :
21483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21484 $as_echo "yes" >&6; }
21489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21490 $as_echo "no" >&6; }
21491 CFLAGS="$_svn_xxflags__save"
21495 rm -f core conftest.err conftest.$ac_objext \
21496 conftest$ac_exeext conftest.$ac_ext
21498 ac_cpp='$CPP $CPPFLAGS'
21499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21505 _svn_xxflags__save="$CFLAGS"
21507 ac_cpp='$CPP $CPPFLAGS'
21508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-omit-frame-pointer" >&5
21513 $as_echo_n "checking if $CC accepts -fno-omit-frame-pointer... " >&6; }
21514 CFLAGS="-fno-omit-frame-pointer $CFLAGS"
21515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21516 /* end confdefs.h. */
21517 int main(void){return 0;}
21519 if ac_fn_c_try_link "$LINENO"; then :
21521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21522 $as_echo "yes" >&6; }
21527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21528 $as_echo "no" >&6; }
21529 CFLAGS="$_svn_xxflags__save"
21533 rm -f core conftest.err conftest.$ac_objext \
21534 conftest$ac_exeext conftest.$ac_ext
21536 ac_cpp='$CPP $CPPFLAGS'
21537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21543 _svn_xxflags__save="$CFLAGS"
21545 ac_cpp='$CPP $CPPFLAGS'
21546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g3" >&5
21551 $as_echo_n "checking if $CC accepts -g3... " >&6; }
21552 CFLAGS="-g3 $CFLAGS"
21553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21554 /* end confdefs.h. */
21555 int main(void){return 0;}
21557 if ac_fn_c_try_link "$LINENO"; then :
21559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21560 $as_echo "yes" >&6; }
21565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21566 $as_echo "no" >&6; }
21567 CFLAGS="$_svn_xxflags__save"
21570 _svn_xxflags__save="$CFLAGS"
21572 ac_cpp='$CPP $CPPFLAGS'
21573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g2" >&5
21578 $as_echo_n "checking if $CC accepts -g2... " >&6; }
21579 CFLAGS="-g2 $CFLAGS"
21580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h. */
21582 int main(void){return 0;}
21584 if ac_fn_c_try_link "$LINENO"; then :
21586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21587 $as_echo "yes" >&6; }
21592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21593 $as_echo "no" >&6; }
21594 CFLAGS="$_svn_xxflags__save"
21597 _svn_xxflags__save="$CFLAGS"
21599 ac_cpp='$CPP $CPPFLAGS'
21600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g" >&5
21605 $as_echo_n "checking if $CC accepts -g... " >&6; }
21606 CFLAGS="-g $CFLAGS"
21607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21608 /* end confdefs.h. */
21609 int main(void){return 0;}
21611 if ac_fn_c_try_link "$LINENO"; then :
21613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21614 $as_echo "yes" >&6; }
21619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21620 $as_echo "no" >&6; }
21621 CFLAGS="$_svn_xxflags__save"
21625 rm -f core conftest.err conftest.$ac_objext \
21626 conftest$ac_exeext conftest.$ac_ext
21628 ac_cpp='$CPP $CPPFLAGS'
21629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21636 rm -f core conftest.err conftest.$ac_objext \
21637 conftest$ac_exeext conftest.$ac_ext
21639 ac_cpp='$CPP $CPPFLAGS'
21640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21647 rm -f core conftest.err conftest.$ac_objext \
21648 conftest$ac_exeext conftest.$ac_ext
21650 ac_cpp='$CPP $CPPFLAGS'
21651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21657 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
21658 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C++" >&5
21659 $as_echo "$as_me: Enabling debugging for C++" >&6;}
21660 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21662 _svn_xxflags__save="$CXXFLAGS"
21664 ac_cpp='$CXXCPP $CPPFLAGS'
21665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-inline" >&5
21670 $as_echo_n "checking if $CXX accepts -fno-inline... " >&6; }
21671 CXXFLAGS="-fno-inline $CXXFLAGS"
21672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21673 /* end confdefs.h. */
21676 if ac_fn_cxx_try_link "$LINENO"; then :
21678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21679 $as_echo "yes" >&6; }
21684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21685 $as_echo "no" >&6; }
21686 CXXFLAGS="$_svn_xxflags__save"
21690 rm -f core conftest.err conftest.$ac_objext \
21691 conftest$ac_exeext conftest.$ac_ext
21693 ac_cpp='$CPP $CPPFLAGS'
21694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700 _svn_xxflags__save="$CXXFLAGS"
21702 ac_cpp='$CXXCPP $CPPFLAGS'
21703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-omit-frame-pointer" >&5
21708 $as_echo_n "checking if $CXX accepts -fno-omit-frame-pointer... " >&6; }
21709 CXXFLAGS="-fno-omit-frame-pointer $CXXFLAGS"
21710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21711 /* end confdefs.h. */
21714 if ac_fn_cxx_try_link "$LINENO"; then :
21716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21717 $as_echo "yes" >&6; }
21722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21723 $as_echo "no" >&6; }
21724 CXXFLAGS="$_svn_xxflags__save"
21728 rm -f core conftest.err conftest.$ac_objext \
21729 conftest$ac_exeext conftest.$ac_ext
21731 ac_cpp='$CPP $CPPFLAGS'
21732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21738 _svn_xxflags__save="$CXXFLAGS"
21740 ac_cpp='$CXXCPP $CPPFLAGS'
21741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g3" >&5
21746 $as_echo_n "checking if $CXX accepts -g3... " >&6; }
21747 CXXFLAGS="-g3 $CXXFLAGS"
21748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21749 /* end confdefs.h. */
21752 if ac_fn_cxx_try_link "$LINENO"; then :
21754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21755 $as_echo "yes" >&6; }
21760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21761 $as_echo "no" >&6; }
21762 CXXFLAGS="$_svn_xxflags__save"
21765 _svn_xxflags__save="$CXXFLAGS"
21767 ac_cpp='$CXXCPP $CPPFLAGS'
21768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g2" >&5
21773 $as_echo_n "checking if $CXX accepts -g2... " >&6; }
21774 CXXFLAGS="-g2 $CXXFLAGS"
21775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21776 /* end confdefs.h. */
21779 if ac_fn_cxx_try_link "$LINENO"; then :
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21782 $as_echo "yes" >&6; }
21787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21788 $as_echo "no" >&6; }
21789 CXXFLAGS="$_svn_xxflags__save"
21792 _svn_xxflags__save="$CXXFLAGS"
21794 ac_cpp='$CXXCPP $CPPFLAGS'
21795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g" >&5
21800 $as_echo_n "checking if $CXX accepts -g... " >&6; }
21801 CXXFLAGS="-g $CXXFLAGS"
21802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21803 /* end confdefs.h. */
21806 if ac_fn_cxx_try_link "$LINENO"; then :
21808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21809 $as_echo "yes" >&6; }
21814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21815 $as_echo "no" >&6; }
21816 CXXFLAGS="$_svn_xxflags__save"
21820 rm -f core conftest.err conftest.$ac_objext \
21821 conftest$ac_exeext conftest.$ac_ext
21823 ac_cpp='$CXXCPP $CPPFLAGS'
21824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21831 rm -f core conftest.err conftest.$ac_objext \
21832 conftest$ac_exeext conftest.$ac_ext
21834 ac_cpp='$CXXCPP $CPPFLAGS'
21835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21842 rm -f core conftest.err conftest.$ac_objext \
21843 conftest$ac_exeext conftest.$ac_ext
21845 ac_cpp='$CPP $CPPFLAGS'
21846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21852 CFLAGS="$CFLAGS -DSVN_DEBUG -DAP_DEBUG"
21853 CXXFLAGS="$CXXFLAGS -DSVN_DEBUG -DAP_DEBUG"
21854 elif test "$enable_debugging" = "no" ; then
21855 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling debugging" >&5
21856 $as_echo "$as_me: Disabling debugging" >&6;}
21857 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21858 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21859 CFLAGS="$CFLAGS -DNDEBUG"
21860 CXXFLAGS="$CXXFLAGS -DNDEBUG"
21861 # elif test "$enable_debugging" = "maybe" ; then
21865 if test "$enable_optimization" = "yes"; then
21866 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
21867 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21868 if test "$enable_debugging" = "yes"; then
21869 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C (with debugging enabled)" >&5
21870 $as_echo "$as_me: Enabling optimizations for C (with debugging enabled)" >&6;}
21872 _svn_xxflags__save="$CFLAGS"
21874 ac_cpp='$CPP $CPPFLAGS'
21875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
21880 $as_echo_n "checking if $CC accepts -O1... " >&6; }
21881 CFLAGS="-O1 $CFLAGS"
21882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21883 /* end confdefs.h. */
21884 int main(void){return 0;}
21886 if ac_fn_c_try_link "$LINENO"; then :
21888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21889 $as_echo "yes" >&6; }
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21895 $as_echo "no" >&6; }
21896 CFLAGS="$_svn_xxflags__save"
21899 _svn_xxflags__save="$CFLAGS"
21901 ac_cpp='$CPP $CPPFLAGS'
21902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
21907 $as_echo_n "checking if $CC accepts -O... " >&6; }
21908 CFLAGS="-O $CFLAGS"
21909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21910 /* end confdefs.h. */
21911 int main(void){return 0;}
21913 if ac_fn_c_try_link "$LINENO"; then :
21915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21916 $as_echo "yes" >&6; }
21921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21922 $as_echo "no" >&6; }
21923 CFLAGS="$_svn_xxflags__save"
21927 rm -f core conftest.err conftest.$ac_objext \
21928 conftest$ac_exeext conftest.$ac_ext
21930 ac_cpp='$CPP $CPPFLAGS'
21931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21938 rm -f core conftest.err conftest.$ac_objext \
21939 conftest$ac_exeext conftest.$ac_ext
21941 ac_cpp='$CPP $CPPFLAGS'
21942 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21943 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21944 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21948 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C" >&5
21949 $as_echo "$as_me: Enabling optimizations for C" >&6;}
21951 _svn_xxflags__save="$CFLAGS"
21953 ac_cpp='$CPP $CPPFLAGS'
21954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O3" >&5
21959 $as_echo_n "checking if $CC accepts -O3... " >&6; }
21960 CFLAGS="-O3 $CFLAGS"
21961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21962 /* end confdefs.h. */
21963 int main(void){return 0;}
21965 if ac_fn_c_try_link "$LINENO"; then :
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21968 $as_echo "yes" >&6; }
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21974 $as_echo "no" >&6; }
21975 CFLAGS="$_svn_xxflags__save"
21978 _svn_xxflags__save="$CFLAGS"
21980 ac_cpp='$CPP $CPPFLAGS'
21981 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21982 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21983 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O2" >&5
21986 $as_echo_n "checking if $CC accepts -O2... " >&6; }
21987 CFLAGS="-O2 $CFLAGS"
21988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21989 /* end confdefs.h. */
21990 int main(void){return 0;}
21992 if ac_fn_c_try_link "$LINENO"; then :
21994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21995 $as_echo "yes" >&6; }
22000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22001 $as_echo "no" >&6; }
22002 CFLAGS="$_svn_xxflags__save"
22005 _svn_xxflags__save="$CFLAGS"
22007 ac_cpp='$CPP $CPPFLAGS'
22008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
22013 $as_echo_n "checking if $CC accepts -O1... " >&6; }
22014 CFLAGS="-O1 $CFLAGS"
22015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22016 /* end confdefs.h. */
22017 int main(void){return 0;}
22019 if ac_fn_c_try_link "$LINENO"; then :
22021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22022 $as_echo "yes" >&6; }
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22028 $as_echo "no" >&6; }
22029 CFLAGS="$_svn_xxflags__save"
22032 _svn_xxflags__save="$CFLAGS"
22034 ac_cpp='$CPP $CPPFLAGS'
22035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
22040 $as_echo_n "checking if $CC accepts -O... " >&6; }
22041 CFLAGS="-O $CFLAGS"
22042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22043 /* end confdefs.h. */
22044 int main(void){return 0;}
22046 if ac_fn_c_try_link "$LINENO"; then :
22048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22049 $as_echo "yes" >&6; }
22054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22055 $as_echo "no" >&6; }
22056 CFLAGS="$_svn_xxflags__save"
22060 rm -f core conftest.err conftest.$ac_objext \
22061 conftest$ac_exeext conftest.$ac_ext
22063 ac_cpp='$CPP $CPPFLAGS'
22064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22071 rm -f core conftest.err conftest.$ac_objext \
22072 conftest$ac_exeext conftest.$ac_ext
22074 ac_cpp='$CPP $CPPFLAGS'
22075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22082 rm -f core conftest.err conftest.$ac_objext \
22083 conftest$ac_exeext conftest.$ac_ext
22085 ac_cpp='$CPP $CPPFLAGS'
22086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22093 rm -f core conftest.err conftest.$ac_objext \
22094 conftest$ac_exeext conftest.$ac_ext
22096 ac_cpp='$CPP $CPPFLAGS'
22097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22103 _svn_xxflags__save="$CFLAGS"
22105 ac_cpp='$CPP $CPPFLAGS'
22106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-clobbered" >&5
22111 $as_echo_n "checking if $CC accepts -Wno-clobbered... " >&6; }
22112 CFLAGS="-Wno-clobbered $CFLAGS"
22113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22114 /* end confdefs.h. */
22115 int main(void){return 0;}
22117 if ac_fn_c_try_link "$LINENO"; then :
22119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22120 $as_echo "yes" >&6; }
22125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22126 $as_echo "no" >&6; }
22127 CFLAGS="$_svn_xxflags__save"
22131 rm -f core conftest.err conftest.$ac_objext \
22132 conftest$ac_exeext conftest.$ac_ext
22134 ac_cpp='$CPP $CPPFLAGS'
22135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22141 _svn_xxflags__save="$CFLAGS"
22143 ac_cpp='$CPP $CPPFLAGS'
22144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -flto" >&5
22149 $as_echo_n "checking if $CC accepts -flto... " >&6; }
22150 CFLAGS="-flto $CFLAGS"
22151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22152 /* end confdefs.h. */
22153 int main(void){return 0;}
22155 if ac_fn_c_try_link "$LINENO"; then :
22157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22158 $as_echo "yes" >&6; }
22163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22164 $as_echo "no" >&6; }
22165 CFLAGS="$_svn_xxflags__save"
22169 rm -f core conftest.err conftest.$ac_objext \
22170 conftest$ac_exeext conftest.$ac_ext
22172 ac_cpp='$CPP $CPPFLAGS'
22173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22180 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
22181 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22182 if test "$enable_debugging" = "yes"; then
22183 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++ (with debugging enabled)" >&5
22184 $as_echo "$as_me: Enabling optimizations for C++ (with debugging enabled)" >&6;}
22186 _svn_xxflags__save="$CXXFLAGS"
22188 ac_cpp='$CXXCPP $CPPFLAGS'
22189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
22194 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
22195 CXXFLAGS="-O1 $CXXFLAGS"
22196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22197 /* end confdefs.h. */
22200 if ac_fn_cxx_try_link "$LINENO"; then :
22202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22203 $as_echo "yes" >&6; }
22208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22209 $as_echo "no" >&6; }
22210 CXXFLAGS="$_svn_xxflags__save"
22213 _svn_xxflags__save="$CXXFLAGS"
22215 ac_cpp='$CXXCPP $CPPFLAGS'
22216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
22221 $as_echo_n "checking if $CXX accepts -O... " >&6; }
22222 CXXFLAGS="-O $CXXFLAGS"
22223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22224 /* end confdefs.h. */
22227 if ac_fn_cxx_try_link "$LINENO"; then :
22229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22230 $as_echo "yes" >&6; }
22235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22236 $as_echo "no" >&6; }
22237 CXXFLAGS="$_svn_xxflags__save"
22241 rm -f core conftest.err conftest.$ac_objext \
22242 conftest$ac_exeext conftest.$ac_ext
22244 ac_cpp='$CXXCPP $CPPFLAGS'
22245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22252 rm -f core conftest.err conftest.$ac_objext \
22253 conftest$ac_exeext conftest.$ac_ext
22255 ac_cpp='$CPP $CPPFLAGS'
22256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22262 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++" >&5
22263 $as_echo "$as_me: Enabling optimizations for C++" >&6;}
22265 _svn_xxflags__save="$CXXFLAGS"
22267 ac_cpp='$CXXCPP $CPPFLAGS'
22268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O3" >&5
22273 $as_echo_n "checking if $CXX accepts -O3... " >&6; }
22274 CXXFLAGS="-O3 $CXXFLAGS"
22275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22276 /* end confdefs.h. */
22279 if ac_fn_cxx_try_link "$LINENO"; then :
22281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22282 $as_echo "yes" >&6; }
22287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22288 $as_echo "no" >&6; }
22289 CXXFLAGS="$_svn_xxflags__save"
22292 _svn_xxflags__save="$CXXFLAGS"
22294 ac_cpp='$CXXCPP $CPPFLAGS'
22295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O2" >&5
22300 $as_echo_n "checking if $CXX accepts -O2... " >&6; }
22301 CXXFLAGS="-O2 $CXXFLAGS"
22302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22303 /* end confdefs.h. */
22306 if ac_fn_cxx_try_link "$LINENO"; then :
22308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22309 $as_echo "yes" >&6; }
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22315 $as_echo "no" >&6; }
22316 CXXFLAGS="$_svn_xxflags__save"
22319 _svn_xxflags__save="$CXXFLAGS"
22321 ac_cpp='$CXXCPP $CPPFLAGS'
22322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
22327 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
22328 CXXFLAGS="-O1 $CXXFLAGS"
22329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22330 /* end confdefs.h. */
22333 if ac_fn_cxx_try_link "$LINENO"; then :
22335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22336 $as_echo "yes" >&6; }
22341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22342 $as_echo "no" >&6; }
22343 CXXFLAGS="$_svn_xxflags__save"
22346 _svn_xxflags__save="$CXXFLAGS"
22348 ac_cpp='$CXXCPP $CPPFLAGS'
22349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
22354 $as_echo_n "checking if $CXX accepts -O... " >&6; }
22355 CXXFLAGS="-O $CXXFLAGS"
22356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22357 /* end confdefs.h. */
22360 if ac_fn_cxx_try_link "$LINENO"; then :
22362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22363 $as_echo "yes" >&6; }
22368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22369 $as_echo "no" >&6; }
22370 CXXFLAGS="$_svn_xxflags__save"
22374 rm -f core conftest.err conftest.$ac_objext \
22375 conftest$ac_exeext conftest.$ac_ext
22377 ac_cpp='$CXXCPP $CPPFLAGS'
22378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22385 rm -f core conftest.err conftest.$ac_objext \
22386 conftest$ac_exeext conftest.$ac_ext
22388 ac_cpp='$CXXCPP $CPPFLAGS'
22389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22396 rm -f core conftest.err conftest.$ac_objext \
22397 conftest$ac_exeext conftest.$ac_ext
22399 ac_cpp='$CXXCPP $CPPFLAGS'
22400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22407 rm -f core conftest.err conftest.$ac_objext \
22408 conftest$ac_exeext conftest.$ac_ext
22410 ac_cpp='$CPP $CPPFLAGS'
22411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22417 _svn_xxflags__save="$CXXFLAGS"
22419 ac_cpp='$CXXCPP $CPPFLAGS'
22420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-clobbered" >&5
22425 $as_echo_n "checking if $CXX accepts -Wno-clobbered... " >&6; }
22426 CXXFLAGS="-Wno-clobbered $CXXFLAGS"
22427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22428 /* end confdefs.h. */
22431 if ac_fn_cxx_try_link "$LINENO"; then :
22433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22434 $as_echo "yes" >&6; }
22439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22440 $as_echo "no" >&6; }
22441 CXXFLAGS="$_svn_xxflags__save"
22445 rm -f core conftest.err conftest.$ac_objext \
22446 conftest$ac_exeext conftest.$ac_ext
22448 ac_cpp='$CPP $CPPFLAGS'
22449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22455 _svn_xxflags__save="$CXXFLAGS"
22457 ac_cpp='$CXXCPP $CPPFLAGS'
22458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -flto" >&5
22463 $as_echo_n "checking if $CXX accepts -flto... " >&6; }
22464 CXXFLAGS="-flto $CXXFLAGS"
22465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22466 /* end confdefs.h. */
22469 if ac_fn_cxx_try_link "$LINENO"; then :
22471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22472 $as_echo "yes" >&6; }
22477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22478 $as_echo "no" >&6; }
22479 CXXFLAGS="$_svn_xxflags__save"
22483 rm -f core conftest.err conftest.$ac_objext \
22484 conftest$ac_exeext conftest.$ac_ext
22486 ac_cpp='$CPP $CPPFLAGS'
22487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494 elif test "$enable_optimization" = "no"; then
22495 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations" >&5
22496 $as_echo "$as_me: Disabling optimizations" >&6;}
22497 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22498 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22499 # elif test "$enable_optimization" = "maybe" ; then
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: C compiler flags: $CFLAGS" >&5
22504 $as_echo "$as_me: C compiler flags: $CFLAGS" >&6;}
22505 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CUSERFLAGS" >&5
22506 $as_echo "$as_me: user-defined: $CUSERFLAGS" >&6;}
22507 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CMAINTAINERFLAGS" >&5
22508 $as_echo "$as_me: maintainer-mode: $CMAINTAINERFLAGS" >&6;}
22509 { $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler flags: $CXXFLAGS" >&5
22510 $as_echo "$as_me: C++ compiler flags: $CXXFLAGS" >&6;}
22511 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CXXUSERFLAGS" >&5
22512 $as_echo "$as_me: user-defined: $CXXUSERFLAGS" >&6;}
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CXXMAINTAINERFLAGS" >&5
22514 $as_echo "$as_me: maintainer-mode: $CXXMAINTAINERFLAGS" >&6;}
22516 # Check whether --enable-full-version-match was given.
22517 if test "${enable_full_version_match+set}" = set; then :
22518 enableval=$enable_full_version_match;
22519 if test "$enableval" = "no" ; then
22520 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling svn full version matching" >&5
22521 $as_echo "$as_me: Disabling svn full version matching" >&6;}
22523 $as_echo "#define SVN_DISABLE_FULL_VERSION_MATCH 1" >>confdefs.h
22531 # Check whether --with-editor was given.
22532 if test "${with_editor+set}" = set; then :
22533 withval=$with_editor;
22535 if test "$withval" = "yes" ; then
22536 as_fn_error $? "--with-editor requires an argument." "$LINENO" 5
22538 SVN_CLIENT_EDITOR=$withval
22540 cat >>confdefs.h <<_ACEOF
22541 #define SVN_CLIENT_EDITOR "$SVN_CLIENT_EDITOR"
22555 # Check whether --with-zlib was given.
22556 if test "${with_zlib+set}" = set; then :
22557 withval=$with_zlib;
22558 if test "$withval" = "yes" ; then
22559 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
22560 if test "x$ac_cv_header_zlib_h" = xyes; then :
22562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
22563 $as_echo_n "checking for inflate in -lz... " >&6; }
22564 if ${ac_cv_lib_z_inflate+:} false; then :
22565 $as_echo_n "(cached) " >&6
22567 ac_check_lib_save_LIBS=$LIBS
22569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570 /* end confdefs.h. */
22572 /* Override any GCC internal prototype to avoid an error.
22573 Use char because int might match the return type of a GCC
22574 builtin and then its argument prototype would still apply. */
22587 if ac_fn_c_try_link "$LINENO"; then :
22588 ac_cv_lib_z_inflate=yes
22590 ac_cv_lib_z_inflate=no
22592 rm -f core conftest.err conftest.$ac_objext \
22593 conftest$ac_exeext conftest.$ac_ext
22594 LIBS=$ac_check_lib_save_LIBS
22596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
22597 $as_echo "$ac_cv_lib_z_inflate" >&6; }
22598 if test "x$ac_cv_lib_z_inflate" = xyes; then :
22599 zlib_found="builtin"
22606 elif test "$withval" = "no" ; then
22607 as_fn_error $? "cannot compile without zlib." "$LINENO" 5
22609 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration" >&5
22610 $as_echo "$as_me: zlib library configuration" >&6;}
22611 zlib_prefix=$withval
22612 save_cppflags="$CPPFLAGS"
22613 CPPFLAGS="$CPPFLAGS -I$zlib_prefix/include"
22614 for ac_header in zlib.h
22616 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
22617 if test "x$ac_cv_header_zlib_h" = xyes; then :
22618 cat >>confdefs.h <<_ACEOF
22619 #define HAVE_ZLIB_H 1
22622 save_ldflags="$LDFLAGS"
22623 LDFLAGS="$LDFLAGS -L$zlib_prefix/lib"
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
22625 $as_echo_n "checking for inflate in -lz... " >&6; }
22626 if ${ac_cv_lib_z_inflate+:} false; then :
22627 $as_echo_n "(cached) " >&6
22629 ac_check_lib_save_LIBS=$LIBS
22631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22632 /* end confdefs.h. */
22634 /* Override any GCC internal prototype to avoid an error.
22635 Use char because int might match the return type of a GCC
22636 builtin and then its argument prototype would still apply. */
22649 if ac_fn_c_try_link "$LINENO"; then :
22650 ac_cv_lib_z_inflate=yes
22652 ac_cv_lib_z_inflate=no
22654 rm -f core conftest.err conftest.$ac_objext \
22655 conftest$ac_exeext conftest.$ac_ext
22656 LIBS=$ac_check_lib_save_LIBS
22658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
22659 $as_echo "$ac_cv_lib_z_inflate" >&6; }
22660 if test "x$ac_cv_lib_z_inflate" = xyes; then :
22664 LDFLAGS="$save_ldflags"
22670 CPPFLAGS="$save_cppflags"
22675 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
22676 if test "x$ac_cv_header_zlib_h" = xyes; then :
22678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
22679 $as_echo_n "checking for inflate in -lz... " >&6; }
22680 if ${ac_cv_lib_z_inflate+:} false; then :
22681 $as_echo_n "(cached) " >&6
22683 ac_check_lib_save_LIBS=$LIBS
22685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22686 /* end confdefs.h. */
22688 /* Override any GCC internal prototype to avoid an error.
22689 Use char because int might match the return type of a GCC
22690 builtin and then its argument prototype would still apply. */
22703 if ac_fn_c_try_link "$LINENO"; then :
22704 ac_cv_lib_z_inflate=yes
22706 ac_cv_lib_z_inflate=no
22708 rm -f core conftest.err conftest.$ac_objext \
22709 conftest$ac_exeext conftest.$ac_ext
22710 LIBS=$ac_check_lib_save_LIBS
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
22713 $as_echo "$ac_cv_lib_z_inflate" >&6; }
22714 if test "x$ac_cv_lib_z_inflate" = xyes; then :
22715 zlib_found="builtin"
22726 if test "$zlib_found" = "no"; then
22727 as_fn_error $? "subversion requires zlib" "$LINENO" 5
22730 if test "$zlib_found" = "yes"; then
22731 SVN_ZLIB_INCLUDES="-I$zlib_prefix/include"
22732 LDFLAGS="$LDFLAGS `
22733 input_flags="-L$zlib_prefix/lib"
22735 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
22736 for flag in $input_flags; do
22738 for dir in $filtered_dirs; do
22739 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
22744 if test "$filter" = "no"; then
22745 output_flags="$output_flags $flag"
22748 if test -n "$output_flags"; then
22749 printf "%s" "${output_flags# }"
22754 SVN_ZLIB_LIBS="-lz"
22761 # Check whether --enable-mod-activation was given.
22762 if test "${enable_mod_activation+set}" = set; then :
22763 enableval=$enable_mod_activation;
22764 if test "$enableval" = "yes" ; then
22765 MOD_ACTIVATION="-a"
22766 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling apache module activation" >&5
22767 $as_echo "$as_me: Enabling apache module activation" >&6;}
22769 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling apache module activation" >&5
22770 $as_echo "$as_me: Disabling apache module activation" >&6;}
22779 # Check whether --enable-gcov was given.
22780 if test "${enable_gcov+set}" = set; then :
22781 enableval=$enable_gcov;
22782 if test "$enableval" = "yes" ; then
22783 if test "$GCC" = "yes"; then
22784 if test "$svn_enable_shared" = "yes" ; then
22785 as_fn_error $? "Can't have --enable-gcov without --disable-shared (we
22786 recommend also using --enable-all-static)." "$LINENO" 5
22788 if test ! "$enable_all_static" = "yes" ; then
22789 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gcov." >&5
22790 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gcov." >&2;}
22792 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gcov coverage testing." >&5
22793 $as_echo "$as_me: Enabling gcov coverage testing." >&6;}
22794 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
22795 CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
22797 as_fn_error $? "We only support --enable-gcov with GCC right now." "$LINENO" 5
22804 # Check whether --enable-gprof was given.
22805 if test "${enable_gprof+set}" = set; then :
22806 enableval=$enable_gprof;
22807 if test "$enableval" = "yes" ; then
22808 if test "$GCC" = "yes"; then
22809 if test "$svn_enable_shared" = "yes" ; then
22810 as_fn_error $? "Can't have --enable-gprof without --disable-shared (we
22811 recommend also using --enable-all-static)." "$LINENO" 5
22813 if test ! "$enable_all_static" = "yes" ; then
22814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gprof." >&5
22815 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gprof." >&2;}
22817 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gprof profiling data (to gmon.out)." >&5
22818 $as_echo "$as_me: Enabling gprof profiling data (to gmon.out)." >&6;}
22819 CFLAGS="$CFLAGS -pg"
22820 CXXFLAGS="$CXXFLAGS -pg"
22821 LT_LDFLAGS="$LT_LDFLAGS -pg"
22823 as_fn_error $? "We only support --enable-gprof with GCC right now." "$LINENO" 5
22831 # Scripting and Bindings languages
22833 # Python: Used for testsuite, and bindings
22836 PYTHON="`$abs_srcdir/build/find_python.sh`"
22837 if test -z "$PYTHON"; then
22838 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.7 or later is required to run the testsuite" >&5
22839 $as_echo "$as_me: WARNING: Python 2.7 or later is required to run the testsuite" >&2;}
22840 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or to use the Subversion Python bindings" >&5
22841 $as_echo "$as_me: WARNING: or to use the Subversion Python bindings" >&2;}
22842 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
22843 $as_echo "$as_me: WARNING: " >&2;}
22844 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you have a suitable Python installed, but not on the" >&5
22845 $as_echo "$as_me: WARNING: If you have a suitable Python installed, but not on the" >&2;}
22846 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PATH, set the environment variable PYTHON to the full path" >&5
22847 $as_echo "$as_me: WARNING: PATH, set the environment variable PYTHON to the full path" >&2;}
22848 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to the Python executable, and re-run configure" >&5
22849 $as_echo "$as_me: WARNING: to the Python executable, and re-run configure" >&2;}
22851 for ac_prog in "$PYTHON"
22853 # Extract the first word of "$ac_prog", so it can be a program name with args.
22854 set dummy $ac_prog; ac_word=$2
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22856 $as_echo_n "checking for $ac_word... " >&6; }
22857 if ${ac_cv_path_PYTHON+:} false; then :
22858 $as_echo_n "(cached) " >&6
22862 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22866 for as_dir in $PATH
22869 test -z "$as_dir" && as_dir=.
22870 for ac_exec_ext in '' $ac_executable_extensions; do
22871 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22872 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22873 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22883 PYTHON=$ac_cv_path_PYTHON
22884 if test -n "$PYTHON"; then
22885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22886 $as_echo "$PYTHON" >&6; }
22888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22889 $as_echo "no" >&6; }
22893 test -n "$PYTHON" && break
22895 test -n "$PYTHON" || PYTHON="none"
22898 # The minimum version for the JVM runtime for our Java bytecode.
22899 JAVA_OLDEST_WORKING_VER='1.6'
22900 # SVN_CHECK_JDK sets $JAVA_CLASSPATH
22902 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22904 # Check whether --with-jdk was given.
22905 if test "${with_jdk+set}" = set; then :
22914 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22926 $as_echo_n "checking for JDK... " >&6; }
22927 if test $where = check; then
22928 if test -x "$JAVA_HOME/bin/java"; then
22930 elif test -x "/usr/libexec/java_home"; then
22931 JDK=`/usr/libexec/java_home`
22932 elif test -x "/Library/Java/Home/bin/java"; then
22933 JDK="/Library/Java/Home"
22934 elif test -x "/usr/bin/java"; then
22936 elif test -x "/usr/local/bin/java"; then
22944 if test "$os_arch" = "Darwin"; then
22945 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22947 if test "$OSX_VER" = "10.4"; then
22951 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22952 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22953 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22956 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22957 test -d "/Library/Java/Home"; then
22958 JDK="/Library/Java/Home"
22961 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22962 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22964 JRE_LIB_DIR="$JDK/jre/lib"
22967 if test -f "$JDK/include/jni.h"; then
22968 JNI_INCLUDEDIR="$JDK/include"
22970 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22971 JNI_INCLUDEDIR="$JDK/Headers"
22973 elif test "$os_arch" = "Darwin" &&
22974 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22975 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22977 elif test "$os_arch" = "Darwin" &&
22978 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22979 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22984 if test "$JDK_SUITABLE" = "yes"; then
22985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22986 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22989 $as_echo "no" >&6; }
22990 if test "$where" != "check"; then
22991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22992 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
22993 if test "$os_arch" = "Darwin"; then
22994 { $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
22995 $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;}
23000 if test "$JDK_SUITABLE" = "yes"; then
23001 JAVA_BIN='$(JDK)/bin'
23003 JAVA="$JAVA_BIN/java"
23004 JAVAC="$JAVA_BIN/javac"
23005 JAVAH="$JAVA_BIN/javah"
23006 JAVADOC="$JAVA_BIN/javadoc"
23007 JAR="$JAVA_BIN/jar"
23009 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
23011 # Check whether --with-jikes was given.
23012 if test "${with_jikes+set}" = set; then :
23013 withval=$with_jikes;
23014 if test "$withval" != "no" && test "$withval" != "yes"; then
23015 jikes_options="$withval $jikes_options"
23017 requested_jikes="$withval" # will be 'yes' if path unspecified
23021 if test "$requested_jikes" != "no"; then
23022 for jikes in $jikes_options; do
23023 if test -z "$jikes_found" && test -x "$jikes"; then
23026 JAVA_CLASSPATH="$JRE_LIB_DIR"
23027 for jar in $JRE_LIB_DIR/*.jar; do
23028 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
23033 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
23034 if test -z "$jikes_found"; then
23035 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
23036 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
23037 test "$JAVAC" != "$requested_jikes"; then
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
23039 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
23043 # The release for "-source" could actually be greater than that
23044 # of "-target", if we want to cross-compile for lesser JVMs.
23045 if test -z "$JAVAC_FLAGS"; then
23046 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23047 if test "$enable_debugging" = "yes"; then
23048 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23049 if test -z "$JAVAC_COMPAT_FLAGS"; then
23050 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23055 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23056 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23057 for dir in $list; do
23058 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23076 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
23088 $as_echo_n "checking for JDK... " >&6; }
23089 if test $where = check; then
23090 if test -x "$JAVA_HOME/bin/java"; then
23092 elif test -x "/usr/libexec/java_home"; then
23093 JDK=`/usr/libexec/java_home`
23094 elif test -x "/Library/Java/Home/bin/java"; then
23095 JDK="/Library/Java/Home"
23096 elif test -x "/usr/bin/java"; then
23098 elif test -x "/usr/local/bin/java"; then
23106 if test "$os_arch" = "Darwin"; then
23107 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
23109 if test "$OSX_VER" = "10.4"; then
23113 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
23114 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
23115 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
23118 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
23119 test -d "/Library/Java/Home"; then
23120 JDK="/Library/Java/Home"
23123 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
23124 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
23126 JRE_LIB_DIR="$JDK/jre/lib"
23129 if test -f "$JDK/include/jni.h"; then
23130 JNI_INCLUDEDIR="$JDK/include"
23132 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
23133 JNI_INCLUDEDIR="$JDK/Headers"
23135 elif test "$os_arch" = "Darwin" &&
23136 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
23137 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
23139 elif test "$os_arch" = "Darwin" &&
23140 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
23141 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
23146 if test "$JDK_SUITABLE" = "yes"; then
23147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
23148 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
23150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23151 $as_echo "no" >&6; }
23152 if test "$where" != "check"; then
23153 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
23154 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23155 if test "$os_arch" = "Darwin"; then
23156 { $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
23157 $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;}
23162 if test "$JDK_SUITABLE" = "yes"; then
23163 JAVA_BIN='$(JDK)/bin'
23165 JAVA="$JAVA_BIN/java"
23166 JAVAC="$JAVA_BIN/javac"
23167 JAVAH="$JAVA_BIN/javah"
23168 JAVADOC="$JAVA_BIN/javadoc"
23169 JAR="$JAVA_BIN/jar"
23171 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
23173 # Check whether --with-jikes was given.
23174 if test "${with_jikes+set}" = set; then :
23175 withval=$with_jikes;
23176 if test "$withval" != "no" && test "$withval" != "yes"; then
23177 jikes_options="$withval $jikes_options"
23179 requested_jikes="$withval" # will be 'yes' if path unspecified
23183 if test "$requested_jikes" != "no"; then
23184 for jikes in $jikes_options; do
23185 if test -z "$jikes_found" && test -x "$jikes"; then
23188 JAVA_CLASSPATH="$JRE_LIB_DIR"
23189 for jar in $JRE_LIB_DIR/*.jar; do
23190 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
23195 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
23196 if test -z "$jikes_found"; then
23197 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
23198 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
23199 test "$JAVAC" != "$requested_jikes"; then
23200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
23201 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
23205 # The release for "-source" could actually be greater than that
23206 # of "-target", if we want to cross-compile for lesser JVMs.
23207 if test -z "$JAVAC_FLAGS"; then
23208 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23209 if test "$enable_debugging" = "yes"; then
23210 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23211 if test -z "$JAVAC_COMPAT_FLAGS"; then
23212 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23217 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23218 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23219 for dir in $list; do
23220 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23241 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
23253 $as_echo_n "checking for JDK... " >&6; }
23254 if test $where = check; then
23255 if test -x "$JAVA_HOME/bin/java"; then
23257 elif test -x "/usr/libexec/java_home"; then
23258 JDK=`/usr/libexec/java_home`
23259 elif test -x "/Library/Java/Home/bin/java"; then
23260 JDK="/Library/Java/Home"
23261 elif test -x "/usr/bin/java"; then
23263 elif test -x "/usr/local/bin/java"; then
23271 if test "$os_arch" = "Darwin"; then
23272 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
23274 if test "$OSX_VER" = "10.4"; then
23278 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
23279 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
23280 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
23283 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
23284 test -d "/Library/Java/Home"; then
23285 JDK="/Library/Java/Home"
23288 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
23289 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
23291 JRE_LIB_DIR="$JDK/jre/lib"
23294 if test -f "$JDK/include/jni.h"; then
23295 JNI_INCLUDEDIR="$JDK/include"
23297 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
23298 JNI_INCLUDEDIR="$JDK/Headers"
23300 elif test "$os_arch" = "Darwin" &&
23301 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
23302 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
23304 elif test "$os_arch" = "Darwin" &&
23305 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
23306 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
23311 if test "$JDK_SUITABLE" = "yes"; then
23312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
23313 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
23315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23316 $as_echo "no" >&6; }
23317 if test "$where" != "check"; then
23318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
23319 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23320 if test "$os_arch" = "Darwin"; then
23321 { $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
23322 $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;}
23327 if test "$JDK_SUITABLE" = "yes"; then
23328 JAVA_BIN='$(JDK)/bin'
23330 JAVA="$JAVA_BIN/java"
23331 JAVAC="$JAVA_BIN/javac"
23332 JAVAH="$JAVA_BIN/javah"
23333 JAVADOC="$JAVA_BIN/javadoc"
23334 JAR="$JAVA_BIN/jar"
23336 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
23338 # Check whether --with-jikes was given.
23339 if test "${with_jikes+set}" = set; then :
23340 withval=$with_jikes;
23341 if test "$withval" != "no" && test "$withval" != "yes"; then
23342 jikes_options="$withval $jikes_options"
23344 requested_jikes="$withval" # will be 'yes' if path unspecified
23348 if test "$requested_jikes" != "no"; then
23349 for jikes in $jikes_options; do
23350 if test -z "$jikes_found" && test -x "$jikes"; then
23353 JAVA_CLASSPATH="$JRE_LIB_DIR"
23354 for jar in $JRE_LIB_DIR/*.jar; do
23355 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
23360 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
23361 if test -z "$jikes_found"; then
23362 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
23363 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
23364 test "$JAVAC" != "$requested_jikes"; then
23365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
23366 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
23370 # The release for "-source" could actually be greater than that
23371 # of "-target", if we want to cross-compile for lesser JVMs.
23372 if test -z "$JAVAC_FLAGS"; then
23373 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23374 if test "$enable_debugging" = "yes"; then
23375 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23376 if test -z "$JAVAC_COMPAT_FLAGS"; then
23377 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23382 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23383 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23384 for dir in $list; do
23385 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23404 # Extract the first word of "perl", so it can be a program name with args.
23405 set dummy perl; ac_word=$2
23406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23407 $as_echo_n "checking for $ac_word... " >&6; }
23408 if ${ac_cv_path_PERL+:} false; then :
23409 $as_echo_n "(cached) " >&6
23413 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
23416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23417 for as_dir in $PATH
23420 test -z "$as_dir" && as_dir=.
23421 for ac_exec_ext in '' $ac_executable_extensions; do
23422 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23423 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
23424 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23431 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
23435 PERL=$ac_cv_path_PERL
23436 if test -n "$PERL"; then
23437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
23438 $as_echo "$PERL" >&6; }
23440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23441 $as_echo "no" >&6; }
23446 if test -n "$RUBY"; then
23447 # Extract the first word of ""$RUBY"", so it can be a program name with args.
23448 set dummy "$RUBY"; ac_word=$2
23449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23450 $as_echo_n "checking for $ac_word... " >&6; }
23451 if ${ac_cv_path_RUBY+:} false; then :
23452 $as_echo_n "(cached) " >&6
23456 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
23459 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23460 for as_dir in $PATH
23463 test -z "$as_dir" && as_dir=.
23464 for ac_exec_ext in '' $ac_executable_extensions; do
23465 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23466 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
23467 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23474 test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="none"
23478 RUBY=$ac_cv_path_RUBY
23479 if test -n "$RUBY"; then
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
23481 $as_echo "$RUBY" >&6; }
23483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23484 $as_echo "no" >&6; }
23489 for ac_prog in ruby ruby1.8 ruby18 ruby1.9 ruby1 ruby1.9.3 ruby193 ruby2.0 ruby2.1
23491 # Extract the first word of "$ac_prog", so it can be a program name with args.
23492 set dummy $ac_prog; ac_word=$2
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23494 $as_echo_n "checking for $ac_word... " >&6; }
23495 if ${ac_cv_path_RUBY+:} false; then :
23496 $as_echo_n "(cached) " >&6
23500 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
23503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23504 for as_dir in $PATH
23507 test -z "$as_dir" && as_dir=.
23508 for ac_exec_ext in '' $ac_executable_extensions; do
23509 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23510 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
23511 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23521 RUBY=$ac_cv_path_RUBY
23522 if test -n "$RUBY"; then
23523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
23524 $as_echo "$RUBY" >&6; }
23526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23527 $as_echo "no" >&6; }
23531 test -n "$RUBY" && break
23533 test -n "$RUBY" || RUBY="none"
23536 if test "$RUBY" != "none"; then
23537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking rb_hash_foreach" >&5
23538 $as_echo_n "checking rb_hash_foreach... " >&6; }
23539 if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
23540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23541 $as_echo "yes" >&6; }
23542 if test -n "$RDOC"; then
23543 # Extract the first word of ""$RDOC"", so it can be a program name with args.
23544 set dummy "$RDOC"; ac_word=$2
23545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23546 $as_echo_n "checking for $ac_word... " >&6; }
23547 if ${ac_cv_path_RDOC+:} false; then :
23548 $as_echo_n "(cached) " >&6
23552 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
23555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23556 for as_dir in $PATH
23559 test -z "$as_dir" && as_dir=.
23560 for ac_exec_ext in '' $ac_executable_extensions; do
23561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23562 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
23563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23570 test -z "$ac_cv_path_RDOC" && ac_cv_path_RDOC="none"
23574 RDOC=$ac_cv_path_RDOC
23575 if test -n "$RDOC"; then
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
23577 $as_echo "$RDOC" >&6; }
23579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23580 $as_echo "no" >&6; }
23585 for ac_prog in rdoc rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193 rdoc2.0 rdoc2.1
23587 # Extract the first word of "$ac_prog", so it can be a program name with args.
23588 set dummy $ac_prog; ac_word=$2
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23590 $as_echo_n "checking for $ac_word... " >&6; }
23591 if ${ac_cv_path_RDOC+:} false; then :
23592 $as_echo_n "(cached) " >&6
23596 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
23599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23600 for as_dir in $PATH
23603 test -z "$as_dir" && as_dir=.
23604 for ac_exec_ext in '' $ac_executable_extensions; do
23605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23606 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
23607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23617 RDOC=$ac_cv_path_RDOC
23618 if test -n "$RDOC"; then
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
23620 $as_echo "$RDOC" >&6; }
23622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23623 $as_echo "no" >&6; }
23627 test -n "$RDOC" && break
23629 test -n "$RDOC" || RDOC="none"
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby major version" >&5
23633 $as_echo_n "checking for Ruby major version... " >&6; }
23634 if ${svn_cv_ruby_major+:} false; then :
23635 $as_echo_n "(cached) " >&6
23638 svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
23641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_major" >&5
23642 $as_echo "$svn_cv_ruby_major" >&6; }
23643 RUBY_MAJOR="$svn_cv_ruby_major"
23645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby minor version" >&5
23646 $as_echo_n "checking for Ruby minor version... " >&6; }
23647 if ${svn_cv_ruby_minor+:} false; then :
23648 $as_echo_n "(cached) " >&6
23651 svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
23654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_minor" >&5
23655 $as_echo "$svn_cv_ruby_minor" >&6; }
23656 RUBY_MINOR="$svn_cv_ruby_minor"
23658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby teeny version" >&5
23659 $as_echo_n "checking for Ruby teeny version... " >&6; }
23660 if ${svn_cv_ruby_teeny+:} false; then :
23661 $as_echo_n "(cached) " >&6
23664 svn_cv_ruby_teeny="`$RUBY -rrbconfig -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
23667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_teeny" >&5
23668 $as_echo "$svn_cv_ruby_teeny" >&6; }
23669 RUBY_TEENY="$svn_cv_ruby_teeny"
23674 if test \( "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -gt "8" -a "$RUBY_TEENY" -lt "3" \); then
23675 # Disallow Ruby between 1.8.7 and 1.9.3
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&5
23678 $as_echo "$as_me: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&2;}
23679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&5
23680 $as_echo "$as_me: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&2;}
23683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23684 $as_echo "no" >&6; }
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is too old for Subversion to use" >&5
23687 $as_echo "$as_me: WARNING: The detected Ruby is too old for Subversion to use" >&2;}
23688 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&5
23689 $as_echo "$as_me: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&2;}
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Ruby bindings" >&5
23691 $as_echo "$as_me: WARNING: Subversion Ruby bindings" >&2;}
23692 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Upgrade to the official 1.8.2 release, or later" >&5
23693 $as_echo "$as_me: WARNING: Upgrade to the official 1.8.2 release, or later" >&2;}
23699 # Check whether --with-swig was given.
23700 if test "${with_swig+set}" = set; then :
23701 withval=$with_swig;
23708 if test $where = no; then
23710 elif test $where = check; then
23711 # Extract the first word of "swig", so it can be a program name with args.
23712 set dummy swig; ac_word=$2
23713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23714 $as_echo_n "checking for $ac_word... " >&6; }
23715 if ${ac_cv_path_SWIG+:} false; then :
23716 $as_echo_n "(cached) " >&6
23720 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
23723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23724 for as_dir in $PATH
23727 test -z "$as_dir" && as_dir=.
23728 for ac_exec_ext in '' $ac_executable_extensions; do
23729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23730 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
23731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23738 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
23742 SWIG=$ac_cv_path_SWIG
23743 if test -n "$SWIG"; then
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
23745 $as_echo "$SWIG" >&6; }
23747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23748 $as_echo "no" >&6; }
23753 if test -f "$where"; then
23756 SWIG="$where/bin/swig"
23758 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
23759 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
23763 if test "$SWIG" != "none"; then
23764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
23765 $as_echo_n "checking swig version... " >&6; }
23766 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
23767 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
23768 # We want the version as an integer so we can test against
23769 # which version we're using. SWIG doesn't provide this
23770 # to us so we have to come up with it on our own.
23771 # The major is passed straight through,
23772 # the minor is zero padded to two places,
23773 # and the patch level is zero padded to three places.
23774 # e.g. 1.3.24 becomes 103024
23775 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
23776 $SED -e 's/[^0-9\.].*$//' \
23777 -e 's/\.\([0-9]\)$/.0\1/' \
23778 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
23779 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
23780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
23781 $as_echo "$SWIG_VERSION_RAW" >&6; }
23782 # If you change the required swig version number, don't forget to update:
23783 # subversion/bindings/swig/INSTALL
23784 # packages/rpm/redhat-8+/subversion.spec
23785 # packages/rpm/redhat-7.x/subversion.spec
23786 # packages/rpm/rhel-3/subversion.spec
23787 # packages/rpm/rhel-4/subversion.spec
23788 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
23789 test "$SWIG_VERSION" -lt "300000"; then
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23794 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
23796 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
23800 SWIG_PY_COMPILE="none"
23801 SWIG_PY_LINK="none"
23802 if test "$PYTHON" != "none"; then
23803 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
23804 $as_echo "$as_me: Configuring python swig binding" >&6;}
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
23807 $as_echo_n "checking for Python includes... " >&6; }
23808 if ${ac_cv_python_includes+:} false; then :
23809 $as_echo_n "(cached) " >&6
23812 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
23816 $as_echo "$ac_cv_python_includes" >&6; }
23817 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
23819 if test "$ac_cv_python_includes" = "none"; then
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
23821 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
23824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
23825 $as_echo_n "checking for compiling Python extensions... " >&6; }
23826 if ${ac_cv_python_compile+:} false; then :
23827 $as_echo_n "(cached) " >&6
23830 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
23833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
23834 $as_echo "$ac_cv_python_compile" >&6; }
23835 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
23838 $as_echo_n "checking for linking Python extensions... " >&6; }
23839 if ${ac_cv_python_link+:} false; then :
23840 $as_echo_n "(cached) " >&6
23843 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
23846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
23847 $as_echo "$ac_cv_python_link" >&6; }
23848 SWIG_PY_LINK="$ac_cv_python_link"
23850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
23851 $as_echo_n "checking for linking Python libraries... " >&6; }
23852 if ${ac_cv_python_libs+:} false; then :
23853 $as_echo_n "(cached) " >&6
23856 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
23859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
23860 $as_echo "$ac_cv_python_libs" >&6; }
23862 input_flags="$ac_cv_python_libs"
23864 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23865 for flag in $input_flags; do
23867 for dir in $filtered_dirs; do
23868 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23873 if test "$filter" = "no"; then
23874 output_flags="$output_flags $flag"
23877 if test -n "$output_flags"; then
23878 printf "%s" "${output_flags# }"
23882 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
23883 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
23884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
23885 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
23886 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
23887 $as_echo_n "(cached) " >&6
23890 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23892 /* end confdefs.h. */
23894 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23896 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23897 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
23898 svn_cv_pycfmt_apr_int64_t="L"
23903 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905 /* end confdefs.h. */
23908 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23910 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23911 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
23912 svn_cv_pycfmt_apr_int64_t="l"
23917 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23919 /* end confdefs.h. */
23921 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23923 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23924 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
23925 svn_cv_pycfmt_apr_int64_t="i"
23932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
23933 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
23934 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
23935 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23936 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
23939 cat >>confdefs.h <<_ACEOF
23940 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
23945 if test "$PERL" != "none"; then
23946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
23947 $as_echo_n "checking perl version... " >&6; }
23948 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
23949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
23950 $as_echo "$PERL_VERSION" >&6; }
23951 if test "$PERL_VERSION" -ge "5008000"; then
23952 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
23954 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
23955 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
23959 SWIG_RB_COMPILE="none"
23960 SWIG_RB_LINK="none"
23961 if test "$RUBY" != "none"; then
23962 rbconfig="$RUBY -rrbconfig -e "
23964 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
23965 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
23967 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
23968 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
23971 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
23972 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
23974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
23975 $as_echo_n "checking for Ruby include path... " >&6; }
23976 if ${svn_cv_ruby_includes+:} false; then :
23977 $as_echo_n "(cached) " >&6
23980 if test -d "$rbconfig_rubyhdrdir"; then
23981 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
23982 if test -d "$rbconfig_rubyarchhdrdir"; then
23983 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
23985 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
23988 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
23992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
23993 $as_echo "$svn_cv_ruby_includes" >&6; }
23994 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
23996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
23997 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
23998 if ${svn_cv_ruby_compile+:} false; then :
23999 $as_echo_n "(cached) " >&6
24002 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24006 $as_echo "$svn_cv_ruby_compile" >&6; }
24007 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24009 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24012 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24015 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24017 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24020 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24021 if ${svn_cv_ruby_link+:} false; then :
24022 $as_echo_n "(cached) " >&6
24025 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24026 $rbconfig_LDSHARED`"
24027 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24028 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24032 $as_echo "$svn_cv_ruby_link" >&6; }
24033 SWIG_RB_LINK="$svn_cv_ruby_link"
24035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24036 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24037 if ${ac_cv_ruby_libs+:} false; then :
24038 $as_echo_n "(cached) " >&6
24041 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24045 $as_echo "$ac_cv_ruby_libs" >&6; }
24047 input_flags="$ac_cv_ruby_libs"
24049 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24050 for flag in $input_flags; do
24052 for dir in $filtered_dirs; do
24053 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24058 if test "$filter" = "no"; then
24059 output_flags="$output_flags $flag"
24062 if test -n "$output_flags"; then
24063 printf "%s" "${output_flags# }"
24067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24068 $as_echo_n "checking for rb_errinfo... " >&6; }
24069 old_CFLAGS="$CFLAGS"
24071 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24073 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24076 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24079 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24081 LIBS="$SWIG_RB_LIBS"
24082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24083 /* end confdefs.h. */
24089 if ac_fn_c_try_link "$LINENO"; then :
24090 have_rb_errinfo="yes"
24092 have_rb_errinfo="no"
24094 rm -f core conftest.err conftest.$ac_objext \
24095 conftest$ac_exeext conftest.$ac_ext
24096 if test "$have_rb_errinfo" = "yes"; then
24097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24098 $as_echo "yes" >&6; }
24100 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24104 $as_echo "no" >&6; }
24106 CFLAGS="$old_CFLAGS"
24109 if ${svn_cv_ruby_sitedir+:} false; then :
24110 $as_echo_n "(cached) " >&6
24113 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24118 # Check whether --with-ruby-sitedir was given.
24119 if test "${with_ruby_sitedir+set}" = set; then :
24120 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24122 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24127 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24128 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24129 $as_echo_n "(cached) " >&6
24132 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24133 $SED -e "s,^$rbconfig_sitedir,,"`"
24137 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24139 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24142 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24143 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24144 $as_echo_n "(cached) " >&6
24147 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24148 $SED -e "s,^$rbconfig_sitedir,,"`"
24152 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24154 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24157 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24158 if ${svn_cv_ruby_test_verbose+:} false; then :
24159 $as_echo_n "(cached) " >&6
24162 svn_cv_ruby_test_verbose="normal"
24167 # Check whether --with-ruby-test-verbose was given.
24168 if test "${with_ruby_test_verbose+set}" = set; then :
24169 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24171 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24174 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24176 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24197 if test $where = no; then
24199 elif test $where = check; then
24200 # Extract the first word of "swig", so it can be a program name with args.
24201 set dummy swig; ac_word=$2
24202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24203 $as_echo_n "checking for $ac_word... " >&6; }
24204 if ${ac_cv_path_SWIG+:} false; then :
24205 $as_echo_n "(cached) " >&6
24209 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24213 for as_dir in $PATH
24216 test -z "$as_dir" && as_dir=.
24217 for ac_exec_ext in '' $ac_executable_extensions; do
24218 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24219 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24220 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24227 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24231 SWIG=$ac_cv_path_SWIG
24232 if test -n "$SWIG"; then
24233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24234 $as_echo "$SWIG" >&6; }
24236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24237 $as_echo "no" >&6; }
24242 if test -f "$where"; then
24245 SWIG="$where/bin/swig"
24247 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24248 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24252 if test "$SWIG" != "none"; then
24253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24254 $as_echo_n "checking swig version... " >&6; }
24255 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24256 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24257 # We want the version as an integer so we can test against
24258 # which version we're using. SWIG doesn't provide this
24259 # to us so we have to come up with it on our own.
24260 # The major is passed straight through,
24261 # the minor is zero padded to two places,
24262 # and the patch level is zero padded to three places.
24263 # e.g. 1.3.24 becomes 103024
24264 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24265 $SED -e 's/[^0-9\.].*$//' \
24266 -e 's/\.\([0-9]\)$/.0\1/' \
24267 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24268 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24270 $as_echo "$SWIG_VERSION_RAW" >&6; }
24271 # If you change the required swig version number, don't forget to update:
24272 # subversion/bindings/swig/INSTALL
24273 # packages/rpm/redhat-8+/subversion.spec
24274 # packages/rpm/redhat-7.x/subversion.spec
24275 # packages/rpm/rhel-3/subversion.spec
24276 # packages/rpm/rhel-4/subversion.spec
24277 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
24278 test "$SWIG_VERSION" -lt "300000"; then
24282 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24283 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
24285 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
24289 SWIG_PY_COMPILE="none"
24290 SWIG_PY_LINK="none"
24291 if test "$PYTHON" != "none"; then
24292 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24293 $as_echo "$as_me: Configuring python swig binding" >&6;}
24295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24296 $as_echo_n "checking for Python includes... " >&6; }
24297 if ${ac_cv_python_includes+:} false; then :
24298 $as_echo_n "(cached) " >&6
24301 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24305 $as_echo "$ac_cv_python_includes" >&6; }
24306 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24308 if test "$ac_cv_python_includes" = "none"; then
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24310 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24314 $as_echo_n "checking for compiling Python extensions... " >&6; }
24315 if ${ac_cv_python_compile+:} false; then :
24316 $as_echo_n "(cached) " >&6
24319 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24323 $as_echo "$ac_cv_python_compile" >&6; }
24324 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24327 $as_echo_n "checking for linking Python extensions... " >&6; }
24328 if ${ac_cv_python_link+:} false; then :
24329 $as_echo_n "(cached) " >&6
24332 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24336 $as_echo "$ac_cv_python_link" >&6; }
24337 SWIG_PY_LINK="$ac_cv_python_link"
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24340 $as_echo_n "checking for linking Python libraries... " >&6; }
24341 if ${ac_cv_python_libs+:} false; then :
24342 $as_echo_n "(cached) " >&6
24345 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24349 $as_echo "$ac_cv_python_libs" >&6; }
24351 input_flags="$ac_cv_python_libs"
24353 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24354 for flag in $input_flags; do
24356 for dir in $filtered_dirs; do
24357 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24362 if test "$filter" = "no"; then
24363 output_flags="$output_flags $flag"
24366 if test -n "$output_flags"; then
24367 printf "%s" "${output_flags# }"
24371 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24372 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24374 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24375 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24376 $as_echo_n "(cached) " >&6
24379 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24381 /* end confdefs.h. */
24383 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24385 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24386 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24387 svn_cv_pycfmt_apr_int64_t="L"
24392 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24394 /* end confdefs.h. */
24397 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24399 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24400 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24401 svn_cv_pycfmt_apr_int64_t="l"
24406 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24408 /* end confdefs.h. */
24410 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24412 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24413 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24414 svn_cv_pycfmt_apr_int64_t="i"
24421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24422 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24423 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24424 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24425 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24428 cat >>confdefs.h <<_ACEOF
24429 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24434 if test "$PERL" != "none"; then
24435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24436 $as_echo_n "checking perl version... " >&6; }
24437 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24439 $as_echo "$PERL_VERSION" >&6; }
24440 if test "$PERL_VERSION" -ge "5008000"; then
24441 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24444 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24448 SWIG_RB_COMPILE="none"
24449 SWIG_RB_LINK="none"
24450 if test "$RUBY" != "none"; then
24451 rbconfig="$RUBY -rrbconfig -e "
24453 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24454 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
24456 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24457 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24460 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24461 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24464 $as_echo_n "checking for Ruby include path... " >&6; }
24465 if ${svn_cv_ruby_includes+:} false; then :
24466 $as_echo_n "(cached) " >&6
24469 if test -d "$rbconfig_rubyhdrdir"; then
24470 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
24471 if test -d "$rbconfig_rubyarchhdrdir"; then
24472 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
24474 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24477 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24482 $as_echo "$svn_cv_ruby_includes" >&6; }
24483 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24486 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24487 if ${svn_cv_ruby_compile+:} false; then :
24488 $as_echo_n "(cached) " >&6
24491 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24495 $as_echo "$svn_cv_ruby_compile" >&6; }
24496 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24498 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24501 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24504 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24506 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24509 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24510 if ${svn_cv_ruby_link+:} false; then :
24511 $as_echo_n "(cached) " >&6
24514 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24515 $rbconfig_LDSHARED`"
24516 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24517 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24521 $as_echo "$svn_cv_ruby_link" >&6; }
24522 SWIG_RB_LINK="$svn_cv_ruby_link"
24524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24525 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24526 if ${ac_cv_ruby_libs+:} false; then :
24527 $as_echo_n "(cached) " >&6
24530 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24534 $as_echo "$ac_cv_ruby_libs" >&6; }
24536 input_flags="$ac_cv_ruby_libs"
24538 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24539 for flag in $input_flags; do
24541 for dir in $filtered_dirs; do
24542 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24547 if test "$filter" = "no"; then
24548 output_flags="$output_flags $flag"
24551 if test -n "$output_flags"; then
24552 printf "%s" "${output_flags# }"
24556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24557 $as_echo_n "checking for rb_errinfo... " >&6; }
24558 old_CFLAGS="$CFLAGS"
24560 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24562 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24565 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24568 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24570 LIBS="$SWIG_RB_LIBS"
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24578 if ac_fn_c_try_link "$LINENO"; then :
24579 have_rb_errinfo="yes"
24581 have_rb_errinfo="no"
24583 rm -f core conftest.err conftest.$ac_objext \
24584 conftest$ac_exeext conftest.$ac_ext
24585 if test "$have_rb_errinfo" = "yes"; then
24586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24587 $as_echo "yes" >&6; }
24589 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24593 $as_echo "no" >&6; }
24595 CFLAGS="$old_CFLAGS"
24598 if ${svn_cv_ruby_sitedir+:} false; then :
24599 $as_echo_n "(cached) " >&6
24602 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24607 # Check whether --with-ruby-sitedir was given.
24608 if test "${with_ruby_sitedir+set}" = set; then :
24609 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24611 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24616 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24617 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24618 $as_echo_n "(cached) " >&6
24621 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24622 $SED -e "s,^$rbconfig_sitedir,,"`"
24626 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24628 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24631 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24632 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24633 $as_echo_n "(cached) " >&6
24636 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24637 $SED -e "s,^$rbconfig_sitedir,,"`"
24641 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24643 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24646 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24647 if ${svn_cv_ruby_test_verbose+:} false; then :
24648 $as_echo_n "(cached) " >&6
24651 svn_cv_ruby_test_verbose="normal"
24656 # Check whether --with-ruby-test-verbose was given.
24657 if test "${with_ruby_test_verbose+set}" = set; then :
24658 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24660 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24663 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24665 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24686 if test $where = no; then
24688 elif test $where = check; then
24689 # Extract the first word of "swig", so it can be a program name with args.
24690 set dummy swig; ac_word=$2
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24692 $as_echo_n "checking for $ac_word... " >&6; }
24693 if ${ac_cv_path_SWIG+:} false; then :
24694 $as_echo_n "(cached) " >&6
24698 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24702 for as_dir in $PATH
24705 test -z "$as_dir" && as_dir=.
24706 for ac_exec_ext in '' $ac_executable_extensions; do
24707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24708 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24716 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24720 SWIG=$ac_cv_path_SWIG
24721 if test -n "$SWIG"; then
24722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24723 $as_echo "$SWIG" >&6; }
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24726 $as_echo "no" >&6; }
24731 if test -f "$where"; then
24734 SWIG="$where/bin/swig"
24736 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24737 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24741 if test "$SWIG" != "none"; then
24742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24743 $as_echo_n "checking swig version... " >&6; }
24744 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24745 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24746 # We want the version as an integer so we can test against
24747 # which version we're using. SWIG doesn't provide this
24748 # to us so we have to come up with it on our own.
24749 # The major is passed straight through,
24750 # the minor is zero padded to two places,
24751 # and the patch level is zero padded to three places.
24752 # e.g. 1.3.24 becomes 103024
24753 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24754 $SED -e 's/[^0-9\.].*$//' \
24755 -e 's/\.\([0-9]\)$/.0\1/' \
24756 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24757 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24759 $as_echo "$SWIG_VERSION_RAW" >&6; }
24760 # If you change the required swig version number, don't forget to update:
24761 # subversion/bindings/swig/INSTALL
24762 # packages/rpm/redhat-8+/subversion.spec
24763 # packages/rpm/redhat-7.x/subversion.spec
24764 # packages/rpm/rhel-3/subversion.spec
24765 # packages/rpm/rhel-4/subversion.spec
24766 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
24767 test "$SWIG_VERSION" -lt "300000"; then
24771 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24772 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
24774 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
24778 SWIG_PY_COMPILE="none"
24779 SWIG_PY_LINK="none"
24780 if test "$PYTHON" != "none"; then
24781 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24782 $as_echo "$as_me: Configuring python swig binding" >&6;}
24784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24785 $as_echo_n "checking for Python includes... " >&6; }
24786 if ${ac_cv_python_includes+:} false; then :
24787 $as_echo_n "(cached) " >&6
24790 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24794 $as_echo "$ac_cv_python_includes" >&6; }
24795 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24797 if test "$ac_cv_python_includes" = "none"; then
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24799 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24803 $as_echo_n "checking for compiling Python extensions... " >&6; }
24804 if ${ac_cv_python_compile+:} false; then :
24805 $as_echo_n "(cached) " >&6
24808 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24812 $as_echo "$ac_cv_python_compile" >&6; }
24813 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24816 $as_echo_n "checking for linking Python extensions... " >&6; }
24817 if ${ac_cv_python_link+:} false; then :
24818 $as_echo_n "(cached) " >&6
24821 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24825 $as_echo "$ac_cv_python_link" >&6; }
24826 SWIG_PY_LINK="$ac_cv_python_link"
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24829 $as_echo_n "checking for linking Python libraries... " >&6; }
24830 if ${ac_cv_python_libs+:} false; then :
24831 $as_echo_n "(cached) " >&6
24834 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24838 $as_echo "$ac_cv_python_libs" >&6; }
24840 input_flags="$ac_cv_python_libs"
24842 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24843 for flag in $input_flags; do
24845 for dir in $filtered_dirs; do
24846 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24851 if test "$filter" = "no"; then
24852 output_flags="$output_flags $flag"
24855 if test -n "$output_flags"; then
24856 printf "%s" "${output_flags# }"
24860 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24861 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24863 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24864 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24865 $as_echo_n "(cached) " >&6
24868 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24870 /* end confdefs.h. */
24872 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24874 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24875 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24876 svn_cv_pycfmt_apr_int64_t="L"
24881 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24883 /* end confdefs.h. */
24886 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24888 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24889 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24890 svn_cv_pycfmt_apr_int64_t="l"
24895 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24897 /* end confdefs.h. */
24899 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24901 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24902 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24903 svn_cv_pycfmt_apr_int64_t="i"
24910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24911 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24912 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24913 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24914 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24917 cat >>confdefs.h <<_ACEOF
24918 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24923 if test "$PERL" != "none"; then
24924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24925 $as_echo_n "checking perl version... " >&6; }
24926 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24928 $as_echo "$PERL_VERSION" >&6; }
24929 if test "$PERL_VERSION" -ge "5008000"; then
24930 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24932 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24933 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24937 SWIG_RB_COMPILE="none"
24938 SWIG_RB_LINK="none"
24939 if test "$RUBY" != "none"; then
24940 rbconfig="$RUBY -rrbconfig -e "
24942 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24943 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
24945 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24946 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24950 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24953 $as_echo_n "checking for Ruby include path... " >&6; }
24954 if ${svn_cv_ruby_includes+:} false; then :
24955 $as_echo_n "(cached) " >&6
24958 if test -d "$rbconfig_rubyhdrdir"; then
24959 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
24960 if test -d "$rbconfig_rubyarchhdrdir"; then
24961 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
24963 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24966 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24971 $as_echo "$svn_cv_ruby_includes" >&6; }
24972 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24975 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24976 if ${svn_cv_ruby_compile+:} false; then :
24977 $as_echo_n "(cached) " >&6
24980 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24984 $as_echo "$svn_cv_ruby_compile" >&6; }
24985 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24987 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24990 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24993 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24995 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24998 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24999 if ${svn_cv_ruby_link+:} false; then :
25000 $as_echo_n "(cached) " >&6
25003 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
25004 $rbconfig_LDSHARED`"
25005 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
25006 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
25009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
25010 $as_echo "$svn_cv_ruby_link" >&6; }
25011 SWIG_RB_LINK="$svn_cv_ruby_link"
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
25014 $as_echo_n "checking how to link Ruby libraries... " >&6; }
25015 if ${ac_cv_ruby_libs+:} false; then :
25016 $as_echo_n "(cached) " >&6
25019 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
25022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
25023 $as_echo "$ac_cv_ruby_libs" >&6; }
25025 input_flags="$ac_cv_ruby_libs"
25027 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25028 for flag in $input_flags; do
25030 for dir in $filtered_dirs; do
25031 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25036 if test "$filter" = "no"; then
25037 output_flags="$output_flags $flag"
25040 if test -n "$output_flags"; then
25041 printf "%s" "${output_flags# }"
25045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
25046 $as_echo_n "checking for rb_errinfo... " >&6; }
25047 old_CFLAGS="$CFLAGS"
25049 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
25051 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
25054 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
25057 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
25059 LIBS="$SWIG_RB_LIBS"
25060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25061 /* end confdefs.h. */
25067 if ac_fn_c_try_link "$LINENO"; then :
25068 have_rb_errinfo="yes"
25070 have_rb_errinfo="no"
25072 rm -f core conftest.err conftest.$ac_objext \
25073 conftest$ac_exeext conftest.$ac_ext
25074 if test "$have_rb_errinfo" = "yes"; then
25075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25076 $as_echo "yes" >&6; }
25078 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
25081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25082 $as_echo "no" >&6; }
25084 CFLAGS="$old_CFLAGS"
25087 if ${svn_cv_ruby_sitedir+:} false; then :
25088 $as_echo_n "(cached) " >&6
25091 svn_cv_ruby_sitedir="$rbconfig_sitedir"
25096 # Check whether --with-ruby-sitedir was given.
25097 if test "${with_ruby_sitedir+set}" = set; then :
25098 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
25100 svn_ruby_installdir="$svn_cv_ruby_sitedir"
25104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
25105 $as_echo_n "checking where to install Ruby scripts... " >&6; }
25106 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
25107 $as_echo_n "(cached) " >&6
25110 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
25111 $SED -e "s,^$rbconfig_sitedir,,"`"
25115 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
25116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
25117 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
25119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
25120 $as_echo_n "checking where to install Ruby extensions... " >&6; }
25121 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
25122 $as_echo_n "(cached) " >&6
25125 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
25126 $SED -e "s,^$rbconfig_sitedir,,"`"
25130 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
25131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
25132 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
25134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
25135 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
25136 if ${svn_cv_ruby_test_verbose+:} false; then :
25137 $as_echo_n "(cached) " >&6
25140 svn_cv_ruby_test_verbose="normal"
25145 # Check whether --with-ruby-test-verbose was given.
25146 if test "${with_ruby_test_verbose+set}" = set; then :
25147 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
25149 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
25152 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
25153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
25154 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
25178 if test $where = no; then
25180 elif test $where = check; then
25181 # Extract the first word of "swig", so it can be a program name with args.
25182 set dummy swig; ac_word=$2
25183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25184 $as_echo_n "checking for $ac_word... " >&6; }
25185 if ${ac_cv_path_SWIG+:} false; then :
25186 $as_echo_n "(cached) " >&6
25190 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
25193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25194 for as_dir in $PATH
25197 test -z "$as_dir" && as_dir=.
25198 for ac_exec_ext in '' $ac_executable_extensions; do
25199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25200 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
25201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25208 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
25212 SWIG=$ac_cv_path_SWIG
25213 if test -n "$SWIG"; then
25214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
25215 $as_echo "$SWIG" >&6; }
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25218 $as_echo "no" >&6; }
25223 if test -f "$where"; then
25226 SWIG="$where/bin/swig"
25228 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
25229 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
25233 if test "$SWIG" != "none"; then
25234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
25235 $as_echo_n "checking swig version... " >&6; }
25236 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
25237 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
25238 # We want the version as an integer so we can test against
25239 # which version we're using. SWIG doesn't provide this
25240 # to us so we have to come up with it on our own.
25241 # The major is passed straight through,
25242 # the minor is zero padded to two places,
25243 # and the patch level is zero padded to three places.
25244 # e.g. 1.3.24 becomes 103024
25245 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
25246 $SED -e 's/[^0-9\.].*$//' \
25247 -e 's/\.\([0-9]\)$/.0\1/' \
25248 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
25249 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
25250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
25251 $as_echo "$SWIG_VERSION_RAW" >&6; }
25252 # If you change the required swig version number, don't forget to update:
25253 # subversion/bindings/swig/INSTALL
25254 # packages/rpm/redhat-8+/subversion.spec
25255 # packages/rpm/redhat-7.x/subversion.spec
25256 # packages/rpm/rhel-3/subversion.spec
25257 # packages/rpm/rhel-4/subversion.spec
25258 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024" && \
25259 test "$SWIG_VERSION" -lt "300000"; then
25263 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
25264 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
25265 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&5
25266 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24 and < 3.0.0 " >&2;}
25270 SWIG_PY_COMPILE="none"
25271 SWIG_PY_LINK="none"
25272 if test "$PYTHON" != "none"; then
25273 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
25274 $as_echo "$as_me: Configuring python swig binding" >&6;}
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
25277 $as_echo_n "checking for Python includes... " >&6; }
25278 if ${ac_cv_python_includes+:} false; then :
25279 $as_echo_n "(cached) " >&6
25282 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
25285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
25286 $as_echo "$ac_cv_python_includes" >&6; }
25287 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
25289 if test "$ac_cv_python_includes" = "none"; then
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
25291 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
25294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
25295 $as_echo_n "checking for compiling Python extensions... " >&6; }
25296 if ${ac_cv_python_compile+:} false; then :
25297 $as_echo_n "(cached) " >&6
25300 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
25303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
25304 $as_echo "$ac_cv_python_compile" >&6; }
25305 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
25307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
25308 $as_echo_n "checking for linking Python extensions... " >&6; }
25309 if ${ac_cv_python_link+:} false; then :
25310 $as_echo_n "(cached) " >&6
25313 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
25316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
25317 $as_echo "$ac_cv_python_link" >&6; }
25318 SWIG_PY_LINK="$ac_cv_python_link"
25320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
25321 $as_echo_n "checking for linking Python libraries... " >&6; }
25322 if ${ac_cv_python_libs+:} false; then :
25323 $as_echo_n "(cached) " >&6
25326 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
25329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
25330 $as_echo "$ac_cv_python_libs" >&6; }
25332 input_flags="$ac_cv_python_libs"
25334 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25335 for flag in $input_flags; do
25337 for dir in $filtered_dirs; do
25338 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25343 if test "$filter" = "no"; then
25344 output_flags="$output_flags $flag"
25347 if test -n "$output_flags"; then
25348 printf "%s" "${output_flags# }"
25352 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
25353 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
25354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
25355 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
25356 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
25357 $as_echo_n "(cached) " >&6
25360 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25362 /* end confdefs.h. */
25364 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25366 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25367 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
25368 svn_cv_pycfmt_apr_int64_t="L"
25373 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h. */
25378 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25380 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25381 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
25382 svn_cv_pycfmt_apr_int64_t="l"
25387 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25389 /* end confdefs.h. */
25391 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25393 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25394 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
25395 svn_cv_pycfmt_apr_int64_t="i"
25402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
25403 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
25404 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
25405 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25406 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
25409 cat >>confdefs.h <<_ACEOF
25410 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
25415 if test "$PERL" != "none"; then
25416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
25417 $as_echo_n "checking perl version... " >&6; }
25418 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
25419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
25420 $as_echo "$PERL_VERSION" >&6; }
25421 if test "$PERL_VERSION" -ge "5008000"; then
25422 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
25424 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
25425 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
25429 SWIG_RB_COMPILE="none"
25430 SWIG_RB_LINK="none"
25431 if test "$RUBY" != "none"; then
25432 rbconfig="$RUBY -rrbconfig -e "
25434 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
25435 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
25437 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
25438 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
25442 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
25445 $as_echo_n "checking for Ruby include path... " >&6; }
25446 if ${svn_cv_ruby_includes+:} false; then :
25447 $as_echo_n "(cached) " >&6
25450 if test -d "$rbconfig_rubyhdrdir"; then
25451 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
25452 if test -d "$rbconfig_rubyarchhdrdir"; then
25453 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
25455 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
25458 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
25462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
25463 $as_echo "$svn_cv_ruby_includes" >&6; }
25464 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
25466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
25467 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
25468 if ${svn_cv_ruby_compile+:} false; then :
25469 $as_echo_n "(cached) " >&6
25472 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
25475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
25476 $as_echo "$svn_cv_ruby_compile" >&6; }
25477 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
25479 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
25482 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
25485 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
25487 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
25489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
25490 $as_echo_n "checking how to link Ruby extensions... " >&6; }
25491 if ${svn_cv_ruby_link+:} false; then :
25492 $as_echo_n "(cached) " >&6
25495 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
25496 $rbconfig_LDSHARED`"
25497 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
25498 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
25501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
25502 $as_echo "$svn_cv_ruby_link" >&6; }
25503 SWIG_RB_LINK="$svn_cv_ruby_link"
25505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
25506 $as_echo_n "checking how to link Ruby libraries... " >&6; }
25507 if ${ac_cv_ruby_libs+:} false; then :
25508 $as_echo_n "(cached) " >&6
25511 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
25514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
25515 $as_echo "$ac_cv_ruby_libs" >&6; }
25517 input_flags="$ac_cv_ruby_libs"
25519 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25520 for flag in $input_flags; do
25522 for dir in $filtered_dirs; do
25523 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25528 if test "$filter" = "no"; then
25529 output_flags="$output_flags $flag"
25532 if test -n "$output_flags"; then
25533 printf "%s" "${output_flags# }"
25537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
25538 $as_echo_n "checking for rb_errinfo... " >&6; }
25539 old_CFLAGS="$CFLAGS"
25541 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
25543 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
25546 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
25549 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
25551 LIBS="$SWIG_RB_LIBS"
25552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25553 /* end confdefs.h. */
25559 if ac_fn_c_try_link "$LINENO"; then :
25560 have_rb_errinfo="yes"
25562 have_rb_errinfo="no"
25564 rm -f core conftest.err conftest.$ac_objext \
25565 conftest$ac_exeext conftest.$ac_ext
25566 if test "$have_rb_errinfo" = "yes"; then
25567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25568 $as_echo "yes" >&6; }
25570 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
25573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25574 $as_echo "no" >&6; }
25576 CFLAGS="$old_CFLAGS"
25579 if ${svn_cv_ruby_sitedir+:} false; then :
25580 $as_echo_n "(cached) " >&6
25583 svn_cv_ruby_sitedir="$rbconfig_sitedir"
25588 # Check whether --with-ruby-sitedir was given.
25589 if test "${with_ruby_sitedir+set}" = set; then :
25590 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
25592 svn_ruby_installdir="$svn_cv_ruby_sitedir"
25596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
25597 $as_echo_n "checking where to install Ruby scripts... " >&6; }
25598 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
25599 $as_echo_n "(cached) " >&6
25602 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
25603 $SED -e "s,^$rbconfig_sitedir,,"`"
25607 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
25608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
25609 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
25612 $as_echo_n "checking where to install Ruby extensions... " >&6; }
25613 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
25614 $as_echo_n "(cached) " >&6
25617 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
25618 $SED -e "s,^$rbconfig_sitedir,,"`"
25622 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
25623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
25624 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
25627 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
25628 if ${svn_cv_ruby_test_verbose+:} false; then :
25629 $as_echo_n "(cached) " >&6
25632 svn_cv_ruby_test_verbose="normal"
25637 # Check whether --with-ruby-test-verbose was given.
25638 if test "${with_ruby_test_verbose+set}" = set; then :
25639 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
25641 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
25644 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
25645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
25646 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
25669 # Check whether --with-ctypesgen was given.
25670 if test "${with_ctypesgen+set}" = set; then :
25671 withval=$with_ctypesgen;
25679 if test $where = check; then
25680 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25681 set dummy "ctypesgen.py"; ac_word=$2
25682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25683 $as_echo_n "checking for $ac_word... " >&6; }
25684 if ${ac_cv_path_CTYPESGEN+:} false; then :
25685 $as_echo_n "(cached) " >&6
25689 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25693 for as_dir in $PATH
25696 test -z "$as_dir" && as_dir=.
25697 for ac_exec_ext in '' $ac_executable_extensions; do
25698 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25699 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25700 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25707 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25711 CTYPESGEN=$ac_cv_path_CTYPESGEN
25712 if test -n "$CTYPESGEN"; then
25713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25714 $as_echo "$CTYPESGEN" >&6; }
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25717 $as_echo "no" >&6; }
25721 elif test $where != no; then
25722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25723 $as_echo_n "checking for ctypesgen.py... " >&6; }
25725 if test -f "$where"; then
25727 elif test -f "$where/bin/ctypesgen.py"; then
25728 CTYPESGEN="$where/bin/ctypesgen.py"
25730 CTYPESGEN="$where/ctypesgen.py"
25733 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25734 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25735 $where/bin/ctypesgen.py" "$LINENO" 5
25737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25738 $as_echo "$CTYPESGEN" >&6; }
25751 if test $where = check; then
25752 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25753 set dummy "ctypesgen.py"; ac_word=$2
25754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25755 $as_echo_n "checking for $ac_word... " >&6; }
25756 if ${ac_cv_path_CTYPESGEN+:} false; then :
25757 $as_echo_n "(cached) " >&6
25761 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25764 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25765 for as_dir in $PATH
25768 test -z "$as_dir" && as_dir=.
25769 for ac_exec_ext in '' $ac_executable_extensions; do
25770 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25771 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25772 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25779 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25783 CTYPESGEN=$ac_cv_path_CTYPESGEN
25784 if test -n "$CTYPESGEN"; then
25785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25786 $as_echo "$CTYPESGEN" >&6; }
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25789 $as_echo "no" >&6; }
25793 elif test $where != no; then
25794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25795 $as_echo_n "checking for ctypesgen.py... " >&6; }
25797 if test -f "$where"; then
25799 elif test -f "$where/bin/ctypesgen.py"; then
25800 CTYPESGEN="$where/bin/ctypesgen.py"
25802 CTYPESGEN="$where/ctypesgen.py"
25805 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25806 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25807 $where/bin/ctypesgen.py" "$LINENO" 5
25809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25810 $as_echo "$CTYPESGEN" >&6; }
25823 if test $where = check; then
25824 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25825 set dummy "ctypesgen.py"; ac_word=$2
25826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25827 $as_echo_n "checking for $ac_word... " >&6; }
25828 if ${ac_cv_path_CTYPESGEN+:} false; then :
25829 $as_echo_n "(cached) " >&6
25833 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25837 for as_dir in $PATH
25840 test -z "$as_dir" && as_dir=.
25841 for ac_exec_ext in '' $ac_executable_extensions; do
25842 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25843 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25844 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25851 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25855 CTYPESGEN=$ac_cv_path_CTYPESGEN
25856 if test -n "$CTYPESGEN"; then
25857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25858 $as_echo "$CTYPESGEN" >&6; }
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25861 $as_echo "no" >&6; }
25865 elif test $where != no; then
25866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25867 $as_echo_n "checking for ctypesgen.py... " >&6; }
25869 if test -f "$where"; then
25871 elif test -f "$where/bin/ctypesgen.py"; then
25872 CTYPESGEN="$where/bin/ctypesgen.py"
25874 CTYPESGEN="$where/ctypesgen.py"
25877 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25878 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25879 $where/bin/ctypesgen.py" "$LINENO" 5
25881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25882 $as_echo "$CTYPESGEN" >&6; }
25898 if test $where = check; then
25899 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25900 set dummy "ctypesgen.py"; ac_word=$2
25901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25902 $as_echo_n "checking for $ac_word... " >&6; }
25903 if ${ac_cv_path_CTYPESGEN+:} false; then :
25904 $as_echo_n "(cached) " >&6
25908 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25912 for as_dir in $PATH
25915 test -z "$as_dir" && as_dir=.
25916 for ac_exec_ext in '' $ac_executable_extensions; do
25917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25918 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25926 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25930 CTYPESGEN=$ac_cv_path_CTYPESGEN
25931 if test -n "$CTYPESGEN"; then
25932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25933 $as_echo "$CTYPESGEN" >&6; }
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25936 $as_echo "no" >&6; }
25940 elif test $where != no; then
25941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25942 $as_echo_n "checking for ctypesgen.py... " >&6; }
25944 if test -f "$where"; then
25946 elif test -f "$where/bin/ctypesgen.py"; then
25947 CTYPESGEN="$where/bin/ctypesgen.py"
25949 CTYPESGEN="$where/ctypesgen.py"
25952 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25953 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25954 $where/bin/ctypesgen.py" "$LINENO" 5
25956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25957 $as_echo "$CTYPESGEN" >&6; }
25968 # Check whether --enable-runtime-module-search was given.
25969 if test "${enable_runtime_module_search+set}" = set; then :
25970 enableval=$enable_runtime_module_search;
25971 if test "$enableval" = "yes"; then
25973 if test "$svn_enable_shared" = "no"; then
25974 as_fn_error $? "--enable-runtime-module-search conflicts with --disable-shared" "$LINENO" 5
25977 $as_echo "#define SVN_USE_DSO 1" >>confdefs.h
25984 if test "$svn_enable_shared" = "no" || test "$use_dso" != "yes"; then
25986 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL 1" >>confdefs.h
25988 svn_ra_lib_deps="\$(RA_LOCAL_DEPS)"
25989 svn_ra_lib_install_deps="install-ramod-lib"
25990 svn_ra_lib_link="\$(RA_LOCAL_LINK)"
25993 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SVN 1" >>confdefs.h
25995 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SVN_DEPS)"
25996 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SVN_LINK)"
25998 if test "$svn_lib_serf" = "yes"; then
26000 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SERF 1" >>confdefs.h
26002 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SERF_DEPS)"
26003 svn_ra_lib_install_deps="$svn_ra_lib_install_deps install-serf-lib"
26004 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SERF_LINK)"
26007 SVN_RA_LIB_DEPS=$svn_ra_lib_deps
26008 SVN_RA_LIB_INSTALL_DEPS=$svn_ra_lib_install_deps
26009 SVN_RA_LIB_LINK=$svn_ra_lib_link
26012 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_FS 1" >>confdefs.h
26014 svn_fs_lib_deps="\$(FS_FS_DEPS)"
26015 svn_fs_lib_install_deps="install-fsmod-lib"
26016 svn_fs_lib_link="\$(FS_FS_LINK)"
26019 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_X 1" >>confdefs.h
26021 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_X_DEPS)"
26022 svn_fs_lib_link="$svn_fs_lib_link \$(FS_X_LINK)"
26024 if test "$svn_lib_berkeley_db" = "yes"; then
26026 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_BASE 1" >>confdefs.h
26028 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_BASE_DEPS)"
26029 svn_fs_lib_install_deps="$svn_fs_lib_install_deps install-bdb-lib"
26030 svn_fs_lib_link="$svn_fs_lib_link \$(FS_BASE_LINK)"
26033 SVN_FS_LIB_DEPS=$svn_fs_lib_deps
26034 SVN_FS_LIB_INSTALL_DEPS=$svn_fs_lib_install_deps
26035 SVN_FS_LIB_LINK=$svn_fs_lib_link
26045 # ==== JavaHL ================================================================
26048 # Check whether --enable-javahl was given.
26049 if test "${enable_javahl+set}" = set; then :
26050 enableval=$enable_javahl; if test "$enableval" = "yes" ; then
26051 do_javahl_build="yes"
26058 INSTALL_EXTRA_JAVAHL_LIB=""
26060 JAVAHL_TESTS_TARGET=""
26061 JAVAHL_COMPAT_TESTS_TARGET=""
26063 if test "$do_javahl_build" = "yes"; then
26064 if test "$JDK_SUITABLE" = "no"; then
26065 as_fn_error $? "Cannot compile JavaHL without a suitable JDK.
26066 Please specify a suitable JDK using the --with-jdk option." "$LINENO" 5
26069 JAVAHL_OBJDIR='$(libsvnjavahl_PATH)/.libs'
26072 if test "$os_arch" = "Darwin"; then
26073 INSTALL_EXTRA_JAVAHL_LIB='ln -sf $(libdir)/libsvnjavahl-1.dylib $(libdir)/libsvnjavahl-1.jnilib'
26074 FIX_JAVAHL_LIB="ln -sf libsvnjavahl-1.dylib $JAVAHL_OBJDIR/libsvnjavahl-1.jnilib"
26076 # This segment (and the rest of r10800) is very likely unnecessary
26077 # with libtool 1.5, which automatically adds libstdc++ as a
26078 # dependency to the C++ libraries it builds. So at some future time
26079 # when autogen.sh requires libtool 1.5 or higher, we can get rid of
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional flags to link C++ libraries" >&5
26082 $as_echo_n "checking for additional flags to link C++ libraries... " >&6; }
26083 if test "x$ac_compiler_gnu" = "xyes"; then
26086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26087 $as_echo "none needed" >&6; }
26090 LT_CXX_LIBADD="-lstdc++"
26091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LT_CXX_LIBADD" >&5
26092 $as_echo "$LT_CXX_LIBADD" >&6; }
26096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26097 $as_echo "none needed" >&6; }
26106 # Check whether --with-junit was given.
26107 if test "${with_junit+set}" = set; then :
26108 withval=$with_junit;
26109 if test "$withval" != "no"; then
26110 if test -n "$JAVA_CLASSPATH"; then
26111 JAVA_CLASSPATH="$withval:$JAVA_CLASSPATH"
26113 JAVA_CLASSPATH="$withval"
26115 JAVAHL_TESTS_TARGET="javahl-tests"
26116 JAVAHL_COMPAT_TESTS_TARGET="javahl-compat-tests"
26125 # ==== Miscellaneous bits ====================================================
26127 for ac_header in stdbool.h inttypes.h
26129 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26130 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
26131 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
26132 cat >>confdefs.h <<_ACEOF
26133 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26141 # Strip '-no-cpp-precomp' from CPPFLAGS for the clang compiler
26142 ### I think we get this flag from APR, so the fix probably belongs there
26143 if test "$CC" = "clang"; then
26145 CPPFLAGS=`echo "$CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
26149 # Need to strip '-no-cpp-precomp' from CPPFLAGS for SWIG as well.
26150 SWIG_CPPFLAGS="$CPPFLAGS"
26152 SWIG_CPPFLAGS=`echo "$SWIG_CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
26157 cat >>confdefs.h <<_ACEOF
26158 #define SVN_PATH_LOCAL_SEPARATOR '/'
26163 cat >>confdefs.h <<_ACEOF
26164 #define SVN_NULL_DEVICE_NAME "/dev/null"
26168 DEFAULT_FS_TYPE="fsfs"
26170 cat >>confdefs.h <<_ACEOF
26171 #define DEFAULT_FS_TYPE "$DEFAULT_FS_TYPE"
26175 DEFAULT_HTTP_LIBRARY="serf"
26177 cat >>confdefs.h <<_ACEOF
26178 #define DEFAULT_HTTP_LIBRARY "$DEFAULT_HTTP_LIBRARY"
26182 # BSD/OS (BSDi) needs to use a different include syntax in Makefile
26183 INCLUDE_OUTPUTS="include \$(top_srcdir)/build-outputs.mk"
26186 # Check whether they've installed GNU make
26187 if ! make --version > /dev/null 2>&1; then
26189 INCLUDE_OUTPUTS=".include \"\$(top_srcdir)/build-outputs.mk\""
26195 # ==== Detection complete - output and run config.status =====================
26197 ac_config_headers="$ac_config_headers subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in"
26199 ac_config_commands="$ac_config_commands svn_private_config.h.tmp"
26201 ac_config_files="$ac_config_files Makefile"
26204 # Create pkg-config .pc files from .pc.in files
26205 for pc_in_file in "${abs_srcdir}"/subversion/libsvn_*/*.pc.in; do
26206 pc_file=${pc_in_file#${abs_srcdir}/}
26207 pc_file=${pc_file%.in}
26208 ac_config_files="$ac_config_files ${pc_file}"
26213 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/backup/hot-backup.py"
26214 ac_config_files="$ac_config_files tools/backup/hot-backup.py"
26217 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/hook-scripts/commit-access-control.pl"
26218 ac_config_files="$ac_config_files tools/hook-scripts/commit-access-control.pl"
26221 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES subversion/bindings/swig/perl/native/Makefile.PL"
26222 ac_config_files="$ac_config_files subversion/bindings/swig/perl/native/Makefile.PL"
26224 if test -e packages/solaris/pkginfo.in; then
26226 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES packages/solaris/pkginfo"
26227 ac_config_files="$ac_config_files packages/solaris/pkginfo"
26232 # Ensure that SWIG is checked after reconfiguration.
26233 rm -f .swig_checked
26236 cat >>confdefs.h <<_ACEOF
26237 #define SVN_BUILD_HOST "${host}"
26242 cat >>confdefs.h <<_ACEOF
26243 #define SVN_BUILD_TARGET "${target}"
26247 cat >confcache <<\_ACEOF
26248 # This file is a shell script that caches the results of configure
26249 # tests run on this system so they can be shared between configure
26250 # scripts and configure runs, see configure's option --config-cache.
26251 # It is not useful on other systems. If it contains results you don't
26252 # want to keep, you may remove or edit it.
26254 # config.status only pays attention to the cache file if you give it
26255 # the --recheck option to rerun configure.
26257 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26258 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26259 # following values.
26263 # The following way of writing the cache mishandles newlines in values,
26264 # but we know of no workaround that is simple, portable, and efficient.
26265 # So, we kill variables containing newlines.
26266 # Ultrix sh set writes to stderr and can't be redirected directly,
26267 # and sets the high bit in the cache file unless we assign to the vars.
26269 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26270 eval ac_val=\$$ac_var
26274 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26275 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26278 _ | IFS | as_nl) ;; #(
26279 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26280 *) { eval $ac_var=; unset $ac_var;} ;;
26286 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26287 *${as_nl}ac_space=\ *)
26288 # `set' does not quote correctly, so add quotes: double-quote
26289 # substitution turns \\\\ into \\, and sed turns \\ into \.
26292 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26295 # `set' quotes correctly as required by POSIX, so do not add quotes.
26296 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26305 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26307 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26309 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26310 if test -w "$cache_file"; then
26311 if test "x$cache_file" != "x/dev/null"; then
26312 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26313 $as_echo "$as_me: updating cache $cache_file" >&6;}
26314 if test ! -f "$cache_file" || test -h "$cache_file"; then
26315 cat confcache >"$cache_file"
26317 case $cache_file in #(
26319 mv -f confcache "$cache_file"$$ &&
26320 mv -f "$cache_file"$$ "$cache_file" ;; #(
26322 mv -f confcache "$cache_file" ;;
26327 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26328 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26333 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26334 # Let make expand exec_prefix.
26335 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26337 DEFS=-DHAVE_CONFIG_H
26342 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26343 # 1. Remove the extension, and $U if already installed.
26344 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26345 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26346 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26347 # will be set to the directory where LIBOBJS objects are built.
26348 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26349 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26351 LIBOBJS=$ac_libobjs
26353 LTLIBOBJS=$ac_ltlibobjs
26357 : "${CONFIG_STATUS=./config.status}"
26359 ac_clean_files_save=$ac_clean_files
26360 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26362 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26364 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26366 # Generated by $as_me.
26367 # Run this file to recreate the current configuration.
26368 # Compiler output produced by configure, useful for debugging
26369 # configure, is in config.log if it exists.
26372 ac_cs_recheck=false
26375 SHELL=\${CONFIG_SHELL-$SHELL}
26378 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26379 ## -------------------- ##
26380 ## M4sh Initialization. ##
26381 ## -------------------- ##
26383 # Be more Bourne compatible
26384 DUALCASE=1; export DUALCASE # for MKS sh
26385 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26388 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26389 # is contrary to our usage. Disable this feature.
26390 alias -g '${1+"$@"}'='"$@"'
26391 setopt NO_GLOB_SUBST
26393 case `(set -o) 2>/dev/null` in #(
26405 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26406 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26407 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26408 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26409 # Prefer a ksh shell builtin over an external printf program on Solaris,
26410 # but without wasting forks for bash or zsh.
26411 if test -z "$BASH_VERSION$ZSH_VERSION" \
26412 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26413 as_echo='print -r --'
26414 as_echo_n='print -rn --'
26415 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26416 as_echo='printf %s\n'
26417 as_echo_n='printf %s'
26419 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26420 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26421 as_echo_n='/usr/ucb/echo -n'
26423 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26424 as_echo_n_body='eval
26428 expr "X$arg" : "X\\(.*\\)$as_nl";
26429 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26431 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26433 export as_echo_n_body
26434 as_echo_n='sh -c $as_echo_n_body as_echo'
26436 export as_echo_body
26437 as_echo='sh -c $as_echo_body as_echo'
26440 # The user is always right.
26441 if test "${PATH_SEPARATOR+set}" != set; then
26443 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26444 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26451 # We need space, tab and new line, in precisely that order. Quoting is
26452 # there to prevent editors from complaining about space-tab.
26453 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26454 # splitting by setting IFS to empty value.)
26457 # Find who we are. Look in the path if we contain no directory separator.
26460 *[\\/]* ) as_myself=$0 ;;
26461 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26462 for as_dir in $PATH
26465 test -z "$as_dir" && as_dir=.
26466 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26472 # We did not find ourselves, most probably we were run as `sh COMMAND'
26473 # in which case we are not to be found in the path.
26474 if test "x$as_myself" = x; then
26477 if test ! -f "$as_myself"; then
26478 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26482 # Unset variables that we do not need and which cause bugs (e.g. in
26483 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26484 # suppresses any "Segmentation fault" message there. '((' could
26485 # trigger a bug in pdksh 5.2.14.
26486 for as_var in BASH_ENV ENV MAIL MAILPATH
26487 do eval test x\${$as_var+set} = xset \
26488 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26501 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26504 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26505 # ----------------------------------------
26506 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26507 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26508 # script with STATUS, using 1 if that was 0.
26511 as_status=$1; test $as_status -eq 0 && as_status=1
26513 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26514 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26516 $as_echo "$as_me: error: $2" >&2
26517 as_fn_exit $as_status
26521 # as_fn_set_status STATUS
26522 # -----------------------
26523 # Set $? to STATUS, without forking.
26524 as_fn_set_status ()
26527 } # as_fn_set_status
26529 # as_fn_exit STATUS
26530 # -----------------
26531 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26535 as_fn_set_status $1
26541 # Portably unset VAR.
26544 { eval $1=; unset $1;}
26546 as_unset=as_fn_unset
26547 # as_fn_append VAR VALUE
26548 # ----------------------
26549 # Append the text in VALUE to the end of the definition contained in VAR. Take
26550 # advantage of any shell optimizations that allow amortized linear growth over
26551 # repeated appends, instead of the typical quadratic growth present in naive
26553 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26554 eval 'as_fn_append ()
26565 # as_fn_arith ARG...
26566 # ------------------
26567 # Perform arithmetic evaluation on the ARGs, and store the result in the
26568 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26569 # must be portable across $(()) and expr.
26570 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26571 eval 'as_fn_arith ()
26578 as_val=`expr "$@" || test $? -eq 1`
26583 if expr a : '\(a\)' >/dev/null 2>&1 &&
26584 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26590 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26591 as_basename=basename
26596 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26602 as_me=`$as_basename -- "$0" ||
26603 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26604 X"$0" : 'X\(//\)$' \| \
26605 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26607 sed '/^.*\/\([^/][^/]*\)\/*$/{
26621 # Avoid depending upon Character Ranges.
26622 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26623 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26624 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26625 as_cr_digits='0123456789'
26626 as_cr_alnum=$as_cr_Letters$as_cr_digits
26628 ECHO_C= ECHO_N= ECHO_T=
26629 case `echo -n x` in #(((((
26631 case `echo 'xy\c'` in
26632 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26634 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26641 rm -f conf$$ conf$$.exe conf$$.file
26642 if test -d conf$$.dir; then
26643 rm -f conf$$.dir/conf$$.file
26646 mkdir conf$$.dir 2>/dev/null
26648 if (echo >conf$$.file) 2>/dev/null; then
26649 if ln -s conf$$.file conf$$ 2>/dev/null; then
26651 # ... but there are two gotchas:
26652 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26653 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26654 # In both cases, we have to default to `cp -pR'.
26655 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26657 elif ln conf$$.file conf$$ 2>/dev/null; then
26665 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26666 rmdir conf$$.dir 2>/dev/null
26671 # Create "$as_dir" as a directory, including parents if necessary.
26676 -*) as_dir=./$as_dir;;
26678 test -d "$as_dir" || eval $as_mkdir_p || {
26682 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26683 *) as_qdir=$as_dir;;
26685 as_dirs="'$as_qdir' $as_dirs"
26686 as_dir=`$as_dirname -- "$as_dir" ||
26687 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26688 X"$as_dir" : 'X\(//\)[^/]' \| \
26689 X"$as_dir" : 'X\(//\)$' \| \
26690 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26691 $as_echo X"$as_dir" |
26692 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26696 /^X\(\/\/\)[^/].*/{
26709 test -d "$as_dir" && break
26711 test -z "$as_dirs" || eval "mkdir $as_dirs"
26712 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26716 if mkdir -p . 2>/dev/null; then
26717 as_mkdir_p='mkdir -p "$as_dir"'
26719 test -d ./-p && rmdir ./-p
26724 # as_fn_executable_p FILE
26725 # -----------------------
26726 # Test if FILE is an executable regular file.
26727 as_fn_executable_p ()
26729 test -f "$1" && test -x "$1"
26730 } # as_fn_executable_p
26731 as_test_x='test -x'
26732 as_executable_p=as_fn_executable_p
26734 # Sed expression to map a string onto a valid CPP name.
26735 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26737 # Sed expression to map a string onto a valid variable name.
26738 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26742 ## ----------------------------------- ##
26743 ## Main body of $CONFIG_STATUS script. ##
26744 ## ----------------------------------- ##
26746 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26749 # Save the log message, to keep $0 and so on meaningful, and to
26750 # report actual input values of CONFIG_FILES etc. instead of their
26751 # values after options handling.
26753 This file was extended by subversion $as_me 1.9.4, which was
26754 generated by GNU Autoconf 2.69. Invocation command line was
26756 CONFIG_FILES = $CONFIG_FILES
26757 CONFIG_HEADERS = $CONFIG_HEADERS
26758 CONFIG_LINKS = $CONFIG_LINKS
26759 CONFIG_COMMANDS = $CONFIG_COMMANDS
26762 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26767 case $ac_config_files in *"
26768 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26771 case $ac_config_headers in *"
26772 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26777 # Files that config.status was made for.
26778 config_files="$ac_config_files"
26779 config_headers="$ac_config_headers"
26780 config_commands="$ac_config_commands"
26784 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26786 \`$as_me' instantiates files and other configuration actions
26787 from templates according to the current configuration. Unless the files
26788 and actions are specified as TAGs, all are instantiated by default.
26790 Usage: $0 [OPTION]... [TAG]...
26792 -h, --help print this help, then exit
26793 -V, --version print version number and configuration settings, then exit
26794 --config print configuration, then exit
26795 -q, --quiet, --silent
26796 do not print progress messages
26797 -d, --debug don't remove temporary files
26798 --recheck update $as_me by reconfiguring in the same conditions
26799 --file=FILE[:TEMPLATE]
26800 instantiate the configuration file FILE
26801 --header=FILE[:TEMPLATE]
26802 instantiate the configuration header FILE
26804 Configuration files:
26807 Configuration headers:
26810 Configuration commands:
26813 Report bugs to <http://subversion.apache.org/>."
26816 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26817 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26819 subversion config.status 1.9.4
26820 configured by $0, generated by GNU Autoconf 2.69,
26821 with options \\"\$ac_cs_config\\"
26823 Copyright (C) 2012 Free Software Foundation, Inc.
26824 This config.status script is free software; the Free Software Foundation
26825 gives unlimited permission to copy, distribute and modify it."
26831 test -n "\$AWK" || AWK=awk
26834 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26835 # The default lists apply if the user does not specify any file.
26841 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26842 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26846 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26858 # Handling of the options.
26859 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26861 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26862 $as_echo "$ac_cs_version"; exit ;;
26863 --config | --confi | --conf | --con | --co | --c )
26864 $as_echo "$ac_cs_config"; exit ;;
26865 --debug | --debu | --deb | --de | --d | -d )
26867 --file | --fil | --fi | --f )
26870 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26871 '') as_fn_error $? "missing file argument" ;;
26873 as_fn_append CONFIG_FILES " '$ac_optarg'"
26874 ac_need_defaults=false;;
26875 --header | --heade | --head | --hea )
26878 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26880 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26881 ac_need_defaults=false;;
26883 # Conflict between --help and --header
26884 as_fn_error $? "ambiguous option: \`$1'
26885 Try \`$0 --help' for more information.";;
26886 --help | --hel | -h )
26887 $as_echo "$ac_cs_usage"; exit ;;
26888 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26889 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26892 # This is an error.
26893 -*) as_fn_error $? "unrecognized option: \`$1'
26894 Try \`$0 --help' for more information." ;;
26896 *) as_fn_append ac_config_targets " $1"
26897 ac_need_defaults=false ;;
26903 ac_configure_extra_args=
26905 if $ac_cs_silent; then
26907 ac_configure_extra_args="$ac_configure_extra_args --silent"
26911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26912 if \$ac_cs_recheck; then
26913 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26915 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26916 CONFIG_SHELL='$SHELL'
26917 export CONFIG_SHELL
26922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26926 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26927 ## Running $as_me. ##
26933 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26939 # The HP-UX ksh and POSIX shell print the target directory to stdout
26940 # if CDPATH is set.
26941 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26943 sed_quote_subst='$sed_quote_subst'
26944 double_quote_subst='$double_quote_subst'
26945 delay_variable_subst='$delay_variable_subst'
26946 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26947 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26948 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26949 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26950 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26951 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26952 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
26953 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26954 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26955 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26956 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26957 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26958 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26959 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26960 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26961 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26962 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26963 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26964 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26965 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26966 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26967 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26968 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26969 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26970 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26971 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26972 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26973 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26974 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26975 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26976 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26977 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26978 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26979 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26980 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26981 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26982 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26983 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26984 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26985 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26986 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26987 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26988 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26989 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26990 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26991 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26992 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26993 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26994 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26995 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26996 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26997 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26998 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26999 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27000 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27001 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27002 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
27003 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27004 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"`'
27005 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
27006 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
27007 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
27008 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
27009 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27010 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27011 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27012 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27013 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27014 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27015 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27016 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27017 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
27018 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27019 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27020 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27021 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27022 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27023 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27024 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27025 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27026 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27027 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27028 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27029 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27030 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27031 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27032 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27033 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27034 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27035 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27036 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27037 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27038 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27039 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27040 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27041 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27042 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27043 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27044 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27045 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27046 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27047 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27048 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27049 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27050 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27051 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27052 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27053 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27054 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27055 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27056 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27057 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27058 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27059 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27060 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27061 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27062 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27063 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27064 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27065 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27066 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27067 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27068 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27069 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27070 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27071 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27072 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27073 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
27074 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
27075 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27076 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27077 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27078 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27079 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27080 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27081 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27082 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27083 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27084 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27085 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27086 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27087 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27088 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27089 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27090 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27091 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27092 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27093 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27094 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27095 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27096 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27097 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27098 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27099 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27100 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27101 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27102 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27103 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27104 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27105 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27106 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27107 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27108 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27109 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27110 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27111 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27112 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27113 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
27114 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
27115 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
27116 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
27117 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
27118 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
27119 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
27120 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
27121 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
27122 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27123 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27124 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27125 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27126 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27127 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
27128 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
27129 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
27130 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27131 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27132 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
27133 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
27134 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
27137 LTCFLAGS='$LTCFLAGS'
27138 compiler='$compiler_DEFAULT'
27140 # A function that is used when there is no print builtin or printf.
27141 func_fallback_echo ()
27143 eval 'cat <<_LTECHO_EOF
27148 # Quote evaled strings.
27163 deplibs_check_method \
27168 sharedlib_from_linklib_cmd \
27171 archiver_list_spec \
27177 lt_cv_sys_global_symbol_pipe \
27178 lt_cv_sys_global_symbol_to_cdecl \
27179 lt_cv_sys_global_symbol_to_import \
27180 lt_cv_sys_global_symbol_to_c_name_address \
27181 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27182 lt_cv_nm_interface \
27183 nm_file_list_spec \
27184 lt_cv_truncate_bin \
27185 lt_prog_compiler_no_builtin_flag \
27186 lt_prog_compiler_pic \
27187 lt_prog_compiler_wl \
27188 lt_prog_compiler_static \
27189 lt_cv_prog_compiler_c_o \
27198 export_dynamic_flag_spec \
27199 whole_archive_flag_spec \
27200 compiler_needs_object \
27202 allow_undefined_flag \
27203 no_undefined_flag \
27204 hardcode_libdir_flag_spec \
27205 hardcode_libdir_separator \
27209 variables_saved_for_relink \
27211 library_names_spec \
27213 install_override_mode \
27217 compiler_lib_search_dirs \
27222 compiler_lib_search_path \
27226 lt_prog_compiler_no_builtin_flag_CXX \
27227 lt_prog_compiler_pic_CXX \
27228 lt_prog_compiler_wl_CXX \
27229 lt_prog_compiler_static_CXX \
27230 lt_cv_prog_compiler_c_o_CXX \
27231 export_dynamic_flag_spec_CXX \
27232 whole_archive_flag_spec_CXX \
27233 compiler_needs_object_CXX \
27235 allow_undefined_flag_CXX \
27236 no_undefined_flag_CXX \
27237 hardcode_libdir_flag_spec_CXX \
27238 hardcode_libdir_separator_CXX \
27239 exclude_expsyms_CXX \
27240 include_expsyms_CXX \
27241 file_list_spec_CXX \
27242 compiler_lib_search_dirs_CXX \
27243 predep_objects_CXX \
27244 postdep_objects_CXX \
27247 compiler_lib_search_path_CXX; do
27248 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27249 *[\\\\\\\`\\"\\\$]*)
27250 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27253 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27258 # Double-quote double-evaled strings.
27259 for var in reload_cmds \
27260 old_postinstall_cmds \
27261 old_postuninstall_cmds \
27263 extract_expsyms_cmds \
27264 old_archive_from_new_cmds \
27265 old_archive_from_expsyms_cmds \
27267 archive_expsym_cmds \
27269 module_expsym_cmds \
27270 export_symbols_cmds \
27274 postuninstall_cmds \
27276 sys_lib_search_path_spec \
27277 configure_time_dlsearch_path \
27278 configure_time_lt_sys_library_path \
27280 old_archive_cmds_CXX \
27281 old_archive_from_new_cmds_CXX \
27282 old_archive_from_expsyms_cmds_CXX \
27284 archive_expsym_cmds_CXX \
27286 module_expsym_cmds_CXX \
27287 export_symbols_cmds_CXX \
27289 postlink_cmds_CXX; do
27290 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27291 *[\\\\\\\`\\"\\\$]*)
27292 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27295 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27300 ac_aux_dir='$ac_aux_dir'
27302 # See if we are running on zsh, and set the options that allow our
27303 # commands through without removal of \ escapes INIT.
27304 if test -n "\${ZSH_VERSION+set}"; then
27305 setopt NO_GLOB_SUBST
27319 SVN_DB_HEADER="$SVN_DB_HEADER"
27323 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27325 # Handling of arguments.
27326 for ac_config_target in $ac_config_targets
27328 case $ac_config_target in
27329 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27330 "subversion/svn_private_config.h.tmp") CONFIG_HEADERS="$CONFIG_HEADERS subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in" ;;
27331 "svn_private_config.h.tmp") CONFIG_COMMANDS="$CONFIG_COMMANDS svn_private_config.h.tmp" ;;
27332 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27333 "${pc_file}") CONFIG_FILES="$CONFIG_FILES ${pc_file}" ;;
27334 "tools/backup/hot-backup.py") CONFIG_FILES="$CONFIG_FILES tools/backup/hot-backup.py" ;;
27335 "tools/hook-scripts/commit-access-control.pl") CONFIG_FILES="$CONFIG_FILES tools/hook-scripts/commit-access-control.pl" ;;
27336 "subversion/bindings/swig/perl/native/Makefile.PL") CONFIG_FILES="$CONFIG_FILES subversion/bindings/swig/perl/native/Makefile.PL" ;;
27337 "packages/solaris/pkginfo") CONFIG_FILES="$CONFIG_FILES packages/solaris/pkginfo" ;;
27339 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27344 # If the user did not use the arguments to specify the items to instantiate,
27345 # then the envvar interface is used. Set only those that are not.
27346 # We use the long form for the default assignment because of an extremely
27347 # bizarre bug on SunOS 4.1.3.
27348 if $ac_need_defaults; then
27349 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27350 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27351 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27354 # Have a temporary directory for convenience. Make it in the build tree
27355 # simply because there is no reason against having it here, and in addition,
27356 # creating and moving files from /tmp can sometimes cause problems.
27357 # Hook for its removal unless debugging.
27358 # Note that there is a small window in which the directory will not be cleaned:
27359 # after its creation but before its name has been assigned to `$tmp'.
27363 trap 'exit_status=$?
27364 : "${ac_tmp:=$tmp}"
27365 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27367 trap 'as_fn_exit 1' 1 2 13 15
27369 # Create a (secure) tmp directory for tmp files.
27372 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27376 tmp=./conf$$-$RANDOM
27377 (umask 077 && mkdir "$tmp")
27378 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
27381 # Set up the scripts for CONFIG_FILES section.
27382 # No need to generate them if there are no CONFIG_FILES.
27383 # This happens for instance with `./config.status config.h'.
27384 if test -n "$CONFIG_FILES"; then
27387 ac_cr=`echo X | tr X '\015'`
27388 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27389 # But we know of no other shell where ac_cr would be empty at this
27390 # point, so we can use a bashism as a fallback.
27391 if test "x$ac_cr" = x; then
27392 eval ac_cr=\$\'\\r\'
27394 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27395 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27398 ac_cs_awk_cr=$ac_cr
27401 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
27406 echo "cat >conf$$subs.awk <<_ACEOF" &&
27407 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27409 } >conf$$subs.sh ||
27410 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27411 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27413 for ac_last_try in false false false false false :; do
27414 . ./conf$$subs.sh ||
27415 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27417 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27418 if test $ac_delim_n = $ac_delim_num; then
27420 elif $ac_last_try; then
27421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27423 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27426 rm -f conf$$subs.sh
27428 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27429 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
27433 s/^/S["/; s/!.*/"]=/
27443 s/\(.\{148\}\)..*/\1/
27445 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27450 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27457 s/\(.\{148\}\)..*/\1/
27459 s/["\\]/\\&/g; s/^/"/; s/$/"/
27463 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27468 ' <conf$$subs.awk | sed '
27473 ' >>$CONFIG_STATUS || ac_write_fail=1
27474 rm -f conf$$subs.awk
27475 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27477 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
27478 for (key in S) S_is_set[key] = 1
27484 nfields = split(line, field, "@")
27486 len = length(field[1])
27487 for (i = 2; i < nfields; i++) {
27489 keylen = length(key)
27490 if (S_is_set[key]) {
27492 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27493 len += length(value) + length(field[++i])
27504 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27505 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27506 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27509 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
27510 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
27513 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27514 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
27515 # trailing colons and then remove the whole line if VPATH becomes empty
27516 # (actually we leave an empty line to preserve line numbers).
27517 if test "x$srcdir" = x.; then
27518 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
27536 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27537 fi # test -n "$CONFIG_FILES"
27539 # Set up the scripts for CONFIG_HEADERS section.
27540 # No need to generate them if there are no CONFIG_HEADERS.
27541 # This happens for instance with `./config.status Makefile'.
27542 if test -n "$CONFIG_HEADERS"; then
27543 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
27547 # Transform confdefs.h into an awk script `defines.awk', embedded as
27548 # here-document in config.status, that substitutes the proper values into
27549 # config.h.in to produce config.h.
27551 # Create a delimiter string that does not exist in confdefs.h, to ease
27552 # handling of long lines.
27554 for ac_last_try in false false :; do
27555 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27556 if test -z "$ac_tt"; then
27558 elif $ac_last_try; then
27559 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
27561 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27565 # For the awk script, D is an array of macro values keyed by name,
27566 # likewise P contains macro parameters if any. Preserve backslash
27567 # newline sequences.
27569 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27571 s/.\{148\}/&'"$ac_delim"'/g
27574 s/^[ ]*#[ ]*define[ ][ ]*/ /
27581 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27583 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27588 D["\1"]=" \3\\\\\\n"\\/p
27590 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27595 s/.\{148\}/&'"$ac_delim"'/g
27600 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27603 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27605 ' <confdefs.h | sed '
27606 s/'"$ac_delim"'/"\\\
27607 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27609 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27610 for (key in D) D_is_set[key] = 1
27613 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27615 split(line, arg, " ")
27616 if (arg[1] == "#") {
27620 defundef = substr(arg[1], 2)
27623 split(mac1, mac2, "(") #)
27625 prefix = substr(line, 1, index(line, defundef) - 1)
27626 if (D_is_set[macro]) {
27627 # Preserve the white space surrounding the "#".
27628 print prefix "define", macro P[macro] D[macro]
27631 # Replace #undef with comments. This is necessary, for example,
27632 # in the case of _POSIX_SOURCE, which is predefined and required
27633 # on some systems where configure will not decide to define it.
27634 if (defundef == "undef") {
27635 print "/*", prefix defundef, macro, "*/"
27643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27644 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27645 fi # test -n "$CONFIG_HEADERS"
27648 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27653 :[FHLC]) ac_mode=$ac_tag; continue;;
27655 case $ac_mode$ac_tag in
27657 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27658 :[FH]-) ac_tag=-:-;;
27659 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27676 -) ac_f="$ac_tmp/stdin";;
27677 *) # Look for the file first in the build tree, then in the source tree
27678 # (if the path is not absolute). The absolute path cannot be DOS-style,
27679 # because $ac_f cannot contain `:'.
27683 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27685 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27687 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27688 as_fn_append ac_file_inputs " '$ac_f'"
27691 # Let's still pretend it is `configure' which instantiates (i.e., don't
27692 # use $as_me), people would be surprised to read:
27693 # /* config.h. Generated by config.status. */
27694 configure_input='Generated from '`
27695 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27697 if test x"$ac_file" != x-; then
27698 configure_input="$ac_file. $configure_input"
27699 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27700 $as_echo "$as_me: creating $ac_file" >&6;}
27702 # Neutralize special characters interpreted by sed in replacement strings.
27703 case $configure_input in #(
27704 *\&* | *\|* | *\\* )
27705 ac_sed_conf_input=`$as_echo "$configure_input" |
27706 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27707 *) ac_sed_conf_input=$configure_input;;
27711 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27712 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27717 ac_dir=`$as_dirname -- "$ac_file" ||
27718 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27719 X"$ac_file" : 'X\(//\)[^/]' \| \
27720 X"$ac_file" : 'X\(//\)$' \| \
27721 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27722 $as_echo X"$ac_file" |
27723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27727 /^X\(\/\/\)[^/].*/{
27740 as_dir="$ac_dir"; as_fn_mkdir_p
27744 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27746 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27747 # A ".." for each directory in $ac_dir_suffix.
27748 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27749 case $ac_top_builddir_sub in
27750 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27751 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27754 ac_abs_top_builddir=$ac_pwd
27755 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27756 # for backward compatibility:
27757 ac_top_builddir=$ac_top_build_prefix
27760 .) # We are building in place.
27762 ac_top_srcdir=$ac_top_builddir_sub
27763 ac_abs_top_srcdir=$ac_pwd ;;
27764 [\\/]* | ?:[\\/]* ) # Absolute name.
27765 ac_srcdir=$srcdir$ac_dir_suffix;
27766 ac_top_srcdir=$srcdir
27767 ac_abs_top_srcdir=$srcdir ;;
27768 *) # Relative name.
27769 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27770 ac_top_srcdir=$ac_top_build_prefix$srcdir
27771 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27773 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27783 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27784 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27788 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27789 # If the template does not know about datarootdir, expand it.
27790 # FIXME: This hack should be removed a few years after 2.60.
27791 ac_datarootdir_hack=; ac_datarootdir_seen=
27802 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27803 *datarootdir*) ac_datarootdir_seen=yes;;
27804 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27806 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27808 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27809 ac_datarootdir_hack='
27810 s&@datadir@&$datadir&g
27811 s&@docdir@&$docdir&g
27812 s&@infodir@&$infodir&g
27813 s&@localedir@&$localedir&g
27814 s&@mandir@&$mandir&g
27815 s&\\\${datarootdir}&$datarootdir&g' ;;
27819 # Neutralize VPATH when `$srcdir' = `.'.
27820 # Shell code in configure.ac might set extrasub.
27821 # FIXME: do we really want to maintain this feature?
27822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27823 ac_sed_extra="$ac_vpsub
27826 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27828 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27829 s|@configure_input@|$ac_sed_conf_input|;t t
27830 s&@top_builddir@&$ac_top_builddir_sub&;t t
27831 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27832 s&@srcdir@&$ac_srcdir&;t t
27833 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27834 s&@top_srcdir@&$ac_top_srcdir&;t t
27835 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27836 s&@builddir@&$ac_builddir&;t t
27837 s&@abs_builddir@&$ac_abs_builddir&;t t
27838 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27839 s&@INSTALL@&$ac_INSTALL&;t t
27840 $ac_datarootdir_hack
27842 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27843 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27845 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27846 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27847 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27848 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27850 which seems to be undefined. Please make sure it is defined" >&5
27851 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27852 which seems to be undefined. Please make sure it is defined" >&2;}
27854 rm -f "$ac_tmp/stdin"
27856 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27857 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27859 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27865 if test x"$ac_file" != x-; then
27867 $as_echo "/* $configure_input */" \
27868 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27869 } >"$ac_tmp/config.h" \
27870 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27871 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27872 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27873 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27876 mv "$ac_tmp/config.h" "$ac_file" \
27877 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27880 $as_echo "/* $configure_input */" \
27881 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27882 || as_fn_error $? "could not create -" "$LINENO" 5
27886 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27887 $as_echo "$as_me: executing $ac_file commands" >&6;}
27892 case $ac_file$ac_mode in
27895 # See if we are running on zsh, and set the options that allow our
27896 # commands through without removal of \ escapes.
27897 if test -n "${ZSH_VERSION+set}"; then
27898 setopt NO_GLOB_SUBST
27902 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27905 cat <<_LT_EOF >> "$cfgfile"
27907 # Generated automatically by $as_me ($PACKAGE) $VERSION
27908 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27909 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27911 # Provide generalized library-building support services.
27912 # Written by Gordon Matzigkeit, 1996
27914 # Copyright (C) 2014 Free Software Foundation, Inc.
27915 # This is free software; see the source for copying conditions. There is NO
27916 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27918 # GNU Libtool is free software; you can redistribute it and/or modify
27919 # it under the terms of the GNU General Public License as published by
27920 # the Free Software Foundation; either version 2 of of the License, or
27921 # (at your option) any later version.
27923 # As a special exception to the GNU General Public License, if you
27924 # distribute this file as part of a program or library that is built
27925 # using GNU Libtool, you may include this file under the same
27926 # distribution terms that you use for the rest of that program.
27928 # GNU Libtool is distributed in the hope that it will be useful, but
27929 # WITHOUT ANY WARRANTY; without even the implied warranty of
27930 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27931 # GNU General Public License for more details.
27933 # You should have received a copy of the GNU General Public License
27934 # along with this program. If not, see <http://www.gnu.org/licenses/>.
27937 # The names of the tagged configurations supported by this script.
27938 available_tags='CXX '
27940 # Configured defaults for sys_lib_dlsearch_path munging.
27941 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
27943 # ### BEGIN LIBTOOL CONFIG
27945 # Which release of libtool.m4 was used?
27946 macro_version=$macro_version
27947 macro_revision=$macro_revision
27949 # Whether or not to build shared libraries.
27950 build_libtool_libs=$enable_shared
27952 # Whether or not to build static libraries.
27953 build_old_libs=$enable_static
27955 # What type of objects to build.
27958 # Whether or not to optimize for fast installation.
27959 fast_install=$enable_fast_install
27961 # Shared archive member basename,for filename based shared library versioning on AIX.
27962 shared_archive_member_spec=$shared_archive_member_spec
27964 # Shell to use when invoking shell scripts.
27967 # An echo program that protects backslashes.
27970 # The PATH separator for the build system.
27971 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27974 host_alias=$host_alias
27978 # The build system.
27979 build_alias=$build_alias
27983 # A sed program that does not truncate output.
27986 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27987 Xsed="\$SED -e 1s/^X//"
27989 # A grep program that handles long lines.
27995 # A literal string matcher.
27998 # A BSD- or MS-compatible name lister.
28001 # Whether we need soft or hard links.
28004 # What is the maximum length of a command?
28005 max_cmd_len=$max_cmd_len
28007 # Object file suffix (normally "o").
28010 # Executable file suffix (normally "").
28013 # whether the shell understands "unset".
28016 # turn spaces into newlines.
28019 # turn newlines into spaces.
28022 # convert \$build file names to \$host format.
28023 to_host_file_cmd=$lt_cv_to_host_file_cmd
28025 # convert \$build files to toolchain format.
28026 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28028 # An object symbol dumper.
28029 OBJDUMP=$lt_OBJDUMP
28031 # Method to check whether dependent libraries are shared objects.
28032 deplibs_check_method=$lt_deplibs_check_method
28034 # Command to use when deplibs_check_method = "file_magic".
28035 file_magic_cmd=$lt_file_magic_cmd
28037 # How to find potential files when deplibs_check_method = "file_magic".
28038 file_magic_glob=$lt_file_magic_glob
28040 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28041 want_nocaseglob=$lt_want_nocaseglob
28043 # DLL creation program.
28044 DLLTOOL=$lt_DLLTOOL
28046 # Command to associate shared and link libraries.
28047 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28052 # Flags to create an archive.
28053 AR_FLAGS=$lt_AR_FLAGS
28055 # How to feed a file listing to the archiver.
28056 archiver_list_spec=$lt_archiver_list_spec
28058 # A symbol stripping program.
28061 # Commands used to install an old-style archive.
28063 old_postinstall_cmds=$lt_old_postinstall_cmds
28064 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28066 # Whether to use a lock for old archive extraction.
28067 lock_old_archive_extraction=$lock_old_archive_extraction
28072 # LTCC compiler flags.
28073 LTCFLAGS=$lt_CFLAGS
28075 # Take the output of nm and produce a listing of raw symbols and C names.
28076 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28078 # Transform the output of nm in a proper C declaration.
28079 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28081 # Transform the output of nm into a list of symbols to manually relocate.
28082 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
28084 # Transform the output of nm in a C name address pair.
28085 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28087 # Transform the output of nm in a C name address pair when lib prefix is needed.
28088 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28090 # The name lister interface.
28091 nm_interface=$lt_lt_cv_nm_interface
28093 # Specify filename containing input files for \$NM.
28094 nm_file_list_spec=$lt_nm_file_list_spec
28096 # The root where to search for dependent libraries,and where our libraries should be installed.
28097 lt_sysroot=$lt_sysroot
28099 # Command to truncate a binary pipe.
28100 lt_truncate_bin=$lt_lt_cv_truncate_bin
28102 # The name of the directory that contains temporary libtool files.
28105 # Used to examine libraries when file_magic_cmd begins with "file".
28106 MAGIC_CMD=$MAGIC_CMD
28108 # Must we lock files when doing compilation?
28109 need_locks=$lt_need_locks
28112 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28114 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28115 DSYMUTIL=$lt_DSYMUTIL
28117 # Tool to change global to local symbols on Mac OS X.
28120 # Tool to manipulate fat objects and archives on Mac OS X.
28123 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28126 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28127 OTOOL64=$lt_OTOOL64
28129 # Old archive suffix (normally "a").
28132 # Shared library suffix (normally ".so").
28133 shrext_cmds=$lt_shrext_cmds
28135 # The commands to extract the exported symbol list from a shared archive.
28136 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28138 # Variables whose values should be saved in libtool wrapper scripts and
28139 # restored at link time.
28140 variables_saved_for_relink=$lt_variables_saved_for_relink
28142 # Do we need the "lib" prefix for modules?
28143 need_lib_prefix=$need_lib_prefix
28145 # Do we need a version for libraries?
28146 need_version=$need_version
28148 # Library versioning type.
28149 version_type=$version_type
28151 # Shared library runtime path variable.
28152 runpath_var=$runpath_var
28154 # Shared library path variable.
28155 shlibpath_var=$shlibpath_var
28157 # Is shlibpath searched before the hard-coded library search path?
28158 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28160 # Format of library name prefix.
28161 libname_spec=$lt_libname_spec
28163 # List of archive names. First name is the real one, the rest are links.
28164 # The last name is the one that the linker finds with -lNAME
28165 library_names_spec=$lt_library_names_spec
28167 # The coded name of the library, if different from the real name.
28168 soname_spec=$lt_soname_spec
28170 # Permission mode override for installation of shared libraries.
28171 install_override_mode=$lt_install_override_mode
28173 # Command to use after installation of a shared archive.
28174 postinstall_cmds=$lt_postinstall_cmds
28176 # Command to use after uninstallation of a shared archive.
28177 postuninstall_cmds=$lt_postuninstall_cmds
28179 # Commands used to finish a libtool library installation in a directory.
28180 finish_cmds=$lt_finish_cmds
28182 # As "finish_cmds", except a single script fragment to be evaled but
28184 finish_eval=$lt_finish_eval
28186 # Whether we should hardcode library paths into libraries.
28187 hardcode_into_libs=$hardcode_into_libs
28189 # Compile-time system search path for libraries.
28190 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28192 # Detected run-time system search path for libraries.
28193 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
28195 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
28196 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
28198 # Whether dlopen is supported.
28199 dlopen_support=$enable_dlopen
28201 # Whether dlopen of programs is supported.
28202 dlopen_self=$enable_dlopen_self
28204 # Whether dlopen of statically linked programs is supported.
28205 dlopen_self_static=$enable_dlopen_self_static
28207 # Commands to strip libraries.
28208 old_striplib=$lt_old_striplib
28209 striplib=$lt_striplib
28212 # The linker used to build libraries.
28215 # How to create reloadable object files.
28216 reload_flag=$lt_reload_flag
28217 reload_cmds=$lt_reload_cmds
28219 # Commands used to build an old-style archive.
28220 old_archive_cmds=$lt_old_archive_cmds
28222 # A language specific compiler.
28225 # Is the compiler the GNU compiler?
28228 # Compiler flag to turn off builtin functions.
28229 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28231 # Additional compiler flags for building library objects.
28232 pic_flag=$lt_lt_prog_compiler_pic
28234 # How to pass a linker flag through the compiler.
28235 wl=$lt_lt_prog_compiler_wl
28237 # Compiler flag to prevent dynamic linking.
28238 link_static_flag=$lt_lt_prog_compiler_static
28240 # Does compiler simultaneously support -c and -o options?
28241 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28243 # Whether or not to add -lc for building shared libraries.
28244 build_libtool_need_lc=$archive_cmds_need_lc
28246 # Whether or not to disallow shared libs when runtime libs are static.
28247 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28249 # Compiler flag to allow reflexive dlopens.
28250 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28252 # Compiler flag to generate shared objects directly from archives.
28253 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28255 # Whether the compiler copes with passing no objects directly.
28256 compiler_needs_object=$lt_compiler_needs_object
28258 # Create an old-style archive from a shared archive.
28259 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28261 # Create a temporary old-style archive to link instead of a shared archive.
28262 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28264 # Commands used to build a shared archive.
28265 archive_cmds=$lt_archive_cmds
28266 archive_expsym_cmds=$lt_archive_expsym_cmds
28268 # Commands used to build a loadable module if different from building
28269 # a shared archive.
28270 module_cmds=$lt_module_cmds
28271 module_expsym_cmds=$lt_module_expsym_cmds
28273 # Whether we are building with GNU ld or not.
28274 with_gnu_ld=$lt_with_gnu_ld
28276 # Flag that allows shared libraries with undefined symbols to be built.
28277 allow_undefined_flag=$lt_allow_undefined_flag
28279 # Flag that enforces no undefined symbols.
28280 no_undefined_flag=$lt_no_undefined_flag
28282 # Flag to hardcode \$libdir into a binary during linking.
28283 # This must work even if \$libdir does not exist
28284 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28286 # Whether we need a single "-rpath" flag with a separated argument.
28287 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28289 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28290 # DIR into the resulting binary.
28291 hardcode_direct=$hardcode_direct
28293 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28294 # DIR into the resulting binary and the resulting library dependency is
28295 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28296 # library is relocated.
28297 hardcode_direct_absolute=$hardcode_direct_absolute
28299 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28300 # into the resulting binary.
28301 hardcode_minus_L=$hardcode_minus_L
28303 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28304 # into the resulting binary.
28305 hardcode_shlibpath_var=$hardcode_shlibpath_var
28307 # Set to "yes" if building a shared library automatically hardcodes DIR
28308 # into the library and all subsequent libraries and executables linked
28310 hardcode_automatic=$hardcode_automatic
28312 # Set to yes if linker adds runtime paths of dependent libraries
28313 # to runtime path list.
28314 inherit_rpath=$inherit_rpath
28316 # Whether libtool must link a program against all its dependency libraries.
28317 link_all_deplibs=$link_all_deplibs
28319 # Set to "yes" if exported symbols are required.
28320 always_export_symbols=$always_export_symbols
28322 # The commands to list exported symbols.
28323 export_symbols_cmds=$lt_export_symbols_cmds
28325 # Symbols that should not be listed in the preloaded symbols.
28326 exclude_expsyms=$lt_exclude_expsyms
28328 # Symbols that must always be exported.
28329 include_expsyms=$lt_include_expsyms
28331 # Commands necessary for linking programs (against libraries) with templates.
28332 prelink_cmds=$lt_prelink_cmds
28334 # Commands necessary for finishing linking programs.
28335 postlink_cmds=$lt_postlink_cmds
28337 # Specify filename containing input files.
28338 file_list_spec=$lt_file_list_spec
28340 # How to hardcode a shared library path into an executable.
28341 hardcode_action=$hardcode_action
28343 # The directories searched by this compiler when creating a shared library.
28344 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28346 # Dependencies to place before and after the objects being linked to
28347 # create a shared library.
28348 predep_objects=$lt_predep_objects
28349 postdep_objects=$lt_postdep_objects
28350 predeps=$lt_predeps
28351 postdeps=$lt_postdeps
28353 # The library search path used internally by the compiler when linking
28354 # a shared library.
28355 compiler_lib_search_path=$lt_compiler_lib_search_path
28357 # ### END LIBTOOL CONFIG
28361 cat <<'_LT_EOF' >> "$cfgfile"
28363 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
28365 # func_munge_path_list VARIABLE PATH
28366 # -----------------------------------
28367 # VARIABLE is name of variable containing _space_ separated list of
28368 # directories to be munged by the contents of PATH, which is string
28371 # string "DIR[ DIR]" will be prepended to VARIABLE
28373 # string "DIR[ DIR]" will be appended to VARIABLE
28374 # "DIRP[:DIRP]::[DIRA:]DIRA"
28375 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
28376 # "DIRA[ DIRA]" will be appended to VARIABLE
28378 # VARIABLE will be replaced by "DIR[ DIR]"
28379 func_munge_path_list ()
28385 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
28388 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
28391 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
28392 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
28395 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
28401 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
28402 func_cc_basename ()
28404 for cc_temp in $*""; do
28406 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28407 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28412 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
28416 # ### END FUNCTIONS SHARED WITH CONFIGURE
28422 cat <<\_LT_EOF >> "$cfgfile"
28423 # AIX sometimes has problems with the GCC collect2 program. For some
28424 # reason, if we set the COLLECT_NAMES environment variable, the problems
28425 # vanish in a puff of smoke.
28426 if test set != "${COLLECT_NAMES+set}"; then
28428 export COLLECT_NAMES
28435 ltmain=$ac_aux_dir/ltmain.sh
28438 # We use sed instead of cat because bash on DJGPP gets confused if
28439 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28440 # text mode, it properly converts lines to CR/LF. This bash problem
28441 # is reportedly fixed, but why not run on old versions too?
28442 sed '$q' "$ltmain" >> "$cfgfile" \
28443 || (rm -f "$cfgfile"; exit 1)
28445 mv -f "$cfgfile" "$ofile" ||
28446 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28450 cat <<_LT_EOF >> "$ofile"
28452 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28454 # The linker used to build libraries.
28457 # How to create reloadable object files.
28458 reload_flag=$lt_reload_flag_CXX
28459 reload_cmds=$lt_reload_cmds_CXX
28461 # Commands used to build an old-style archive.
28462 old_archive_cmds=$lt_old_archive_cmds_CXX
28464 # A language specific compiler.
28465 CC=$lt_compiler_CXX
28467 # Is the compiler the GNU compiler?
28470 # Compiler flag to turn off builtin functions.
28471 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28473 # Additional compiler flags for building library objects.
28474 pic_flag=$lt_lt_prog_compiler_pic_CXX
28476 # How to pass a linker flag through the compiler.
28477 wl=$lt_lt_prog_compiler_wl_CXX
28479 # Compiler flag to prevent dynamic linking.
28480 link_static_flag=$lt_lt_prog_compiler_static_CXX
28482 # Does compiler simultaneously support -c and -o options?
28483 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28485 # Whether or not to add -lc for building shared libraries.
28486 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28488 # Whether or not to disallow shared libs when runtime libs are static.
28489 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28491 # Compiler flag to allow reflexive dlopens.
28492 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28494 # Compiler flag to generate shared objects directly from archives.
28495 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28497 # Whether the compiler copes with passing no objects directly.
28498 compiler_needs_object=$lt_compiler_needs_object_CXX
28500 # Create an old-style archive from a shared archive.
28501 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28503 # Create a temporary old-style archive to link instead of a shared archive.
28504 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28506 # Commands used to build a shared archive.
28507 archive_cmds=$lt_archive_cmds_CXX
28508 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28510 # Commands used to build a loadable module if different from building
28511 # a shared archive.
28512 module_cmds=$lt_module_cmds_CXX
28513 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28515 # Whether we are building with GNU ld or not.
28516 with_gnu_ld=$lt_with_gnu_ld_CXX
28518 # Flag that allows shared libraries with undefined symbols to be built.
28519 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28521 # Flag that enforces no undefined symbols.
28522 no_undefined_flag=$lt_no_undefined_flag_CXX
28524 # Flag to hardcode \$libdir into a binary during linking.
28525 # This must work even if \$libdir does not exist
28526 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28528 # Whether we need a single "-rpath" flag with a separated argument.
28529 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28531 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28532 # DIR into the resulting binary.
28533 hardcode_direct=$hardcode_direct_CXX
28535 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28536 # DIR into the resulting binary and the resulting library dependency is
28537 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28538 # library is relocated.
28539 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28541 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28542 # into the resulting binary.
28543 hardcode_minus_L=$hardcode_minus_L_CXX
28545 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28546 # into the resulting binary.
28547 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28549 # Set to "yes" if building a shared library automatically hardcodes DIR
28550 # into the library and all subsequent libraries and executables linked
28552 hardcode_automatic=$hardcode_automatic_CXX
28554 # Set to yes if linker adds runtime paths of dependent libraries
28555 # to runtime path list.
28556 inherit_rpath=$inherit_rpath_CXX
28558 # Whether libtool must link a program against all its dependency libraries.
28559 link_all_deplibs=$link_all_deplibs_CXX
28561 # Set to "yes" if exported symbols are required.
28562 always_export_symbols=$always_export_symbols_CXX
28564 # The commands to list exported symbols.
28565 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28567 # Symbols that should not be listed in the preloaded symbols.
28568 exclude_expsyms=$lt_exclude_expsyms_CXX
28570 # Symbols that must always be exported.
28571 include_expsyms=$lt_include_expsyms_CXX
28573 # Commands necessary for linking programs (against libraries) with templates.
28574 prelink_cmds=$lt_prelink_cmds_CXX
28576 # Commands necessary for finishing linking programs.
28577 postlink_cmds=$lt_postlink_cmds_CXX
28579 # Specify filename containing input files.
28580 file_list_spec=$lt_file_list_spec_CXX
28582 # How to hardcode a shared library path into an executable.
28583 hardcode_action=$hardcode_action_CXX
28585 # The directories searched by this compiler when creating a shared library.
28586 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28588 # Dependencies to place before and after the objects being linked to
28589 # create a shared library.
28590 predep_objects=$lt_predep_objects_CXX
28591 postdep_objects=$lt_postdep_objects_CXX
28592 predeps=$lt_predeps_CXX
28593 postdeps=$lt_postdeps_CXX
28595 # The library search path used internally by the compiler when linking
28596 # a shared library.
28597 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28599 # ### END LIBTOOL TAG CONFIG: CXX
28603 "svn_private_config.h.tmp":C) svn_cf=subversion/svn_private_config.h;
28604 $SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" $svn_cf.tmp > $svn_cf.tmp.new
28605 cmp -s $svn_cf.tmp.new $svn_cf || mv -f $svn_cf.tmp.new $svn_cf
28606 rm -f $svn_cf.tmp.new $svn_cf.tmp ;;
28607 "tools/backup/hot-backup.py":F) chmod +x tools/backup/hot-backup.py ;;
28608 "tools/hook-scripts/commit-access-control.pl":F) chmod +x tools/hook-scripts/commit-access-control.pl ;;
28609 "subversion/bindings/swig/perl/native/Makefile.PL":F) chmod +x subversion/bindings/swig/perl/native/Makefile.PL ;;
28610 "packages/solaris/pkginfo":F) chmod +x packages/solaris/pkginfo ;;
28618 ac_clean_files=$ac_clean_files_save
28620 test $ac_write_fail = 0 ||
28621 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28624 # configure is writing to config.log, and then calls config.status.
28625 # config.status does its own redirection, appending to config.log.
28626 # Unfortunately, on DOS this fails, as config.log is still kept open
28627 # by configure, so config.status won't be able to write to it; its
28628 # output is simply discarded. So we exec the FD to /dev/null,
28629 # effectively closing config.log, so it can be properly (re)opened and
28630 # appended to by config.status. When coming back to configure, we
28631 # need to make the FD available again.
28632 if test "$no_create" != yes; then
28634 ac_config_status_args=
28635 test "$silent" = yes &&
28636 ac_config_status_args="$ac_config_status_args --quiet"
28638 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28640 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28641 # would make configure fail if this is the last instruction.
28642 $ac_cs_success || as_fn_exit 1
28644 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28646 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28650 # ==== Print final messages to user ==========================================
28653 if test "$svn_have_berkeley_db" = "no6" && test "$enable_bdb6" != "no"; then
28654 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We have configured without BDB filesystem support
28657 Berkeley DB 6 was found, but not used. Please re-run configure (see
28658 ./config.nice) with the '--enable-bdb6' flag to use it,
28659 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
28660 to silence this warning.
28662 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
28663 General Public License, version 3:
28664 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
28666 The AGPL-3.0 licence may impose special requirements for making available
28667 source code of server-side software. The text of the licence is:
28668 https://www.gnu.org/licenses/agpl-3.0.html
28669 http://opensource.org/licenses/AGPL-3.0
28671 The Berkeley DB backend to Subversion is deprecated; see
28672 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
28674 The Subversion developers have not tested Subversion with Berkeley DB 6 for
28675 technical problems or bugs.
28677 $as_echo "$as_me: WARNING: We have configured without BDB filesystem support
28680 Berkeley DB 6 was found, but not used. Please re-run configure (see
28681 ./config.nice) with the '--enable-bdb6' flag to use it,
28682 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
28683 to silence this warning.
28685 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
28686 General Public License, version 3:
28687 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
28689 The AGPL-3.0 licence may impose special requirements for making available
28690 source code of server-side software. The text of the licence is:
28691 https://www.gnu.org/licenses/agpl-3.0.html
28692 http://opensource.org/licenses/AGPL-3.0
28694 The Berkeley DB backend to Subversion is deprecated; see
28695 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
28697 The Subversion developers have not tested Subversion with Berkeley DB 6 for
28698 technical problems or bugs.