2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for subversion 1.9.5.
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.5'
594 PACKAGE_STRING='subversion 1.9.5'
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.5 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.5:";;
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.5
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.5, 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.5" >&5
2679 $as_echo "$as_me: Configuring Subversion 1.9.5" >&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 "${prefix}" = "NONE" \
7426 && ( test "${datadir}" = '${prefix}/share' \
7427 || ( test "${datadir}" = '${datarootdir}' \
7428 && test "${datarootdir}" = '${prefix}/share' ) ); then
7429 exp_localedir='${ac_default_prefix}/share/locale'
7431 exp_localedir=$localedir
7435 svn_cur=""${exp_localedir}""
7436 while test "x${svn_cur}" != "x${svn_last}";
7438 svn_last="${svn_cur}"
7439 svn_cur=`eval "echo ${svn_cur}"`
7441 svn_localedir="${svn_cur}"
7444 cat >>confdefs.h <<_ACEOF
7445 #define SVN_LOCALE_DIR "${svn_localedir}"
7449 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring libtool now" >&5
7450 $as_echo "$as_me: configuring libtool now" >&6;}
7453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7454 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7459 macro_version='2.4.6'
7460 macro_revision='2.4.6'
7474 ltmain=$ac_aux_dir/ltmain.sh
7476 # Backslashify metacharacters that are still active within
7477 # double-quoted strings.
7478 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7480 # Same as above, but do not quote variable references.
7481 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7483 # Sed substitution to delay expansion of an escaped shell variable in a
7484 # double_quote_subst'ed string.
7485 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7487 # Sed substitution to delay expansion of an escaped single quote.
7488 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7490 # Sed substitution to avoid accidental globbing in evaled expressions
7491 no_glob_subst='s/\*/\\\*/g'
7493 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7494 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7495 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7498 $as_echo_n "checking how to print strings... " >&6; }
7499 # Test print first, because it will be a builtin if present.
7500 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7501 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7503 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7506 # Use this function as a fallback that always works.
7507 func_fallback_echo ()
7509 eval 'cat <<_LTECHO_EOF
7513 ECHO='func_fallback_echo'
7516 # func_echo_all arg...
7517 # Invoke $ECHO with all args, space-separated.
7524 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7525 $as_echo "printf" >&6; } ;;
7526 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7527 $as_echo "print -r" >&6; } ;;
7528 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7529 $as_echo "cat" >&6; } ;;
7545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7546 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7547 if ${ac_cv_path_SED+:} false; then :
7548 $as_echo_n "(cached) " >&6
7550 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7551 for ac_i in 1 2 3 4 5 6 7; do
7552 ac_script="$ac_script$as_nl$ac_script"
7554 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7555 { ac_script=; unset ac_script;}
7556 if test -z "$SED"; then
7557 ac_path_SED_found=false
7558 # Loop through the user's path and test for each of PROGNAME-LIST
7559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7563 test -z "$as_dir" && as_dir=.
7564 for ac_prog in sed gsed; do
7565 for ac_exec_ext in '' $ac_executable_extensions; do
7566 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7567 as_fn_executable_p "$ac_path_SED" || continue
7568 # Check for GNU ac_path_SED and select it if it is found.
7569 # Check for GNU $ac_path_SED
7570 case `"$ac_path_SED" --version 2>&1` in
7572 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7575 $as_echo_n 0123456789 >"conftest.in"
7578 cat "conftest.in" "conftest.in" >"conftest.tmp"
7579 mv "conftest.tmp" "conftest.in"
7580 cp "conftest.in" "conftest.nl"
7581 $as_echo '' >> "conftest.nl"
7582 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7583 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7584 as_fn_arith $ac_count + 1 && ac_count=$as_val
7585 if test $ac_count -gt ${ac_path_SED_max-0}; then
7586 # Best one so far, save it but keep looking for a better one
7587 ac_cv_path_SED="$ac_path_SED"
7588 ac_path_SED_max=$ac_count
7590 # 10*(2^10) chars as input seems more than enough
7591 test $ac_count -gt 10 && break
7593 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7596 $ac_path_SED_found && break 3
7601 if test -z "$ac_cv_path_SED"; then
7602 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7610 $as_echo "$ac_cv_path_SED" >&6; }
7611 SED="$ac_cv_path_SED"
7614 test -z "$SED" && SED=sed
7615 Xsed="$SED -e 1s/^X//"
7627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7628 $as_echo_n "checking for fgrep... " >&6; }
7629 if ${ac_cv_path_FGREP+:} false; then :
7630 $as_echo_n "(cached) " >&6
7632 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7633 then ac_cv_path_FGREP="$GREP -F"
7635 if test -z "$FGREP"; then
7636 ac_path_FGREP_found=false
7637 # Loop through the user's path and test for each of PROGNAME-LIST
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7642 test -z "$as_dir" && as_dir=.
7643 for ac_prog in fgrep; do
7644 for ac_exec_ext in '' $ac_executable_extensions; do
7645 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7646 as_fn_executable_p "$ac_path_FGREP" || continue
7647 # Check for GNU ac_path_FGREP and select it if it is found.
7648 # Check for GNU $ac_path_FGREP
7649 case `"$ac_path_FGREP" --version 2>&1` in
7651 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7654 $as_echo_n 0123456789 >"conftest.in"
7657 cat "conftest.in" "conftest.in" >"conftest.tmp"
7658 mv "conftest.tmp" "conftest.in"
7659 cp "conftest.in" "conftest.nl"
7660 $as_echo 'FGREP' >> "conftest.nl"
7661 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7662 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7663 as_fn_arith $ac_count + 1 && ac_count=$as_val
7664 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7665 # Best one so far, save it but keep looking for a better one
7666 ac_cv_path_FGREP="$ac_path_FGREP"
7667 ac_path_FGREP_max=$ac_count
7669 # 10*(2^10) chars as input seems more than enough
7670 test $ac_count -gt 10 && break
7672 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7675 $ac_path_FGREP_found && break 3
7680 if test -z "$ac_cv_path_FGREP"; then
7681 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7684 ac_cv_path_FGREP=$FGREP
7689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7690 $as_echo "$ac_cv_path_FGREP" >&6; }
7691 FGREP="$ac_cv_path_FGREP"
7694 test -z "$GREP" && GREP=grep
7714 # Check whether --with-gnu-ld was given.
7715 if test "${with_gnu_ld+set}" = set; then :
7716 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
7722 if test yes = "$GCC"; then
7723 # Check if gcc -print-prog-name=ld gives a path.
7724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7725 $as_echo_n "checking for ld used by $CC... " >&6; }
7728 # gcc leaves a trailing carriage return, which upsets mingw
7729 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7731 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7734 # Accept absolute paths.
7736 re_direlt='/[^/][^/]*/\.\./'
7737 # Canonicalize the pathname of ld
7738 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7739 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7740 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7742 test -z "$LD" && LD=$ac_prog
7745 # If it fails, then pretend we aren't using GCC.
7749 # If it is relative, then search for the first ld in PATH.
7753 elif test yes = "$with_gnu_ld"; then
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7755 $as_echo_n "checking for GNU ld... " >&6; }
7757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7758 $as_echo_n "checking for non-GNU ld... " >&6; }
7760 if ${lt_cv_path_LD+:} false; then :
7761 $as_echo_n "(cached) " >&6
7763 if test -z "$LD"; then
7764 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7765 for ac_dir in $PATH; do
7767 test -z "$ac_dir" && ac_dir=.
7768 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7769 lt_cv_path_LD=$ac_dir/$ac_prog
7770 # Check to see if the program is GNU ld. I'd rather use --version,
7771 # but apparently some variants of GNU ld only accept -v.
7772 # Break only if it was the GNU/non-GNU ld that we prefer.
7773 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7774 *GNU* | *'with BFD'*)
7775 test no != "$with_gnu_ld" && break
7778 test yes != "$with_gnu_ld" && break
7785 lt_cv_path_LD=$LD # Let the user override the test with a path.
7790 if test -n "$LD"; then
7791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7792 $as_echo "$LD" >&6; }
7794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7795 $as_echo "no" >&6; }
7797 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7799 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7800 if ${lt_cv_prog_gnu_ld+:} false; then :
7801 $as_echo_n "(cached) " >&6
7803 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7804 case `$LD -v 2>&1 </dev/null` in
7805 *GNU* | *'with BFD'*)
7806 lt_cv_prog_gnu_ld=yes
7809 lt_cv_prog_gnu_ld=no
7813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7814 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7815 with_gnu_ld=$lt_cv_prog_gnu_ld
7825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7826 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7827 if ${lt_cv_path_NM+:} false; then :
7828 $as_echo_n "(cached) " >&6
7830 if test -n "$NM"; then
7831 # Let the user override the test.
7834 lt_nm_to_check=${ac_tool_prefix}nm
7835 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7836 lt_nm_to_check="$lt_nm_to_check nm"
7838 for lt_tmp_nm in $lt_nm_to_check; do
7839 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
7840 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7842 test -z "$ac_dir" && ac_dir=.
7843 tmp_nm=$ac_dir/$lt_tmp_nm
7844 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext"; then
7845 # Check to see if the nm accepts a BSD-compat flag.
7846 # Adding the 'sed 1q' prevents false positives on HP-UX, which says:
7847 # nm: unknown option "B" ignored
7848 # Tru64's nm complains that /dev/null is an invalid object file
7849 # MSYS converts /dev/null to NUL, MinGW nm treats NUL as empty
7851 mingw*) lt_bad_file=conftest.nm/nofile ;;
7852 *) lt_bad_file=/dev/null ;;
7854 case `"$tmp_nm" -B $lt_bad_file 2>&1 | sed '1q'` in
7855 *$lt_bad_file* | *'Invalid file or object type'*)
7856 lt_cv_path_NM="$tmp_nm -B"
7860 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7862 lt_cv_path_NM="$tmp_nm -p"
7866 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7867 continue # so that we can try to find one that supports BSD flags
7876 : ${lt_cv_path_NM=no}
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7880 $as_echo "$lt_cv_path_NM" >&6; }
7881 if test no != "$lt_cv_path_NM"; then
7884 # Didn't find any BSD compatible name lister, look for dumpbin.
7885 if test -n "$DUMPBIN"; then :
7886 # Let the user override the test.
7888 if test -n "$ac_tool_prefix"; then
7889 for ac_prog in dumpbin "link -dump"
7891 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7892 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7894 $as_echo_n "checking for $ac_word... " >&6; }
7895 if ${ac_cv_prog_DUMPBIN+:} false; then :
7896 $as_echo_n "(cached) " >&6
7898 if test -n "$DUMPBIN"; then
7899 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7905 test -z "$as_dir" && as_dir=.
7906 for ac_exec_ext in '' $ac_executable_extensions; do
7907 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7908 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7909 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 DUMPBIN=$ac_cv_prog_DUMPBIN
7919 if test -n "$DUMPBIN"; then
7920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7921 $as_echo "$DUMPBIN" >&6; }
7923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7924 $as_echo "no" >&6; }
7928 test -n "$DUMPBIN" && break
7931 if test -z "$DUMPBIN"; then
7932 ac_ct_DUMPBIN=$DUMPBIN
7933 for ac_prog in dumpbin "link -dump"
7935 # Extract the first word of "$ac_prog", so it can be a program name with args.
7936 set dummy $ac_prog; ac_word=$2
7937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7938 $as_echo_n "checking for $ac_word... " >&6; }
7939 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7940 $as_echo_n "(cached) " >&6
7942 if test -n "$ac_ct_DUMPBIN"; then
7943 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7949 test -z "$as_dir" && as_dir=.
7950 for ac_exec_ext in '' $ac_executable_extensions; do
7951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7952 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7962 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7963 if test -n "$ac_ct_DUMPBIN"; then
7964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7965 $as_echo "$ac_ct_DUMPBIN" >&6; }
7967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7968 $as_echo "no" >&6; }
7972 test -n "$ac_ct_DUMPBIN" && break
7975 if test "x$ac_ct_DUMPBIN" = x; then
7978 case $cross_compiling:$ac_tool_warned in
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7982 ac_tool_warned=yes ;;
7984 DUMPBIN=$ac_ct_DUMPBIN
7988 case `$DUMPBIN -symbols -headers /dev/null 2>&1 | sed '1q'` in
7990 DUMPBIN="$DUMPBIN -symbols -headers"
7998 if test : != "$DUMPBIN"; then
8002 test -z "$NM" && NM=nm
8009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
8010 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
8011 if ${lt_cv_nm_interface+:} false; then :
8012 $as_echo_n "(cached) " >&6
8014 lt_cv_nm_interface="BSD nm"
8015 echo "int some_variable = 0;" > conftest.$ac_ext
8016 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
8017 (eval "$ac_compile" 2>conftest.err)
8018 cat conftest.err >&5
8019 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
8020 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
8021 cat conftest.err >&5
8022 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
8023 cat conftest.out >&5
8024 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
8025 lt_cv_nm_interface="MS dumpbin"
8029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
8030 $as_echo "$lt_cv_nm_interface" >&6; }
8032 # find the maximum length of command line arguments
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
8034 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
8035 if ${lt_cv_sys_max_cmd_len+:} false; then :
8036 $as_echo_n "(cached) " >&6
8043 # On DJGPP, this test can blow up pretty badly due to problems in libc
8044 # (any single argument exceeding 2000 bytes causes a buffer overrun
8045 # during glob expansion). Even if it were fixed, the result of this
8046 # check would be larger than it should be.
8047 lt_cv_sys_max_cmd_len=12288; # 12K is about right
8051 # Under GNU Hurd, this test is not required because there is
8052 # no limit to the length of command line arguments.
8053 # Libtool will interpret -1 as no limit whatsoever
8054 lt_cv_sys_max_cmd_len=-1;
8057 cygwin* | mingw* | cegcc*)
8058 # On Win9x/ME, this test blows up -- it succeeds, but takes
8059 # about 5 minutes as the teststring grows exponentially.
8060 # Worse, since 9x/ME are not pre-emptively multitasking,
8061 # you end up with a "frozen" computer, even though with patience
8062 # the test eventually succeeds (with a max line length of 256k).
8063 # Instead, let's just punt: use the minimum linelength reported by
8064 # all of the supported platforms: 8192 (on NT/2K/XP).
8065 lt_cv_sys_max_cmd_len=8192;
8069 # On MiNT this can take a long time and run out of memory.
8070 lt_cv_sys_max_cmd_len=8192;
8074 # On AmigaOS with pdksh, this test takes hours, literally.
8075 # So we just punt and use a minimum line length of 8192.
8076 lt_cv_sys_max_cmd_len=8192;
8079 bitrig* | darwin* | dragonfly* | freebsd* | netbsd* | openbsd*)
8080 # This has been around since 386BSD, at least. Likely further.
8081 if test -x /sbin/sysctl; then
8082 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
8083 elif test -x /usr/sbin/sysctl; then
8084 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
8086 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
8088 # And add a safety zone
8089 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8090 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8094 # We know the value 262144 and hardcode it with a safety zone (like BSD)
8095 lt_cv_sys_max_cmd_len=196608
8099 # The test takes a long time on OS/2.
8100 lt_cv_sys_max_cmd_len=8192
8104 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
8105 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
8106 # nice to cause kernel panics so lets avoid the loop below.
8107 # First set a reasonable default.
8108 lt_cv_sys_max_cmd_len=16384
8110 if test -x /sbin/sysconfig; then
8111 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
8112 *1*) lt_cv_sys_max_cmd_len=-1 ;;
8117 lt_cv_sys_max_cmd_len=102400
8119 sysv5* | sco5v6* | sysv4.2uw2*)
8120 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
8121 if test -n "$kargmax"; then
8122 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
8124 lt_cv_sys_max_cmd_len=32768
8128 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
8129 if test -n "$lt_cv_sys_max_cmd_len" && \
8130 test undefined != "$lt_cv_sys_max_cmd_len"; then
8131 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
8132 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
8134 # Make teststring a little bigger before we do anything with it.
8135 # a 1K string should be a reasonable start.
8136 for i in 1 2 3 4 5 6 7 8; do
8137 teststring=$teststring$teststring
8139 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
8140 # If test is not a shell built-in, we'll probably end up computing a
8141 # maximum length that is only half of the actual maximum length, but
8143 while { test X`env echo "$teststring$teststring" 2>/dev/null` \
8144 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
8145 test 17 != "$i" # 1/2 MB should be enough
8148 teststring=$teststring$teststring
8150 # Only check the string length outside the loop.
8151 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
8153 # Add a significant safety factor because C++ compilers can tack on
8154 # massive amounts of additional arguments before passing them to the
8155 # linker. It appears as though 1/2 is a usable value.
8156 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
8163 if test -n "$lt_cv_sys_max_cmd_len"; then
8164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
8165 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
8167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
8168 $as_echo "none" >&6; }
8170 max_cmd_len=$lt_cv_sys_max_cmd_len
8181 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8191 # test EBCDIC or ASCII
8192 case `echo X|tr X '\101'` in
8193 A) # ASCII based system
8194 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8195 lt_SP2NL='tr \040 \012'
8196 lt_NL2SP='tr \015\012 \040\040'
8198 *) # EBCDIC based system
8199 lt_SP2NL='tr \100 \n'
8200 lt_NL2SP='tr \r\n \100\100'
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8213 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8214 if ${lt_cv_to_host_file_cmd+:} false; then :
8215 $as_echo_n "(cached) " >&6
8220 *-*-mingw* ) # actually msys
8221 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8224 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8226 * ) # otherwise, assume *nix
8227 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8233 *-*-mingw* ) # actually msys
8234 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8237 lt_cv_to_host_file_cmd=func_convert_file_noop
8239 * ) # otherwise, assume *nix
8240 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8244 * ) # unhandled hosts (and "normal" native builds)
8245 lt_cv_to_host_file_cmd=func_convert_file_noop
8251 to_host_file_cmd=$lt_cv_to_host_file_cmd
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8253 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8260 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8261 if ${lt_cv_to_tool_file_cmd+:} false; then :
8262 $as_echo_n "(cached) " >&6
8264 #assume ordinary cross tools, or native build.
8265 lt_cv_to_tool_file_cmd=func_convert_file_noop
8269 *-*-mingw* ) # actually msys
8270 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8278 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8280 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8287 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8288 if ${lt_cv_ld_reload_flag+:} false; then :
8289 $as_echo_n "(cached) " >&6
8291 lt_cv_ld_reload_flag='-r'
8293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8294 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8295 reload_flag=$lt_cv_ld_reload_flag
8296 case $reload_flag in
8298 *) reload_flag=" $reload_flag" ;;
8300 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8302 cygwin* | mingw* | pw32* | cegcc*)
8303 if test yes != "$GCC"; then
8308 if test yes = "$GCC"; then
8309 reload_cmds='$LTCC $LTCFLAGS -nostdlib $wl-r -o $output$reload_objs'
8311 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8324 if test -n "$ac_tool_prefix"; then
8325 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8326 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8328 $as_echo_n "checking for $ac_word... " >&6; }
8329 if ${ac_cv_prog_OBJDUMP+:} false; then :
8330 $as_echo_n "(cached) " >&6
8332 if test -n "$OBJDUMP"; then
8333 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8335 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8339 test -z "$as_dir" && as_dir=.
8340 for ac_exec_ext in '' $ac_executable_extensions; do
8341 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8342 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8343 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8352 OBJDUMP=$ac_cv_prog_OBJDUMP
8353 if test -n "$OBJDUMP"; then
8354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8355 $as_echo "$OBJDUMP" >&6; }
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8358 $as_echo "no" >&6; }
8363 if test -z "$ac_cv_prog_OBJDUMP"; then
8364 ac_ct_OBJDUMP=$OBJDUMP
8365 # Extract the first word of "objdump", so it can be a program name with args.
8366 set dummy objdump; ac_word=$2
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8368 $as_echo_n "checking for $ac_word... " >&6; }
8369 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8370 $as_echo_n "(cached) " >&6
8372 if test -n "$ac_ct_OBJDUMP"; then
8373 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8375 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8379 test -z "$as_dir" && as_dir=.
8380 for ac_exec_ext in '' $ac_executable_extensions; do
8381 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8382 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8383 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8392 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8393 if test -n "$ac_ct_OBJDUMP"; then
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8395 $as_echo "$ac_ct_OBJDUMP" >&6; }
8397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8398 $as_echo "no" >&6; }
8401 if test "x$ac_ct_OBJDUMP" = x; then
8404 case $cross_compiling:$ac_tool_warned in
8406 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8407 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8408 ac_tool_warned=yes ;;
8410 OBJDUMP=$ac_ct_OBJDUMP
8413 OBJDUMP="$ac_cv_prog_OBJDUMP"
8416 test -z "$OBJDUMP" && OBJDUMP=objdump
8426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8427 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8428 if ${lt_cv_deplibs_check_method+:} false; then :
8429 $as_echo_n "(cached) " >&6
8431 lt_cv_file_magic_cmd='$MAGIC_CMD'
8432 lt_cv_file_magic_test_file=
8433 lt_cv_deplibs_check_method='unknown'
8434 # Need to set the preceding variable on all platforms that support
8435 # interlibrary dependencies.
8436 # 'none' -- dependencies not supported.
8437 # 'unknown' -- same as none, but documents that we really don't know.
8438 # 'pass_all' -- all dependencies passed with no checks.
8439 # 'test_compile' -- check by making test program.
8440 # 'file_magic [[regex]]' -- check by looking for files in library path
8441 # that responds to the $file_magic_cmd with a given extended regex.
8442 # If you have 'file' or equivalent on your system and you're not sure
8443 # whether 'pass_all' will *always* work, you probably want this one.
8447 lt_cv_deplibs_check_method=pass_all
8451 lt_cv_deplibs_check_method=pass_all
8455 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8456 lt_cv_file_magic_cmd='/usr/bin/file -L'
8457 lt_cv_file_magic_test_file=/shlib/libc.so
8461 # func_win32_libid is a shell function defined in ltmain.sh
8462 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8463 lt_cv_file_magic_cmd='func_win32_libid'
8467 # Base MSYS/MinGW do not provide the 'file' command needed by
8468 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8469 # unless we find 'file', for example because we are cross-compiling.
8470 if ( file / ) >/dev/null 2>&1; then
8471 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8472 lt_cv_file_magic_cmd='func_win32_libid'
8474 # Keep this pattern in sync with the one in func_win32_libid.
8475 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8476 lt_cv_file_magic_cmd='$OBJDUMP -f'
8481 # use the weaker test based on 'objdump'. See mingw*.
8482 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8483 lt_cv_file_magic_cmd='$OBJDUMP -f'
8486 darwin* | rhapsody*)
8487 lt_cv_deplibs_check_method=pass_all
8490 freebsd* | dragonfly*)
8491 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8494 # Not sure whether the presence of OpenBSD here was a mistake.
8495 # Let's accept both of them until this is cleared up.
8496 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8497 lt_cv_file_magic_cmd=/usr/bin/file
8498 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8502 lt_cv_deplibs_check_method=pass_all
8507 lt_cv_deplibs_check_method=pass_all
8510 hpux10.20* | hpux11*)
8511 lt_cv_file_magic_cmd=/usr/bin/file
8514 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8515 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8518 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]'
8519 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8522 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8523 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8529 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8530 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8533 irix5* | irix6* | nonstopux*)
8535 *-32|*"-32 ") libmagic=32-bit;;
8536 *-n32|*"-n32 ") libmagic=N32;;
8537 *-64|*"-64 ") libmagic=64-bit;;
8538 *) libmagic=never-match;;
8540 lt_cv_deplibs_check_method=pass_all
8543 # This must be glibc/ELF.
8544 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
8545 lt_cv_deplibs_check_method=pass_all
8549 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8550 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8552 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8557 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8558 lt_cv_file_magic_cmd=/usr/bin/file
8559 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8563 lt_cv_deplibs_check_method=pass_all
8567 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
8568 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8570 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8574 osf3* | osf4* | osf5*)
8575 lt_cv_deplibs_check_method=pass_all
8579 lt_cv_deplibs_check_method=pass_all
8583 lt_cv_deplibs_check_method=pass_all
8586 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8587 lt_cv_deplibs_check_method=pass_all
8591 case $host_vendor in
8593 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]'
8594 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8597 lt_cv_deplibs_check_method=pass_all
8600 lt_cv_file_magic_cmd='/bin/file'
8601 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8604 lt_cv_file_magic_cmd='/bin/file'
8605 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8606 lt_cv_file_magic_test_file=/lib/libc.so
8609 lt_cv_deplibs_check_method=pass_all
8612 lt_cv_deplibs_check_method=pass_all
8618 lt_cv_deplibs_check_method=pass_all
8621 lt_cv_deplibs_check_method=pass_all
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8627 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8631 if test "$build" = "$host"; then
8634 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8637 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8643 file_magic_cmd=$lt_cv_file_magic_cmd
8644 deplibs_check_method=$lt_cv_deplibs_check_method
8645 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8668 if test -n "$ac_tool_prefix"; then
8669 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8670 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8672 $as_echo_n "checking for $ac_word... " >&6; }
8673 if ${ac_cv_prog_DLLTOOL+:} false; then :
8674 $as_echo_n "(cached) " >&6
8676 if test -n "$DLLTOOL"; then
8677 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8679 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8683 test -z "$as_dir" && as_dir=.
8684 for ac_exec_ext in '' $ac_executable_extensions; do
8685 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8686 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8687 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8696 DLLTOOL=$ac_cv_prog_DLLTOOL
8697 if test -n "$DLLTOOL"; then
8698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8699 $as_echo "$DLLTOOL" >&6; }
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8702 $as_echo "no" >&6; }
8707 if test -z "$ac_cv_prog_DLLTOOL"; then
8708 ac_ct_DLLTOOL=$DLLTOOL
8709 # Extract the first word of "dlltool", so it can be a program name with args.
8710 set dummy dlltool; ac_word=$2
8711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8712 $as_echo_n "checking for $ac_word... " >&6; }
8713 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8714 $as_echo_n "(cached) " >&6
8716 if test -n "$ac_ct_DLLTOOL"; then
8717 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8719 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8723 test -z "$as_dir" && as_dir=.
8724 for ac_exec_ext in '' $ac_executable_extensions; do
8725 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8726 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8727 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8736 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8737 if test -n "$ac_ct_DLLTOOL"; then
8738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8739 $as_echo "$ac_ct_DLLTOOL" >&6; }
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8742 $as_echo "no" >&6; }
8745 if test "x$ac_ct_DLLTOOL" = x; then
8748 case $cross_compiling:$ac_tool_warned in
8750 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8751 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8752 ac_tool_warned=yes ;;
8754 DLLTOOL=$ac_ct_DLLTOOL
8757 DLLTOOL="$ac_cv_prog_DLLTOOL"
8760 test -z "$DLLTOOL" && DLLTOOL=dlltool
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8772 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8773 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8774 $as_echo_n "(cached) " >&6
8776 lt_cv_sharedlib_from_linklib_cmd='unknown'
8779 cygwin* | mingw* | pw32* | cegcc*)
8780 # two different shell functions defined in ltmain.sh;
8781 # decide which one to use based on capabilities of $DLLTOOL
8782 case `$DLLTOOL --help 2>&1` in
8783 *--identify-strict*)
8784 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8787 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8792 # fallback: assume linklib IS sharedlib
8793 lt_cv_sharedlib_from_linklib_cmd=$ECHO
8798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8799 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8800 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8801 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8809 if test -n "$ac_tool_prefix"; then
8812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8815 $as_echo_n "checking for $ac_word... " >&6; }
8816 if ${ac_cv_prog_AR+:} false; then :
8817 $as_echo_n "(cached) " >&6
8819 if test -n "$AR"; then
8820 ac_cv_prog_AR="$AR" # Let the user override the test.
8822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8826 test -z "$as_dir" && as_dir=.
8827 for ac_exec_ext in '' $ac_executable_extensions; do
8828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8829 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8840 if test -n "$AR"; then
8841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8842 $as_echo "$AR" >&6; }
8844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8845 $as_echo "no" >&6; }
8849 test -n "$AR" && break
8852 if test -z "$AR"; then
8856 # Extract the first word of "$ac_prog", so it can be a program name with args.
8857 set dummy $ac_prog; ac_word=$2
8858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8859 $as_echo_n "checking for $ac_word... " >&6; }
8860 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8861 $as_echo_n "(cached) " >&6
8863 if test -n "$ac_ct_AR"; then
8864 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8866 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8870 test -z "$as_dir" && as_dir=.
8871 for ac_exec_ext in '' $ac_executable_extensions; do
8872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8873 ac_cv_prog_ac_ct_AR="$ac_prog"
8874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8883 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8884 if test -n "$ac_ct_AR"; then
8885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8886 $as_echo "$ac_ct_AR" >&6; }
8888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8889 $as_echo "no" >&6; }
8893 test -n "$ac_ct_AR" && break
8896 if test "x$ac_ct_AR" = x; then
8899 case $cross_compiling:$ac_tool_warned in
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8902 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8903 ac_tool_warned=yes ;;
8922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8923 $as_echo_n "checking for archiver @FILE support... " >&6; }
8924 if ${lt_cv_ar_at_file+:} false; then :
8925 $as_echo_n "(cached) " >&6
8928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8929 /* end confdefs.h. */
8939 if ac_fn_c_try_compile "$LINENO"; then :
8940 echo conftest.$ac_objext > conftest.lst
8941 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8942 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8943 (eval $lt_ar_try) 2>&5
8945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8946 test $ac_status = 0; }
8947 if test 0 -eq "$ac_status"; then
8948 # Ensure the archiver fails upon bogus file names.
8949 rm -f conftest.$ac_objext libconftest.a
8950 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8951 (eval $lt_ar_try) 2>&5
8953 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8954 test $ac_status = 0; }
8955 if test 0 -ne "$ac_status"; then
8959 rm -f conftest.* libconftest.a
8962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8966 $as_echo "$lt_cv_ar_at_file" >&6; }
8968 if test no = "$lt_cv_ar_at_file"; then
8971 archiver_list_spec=$lt_cv_ar_at_file
8980 if test -n "$ac_tool_prefix"; then
8981 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8982 set dummy ${ac_tool_prefix}strip; ac_word=$2
8983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8984 $as_echo_n "checking for $ac_word... " >&6; }
8985 if ${ac_cv_prog_STRIP+:} false; then :
8986 $as_echo_n "(cached) " >&6
8988 if test -n "$STRIP"; then
8989 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8995 test -z "$as_dir" && as_dir=.
8996 for ac_exec_ext in '' $ac_executable_extensions; do
8997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8998 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9008 STRIP=$ac_cv_prog_STRIP
9009 if test -n "$STRIP"; then
9010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
9011 $as_echo "$STRIP" >&6; }
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9014 $as_echo "no" >&6; }
9019 if test -z "$ac_cv_prog_STRIP"; then
9021 # Extract the first word of "strip", so it can be a program name with args.
9022 set dummy strip; ac_word=$2
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9024 $as_echo_n "checking for $ac_word... " >&6; }
9025 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
9026 $as_echo_n "(cached) " >&6
9028 if test -n "$ac_ct_STRIP"; then
9029 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
9031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9035 test -z "$as_dir" && as_dir=.
9036 for ac_exec_ext in '' $ac_executable_extensions; do
9037 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9038 ac_cv_prog_ac_ct_STRIP="strip"
9039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9048 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
9049 if test -n "$ac_ct_STRIP"; then
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
9051 $as_echo "$ac_ct_STRIP" >&6; }
9053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9054 $as_echo "no" >&6; }
9057 if test "x$ac_ct_STRIP" = x; then
9060 case $cross_compiling:$ac_tool_warned in
9062 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9063 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9064 ac_tool_warned=yes ;;
9069 STRIP="$ac_cv_prog_STRIP"
9072 test -z "$STRIP" && STRIP=:
9079 if test -n "$ac_tool_prefix"; then
9080 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
9081 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
9082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9083 $as_echo_n "checking for $ac_word... " >&6; }
9084 if ${ac_cv_prog_RANLIB+:} false; then :
9085 $as_echo_n "(cached) " >&6
9087 if test -n "$RANLIB"; then
9088 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
9090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9094 test -z "$as_dir" && as_dir=.
9095 for ac_exec_ext in '' $ac_executable_extensions; do
9096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9097 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
9098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9107 RANLIB=$ac_cv_prog_RANLIB
9108 if test -n "$RANLIB"; then
9109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
9110 $as_echo "$RANLIB" >&6; }
9112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9113 $as_echo "no" >&6; }
9118 if test -z "$ac_cv_prog_RANLIB"; then
9119 ac_ct_RANLIB=$RANLIB
9120 # Extract the first word of "ranlib", so it can be a program name with args.
9121 set dummy ranlib; ac_word=$2
9122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9123 $as_echo_n "checking for $ac_word... " >&6; }
9124 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
9125 $as_echo_n "(cached) " >&6
9127 if test -n "$ac_ct_RANLIB"; then
9128 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
9130 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9134 test -z "$as_dir" && as_dir=.
9135 for ac_exec_ext in '' $ac_executable_extensions; do
9136 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9137 ac_cv_prog_ac_ct_RANLIB="ranlib"
9138 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9147 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
9148 if test -n "$ac_ct_RANLIB"; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
9150 $as_echo "$ac_ct_RANLIB" >&6; }
9152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9153 $as_echo "no" >&6; }
9156 if test "x$ac_ct_RANLIB" = x; then
9159 case $cross_compiling:$ac_tool_warned in
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9162 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9163 ac_tool_warned=yes ;;
9165 RANLIB=$ac_ct_RANLIB
9168 RANLIB="$ac_cv_prog_RANLIB"
9171 test -z "$RANLIB" && RANLIB=:
9178 # Determine commands to create old-style static archives.
9179 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9180 old_postinstall_cmds='chmod 644 $oldlib'
9181 old_postuninstall_cmds=
9183 if test -n "$RANLIB"; then
9186 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9189 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9192 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9197 lock_old_archive_extraction=yes ;;
9199 lock_old_archive_extraction=no ;;
9222 for ac_prog in gawk mawk nawk awk
9224 # Extract the first word of "$ac_prog", so it can be a program name with args.
9225 set dummy $ac_prog; ac_word=$2
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9227 $as_echo_n "checking for $ac_word... " >&6; }
9228 if ${ac_cv_prog_AWK+:} false; then :
9229 $as_echo_n "(cached) " >&6
9231 if test -n "$AWK"; then
9232 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9234 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9238 test -z "$as_dir" && as_dir=.
9239 for ac_exec_ext in '' $ac_executable_extensions; do
9240 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9241 ac_cv_prog_AWK="$ac_prog"
9242 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9252 if test -n "$AWK"; then
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9254 $as_echo "$AWK" >&6; }
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9257 $as_echo "no" >&6; }
9261 test -n "$AWK" && break
9282 # If no C compiler was specified, use CC.
9285 # If no C compiler flags were specified, use CFLAGS.
9286 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9288 # Allow CC to be a program name with arguments.
9292 # Check for command to grab the raw symbol name followed by C symbol from nm.
9293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9294 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9295 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9296 $as_echo_n "(cached) " >&6
9299 # These are sane defaults that work on at least a few old systems.
9300 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9302 # Character class describing NM global symbol codes.
9303 symcode='[BCDEGRST]'
9305 # Regexp to match symbols that can be accessed directly from C.
9306 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9308 # Define system-specific variables.
9313 cygwin* | mingw* | pw32* | cegcc*)
9314 symcode='[ABCDGISTW]'
9317 if test ia64 = "$host_cpu"; then
9318 symcode='[ABCDEGRST]'
9322 symcode='[BCDEGRST]'
9325 symcode='[BCDEGQRST]'
9336 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9344 # If we're using GNU nm, then use its standard symbol codes.
9345 case `$NM -V 2>&1` in
9346 *GNU* | *'with BFD'*)
9347 symcode='[ABCDGIRSTW]' ;;
9350 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9351 # Gets list of data symbols to import.
9352 lt_cv_sys_global_symbol_to_import="sed -n -e 's/^I .* \(.*\)$/\1/p'"
9353 # Adjust the below global symbol transforms to fixup imported variables.
9354 lt_cdecl_hook=" -e 's/^I .* \(.*\)$/extern __declspec(dllimport) char \1;/p'"
9355 lt_c_name_hook=" -e 's/^I .* \(.*\)$/ {\"\1\", (void *) 0},/p'"
9356 lt_c_name_lib_hook="\
9357 -e 's/^I .* \(lib.*\)$/ {\"\1\", (void *) 0},/p'\
9358 -e 's/^I .* \(.*\)$/ {\"lib\1\", (void *) 0},/p'"
9360 # Disable hooks by default.
9361 lt_cv_sys_global_symbol_to_import=
9367 # Transform an extracted symbol line into a proper C declaration.
9368 # Some systems (esp. on ia64) link data and code symbols differently,
9369 # so use this general approach.
9370 lt_cv_sys_global_symbol_to_cdecl="sed -n"\
9372 " -e 's/^T .* \(.*\)$/extern int \1();/p'"\
9373 " -e 's/^$symcode$symcode* .* \(.*\)$/extern char \1;/p'"
9375 # Transform an extracted symbol line into symbol name and symbol address
9376 lt_cv_sys_global_symbol_to_c_name_address="sed -n"\
9378 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9379 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/p'"
9381 # Transform an extracted symbol line into symbol name with lib prefix and
9383 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n"\
9384 $lt_c_name_lib_hook\
9385 " -e 's/^: \(.*\) .*$/ {\"\1\", (void *) 0},/p'"\
9386 " -e 's/^$symcode$symcode* .* \(lib.*\)$/ {\"\1\", (void *) \&\1},/p'"\
9387 " -e 's/^$symcode$symcode* .* \(.*\)$/ {\"lib\1\", (void *) \&\1},/p'"
9389 # Handle CRLF in mingw tool chain
9393 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9397 # Try without a prefix underscore, then with it.
9398 for ac_symprfx in "" "_"; do
9400 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9401 symxfrm="\\1 $ac_symprfx\\2 \\2"
9403 # Write the raw and C identifiers.
9404 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9405 # Fake it for dumpbin and say T for any non-static function,
9406 # D for any global variable and I for any imported variable.
9407 # Also find C++ and __fastcall symbols from MSVC++,
9408 # which start with @ or ?.
9409 lt_cv_sys_global_symbol_pipe="$AWK '"\
9410 " {last_section=section; section=\$ 3};"\
9411 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9412 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9413 " /^ *Symbol name *: /{split(\$ 0,sn,\":\"); si=substr(sn[2],2)};"\
9414 " /^ *Type *: code/{print \"T\",si,substr(si,length(prfx))};"\
9415 " /^ *Type *: data/{print \"I\",si,substr(si,length(prfx))};"\
9416 " \$ 0!~/External *\|/{next};"\
9417 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9418 " {if(hide[section]) next};"\
9419 " {f=\"D\"}; \$ 0~/\(\).*\|/{f=\"T\"};"\
9420 " {split(\$ 0,a,/\||\r/); split(a[2],s)};"\
9421 " s[1]~/^[@?]/{print f,s[1],s[1]; next};"\
9422 " s[1]~prfx {split(s[1],t,\"@\"); print f,t[1],substr(t[1],length(prfx))}"\
9423 " ' prfx=^$ac_symprfx"
9425 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9427 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9429 # Check to see that the pipe works correctly.
9433 cat > conftest.$ac_ext <<_LT_EOF
9438 void nm_test_func(void);
9439 void nm_test_func(void){}
9443 int main(){nm_test_var='a';nm_test_func();return(0);}
9446 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9447 (eval $ac_compile) 2>&5
9449 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9450 test $ac_status = 0; }; then
9451 # Now try to grab the symbols.
9453 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9454 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9456 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9457 test $ac_status = 0; } && test -s "$nlist"; then
9458 # Try sorting and uniquifying the output.
9459 if sort "$nlist" | uniq > "$nlist"T; then
9460 mv -f "$nlist"T "$nlist"
9465 # Make sure that we snagged all the symbols we need.
9466 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9467 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9468 cat <<_LT_EOF > conftest.$ac_ext
9469 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9470 #if defined _WIN32 || defined __CYGWIN__ || defined _WIN32_WCE
9471 /* DATA imports from DLLs on WIN32 can't be const, because runtime
9472 relocations are performed -- see ld's documentation on pseudo-relocs. */
9473 # define LT_DLSYM_CONST
9474 #elif defined __osf__
9475 /* This system does not cope well with relocations in const data. */
9476 # define LT_DLSYM_CONST
9478 # define LT_DLSYM_CONST const
9486 # Now generate the symbol file.
9487 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9489 cat <<_LT_EOF >> conftest.$ac_ext
9491 /* The mapping between symbol names and symbols. */
9492 LT_DLSYM_CONST struct {
9496 lt__PROGRAM__LTX_preloaded_symbols[] =
9498 { "@PROGRAM@", (void *) 0 },
9500 $SED "s/^$symcode$symcode* .* \(.*\)$/ {\"\1\", (void *) \&\1},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9501 cat <<\_LT_EOF >> conftest.$ac_ext
9505 /* This works around a problem in FreeBSD linker */
9506 #ifdef FREEBSD_WORKAROUND
9507 static const void *lt_preloaded_setup() {
9508 return lt__PROGRAM__LTX_preloaded_symbols;
9516 # Now try linking the two files.
9517 mv conftest.$ac_objext conftstm.$ac_objext
9518 lt_globsym_save_LIBS=$LIBS
9519 lt_globsym_save_CFLAGS=$CFLAGS
9520 LIBS=conftstm.$ac_objext
9521 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9522 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9523 (eval $ac_link) 2>&5
9525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9526 test $ac_status = 0; } && test -s conftest$ac_exeext; then
9529 LIBS=$lt_globsym_save_LIBS
9530 CFLAGS=$lt_globsym_save_CFLAGS
9532 echo "cannot find nm_test_func in $nlist" >&5
9535 echo "cannot find nm_test_var in $nlist" >&5
9538 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9541 echo "$progname: failed program was:" >&5
9542 cat conftest.$ac_ext >&5
9544 rm -rf conftest* conftst*
9546 # Do not use the global_symbol_pipe unless it works.
9547 if test yes = "$pipe_works"; then
9550 lt_cv_sys_global_symbol_pipe=
9556 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9557 lt_cv_sys_global_symbol_to_cdecl=
9559 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9561 $as_echo "failed" >&6; }
9563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9564 $as_echo "ok" >&6; }
9567 # Response file support.
9568 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9569 nm_file_list_spec='@'
9570 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9571 nm_file_list_spec='@'
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9611 $as_echo_n "checking for sysroot... " >&6; }
9613 # Check whether --with-sysroot was given.
9614 if test "${with_sysroot+set}" = set; then :
9615 withval=$with_sysroot;
9622 case $with_sysroot in #(
9624 if test yes = "$GCC"; then
9625 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9629 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_sysroot" >&5
9635 $as_echo "$with_sysroot" >&6; }
9636 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9641 $as_echo "${lt_sysroot:-no}" >&6; }
9647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a working dd" >&5
9648 $as_echo_n "checking for a working dd... " >&6; }
9649 if ${ac_cv_path_lt_DD+:} false; then :
9650 $as_echo_n "(cached) " >&6
9652 printf 0123456789abcdef0123456789abcdef >conftest.i
9653 cat conftest.i conftest.i >conftest2.i
9655 if test -z "$lt_DD"; then
9656 ac_path_lt_DD_found=false
9657 # Loop through the user's path and test for each of PROGNAME-LIST
9658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9662 test -z "$as_dir" && as_dir=.
9663 for ac_prog in dd; do
9664 for ac_exec_ext in '' $ac_executable_extensions; do
9665 ac_path_lt_DD="$as_dir/$ac_prog$ac_exec_ext"
9666 as_fn_executable_p "$ac_path_lt_DD" || continue
9667 if "$ac_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9668 cmp -s conftest.i conftest.out \
9669 && ac_cv_path_lt_DD="$ac_path_lt_DD" ac_path_lt_DD_found=:
9671 $ac_path_lt_DD_found && break 3
9676 if test -z "$ac_cv_path_lt_DD"; then
9680 ac_cv_path_lt_DD=$lt_DD
9683 rm -f conftest.i conftest2.i conftest.out
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_lt_DD" >&5
9686 $as_echo "$ac_cv_path_lt_DD" >&6; }
9689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to truncate binary pipes" >&5
9690 $as_echo_n "checking how to truncate binary pipes... " >&6; }
9691 if ${lt_cv_truncate_bin+:} false; then :
9692 $as_echo_n "(cached) " >&6
9694 printf 0123456789abcdef0123456789abcdef >conftest.i
9695 cat conftest.i conftest.i >conftest2.i
9697 if "$ac_cv_path_lt_DD" bs=32 count=1 <conftest2.i >conftest.out 2>/dev/null; then
9698 cmp -s conftest.i conftest.out \
9699 && lt_cv_truncate_bin="$ac_cv_path_lt_DD bs=4096 count=1"
9701 rm -f conftest.i conftest2.i conftest.out
9702 test -z "$lt_cv_truncate_bin" && lt_cv_truncate_bin="$SED -e 4q"
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_truncate_bin" >&5
9705 $as_echo "$lt_cv_truncate_bin" >&6; }
9713 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
9716 for cc_temp in $*""; do
9718 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
9719 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
9724 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
9727 # Check whether --enable-libtool-lock was given.
9728 if test "${enable_libtool_lock+set}" = set; then :
9729 enableval=$enable_libtool_lock;
9732 test no = "$enable_libtool_lock" || enable_libtool_lock=yes
9734 # Some flags need to be propagated to the compiler or linker for good
9738 # Find out what ABI is being produced by ac_compile, and set mode
9739 # options accordingly.
9740 echo 'int i;' > conftest.$ac_ext
9741 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9742 (eval $ac_compile) 2>&5
9744 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9745 test $ac_status = 0; }; then
9746 case `/usr/bin/file conftest.$ac_objext` in
9758 # Find out what ABI is being produced by ac_compile, and set linker
9759 # options accordingly.
9760 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9761 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9762 (eval $ac_compile) 2>&5
9764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9765 test $ac_status = 0; }; then
9766 if test yes = "$lt_cv_prog_gnu_ld"; then
9767 case `/usr/bin/file conftest.$ac_objext` in
9769 LD="${LD-ld} -melf32bsmip"
9772 LD="${LD-ld} -melf32bmipn32"
9775 LD="${LD-ld} -melf64bmip"
9779 case `/usr/bin/file conftest.$ac_objext` in
9796 # Find out what ABI is being produced by ac_compile, and set linker
9797 # options accordingly.
9798 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9799 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9800 (eval $ac_compile) 2>&5
9802 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9803 test $ac_status = 0; }; then
9805 case `/usr/bin/file conftest.$ac_objext` in
9813 case `/usr/bin/file conftest.$ac_objext` in
9815 emul="${emul}btsmip"
9818 emul="${emul}ltsmip"
9821 case `/usr/bin/file conftest.$ac_objext` in
9826 LD="${LD-ld} -m $emul"
9831 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
9832 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9833 # Find out what ABI is being produced by ac_compile, and set linker
9834 # options accordingly. Note that the listed cases only cover the
9835 # situations where additional linker options are needed (such as when
9836 # doing 32-bit compilation for a host where ld defaults to 64-bit, or
9837 # vice versa); the common cases where no linker options are needed do
9838 # not appear in the list.
9839 echo 'int i;' > conftest.$ac_ext
9840 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9841 (eval $ac_compile) 2>&5
9843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9844 test $ac_status = 0; }; then
9845 case `/usr/bin/file conftest.o` in
9848 x86_64-*kfreebsd*-gnu)
9849 LD="${LD-ld} -m elf_i386_fbsd"
9852 case `/usr/bin/file conftest.o` in
9854 LD="${LD-ld} -m elf32_x86_64"
9857 LD="${LD-ld} -m elf_i386"
9861 powerpc64le-*linux*)
9862 LD="${LD-ld} -m elf32lppclinux"
9865 LD="${LD-ld} -m elf32ppclinux"
9868 LD="${LD-ld} -m elf_s390"
9871 LD="${LD-ld} -m elf32_sparc"
9877 x86_64-*kfreebsd*-gnu)
9878 LD="${LD-ld} -m elf_x86_64_fbsd"
9881 LD="${LD-ld} -m elf_x86_64"
9884 LD="${LD-ld} -m elf64lppc"
9887 LD="${LD-ld} -m elf64ppc"
9889 s390*-*linux*|s390*-*tpf*)
9890 LD="${LD-ld} -m elf64_s390"
9893 LD="${LD-ld} -m elf64_sparc"
9903 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9905 CFLAGS="$CFLAGS -belf"
9906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9907 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9908 if ${lt_cv_cc_needs_belf+:} false; then :
9909 $as_echo_n "(cached) " >&6
9912 ac_cpp='$CPP $CPPFLAGS'
9913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9928 if ac_fn_c_try_link "$LINENO"; then :
9929 lt_cv_cc_needs_belf=yes
9931 lt_cv_cc_needs_belf=no
9933 rm -f core conftest.err conftest.$ac_objext \
9934 conftest$ac_exeext conftest.$ac_ext
9936 ac_cpp='$CPP $CPPFLAGS'
9937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9943 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9944 if test yes != "$lt_cv_cc_needs_belf"; then
9945 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9950 # Find out what ABI is being produced by ac_compile, and set linker
9951 # options accordingly.
9952 echo 'int i;' > conftest.$ac_ext
9953 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9954 (eval $ac_compile) 2>&5
9956 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9957 test $ac_status = 0; }; then
9958 case `/usr/bin/file conftest.o` in
9960 case $lt_cv_prog_gnu_ld in
9963 i?86-*-solaris*|x86_64-*-solaris*)
9964 LD="${LD-ld} -m elf_x86_64"
9967 LD="${LD-ld} -m elf64_sparc"
9970 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9971 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9976 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9988 need_locks=$enable_libtool_lock
9990 if test -n "$ac_tool_prefix"; then
9991 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9992 set dummy ${ac_tool_prefix}mt; ac_word=$2
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9994 $as_echo_n "checking for $ac_word... " >&6; }
9995 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9996 $as_echo_n "(cached) " >&6
9998 if test -n "$MANIFEST_TOOL"; then
9999 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
10001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10002 for as_dir in $PATH
10005 test -z "$as_dir" && as_dir=.
10006 for ac_exec_ext in '' $ac_executable_extensions; do
10007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10008 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
10009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10018 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
10019 if test -n "$MANIFEST_TOOL"; then
10020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
10021 $as_echo "$MANIFEST_TOOL" >&6; }
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10024 $as_echo "no" >&6; }
10029 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
10030 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
10031 # Extract the first word of "mt", so it can be a program name with args.
10032 set dummy mt; ac_word=$2
10033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10034 $as_echo_n "checking for $ac_word... " >&6; }
10035 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
10036 $as_echo_n "(cached) " >&6
10038 if test -n "$ac_ct_MANIFEST_TOOL"; then
10039 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
10041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10042 for as_dir in $PATH
10045 test -z "$as_dir" && as_dir=.
10046 for ac_exec_ext in '' $ac_executable_extensions; do
10047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10048 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
10049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10058 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
10059 if test -n "$ac_ct_MANIFEST_TOOL"; then
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
10061 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
10063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10064 $as_echo "no" >&6; }
10067 if test "x$ac_ct_MANIFEST_TOOL" = x; then
10070 case $cross_compiling:$ac_tool_warned in
10072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10074 ac_tool_warned=yes ;;
10076 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
10079 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
10082 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
10083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
10084 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
10085 if ${lt_cv_path_mainfest_tool+:} false; then :
10086 $as_echo_n "(cached) " >&6
10088 lt_cv_path_mainfest_tool=no
10089 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
10090 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
10091 cat conftest.err >&5
10092 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
10093 lt_cv_path_mainfest_tool=yes
10097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
10098 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
10099 if test yes != "$lt_cv_path_mainfest_tool"; then
10109 rhapsody* | darwin*)
10110 if test -n "$ac_tool_prefix"; then
10111 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
10112 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
10113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10114 $as_echo_n "checking for $ac_word... " >&6; }
10115 if ${ac_cv_prog_DSYMUTIL+:} false; then :
10116 $as_echo_n "(cached) " >&6
10118 if test -n "$DSYMUTIL"; then
10119 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
10121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10122 for as_dir in $PATH
10125 test -z "$as_dir" && as_dir=.
10126 for ac_exec_ext in '' $ac_executable_extensions; do
10127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10128 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
10129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10138 DSYMUTIL=$ac_cv_prog_DSYMUTIL
10139 if test -n "$DSYMUTIL"; then
10140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
10141 $as_echo "$DSYMUTIL" >&6; }
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10144 $as_echo "no" >&6; }
10149 if test -z "$ac_cv_prog_DSYMUTIL"; then
10150 ac_ct_DSYMUTIL=$DSYMUTIL
10151 # Extract the first word of "dsymutil", so it can be a program name with args.
10152 set dummy dsymutil; ac_word=$2
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10154 $as_echo_n "checking for $ac_word... " >&6; }
10155 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
10156 $as_echo_n "(cached) " >&6
10158 if test -n "$ac_ct_DSYMUTIL"; then
10159 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
10161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10162 for as_dir in $PATH
10165 test -z "$as_dir" && as_dir=.
10166 for ac_exec_ext in '' $ac_executable_extensions; do
10167 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10168 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
10169 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10178 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
10179 if test -n "$ac_ct_DSYMUTIL"; then
10180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
10181 $as_echo "$ac_ct_DSYMUTIL" >&6; }
10183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10184 $as_echo "no" >&6; }
10187 if test "x$ac_ct_DSYMUTIL" = x; then
10190 case $cross_compiling:$ac_tool_warned in
10192 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10193 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10194 ac_tool_warned=yes ;;
10196 DSYMUTIL=$ac_ct_DSYMUTIL
10199 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
10202 if test -n "$ac_tool_prefix"; then
10203 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
10204 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10206 $as_echo_n "checking for $ac_word... " >&6; }
10207 if ${ac_cv_prog_NMEDIT+:} false; then :
10208 $as_echo_n "(cached) " >&6
10210 if test -n "$NMEDIT"; then
10211 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
10213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10214 for as_dir in $PATH
10217 test -z "$as_dir" && as_dir=.
10218 for ac_exec_ext in '' $ac_executable_extensions; do
10219 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10220 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
10221 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10230 NMEDIT=$ac_cv_prog_NMEDIT
10231 if test -n "$NMEDIT"; then
10232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
10233 $as_echo "$NMEDIT" >&6; }
10235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10236 $as_echo "no" >&6; }
10241 if test -z "$ac_cv_prog_NMEDIT"; then
10242 ac_ct_NMEDIT=$NMEDIT
10243 # Extract the first word of "nmedit", so it can be a program name with args.
10244 set dummy nmedit; ac_word=$2
10245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10246 $as_echo_n "checking for $ac_word... " >&6; }
10247 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
10248 $as_echo_n "(cached) " >&6
10250 if test -n "$ac_ct_NMEDIT"; then
10251 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
10253 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10254 for as_dir in $PATH
10257 test -z "$as_dir" && as_dir=.
10258 for ac_exec_ext in '' $ac_executable_extensions; do
10259 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10260 ac_cv_prog_ac_ct_NMEDIT="nmedit"
10261 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10270 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
10271 if test -n "$ac_ct_NMEDIT"; then
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
10273 $as_echo "$ac_ct_NMEDIT" >&6; }
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10276 $as_echo "no" >&6; }
10279 if test "x$ac_ct_NMEDIT" = x; then
10282 case $cross_compiling:$ac_tool_warned in
10284 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10285 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10286 ac_tool_warned=yes ;;
10288 NMEDIT=$ac_ct_NMEDIT
10291 NMEDIT="$ac_cv_prog_NMEDIT"
10294 if test -n "$ac_tool_prefix"; then
10295 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
10296 set dummy ${ac_tool_prefix}lipo; ac_word=$2
10297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10298 $as_echo_n "checking for $ac_word... " >&6; }
10299 if ${ac_cv_prog_LIPO+:} false; then :
10300 $as_echo_n "(cached) " >&6
10302 if test -n "$LIPO"; then
10303 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
10305 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10306 for as_dir in $PATH
10309 test -z "$as_dir" && as_dir=.
10310 for ac_exec_ext in '' $ac_executable_extensions; do
10311 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10312 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
10313 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10322 LIPO=$ac_cv_prog_LIPO
10323 if test -n "$LIPO"; then
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
10325 $as_echo "$LIPO" >&6; }
10327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10328 $as_echo "no" >&6; }
10333 if test -z "$ac_cv_prog_LIPO"; then
10335 # Extract the first word of "lipo", so it can be a program name with args.
10336 set dummy lipo; ac_word=$2
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10338 $as_echo_n "checking for $ac_word... " >&6; }
10339 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
10340 $as_echo_n "(cached) " >&6
10342 if test -n "$ac_ct_LIPO"; then
10343 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
10345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10346 for as_dir in $PATH
10349 test -z "$as_dir" && as_dir=.
10350 for ac_exec_ext in '' $ac_executable_extensions; do
10351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10352 ac_cv_prog_ac_ct_LIPO="lipo"
10353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10362 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10363 if test -n "$ac_ct_LIPO"; then
10364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10365 $as_echo "$ac_ct_LIPO" >&6; }
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10368 $as_echo "no" >&6; }
10371 if test "x$ac_ct_LIPO" = x; then
10374 case $cross_compiling:$ac_tool_warned in
10376 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10377 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10378 ac_tool_warned=yes ;;
10383 LIPO="$ac_cv_prog_LIPO"
10386 if test -n "$ac_tool_prefix"; then
10387 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10388 set dummy ${ac_tool_prefix}otool; ac_word=$2
10389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10390 $as_echo_n "checking for $ac_word... " >&6; }
10391 if ${ac_cv_prog_OTOOL+:} false; then :
10392 $as_echo_n "(cached) " >&6
10394 if test -n "$OTOOL"; then
10395 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10397 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10398 for as_dir in $PATH
10401 test -z "$as_dir" && as_dir=.
10402 for ac_exec_ext in '' $ac_executable_extensions; do
10403 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10404 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10405 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10414 OTOOL=$ac_cv_prog_OTOOL
10415 if test -n "$OTOOL"; then
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10417 $as_echo "$OTOOL" >&6; }
10419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10420 $as_echo "no" >&6; }
10425 if test -z "$ac_cv_prog_OTOOL"; then
10427 # Extract the first word of "otool", so it can be a program name with args.
10428 set dummy otool; ac_word=$2
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10430 $as_echo_n "checking for $ac_word... " >&6; }
10431 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10432 $as_echo_n "(cached) " >&6
10434 if test -n "$ac_ct_OTOOL"; then
10435 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10438 for as_dir in $PATH
10441 test -z "$as_dir" && as_dir=.
10442 for ac_exec_ext in '' $ac_executable_extensions; do
10443 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10444 ac_cv_prog_ac_ct_OTOOL="otool"
10445 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10454 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10455 if test -n "$ac_ct_OTOOL"; then
10456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10457 $as_echo "$ac_ct_OTOOL" >&6; }
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10460 $as_echo "no" >&6; }
10463 if test "x$ac_ct_OTOOL" = x; then
10466 case $cross_compiling:$ac_tool_warned in
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10469 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10470 ac_tool_warned=yes ;;
10475 OTOOL="$ac_cv_prog_OTOOL"
10478 if test -n "$ac_tool_prefix"; then
10479 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10480 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10482 $as_echo_n "checking for $ac_word... " >&6; }
10483 if ${ac_cv_prog_OTOOL64+:} false; then :
10484 $as_echo_n "(cached) " >&6
10486 if test -n "$OTOOL64"; then
10487 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10489 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10490 for as_dir in $PATH
10493 test -z "$as_dir" && as_dir=.
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10497 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10506 OTOOL64=$ac_cv_prog_OTOOL64
10507 if test -n "$OTOOL64"; then
10508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10509 $as_echo "$OTOOL64" >&6; }
10511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 $as_echo "no" >&6; }
10517 if test -z "$ac_cv_prog_OTOOL64"; then
10518 ac_ct_OTOOL64=$OTOOL64
10519 # Extract the first word of "otool64", so it can be a program name with args.
10520 set dummy otool64; ac_word=$2
10521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10522 $as_echo_n "checking for $ac_word... " >&6; }
10523 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10524 $as_echo_n "(cached) " >&6
10526 if test -n "$ac_ct_OTOOL64"; then
10527 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10530 for as_dir in $PATH
10533 test -z "$as_dir" && as_dir=.
10534 for ac_exec_ext in '' $ac_executable_extensions; do
10535 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10536 ac_cv_prog_ac_ct_OTOOL64="otool64"
10537 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10546 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10547 if test -n "$ac_ct_OTOOL64"; then
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10549 $as_echo "$ac_ct_OTOOL64" >&6; }
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10552 $as_echo "no" >&6; }
10555 if test "x$ac_ct_OTOOL64" = x; then
10558 case $cross_compiling:$ac_tool_warned in
10560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10561 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10562 ac_tool_warned=yes ;;
10564 OTOOL64=$ac_ct_OTOOL64
10567 OTOOL64="$ac_cv_prog_OTOOL64"
10596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10597 $as_echo_n "checking for -single_module linker flag... " >&6; }
10598 if ${lt_cv_apple_cc_single_mod+:} false; then :
10599 $as_echo_n "(cached) " >&6
10601 lt_cv_apple_cc_single_mod=no
10602 if test -z "$LT_MULTI_MODULE"; then
10603 # By default we will add the -single_module flag. You can override
10604 # by either setting the environment variable LT_MULTI_MODULE
10605 # non-empty at configure time, or by adding -multi_module to the
10607 rm -rf libconftest.dylib*
10608 echo "int foo(void){return 1;}" > conftest.c
10609 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10610 -dynamiclib -Wl,-single_module conftest.c" >&5
10611 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10612 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10614 # If there is a non-empty error log, and "single_module"
10615 # appears in it, assume the flag caused a linker warning
10616 if test -s conftest.err && $GREP single_module conftest.err; then
10617 cat conftest.err >&5
10618 # Otherwise, if the output was created with a 0 exit code from
10619 # the compiler, it worked.
10620 elif test -f libconftest.dylib && test 0 = "$_lt_result"; then
10621 lt_cv_apple_cc_single_mod=yes
10623 cat conftest.err >&5
10625 rm -rf libconftest.dylib*
10629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10630 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10633 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10634 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10635 $as_echo_n "(cached) " >&6
10637 lt_cv_ld_exported_symbols_list=no
10638 save_LDFLAGS=$LDFLAGS
10639 echo "_main" > conftest.sym
10640 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10642 /* end confdefs.h. */
10652 if ac_fn_c_try_link "$LINENO"; then :
10653 lt_cv_ld_exported_symbols_list=yes
10655 lt_cv_ld_exported_symbols_list=no
10657 rm -f core conftest.err conftest.$ac_objext \
10658 conftest$ac_exeext conftest.$ac_ext
10659 LDFLAGS=$save_LDFLAGS
10662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10663 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10666 $as_echo_n "checking for -force_load linker flag... " >&6; }
10667 if ${lt_cv_ld_force_load+:} false; then :
10668 $as_echo_n "(cached) " >&6
10670 lt_cv_ld_force_load=no
10671 cat > conftest.c << _LT_EOF
10672 int forced_loaded() { return 2;}
10674 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10675 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10676 echo "$AR cru libconftest.a conftest.o" >&5
10677 $AR cru libconftest.a conftest.o 2>&5
10678 echo "$RANLIB libconftest.a" >&5
10679 $RANLIB libconftest.a 2>&5
10680 cat > conftest.c << _LT_EOF
10681 int main() { return 0;}
10683 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10684 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10686 if test -s conftest.err && $GREP force_load conftest.err; then
10687 cat conftest.err >&5
10688 elif test -f conftest && test 0 = "$_lt_result" && $GREP forced_load conftest >/dev/null 2>&1; then
10689 lt_cv_ld_force_load=yes
10691 cat conftest.err >&5
10693 rm -f conftest.err libconftest.a conftest conftest.c
10694 rm -rf conftest.dSYM
10697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10698 $as_echo "$lt_cv_ld_force_load" >&6; }
10700 rhapsody* | darwin1.[012])
10701 _lt_dar_allow_undefined='$wl-undefined ${wl}suppress' ;;
10703 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10704 darwin*) # darwin 5.x on
10705 # if running on 10.5 or later, the deployment target defaults
10706 # to the OS version, if on x86, and 10.4, the deployment
10707 # target defaults to 10.4. Don't you love it?
10708 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10709 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10710 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10712 _lt_dar_allow_undefined='$wl-flat_namespace $wl-undefined ${wl}suppress' ;;
10714 _lt_dar_allow_undefined='$wl-undefined ${wl}dynamic_lookup' ;;
10718 if test yes = "$lt_cv_apple_cc_single_mod"; then
10719 _lt_dar_single_mod='$single_module'
10721 if test yes = "$lt_cv_ld_exported_symbols_list"; then
10722 _lt_dar_export_syms=' $wl-exported_symbols_list,$output_objdir/$libname-symbols.expsym'
10724 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/$libname-symbols.expsym $lib'
10726 if test : != "$DSYMUTIL" && test no = "$lt_cv_ld_force_load"; then
10727 _lt_dsymutil='~$DSYMUTIL $lib || :'
10734 # func_munge_path_list VARIABLE PATH
10735 # -----------------------------------
10736 # VARIABLE is name of variable containing _space_ separated list of
10737 # directories to be munged by the contents of PATH, which is string
10740 # string "DIR[ DIR]" will be prepended to VARIABLE
10742 # string "DIR[ DIR]" will be appended to VARIABLE
10743 # "DIRP[:DIRP]::[DIRA:]DIRA"
10744 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
10745 # "DIRA[ DIRA]" will be appended to VARIABLE
10747 # VARIABLE will be replaced by "DIR[ DIR]"
10748 func_munge_path_list ()
10754 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
10757 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
10760 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
10761 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
10764 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
10769 for ac_header in dlfcn.h
10771 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10773 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10774 cat >>confdefs.h <<_ACEOF
10775 #define HAVE_DLFCN_H 1
10784 func_stripname_cnf ()
10787 .*) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%\\\\$2\$%%"`;;
10788 *) func_stripname_result=`$ECHO "$3" | $SED "s%^$1%%; s%$2\$%%"`;;
10790 } # func_stripname_cnf
10803 enable_win32_dll=no
10806 # Check whether --enable-shared was given.
10807 if test "${enable_shared+set}" = set; then :
10808 enableval=$enable_shared; p=${PACKAGE-default}
10810 yes) enable_shared=yes ;;
10811 no) enable_shared=no ;;
10814 # Look at the argument we got. We use all the common list separators.
10815 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10816 for pkg in $enableval; do
10818 if test "X$pkg" = "X$p"; then
10837 # Check whether --enable-static was given.
10838 if test "${enable_static+set}" = set; then :
10839 enableval=$enable_static; p=${PACKAGE-default}
10841 yes) enable_static=yes ;;
10842 no) enable_static=no ;;
10845 # Look at the argument we got. We use all the common list separators.
10846 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10847 for pkg in $enableval; do
10849 if test "X$pkg" = "X$p"; then
10869 # Check whether --with-pic was given.
10870 if test "${with_pic+set}" = set; then :
10871 withval=$with_pic; lt_p=${PACKAGE-default}
10873 yes|no) pic_mode=$withval ;;
10876 # Look at the argument we got. We use all the common list separators.
10877 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10878 for lt_pkg in $withval; do
10880 if test "X$lt_pkg" = "X$lt_p"; then
10898 # Check whether --enable-fast-install was given.
10899 if test "${enable_fast_install+set}" = set; then :
10900 enableval=$enable_fast_install; p=${PACKAGE-default}
10902 yes) enable_fast_install=yes ;;
10903 no) enable_fast_install=no ;;
10905 enable_fast_install=no
10906 # Look at the argument we got. We use all the common list separators.
10907 lt_save_ifs=$IFS; IFS=$IFS$PATH_SEPARATOR,
10908 for pkg in $enableval; do
10910 if test "X$pkg" = "X$p"; then
10911 enable_fast_install=yes
10918 enable_fast_install=yes
10928 shared_archive_member_spec=
10929 case $host,$enable_shared in
10930 power*-*-aix[5-9]*,yes)
10931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking which variant of shared library versioning to provide" >&5
10932 $as_echo_n "checking which variant of shared library versioning to provide... " >&6; }
10934 # Check whether --with-aix-soname was given.
10935 if test "${with_aix_soname+set}" = set; then :
10936 withval=$with_aix_soname; case $withval in
10940 as_fn_error $? "Unknown argument to --with-aix-soname" "$LINENO" 5
10943 lt_cv_with_aix_soname=$with_aix_soname
10945 if ${lt_cv_with_aix_soname+:} false; then :
10946 $as_echo_n "(cached) " >&6
10948 lt_cv_with_aix_soname=aix
10951 with_aix_soname=$lt_cv_with_aix_soname
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_aix_soname" >&5
10955 $as_echo "$with_aix_soname" >&6; }
10956 if test aix != "$with_aix_soname"; then
10957 # For the AIX way of multilib, we name the shared archive member
10958 # based on the bitwidth used, traditionally 'shr.o' or 'shr_64.o',
10959 # and 'shr.imp' or 'shr_64.imp', respectively, for the Import File.
10960 # Even when GNU compilers ignore OBJECT_MODE but need '-maix64' flag,
10961 # the AIX toolchain works better with OBJECT_MODE set (default 32).
10962 if test 64 = "${OBJECT_MODE-32}"; then
10963 shared_archive_member_spec=shr_64
10965 shared_archive_member_spec=shr
10970 with_aix_soname=aix
10983 # This can be used to rebuild libtool when needed
10984 LIBTOOL_DEPS=$ltmain
10986 # Always use our own libtool.
10987 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
11018 test -z "$LN_S" && LN_S="ln -s"
11033 if test -n "${ZSH_VERSION+set}"; then
11034 setopt NO_GLOB_SUBST
11037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
11038 $as_echo_n "checking for objdir... " >&6; }
11039 if ${lt_cv_objdir+:} false; then :
11040 $as_echo_n "(cached) " >&6
11042 rm -f .libs 2>/dev/null
11043 mkdir .libs 2>/dev/null
11044 if test -d .libs; then
11047 # MS-DOS does not allow filenames that begin with a dot.
11050 rmdir .libs 2>/dev/null
11052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
11053 $as_echo "$lt_cv_objdir" >&6; }
11054 objdir=$lt_cv_objdir
11060 cat >>confdefs.h <<_ACEOF
11061 #define LT_OBJDIR "$lt_cv_objdir/"
11069 # AIX sometimes has problems with the GCC collect2 program. For some
11070 # reason, if we set the COLLECT_NAMES environment variable, the problems
11071 # vanish in a puff of smoke.
11072 if test set != "${COLLECT_NAMES+set}"; then
11074 export COLLECT_NAMES
11079 # Global variables:
11081 can_build_shared=yes
11083 # All known linkers require a '.a' archive for static linking (except MSVC,
11084 # which needs '.lib').
11087 with_gnu_ld=$lt_cv_prog_gnu_ld
11092 # Set sane defaults for various variables
11093 test -z "$CC" && CC=cc
11094 test -z "$LTCC" && LTCC=$CC
11095 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
11096 test -z "$LD" && LD=ld
11097 test -z "$ac_objext" && ac_objext=o
11099 func_cc_basename $compiler
11100 cc_basename=$func_cc_basename_result
11103 # Only perform the check for file, if the check method requires it
11104 test -z "$MAGIC_CMD" && MAGIC_CMD=file
11105 case $deplibs_check_method in
11107 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
11108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
11109 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
11110 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11111 $as_echo_n "(cached) " >&6
11115 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11118 lt_save_MAGIC_CMD=$MAGIC_CMD
11119 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11120 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11121 for ac_dir in $ac_dummy; do
11123 test -z "$ac_dir" && ac_dir=.
11124 if test -f "$ac_dir/${ac_tool_prefix}file"; then
11125 lt_cv_path_MAGIC_CMD=$ac_dir/"${ac_tool_prefix}file"
11126 if test -n "$file_magic_test_file"; then
11127 case $deplibs_check_method in
11129 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11130 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11131 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11132 $EGREP "$file_magic_regex" > /dev/null; then
11137 *** Warning: the command libtool uses to detect shared libraries,
11138 *** $file_magic_cmd, produces output that libtool cannot recognize.
11139 *** The result is that libtool may fail to recognize shared libraries
11140 *** as such. This will affect the creation of libtool libraries that
11141 *** depend on shared libraries, but programs linked with such libtool
11142 *** libraries will work regardless of this problem. Nevertheless, you
11143 *** may want to report the problem to your system manager and/or to
11144 *** bug-libtool@gnu.org
11154 MAGIC_CMD=$lt_save_MAGIC_CMD
11159 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11160 if test -n "$MAGIC_CMD"; then
11161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11162 $as_echo "$MAGIC_CMD" >&6; }
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11165 $as_echo "no" >&6; }
11172 if test -z "$lt_cv_path_MAGIC_CMD"; then
11173 if test -n "$ac_tool_prefix"; then
11174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
11175 $as_echo_n "checking for file... " >&6; }
11176 if ${lt_cv_path_MAGIC_CMD+:} false; then :
11177 $as_echo_n "(cached) " >&6
11181 lt_cv_path_MAGIC_CMD=$MAGIC_CMD # Let the user override the test with a path.
11184 lt_save_MAGIC_CMD=$MAGIC_CMD
11185 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
11186 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
11187 for ac_dir in $ac_dummy; do
11189 test -z "$ac_dir" && ac_dir=.
11190 if test -f "$ac_dir/file"; then
11191 lt_cv_path_MAGIC_CMD=$ac_dir/"file"
11192 if test -n "$file_magic_test_file"; then
11193 case $deplibs_check_method in
11195 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
11196 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11197 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
11198 $EGREP "$file_magic_regex" > /dev/null; then
11203 *** Warning: the command libtool uses to detect shared libraries,
11204 *** $file_magic_cmd, produces output that libtool cannot recognize.
11205 *** The result is that libtool may fail to recognize shared libraries
11206 *** as such. This will affect the creation of libtool libraries that
11207 *** depend on shared libraries, but programs linked with such libtool
11208 *** libraries will work regardless of this problem. Nevertheless, you
11209 *** may want to report the problem to your system manager and/or to
11210 *** bug-libtool@gnu.org
11220 MAGIC_CMD=$lt_save_MAGIC_CMD
11225 MAGIC_CMD=$lt_cv_path_MAGIC_CMD
11226 if test -n "$MAGIC_CMD"; then
11227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
11228 $as_echo "$MAGIC_CMD" >&6; }
11230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
11231 $as_echo "no" >&6; }
11244 # Use C for the default configuration in the libtool script
11248 ac_cpp='$CPP $CPPFLAGS'
11249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
11250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
11251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
11254 # Source file extension for C test sources.
11257 # Object file extension for compiled C test sources.
11261 # Code to be used in simple compile tests
11262 lt_simple_compile_test_code="int some_variable = 0;"
11264 # Code to be used in simple link tests
11265 lt_simple_link_test_code='int main(){return(0);}'
11273 # If no C compiler was specified, use CC.
11276 # If no C compiler flags were specified, use CFLAGS.
11277 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
11279 # Allow CC to be a program name with arguments.
11282 # Save the default compiler, since it gets overwritten when the other
11283 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
11284 compiler_DEFAULT=$CC
11286 # save warnings/boilerplate of simple test code
11287 ac_outfile=conftest.$ac_objext
11288 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11289 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11290 _lt_compiler_boilerplate=`cat conftest.err`
11293 ac_outfile=conftest.$ac_objext
11294 echo "$lt_simple_link_test_code" >conftest.$ac_ext
11295 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11296 _lt_linker_boilerplate=`cat conftest.err`
11301 ## There is no encapsulation within the following macros, do not change
11302 ## the running order or otherwise move them around unless you know exactly
11303 ## what you are doing...
11304 if test -n "$compiler"; then
11306 lt_prog_compiler_no_builtin_flag=
11308 if test yes = "$GCC"; then
11309 case $cc_basename in
11311 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
11313 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
11317 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
11318 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
11319 $as_echo_n "(cached) " >&6
11321 lt_cv_prog_compiler_rtti_exceptions=no
11322 ac_outfile=conftest.$ac_objext
11323 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11324 lt_compiler_flag="-fno-rtti -fno-exceptions" ## exclude from sc_useless_quotes_in_assignment
11325 # Insert the option either (1) after the last *FLAGS variable, or
11326 # (2) before a word containing "conftest.", or (3) at the end.
11327 # Note that $ac_compile itself does not contain backslashes and begins
11328 # with a dollar sign (not a hyphen), so the echo should work correctly.
11329 # The option is referenced via a variable to avoid confusing sed.
11330 lt_compile=`echo "$ac_compile" | $SED \
11331 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11332 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11333 -e 's:$: $lt_compiler_flag:'`
11334 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11335 (eval "$lt_compile" 2>conftest.err)
11337 cat conftest.err >&5
11338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11339 if (exit $ac_status) && test -s "$ac_outfile"; then
11340 # The compiler can only warn and ignore the option if not recognized
11341 # So say no if there are warnings other than the usual output.
11342 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11343 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11344 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11345 lt_cv_prog_compiler_rtti_exceptions=yes
11351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
11352 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
11354 if test yes = "$lt_cv_prog_compiler_rtti_exceptions"; then
11355 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
11367 lt_prog_compiler_wl=
11368 lt_prog_compiler_pic=
11369 lt_prog_compiler_static=
11372 if test yes = "$GCC"; then
11373 lt_prog_compiler_wl='-Wl,'
11374 lt_prog_compiler_static='-static'
11378 # All AIX code is PIC.
11379 if test ia64 = "$host_cpu"; then
11380 # AIX 5 now supports IA64 processor
11381 lt_prog_compiler_static='-Bstatic'
11383 lt_prog_compiler_pic='-fPIC'
11389 # see comment about AmigaOS4 .so support
11390 lt_prog_compiler_pic='-fPIC'
11393 # FIXME: we need at least 68020 code to build shared libraries, but
11394 # adding the '-m68020' flag to GCC prevents building anything better,
11396 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
11401 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
11402 # PIC is the default for these OSes.
11405 mingw* | cygwin* | pw32* | os2* | cegcc*)
11406 # This hack is so that the source file can tell whether it is being
11407 # built for inclusion in a dll (and should export symbols for example).
11408 # Although the cygwin gcc ignores -fPIC, still need this for old-style
11409 # (--disable-auto-import) libraries
11410 lt_prog_compiler_pic='-DDLL_EXPORT'
11413 lt_prog_compiler_static='$wl-static'
11418 darwin* | rhapsody*)
11419 # PIC is the default on this platform
11420 # Common symbols not allowed in MH_DYLIB files
11421 lt_prog_compiler_pic='-fno-common'
11425 # PIC is the default for Haiku.
11426 # The "-static" flag exists, but is broken.
11427 lt_prog_compiler_static=
11431 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
11432 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
11433 # sets the default TLS model and affects inlining.
11439 lt_prog_compiler_pic='-fPIC'
11445 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11446 # Instead, we relocate shared libraries at runtime.
11450 # Just because we use GCC doesn't mean we suddenly get shared libraries
11451 # on systems that don't support them.
11452 lt_prog_compiler_can_build_shared=no
11457 # QNX uses GNU C++, but need to define -shared option too, otherwise
11458 # it will coredump.
11459 lt_prog_compiler_pic='-fPIC -shared'
11463 if test -d /usr/nec; then
11464 lt_prog_compiler_pic=-Kconform_pic
11469 lt_prog_compiler_pic='-fPIC'
11473 case $cc_basename in
11474 nvcc*) # Cuda Compiler Driver 2.2
11475 lt_prog_compiler_wl='-Xlinker '
11476 if test -n "$lt_prog_compiler_pic"; then
11477 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11482 # PORTME Check for flag to pass linker flags through the system compiler.
11485 lt_prog_compiler_wl='-Wl,'
11486 if test ia64 = "$host_cpu"; then
11487 # AIX 5 now supports IA64 processor
11488 lt_prog_compiler_static='-Bstatic'
11490 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11494 darwin* | rhapsody*)
11495 # PIC is the default on this platform
11496 # Common symbols not allowed in MH_DYLIB files
11497 lt_prog_compiler_pic='-fno-common'
11498 case $cc_basename in
11500 # NAG Fortran compiler
11501 lt_prog_compiler_wl='-Wl,-Wl,,'
11502 lt_prog_compiler_pic='-PIC'
11503 lt_prog_compiler_static='-Bstatic'
11508 mingw* | cygwin* | pw32* | os2* | cegcc*)
11509 # This hack is so that the source file can tell whether it is being
11510 # built for inclusion in a dll (and should export symbols for example).
11511 lt_prog_compiler_pic='-DDLL_EXPORT'
11514 lt_prog_compiler_static='$wl-static'
11519 hpux9* | hpux10* | hpux11*)
11520 lt_prog_compiler_wl='-Wl,'
11521 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11522 # not for PA HP-UX.
11528 lt_prog_compiler_pic='+Z'
11531 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11532 lt_prog_compiler_static='$wl-a ${wl}archive'
11535 irix5* | irix6* | nonstopux*)
11536 lt_prog_compiler_wl='-Wl,'
11537 # PIC (with -KPIC) is the default.
11538 lt_prog_compiler_static='-non_shared'
11541 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
11542 case $cc_basename in
11543 # old Intel for x86_64, which still supported -KPIC.
11545 lt_prog_compiler_wl='-Wl,'
11546 lt_prog_compiler_pic='-KPIC'
11547 lt_prog_compiler_static='-static'
11549 # icc used to be incompatible with GCC.
11550 # ICC 10 doesn't accept -KPIC any more.
11552 lt_prog_compiler_wl='-Wl,'
11553 lt_prog_compiler_pic='-fPIC'
11554 lt_prog_compiler_static='-static'
11556 # Lahey Fortran 8.1.
11558 lt_prog_compiler_wl='-Wl,'
11559 lt_prog_compiler_pic='--shared'
11560 lt_prog_compiler_static='--static'
11563 # NAG Fortran compiler
11564 lt_prog_compiler_wl='-Wl,-Wl,,'
11565 lt_prog_compiler_pic='-PIC'
11566 lt_prog_compiler_static='-Bstatic'
11569 # Fabrice Bellard et al's Tiny C Compiler
11570 lt_prog_compiler_wl='-Wl,'
11571 lt_prog_compiler_pic='-fPIC'
11572 lt_prog_compiler_static='-static'
11574 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11575 # Portland Group compilers (*not* the Pentium gcc compiler,
11576 # which looks to be a dead project)
11577 lt_prog_compiler_wl='-Wl,'
11578 lt_prog_compiler_pic='-fpic'
11579 lt_prog_compiler_static='-Bstatic'
11582 lt_prog_compiler_wl='-Wl,'
11583 # All Alpha code is PIC.
11584 lt_prog_compiler_static='-non_shared'
11586 xl* | bgxl* | bgf* | mpixl*)
11587 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11588 lt_prog_compiler_wl='-Wl,'
11589 lt_prog_compiler_pic='-qpic'
11590 lt_prog_compiler_static='-qstaticlink'
11593 case `$CC -V 2>&1 | sed 5q` in
11594 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11595 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11596 lt_prog_compiler_pic='-KPIC'
11597 lt_prog_compiler_static='-Bstatic'
11598 lt_prog_compiler_wl=''
11600 *Sun\ F* | *Sun*Fortran*)
11601 lt_prog_compiler_pic='-KPIC'
11602 lt_prog_compiler_static='-Bstatic'
11603 lt_prog_compiler_wl='-Qoption ld '
11607 lt_prog_compiler_pic='-KPIC'
11608 lt_prog_compiler_static='-Bstatic'
11609 lt_prog_compiler_wl='-Wl,'
11611 *Intel*\ [CF]*Compiler*)
11612 lt_prog_compiler_wl='-Wl,'
11613 lt_prog_compiler_pic='-fPIC'
11614 lt_prog_compiler_static='-static'
11617 lt_prog_compiler_wl='-Wl,'
11618 lt_prog_compiler_pic='-fpic'
11619 lt_prog_compiler_static='-Bstatic'
11627 lt_prog_compiler_pic='-KPIC'
11628 lt_prog_compiler_static='-Bstatic'
11632 # QNX uses GNU C++, but need to define -shared option too, otherwise
11633 # it will coredump.
11634 lt_prog_compiler_pic='-fPIC -shared'
11637 osf3* | osf4* | osf5*)
11638 lt_prog_compiler_wl='-Wl,'
11639 # All OSF/1 code is PIC.
11640 lt_prog_compiler_static='-non_shared'
11644 lt_prog_compiler_static='-non_shared'
11648 lt_prog_compiler_pic='-KPIC'
11649 lt_prog_compiler_static='-Bstatic'
11650 case $cc_basename in
11651 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11652 lt_prog_compiler_wl='-Qoption ld ';;
11654 lt_prog_compiler_wl='-Wl,';;
11659 lt_prog_compiler_wl='-Qoption ld '
11660 lt_prog_compiler_pic='-PIC'
11661 lt_prog_compiler_static='-Bstatic'
11664 sysv4 | sysv4.2uw2* | sysv4.3*)
11665 lt_prog_compiler_wl='-Wl,'
11666 lt_prog_compiler_pic='-KPIC'
11667 lt_prog_compiler_static='-Bstatic'
11671 if test -d /usr/nec; then
11672 lt_prog_compiler_pic='-Kconform_pic'
11673 lt_prog_compiler_static='-Bstatic'
11677 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11678 lt_prog_compiler_wl='-Wl,'
11679 lt_prog_compiler_pic='-KPIC'
11680 lt_prog_compiler_static='-Bstatic'
11684 lt_prog_compiler_wl='-Wl,'
11685 lt_prog_compiler_can_build_shared=no
11689 lt_prog_compiler_pic='-pic'
11690 lt_prog_compiler_static='-Bstatic'
11694 lt_prog_compiler_can_build_shared=no
11700 # For platforms that do not support PIC, -DPIC is meaningless:
11702 lt_prog_compiler_pic=
11705 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11710 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11711 if ${lt_cv_prog_compiler_pic+:} false; then :
11712 $as_echo_n "(cached) " >&6
11714 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11717 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11718 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11721 # Check to make sure the PIC flag actually works.
11723 if test -n "$lt_prog_compiler_pic"; then
11724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11725 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11726 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11727 $as_echo_n "(cached) " >&6
11729 lt_cv_prog_compiler_pic_works=no
11730 ac_outfile=conftest.$ac_objext
11731 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11732 lt_compiler_flag="$lt_prog_compiler_pic -DPIC" ## exclude from sc_useless_quotes_in_assignment
11733 # Insert the option either (1) after the last *FLAGS variable, or
11734 # (2) before a word containing "conftest.", or (3) at the end.
11735 # Note that $ac_compile itself does not contain backslashes and begins
11736 # with a dollar sign (not a hyphen), so the echo should work correctly.
11737 # The option is referenced via a variable to avoid confusing sed.
11738 lt_compile=`echo "$ac_compile" | $SED \
11739 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11740 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11741 -e 's:$: $lt_compiler_flag:'`
11742 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11743 (eval "$lt_compile" 2>conftest.err)
11745 cat conftest.err >&5
11746 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11747 if (exit $ac_status) && test -s "$ac_outfile"; then
11748 # The compiler can only warn and ignore the option if not recognized
11749 # So say no if there are warnings other than the usual output.
11750 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11751 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11752 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11753 lt_cv_prog_compiler_pic_works=yes
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11760 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11762 if test yes = "$lt_cv_prog_compiler_pic_works"; then
11763 case $lt_prog_compiler_pic in
11765 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11768 lt_prog_compiler_pic=
11769 lt_prog_compiler_can_build_shared=no
11785 # Check to make sure the static flag actually works.
11787 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11789 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11790 if ${lt_cv_prog_compiler_static_works+:} false; then :
11791 $as_echo_n "(cached) " >&6
11793 lt_cv_prog_compiler_static_works=no
11794 save_LDFLAGS=$LDFLAGS
11795 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11796 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11797 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11798 # The linker can only warn and ignore the option if not recognized
11799 # So say no if there are warnings
11800 if test -s conftest.err; then
11801 # Append any errors to the config.log.
11802 cat conftest.err 1>&5
11803 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11804 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11805 if diff conftest.exp conftest.er2 >/dev/null; then
11806 lt_cv_prog_compiler_static_works=yes
11809 lt_cv_prog_compiler_static_works=yes
11813 LDFLAGS=$save_LDFLAGS
11816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11817 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11819 if test yes = "$lt_cv_prog_compiler_static_works"; then
11822 lt_prog_compiler_static=
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11832 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11833 if ${lt_cv_prog_compiler_c_o+:} false; then :
11834 $as_echo_n "(cached) " >&6
11836 lt_cv_prog_compiler_c_o=no
11837 $RM -r conftest 2>/dev/null
11841 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11843 lt_compiler_flag="-o out/conftest2.$ac_objext"
11844 # Insert the option either (1) after the last *FLAGS variable, or
11845 # (2) before a word containing "conftest.", or (3) at the end.
11846 # Note that $ac_compile itself does not contain backslashes and begins
11847 # with a dollar sign (not a hyphen), so the echo should work correctly.
11848 lt_compile=`echo "$ac_compile" | $SED \
11849 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11850 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11851 -e 's:$: $lt_compiler_flag:'`
11852 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11853 (eval "$lt_compile" 2>out/conftest.err)
11855 cat out/conftest.err >&5
11856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11857 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11859 # The compiler can only warn and ignore the option if not recognized
11860 # So say no if there are warnings
11861 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11862 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11863 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11864 lt_cv_prog_compiler_c_o=yes
11869 # SGI C++ compiler will create directory out/ii_files/ for
11870 # template instantiation
11871 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11872 $RM out/* && rmdir out
11878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11879 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11887 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11888 if ${lt_cv_prog_compiler_c_o+:} false; then :
11889 $as_echo_n "(cached) " >&6
11891 lt_cv_prog_compiler_c_o=no
11892 $RM -r conftest 2>/dev/null
11896 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11898 lt_compiler_flag="-o out/conftest2.$ac_objext"
11899 # Insert the option either (1) after the last *FLAGS variable, or
11900 # (2) before a word containing "conftest.", or (3) at the end.
11901 # Note that $ac_compile itself does not contain backslashes and begins
11902 # with a dollar sign (not a hyphen), so the echo should work correctly.
11903 lt_compile=`echo "$ac_compile" | $SED \
11904 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11905 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11906 -e 's:$: $lt_compiler_flag:'`
11907 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11908 (eval "$lt_compile" 2>out/conftest.err)
11910 cat out/conftest.err >&5
11911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11912 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11914 # The compiler can only warn and ignore the option if not recognized
11915 # So say no if there are warnings
11916 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11917 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11918 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11919 lt_cv_prog_compiler_c_o=yes
11924 # SGI C++ compiler will create directory out/ii_files/ for
11925 # template instantiation
11926 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11927 $RM out/* && rmdir out
11933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11934 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11939 hard_links=nottested
11940 if test no = "$lt_cv_prog_compiler_c_o" && test no != "$need_locks"; then
11941 # do not overwrite the value of need_locks provided by the user
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11943 $as_echo_n "checking if we can lock with hard links... " >&6; }
11946 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11948 ln conftest.a conftest.b 2>&5 || hard_links=no
11949 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11951 $as_echo "$hard_links" >&6; }
11952 if test no = "$hard_links"; then
11953 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
11954 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
11966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11967 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11970 allow_undefined_flag=
11971 always_export_symbols=no
11973 archive_expsym_cmds=
11974 compiler_needs_object=no
11975 enable_shared_with_static_runtimes=no
11976 export_dynamic_flag_spec=
11977 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11978 hardcode_automatic=no
11980 hardcode_direct_absolute=no
11981 hardcode_libdir_flag_spec=
11982 hardcode_libdir_separator=
11983 hardcode_minus_L=no
11984 hardcode_shlibpath_var=unsupported
11986 link_all_deplibs=unknown
11988 module_expsym_cmds=
11989 old_archive_from_new_cmds=
11990 old_archive_from_expsyms_cmds=
11991 thread_safe_flag_spec=
11992 whole_archive_flag_spec=
11993 # include_expsyms should be a list of space-separated symbols to be *always*
11994 # included in the symbol list
11996 # exclude_expsyms can be an extended regexp of symbols to exclude
11997 # it will be wrapped by ' (' and ')$', so one must not match beginning or
11998 # end of line. Example: 'a|bc|.*d.*' will exclude the symbols 'a' and 'bc',
11999 # as well as any symbol that contains 'd'.
12000 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
12001 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
12002 # platforms (ab)use it in PIC code, but their linkers get confused if
12003 # the symbol is explicitly referenced. Since portable code cannot
12004 # rely on this symbol name, it's probably fine to never include it in
12005 # preloaded symbol tables.
12006 # Exclude shared library initialization/finalization symbols.
12007 extract_expsyms_cmds=
12010 cygwin* | mingw* | pw32* | cegcc*)
12011 # FIXME: the MSVC++ port hasn't been tested in a loooong time
12012 # When not using gcc, we currently assume that we are using
12013 # Microsoft Visual C++.
12014 if test yes != "$GCC"; then
12019 # we just hope/assume this is gcc and not c89 (= MSVC++)
12022 openbsd* | bitrig*)
12029 # On some targets, GNU ld is compatible enough with the native linker
12030 # that we're better off using the native interface for both.
12031 lt_use_gnu_ld_interface=no
12032 if test yes = "$with_gnu_ld"; then
12035 # The AIX port of GNU ld has always aspired to compatibility
12036 # with the native linker. However, as the warning in the GNU ld
12037 # block says, versions before 2.19.5* couldn't really create working
12038 # shared libraries, regardless of the interface used.
12039 case `$LD -v 2>&1` in
12040 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
12041 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
12042 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
12044 lt_use_gnu_ld_interface=yes
12049 lt_use_gnu_ld_interface=yes
12054 if test yes = "$lt_use_gnu_ld_interface"; then
12055 # If archive_cmds runs LD, not CC, wlarc should be empty
12058 # Set some defaults for GNU ld with shared library support. These
12059 # are reset later if shared libraries are not supported. Putting them
12060 # here allows them to be overridden if necessary.
12061 runpath_var=LD_RUN_PATH
12062 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12063 export_dynamic_flag_spec='$wl--export-dynamic'
12064 # ancient GNU ld didn't support --whole-archive et. al.
12065 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
12066 whole_archive_flag_spec=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
12068 whole_archive_flag_spec=
12070 supports_anon_versioning=no
12071 case `$LD -v | $SED -e 's/(^)\+)\s\+//' 2>&1` in
12072 *GNU\ gold*) supports_anon_versioning=yes ;;
12073 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
12074 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
12075 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
12076 *\ 2.11.*) ;; # other 2.11 versions
12077 *) supports_anon_versioning=yes ;;
12080 # See if GNU ld supports shared libraries.
12083 # On AIX/PPC, the GNU linker is very broken
12084 if test ia64 != "$host_cpu"; then
12088 *** Warning: the GNU linker, at least up to release 2.19, is reported
12089 *** to be unable to reliably create shared libraries on AIX.
12090 *** Therefore, libtool is disabling shared libraries support. If you
12091 *** really care for shared libraries, you may want to install binutils
12092 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
12093 *** You will then need to restart the configuration process.
12102 # see comment about AmigaOS4 .so support
12103 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12104 archive_expsym_cmds=''
12107 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)'
12108 hardcode_libdir_flag_spec='-L$libdir'
12109 hardcode_minus_L=yes
12115 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12116 allow_undefined_flag=unsupported
12117 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12118 # support --undefined. This deserves some investigation. FIXME
12119 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12125 cygwin* | mingw* | pw32* | cegcc*)
12126 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
12127 # as there is no search path for DLLs.
12128 hardcode_libdir_flag_spec='-L$libdir'
12129 export_dynamic_flag_spec='$wl--export-all-symbols'
12130 allow_undefined_flag=unsupported
12131 always_export_symbols=no
12132 enable_shared_with_static_runtimes=yes
12133 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'
12134 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
12136 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12137 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12138 # If the export-symbols file already is a .def file, use it as
12139 # is; otherwise, prepend EXPORTS...
12140 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12141 cp $export_symbols $output_objdir/$soname.def;
12143 echo EXPORTS > $output_objdir/$soname.def;
12144 cat $export_symbols >> $output_objdir/$soname.def;
12146 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname $wl--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12153 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12154 link_all_deplibs=yes
12158 hardcode_libdir_flag_spec='-L$libdir'
12159 hardcode_minus_L=yes
12160 allow_undefined_flag=unsupported
12162 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12163 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12164 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12165 $ECHO EXPORTS >> $output_objdir/$libname.def~
12166 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
12167 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12168 emximp -o $lib $output_objdir/$libname.def'
12169 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
12170 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
12171 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
12172 $ECHO EXPORTS >> $output_objdir/$libname.def~
12173 prefix_cmds="$SED"~
12174 if test EXPORTS = "`$SED 1q $export_symbols`"; then
12175 prefix_cmds="$prefix_cmds -e 1d";
12177 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
12178 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
12179 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
12180 emximp -o $lib $output_objdir/$libname.def'
12181 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
12182 enable_shared_with_static_runtimes=yes
12187 hardcode_shlibpath_var=no
12188 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
12189 export_dynamic_flag_spec='$wl-E'
12190 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
12191 # Instead, shared libraries are loaded at an image base (0x10000000 by
12192 # default) and relocated if they conflict, which is a slow very memory
12193 # consuming and fragmenting process. To avoid this, we pick a random,
12194 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
12195 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
12196 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-h,$soname $wl--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
12197 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'
12200 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
12202 if test linux-dietlibc = "$host_os"; then
12203 case $cc_basename in
12204 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
12207 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
12208 && test no = "$tmp_diet"
12210 tmp_addflag=' $pic_flag'
12211 tmp_sharedflag='-shared'
12212 case $cc_basename,$host_cpu in
12213 pgcc*) # Portland Group C compiler
12214 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'
12215 tmp_addflag=' $pic_flag'
12217 pgf77* | pgf90* | pgf95* | pgfortran*)
12218 # Portland Group f77 and f90 compilers
12219 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'
12220 tmp_addflag=' $pic_flag -Mnomain' ;;
12221 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
12222 tmp_addflag=' -i_dynamic' ;;
12223 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
12224 tmp_addflag=' -i_dynamic -nofor_main' ;;
12225 ifc* | ifort*) # Intel Fortran compiler
12226 tmp_addflag=' -nofor_main' ;;
12227 lf95*) # Lahey Fortran 8.1
12228 whole_archive_flag_spec=
12229 tmp_sharedflag='--shared' ;;
12230 nagfor*) # NAGFOR 5.3
12231 tmp_sharedflag='-Wl,-shared' ;;
12232 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
12233 tmp_sharedflag='-qmkshrobj'
12235 nvcc*) # Cuda Compiler Driver 2.2
12236 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'
12237 compiler_needs_object=yes
12240 case `$CC -V 2>&1 | sed 5q` in
12241 *Sun\ C*) # Sun C 5.9
12242 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'
12243 compiler_needs_object=yes
12244 tmp_sharedflag='-G' ;;
12245 *Sun\ F*) # Sun Fortran 8.3
12246 tmp_sharedflag='-G' ;;
12248 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12250 if test yes = "$supports_anon_versioning"; then
12251 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12252 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12253 echo "local: *; };" >> $output_objdir/$libname.ver~
12254 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
12257 case $cc_basename in
12259 export_dynamic_flag_spec='-rdynamic'
12261 xlf* | bgf* | bgxlf* | mpixlf*)
12262 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
12263 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
12264 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12265 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
12266 if test yes = "$supports_anon_versioning"; then
12267 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
12268 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
12269 echo "local: *; };" >> $output_objdir/$libname.ver~
12270 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
12280 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12281 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
12284 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12285 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12290 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
12294 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
12295 *** create shared libraries on Solaris systems. Therefore, libtool
12296 *** is disabling shared libraries support. We urge you to upgrade GNU
12297 *** binutils to release 2.9.1 or newer. Another option is to modify
12298 *** your PATH or compiler configuration so that the native linker is
12299 *** used, and then restart.
12302 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12303 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12304 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12310 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
12311 case `$LD -v 2>&1` in
12312 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
12316 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 cannot
12317 *** reliably create shared libraries on SCO systems. Therefore, libtool
12318 *** is disabling shared libraries support. We urge you to upgrade GNU
12319 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
12320 *** your PATH or compiler configuration so that the native linker is
12321 *** used, and then restart.
12326 # For security reasons, it is highly recommended that you always
12327 # use absolute paths for naming shared libraries, and exclude the
12328 # DT_RUNPATH tag from executables and libraries. But doing so
12329 # requires that you compile everything twice, which is a pain.
12330 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12331 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12332 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12333 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12342 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12344 hardcode_direct=yes
12345 hardcode_shlibpath_var=no
12349 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12350 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12351 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-retain-symbols-file $wl$export_symbols -o $lib'
12358 if test no = "$ld_shlibs"; then
12360 hardcode_libdir_flag_spec=
12361 export_dynamic_flag_spec=
12362 whole_archive_flag_spec=
12365 # PORTME fill in a description of your system's linker (not GNU ld)
12368 allow_undefined_flag=unsupported
12369 always_export_symbols=yes
12370 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'
12371 # Note: this linker hardcodes the directories in LIBPATH if there
12372 # are no directories specified by -L.
12373 hardcode_minus_L=yes
12374 if test yes = "$GCC" && test -z "$lt_prog_compiler_static"; then
12375 # Neither direct hardcoding nor static linking is supported with a
12377 hardcode_direct=unsupported
12382 if test ia64 = "$host_cpu"; then
12383 # On IA64, the linker does run time linking by default, so we don't
12384 # have to do anything special.
12385 aix_use_runtimelinking=no
12386 exp_sym_flag='-Bexport'
12389 # If we're using GNU nm, then we don't want the "-C" option.
12390 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
12391 # Without the "-l" option, or with the "-B" option, AIX nm treats
12392 # weak defined symbols like other global defined symbols, whereas
12393 # GNU nm marks them as "W".
12394 # While the 'weak' keyword is ignored in the Export File, we need
12395 # it in the Import File for the 'aix-soname' feature, so we have
12396 # to replace the "-B" option with "-P" for AIX nm.
12397 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
12398 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'
12400 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'
12402 aix_use_runtimelinking=no
12404 # Test if we are trying to use run time linking or normal
12405 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12406 # have runtime linking enabled, and use it for executables.
12407 # For shared libraries, we enable/disable runtime linking
12408 # depending on the kind of the shared library created -
12409 # when "with_aix_soname,aix_use_runtimelinking" is:
12410 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
12411 # "aix,yes" lib.so shared, rtl:yes, for executables
12412 # lib.a static archive
12413 # "both,no" lib.so.V(shr.o) shared, rtl:yes
12414 # lib.a(lib.so.V) shared, rtl:no, for executables
12415 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
12416 # lib.a(lib.so.V) shared, rtl:no
12417 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
12418 # lib.a static archive
12419 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12420 for ld_flag in $LDFLAGS; do
12421 if (test x-brtl = "x$ld_flag" || test x-Wl,-brtl = "x$ld_flag"); then
12422 aix_use_runtimelinking=yes
12426 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
12427 # With aix-soname=svr4, we create the lib.so.V shared archives only,
12428 # so we don't have lib.a shared libs to link our executables.
12429 # We have to force runtime linking in this case.
12430 aix_use_runtimelinking=yes
12431 LDFLAGS="$LDFLAGS -Wl,-brtl"
12436 exp_sym_flag='-bexport'
12437 no_entry_flag='-bnoentry'
12440 # When large executables or shared objects are built, AIX ld can
12441 # have problems creating the table of contents. If linking a library
12442 # or program results in "error TOC overflow" add -mminimal-toc to
12443 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12444 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12447 hardcode_direct=yes
12448 hardcode_direct_absolute=yes
12449 hardcode_libdir_separator=':'
12450 link_all_deplibs=yes
12451 file_list_spec='$wl-f,'
12452 case $with_aix_soname,$aix_use_runtimelinking in
12453 aix,*) ;; # traditional, no import file
12454 svr4,* | *,yes) # use import file
12455 # The Import File defines what to hardcode.
12457 hardcode_direct_absolute=no
12461 if test yes = "$GCC"; then
12462 case $host_os in aix4.[012]|aix4.[012].*)
12463 # We only want to do this on AIX 4.2 and lower, the check
12464 # below for broken collect2 doesn't work under 4.3+
12465 collect2name=`$CC -print-prog-name=collect2`
12466 if test -f "$collect2name" &&
12467 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12469 # We have reworked collect2
12472 # We have old collect2
12473 hardcode_direct=unsupported
12474 # It fails to find uninstalled libraries when the uninstalled
12475 # path is not listed in the libpath. Setting hardcode_minus_L
12476 # to unsupported forces relinking
12477 hardcode_minus_L=yes
12478 hardcode_libdir_flag_spec='-L$libdir'
12479 hardcode_libdir_separator=
12483 shared_flag='-shared'
12484 if test yes = "$aix_use_runtimelinking"; then
12485 shared_flag="$shared_flag "'$wl-G'
12487 # Need to ensure runtime linking is disabled for the traditional
12488 # shared library, or the linker may eventually find shared libraries
12489 # /with/ Import File - we do not want to mix them.
12490 shared_flag_aix='-shared'
12491 shared_flag_svr4='-shared $wl-G'
12494 if test ia64 = "$host_cpu"; then
12495 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12496 # chokes on -Wl,-G. The following line is correct:
12499 if test yes = "$aix_use_runtimelinking"; then
12500 shared_flag='$wl-G'
12502 shared_flag='$wl-bM:SRE'
12504 shared_flag_aix='$wl-bM:SRE'
12505 shared_flag_svr4='$wl-G'
12509 export_dynamic_flag_spec='$wl-bexpall'
12510 # It seems that -bexpall does not export symbols beginning with
12511 # underscore (_), so it is better to generate a list of symbols to export.
12512 always_export_symbols=yes
12513 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
12514 # Warning - without using the other runtime loading flags (-brtl),
12515 # -berok will link without error, but may produce a broken library.
12516 allow_undefined_flag='-berok'
12517 # Determine the default libpath from the value encoded in an
12518 # empty executable.
12519 if test set = "${lt_cv_aix_libpath+set}"; then
12520 aix_libpath=$lt_cv_aix_libpath
12522 if ${lt_cv_aix_libpath_+:} false; then :
12523 $as_echo_n "(cached) " >&6
12525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12526 /* end confdefs.h. */
12536 if ac_fn_c_try_link "$LINENO"; then :
12538 lt_aix_libpath_sed='
12539 /Import File Strings/,/^$/ {
12541 s/^0 *\([^ ]*\) *$/\1/
12545 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12546 # Check for a 64-bit object if we didn't find anything.
12547 if test -z "$lt_cv_aix_libpath_"; then
12548 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12551 rm -f core conftest.err conftest.$ac_objext \
12552 conftest$ac_exeext conftest.$ac_ext
12553 if test -z "$lt_cv_aix_libpath_"; then
12554 lt_cv_aix_libpath_=/usr/lib:/lib
12559 aix_libpath=$lt_cv_aix_libpath_
12562 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12563 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
12565 if test ia64 = "$host_cpu"; then
12566 hardcode_libdir_flag_spec='$wl-R $libdir:/usr/lib:/lib'
12567 allow_undefined_flag="-z nodefs"
12568 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"
12570 # Determine the default libpath from the value encoded in an
12571 # empty executable.
12572 if test set = "${lt_cv_aix_libpath+set}"; then
12573 aix_libpath=$lt_cv_aix_libpath
12575 if ${lt_cv_aix_libpath_+:} false; then :
12576 $as_echo_n "(cached) " >&6
12578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12579 /* end confdefs.h. */
12589 if ac_fn_c_try_link "$LINENO"; then :
12591 lt_aix_libpath_sed='
12592 /Import File Strings/,/^$/ {
12594 s/^0 *\([^ ]*\) *$/\1/
12598 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12599 # Check for a 64-bit object if we didn't find anything.
12600 if test -z "$lt_cv_aix_libpath_"; then
12601 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12604 rm -f core conftest.err conftest.$ac_objext \
12605 conftest$ac_exeext conftest.$ac_ext
12606 if test -z "$lt_cv_aix_libpath_"; then
12607 lt_cv_aix_libpath_=/usr/lib:/lib
12612 aix_libpath=$lt_cv_aix_libpath_
12615 hardcode_libdir_flag_spec='$wl-blibpath:$libdir:'"$aix_libpath"
12616 # Warning - without using the other run time loading flags,
12617 # -berok will link without error, but may produce a broken library.
12618 no_undefined_flag=' $wl-bernotok'
12619 allow_undefined_flag=' $wl-berok'
12620 if test yes = "$with_gnu_ld"; then
12621 # We only use this code for GNU lds that support --whole-archive.
12622 whole_archive_flag_spec='$wl--whole-archive$convenience $wl--no-whole-archive'
12624 # Exported symbols can be pulled into shared objects from archives
12625 whole_archive_flag_spec='$convenience'
12627 archive_cmds_need_lc=yes
12628 archive_expsym_cmds='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
12629 # -brtl affects multiple linker settings, -berok does not and is overridden later
12630 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
12631 if test svr4 != "$with_aix_soname"; then
12632 # This is similar to how AIX traditionally builds its shared libraries.
12633 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'
12635 if test aix != "$with_aix_soname"; then
12636 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'
12638 # used by -dlpreopen to get the symbols
12639 archive_expsym_cmds="$archive_expsym_cmds"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
12641 archive_expsym_cmds="$archive_expsym_cmds"'~$RM -r $output_objdir/$realname.d'
12649 # see comment about AmigaOS4 .so support
12650 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
12651 archive_expsym_cmds=''
12654 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)'
12655 hardcode_libdir_flag_spec='-L$libdir'
12656 hardcode_minus_L=yes
12662 export_dynamic_flag_spec=-rdynamic
12665 cygwin* | mingw* | pw32* | cegcc*)
12666 # When not using gcc, we currently assume that we are using
12667 # Microsoft Visual C++.
12668 # hardcode_libdir_flag_spec is actually meaningless, as there is
12669 # no search path for DLLs.
12670 case $cc_basename in
12673 hardcode_libdir_flag_spec=' '
12674 allow_undefined_flag=unsupported
12675 always_export_symbols=yes
12677 # Tell ltmain to make .lib files, not .a files.
12679 # Tell ltmain to make .dll files, not .so files.
12681 # FIXME: Setting linknames here is a bad hack.
12682 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
12683 archive_expsym_cmds='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
12684 cp "$export_symbols" "$output_objdir/$soname.def";
12685 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
12687 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
12689 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12691 # The linker will not automatically build a static lib if we build a DLL.
12692 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12693 enable_shared_with_static_runtimes=yes
12694 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12695 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12697 old_postinstall_cmds='chmod 644 $oldlib'
12698 postlink_cmds='lt_outputfile="@OUTPUT@"~
12699 lt_tool_outputfile="@TOOL_OUTPUT@"~
12700 case $lt_outputfile in
12703 lt_outputfile=$lt_outputfile.exe
12704 lt_tool_outputfile=$lt_tool_outputfile.exe
12707 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
12708 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12709 $RM "$lt_outputfile.manifest";
12713 # Assume MSVC wrapper
12714 hardcode_libdir_flag_spec=' '
12715 allow_undefined_flag=unsupported
12716 # Tell ltmain to make .lib files, not .a files.
12718 # Tell ltmain to make .dll files, not .so files.
12720 # FIXME: Setting linknames here is a bad hack.
12721 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12722 # The linker will automatically build a .lib file if we build a DLL.
12723 old_archive_from_new_cmds='true'
12724 # FIXME: Should let the user specify the lib program.
12725 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12726 enable_shared_with_static_runtimes=yes
12731 darwin* | rhapsody*)
12734 archive_cmds_need_lc=no
12736 hardcode_automatic=yes
12737 hardcode_shlibpath_var=unsupported
12738 if test yes = "$lt_cv_ld_force_load"; then
12739 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\"`'
12742 whole_archive_flag_spec=''
12744 link_all_deplibs=yes
12745 allow_undefined_flag=$_lt_dar_allow_undefined
12746 case $cc_basename in
12747 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
12748 *) _lt_dar_can_shared=$GCC ;;
12750 if test yes = "$_lt_dar_can_shared"; then
12751 output_verbose_link_cmd=func_echo_all
12752 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod$_lt_dsymutil"
12753 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
12754 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"
12755 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"
12764 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12765 hardcode_libdir_flag_spec='-L$libdir'
12766 hardcode_shlibpath_var=no
12769 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12770 # support. Future versions do this automatically, but an explicit c++rt0.o
12771 # does not break anything, and helps significantly (at the cost of a little
12774 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12775 hardcode_libdir_flag_spec='-R$libdir'
12776 hardcode_direct=yes
12777 hardcode_shlibpath_var=no
12780 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12782 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12783 hardcode_direct=yes
12784 hardcode_minus_L=yes
12785 hardcode_shlibpath_var=no
12788 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12789 freebsd* | dragonfly*)
12790 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12791 hardcode_libdir_flag_spec='-R$libdir'
12792 hardcode_direct=yes
12793 hardcode_shlibpath_var=no
12797 if test yes = "$GCC"; then
12798 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'
12800 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'
12802 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12803 hardcode_libdir_separator=:
12804 hardcode_direct=yes
12806 # hardcode_minus_L: Not really in the search PATH,
12807 # but as the default location of the library.
12808 hardcode_minus_L=yes
12809 export_dynamic_flag_spec='$wl-E'
12813 if test yes,no = "$GCC,$with_gnu_ld"; then
12814 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12816 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12818 if test no = "$with_gnu_ld"; then
12819 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12820 hardcode_libdir_separator=:
12821 hardcode_direct=yes
12822 hardcode_direct_absolute=yes
12823 export_dynamic_flag_spec='$wl-E'
12824 # hardcode_minus_L: Not really in the search PATH,
12825 # but as the default location of the library.
12826 hardcode_minus_L=yes
12831 if test yes,no = "$GCC,$with_gnu_ld"; then
12834 archive_cmds='$CC -shared $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12837 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12840 archive_cmds='$CC -shared $pic_flag $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12846 archive_cmds='$CC -b $wl+h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
12849 archive_cmds='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12853 # Older versions of the 11.00 compiler do not understand -b yet
12854 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12856 $as_echo_n "checking if $CC understands -b... " >&6; }
12857 if ${lt_cv_prog_compiler__b+:} false; then :
12858 $as_echo_n "(cached) " >&6
12860 lt_cv_prog_compiler__b=no
12861 save_LDFLAGS=$LDFLAGS
12862 LDFLAGS="$LDFLAGS -b"
12863 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12864 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12865 # The linker can only warn and ignore the option if not recognized
12866 # So say no if there are warnings
12867 if test -s conftest.err; then
12868 # Append any errors to the config.log.
12869 cat conftest.err 1>&5
12870 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12871 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12872 if diff conftest.exp conftest.er2 >/dev/null; then
12873 lt_cv_prog_compiler__b=yes
12876 lt_cv_prog_compiler__b=yes
12880 LDFLAGS=$save_LDFLAGS
12883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12884 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12886 if test yes = "$lt_cv_prog_compiler__b"; then
12887 archive_cmds='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12889 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12895 if test no = "$with_gnu_ld"; then
12896 hardcode_libdir_flag_spec='$wl+b $wl$libdir'
12897 hardcode_libdir_separator=:
12902 hardcode_shlibpath_var=no
12905 hardcode_direct=yes
12906 hardcode_direct_absolute=yes
12907 export_dynamic_flag_spec='$wl-E'
12909 # hardcode_minus_L: Not really in the search PATH,
12910 # but as the default location of the library.
12911 hardcode_minus_L=yes
12917 irix5* | irix6* | nonstopux*)
12918 if test yes = "$GCC"; then
12919 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'
12920 # Try to use the -exported_symbol ld option, if it does not
12921 # work, assume that -exports_file does not work either and
12922 # implicitly export all symbols.
12923 # This should be the same for all languages, so no per-tag cache variable.
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12925 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12926 if ${lt_cv_irix_exported_symbol+:} false; then :
12927 $as_echo_n "(cached) " >&6
12929 save_LDFLAGS=$LDFLAGS
12930 LDFLAGS="$LDFLAGS -shared $wl-exported_symbol ${wl}foo $wl-update_registry $wl/dev/null"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12933 int foo (void) { return 0; }
12935 if ac_fn_c_try_link "$LINENO"; then :
12936 lt_cv_irix_exported_symbol=yes
12938 lt_cv_irix_exported_symbol=no
12940 rm -f core conftest.err conftest.$ac_objext \
12941 conftest$ac_exeext conftest.$ac_ext
12942 LDFLAGS=$save_LDFLAGS
12944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12945 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12946 if test yes = "$lt_cv_irix_exported_symbol"; then
12947 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'
12950 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'
12951 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'
12953 archive_cmds_need_lc='no'
12954 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12955 hardcode_libdir_separator=:
12957 link_all_deplibs=yes
12961 case $cc_basename in
12963 # Fabrice Bellard et al's Tiny C Compiler
12965 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12971 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12972 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12974 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12976 hardcode_libdir_flag_spec='-R$libdir'
12977 hardcode_direct=yes
12978 hardcode_shlibpath_var=no
12982 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12983 hardcode_direct=yes
12984 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
12985 hardcode_libdir_separator=:
12986 hardcode_shlibpath_var=no
12992 openbsd* | bitrig*)
12993 if test -f /usr/libexec/ld.so; then
12994 hardcode_direct=yes
12995 hardcode_shlibpath_var=no
12996 hardcode_direct_absolute=yes
12997 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
12998 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12999 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags $wl-retain-symbols-file,$export_symbols'
13000 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13001 export_dynamic_flag_spec='$wl-E'
13003 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
13004 hardcode_libdir_flag_spec='$wl-rpath,$libdir'
13012 hardcode_libdir_flag_spec='-L$libdir'
13013 hardcode_minus_L=yes
13014 allow_undefined_flag=unsupported
13016 archive_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13017 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13018 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13019 $ECHO EXPORTS >> $output_objdir/$libname.def~
13020 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
13021 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13022 emximp -o $lib $output_objdir/$libname.def'
13023 archive_expsym_cmds='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
13024 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
13025 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
13026 $ECHO EXPORTS >> $output_objdir/$libname.def~
13027 prefix_cmds="$SED"~
13028 if test EXPORTS = "`$SED 1q $export_symbols`"; then
13029 prefix_cmds="$prefix_cmds -e 1d";
13031 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
13032 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
13033 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
13034 emximp -o $lib $output_objdir/$libname.def'
13035 old_archive_From_new_cmds='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
13036 enable_shared_with_static_runtimes=yes
13040 if test yes = "$GCC"; then
13041 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13042 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'
13044 allow_undefined_flag=' -expect_unresolved \*'
13045 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'
13047 archive_cmds_need_lc='no'
13048 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13049 hardcode_libdir_separator=:
13052 osf4* | osf5*) # as osf3* with the addition of -msym flag
13053 if test yes = "$GCC"; then
13054 allow_undefined_flag=' $wl-expect_unresolved $wl\*'
13055 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'
13056 hardcode_libdir_flag_spec='$wl-rpath $wl$libdir'
13058 allow_undefined_flag=' -expect_unresolved \*'
13059 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'
13060 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~
13061 $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'
13063 # Both c and cxx compiler support -rpath directly
13064 hardcode_libdir_flag_spec='-rpath $libdir'
13066 archive_cmds_need_lc='no'
13067 hardcode_libdir_separator=:
13071 no_undefined_flag=' -z defs'
13072 if test yes = "$GCC"; then
13074 archive_cmds='$CC -shared $pic_flag $wl-z ${wl}text $wl-h $wl$soname -o $lib $libobjs $deplibs $compiler_flags'
13075 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13076 $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'
13078 case `$CC -V 2>&1` in
13081 archive_cmds='$LD -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $linker_flags'
13082 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13083 $LD -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
13087 archive_cmds='$CC -G$allow_undefined_flag -h $soname -o $lib $libobjs $deplibs $compiler_flags'
13088 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13089 $CC -G$allow_undefined_flag -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
13093 hardcode_libdir_flag_spec='-R$libdir'
13094 hardcode_shlibpath_var=no
13096 solaris2.[0-5] | solaris2.[0-5].*) ;;
13098 # The compiler driver will combine and reorder linker options,
13099 # but understands '-z linker_flag'. GCC discards it without '$wl',
13100 # but is careful enough not to reorder.
13101 # Supported since Solaris 2.6 (maybe 2.5.1?)
13102 if test yes = "$GCC"; then
13103 whole_archive_flag_spec='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
13105 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
13109 link_all_deplibs=yes
13113 if test sequent = "$host_vendor"; then
13114 # Use $CC to link under sequent, because it throws in some extra .o
13115 # files that make .init and .fini sections work.
13116 archive_cmds='$CC -G $wl-h $soname -o $lib $libobjs $deplibs $compiler_flags'
13118 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
13120 hardcode_libdir_flag_spec='-L$libdir'
13121 hardcode_direct=yes
13122 hardcode_minus_L=yes
13123 hardcode_shlibpath_var=no
13127 case $host_vendor in
13129 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13130 hardcode_direct=yes # is this really true???
13133 ## LD is ld it makes a PLAMLIB
13134 ## CC just makes a GrossModule.
13135 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
13136 reload_cmds='$CC -r -o $output$reload_objs'
13140 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13141 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
13144 runpath_var='LD_RUN_PATH'
13145 hardcode_shlibpath_var=no
13149 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13150 hardcode_shlibpath_var=no
13151 export_dynamic_flag_spec='-Bexport'
13155 if test -d /usr/nec; then
13156 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13157 hardcode_shlibpath_var=no
13158 runpath_var=LD_RUN_PATH
13159 hardcode_runpath_var=yes
13164 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13165 no_undefined_flag='$wl-z,text'
13166 archive_cmds_need_lc=no
13167 hardcode_shlibpath_var=no
13168 runpath_var='LD_RUN_PATH'
13170 if test yes = "$GCC"; then
13171 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13172 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13174 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13175 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13179 sysv5* | sco3.2v5* | sco5v6*)
13180 # Note: We CANNOT use -z defs as we might desire, because we do not
13181 # link with -lc, and that would cause any symbols used from libc to
13182 # always be unresolved, which means just about no library would
13183 # ever link correctly. If we're not using GNU ld we use -z text
13184 # though, which does catch some bad symbols but isn't as heavy-handed
13186 no_undefined_flag='$wl-z,text'
13187 allow_undefined_flag='$wl-z,nodefs'
13188 archive_cmds_need_lc=no
13189 hardcode_shlibpath_var=no
13190 hardcode_libdir_flag_spec='$wl-R,$libdir'
13191 hardcode_libdir_separator=':'
13192 link_all_deplibs=yes
13193 export_dynamic_flag_spec='$wl-Bexport'
13194 runpath_var='LD_RUN_PATH'
13196 if test yes = "$GCC"; then
13197 archive_cmds='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13198 archive_expsym_cmds='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13200 archive_cmds='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13201 archive_expsym_cmds='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13206 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
13207 hardcode_libdir_flag_spec='-L$libdir'
13208 hardcode_shlibpath_var=no
13216 if test sni = "$host_vendor"; then
13218 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
13219 export_dynamic_flag_spec='$wl-Blargedynsym'
13225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
13226 $as_echo "$ld_shlibs" >&6; }
13227 test no = "$ld_shlibs" && can_build_shared=no
13229 with_gnu_ld=$with_gnu_ld
13246 # Do we need to explicitly link libc?
13248 case "x$archive_cmds_need_lc" in
13250 # Assume -lc should be added
13251 archive_cmds_need_lc=yes
13253 if test yes,yes = "$GCC,$enable_shared"; then
13254 case $archive_cmds in
13256 # FIXME: we may have to deal with multi-command sequences.
13259 # Test whether the compiler implicitly links with -lc since on some
13260 # systems, -lgcc has to come before -lc. If gcc already passes -lc
13261 # to ld, don't add -lc before -lgcc.
13262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13263 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13264 if ${lt_cv_archive_cmds_need_lc+:} false; then :
13265 $as_echo_n "(cached) " >&6
13268 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
13270 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13271 (eval $ac_compile) 2>&5
13273 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13274 test $ac_status = 0; } 2>conftest.err; then
13277 libobjs=conftest.$ac_objext
13279 wl=$lt_prog_compiler_wl
13280 pic_flag=$lt_prog_compiler_pic
13286 lt_save_allow_undefined_flag=$allow_undefined_flag
13287 allow_undefined_flag=
13288 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
13289 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
13291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13292 test $ac_status = 0; }
13294 lt_cv_archive_cmds_need_lc=no
13296 lt_cv_archive_cmds_need_lc=yes
13298 allow_undefined_flag=$lt_save_allow_undefined_flag
13300 cat conftest.err 1>&5
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
13306 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
13307 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
13465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
13466 $as_echo_n "checking dynamic linker characteristics... " >&6; }
13468 if test yes = "$GCC"; then
13470 darwin*) lt_awk_arg='/^libraries:/,/LR/' ;;
13471 *) lt_awk_arg='/^libraries:/' ;;
13474 mingw* | cegcc*) lt_sed_strip_eq='s|=\([A-Za-z]:\)|\1|g' ;;
13475 *) lt_sed_strip_eq='s|=/|/|g' ;;
13477 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
13478 case $lt_search_path_spec in
13480 # if the path contains ";" then we assume it to be the separator
13481 # otherwise default to the standard path separator (i.e. ":") - it is
13482 # assumed that no part of a normal pathname contains ";" but that should
13483 # okay in the real world where ";" in dirpaths is itself problematic.
13484 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
13487 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
13490 # Ok, now we have the path, separated by spaces, we can step through it
13491 # and add multilib dir if necessary...
13492 lt_tmp_lt_search_path_spec=
13493 lt_multi_os_dir=/`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
13494 # ...but if some path component already ends with the multilib dir we assume
13495 # that all is fine and trust -print-search-dirs as is (GCC 4.2? or newer).
13496 case "$lt_multi_os_dir; $lt_search_path_spec " in
13497 "/; "* | "/.; "* | "/./; "* | *"$lt_multi_os_dir "* | *"$lt_multi_os_dir/ "*)
13501 for lt_sys_path in $lt_search_path_spec; do
13502 if test -d "$lt_sys_path$lt_multi_os_dir"; then
13503 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path$lt_multi_os_dir"
13504 elif test -n "$lt_multi_os_dir"; then
13505 test -d "$lt_sys_path" && \
13506 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
13509 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
13510 BEGIN {RS = " "; FS = "/|\n";} {
13513 for (lt_i = NF; lt_i > 0; lt_i--) {
13514 if ($lt_i != "" && $lt_i != ".") {
13515 if ($lt_i == "..") {
13518 if (lt_count == 0) {
13519 lt_foo = "/" $lt_i lt_foo;
13526 if (lt_foo != "") { lt_freq[lt_foo]++; }
13527 if (lt_freq[lt_foo] == 1) { print lt_foo; }
13529 # AWK program above erroneously prepends '/' to C:/dos/paths
13532 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
13533 $SED 's|/\([A-Za-z]:\)|\1|g'` ;;
13535 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
13537 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13539 library_names_spec=
13540 libname_spec='lib$name'
13544 postuninstall_cmds=
13548 shlibpath_overrides_runpath=unknown
13550 dynamic_linker="$host_os ld.so"
13551 sys_lib_dlsearch_path_spec="/lib /usr/lib"
13552 need_lib_prefix=unknown
13553 hardcode_into_libs=no
13555 # when you set need_version to no, make sure it does not cause -set_version
13556 # flags to be left without arguments
13557 need_version=unknown
13563 version_type=linux # correct to gnu/linux during the next big refactor
13564 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
13565 shlibpath_var=LIBPATH
13567 # AIX 3 has no versioning support, so we append a major version to the name.
13568 soname_spec='$libname$release$shared_ext$major'
13572 version_type=linux # correct to gnu/linux during the next big refactor
13575 hardcode_into_libs=yes
13576 if test ia64 = "$host_cpu"; then
13577 # AIX 5 supports IA64
13578 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
13579 shlibpath_var=LD_LIBRARY_PATH
13581 # With GCC up to 2.95.x, collect2 would create an import file
13582 # for dependence libraries. The import file would start with
13583 # the line '#! .'. This would cause the generated library to
13584 # depend on '.', always an invalid library. This was fixed in
13585 # development snapshots of GCC prior to 3.0.
13587 aix4 | aix4.[01] | aix4.[01].*)
13588 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13590 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
13593 can_build_shared=no
13597 # Using Import Files as archive members, it is possible to support
13598 # filename-based versioning of shared library archives on AIX. While
13599 # this would work for both with and without runtime linking, it will
13600 # prevent static linking of such archives. So we do filename-based
13601 # shared library versioning with .so extension only, which is used
13602 # when both runtime linking and shared linking is enabled.
13603 # Unfortunately, runtime linking may impact performance, so we do
13604 # not want this to be the default eventually. Also, we use the
13605 # versioned .so libs for executables only if there is the -brtl
13606 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
13607 # To allow for filename-based versioning support, we need to create
13608 # libNAME.so.V as an archive file, containing:
13609 # *) an Import File, referring to the versioned filename of the
13610 # archive as well as the shared archive member, telling the
13611 # bitwidth (32 or 64) of that shared object, and providing the
13612 # list of exported symbols of that shared object, eventually
13613 # decorated with the 'weak' keyword
13614 # *) the shared object with the F_LOADONLY flag set, to really avoid
13615 # it being seen by the linker.
13616 # At run time we better use the real file rather than another symlink,
13617 # but for link time we create the symlink libNAME.so -> libNAME.so.V
13619 case $with_aix_soname,$aix_use_runtimelinking in
13620 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
13621 # soname into executable. Probably we can add versioning support to
13622 # collect2, so additional links can be useful in future.
13623 aix,yes) # traditional libtool
13624 dynamic_linker='AIX unversionable lib.so'
13625 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13626 # instead of lib<name>.a to let people know that these are not
13627 # typical AIX shared libraries.
13628 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13630 aix,no) # traditional AIX only
13631 dynamic_linker='AIX lib.a(lib.so.V)'
13632 # We preserve .a as extension for shared libraries through AIX4.2
13633 # and later when we are not doing run time linking.
13634 library_names_spec='$libname$release.a $libname.a'
13635 soname_spec='$libname$release$shared_ext$major'
13637 svr4,*) # full svr4 only
13638 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
13639 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13640 # We do not specify a path in Import Files, so LIBPATH fires.
13641 shlibpath_overrides_runpath=yes
13643 *,yes) # both, prefer svr4
13644 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
13645 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
13646 # unpreferred sharedlib libNAME.a needs extra handling
13647 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"'
13648 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"'
13649 # We do not specify a path in Import Files, so LIBPATH fires.
13650 shlibpath_overrides_runpath=yes
13652 *,no) # both, prefer aix
13653 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
13654 library_names_spec='$libname$release.a $libname.a'
13655 soname_spec='$libname$release$shared_ext$major'
13656 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
13657 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)'
13658 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"'
13661 shlibpath_var=LIBPATH
13668 # Since July 2007 AmigaOS4 officially supports .so libraries.
13669 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13670 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13673 library_names_spec='$libname.ixlibrary $libname.a'
13674 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13675 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'
13681 library_names_spec='$libname$shared_ext'
13682 dynamic_linker="$host_os ld.so"
13683 shlibpath_var=LIBRARY_PATH
13687 version_type=linux # correct to gnu/linux during the next big refactor
13689 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13690 soname_spec='$libname$release$shared_ext$major'
13691 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13692 shlibpath_var=LD_LIBRARY_PATH
13693 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13694 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13695 # the default ld.so.conf also contains /usr/contrib/lib and
13696 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13697 # libtool to hard-code these into programs
13700 cygwin* | mingw* | pw32* | cegcc*)
13701 version_type=windows
13706 case $GCC,$cc_basename in
13709 library_names_spec='$libname.dll.a'
13710 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13711 postinstall_cmds='base_file=`basename \$file`~
13712 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13713 dldir=$destdir/`dirname \$dlpath`~
13714 test -d \$dldir || mkdir -p \$dldir~
13715 $install_prog $dir/$dlname \$dldir/$dlname~
13716 chmod a+x \$dldir/$dlname~
13717 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13718 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13720 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13721 dlpath=$dir/\$dldll~
13723 shlibpath_overrides_runpath=yes
13727 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13728 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13730 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13733 # MinGW DLLs use traditional 'lib' prefix
13734 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13737 # pw32 DLLs use 'pw' prefix rather than 'lib'
13738 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13741 dynamic_linker='Win32 ld.exe'
13746 libname_spec='$name'
13747 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
13748 library_names_spec='$libname.dll.lib'
13752 sys_lib_search_path_spec=
13755 for lt_path in $LIB
13758 # Let DOS variable expansion print the short 8.3 style file name.
13759 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13760 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13763 # Convert to MSYS style.
13764 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13767 # Convert to unix form, then to dos form, then back to unix form
13768 # but this time dos style (no spaces!) so that the unix form looks
13769 # like /cygdrive/c/PROGRA~1:/cygdr...
13770 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13771 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13772 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13775 sys_lib_search_path_spec=$LIB
13776 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13777 # It is most probably a Windows format PATH.
13778 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13780 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13782 # FIXME: find the short name or the path components, as spaces are
13783 # common. (e.g. "Program Files" -> "PROGRA~1")
13787 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13788 postinstall_cmds='base_file=`basename \$file`~
13789 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
13790 dldir=$destdir/`dirname \$dlpath`~
13791 test -d \$dldir || mkdir -p \$dldir~
13792 $install_prog $dir/$dlname \$dldir/$dlname'
13793 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13794 dlpath=$dir/\$dldll~
13796 shlibpath_overrides_runpath=yes
13797 dynamic_linker='Win32 link.exe'
13801 # Assume MSVC wrapper
13802 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
13803 dynamic_linker='Win32 ld.exe'
13806 # FIXME: first we should search . and the directory the executable is in
13810 darwin* | rhapsody*)
13811 dynamic_linker="$host_os dyld"
13812 version_type=darwin
13815 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
13816 soname_spec='$libname$release$major$shared_ext'
13817 shlibpath_overrides_runpath=yes
13818 shlibpath_var=DYLD_LIBRARY_PATH
13819 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13821 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13822 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13826 version_type=linux # correct to gnu/linux during the next big refactor
13829 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13830 soname_spec='$libname$release$shared_ext$major'
13831 shlibpath_var=LD_LIBRARY_PATH
13834 freebsd* | dragonfly*)
13835 # DragonFly does not have aout. When/if they implement a new
13836 # versioning mechanism, adjust this.
13837 if test -x /usr/bin/objformat; then
13838 objformat=`/usr/bin/objformat`
13841 freebsd[23].*) objformat=aout ;;
13842 *) objformat=elf ;;
13845 version_type=freebsd-$objformat
13846 case $version_type in
13848 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13849 soname_spec='$libname$release$shared_ext$major'
13854 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
13858 shlibpath_var=LD_LIBRARY_PATH
13861 shlibpath_overrides_runpath=yes
13863 freebsd3.[01]* | freebsdelf3.[01]*)
13864 shlibpath_overrides_runpath=yes
13865 hardcode_into_libs=yes
13867 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13868 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13869 shlibpath_overrides_runpath=no
13870 hardcode_into_libs=yes
13872 *) # from 4.6 on, and DragonFly
13873 shlibpath_overrides_runpath=yes
13874 hardcode_into_libs=yes
13880 version_type=linux # correct to gnu/linux during the next big refactor
13883 dynamic_linker="$host_os runtime_loader"
13884 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13885 soname_spec='$libname$release$shared_ext$major'
13886 shlibpath_var=LIBRARY_PATH
13887 shlibpath_overrides_runpath=no
13888 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13889 hardcode_into_libs=yes
13892 hpux9* | hpux10* | hpux11*)
13893 # Give a soname corresponding to the major version so that dld.sl refuses to
13894 # link against other versions.
13901 hardcode_into_libs=yes
13902 dynamic_linker="$host_os dld.so"
13903 shlibpath_var=LD_LIBRARY_PATH
13904 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13905 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13906 soname_spec='$libname$release$shared_ext$major'
13907 if test 32 = "$HPUX_IA64_MODE"; then
13908 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13909 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
13911 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13912 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
13917 hardcode_into_libs=yes
13918 dynamic_linker="$host_os dld.sl"
13919 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13920 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13921 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13922 soname_spec='$libname$release$shared_ext$major'
13923 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13924 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13928 dynamic_linker="$host_os dld.sl"
13929 shlibpath_var=SHLIB_PATH
13930 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13931 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13932 soname_spec='$libname$release$shared_ext$major'
13935 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13936 postinstall_cmds='chmod 555 $lib'
13937 # or fails outright, so override atomically:
13938 install_override_mode=555
13942 version_type=linux # correct to gnu/linux during the next big refactor
13945 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
13946 soname_spec='$libname$release$shared_ext$major'
13947 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13948 shlibpath_var=LD_LIBRARY_PATH
13949 shlibpath_overrides_runpath=no
13950 hardcode_into_libs=yes
13953 irix5* | irix6* | nonstopux*)
13955 nonstopux*) version_type=nonstopux ;;
13957 if test yes = "$lt_cv_prog_gnu_ld"; then
13958 version_type=linux # correct to gnu/linux during the next big refactor
13965 soname_spec='$libname$release$shared_ext$major'
13966 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
13968 irix5* | nonstopux*)
13969 libsuff= shlibsuff=
13972 case $LD in # libtool.m4 will add one of these switches to LD
13973 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13974 libsuff= shlibsuff= libmagic=32-bit;;
13975 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13976 libsuff=32 shlibsuff=N32 libmagic=N32;;
13977 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13978 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13979 *) libsuff= shlibsuff= libmagic=never-match;;
13983 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13984 shlibpath_overrides_runpath=no
13985 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
13986 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
13987 hardcode_into_libs=yes
13990 # No shared lib support for Linux oldld, aout, or coff.
13991 linux*oldld* | linux*aout* | linux*coff*)
13996 version_type=none # Android doesn't support versioned libraries.
13999 library_names_spec='$libname$release$shared_ext'
14000 soname_spec='$libname$release$shared_ext'
14002 shlibpath_var=LD_LIBRARY_PATH
14003 shlibpath_overrides_runpath=yes
14005 # This implies no fast_install, which is unacceptable.
14006 # Some rework will be needed to allow for fast_install
14007 # before this can be enabled.
14008 hardcode_into_libs=yes
14010 dynamic_linker='Android linker'
14011 # Don't embed -rpath directories since the linker doesn't support them.
14012 hardcode_libdir_flag_spec='-L$libdir'
14015 # This must be glibc/ELF.
14016 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
14017 version_type=linux # correct to gnu/linux during the next big refactor
14020 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14021 soname_spec='$libname$release$shared_ext$major'
14022 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14023 shlibpath_var=LD_LIBRARY_PATH
14024 shlibpath_overrides_runpath=no
14026 # Some binutils ld are patched to set DT_RUNPATH
14027 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14028 $as_echo_n "(cached) " >&6
14030 lt_cv_shlibpath_overrides_runpath=no
14031 save_LDFLAGS=$LDFLAGS
14032 save_libdir=$libdir
14033 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
14034 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
14035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14036 /* end confdefs.h. */
14046 if ac_fn_c_try_link "$LINENO"; then :
14047 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14048 lt_cv_shlibpath_overrides_runpath=yes
14051 rm -f core conftest.err conftest.$ac_objext \
14052 conftest$ac_exeext conftest.$ac_ext
14053 LDFLAGS=$save_LDFLAGS
14054 libdir=$save_libdir
14058 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14060 # This implies no fast_install, which is unacceptable.
14061 # Some rework will be needed to allow for fast_install
14062 # before this can be enabled.
14063 hardcode_into_libs=yes
14065 # Ideally, we could use ldconfig to report *all* directores which are
14066 # searched for libraries, however this is still not possible. Aside from not
14067 # being certain /sbin/ldconfig is available, command
14068 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
14069 # even though it is searched at run-time. Try to do the best guess by
14070 # appending ld.so.conf contents (and includes) to the search path.
14071 if test -f /etc/ld.so.conf; then
14072 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' ' '`
14073 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14076 # We used to test for /lib/ld.so.1 and disable shared libraries on
14077 # powerpc, because MkLinux only supported shared libraries with the
14078 # GNU dynamic linker. Since this was broken with cross compilers,
14079 # most powerpc-linux boxes support dynamic linking these days and
14080 # people can always --disable-shared, the test was removed, and we
14081 # assume the GNU/Linux dynamic linker is in use.
14082 dynamic_linker='GNU/Linux ld.so'
14089 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14090 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14091 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14092 dynamic_linker='NetBSD (a.out) ld.so'
14094 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14095 soname_spec='$libname$release$shared_ext$major'
14096 dynamic_linker='NetBSD ld.elf_so'
14098 shlibpath_var=LD_LIBRARY_PATH
14099 shlibpath_overrides_runpath=yes
14100 hardcode_into_libs=yes
14104 version_type=linux # correct to gnu/linux during the next big refactor
14105 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14106 shlibpath_var=LD_LIBRARY_PATH
14107 shlibpath_overrides_runpath=yes
14114 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14115 soname_spec='$libname$release$shared_ext$major'
14116 shlibpath_var=LD_LIBRARY_PATH
14117 shlibpath_overrides_runpath=no
14118 hardcode_into_libs=yes
14119 dynamic_linker='ldqnx.so'
14122 openbsd* | bitrig*)
14124 sys_lib_dlsearch_path_spec=/usr/lib
14126 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
14131 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14132 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14133 shlibpath_var=LD_LIBRARY_PATH
14134 shlibpath_overrides_runpath=yes
14138 libname_spec='$name'
14139 version_type=windows
14143 # OS/2 can only load a DLL with a base name of 8 characters or less.
14144 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
14145 v=$($ECHO $release$versuffix | tr -d .-);
14146 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
14147 $ECHO $n$v`$shared_ext'
14148 library_names_spec='${libname}_dll.$libext'
14149 dynamic_linker='OS/2 ld.exe'
14150 shlibpath_var=BEGINLIBPATH
14151 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
14152 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14153 postinstall_cmds='base_file=`basename \$file`~
14154 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
14155 dldir=$destdir/`dirname \$dlpath`~
14156 test -d \$dldir || mkdir -p \$dldir~
14157 $install_prog $dir/$dlname \$dldir/$dlname~
14158 chmod a+x \$dldir/$dlname~
14159 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14160 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14162 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
14163 dlpath=$dir/\$dldll~
14167 osf3* | osf4* | osf5*)
14171 soname_spec='$libname$release$shared_ext$major'
14172 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14173 shlibpath_var=LD_LIBRARY_PATH
14174 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14175 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14183 version_type=linux # correct to gnu/linux during the next big refactor
14186 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14187 soname_spec='$libname$release$shared_ext$major'
14188 shlibpath_var=LD_LIBRARY_PATH
14189 shlibpath_overrides_runpath=yes
14190 hardcode_into_libs=yes
14191 # ldd complains unless libraries are executable
14192 postinstall_cmds='chmod +x $lib'
14197 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
14198 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14199 shlibpath_var=LD_LIBRARY_PATH
14200 shlibpath_overrides_runpath=yes
14201 if test yes = "$with_gnu_ld"; then
14208 version_type=linux # correct to gnu/linux during the next big refactor
14209 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14210 soname_spec='$libname$release$shared_ext$major'
14211 shlibpath_var=LD_LIBRARY_PATH
14212 case $host_vendor in
14214 shlibpath_overrides_runpath=no
14216 runpath_var=LD_RUN_PATH
14224 shlibpath_overrides_runpath=no
14225 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
14231 if test -d /usr/nec; then
14232 version_type=linux # correct to gnu/linux during the next big refactor
14233 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
14234 soname_spec='$libname$shared_ext.$major'
14235 shlibpath_var=LD_LIBRARY_PATH
14239 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
14243 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
14244 soname_spec='$libname$release$shared_ext$major'
14245 shlibpath_var=LD_LIBRARY_PATH
14246 shlibpath_overrides_runpath=yes
14247 hardcode_into_libs=yes
14248 if test yes = "$with_gnu_ld"; then
14249 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
14251 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
14254 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
14258 sys_lib_dlsearch_path_spec='/usr/lib'
14262 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
14263 version_type=linux # correct to gnu/linux during the next big refactor
14266 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14267 shlibpath_var=LD_LIBRARY_PATH
14268 shlibpath_overrides_runpath=no
14269 hardcode_into_libs=yes
14273 version_type=linux # correct to gnu/linux during the next big refactor
14274 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
14275 soname_spec='$libname$release$shared_ext$major'
14276 shlibpath_var=LD_LIBRARY_PATH
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
14284 $as_echo "$dynamic_linker" >&6; }
14285 test no = "$dynamic_linker" && can_build_shared=no
14287 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
14288 if test yes = "$GCC"; then
14289 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
14292 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
14293 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
14296 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
14297 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
14300 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
14301 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
14303 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
14304 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
14306 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
14307 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
14405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
14406 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
14408 if test -n "$hardcode_libdir_flag_spec" ||
14409 test -n "$runpath_var" ||
14410 test yes = "$hardcode_automatic"; then
14412 # We can hardcode non-existent directories.
14413 if test no != "$hardcode_direct" &&
14414 # If the only mechanism to avoid hardcoding is shlibpath_var, we
14415 # have to relink, otherwise we might link with an installed library
14416 # when we should be linking with a yet-to-be-installed one
14417 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, )" &&
14418 test no != "$hardcode_minus_L"; then
14419 # Linking always hardcodes the temporary library directory.
14420 hardcode_action=relink
14422 # We can link without hardcoding, and we can hardcode nonexisting dirs.
14423 hardcode_action=immediate
14426 # We cannot hardcode anything, or else we can only hardcode existing
14428 hardcode_action=unsupported
14430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
14431 $as_echo "$hardcode_action" >&6; }
14433 if test relink = "$hardcode_action" ||
14434 test yes = "$inherit_rpath"; then
14435 # Fast installation is not supported
14436 enable_fast_install=no
14437 elif test yes = "$shlibpath_overrides_runpath" ||
14438 test no = "$enable_shared"; then
14439 # Fast installation is not necessary
14440 enable_fast_install=needless
14448 if test yes != "$enable_dlopen"; then
14449 enable_dlopen=unknown
14450 enable_dlopen_self=unknown
14451 enable_dlopen_self_static=unknown
14458 lt_cv_dlopen=load_add_on
14460 lt_cv_dlopen_self=yes
14463 mingw* | pw32* | cegcc*)
14464 lt_cv_dlopen=LoadLibrary
14469 lt_cv_dlopen=dlopen
14474 # if libdl is installed we need to link against it
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14476 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14477 if ${ac_cv_lib_dl_dlopen+:} false; then :
14478 $as_echo_n "(cached) " >&6
14480 ac_check_lib_save_LIBS=$LIBS
14482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14483 /* end confdefs.h. */
14485 /* Override any GCC internal prototype to avoid an error.
14486 Use char because int might match the return type of a GCC
14487 builtin and then its argument prototype would still apply. */
14500 if ac_fn_c_try_link "$LINENO"; then :
14501 ac_cv_lib_dl_dlopen=yes
14503 ac_cv_lib_dl_dlopen=no
14505 rm -f core conftest.err conftest.$ac_objext \
14506 conftest$ac_exeext conftest.$ac_ext
14507 LIBS=$ac_check_lib_save_LIBS
14509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14510 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14511 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14512 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14517 lt_cv_dlopen_self=yes
14524 # Don't try to run any link tests for TPF. We know it's impossible
14525 # because TPF is a cross-compiler, and we know how we open DSOs.
14526 lt_cv_dlopen=dlopen
14528 lt_cv_dlopen_self=no
14532 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
14533 if test "x$ac_cv_func_shl_load" = xyes; then :
14534 lt_cv_dlopen=shl_load
14536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
14537 $as_echo_n "checking for shl_load in -ldld... " >&6; }
14538 if ${ac_cv_lib_dld_shl_load+:} false; then :
14539 $as_echo_n "(cached) " >&6
14541 ac_check_lib_save_LIBS=$LIBS
14543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14544 /* end confdefs.h. */
14546 /* Override any GCC internal prototype to avoid an error.
14547 Use char because int might match the return type of a GCC
14548 builtin and then its argument prototype would still apply. */
14556 return shl_load ();
14561 if ac_fn_c_try_link "$LINENO"; then :
14562 ac_cv_lib_dld_shl_load=yes
14564 ac_cv_lib_dld_shl_load=no
14566 rm -f core conftest.err conftest.$ac_objext \
14567 conftest$ac_exeext conftest.$ac_ext
14568 LIBS=$ac_check_lib_save_LIBS
14570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
14571 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
14572 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
14573 lt_cv_dlopen=shl_load lt_cv_dlopen_libs=-ldld
14575 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
14576 if test "x$ac_cv_func_dlopen" = xyes; then :
14577 lt_cv_dlopen=dlopen
14579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
14580 $as_echo_n "checking for dlopen in -ldl... " >&6; }
14581 if ${ac_cv_lib_dl_dlopen+:} false; then :
14582 $as_echo_n "(cached) " >&6
14584 ac_check_lib_save_LIBS=$LIBS
14586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14587 /* end confdefs.h. */
14589 /* Override any GCC internal prototype to avoid an error.
14590 Use char because int might match the return type of a GCC
14591 builtin and then its argument prototype would still apply. */
14604 if ac_fn_c_try_link "$LINENO"; then :
14605 ac_cv_lib_dl_dlopen=yes
14607 ac_cv_lib_dl_dlopen=no
14609 rm -f core conftest.err conftest.$ac_objext \
14610 conftest$ac_exeext conftest.$ac_ext
14611 LIBS=$ac_check_lib_save_LIBS
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
14614 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
14615 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
14616 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-ldl
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
14619 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
14620 if ${ac_cv_lib_svld_dlopen+:} false; then :
14621 $as_echo_n "(cached) " >&6
14623 ac_check_lib_save_LIBS=$LIBS
14624 LIBS="-lsvld $LIBS"
14625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14626 /* end confdefs.h. */
14628 /* Override any GCC internal prototype to avoid an error.
14629 Use char because int might match the return type of a GCC
14630 builtin and then its argument prototype would still apply. */
14643 if ac_fn_c_try_link "$LINENO"; then :
14644 ac_cv_lib_svld_dlopen=yes
14646 ac_cv_lib_svld_dlopen=no
14648 rm -f core conftest.err conftest.$ac_objext \
14649 conftest$ac_exeext conftest.$ac_ext
14650 LIBS=$ac_check_lib_save_LIBS
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
14653 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
14654 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
14655 lt_cv_dlopen=dlopen lt_cv_dlopen_libs=-lsvld
14657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
14658 $as_echo_n "checking for dld_link in -ldld... " >&6; }
14659 if ${ac_cv_lib_dld_dld_link+:} false; then :
14660 $as_echo_n "(cached) " >&6
14662 ac_check_lib_save_LIBS=$LIBS
14664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14665 /* end confdefs.h. */
14667 /* Override any GCC internal prototype to avoid an error.
14668 Use char because int might match the return type of a GCC
14669 builtin and then its argument prototype would still apply. */
14677 return dld_link ();
14682 if ac_fn_c_try_link "$LINENO"; then :
14683 ac_cv_lib_dld_dld_link=yes
14685 ac_cv_lib_dld_dld_link=no
14687 rm -f core conftest.err conftest.$ac_objext \
14688 conftest$ac_exeext conftest.$ac_ext
14689 LIBS=$ac_check_lib_save_LIBS
14691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14692 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14693 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14694 lt_cv_dlopen=dld_link lt_cv_dlopen_libs=-ldld
14715 if test no = "$lt_cv_dlopen"; then
14721 case $lt_cv_dlopen in
14723 save_CPPFLAGS=$CPPFLAGS
14724 test yes = "$ac_cv_header_dlfcn_h" && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14726 save_LDFLAGS=$LDFLAGS
14727 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14730 LIBS="$lt_cv_dlopen_libs $LIBS"
14732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14733 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14734 if ${lt_cv_dlopen_self+:} false; then :
14735 $as_echo_n "(cached) " >&6
14737 if test yes = "$cross_compiling"; then :
14738 lt_cv_dlopen_self=cross
14740 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14741 lt_status=$lt_dlunknown
14742 cat > conftest.$ac_ext <<_LT_EOF
14743 #line $LINENO "configure"
14744 #include "confdefs.h"
14753 # define LT_DLGLOBAL RTLD_GLOBAL
14756 # define LT_DLGLOBAL DL_GLOBAL
14758 # define LT_DLGLOBAL 0
14762 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14763 find out it does not work in some platform. */
14764 #ifndef LT_DLLAZY_OR_NOW
14766 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14769 # define LT_DLLAZY_OR_NOW DL_LAZY
14772 # define LT_DLLAZY_OR_NOW RTLD_NOW
14775 # define LT_DLLAZY_OR_NOW DL_NOW
14777 # define LT_DLLAZY_OR_NOW 0
14784 /* When -fvisibility=hidden is used, assume the code has been annotated
14785 correspondingly for the symbols needed. */
14786 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14787 int fnord () __attribute__((visibility("default")));
14790 int fnord () { return 42; }
14793 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14794 int status = $lt_dlunknown;
14798 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14801 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14802 else puts (dlerror ());
14804 /* dlclose (self); */
14812 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14813 (eval $ac_link) 2>&5
14815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14816 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14817 (./conftest; exit; ) >&5 2>/dev/null
14819 case x$lt_status in
14820 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14821 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14822 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14825 # compilation failed
14826 lt_cv_dlopen_self=no
14833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14834 $as_echo "$lt_cv_dlopen_self" >&6; }
14836 if test yes = "$lt_cv_dlopen_self"; then
14837 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14839 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14840 if ${lt_cv_dlopen_self_static+:} false; then :
14841 $as_echo_n "(cached) " >&6
14843 if test yes = "$cross_compiling"; then :
14844 lt_cv_dlopen_self_static=cross
14846 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14847 lt_status=$lt_dlunknown
14848 cat > conftest.$ac_ext <<_LT_EOF
14849 #line $LINENO "configure"
14850 #include "confdefs.h"
14859 # define LT_DLGLOBAL RTLD_GLOBAL
14862 # define LT_DLGLOBAL DL_GLOBAL
14864 # define LT_DLGLOBAL 0
14868 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14869 find out it does not work in some platform. */
14870 #ifndef LT_DLLAZY_OR_NOW
14872 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14875 # define LT_DLLAZY_OR_NOW DL_LAZY
14878 # define LT_DLLAZY_OR_NOW RTLD_NOW
14881 # define LT_DLLAZY_OR_NOW DL_NOW
14883 # define LT_DLLAZY_OR_NOW 0
14890 /* When -fvisibility=hidden is used, assume the code has been annotated
14891 correspondingly for the symbols needed. */
14892 #if defined __GNUC__ && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14893 int fnord () __attribute__((visibility("default")));
14896 int fnord () { return 42; }
14899 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14900 int status = $lt_dlunknown;
14904 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14907 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14908 else puts (dlerror ());
14910 /* dlclose (self); */
14918 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14919 (eval $ac_link) 2>&5
14921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14922 test $ac_status = 0; } && test -s "conftest$ac_exeext" 2>/dev/null; then
14923 (./conftest; exit; ) >&5 2>/dev/null
14925 case x$lt_status in
14926 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14927 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14928 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14931 # compilation failed
14932 lt_cv_dlopen_self_static=no
14939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14940 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14943 CPPFLAGS=$save_CPPFLAGS
14944 LDFLAGS=$save_LDFLAGS
14949 case $lt_cv_dlopen_self in
14950 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14951 *) enable_dlopen_self=unknown ;;
14954 case $lt_cv_dlopen_self_static in
14955 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14956 *) enable_dlopen_self_static=unknown ;;
14978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14979 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14980 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14981 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14982 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14984 $as_echo "yes" >&6; }
14986 # FIXME - insert some real tests, host_os isn't really good enough
14989 if test -n "$STRIP"; then
14990 striplib="$STRIP -x"
14991 old_striplib="$STRIP -S"
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14993 $as_echo "yes" >&6; }
14995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14996 $as_echo "no" >&6; }
15000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15001 $as_echo "no" >&6; }
15017 # Report what library types will actually be built
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
15019 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
15020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
15021 $as_echo "$can_build_shared" >&6; }
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
15024 $as_echo_n "checking whether to build shared libraries... " >&6; }
15025 test no = "$can_build_shared" && enable_shared=no
15027 # On AIX, shared libraries and static libraries use the same namespace, and
15028 # are all built from PIC.
15031 test yes = "$enable_shared" && enable_static=no
15032 if test -n "$RANLIB"; then
15033 archive_cmds="$archive_cmds~\$RANLIB \$lib"
15034 postinstall_cmds='$RANLIB $lib'
15039 if test ia64 != "$host_cpu"; then
15040 case $enable_shared,$with_aix_soname,$aix_use_runtimelinking in
15041 yes,aix,yes) ;; # shared object as lib.so file only
15042 yes,svr4,*) ;; # shared object as lib.so archive member only
15043 yes,*) enable_static=no ;; # shared object in lib.a archive as well
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
15049 $as_echo "$enable_shared" >&6; }
15051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
15052 $as_echo_n "checking whether to build static libraries... " >&6; }
15053 # Make sure either enable_shared or enable_static is yes.
15054 test yes = "$enable_shared" || enable_static=yes
15055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
15056 $as_echo "$enable_static" >&6; }
15063 ac_cpp='$CPP $CPPFLAGS'
15064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15070 if test -n "$CXX" && ( test no != "$CXX" &&
15071 ( (test g++ = "$CXX" && `g++ -v >/dev/null 2>&1` ) ||
15072 (test g++ != "$CXX"))); then
15074 ac_cpp='$CXXCPP $CPPFLAGS'
15075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
15079 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
15080 if test -z "$CXXCPP"; then
15081 if ${ac_cv_prog_CXXCPP+:} false; then :
15082 $as_echo_n "(cached) " >&6
15084 # Double quotes because CXXCPP needs to be expanded
15085 for CXXCPP in "$CXX -E" "/lib/cpp"
15087 ac_preproc_ok=false
15088 for ac_cxx_preproc_warn_flag in '' yes
15090 # Use a header file that comes with gcc, so configuring glibc
15091 # with a fresh cross-compiler works.
15092 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15093 # <limits.h> exists even on freestanding compilers.
15094 # On the NeXT, cc -E runs the code through the compiler's parser,
15095 # not just through cpp. "Syntax error" is here to catch this case.
15096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15097 /* end confdefs.h. */
15099 # include <limits.h>
15101 # include <assert.h>
15105 if ac_fn_cxx_try_cpp "$LINENO"; then :
15108 # Broken: fails on valid input.
15111 rm -f conftest.err conftest.i conftest.$ac_ext
15113 # OK, works on sane cases. Now check whether nonexistent headers
15114 # can be detected and how.
15115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15116 /* end confdefs.h. */
15117 #include <ac_nonexistent.h>
15119 if ac_fn_cxx_try_cpp "$LINENO"; then :
15120 # Broken: success on invalid input.
15123 # Passes both tests.
15127 rm -f conftest.err conftest.i conftest.$ac_ext
15130 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15131 rm -f conftest.i conftest.err conftest.$ac_ext
15132 if $ac_preproc_ok; then :
15137 ac_cv_prog_CXXCPP=$CXXCPP
15140 CXXCPP=$ac_cv_prog_CXXCPP
15142 ac_cv_prog_CXXCPP=$CXXCPP
15144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
15145 $as_echo "$CXXCPP" >&6; }
15146 ac_preproc_ok=false
15147 for ac_cxx_preproc_warn_flag in '' yes
15149 # Use a header file that comes with gcc, so configuring glibc
15150 # with a fresh cross-compiler works.
15151 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15152 # <limits.h> exists even on freestanding compilers.
15153 # On the NeXT, cc -E runs the code through the compiler's parser,
15154 # not just through cpp. "Syntax error" is here to catch this case.
15155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15156 /* end confdefs.h. */
15158 # include <limits.h>
15160 # include <assert.h>
15164 if ac_fn_cxx_try_cpp "$LINENO"; then :
15167 # Broken: fails on valid input.
15170 rm -f conftest.err conftest.i conftest.$ac_ext
15172 # OK, works on sane cases. Now check whether nonexistent headers
15173 # can be detected and how.
15174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15175 /* end confdefs.h. */
15176 #include <ac_nonexistent.h>
15178 if ac_fn_cxx_try_cpp "$LINENO"; then :
15179 # Broken: success on invalid input.
15182 # Passes both tests.
15186 rm -f conftest.err conftest.i conftest.$ac_ext
15189 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15190 rm -f conftest.i conftest.err conftest.$ac_ext
15191 if $ac_preproc_ok; then :
15194 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15196 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
15197 See \`config.log' for more details" "$LINENO" 5; }
15201 ac_cpp='$CPP $CPPFLAGS'
15202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15207 _lt_caught_CXX_error=yes
15211 ac_cpp='$CXXCPP $CPPFLAGS'
15212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15216 archive_cmds_need_lc_CXX=no
15217 allow_undefined_flag_CXX=
15218 always_export_symbols_CXX=no
15219 archive_expsym_cmds_CXX=
15220 compiler_needs_object_CXX=no
15221 export_dynamic_flag_spec_CXX=
15222 hardcode_direct_CXX=no
15223 hardcode_direct_absolute_CXX=no
15224 hardcode_libdir_flag_spec_CXX=
15225 hardcode_libdir_separator_CXX=
15226 hardcode_minus_L_CXX=no
15227 hardcode_shlibpath_var_CXX=unsupported
15228 hardcode_automatic_CXX=no
15229 inherit_rpath_CXX=no
15231 module_expsym_cmds_CXX=
15232 link_all_deplibs_CXX=unknown
15233 old_archive_cmds_CXX=$old_archive_cmds
15234 reload_flag_CXX=$reload_flag
15235 reload_cmds_CXX=$reload_cmds
15236 no_undefined_flag_CXX=
15237 whole_archive_flag_spec_CXX=
15238 enable_shared_with_static_runtimes_CXX=no
15240 # Source file extension for C++ test sources.
15243 # Object file extension for compiled C++ test sources.
15247 # No sense in running all these tests if we already determined that
15248 # the CXX compiler isn't working. Some variables (like enable_shared)
15249 # are currently assumed to apply to all compilers on this platform,
15250 # and will be corrupted by setting them based on a non-working compiler.
15251 if test yes != "$_lt_caught_CXX_error"; then
15252 # Code to be used in simple compile tests
15253 lt_simple_compile_test_code="int some_variable = 0;"
15255 # Code to be used in simple link tests
15256 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
15258 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
15265 # If no C compiler was specified, use CC.
15268 # If no C compiler flags were specified, use CFLAGS.
15269 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
15271 # Allow CC to be a program name with arguments.
15275 # save warnings/boilerplate of simple test code
15276 ac_outfile=conftest.$ac_objext
15277 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
15278 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15279 _lt_compiler_boilerplate=`cat conftest.err`
15282 ac_outfile=conftest.$ac_objext
15283 echo "$lt_simple_link_test_code" >conftest.$ac_ext
15284 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
15285 _lt_linker_boilerplate=`cat conftest.err`
15289 # Allow CC to be a program name with arguments.
15291 lt_save_CFLAGS=$CFLAGS
15295 lt_save_with_gnu_ld=$with_gnu_ld
15296 lt_save_path_LD=$lt_cv_path_LD
15297 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
15298 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
15300 $as_unset lt_cv_prog_gnu_ld
15302 if test -n "${lt_cv_path_LDCXX+set}"; then
15303 lt_cv_path_LD=$lt_cv_path_LDCXX
15305 $as_unset lt_cv_path_LD
15307 test -z "${LDCXX+set}" || LD=$LDCXX
15312 func_cc_basename $compiler
15313 cc_basename=$func_cc_basename_result
15316 if test -n "$compiler"; then
15317 # We don't want -fno-exception when compiling C++ code, so set the
15318 # no_builtin_flag separately
15319 if test yes = "$GXX"; then
15320 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
15322 lt_prog_compiler_no_builtin_flag_CXX=
15325 if test yes = "$GXX"; then
15326 # Set up default GNU C++ configuration
15330 # Check whether --with-gnu-ld was given.
15331 if test "${with_gnu_ld+set}" = set; then :
15332 withval=$with_gnu_ld; test no = "$withval" || with_gnu_ld=yes
15338 if test yes = "$GCC"; then
15339 # Check if gcc -print-prog-name=ld gives a path.
15340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
15341 $as_echo_n "checking for ld used by $CC... " >&6; }
15344 # gcc leaves a trailing carriage return, which upsets mingw
15345 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
15347 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
15350 # Accept absolute paths.
15352 re_direlt='/[^/][^/]*/\.\./'
15353 # Canonicalize the pathname of ld
15354 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
15355 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
15356 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
15358 test -z "$LD" && LD=$ac_prog
15361 # If it fails, then pretend we aren't using GCC.
15365 # If it is relative, then search for the first ld in PATH.
15366 with_gnu_ld=unknown
15369 elif test yes = "$with_gnu_ld"; then
15370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
15371 $as_echo_n "checking for GNU ld... " >&6; }
15373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
15374 $as_echo_n "checking for non-GNU ld... " >&6; }
15376 if ${lt_cv_path_LD+:} false; then :
15377 $as_echo_n "(cached) " >&6
15379 if test -z "$LD"; then
15380 lt_save_ifs=$IFS; IFS=$PATH_SEPARATOR
15381 for ac_dir in $PATH; do
15383 test -z "$ac_dir" && ac_dir=.
15384 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
15385 lt_cv_path_LD=$ac_dir/$ac_prog
15386 # Check to see if the program is GNU ld. I'd rather use --version,
15387 # but apparently some variants of GNU ld only accept -v.
15388 # Break only if it was the GNU/non-GNU ld that we prefer.
15389 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
15390 *GNU* | *'with BFD'*)
15391 test no != "$with_gnu_ld" && break
15394 test yes != "$with_gnu_ld" && break
15401 lt_cv_path_LD=$LD # Let the user override the test with a path.
15406 if test -n "$LD"; then
15407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
15408 $as_echo "$LD" >&6; }
15410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
15411 $as_echo "no" >&6; }
15413 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
15414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
15415 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
15416 if ${lt_cv_prog_gnu_ld+:} false; then :
15417 $as_echo_n "(cached) " >&6
15419 # I'd rather use --version here, but apparently some GNU lds only accept -v.
15420 case `$LD -v 2>&1 </dev/null` in
15421 *GNU* | *'with BFD'*)
15422 lt_cv_prog_gnu_ld=yes
15425 lt_cv_prog_gnu_ld=no
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
15430 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
15431 with_gnu_ld=$lt_cv_prog_gnu_ld
15439 # Check if GNU C++ uses GNU ld as the underlying linker, since the
15440 # archiving commands below assume that GNU ld is being used.
15441 if test yes = "$with_gnu_ld"; then
15442 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
15443 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'
15445 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
15446 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
15448 # If archive_cmds runs LD, not CC, wlarc should be empty
15449 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
15450 # investigate it a little bit more. (MM)
15453 # ancient GNU ld didn't support --whole-archive et. al.
15454 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
15455 $GREP 'no-whole-archive' > /dev/null; then
15456 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
15458 whole_archive_flag_spec_CXX=
15464 # A generic and very simple default shared library creation
15465 # command for GNU C++ for the case where it uses the native
15466 # linker, instead of GNU ld. If possible, this setting should
15467 # overridden to take advantage of the native linker features on
15468 # the platform it is being used on.
15469 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15472 # Commands to make compiler produce verbose output that lists
15473 # what "hidden" libraries, object files and flags are used when
15474 # linking a shared library.
15475 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15483 # PORTME: fill in a description of your system's C++ link characteristics
15484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
15485 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
15489 # FIXME: insert proper C++ library support
15493 if test ia64 = "$host_cpu"; then
15494 # On IA64, the linker does run time linking by default, so we don't
15495 # have to do anything special.
15496 aix_use_runtimelinking=no
15497 exp_sym_flag='-Bexport'
15500 aix_use_runtimelinking=no
15502 # Test if we are trying to use run time linking or normal
15503 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
15504 # have runtime linking enabled, and use it for executables.
15505 # For shared libraries, we enable/disable runtime linking
15506 # depending on the kind of the shared library created -
15507 # when "with_aix_soname,aix_use_runtimelinking" is:
15508 # "aix,no" lib.a(lib.so.V) shared, rtl:no, for executables
15509 # "aix,yes" lib.so shared, rtl:yes, for executables
15510 # lib.a static archive
15511 # "both,no" lib.so.V(shr.o) shared, rtl:yes
15512 # lib.a(lib.so.V) shared, rtl:no, for executables
15513 # "both,yes" lib.so.V(shr.o) shared, rtl:yes, for executables
15514 # lib.a(lib.so.V) shared, rtl:no
15515 # "svr4,*" lib.so.V(shr.o) shared, rtl:yes, for executables
15516 # lib.a static archive
15517 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
15518 for ld_flag in $LDFLAGS; do
15521 aix_use_runtimelinking=yes
15526 if test svr4,no = "$with_aix_soname,$aix_use_runtimelinking"; then
15527 # With aix-soname=svr4, we create the lib.so.V shared archives only,
15528 # so we don't have lib.a shared libs to link our executables.
15529 # We have to force runtime linking in this case.
15530 aix_use_runtimelinking=yes
15531 LDFLAGS="$LDFLAGS -Wl,-brtl"
15536 exp_sym_flag='-bexport'
15537 no_entry_flag='-bnoentry'
15540 # When large executables or shared objects are built, AIX ld can
15541 # have problems creating the table of contents. If linking a library
15542 # or program results in "error TOC overflow" add -mminimal-toc to
15543 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
15544 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
15546 archive_cmds_CXX=''
15547 hardcode_direct_CXX=yes
15548 hardcode_direct_absolute_CXX=yes
15549 hardcode_libdir_separator_CXX=':'
15550 link_all_deplibs_CXX=yes
15551 file_list_spec_CXX='$wl-f,'
15552 case $with_aix_soname,$aix_use_runtimelinking in
15553 aix,*) ;; # no import file
15554 svr4,* | *,yes) # use import file
15555 # The Import File defines what to hardcode.
15556 hardcode_direct_CXX=no
15557 hardcode_direct_absolute_CXX=no
15561 if test yes = "$GXX"; then
15562 case $host_os in aix4.[012]|aix4.[012].*)
15563 # We only want to do this on AIX 4.2 and lower, the check
15564 # below for broken collect2 doesn't work under 4.3+
15565 collect2name=`$CC -print-prog-name=collect2`
15566 if test -f "$collect2name" &&
15567 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
15569 # We have reworked collect2
15572 # We have old collect2
15573 hardcode_direct_CXX=unsupported
15574 # It fails to find uninstalled libraries when the uninstalled
15575 # path is not listed in the libpath. Setting hardcode_minus_L
15576 # to unsupported forces relinking
15577 hardcode_minus_L_CXX=yes
15578 hardcode_libdir_flag_spec_CXX='-L$libdir'
15579 hardcode_libdir_separator_CXX=
15582 shared_flag='-shared'
15583 if test yes = "$aix_use_runtimelinking"; then
15584 shared_flag=$shared_flag' $wl-G'
15586 # Need to ensure runtime linking is disabled for the traditional
15587 # shared library, or the linker may eventually find shared libraries
15588 # /with/ Import File - we do not want to mix them.
15589 shared_flag_aix='-shared'
15590 shared_flag_svr4='-shared $wl-G'
15593 if test ia64 = "$host_cpu"; then
15594 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
15595 # chokes on -Wl,-G. The following line is correct:
15598 if test yes = "$aix_use_runtimelinking"; then
15599 shared_flag='$wl-G'
15601 shared_flag='$wl-bM:SRE'
15603 shared_flag_aix='$wl-bM:SRE'
15604 shared_flag_svr4='$wl-G'
15608 export_dynamic_flag_spec_CXX='$wl-bexpall'
15609 # It seems that -bexpall does not export symbols beginning with
15610 # underscore (_), so it is better to generate a list of symbols to
15612 always_export_symbols_CXX=yes
15613 if test aix,yes = "$with_aix_soname,$aix_use_runtimelinking"; then
15614 # Warning - without using the other runtime loading flags (-brtl),
15615 # -berok will link without error, but may produce a broken library.
15616 # The "-G" linker flag allows undefined symbols.
15617 no_undefined_flag_CXX='-bernotok'
15618 # Determine the default libpath from the value encoded in an empty
15620 if test set = "${lt_cv_aix_libpath+set}"; then
15621 aix_libpath=$lt_cv_aix_libpath
15623 if ${lt_cv_aix_libpath__CXX+:} false; then :
15624 $as_echo_n "(cached) " >&6
15626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15627 /* end confdefs.h. */
15637 if ac_fn_cxx_try_link "$LINENO"; then :
15639 lt_aix_libpath_sed='
15640 /Import File Strings/,/^$/ {
15642 s/^0 *\([^ ]*\) *$/\1/
15646 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15647 # Check for a 64-bit object if we didn't find anything.
15648 if test -z "$lt_cv_aix_libpath__CXX"; then
15649 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15652 rm -f core conftest.err conftest.$ac_objext \
15653 conftest$ac_exeext conftest.$ac_ext
15654 if test -z "$lt_cv_aix_libpath__CXX"; then
15655 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15660 aix_libpath=$lt_cv_aix_libpath__CXX
15663 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15665 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
15667 if test ia64 = "$host_cpu"; then
15668 hardcode_libdir_flag_spec_CXX='$wl-R $libdir:/usr/lib:/lib'
15669 allow_undefined_flag_CXX="-z nodefs"
15670 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"
15672 # Determine the default libpath from the value encoded in an
15673 # empty executable.
15674 if test set = "${lt_cv_aix_libpath+set}"; then
15675 aix_libpath=$lt_cv_aix_libpath
15677 if ${lt_cv_aix_libpath__CXX+:} false; then :
15678 $as_echo_n "(cached) " >&6
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15691 if ac_fn_cxx_try_link "$LINENO"; then :
15693 lt_aix_libpath_sed='
15694 /Import File Strings/,/^$/ {
15696 s/^0 *\([^ ]*\) *$/\1/
15700 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15701 # Check for a 64-bit object if we didn't find anything.
15702 if test -z "$lt_cv_aix_libpath__CXX"; then
15703 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15706 rm -f core conftest.err conftest.$ac_objext \
15707 conftest$ac_exeext conftest.$ac_ext
15708 if test -z "$lt_cv_aix_libpath__CXX"; then
15709 lt_cv_aix_libpath__CXX=/usr/lib:/lib
15714 aix_libpath=$lt_cv_aix_libpath__CXX
15717 hardcode_libdir_flag_spec_CXX='$wl-blibpath:$libdir:'"$aix_libpath"
15718 # Warning - without using the other run time loading flags,
15719 # -berok will link without error, but may produce a broken library.
15720 no_undefined_flag_CXX=' $wl-bernotok'
15721 allow_undefined_flag_CXX=' $wl-berok'
15722 if test yes = "$with_gnu_ld"; then
15723 # We only use this code for GNU lds that support --whole-archive.
15724 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
15726 # Exported symbols can be pulled into shared objects from archives
15727 whole_archive_flag_spec_CXX='$convenience'
15729 archive_cmds_need_lc_CXX=yes
15730 archive_expsym_cmds_CXX='$RM -r $output_objdir/$realname.d~$MKDIR $output_objdir/$realname.d'
15731 # -brtl affects multiple linker settings, -berok does not and is overridden later
15732 compiler_flags_filtered='`func_echo_all "$compiler_flags " | $SED -e "s%-brtl\\([, ]\\)%-berok\\1%g"`'
15733 if test svr4 != "$with_aix_soname"; then
15734 # This is similar to how AIX traditionally builds its shared
15735 # libraries. Need -bnortl late, we may have -brtl in LDFLAGS.
15736 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'
15738 if test aix != "$with_aix_soname"; then
15739 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'
15741 # used by -dlpreopen to get the symbols
15742 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$MV $output_objdir/$realname.d/$soname $output_objdir'
15744 archive_expsym_cmds_CXX="$archive_expsym_cmds_CXX"'~$RM -r $output_objdir/$realname.d'
15750 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15751 allow_undefined_flag_CXX=unsupported
15752 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15753 # support --undefined. This deserves some investigation. FIXME
15754 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15761 case $cc_basename in
15763 # FIXME: insert proper C++ library support
15769 cygwin* | mingw* | pw32* | cegcc*)
15770 case $GXX,$cc_basename in
15773 # hardcode_libdir_flag_spec is actually meaningless, as there is
15774 # no search path for DLLs.
15775 hardcode_libdir_flag_spec_CXX=' '
15776 allow_undefined_flag_CXX=unsupported
15777 always_export_symbols_CXX=yes
15778 file_list_spec_CXX='@'
15779 # Tell ltmain to make .lib files, not .a files.
15781 # Tell ltmain to make .dll files, not .so files.
15783 # FIXME: Setting linknames here is a bad hack.
15784 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~linknames='
15785 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15786 cp "$export_symbols" "$output_objdir/$soname.def";
15787 echo "$tool_output_objdir$soname.def" > "$output_objdir/$soname.exp";
15789 $SED -e '\''s/^/-link -EXPORT:/'\'' < $export_symbols > $output_objdir/$soname.exp;
15791 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15793 # The linker will not automatically build a static lib if we build a DLL.
15794 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15795 enable_shared_with_static_runtimes_CXX=yes
15797 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15798 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15799 lt_tool_outputfile="@TOOL_OUTPUT@"~
15800 case $lt_outputfile in
15803 lt_outputfile=$lt_outputfile.exe
15804 lt_tool_outputfile=$lt_tool_outputfile.exe
15807 func_to_tool_file "$lt_outputfile"~
15808 if test : != "$MANIFEST_TOOL" && test -f "$lt_outputfile.manifest"; then
15809 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15810 $RM "$lt_outputfile.manifest";
15815 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15816 # as there is no search path for DLLs.
15817 hardcode_libdir_flag_spec_CXX='-L$libdir'
15818 export_dynamic_flag_spec_CXX='$wl--export-all-symbols'
15819 allow_undefined_flag_CXX=unsupported
15820 always_export_symbols_CXX=no
15821 enable_shared_with_static_runtimes_CXX=yes
15823 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15824 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'
15825 # If the export-symbols file already is a .def file, use it as
15826 # is; otherwise, prepend EXPORTS...
15827 archive_expsym_cmds_CXX='if test DEF = "`$SED -n -e '\''s/^[ ]*//'\'' -e '\''/^\(;.*\)*$/d'\'' -e '\''s/^\(EXPORTS\|LIBRARY\)\([ ].*\)*$/DEF/p'\'' -e q $export_symbols`" ; then
15828 cp $export_symbols $output_objdir/$soname.def;
15830 echo EXPORTS > $output_objdir/$soname.def;
15831 cat $export_symbols >> $output_objdir/$soname.def;
15833 $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'
15840 darwin* | rhapsody*)
15843 archive_cmds_need_lc_CXX=no
15844 hardcode_direct_CXX=no
15845 hardcode_automatic_CXX=yes
15846 hardcode_shlibpath_var_CXX=unsupported
15847 if test yes = "$lt_cv_ld_force_load"; then
15848 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\"`'
15851 whole_archive_flag_spec_CXX=''
15853 link_all_deplibs_CXX=yes
15854 allow_undefined_flag_CXX=$_lt_dar_allow_undefined
15855 case $cc_basename in
15856 ifort*|nagfor*) _lt_dar_can_shared=yes ;;
15857 *) _lt_dar_can_shared=$GCC ;;
15859 if test yes = "$_lt_dar_can_shared"; then
15860 output_verbose_link_cmd=func_echo_all
15861 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"
15862 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags$_lt_dsymutil"
15863 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"
15864 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"
15865 if test yes != "$lt_cv_apple_cc_single_mod"; then
15866 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"
15867 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"
15877 hardcode_libdir_flag_spec_CXX='-L$libdir'
15878 hardcode_minus_L_CXX=yes
15879 allow_undefined_flag_CXX=unsupported
15881 archive_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15882 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15883 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15884 $ECHO EXPORTS >> $output_objdir/$libname.def~
15885 emxexp $libobjs | $SED /"_DLL_InitTerm"/d >> $output_objdir/$libname.def~
15886 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15887 emximp -o $lib $output_objdir/$libname.def'
15888 archive_expsym_cmds_CXX='$ECHO "LIBRARY ${soname%$shared_ext} INITINSTANCE TERMINSTANCE" > $output_objdir/$libname.def~
15889 $ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~
15890 $ECHO "DATA MULTIPLE NONSHARED" >> $output_objdir/$libname.def~
15891 $ECHO EXPORTS >> $output_objdir/$libname.def~
15892 prefix_cmds="$SED"~
15893 if test EXPORTS = "`$SED 1q $export_symbols`"; then
15894 prefix_cmds="$prefix_cmds -e 1d";
15896 prefix_cmds="$prefix_cmds -e \"s/^\(.*\)$/_\1/g\""~
15897 cat $export_symbols | $prefix_cmds >> $output_objdir/$libname.def~
15898 $CC -Zdll -Zcrtdll -o $output_objdir/$soname $libobjs $deplibs $compiler_flags $output_objdir/$libname.def~
15899 emximp -o $lib $output_objdir/$libname.def'
15900 old_archive_From_new_cmds_CXX='emximp -o $output_objdir/${libname}_dll.a $output_objdir/$libname.def'
15901 enable_shared_with_static_runtimes_CXX=yes
15905 case $cc_basename in
15907 # FIXME: insert proper C++ library support
15911 # Green Hills C++ Compiler
15912 # FIXME: insert proper C++ library support
15916 # FIXME: insert proper C++ library support
15923 # C++ shared libraries reported to be fairly broken before
15929 archive_cmds_need_lc_CXX=no
15932 freebsd* | dragonfly*)
15933 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15939 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
15940 link_all_deplibs_CXX=yes
15944 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15945 hardcode_libdir_separator_CXX=:
15946 export_dynamic_flag_spec_CXX='$wl-E'
15947 hardcode_direct_CXX=yes
15948 hardcode_minus_L_CXX=yes # Not in the search PATH,
15949 # but as the default
15950 # location of the library.
15952 case $cc_basename in
15954 # FIXME: insert proper C++ library support
15958 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'
15959 # Commands to make compiler produce verbose output that lists
15960 # what "hidden" libraries, object files and flags are used when
15961 # linking a shared library.
15963 # There doesn't appear to be a way to prevent this compiler from
15964 # explicitly linking system object files so we need to strip them
15965 # from the output so that they don't get included in the library
15967 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"'
15970 if test yes = "$GXX"; then
15971 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'
15973 # FIXME: insert proper C++ library support
15981 if test no = "$with_gnu_ld"; then
15982 hardcode_libdir_flag_spec_CXX='$wl+b $wl$libdir'
15983 hardcode_libdir_separator_CXX=:
15989 export_dynamic_flag_spec_CXX='$wl-E'
15995 hardcode_direct_CXX=no
15996 hardcode_shlibpath_var_CXX=no
15999 hardcode_direct_CXX=yes
16000 hardcode_direct_absolute_CXX=yes
16001 hardcode_minus_L_CXX=yes # Not in the search PATH,
16002 # but as the default
16003 # location of the library.
16007 case $cc_basename in
16009 # FIXME: insert proper C++ library support
16015 archive_cmds_CXX='$CC -b $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16018 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16021 archive_cmds_CXX='$CC -b $wl+h $wl$soname $wl+b $wl$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16024 # Commands to make compiler produce verbose output that lists
16025 # what "hidden" libraries, object files and flags are used when
16026 # linking a shared library.
16028 # There doesn't appear to be a way to prevent this compiler from
16029 # explicitly linking system object files so we need to strip them
16030 # from the output so that they don't get included in the library
16032 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"'
16035 if test yes = "$GXX"; then
16036 if test no = "$with_gnu_ld"; then
16039 archive_cmds_CXX='$CC -shared -nostdlib -fPIC $wl+h $wl$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16042 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag $wl+h $wl$soname $wl+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16045 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'
16050 # FIXME: insert proper C++ library support
16058 hardcode_direct_CXX=no
16059 hardcode_shlibpath_var_CXX=no
16060 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16061 export_dynamic_flag_spec_CXX='$wl-E'
16062 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
16063 # Instead, shared libraries are loaded at an image base (0x10000000 by
16064 # default) and relocated if they conflict, which is a slow very memory
16065 # consuming and fragmenting process. To avoid this, we pick a random,
16066 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
16067 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
16068 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'
16069 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'
16072 case $cc_basename in
16075 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'
16077 # Archives containing C++ object files must be created using
16078 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
16079 # necessary to make sure instantiated templates are included
16081 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
16084 if test yes = "$GXX"; then
16085 if test no = "$with_gnu_ld"; then
16086 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'
16088 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'
16091 link_all_deplibs_CXX=yes
16094 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16095 hardcode_libdir_separator_CXX=:
16096 inherit_rpath_CXX=yes
16099 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16100 case $cc_basename in
16102 # Kuck and Associates, Inc. (KAI) C++ Compiler
16104 # KCC will only create a shared library if the output file
16105 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16106 # to its proper name (with version) after linking.
16107 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'
16108 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'
16109 # Commands to make compiler produce verbose output that lists
16110 # what "hidden" libraries, object files and flags are used when
16111 # linking a shared library.
16113 # There doesn't appear to be a way to prevent this compiler from
16114 # explicitly linking system object files so we need to strip them
16115 # from the output so that they don't get included in the library
16117 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"'
16119 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16120 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16122 # Archives containing C++ object files must be created using
16123 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
16124 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
16129 # version 8.0 and above of icpc choke on multiply defined symbols
16130 # if we add $predep_objects and $postdep_objects, however 7.1 and
16131 # earlier do not add the objects themselves.
16132 case `$CC -V 2>&1` in
16134 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16135 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'
16137 *) # Version 8.0 or newer
16140 ia64*) tmp_idyn=' -i_dynamic';;
16142 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16143 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'
16146 archive_cmds_need_lc_CXX=no
16147 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16148 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16149 whole_archive_flag_spec_CXX='$wl--whole-archive$convenience $wl--no-whole-archive'
16152 # Portland Group C++ compiler
16154 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
16155 prelink_cmds_CXX='tpldir=Template.dir~
16157 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
16158 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
16159 old_archive_cmds_CXX='tpldir=Template.dir~
16161 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
16162 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
16164 archive_cmds_CXX='tpldir=Template.dir~
16166 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16167 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16168 archive_expsym_cmds_CXX='tpldir=Template.dir~
16170 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
16171 $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'
16173 *) # Version 6 and above use weak symbols
16174 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16175 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'
16179 hardcode_libdir_flag_spec_CXX='$wl--rpath $wl$libdir'
16180 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16181 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'
16185 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-soname $wl$soname -o $lib'
16186 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'
16188 runpath_var=LD_RUN_PATH
16189 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16190 hardcode_libdir_separator_CXX=:
16192 # Commands to make compiler produce verbose output that lists
16193 # what "hidden" libraries, object files and flags are used when
16194 # linking a shared library.
16196 # There doesn't appear to be a way to prevent this compiler from
16197 # explicitly linking system object files so we need to strip them
16198 # from the output so that they don't get included in the library
16200 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'
16202 xl* | mpixl* | bgxl*)
16203 # IBM XL 8.0 on PPC, with GNU ld
16204 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16205 export_dynamic_flag_spec_CXX='$wl--export-dynamic'
16206 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname -o $lib'
16207 if test yes = "$supports_anon_versioning"; then
16208 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
16209 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
16210 echo "local: *; };" >> $output_objdir/$libname.ver~
16211 $CC -qmkshrobj $libobjs $deplibs $compiler_flags $wl-soname $wl$soname $wl-version-script $wl$output_objdir/$libname.ver -o $lib'
16215 case `$CC -V 2>&1 | sed 5q` in
16218 no_undefined_flag_CXX=' -zdefs'
16219 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16220 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'
16221 hardcode_libdir_flag_spec_CXX='-R$libdir'
16222 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'
16223 compiler_needs_object_CXX=yes
16225 # Not sure whether something based on
16226 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
16228 output_verbose_link_cmd='func_echo_all'
16230 # Archives containing C++ object files must be created using
16231 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16232 # necessary to make sure instantiated templates are included
16234 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16242 # FIXME: insert proper C++ library support
16247 # FIXME: insert proper C++ library support
16252 case $cc_basename in
16254 # FIXME: insert proper C++ library support
16258 # FIXME: insert proper C++ library support
16265 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
16266 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
16268 hardcode_libdir_flag_spec_CXX='-R$libdir'
16269 hardcode_direct_CXX=yes
16270 hardcode_shlibpath_var_CXX=no
16272 # Workaround some broken pre-1.5 toolchains
16273 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
16280 openbsd* | bitrig*)
16281 if test -f /usr/libexec/ld.so; then
16282 hardcode_direct_CXX=yes
16283 hardcode_shlibpath_var_CXX=no
16284 hardcode_direct_absolute_CXX=yes
16285 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
16286 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16287 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`"; then
16288 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-retain-symbols-file,$export_symbols -o $lib'
16289 export_dynamic_flag_spec_CXX='$wl-E'
16290 whole_archive_flag_spec_CXX=$wlarc'--whole-archive$convenience '$wlarc'--no-whole-archive'
16292 output_verbose_link_cmd=func_echo_all
16298 osf3* | osf4* | osf5*)
16299 case $cc_basename in
16301 # Kuck and Associates, Inc. (KAI) C++ Compiler
16303 # KCC will only create a shared library if the output file
16304 # ends with ".so" (or ".sl" for HP-UX), so rename the library
16305 # to its proper name (with version) after linking.
16306 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'
16308 hardcode_libdir_flag_spec_CXX='$wl-rpath,$libdir'
16309 hardcode_libdir_separator_CXX=:
16311 # Archives containing C++ object files must be created using
16312 # the KAI C++ compiler.
16314 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
16315 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
16319 # Rational C++ 2.4.1
16320 # FIXME: insert proper C++ library support
16326 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16327 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'
16328 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16331 allow_undefined_flag_CXX=' -expect_unresolved \*'
16332 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'
16333 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
16334 echo "-hidden">> $lib.exp~
16335 $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~
16337 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
16341 hardcode_libdir_separator_CXX=:
16343 # Commands to make compiler produce verbose output that lists
16344 # what "hidden" libraries, object files and flags are used when
16345 # linking a shared library.
16347 # There doesn't appear to be a way to prevent this compiler from
16348 # explicitly linking system object files so we need to strip them
16349 # from the output so that they don't get included in the library
16351 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"'
16354 if test yes,no = "$GXX,$with_gnu_ld"; then
16355 allow_undefined_flag_CXX=' $wl-expect_unresolved $wl\*'
16358 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'
16361 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'
16365 hardcode_libdir_flag_spec_CXX='$wl-rpath $wl$libdir'
16366 hardcode_libdir_separator_CXX=:
16368 # Commands to make compiler produce verbose output that lists
16369 # what "hidden" libraries, object files and flags are used when
16370 # linking a shared library.
16371 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16374 # FIXME: insert proper C++ library support
16382 # FIXME: insert proper C++ library support
16387 case $cc_basename in
16390 # FIXME: insert proper C++ library support
16395 # FIXME: insert proper C++ library support
16399 # FIXME: insert proper C++ library support
16406 case $cc_basename in
16408 # Sun C++ 4.2, 5.x and Centerline C++
16409 archive_cmds_need_lc_CXX=yes
16410 no_undefined_flag_CXX=' -zdefs'
16411 archive_cmds_CXX='$CC -G$allow_undefined_flag -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
16412 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16413 $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'
16415 hardcode_libdir_flag_spec_CXX='-R$libdir'
16416 hardcode_shlibpath_var_CXX=no
16418 solaris2.[0-5] | solaris2.[0-5].*) ;;
16420 # The compiler driver will combine and reorder linker options,
16421 # but understands '-z linker_flag'.
16422 # Supported since Solaris 2.6 (maybe 2.5.1?)
16423 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
16426 link_all_deplibs_CXX=yes
16428 output_verbose_link_cmd='func_echo_all'
16430 # Archives containing C++ object files must be created using
16431 # "CC -xar", where "CC" is the Sun C++ compiler. This is
16432 # necessary to make sure instantiated templates are included
16434 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
16437 # Green Hills C++ Compiler
16438 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16440 # The C++ compiler must be used to create the archive.
16441 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
16444 # GNU C++ compiler with Solaris linker
16445 if test yes,no = "$GXX,$with_gnu_ld"; then
16446 no_undefined_flag_CXX=' $wl-z ${wl}defs'
16447 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
16448 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16449 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16450 $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'
16452 # Commands to make compiler produce verbose output that lists
16453 # what "hidden" libraries, object files and flags are used when
16454 # linking a shared library.
16455 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16457 # g++ 2.7 appears to require '-G' NOT '-shared' on this
16459 archive_cmds_CXX='$CC -G -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags $wl-h $wl$soname -o $lib'
16460 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
16461 $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'
16463 # Commands to make compiler produce verbose output that lists
16464 # what "hidden" libraries, object files and flags are used when
16465 # linking a shared library.
16466 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
16469 hardcode_libdir_flag_spec_CXX='$wl-R $wl$libdir'
16471 solaris2.[0-5] | solaris2.[0-5].*) ;;
16473 whole_archive_flag_spec_CXX='$wl-z ${wl}allextract$convenience $wl-z ${wl}defaultextract'
16481 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
16482 no_undefined_flag_CXX='$wl-z,text'
16483 archive_cmds_need_lc_CXX=no
16484 hardcode_shlibpath_var_CXX=no
16485 runpath_var='LD_RUN_PATH'
16487 case $cc_basename in
16489 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16490 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16493 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16494 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16499 sysv5* | sco3.2v5* | sco5v6*)
16500 # Note: We CANNOT use -z defs as we might desire, because we do not
16501 # link with -lc, and that would cause any symbols used from libc to
16502 # always be unresolved, which means just about no library would
16503 # ever link correctly. If we're not using GNU ld we use -z text
16504 # though, which does catch some bad symbols but isn't as heavy-handed
16506 no_undefined_flag_CXX='$wl-z,text'
16507 allow_undefined_flag_CXX='$wl-z,nodefs'
16508 archive_cmds_need_lc_CXX=no
16509 hardcode_shlibpath_var_CXX=no
16510 hardcode_libdir_flag_spec_CXX='$wl-R,$libdir'
16511 hardcode_libdir_separator_CXX=':'
16512 link_all_deplibs_CXX=yes
16513 export_dynamic_flag_spec_CXX='$wl-Bexport'
16514 runpath_var='LD_RUN_PATH'
16516 case $cc_basename in
16518 archive_cmds_CXX='$CC -G $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16519 archive_expsym_cmds_CXX='$CC -G $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16520 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
16521 '"$old_archive_cmds_CXX"
16522 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
16523 '"$reload_cmds_CXX"
16526 archive_cmds_CXX='$CC -shared $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16527 archive_expsym_cmds_CXX='$CC -shared $wl-Bexport:$export_symbols $wl-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
16533 case $cc_basename in
16535 # NonStop-UX NCC 3.20
16536 # FIXME: insert proper C++ library support
16540 # FIXME: insert proper C++ library support
16547 # FIXME: insert proper C++ library support
16552 # FIXME: insert proper C++ library support
16557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16558 $as_echo "$ld_shlibs_CXX" >&6; }
16559 test no = "$ld_shlibs_CXX" && can_build_shared=no
16565 ## There is no encapsulation within the following macros, do not change
16566 ## the running order or otherwise move them around unless you know exactly
16567 ## what you are doing...
16568 # Dependencies to place before and after the object being linked:
16569 predep_objects_CXX=
16570 postdep_objects_CXX=
16573 compiler_lib_search_path_CXX=
16575 cat > conftest.$ac_ext <<_LT_EOF
16579 Foo (void) { a = 0; }
16586 _lt_libdeps_save_CFLAGS=$CFLAGS
16587 case "$CC $CFLAGS " in #(
16588 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
16589 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
16590 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
16593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16594 (eval $ac_compile) 2>&5
16596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16597 test $ac_status = 0; }; then
16598 # Parse the compiler output and extract the necessary
16599 # objects, libraries and library flags.
16601 # Sentinel used to keep track of whether or not we are before
16602 # the conftest object file.
16603 pre_test_object_deps_done=no
16605 for p in `eval "$output_verbose_link_cmd"`; do
16609 # Some compilers place space between "-{L,R}" and the path.
16610 # Remove the space.
16611 if test x-L = "$p" ||
16612 test x-R = "$p"; then
16617 # Expand the sysroot to ease extracting the directories later.
16618 if test -z "$prev"; then
16620 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
16621 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
16622 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
16626 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
16628 if test no = "$pre_test_object_deps_done"; then
16631 # Internal compiler library paths should come after those
16632 # provided the user. The postdeps already come after the
16633 # user supplied libs so there is no need to process them.
16634 if test -z "$compiler_lib_search_path_CXX"; then
16635 compiler_lib_search_path_CXX=$prev$p
16637 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} $prev$p"
16640 # The "-l" case would never come before the object being
16641 # linked, so don't bother handling this case.
16644 if test -z "$postdeps_CXX"; then
16645 postdeps_CXX=$prev$p
16647 postdeps_CXX="${postdeps_CXX} $prev$p"
16653 *.lto.$objext) ;; # Ignore GCC LTO objects
16655 # This assumes that the test object file only shows up
16656 # once in the compiler output.
16657 if test "$p" = "conftest.$objext"; then
16658 pre_test_object_deps_done=yes
16662 if test no = "$pre_test_object_deps_done"; then
16663 if test -z "$predep_objects_CXX"; then
16664 predep_objects_CXX=$p
16666 predep_objects_CXX="$predep_objects_CXX $p"
16669 if test -z "$postdep_objects_CXX"; then
16670 postdep_objects_CXX=$p
16672 postdep_objects_CXX="$postdep_objects_CXX $p"
16677 *) ;; # Ignore the rest.
16685 echo "libtool.m4: error: problem compiling CXX test program"
16688 $RM -f confest.$objext
16689 CFLAGS=$_lt_libdeps_save_CFLAGS
16691 # PORTME: override above test on systems where it is broken
16694 # Interix 3.5 installs completely hosed .la files for C++, so rather than
16695 # hack all around it, let's just trust "g++" to DTRT.
16696 predep_objects_CXX=
16697 postdep_objects_CXX=
16703 case " $postdeps_CXX " in
16704 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16706 compiler_lib_search_dirs_CXX=
16707 if test -n "${compiler_lib_search_path_CXX}"; then
16708 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | $SED -e 's! -L! !g' -e 's!^ !!'`
16741 lt_prog_compiler_wl_CXX=
16742 lt_prog_compiler_pic_CXX=
16743 lt_prog_compiler_static_CXX=
16746 # C++ specific cases for pic, static, wl, etc.
16747 if test yes = "$GXX"; then
16748 lt_prog_compiler_wl_CXX='-Wl,'
16749 lt_prog_compiler_static_CXX='-static'
16753 # All AIX code is PIC.
16754 if test ia64 = "$host_cpu"; then
16755 # AIX 5 now supports IA64 processor
16756 lt_prog_compiler_static_CXX='-Bstatic'
16758 lt_prog_compiler_pic_CXX='-fPIC'
16764 # see comment about AmigaOS4 .so support
16765 lt_prog_compiler_pic_CXX='-fPIC'
16768 # FIXME: we need at least 68020 code to build shared libraries, but
16769 # adding the '-m68020' flag to GCC prevents building anything better,
16771 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16776 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16777 # PIC is the default for these OSes.
16779 mingw* | cygwin* | os2* | pw32* | cegcc*)
16780 # This hack is so that the source file can tell whether it is being
16781 # built for inclusion in a dll (and should export symbols for example).
16782 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16783 # (--disable-auto-import) libraries
16784 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16787 lt_prog_compiler_static_CXX='$wl-static'
16791 darwin* | rhapsody*)
16792 # PIC is the default on this platform
16793 # Common symbols not allowed in MH_DYLIB files
16794 lt_prog_compiler_pic_CXX='-fno-common'
16797 # DJGPP does not support shared libraries at all
16798 lt_prog_compiler_pic_CXX=
16801 # PIC is the default for Haiku.
16802 # The "-static" flag exists, but is broken.
16803 lt_prog_compiler_static_CXX=
16806 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16807 # Instead, we relocate shared libraries at runtime.
16810 if test -d /usr/nec; then
16811 lt_prog_compiler_pic_CXX=-Kconform_pic
16815 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16816 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16817 # sets the default TLS model and affects inlining.
16822 lt_prog_compiler_pic_CXX='-fPIC'
16827 # QNX uses GNU C++, but need to define -shared option too, otherwise
16828 # it will coredump.
16829 lt_prog_compiler_pic_CXX='-fPIC -shared'
16832 lt_prog_compiler_pic_CXX='-fPIC'
16838 # All AIX code is PIC.
16839 if test ia64 = "$host_cpu"; then
16840 # AIX 5 now supports IA64 processor
16841 lt_prog_compiler_static_CXX='-Bstatic'
16843 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16847 case $cc_basename in
16849 # Green Hills C++ Compiler
16850 # _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"
16854 mingw* | cygwin* | os2* | pw32* | cegcc*)
16855 # This hack is so that the source file can tell whether it is being
16856 # built for inclusion in a dll (and should export symbols for example).
16857 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16860 case $cc_basename in
16862 lt_prog_compiler_pic_CXX='-KPIC'
16865 # Green Hills C++ Compiler
16866 lt_prog_compiler_pic_CXX='-pic'
16872 freebsd* | dragonfly*)
16873 # FreeBSD uses GNU C++
16875 hpux9* | hpux10* | hpux11*)
16876 case $cc_basename in
16878 lt_prog_compiler_wl_CXX='-Wl,'
16879 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16880 if test ia64 != "$host_cpu"; then
16881 lt_prog_compiler_pic_CXX='+Z'
16885 lt_prog_compiler_wl_CXX='-Wl,'
16886 lt_prog_compiler_static_CXX='$wl-a ${wl}archive'
16892 lt_prog_compiler_pic_CXX='+Z'
16901 # This is c89, which is MS Visual C++ (no shared libs)
16902 # Anyone wants to do a port?
16904 irix5* | irix6* | nonstopux*)
16905 case $cc_basename in
16907 lt_prog_compiler_wl_CXX='-Wl,'
16908 lt_prog_compiler_static_CXX='-non_shared'
16909 # CC pic flag -KPIC is the default.
16915 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
16916 case $cc_basename in
16919 lt_prog_compiler_wl_CXX='--backend -Wl,'
16920 lt_prog_compiler_pic_CXX='-fPIC'
16923 # old Intel C++ for x86_64, which still supported -KPIC.
16924 lt_prog_compiler_wl_CXX='-Wl,'
16925 lt_prog_compiler_pic_CXX='-KPIC'
16926 lt_prog_compiler_static_CXX='-static'
16929 # Intel C++, used to be incompatible with GCC.
16930 # ICC 10 doesn't accept -KPIC any more.
16931 lt_prog_compiler_wl_CXX='-Wl,'
16932 lt_prog_compiler_pic_CXX='-fPIC'
16933 lt_prog_compiler_static_CXX='-static'
16936 # Portland Group C++ compiler
16937 lt_prog_compiler_wl_CXX='-Wl,'
16938 lt_prog_compiler_pic_CXX='-fpic'
16939 lt_prog_compiler_static_CXX='-Bstatic'
16943 # Make sure the PIC flag is empty. It appears that all Alpha
16944 # Linux and Compaq Tru64 Unix objects are PIC.
16945 lt_prog_compiler_pic_CXX=
16946 lt_prog_compiler_static_CXX='-non_shared'
16948 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16949 # IBM XL 8.0, 9.0 on PPC and BlueGene
16950 lt_prog_compiler_wl_CXX='-Wl,'
16951 lt_prog_compiler_pic_CXX='-qpic'
16952 lt_prog_compiler_static_CXX='-qstaticlink'
16955 case `$CC -V 2>&1 | sed 5q` in
16958 lt_prog_compiler_pic_CXX='-KPIC'
16959 lt_prog_compiler_static_CXX='-Bstatic'
16960 lt_prog_compiler_wl_CXX='-Qoption ld '
16971 case $cc_basename in
16973 lt_prog_compiler_pic_CXX='-W c,exportall'
16982 # QNX uses GNU C++, but need to define -shared option too, otherwise
16983 # it will coredump.
16984 lt_prog_compiler_pic_CXX='-fPIC -shared'
16986 osf3* | osf4* | osf5*)
16987 case $cc_basename in
16989 lt_prog_compiler_wl_CXX='--backend -Wl,'
16992 # Rational C++ 2.4.1
16993 lt_prog_compiler_pic_CXX='-pic'
16996 # Digital/Compaq C++
16997 lt_prog_compiler_wl_CXX='-Wl,'
16998 # Make sure the PIC flag is empty. It appears that all Alpha
16999 # Linux and Compaq Tru64 Unix objects are PIC.
17000 lt_prog_compiler_pic_CXX=
17001 lt_prog_compiler_static_CXX='-non_shared'
17010 case $cc_basename in
17012 # Sun C++ 4.2, 5.x and Centerline C++
17013 lt_prog_compiler_pic_CXX='-KPIC'
17014 lt_prog_compiler_static_CXX='-Bstatic'
17015 lt_prog_compiler_wl_CXX='-Qoption ld '
17018 # Green Hills C++ Compiler
17019 lt_prog_compiler_pic_CXX='-PIC'
17026 case $cc_basename in
17029 lt_prog_compiler_pic_CXX='-pic'
17030 lt_prog_compiler_static_CXX='-Bstatic'
17034 lt_prog_compiler_pic_CXX='-pic'
17040 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
17041 case $cc_basename in
17043 lt_prog_compiler_wl_CXX='-Wl,'
17044 lt_prog_compiler_pic_CXX='-KPIC'
17045 lt_prog_compiler_static_CXX='-Bstatic'
17050 case $cc_basename in
17052 # NonStop-UX NCC 3.20
17053 lt_prog_compiler_pic_CXX='-KPIC'
17062 lt_prog_compiler_can_build_shared_CXX=no
17068 # For platforms that do not support PIC, -DPIC is meaningless:
17070 lt_prog_compiler_pic_CXX=
17073 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
17077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
17078 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
17079 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
17080 $as_echo_n "(cached) " >&6
17082 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
17085 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
17086 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
17089 # Check to make sure the PIC flag actually works.
17091 if test -n "$lt_prog_compiler_pic_CXX"; then
17092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
17093 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
17094 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
17095 $as_echo_n "(cached) " >&6
17097 lt_cv_prog_compiler_pic_works_CXX=no
17098 ac_outfile=conftest.$ac_objext
17099 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17100 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC" ## exclude from sc_useless_quotes_in_assignment
17101 # Insert the option either (1) after the last *FLAGS variable, or
17102 # (2) before a word containing "conftest.", or (3) at the end.
17103 # Note that $ac_compile itself does not contain backslashes and begins
17104 # with a dollar sign (not a hyphen), so the echo should work correctly.
17105 # The option is referenced via a variable to avoid confusing sed.
17106 lt_compile=`echo "$ac_compile" | $SED \
17107 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17108 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17109 -e 's:$: $lt_compiler_flag:'`
17110 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17111 (eval "$lt_compile" 2>conftest.err)
17113 cat conftest.err >&5
17114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17115 if (exit $ac_status) && test -s "$ac_outfile"; then
17116 # The compiler can only warn and ignore the option if not recognized
17117 # So say no if there are warnings other than the usual output.
17118 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
17119 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17120 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
17121 lt_cv_prog_compiler_pic_works_CXX=yes
17127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
17128 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
17130 if test yes = "$lt_cv_prog_compiler_pic_works_CXX"; then
17131 case $lt_prog_compiler_pic_CXX in
17133 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
17136 lt_prog_compiler_pic_CXX=
17137 lt_prog_compiler_can_build_shared_CXX=no
17147 # Check to make sure the static flag actually works.
17149 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
17151 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
17152 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
17153 $as_echo_n "(cached) " >&6
17155 lt_cv_prog_compiler_static_works_CXX=no
17156 save_LDFLAGS=$LDFLAGS
17157 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17158 echo "$lt_simple_link_test_code" > conftest.$ac_ext
17159 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17160 # The linker can only warn and ignore the option if not recognized
17161 # So say no if there are warnings
17162 if test -s conftest.err; then
17163 # Append any errors to the config.log.
17164 cat conftest.err 1>&5
17165 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
17166 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
17167 if diff conftest.exp conftest.er2 >/dev/null; then
17168 lt_cv_prog_compiler_static_works_CXX=yes
17171 lt_cv_prog_compiler_static_works_CXX=yes
17175 LDFLAGS=$save_LDFLAGS
17178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
17179 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
17181 if test yes = "$lt_cv_prog_compiler_static_works_CXX"; then
17184 lt_prog_compiler_static_CXX=
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17191 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17192 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17193 $as_echo_n "(cached) " >&6
17195 lt_cv_prog_compiler_c_o_CXX=no
17196 $RM -r conftest 2>/dev/null
17200 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17202 lt_compiler_flag="-o out/conftest2.$ac_objext"
17203 # Insert the option either (1) after the last *FLAGS variable, or
17204 # (2) before a word containing "conftest.", or (3) at the end.
17205 # Note that $ac_compile itself does not contain backslashes and begins
17206 # with a dollar sign (not a hyphen), so the echo should work correctly.
17207 lt_compile=`echo "$ac_compile" | $SED \
17208 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17209 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17210 -e 's:$: $lt_compiler_flag:'`
17211 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17212 (eval "$lt_compile" 2>out/conftest.err)
17214 cat out/conftest.err >&5
17215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17216 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17218 # The compiler can only warn and ignore the option if not recognized
17219 # So say no if there are warnings
17220 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17221 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17222 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17223 lt_cv_prog_compiler_c_o_CXX=yes
17228 # SGI C++ compiler will create directory out/ii_files/ for
17229 # template instantiation
17230 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17231 $RM out/* && rmdir out
17237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17238 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
17243 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
17244 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
17245 $as_echo_n "(cached) " >&6
17247 lt_cv_prog_compiler_c_o_CXX=no
17248 $RM -r conftest 2>/dev/null
17252 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17254 lt_compiler_flag="-o out/conftest2.$ac_objext"
17255 # Insert the option either (1) after the last *FLAGS variable, or
17256 # (2) before a word containing "conftest.", or (3) at the end.
17257 # Note that $ac_compile itself does not contain backslashes and begins
17258 # with a dollar sign (not a hyphen), so the echo should work correctly.
17259 lt_compile=`echo "$ac_compile" | $SED \
17260 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17261 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17262 -e 's:$: $lt_compiler_flag:'`
17263 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
17264 (eval "$lt_compile" 2>out/conftest.err)
17266 cat out/conftest.err >&5
17267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17268 if (exit $ac_status) && test -s out/conftest2.$ac_objext
17270 # The compiler can only warn and ignore the option if not recognized
17271 # So say no if there are warnings
17272 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
17273 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
17274 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
17275 lt_cv_prog_compiler_c_o_CXX=yes
17280 # SGI C++ compiler will create directory out/ii_files/ for
17281 # template instantiation
17282 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
17283 $RM out/* && rmdir out
17289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
17290 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
17295 hard_links=nottested
17296 if test no = "$lt_cv_prog_compiler_c_o_CXX" && test no != "$need_locks"; then
17297 # do not overwrite the value of need_locks provided by the user
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
17299 $as_echo_n "checking if we can lock with hard links... " >&6; }
17302 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17304 ln conftest.a conftest.b 2>&5 || hard_links=no
17305 ln conftest.a conftest.b 2>/dev/null && hard_links=no
17306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
17307 $as_echo "$hard_links" >&6; }
17308 if test no = "$hard_links"; then
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&5
17310 $as_echo "$as_me: WARNING: '$CC' does not support '-c -o', so 'make -j' may be unsafe" >&2;}
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
17320 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
17322 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17323 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
17326 # If we're using GNU nm, then we don't want the "-C" option.
17327 # -C means demangle to GNU nm, but means don't demangle to AIX nm.
17328 # Without the "-l" option, or with the "-B" option, AIX nm treats
17329 # weak defined symbols like other global defined symbols, whereas
17330 # GNU nm marks them as "W".
17331 # While the 'weak' keyword is ignored in the Export File, we need
17332 # it in the Import File for the 'aix-soname' feature, so we have
17333 # to replace the "-B" option with "-P" for AIX nm.
17334 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
17335 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'
17337 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'
17341 export_symbols_cmds_CXX=$ltdll_cmds
17343 cygwin* | mingw* | cegcc*)
17344 case $cc_basename in
17346 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
17349 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'
17350 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
17355 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
17359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
17360 $as_echo "$ld_shlibs_CXX" >&6; }
17361 test no = "$ld_shlibs_CXX" && can_build_shared=no
17363 with_gnu_ld_CXX=$with_gnu_ld
17371 # Do we need to explicitly link libc?
17373 case "x$archive_cmds_need_lc_CXX" in
17375 # Assume -lc should be added
17376 archive_cmds_need_lc_CXX=yes
17378 if test yes,yes = "$GCC,$enable_shared"; then
17379 case $archive_cmds_CXX in
17381 # FIXME: we may have to deal with multi-command sequences.
17384 # Test whether the compiler implicitly links with -lc since on some
17385 # systems, -lgcc has to come before -lc. If gcc already passes -lc
17386 # to ld, don't add -lc before -lgcc.
17387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
17388 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
17389 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
17390 $as_echo_n "(cached) " >&6
17393 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17395 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17396 (eval $ac_compile) 2>&5
17398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17399 test $ac_status = 0; } 2>conftest.err; then
17402 libobjs=conftest.$ac_objext
17404 wl=$lt_prog_compiler_wl_CXX
17405 pic_flag=$lt_prog_compiler_pic_CXX
17411 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
17412 allow_undefined_flag_CXX=
17413 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
17414 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
17416 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
17417 test $ac_status = 0; }
17419 lt_cv_archive_cmds_need_lc_CXX=no
17421 lt_cv_archive_cmds_need_lc_CXX=yes
17423 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
17425 cat conftest.err 1>&5
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
17431 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
17432 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
17500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
17501 $as_echo_n "checking dynamic linker characteristics... " >&6; }
17503 library_names_spec=
17504 libname_spec='lib$name'
17508 postuninstall_cmds=
17512 shlibpath_overrides_runpath=unknown
17514 dynamic_linker="$host_os ld.so"
17515 sys_lib_dlsearch_path_spec="/lib /usr/lib"
17516 need_lib_prefix=unknown
17517 hardcode_into_libs=no
17519 # when you set need_version to no, make sure it does not cause -set_version
17520 # flags to be left without arguments
17521 need_version=unknown
17527 version_type=linux # correct to gnu/linux during the next big refactor
17528 library_names_spec='$libname$release$shared_ext$versuffix $libname.a'
17529 shlibpath_var=LIBPATH
17531 # AIX 3 has no versioning support, so we append a major version to the name.
17532 soname_spec='$libname$release$shared_ext$major'
17536 version_type=linux # correct to gnu/linux during the next big refactor
17539 hardcode_into_libs=yes
17540 if test ia64 = "$host_cpu"; then
17541 # AIX 5 supports IA64
17542 library_names_spec='$libname$release$shared_ext$major $libname$release$shared_ext$versuffix $libname$shared_ext'
17543 shlibpath_var=LD_LIBRARY_PATH
17545 # With GCC up to 2.95.x, collect2 would create an import file
17546 # for dependence libraries. The import file would start with
17547 # the line '#! .'. This would cause the generated library to
17548 # depend on '.', always an invalid library. This was fixed in
17549 # development snapshots of GCC prior to 3.0.
17551 aix4 | aix4.[01] | aix4.[01].*)
17552 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
17554 echo '#endif'; } | $CC -E - | $GREP yes > /dev/null; then
17557 can_build_shared=no
17561 # Using Import Files as archive members, it is possible to support
17562 # filename-based versioning of shared library archives on AIX. While
17563 # this would work for both with and without runtime linking, it will
17564 # prevent static linking of such archives. So we do filename-based
17565 # shared library versioning with .so extension only, which is used
17566 # when both runtime linking and shared linking is enabled.
17567 # Unfortunately, runtime linking may impact performance, so we do
17568 # not want this to be the default eventually. Also, we use the
17569 # versioned .so libs for executables only if there is the -brtl
17570 # linker flag in LDFLAGS as well, or --with-aix-soname=svr4 only.
17571 # To allow for filename-based versioning support, we need to create
17572 # libNAME.so.V as an archive file, containing:
17573 # *) an Import File, referring to the versioned filename of the
17574 # archive as well as the shared archive member, telling the
17575 # bitwidth (32 or 64) of that shared object, and providing the
17576 # list of exported symbols of that shared object, eventually
17577 # decorated with the 'weak' keyword
17578 # *) the shared object with the F_LOADONLY flag set, to really avoid
17579 # it being seen by the linker.
17580 # At run time we better use the real file rather than another symlink,
17581 # but for link time we create the symlink libNAME.so -> libNAME.so.V
17583 case $with_aix_soname,$aix_use_runtimelinking in
17584 # AIX (on Power*) has no versioning support, so currently we cannot hardcode correct
17585 # soname into executable. Probably we can add versioning support to
17586 # collect2, so additional links can be useful in future.
17587 aix,yes) # traditional libtool
17588 dynamic_linker='AIX unversionable lib.so'
17589 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
17590 # instead of lib<name>.a to let people know that these are not
17591 # typical AIX shared libraries.
17592 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17594 aix,no) # traditional AIX only
17595 dynamic_linker='AIX lib.a(lib.so.V)'
17596 # We preserve .a as extension for shared libraries through AIX4.2
17597 # and later when we are not doing run time linking.
17598 library_names_spec='$libname$release.a $libname.a'
17599 soname_spec='$libname$release$shared_ext$major'
17601 svr4,*) # full svr4 only
17602 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o)"
17603 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17604 # We do not specify a path in Import Files, so LIBPATH fires.
17605 shlibpath_overrides_runpath=yes
17607 *,yes) # both, prefer svr4
17608 dynamic_linker="AIX lib.so.V($shared_archive_member_spec.o), lib.a(lib.so.V)"
17609 library_names_spec='$libname$release$shared_ext$major $libname$shared_ext'
17610 # unpreferred sharedlib libNAME.a needs extra handling
17611 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"'
17612 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"'
17613 # We do not specify a path in Import Files, so LIBPATH fires.
17614 shlibpath_overrides_runpath=yes
17616 *,no) # both, prefer aix
17617 dynamic_linker="AIX lib.a(lib.so.V), lib.so.V($shared_archive_member_spec.o)"
17618 library_names_spec='$libname$release.a $libname.a'
17619 soname_spec='$libname$release$shared_ext$major'
17620 # unpreferred sharedlib libNAME.so.V and symlink libNAME.so need extra handling
17621 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)'
17622 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"'
17625 shlibpath_var=LIBPATH
17632 # Since July 2007 AmigaOS4 officially supports .so libraries.
17633 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
17634 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17637 library_names_spec='$libname.ixlibrary $libname.a'
17638 # Create ${libname}_ixlibrary.a entries in /sys/libs.
17639 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'
17645 library_names_spec='$libname$shared_ext'
17646 dynamic_linker="$host_os ld.so"
17647 shlibpath_var=LIBRARY_PATH
17651 version_type=linux # correct to gnu/linux during the next big refactor
17653 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17654 soname_spec='$libname$release$shared_ext$major'
17655 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
17656 shlibpath_var=LD_LIBRARY_PATH
17657 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
17658 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
17659 # the default ld.so.conf also contains /usr/contrib/lib and
17660 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
17661 # libtool to hard-code these into programs
17664 cygwin* | mingw* | pw32* | cegcc*)
17665 version_type=windows
17670 case $GCC,$cc_basename in
17673 library_names_spec='$libname.dll.a'
17674 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17675 postinstall_cmds='base_file=`basename \$file`~
17676 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17677 dldir=$destdir/`dirname \$dlpath`~
17678 test -d \$dldir || mkdir -p \$dldir~
17679 $install_prog $dir/$dlname \$dldir/$dlname~
17680 chmod a+x \$dldir/$dlname~
17681 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
17682 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
17684 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17685 dlpath=$dir/\$dldll~
17687 shlibpath_overrides_runpath=yes
17691 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
17692 soname_spec='`echo $libname | sed -e 's/^lib/cyg/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17696 # MinGW DLLs use traditional 'lib' prefix
17697 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17700 # pw32 DLLs use 'pw' prefix rather than 'lib'
17701 library_names_spec='`echo $libname | sed -e 's/^lib/pw/'``echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17704 dynamic_linker='Win32 ld.exe'
17709 libname_spec='$name'
17710 soname_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext'
17711 library_names_spec='$libname.dll.lib'
17715 sys_lib_search_path_spec=
17718 for lt_path in $LIB
17721 # Let DOS variable expansion print the short 8.3 style file name.
17722 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
17723 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
17726 # Convert to MSYS style.
17727 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
17730 # Convert to unix form, then to dos form, then back to unix form
17731 # but this time dos style (no spaces!) so that the unix form looks
17732 # like /cygdrive/c/PROGRA~1:/cygdr...
17733 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
17734 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
17735 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17738 sys_lib_search_path_spec=$LIB
17739 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
17740 # It is most probably a Windows format PATH.
17741 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
17743 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
17745 # FIXME: find the short name or the path components, as spaces are
17746 # common. (e.g. "Program Files" -> "PROGRA~1")
17750 # DLL is installed to $(libdir)/../bin by postinstall_cmds
17751 postinstall_cmds='base_file=`basename \$file`~
17752 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; echo \$dlname'\''`~
17753 dldir=$destdir/`dirname \$dlpath`~
17754 test -d \$dldir || mkdir -p \$dldir~
17755 $install_prog $dir/$dlname \$dldir/$dlname'
17756 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
17757 dlpath=$dir/\$dldll~
17759 shlibpath_overrides_runpath=yes
17760 dynamic_linker='Win32 link.exe'
17764 # Assume MSVC wrapper
17765 library_names_spec='$libname`echo $release | $SED -e 's/[.]/-/g'`$versuffix$shared_ext $libname.lib'
17766 dynamic_linker='Win32 ld.exe'
17769 # FIXME: first we should search . and the directory the executable is in
17773 darwin* | rhapsody*)
17774 dynamic_linker="$host_os dyld"
17775 version_type=darwin
17778 library_names_spec='$libname$release$major$shared_ext $libname$shared_ext'
17779 soname_spec='$libname$release$major$shared_ext'
17780 shlibpath_overrides_runpath=yes
17781 shlibpath_var=DYLD_LIBRARY_PATH
17782 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17784 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17788 version_type=linux # correct to gnu/linux during the next big refactor
17791 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17792 soname_spec='$libname$release$shared_ext$major'
17793 shlibpath_var=LD_LIBRARY_PATH
17796 freebsd* | dragonfly*)
17797 # DragonFly does not have aout. When/if they implement a new
17798 # versioning mechanism, adjust this.
17799 if test -x /usr/bin/objformat; then
17800 objformat=`/usr/bin/objformat`
17803 freebsd[23].*) objformat=aout ;;
17804 *) objformat=elf ;;
17807 version_type=freebsd-$objformat
17808 case $version_type in
17810 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17811 soname_spec='$libname$release$shared_ext$major'
17816 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
17820 shlibpath_var=LD_LIBRARY_PATH
17823 shlibpath_overrides_runpath=yes
17825 freebsd3.[01]* | freebsdelf3.[01]*)
17826 shlibpath_overrides_runpath=yes
17827 hardcode_into_libs=yes
17829 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17830 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17831 shlibpath_overrides_runpath=no
17832 hardcode_into_libs=yes
17834 *) # from 4.6 on, and DragonFly
17835 shlibpath_overrides_runpath=yes
17836 hardcode_into_libs=yes
17842 version_type=linux # correct to gnu/linux during the next big refactor
17845 dynamic_linker="$host_os runtime_loader"
17846 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17847 soname_spec='$libname$release$shared_ext$major'
17848 shlibpath_var=LIBRARY_PATH
17849 shlibpath_overrides_runpath=no
17850 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17851 hardcode_into_libs=yes
17854 hpux9* | hpux10* | hpux11*)
17855 # Give a soname corresponding to the major version so that dld.sl refuses to
17856 # link against other versions.
17863 hardcode_into_libs=yes
17864 dynamic_linker="$host_os dld.so"
17865 shlibpath_var=LD_LIBRARY_PATH
17866 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17867 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17868 soname_spec='$libname$release$shared_ext$major'
17869 if test 32 = "$HPUX_IA64_MODE"; then
17870 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17871 sys_lib_dlsearch_path_spec=/usr/lib/hpux32
17873 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17874 sys_lib_dlsearch_path_spec=/usr/lib/hpux64
17879 hardcode_into_libs=yes
17880 dynamic_linker="$host_os dld.sl"
17881 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17882 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17883 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17884 soname_spec='$libname$release$shared_ext$major'
17885 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17886 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17890 dynamic_linker="$host_os dld.sl"
17891 shlibpath_var=SHLIB_PATH
17892 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17893 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17894 soname_spec='$libname$release$shared_ext$major'
17897 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17898 postinstall_cmds='chmod 555 $lib'
17899 # or fails outright, so override atomically:
17900 install_override_mode=555
17904 version_type=linux # correct to gnu/linux during the next big refactor
17907 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17908 soname_spec='$libname$release$shared_ext$major'
17909 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17910 shlibpath_var=LD_LIBRARY_PATH
17911 shlibpath_overrides_runpath=no
17912 hardcode_into_libs=yes
17915 irix5* | irix6* | nonstopux*)
17917 nonstopux*) version_type=nonstopux ;;
17919 if test yes = "$lt_cv_prog_gnu_ld"; then
17920 version_type=linux # correct to gnu/linux during the next big refactor
17927 soname_spec='$libname$release$shared_ext$major'
17928 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$release$shared_ext $libname$shared_ext'
17930 irix5* | nonstopux*)
17931 libsuff= shlibsuff=
17934 case $LD in # libtool.m4 will add one of these switches to LD
17935 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17936 libsuff= shlibsuff= libmagic=32-bit;;
17937 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17938 libsuff=32 shlibsuff=N32 libmagic=N32;;
17939 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17940 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17941 *) libsuff= shlibsuff= libmagic=never-match;;
17945 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17946 shlibpath_overrides_runpath=no
17947 sys_lib_search_path_spec="/usr/lib$libsuff /lib$libsuff /usr/local/lib$libsuff"
17948 sys_lib_dlsearch_path_spec="/usr/lib$libsuff /lib$libsuff"
17949 hardcode_into_libs=yes
17952 # No shared lib support for Linux oldld, aout, or coff.
17953 linux*oldld* | linux*aout* | linux*coff*)
17958 version_type=none # Android doesn't support versioned libraries.
17961 library_names_spec='$libname$release$shared_ext'
17962 soname_spec='$libname$release$shared_ext'
17964 shlibpath_var=LD_LIBRARY_PATH
17965 shlibpath_overrides_runpath=yes
17967 # This implies no fast_install, which is unacceptable.
17968 # Some rework will be needed to allow for fast_install
17969 # before this can be enabled.
17970 hardcode_into_libs=yes
17972 dynamic_linker='Android linker'
17973 # Don't embed -rpath directories since the linker doesn't support them.
17974 hardcode_libdir_flag_spec_CXX='-L$libdir'
17977 # This must be glibc/ELF.
17978 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu*)
17979 version_type=linux # correct to gnu/linux during the next big refactor
17982 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
17983 soname_spec='$libname$release$shared_ext$major'
17984 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17985 shlibpath_var=LD_LIBRARY_PATH
17986 shlibpath_overrides_runpath=no
17988 # Some binutils ld are patched to set DT_RUNPATH
17989 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17990 $as_echo_n "(cached) " >&6
17992 lt_cv_shlibpath_overrides_runpath=no
17993 save_LDFLAGS=$LDFLAGS
17994 save_libdir=$libdir
17995 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17996 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17998 /* end confdefs.h. */
18008 if ac_fn_cxx_try_link "$LINENO"; then :
18009 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
18010 lt_cv_shlibpath_overrides_runpath=yes
18013 rm -f core conftest.err conftest.$ac_objext \
18014 conftest$ac_exeext conftest.$ac_ext
18015 LDFLAGS=$save_LDFLAGS
18016 libdir=$save_libdir
18020 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
18022 # This implies no fast_install, which is unacceptable.
18023 # Some rework will be needed to allow for fast_install
18024 # before this can be enabled.
18025 hardcode_into_libs=yes
18027 # Ideally, we could use ldconfig to report *all* directores which are
18028 # searched for libraries, however this is still not possible. Aside from not
18029 # being certain /sbin/ldconfig is available, command
18030 # 'ldconfig -N -X -v | grep ^/' on 64bit Fedora does not report /usr/lib64,
18031 # even though it is searched at run-time. Try to do the best guess by
18032 # appending ld.so.conf contents (and includes) to the search path.
18033 if test -f /etc/ld.so.conf; then
18034 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' ' '`
18035 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18038 # We used to test for /lib/ld.so.1 and disable shared libraries on
18039 # powerpc, because MkLinux only supported shared libraries with the
18040 # GNU dynamic linker. Since this was broken with cross compilers,
18041 # most powerpc-linux boxes support dynamic linking these days and
18042 # people can always --disable-shared, the test was removed, and we
18043 # assume the GNU/Linux dynamic linker is in use.
18044 dynamic_linker='GNU/Linux ld.so'
18051 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
18052 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18053 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18054 dynamic_linker='NetBSD (a.out) ld.so'
18056 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18057 soname_spec='$libname$release$shared_ext$major'
18058 dynamic_linker='NetBSD ld.elf_so'
18060 shlibpath_var=LD_LIBRARY_PATH
18061 shlibpath_overrides_runpath=yes
18062 hardcode_into_libs=yes
18066 version_type=linux # correct to gnu/linux during the next big refactor
18067 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18068 shlibpath_var=LD_LIBRARY_PATH
18069 shlibpath_overrides_runpath=yes
18076 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18077 soname_spec='$libname$release$shared_ext$major'
18078 shlibpath_var=LD_LIBRARY_PATH
18079 shlibpath_overrides_runpath=no
18080 hardcode_into_libs=yes
18081 dynamic_linker='ldqnx.so'
18084 openbsd* | bitrig*)
18086 sys_lib_dlsearch_path_spec=/usr/lib
18088 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`"; then
18093 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18094 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
18095 shlibpath_var=LD_LIBRARY_PATH
18096 shlibpath_overrides_runpath=yes
18100 libname_spec='$name'
18101 version_type=windows
18105 # OS/2 can only load a DLL with a base name of 8 characters or less.
18106 soname_spec='`test -n "$os2dllname" && libname="$os2dllname";
18107 v=$($ECHO $release$versuffix | tr -d .-);
18108 n=$($ECHO $libname | cut -b -$((8 - ${#v})) | tr . _);
18109 $ECHO $n$v`$shared_ext'
18110 library_names_spec='${libname}_dll.$libext'
18111 dynamic_linker='OS/2 ld.exe'
18112 shlibpath_var=BEGINLIBPATH
18113 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18114 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18115 postinstall_cmds='base_file=`basename \$file`~
18116 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\$base_file'\''i; $ECHO \$dlname'\''`~
18117 dldir=$destdir/`dirname \$dlpath`~
18118 test -d \$dldir || mkdir -p \$dldir~
18119 $install_prog $dir/$dlname \$dldir/$dlname~
18120 chmod a+x \$dldir/$dlname~
18121 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
18122 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
18124 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; $ECHO \$dlname'\''`~
18125 dlpath=$dir/\$dldll~
18129 osf3* | osf4* | osf5*)
18133 soname_spec='$libname$release$shared_ext$major'
18134 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18135 shlibpath_var=LD_LIBRARY_PATH
18136 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
18137 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
18145 version_type=linux # correct to gnu/linux during the next big refactor
18148 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18149 soname_spec='$libname$release$shared_ext$major'
18150 shlibpath_var=LD_LIBRARY_PATH
18151 shlibpath_overrides_runpath=yes
18152 hardcode_into_libs=yes
18153 # ldd complains unless libraries are executable
18154 postinstall_cmds='chmod +x $lib'
18159 library_names_spec='$libname$release$shared_ext$versuffix $libname$shared_ext$versuffix'
18160 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
18161 shlibpath_var=LD_LIBRARY_PATH
18162 shlibpath_overrides_runpath=yes
18163 if test yes = "$with_gnu_ld"; then
18170 version_type=linux # correct to gnu/linux during the next big refactor
18171 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18172 soname_spec='$libname$release$shared_ext$major'
18173 shlibpath_var=LD_LIBRARY_PATH
18174 case $host_vendor in
18176 shlibpath_overrides_runpath=no
18178 runpath_var=LD_RUN_PATH
18186 shlibpath_overrides_runpath=no
18187 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
18193 if test -d /usr/nec; then
18194 version_type=linux # correct to gnu/linux during the next big refactor
18195 library_names_spec='$libname$shared_ext.$versuffix $libname$shared_ext.$major $libname$shared_ext'
18196 soname_spec='$libname$shared_ext.$major'
18197 shlibpath_var=LD_LIBRARY_PATH
18201 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
18205 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext $libname$shared_ext'
18206 soname_spec='$libname$release$shared_ext$major'
18207 shlibpath_var=LD_LIBRARY_PATH
18208 shlibpath_overrides_runpath=yes
18209 hardcode_into_libs=yes
18210 if test yes = "$with_gnu_ld"; then
18211 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
18213 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
18216 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
18220 sys_lib_dlsearch_path_spec='/usr/lib'
18224 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
18225 version_type=linux # correct to gnu/linux during the next big refactor
18228 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18229 shlibpath_var=LD_LIBRARY_PATH
18230 shlibpath_overrides_runpath=no
18231 hardcode_into_libs=yes
18235 version_type=linux # correct to gnu/linux during the next big refactor
18236 library_names_spec='$libname$release$shared_ext$versuffix $libname$release$shared_ext$major $libname$shared_ext'
18237 soname_spec='$libname$release$shared_ext$major'
18238 shlibpath_var=LD_LIBRARY_PATH
18245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
18246 $as_echo "$dynamic_linker" >&6; }
18247 test no = "$dynamic_linker" && can_build_shared=no
18249 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
18250 if test yes = "$GCC"; then
18251 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
18254 if test set = "${lt_cv_sys_lib_search_path_spec+set}"; then
18255 sys_lib_search_path_spec=$lt_cv_sys_lib_search_path_spec
18258 if test set = "${lt_cv_sys_lib_dlsearch_path_spec+set}"; then
18259 sys_lib_dlsearch_path_spec=$lt_cv_sys_lib_dlsearch_path_spec
18262 # remember unaugmented sys_lib_dlsearch_path content for libtool script decls...
18263 configure_time_dlsearch_path=$sys_lib_dlsearch_path_spec
18265 # ... but it needs LT_SYS_LIBRARY_PATH munging for other configure-time code
18266 func_munge_path_list sys_lib_dlsearch_path_spec "$LT_SYS_LIBRARY_PATH"
18268 # to be used as default LT_SYS_LIBRARY_PATH value in generated libtool
18269 configure_time_lt_sys_library_path=$LT_SYS_LIBRARY_PATH
18310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
18311 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
18312 hardcode_action_CXX=
18313 if test -n "$hardcode_libdir_flag_spec_CXX" ||
18314 test -n "$runpath_var_CXX" ||
18315 test yes = "$hardcode_automatic_CXX"; then
18317 # We can hardcode non-existent directories.
18318 if test no != "$hardcode_direct_CXX" &&
18319 # If the only mechanism to avoid hardcoding is shlibpath_var, we
18320 # have to relink, otherwise we might link with an installed library
18321 # when we should be linking with a yet-to-be-installed one
18322 ## test no != "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" &&
18323 test no != "$hardcode_minus_L_CXX"; then
18324 # Linking always hardcodes the temporary library directory.
18325 hardcode_action_CXX=relink
18327 # We can link without hardcoding, and we can hardcode nonexisting dirs.
18328 hardcode_action_CXX=immediate
18331 # We cannot hardcode anything, or else we can only hardcode existing
18333 hardcode_action_CXX=unsupported
18335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
18336 $as_echo "$hardcode_action_CXX" >&6; }
18338 if test relink = "$hardcode_action_CXX" ||
18339 test yes = "$inherit_rpath_CXX"; then
18340 # Fast installation is not supported
18341 enable_fast_install=no
18342 elif test yes = "$shlibpath_overrides_runpath" ||
18343 test no = "$enable_shared"; then
18344 # Fast installation is not necessary
18345 enable_fast_install=needless
18354 fi # test -n "$compiler"
18357 CFLAGS=$lt_save_CFLAGS
18361 with_gnu_ld=$lt_save_with_gnu_ld
18362 lt_cv_path_LDCXX=$lt_cv_path_LD
18363 lt_cv_path_LD=$lt_save_path_LD
18364 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
18365 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
18366 fi # test yes != "$_lt_caught_CXX_error"
18369 ac_cpp='$CPP $CPPFLAGS'
18370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18388 ac_config_commands="$ac_config_commands libtool"
18393 # Only expand once:
18396 # Check whether --enable-experimental-libtool was given.
18397 if test "${enable_experimental_libtool+set}" = set; then :
18398 enableval=$enable_experimental_libtool; experimental_libtool=$enableval
18400 experimental_libtool=no
18404 if test "$experimental_libtool" = "yes"; then
18405 echo "using APR's libtool"
18406 sh_libtool="`$apr_config --apr-libtool`"
18407 LIBTOOL="$sh_libtool"
18408 SVN_LIBTOOL="$sh_libtool"
18410 sh_libtool="$abs_builddir/libtool"
18411 SVN_LIBTOOL="\$(SHELL) \"$sh_libtool\""
18415 lt_pversion=`$LIBTOOL --version 2>/dev/null|$SED -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
18416 lt_version=`echo $lt_pversion|$SED -e 's/\([a-z]*\)$/.\1/'`
18417 lt_major_version=`echo $lt_version | cut -d'.' -f 1`
18419 svn_enable_static=yes
18420 svn_enable_shared=yes
18422 # Check whether --enable-static was given.
18423 if test "${enable_static+set}" = set; then :
18424 enableval=$enable_static; svn_enable_static="$enableval"
18426 svn_enable_static="yes"
18430 # Check whether --enable-shared was given.
18431 if test "${enable_shared+set}" = set; then :
18432 enableval=$enable_shared; svn_enable_shared="$enableval"
18434 svn_enable_shared="yes"
18438 if test "$svn_enable_static" = "yes" && test "$svn_enable_shared" = "yes" ; then
18439 { $as_echo "$as_me:${as_lineno-$LINENO}: building both shared and static libraries" >&5
18440 $as_echo "$as_me: building both shared and static libraries" >&6;}
18441 elif test "$svn_enable_static" = "yes" ; then
18442 { $as_echo "$as_me:${as_lineno-$LINENO}: building static libraries only" >&5
18443 $as_echo "$as_me: building static libraries only" >&6;}
18444 LT_CFLAGS="-static $LT_CFLAGS"
18445 LT_LDFLAGS="-static $LT_LDFLAGS"
18446 elif test "$svn_enable_shared" = "yes" ; then
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: building shared libraries only" >&5
18448 $as_echo "$as_me: building shared libraries only" >&6;}
18449 if test "$lt_major_version" = "1" ; then
18450 LT_CFLAGS="-prefer-pic $LT_CFLAGS"
18451 elif test "$lt_major_version" = "2" ; then
18452 LT_CFLAGS="-shared $LT_CFLAGS"
18454 LT_LDFLAGS="-shared $LT_LDFLAGS"
18456 as_fn_error $? "cannot disable both shared and static libraries" "$LINENO" 5
18459 # Check whether --enable-all-static was given.
18460 if test "${enable_all_static+set}" = set; then :
18461 enableval=$enable_all_static;
18462 if test "$enableval" = "yes" ; then
18463 LT_LDFLAGS="-all-static $LT_LDFLAGS"
18464 elif test "$enableval" != "no" ; then
18465 as_fn_error $? "--enable-all-static doesn't accept argument" "$LINENO" 5
18474 # Check whether --enable-local-library-preloading was given.
18475 if test "${enable_local_library_preloading+set}" = set; then :
18476 enableval=$enable_local_library_preloading;
18477 if test "$enableval" != "no"; then
18478 if test "$svn_enable_shared" = "yes"; then
18479 TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts"
18481 as_fn_error $? "--enable-local-library-preloading conflicts with --disable-shared" "$LINENO" 5
18484 TRANSFORM_LIBTOOL_SCRIPTS=""
18489 TRANSFORM_LIBTOOL_SCRIPTS=""
18495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool needs -no-undefined" >&5
18496 $as_echo_n "checking whether libtool needs -no-undefined... " >&6; }
18499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18500 $as_echo "yes" >&6; }
18501 LT_NO_UNDEFINED="-no-undefined"
18504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18505 $as_echo "no" >&6; }
18513 # Check whether --with-trang was given.
18514 if test "${with_trang+set}" = set; then :
18515 withval=$with_trang;
18520 if test "$trang" = "yes"; then
18521 # Extract the first word of "trang", so it can be a program name with args.
18522 set dummy trang; ac_word=$2
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18524 $as_echo_n "checking for $ac_word... " >&6; }
18525 if ${ac_cv_path_TRANG+:} false; then :
18526 $as_echo_n "(cached) " >&6
18530 ac_cv_path_TRANG="$TRANG" # Let the user override the test with a path.
18533 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18534 for as_dir in $PATH
18537 test -z "$as_dir" && as_dir=.
18538 for ac_exec_ext in '' $ac_executable_extensions; do
18539 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18540 ac_cv_path_TRANG="$as_dir/$ac_word$ac_exec_ext"
18541 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18548 test -z "$ac_cv_path_TRANG" && ac_cv_path_TRANG="none"
18552 TRANG=$ac_cv_path_TRANG
18553 if test -n "$TRANG"; then
18554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRANG" >&5
18555 $as_echo "$TRANG" >&6; }
18557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18558 $as_echo "no" >&6; }
18569 # Check whether --with-doxygen was given.
18570 if test "${with_doxygen+set}" = set; then :
18571 withval=$with_doxygen;
18576 if test "$doxygen" = "yes"; then
18577 # Extract the first word of "doxygen", so it can be a program name with args.
18578 set dummy doxygen; ac_word=$2
18579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18580 $as_echo_n "checking for $ac_word... " >&6; }
18581 if ${ac_cv_path_DOXYGEN+:} false; then :
18582 $as_echo_n "(cached) " >&6
18586 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
18589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18590 for as_dir in $PATH
18593 test -z "$as_dir" && as_dir=.
18594 for ac_exec_ext in '' $ac_executable_extensions; do
18595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18596 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
18597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18604 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="none"
18608 DOXYGEN=$ac_cv_path_DOXYGEN
18609 if test -n "$DOXYGEN"; then
18610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
18611 $as_echo "$DOXYGEN" >&6; }
18613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18614 $as_echo "no" >&6; }
18627 # Check whether --with-expat was given.
18628 if test "${with_expat+set}" = set; then :
18629 withval=$with_expat; svn_lib_expat="$withval"
18631 svn_lib_expat="::expat"
18635 # APR-util accepts "builtin" as an argument to this option so if the user
18636 # passed "builtin" pretend the user didn't specify the --with-expat option
18637 # at all. Expat will (hopefully) be found in apr-util.
18638 test "_$svn_lib_expat" = "_builtin" && svn_lib_expat="::expat"
18640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat" >&5
18641 $as_echo_n "checking for Expat... " >&6; }
18642 if test -n "`echo "$svn_lib_expat" | $EGREP ":.*:"`"; then
18643 SVN_XML_INCLUDES=""
18644 for i in `echo "$svn_lib_expat" | $SED -e "s/\([^:]*\):.*/\1/"`; do
18645 SVN_XML_INCLUDES="$SVN_XML_INCLUDES -I$i"
18647 SVN_XML_INCLUDES="${SVN_XML_INCLUDES## }"
18648 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\):.*/\1/"`; do
18649 LDFLAGS="$LDFLAGS -L$l"
18651 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18652 SVN_XML_LIBS="$SVN_XML_LIBS -l$l"
18654 SVN_XML_LIBS="${SVN_XML_LIBS## }"
18655 old_CPPFLAGS="$CPPFLAGS"
18657 CPPFLAGS="$CPPFLAGS $SVN_XML_INCLUDES"
18658 LIBS="$LIBS $SVN_XML_LIBS"
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18664 {XML_ParserCreate(NULL);}
18666 if ac_fn_c_try_link "$LINENO"; then :
18667 svn_lib_expat="yes"
18671 rm -f core conftest.err conftest.$ac_objext \
18672 conftest$ac_exeext conftest.$ac_ext
18674 if test "$svn_lib_expat" = "yes"; then
18675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18676 $as_echo "yes" >&6; }
18678 SVN_XML_INCLUDES=""
18680 CPPFLAGS="$CPPFLAGS $SVN_APRUTIL_INCLUDES"
18681 if test "$enable_all_static" != "yes"; then
18682 SVN_APRUTIL_LIBS="$SVN_APRUTIL_LIBS `$apu_config --libs`"
18684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18685 /* end confdefs.h. */
18689 {XML_ParserCreate(NULL);}
18691 if ac_fn_c_try_compile "$LINENO"; then :
18692 svn_lib_expat="yes"
18696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18697 if test "$svn_lib_expat" = "yes"; then
18698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18699 $as_echo "yes" >&6; }
18700 { $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
18701 $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;}
18703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18704 $as_echo "no" >&6; }
18705 as_fn_error $? "Expat not found" "$LINENO" 5
18708 CPPFLAGS="$old_CPPFLAGS"
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18711 $as_echo "no" >&6; }
18712 if test "$svn_lib_expat" = "yes"; then
18713 as_fn_error $? "--with-expat option requires argument" "$LINENO" 5
18714 elif test "$svn_lib_expat" = "no"; then
18715 as_fn_error $? "Expat is required" "$LINENO" 5
18717 as_fn_error $? "Invalid syntax of argument of --with-expat option" "$LINENO" 5
18724 # Berkeley DB on SCO OpenServer needs -lsocket
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
18726 $as_echo_n "checking for socket in -lsocket... " >&6; }
18727 if ${ac_cv_lib_socket_socket+:} false; then :
18728 $as_echo_n "(cached) " >&6
18730 ac_check_lib_save_LIBS=$LIBS
18731 LIBS="-lsocket $LIBS"
18732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18733 /* end confdefs.h. */
18735 /* Override any GCC internal prototype to avoid an error.
18736 Use char because int might match the return type of a GCC
18737 builtin and then its argument prototype would still apply. */
18750 if ac_fn_c_try_link "$LINENO"; then :
18751 ac_cv_lib_socket_socket=yes
18753 ac_cv_lib_socket_socket=no
18755 rm -f core conftest.err conftest.$ac_objext \
18756 conftest$ac_exeext conftest.$ac_ext
18757 LIBS=$ac_check_lib_save_LIBS
18759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
18760 $as_echo "$ac_cv_lib_socket_socket" >&6; }
18761 if test "x$ac_cv_lib_socket_socket" = xyes; then :
18762 cat >>confdefs.h <<_ACEOF
18763 #define HAVE_LIBSOCKET 1
18766 LIBS="-lsocket $LIBS"
18771 # Build the BDB filesystem library only if we have an appropriate
18772 # version of Berkeley DB.
18774 powerpc-apple-darwin*)
18775 # Berkeley DB 4.0 does not work on OS X.
18776 SVN_FS_WANT_DB_MAJOR=4
18777 SVN_FS_WANT_DB_MINOR=1
18778 SVN_FS_WANT_DB_PATCH=25
18781 SVN_FS_WANT_DB_MAJOR=4
18782 SVN_FS_WANT_DB_MINOR=0
18783 SVN_FS_WANT_DB_PATCH=14
18786 db_alt_version="5.x"
18787 # Look for libdb4.so first:
18789 db_version=$SVN_FS_WANT_DB_MAJOR.$SVN_FS_WANT_DB_MINOR.$SVN_FS_WANT_DB_PATCH
18792 # Check whether --with-berkeley-db was given.
18793 if test "${with_berkeley_db+set}" = set; then :
18794 withval=$with_berkeley_db;
18795 if test "$withval" = "no"; then
18797 elif test "$withval" = "yes"; then
18798 apu_db_version="`$apu_config --db-version`"
18799 if test $? -ne 0; then
18800 as_fn_error $? "Can't determine whether apr-util is linked against a
18801 proper version of Berkeley DB." "$LINENO" 5
18804 if test "$withval" = "yes"; then
18805 if test "$apu_db_version" -lt "4"; then
18806 as_fn_error $? "APR-UTIL was linked against Berkeley DB version $apu_db_version,
18807 while version 4 or higher is required. Reinstall
18808 APR-UTIL with the appropriate options." "$LINENO" 5
18811 bdb_status=required
18813 elif test "$apu_found" != "reconfig"; then
18814 if test "$apu_db_version" -lt 4; then
18815 as_fn_error $? "APR-UTIL was installed independently, it won't be
18816 possible to use the specified Berkeley DB: $withval" "$LINENO" 5
18819 bdb_status=required
18822 if echo "$withval" | $EGREP ":.*:.*:" > /dev/null; then
18823 svn_berkeley_db_header="`echo "$withval" | $SED -e "s/\([^:]*\):.*/\1/"`"
18825 for i in `echo "$withval" | $SED -e "s/.*:\([^:]*\):[^:]*:.*/\1/"`; do
18826 SVN_DB_INCLUDES="$SVN_DB_INCLUDES -I$i"
18828 SVN_DB_INCLUDES="${SVN_DB_INCLUDES## }"
18829 for l in `echo "$withval" | $SED -e "s/.*:[^:]*:\([^:]*\):.*/\1/"`; do
18830 LDFLAGS="$LDFLAGS `
18833 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
18834 for flag in $input_flags; do
18836 for dir in $filtered_dirs; do
18837 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
18842 if test "$filter" = "no"; then
18843 output_flags="$output_flags $flag"
18846 if test -n "$output_flags"; then
18847 printf "%s" "${output_flags# }"
18852 for l in `echo "$withval" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18853 SVN_DB_LIBS="$SVN_DB_LIBS -l$l"
18855 SVN_DB_LIBS="${SVN_DB_LIBS## }"
18857 bdb_status=required
18859 as_fn_error $? "Invalid syntax of argument of --with-berkeley-db option" "$LINENO" 5
18865 # No --with-berkeley-db option:
18867 # Check if APR-UTIL is providing the correct Berkeley DB version
18870 apu_db_version="`$apu_config --db-version`"
18871 if test $? -ne 0; then
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected older version of APR-UTIL, trying to determine
18873 whether apr-util is linked against Berkeley DB
18875 $as_echo "$as_me: WARNING: Detected older version of APR-UTIL, trying to determine
18876 whether apr-util is linked against Berkeley DB
18878 bdb_status=try-link
18879 elif test "$apu_db_version" -lt "4"; then
18882 bdb_status=try-link
18888 if test "$bdb_status" = "skip"; then
18889 svn_lib_berkeley_db=no
18891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Berkeley DB" >&5
18892 $as_echo_n "checking for availability of Berkeley DB... " >&6; }
18893 # Check whether --enable-bdb6 was given.
18894 if test "${enable_bdb6+set}" = set; then :
18895 enableval=$enable_bdb6; enable_bdb6=$enableval
18897 enable_bdb6=unspecified
18902 svn_lib_berkeley_db_try_save_cppflags="$CPPFLAGS"
18903 svn_lib_berkeley_db_try_save_libs="$LIBS"
18905 svn_check_berkeley_db_major=$SVN_FS_WANT_DB_MAJOR
18906 svn_check_berkeley_db_minor=$SVN_FS_WANT_DB_MINOR
18907 svn_check_berkeley_db_patch=$SVN_FS_WANT_DB_PATCH
18908 enable_bdb6=$enable_bdb6
18910 if test -z "$SVN_DB_LIBS"; then
18911 # We pass --dbm-libs here since Debian has modified apu-config not
18912 # to return -ldb unless --dbm-libs is passed. This may also produce
18913 # extra output beyond -ldb but since we're only filtering for -ldb
18914 # it won't matter to us. However, --dbm-libs was added to apu-config
18915 # in 1.3.8 so it's possible the version we have doesn't support it
18916 # so fallback without it if we get an error.
18917 svn_db_libs_prefiltered="`$apu_config --libs --dbm-libs`"
18918 if test $? -ne 0; then
18919 svn_db_libs_prefiltered="`$apu_config --libs`"
18922 # Extract only the -ldb.* flag from the libs supplied by apu-config
18923 # Otherwise we get bit by the fact that expat might not be built yet
18924 # Or that it resides in a non-standard location which we would have
18925 # to compensate with using something like -R`$apu_config --prefix`/lib.
18927 SVN_DB_LIBS="`echo \"$svn_db_libs_prefiltered\" | $SED -e 's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`"
18930 CPPFLAGS="$SVN_DB_INCLUDES $SVN_APRUTIL_INCLUDES $CPPFLAGS"
18931 LIBS="`$apu_config --ldflags` $SVN_DB_LIBS $LIBS"
18933 if test -n "$svn_berkeley_db_header"; then
18934 SVN_DB_HEADER="#include <$svn_berkeley_db_header>"
18935 svn_db_header="#include <$svn_berkeley_db_header>"
18937 SVN_DB_HEADER="#include <apu_want.h>"
18938 svn_db_header="#define APU_WANT_DB
18939 #include <apu_want.h>"
18944 if test "$cross_compiling" = yes; then :
18945 svn_have_berkeley_db=yes
18948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18949 /* end confdefs.h. */
18951 #include <string.h>
18952 #include <stdlib.h>
18957 int major, minor, patch;
18959 db_version (&major, &minor, &patch);
18961 /* Sanity check: ensure that db.h constants actually match the db library */
18962 if (major != DB_VERSION_MAJOR
18963 || minor != DB_VERSION_MINOR
18964 || patch != DB_VERSION_PATCH)
18967 /* Block Berkeley DB 6, because (a) we haven't tested with it, (b) 6.0.20
18968 and newer are under the AGPL, and we want use of AGPL dependencies to be
18970 if (major >= 6 && strcmp("$enable_bdb6", "yes"))
18973 /* Run-time check: ensure the library claims to be the correct version. */
18975 if (major < $svn_check_berkeley_db_major)
18977 if (major > $svn_check_berkeley_db_major)
18980 if (minor < $svn_check_berkeley_db_minor)
18982 if (minor > $svn_check_berkeley_db_minor)
18985 if (patch >= $svn_check_berkeley_db_patch)
18992 if ac_fn_c_try_run "$LINENO"; then :
18993 svn_have_berkeley_db=yes
18996 svn_have_berkeley_db=no
18997 if test $rc = 2; then
18998 svn_have_berkeley_db=no6
19001 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19002 conftest.$ac_objext conftest.beam conftest.$ac_ext
19006 CPPFLAGS="$svn_lib_berkeley_db_try_save_cppflags"
19007 LIBS="$svn_lib_berkeley_db_try_save_libs"
19010 if test "$svn_have_berkeley_db" = "yes"; then
19011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19012 $as_echo "yes" >&6; }
19013 svn_lib_berkeley_db=yes
19015 if test "$svn_have_berkeley_db" = "no6"; then
19016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found version 6, but --enable-bdb6 not specified)" >&5
19017 $as_echo "no (found version 6, but --enable-bdb6 not specified)" >&6; }
19018 # A warning will be printed at the end of configure.ac.
19020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19021 $as_echo "no" >&6; }
19023 svn_lib_berkeley_db=no
19024 if test "$bdb_status" = "required"; then
19025 as_fn_error $? "Berkeley DB $db_version or $db_alt_version wasn't found." "$LINENO" 5
19032 cat >>confdefs.h <<_ACEOF
19033 #define SVN_FS_WANT_DB_MAJOR $SVN_FS_WANT_DB_MAJOR
19037 cat >>confdefs.h <<_ACEOF
19038 #define SVN_FS_WANT_DB_MINOR $SVN_FS_WANT_DB_MINOR
19042 cat >>confdefs.h <<_ACEOF
19043 #define SVN_FS_WANT_DB_PATCH $SVN_FS_WANT_DB_PATCH
19052 # Check whether --with-sasl was given.
19053 if test "${with_sasl+set}" = set; then :
19054 withval=$with_sasl;
19055 with_sasl="$withval"
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for SASL" >&5
19067 $as_echo_n "checking whether to look for SASL... " >&6; }
19069 if test "${with_sasl}" = "no"; then
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19071 $as_echo "no" >&6; }
19074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19075 $as_echo "yes" >&6; }
19076 saved_LDFLAGS="$LDFLAGS"
19077 saved_CPPFLAGS="$CPPFLAGS"
19079 if test "$with_sasl" = "yes"; then
19080 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking in default locations" >&5
19081 $as_echo "$as_me: Looking in default locations" >&6;}
19082 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
19083 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
19084 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
19085 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
19086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
19087 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
19088 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
19089 $as_echo_n "(cached) " >&6
19091 ac_check_lib_save_LIBS=$LIBS
19092 LIBS="-lsasl2 $LIBS"
19093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19094 /* end confdefs.h. */
19096 /* Override any GCC internal prototype to avoid an error.
19097 Use char because int might match the return type of a GCC
19098 builtin and then its argument prototype would still apply. */
19106 return prop_get ();
19111 if ac_fn_c_try_link "$LINENO"; then :
19112 ac_cv_lib_sasl2_prop_get=yes
19114 ac_cv_lib_sasl2_prop_get=no
19116 rm -f core conftest.err conftest.$ac_objext \
19117 conftest$ac_exeext conftest.$ac_ext
19118 LIBS=$ac_check_lib_save_LIBS
19120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
19121 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
19122 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
19138 if test "$svn_lib_sasl" = "no"; then
19139 with_sasl="/usr/local"
19145 if test "$svn_lib_sasl" = "no"; then
19146 SVN_SASL_INCLUDES="-I${with_sasl}/include"
19147 CPPFLAGS="$CPPFLAGS $SVN_SASL_INCLUDES"
19148 LDFLAGS="$LDFLAGS `
19149 input_flags="-L${with_sasl}/lib"
19151 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19152 for flag in $input_flags; do
19154 for dir in $filtered_dirs; do
19155 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
19160 if test "$filter" = "no"; then
19161 output_flags="$output_flags $flag"
19164 if test -n "$output_flags"; then
19165 printf "%s" "${output_flags# }"
19169 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
19170 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
19171 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
19172 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
19173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
19174 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
19175 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
19176 $as_echo_n "(cached) " >&6
19178 ac_check_lib_save_LIBS=$LIBS
19179 LIBS="-lsasl2 $LIBS"
19180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19181 /* end confdefs.h. */
19183 /* Override any GCC internal prototype to avoid an error.
19184 Use char because int might match the return type of a GCC
19185 builtin and then its argument prototype would still apply. */
19193 return prop_get ();
19198 if ac_fn_c_try_link "$LINENO"; then :
19199 ac_cv_lib_sasl2_prop_get=yes
19201 ac_cv_lib_sasl2_prop_get=no
19203 rm -f core conftest.err conftest.$ac_objext \
19204 conftest$ac_exeext conftest.$ac_ext
19205 LIBS=$ac_check_lib_save_LIBS
19207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
19208 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
19209 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
19227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Cyrus SASL v2" >&5
19228 $as_echo_n "checking for availability of Cyrus SASL v2... " >&6; }
19229 if test "$svn_lib_sasl" = "yes"; then
19230 SVN_SASL_LIBS="-lsasl2"
19231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19232 $as_echo "yes" >&6; }
19234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19235 $as_echo "no" >&6; }
19237 if test "$required" = "yes"; then
19238 as_fn_error $? "Could not find Cyrus SASL v2" "$LINENO" 5
19241 SVN_SASL_INCLUDES=""
19242 LDFLAGS="$saved_LDFLAGS"
19245 CPPFLAGS="$saved_CPPFLAGS"
19252 if test "$svn_lib_sasl" = "yes"; then
19254 $as_echo "#define SVN_HAVE_SASL 1" >>confdefs.h
19260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mach-O dynamic module iteration functions" >&5
19261 $as_echo_n "checking for Mach-O dynamic module iteration functions... " >&6; }
19262 if test "$cross_compiling" = yes; then :
19263 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
19264 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
19265 as_fn_error $? "cannot run test program while cross compiling
19266 See \`config.log' for more details" "$LINENO" 5; }
19268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19269 /* end confdefs.h. */
19271 #include <mach-o/dyld.h>
19272 #include <mach-o/loader.h>
19278 const struct mach_header *header = _dyld_get_image_header(0);
19279 const char *name = _dyld_get_image_name(0);
19280 if (name && header) return 0;
19287 if ac_fn_c_try_run "$LINENO"; then :
19290 $as_echo "#define SVN_HAVE_MACHO_ITERATE 1" >>confdefs.h
19292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19293 $as_echo "yes" >&6; }
19297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19298 $as_echo "no" >&6; }
19301 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19302 conftest.$ac_objext conftest.beam conftest.$ac_ext
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS property list utilities" >&5
19308 $as_echo_n "checking for Mac OS property list utilities... " >&6; }
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19313 #include <AvailabilityMacros.h>
19314 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
19315 || !defined(MAC_OS_X_VERSION_10_0) \
19316 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_0)
19317 #error ProperyList API unavailable.
19328 if ac_fn_c_try_compile "$LINENO"; then :
19331 LIBS="$LIBS -framework CoreFoundation"
19333 $as_echo "#define SVN_HAVE_MACOS_PLIST 1" >>confdefs.h
19335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19336 $as_echo "yes" >&6; }
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19341 $as_echo "no" >&6; }
19344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19347 # Check whether --enable-keychain was given.
19348 if test "${enable_keychain+set}" = set; then :
19349 enableval=$enable_keychain; enable_keychain=$enableval
19351 enable_keychain=yes
19355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS KeyChain Services" >&5
19356 $as_echo_n "checking for Mac OS KeyChain Services... " >&6; }
19358 if test "$enable_keychain" = "yes"; then
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19362 #include <AvailabilityMacros.h>
19363 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
19364 || !defined(MAC_OS_X_VERSION_10_2) \
19365 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2)
19366 #error KeyChain API unavailable.
19377 if ac_fn_c_try_compile "$LINENO"; then :
19379 LIBS="$LIBS -framework Security"
19380 LIBS="$LIBS -framework CoreServices"
19382 $as_echo "#define SVN_HAVE_KEYCHAIN_SERVICES 1" >>confdefs.h
19384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19385 $as_echo "yes" >&6; }
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19391 $as_echo "no" >&6; }
19394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether APR has support for DSOs" >&5
19400 $as_echo_n "checking whether APR has support for DSOs... " >&6; }
19401 old_CPPFLAGS="$CPPFLAGS"
19402 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
19403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19404 /* end confdefs.h. */
19411 if ac_fn_c_try_cpp "$LINENO"; then :
19413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19414 $as_echo "yes" >&6; }
19417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19418 $as_echo "no" >&6; }
19420 rm -f conftest.err conftest.i conftest.$ac_ext
19421 CPPFLAGS="$old_CPPFLAGS"
19425 if test -n "$PKG_CONFIG"; then
19426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus .pc file" >&5
19427 $as_echo_n "checking for D-Bus .pc file... " >&6; }
19428 if $PKG_CONFIG --exists dbus-1; then
19429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19430 $as_echo "yes" >&6; }
19431 old_CPPFLAGS="$CPPFLAGS"
19433 DBUS_CPPFLAGS="`$PKG_CONFIG --cflags dbus-1`"
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D-Bus version" >&5
19435 $as_echo_n "checking D-Bus version... " >&6; }
19436 DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1`"
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5
19438 $as_echo "$DBUS_VERSION" >&6; }
19439 # D-Bus 0.* requires DBUS_API_SUBJECT_TO_CHANGE
19440 if test -n "`echo "$DBUS_VERSION" | $EGREP '^0\.[[:digit:]]+'`"; then
19441 DBUS_CPPFLAGS="$DBUS_CPPFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
19443 DBUS_LIBS="`$PKG_CONFIG --libs dbus-1`"
19444 CPPFLAGS="$CPPFLAGS $DBUS_CPPFLAGS"
19445 LIBS="$LIBS $DBUS_LIBS"
19446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus" >&5
19447 $as_echo_n "checking for D-Bus... " >&6; }
19448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19449 /* end confdefs.h. */
19451 #include <dbus/dbus.h>
19453 {dbus_bus_get(DBUS_BUS_SESSION, NULL);}
19455 if ac_fn_c_try_link "$LINENO"; then :
19460 rm -f core conftest.err conftest.$ac_objext \
19461 conftest$ac_exeext conftest.$ac_ext
19462 if test "$HAVE_DBUS" = "yes"; then
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19464 $as_echo "yes" >&6; }
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19467 $as_echo "no" >&6; }
19469 CPPFLAGS="$old_CPPFLAGS"
19472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19473 $as_echo "no" >&6; }
19479 # Check whether --with-gpg_agent was given.
19480 if test "${with_gpg_agent+set}" = set; then :
19481 withval=$with_gpg_agent;
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support GPG-Agent" >&5
19487 $as_echo_n "checking whether to support GPG-Agent... " >&6; }
19488 if test "$with_gpg_agent" = "yes"; then
19489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19490 $as_echo "yes" >&6; }
19492 $as_echo "#define SVN_HAVE_GPG_AGENT 1" >>confdefs.h
19495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19496 $as_echo "no" >&6; }
19503 # Check whether --with-gnome_keyring was given.
19504 if test "${with_gnome_keyring+set}" = set; then :
19505 withval=$with_gnome_keyring; with_gnome_keyring="$withval"
19507 with_gnome_keyring=auto
19511 found_gnome_keyring=no
19512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for GNOME Keyring" >&5
19513 $as_echo_n "checking whether to look for GNOME Keyring... " >&6; }
19514 if test "$with_gnome_keyring" != "no"; then
19515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19516 $as_echo "yes" >&6; }
19519 if test "$with_gnome_keyring" = "yes"; then
19520 as_fn_error $? "--with-gnome-keyring is not supported on Mac OS X." "$LINENO" 5
19522 with_gnome_keyring=no
19526 if test "$svn_enable_shared" = "yes"; then
19527 if test "$APR_HAS_DSO" = "yes"; then
19528 if test -n "$PKG_CONFIG"; then
19529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLib and GNOME Keyring .pc files" >&5
19530 $as_echo_n "checking for GLib and GNOME Keyring .pc files... " >&6; }
19531 if $PKG_CONFIG --exists glib-2.0 gnome-keyring-1; then
19532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19533 $as_echo "yes" >&6; }
19534 old_CPPFLAGS="$CPPFLAGS"
19535 SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags glib-2.0 gnome-keyring-1`"
19536 CPPFLAGS="$CPPFLAGS $SVN_GNOME_KEYRING_INCLUDES"
19537 ac_fn_c_check_header_mongrel "$LINENO" "gnome-keyring.h" "ac_cv_header_gnome_keyring_h" "$ac_includes_default"
19538 if test "x$ac_cv_header_gnome_keyring_h" = xyes; then :
19539 found_gnome_keyring=yes
19541 found_gnome_keyring=no
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
19546 $as_echo_n "checking for GNOME Keyring... " >&6; }
19547 if test "$found_gnome_keyring" = "yes"; then
19548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19549 $as_echo "yes" >&6; }
19551 $as_echo "#define SVN_HAVE_GNOME_KEYRING 1" >>confdefs.h
19553 CPPFLAGS="$old_CPPFLAGS"
19554 SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
19556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19557 $as_echo "no" >&6; }
19558 if test "$with_gnome_keyring" = "yes"; then
19559 as_fn_error $? "cannot find GNOME Keyring" "$LINENO" 5
19563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19564 $as_echo "no" >&6; }
19565 if test "$with_gnome_keyring" = "yes"; then
19566 as_fn_error $? "cannot find GLib and GNOME Keyring .pc files." "$LINENO" 5
19568 with_gnome_keyring=no
19572 if test "$with_gnome_keyring" = "yes"; then
19573 as_fn_error $? "cannot find pkg-config. GNOME Keyring requires this." "$LINENO" 5
19575 with_gnome_keyring=no
19579 if test "$with_gnome_keyring" = "yes"; then
19580 as_fn_error $? "APR does not have support for DSOs. GNOME Keyring requires this." "$LINENO" 5
19582 with_gnome_keyring=no
19586 if test "$with_gnome_keyring" = "yes"; then
19587 as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
19589 with_gnome_keyring=no
19595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19596 $as_echo "no" >&6; }
19601 # Check whether --enable-gmock was given.
19602 if test "${enable_gmock+set}" = set; then :
19603 enableval=$enable_gmock;
19609 GMOCK_SRCDIR=$abs_srcdir/gmock-fused
19611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether use Googlemock" >&5
19612 $as_echo_n "checking whether use Googlemock... " >&6; }
19613 if test "$enable_gmock" != "no"; then
19614 if test -d "$GMOCK_SRCDIR"; then
19615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19616 $as_echo "yes" >&6; }
19619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19620 $as_echo "no" >&6; }
19621 SVN_USE_GMOCK=false
19624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19625 $as_echo "no" >&6; }
19626 SVN_USE_GMOCK_SOURCES=false
19630 # Check whether --enable-ev2-impl was given.
19631 if test "${enable_ev2_impl+set}" = set; then :
19632 enableval=$enable_ev2_impl; enable_ev2_impl=$enableval
19637 if test "$enable_ev2_impl" = "yes"; then
19639 $as_echo "#define ENABLE_EV2_IMPL 1" >>confdefs.h
19645 # Check whether --enable-nls was given.
19646 if test "${enable_nls+set}" = set; then :
19647 enableval=$enable_nls; enable_nls=$enableval
19655 if test "$enable_nls" = "yes"; then
19656 # Extract the first word of "msgfmt", so it can be a program name with args.
19657 set dummy msgfmt; ac_word=$2
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19659 $as_echo_n "checking for $ac_word... " >&6; }
19660 if ${ac_cv_path_MSGFMT+:} false; then :
19661 $as_echo_n "(cached) " >&6
19665 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
19668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19669 for as_dir in $PATH
19672 test -z "$as_dir" && as_dir=.
19673 for ac_exec_ext in '' $ac_executable_extensions; do
19674 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19675 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
19676 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19683 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="none"
19687 MSGFMT=$ac_cv_path_MSGFMT
19688 if test -n "$MSGFMT"; then
19689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
19690 $as_echo "$MSGFMT" >&6; }
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19693 $as_echo "no" >&6; }
19697 # Extract the first word of "msgmerge", so it can be a program name with args.
19698 set dummy msgmerge; ac_word=$2
19699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19700 $as_echo_n "checking for $ac_word... " >&6; }
19701 if ${ac_cv_path_MSGMERGE+:} false; then :
19702 $as_echo_n "(cached) " >&6
19706 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
19709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19710 for as_dir in $PATH
19713 test -z "$as_dir" && as_dir=.
19714 for ac_exec_ext in '' $ac_executable_extensions; do
19715 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19716 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
19717 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19724 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="none"
19728 MSGMERGE=$ac_cv_path_MSGMERGE
19729 if test -n "$MSGMERGE"; then
19730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
19731 $as_echo "$MSGMERGE" >&6; }
19733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19734 $as_echo "no" >&6; }
19738 # Extract the first word of "xgettext", so it can be a program name with args.
19739 set dummy xgettext; ac_word=$2
19740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19741 $as_echo_n "checking for $ac_word... " >&6; }
19742 if ${ac_cv_path_XGETTEXT+:} false; then :
19743 $as_echo_n "(cached) " >&6
19747 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
19750 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19751 for as_dir in $PATH
19754 test -z "$as_dir" && as_dir=.
19755 for ac_exec_ext in '' $ac_executable_extensions; do
19756 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19757 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
19758 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19765 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="none"
19769 XGETTEXT=$ac_cv_path_XGETTEXT
19770 if test -n "$XGETTEXT"; then
19771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
19772 $as_echo "$XGETTEXT" >&6; }
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19775 $as_echo "no" >&6; }
19779 if test "$MSGFMT" != "none"; then
19780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19781 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19782 if ${ac_cv_search_bindtextdomain+:} false; then :
19783 $as_echo_n "(cached) " >&6
19785 ac_func_search_save_LIBS=$LIBS
19786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19787 /* end confdefs.h. */
19789 /* Override any GCC internal prototype to avoid an error.
19790 Use char because int might match the return type of a GCC
19791 builtin and then its argument prototype would still apply. */
19795 char bindtextdomain ();
19799 return bindtextdomain ();
19804 for ac_lib in '' intl; do
19805 if test -z "$ac_lib"; then
19806 ac_res="none required"
19809 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19811 if ac_fn_c_try_link "$LINENO"; then :
19812 ac_cv_search_bindtextdomain=$ac_res
19814 rm -f core conftest.err conftest.$ac_objext \
19816 if ${ac_cv_search_bindtextdomain+:} false; then :
19820 if ${ac_cv_search_bindtextdomain+:} false; then :
19823 ac_cv_search_bindtextdomain=no
19825 rm conftest.$ac_ext
19826 LIBS=$ac_func_search_save_LIBS
19828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19829 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19830 ac_res=$ac_cv_search_bindtextdomain
19831 if test "$ac_res" != no; then :
19832 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19834 # in case libintl needs to be linked explicitly,
19835 # $ac_cv_search_bindtextdomain contains -l linker flags
19836 if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
19838 SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
19847 if test "$enable_nls" = "no"; then
19848 # Destroy the cached result so we can test again
19849 unset ac_cv_search_bindtextdomain
19850 # On some systems, libintl needs libiconv to link properly,
19851 # so try again with -liconv.
19852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19853 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19854 if ${ac_cv_search_bindtextdomain+:} false; then :
19855 $as_echo_n "(cached) " >&6
19857 ac_func_search_save_LIBS=$LIBS
19858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19859 /* end confdefs.h. */
19861 /* Override any GCC internal prototype to avoid an error.
19862 Use char because int might match the return type of a GCC
19863 builtin and then its argument prototype would still apply. */
19867 char bindtextdomain ();
19871 return bindtextdomain ();
19876 for ac_lib in '' intl; do
19877 if test -z "$ac_lib"; then
19878 ac_res="none required"
19881 LIBS="-l$ac_lib -liconv $ac_func_search_save_LIBS"
19883 if ac_fn_c_try_link "$LINENO"; then :
19884 ac_cv_search_bindtextdomain=$ac_res
19886 rm -f core conftest.err conftest.$ac_objext \
19888 if ${ac_cv_search_bindtextdomain+:} false; then :
19892 if ${ac_cv_search_bindtextdomain+:} false; then :
19895 ac_cv_search_bindtextdomain=no
19897 rm conftest.$ac_ext
19898 LIBS=$ac_func_search_save_LIBS
19900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19901 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19902 ac_res=$ac_cv_search_bindtextdomain
19903 if test "$ac_res" != no; then :
19904 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19907 if echo "$ac_cv_search_bindtextdomain" | grep '^-l' >/dev/null
19909 SVN_INTL_LIBS="$ac_cv_search_bindtextdomain"
19911 # This is here so that -liconv ends up in LIBS
19912 # if it worked with -liconv.
19913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
19914 $as_echo_n "checking for libiconv_open in -liconv... " >&6; }
19915 if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
19916 $as_echo_n "(cached) " >&6
19918 ac_check_lib_save_LIBS=$LIBS
19919 LIBS="-liconv $LIBS"
19920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19921 /* end confdefs.h. */
19923 /* Override any GCC internal prototype to avoid an error.
19924 Use char because int might match the return type of a GCC
19925 builtin and then its argument prototype would still apply. */
19929 char libiconv_open ();
19933 return libiconv_open ();
19938 if ac_fn_c_try_link "$LINENO"; then :
19939 ac_cv_lib_iconv_libiconv_open=yes
19941 ac_cv_lib_iconv_libiconv_open=no
19943 rm -f core conftest.err conftest.$ac_objext \
19944 conftest$ac_exeext conftest.$ac_ext
19945 LIBS=$ac_check_lib_save_LIBS
19947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
19948 $as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
19949 if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
19950 cat >>confdefs.h <<_ACEOF
19951 #define HAVE_LIBICONV 1
19954 LIBS="-liconv $LIBS"
19961 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bindtextdomain() not found. Disabling NLS." >&5
19962 $as_echo "$as_me: WARNING: bindtextdomain() not found. Disabling NLS." >&2;}
19968 if test "$enable_nls" = "yes"; then
19970 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
19982 NO_GETTEXT_CODESET=\#
19983 if test $USE_NLS = "yes"; then
19984 for ac_func in bind_textdomain_codeset
19986 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19987 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19988 cat >>confdefs.h <<_ACEOF
19989 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19993 NO_GETTEXT_CODESET=""
20001 # Check if we are using GNU gettext.
20004 if test $USE_NLS = "yes"; then
20005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using GNU gettext" >&5
20006 $as_echo_n "checking if we are using GNU gettext... " >&6; }
20007 if $MSGFMT --version 2>&1 | $EGREP GNU > /dev/null; then
20011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNU_GETTEXT" >&5
20012 $as_echo "$GNU_GETTEXT" >&6; }
20020 # Check whether --with-libmagic was given.
20021 if test "${with_libmagic+set}" = set; then :
20022 withval=$with_libmagic;
20023 if test "$withval" = "yes" ; then
20024 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20025 if test "x$ac_cv_header_magic_h" = xyes; then :
20027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20028 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20029 if ${ac_cv_lib_magic_magic_open+:} false; then :
20030 $as_echo_n "(cached) " >&6
20032 ac_check_lib_save_LIBS=$LIBS
20033 LIBS="-lmagic $LIBS"
20034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20035 /* end confdefs.h. */
20037 /* Override any GCC internal prototype to avoid an error.
20038 Use char because int might match the return type of a GCC
20039 builtin and then its argument prototype would still apply. */
20043 char magic_open ();
20047 return magic_open ();
20052 if ac_fn_c_try_link "$LINENO"; then :
20053 ac_cv_lib_magic_magic_open=yes
20055 ac_cv_lib_magic_magic_open=no
20057 rm -f core conftest.err conftest.$ac_objext \
20058 conftest$ac_exeext conftest.$ac_ext
20059 LIBS=$ac_check_lib_save_LIBS
20061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20062 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20063 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20064 libmagic_found="builtin"
20071 libmagic_prefix="the default locations"
20072 elif test "$withval" != "no"; then
20073 libmagic_prefix=$withval
20074 save_cppflags="$CPPFLAGS"
20075 CPPFLAGS="$CPPFLAGS -I$libmagic_prefix/include"
20076 for ac_header in magic.h
20078 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20079 if test "x$ac_cv_header_magic_h" = xyes; then :
20080 cat >>confdefs.h <<_ACEOF
20081 #define HAVE_MAGIC_H 1
20084 save_ldflags="$LDFLAGS"
20085 LDFLAGS="-L$libmagic_prefix/lib $LDFLAGS"
20086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20087 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20088 if ${ac_cv_lib_magic_magic_open+:} false; then :
20089 $as_echo_n "(cached) " >&6
20091 ac_check_lib_save_LIBS=$LIBS
20092 LIBS="-lmagic $LIBS"
20093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20094 /* end confdefs.h. */
20096 /* Override any GCC internal prototype to avoid an error.
20097 Use char because int might match the return type of a GCC
20098 builtin and then its argument prototype would still apply. */
20102 char magic_open ();
20106 return magic_open ();
20111 if ac_fn_c_try_link "$LINENO"; then :
20112 ac_cv_lib_magic_magic_open=yes
20114 ac_cv_lib_magic_magic_open=no
20116 rm -f core conftest.err conftest.$ac_objext \
20117 conftest$ac_exeext conftest.$ac_ext
20118 LIBS=$ac_check_lib_save_LIBS
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20121 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20122 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20123 libmagic_found="yes"
20126 LDFLAGS="$save_ldflags"
20132 CPPFLAGS="$save_cppflags"
20134 if test "$withval" != "no" && test "$libmagic_found" = "no"; then
20135 as_fn_error $? "--with-libmagic requested, but libmagic not found at $libmagic_prefix" "$LINENO" 5
20140 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
20141 if test "x$ac_cv_header_magic_h" = xyes; then :
20143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
20144 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
20145 if ${ac_cv_lib_magic_magic_open+:} false; then :
20146 $as_echo_n "(cached) " >&6
20148 ac_check_lib_save_LIBS=$LIBS
20149 LIBS="-lmagic $LIBS"
20150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20151 /* end confdefs.h. */
20153 /* Override any GCC internal prototype to avoid an error.
20154 Use char because int might match the return type of a GCC
20155 builtin and then its argument prototype would still apply. */
20159 char magic_open ();
20163 return magic_open ();
20168 if ac_fn_c_try_link "$LINENO"; then :
20169 ac_cv_lib_magic_magic_open=yes
20171 ac_cv_lib_magic_magic_open=no
20173 rm -f core conftest.err conftest.$ac_objext \
20174 conftest$ac_exeext conftest.$ac_ext
20175 LIBS=$ac_check_lib_save_LIBS
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
20178 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
20179 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
20180 libmagic_found="builtin"
20191 if test "$libmagic_found" != "no"; then
20193 $as_echo "#define SVN_HAVE_LIBMAGIC 1" >>confdefs.h
20195 SVN_MAGIC_LIBS="-lmagic"
20198 if test "$libmagic_found" = "yes"; then
20199 SVN_MAGIC_INCLUDES="-I$libmagic_prefix/include"
20200 LDFLAGS="$LDFLAGS `
20201 input_flags="-L$libmagic_prefix/lib"
20203 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
20204 for flag in $input_flags; do
20206 for dir in $filtered_dirs; do
20207 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
20212 if test "$filter" = "no"; then
20213 output_flags="$output_flags $flag"
20216 if test -n "$output_flags"; then
20217 printf "%s" "${output_flags# }"
20227 # Check whether --with-kwallet was given.
20228 if test "${with_kwallet+set}" = set; then :
20229 withval=$with_kwallet; svn_lib_kwallet="$withval"
20235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for KWallet" >&5
20236 $as_echo_n "checking whether to look for KWallet... " >&6; }
20237 if test "$svn_lib_kwallet" != "no"; then
20238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20239 $as_echo "yes" >&6; }
20242 as_fn_error $? "--with-kwallet is not supported on Mac OS X." "$LINENO" 5
20245 if test "$svn_enable_shared" = "yes"; then
20246 if test "$APR_HAS_DSO" = "yes"; then
20247 if test -n "$PKG_CONFIG"; then
20248 if test "$HAVE_DBUS" = "yes"; then
20249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore, QtDBus, QtGui" >&5
20250 $as_echo_n "checking for QtCore, QtDBus, QtGui... " >&6; }
20251 if $PKG_CONFIG --exists QtCore QtDBus QtGui; then
20252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20253 $as_echo "yes" >&6; }
20254 if test "$svn_lib_kwallet" != "yes"; then
20255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
20256 $as_echo_n "checking for kde4-config... " >&6; }
20257 KDE4_CONFIG="$svn_lib_kwallet/bin/kde4-config"
20258 if test -f "$KDE4_CONFIG" && test -x "$KDE4_CONFIG"; then
20259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20260 $as_echo "yes" >&6; }
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20264 $as_echo "no" >&6; }
20267 # Extract the first word of "kde4-config", so it can be a program name with args.
20268 set dummy kde4-config; ac_word=$2
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
20270 $as_echo_n "checking for $ac_word... " >&6; }
20271 if ${ac_cv_path_KDE4_CONFIG+:} false; then :
20272 $as_echo_n "(cached) " >&6
20274 case $KDE4_CONFIG in
20276 ac_cv_path_KDE4_CONFIG="$KDE4_CONFIG" # Let the user override the test with a path.
20279 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
20280 for as_dir in $PATH
20283 test -z "$as_dir" && as_dir=.
20284 for ac_exec_ext in '' $ac_executable_extensions; do
20285 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
20286 ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
20287 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
20297 KDE4_CONFIG=$ac_cv_path_KDE4_CONFIG
20298 if test -n "$KDE4_CONFIG"; then
20299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
20300 $as_echo "$KDE4_CONFIG" >&6; }
20302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20303 $as_echo "no" >&6; }
20308 if test -n "$KDE4_CONFIG"; then
20309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
20310 $as_echo_n "checking for KWallet... " >&6; }
20311 old_CXXFLAGS="$CXXFLAGS"
20312 old_LDFLAGS="$LDFLAGS"
20314 for d in `$PKG_CONFIG --cflags QtCore QtDBus QtGui`; do
20315 if test -n "`echo "$d" | $EGREP -- '^-D[^[:space:]]*'`"; then
20316 CPPFLAGS="$CPPFLAGS $d"
20319 qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
20320 kde_incdir="`$KDE4_CONFIG --install include`"
20321 SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_incdir"
20322 qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
20323 SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
20324 CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
20325 LIBS="$LIBS $SVN_KWALLET_LIBS"
20326 qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
20327 kde_libdir="`$KDE4_CONFIG --install lib`"
20328 LDFLAGS="$old_LDFLAGS `
20329 input_flags="$qt_lib_dirs -L$kde_libdir"
20331 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
20332 for flag in $input_flags; do
20334 for dir in $filtered_dirs; do
20335 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
20340 if test "$filter" = "no"; then
20341 output_flags="$output_flags $flag"
20344 if test -n "$output_flags"; then
20345 printf "%s" "${output_flags# }"
20349 ac_cpp='$CXXCPP $CPPFLAGS'
20350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20355 /* end confdefs.h. */
20357 #include <kwallet.h>
20359 {KWallet::Wallet::walletList();}
20361 if ac_fn_cxx_try_link "$LINENO"; then :
20362 svn_lib_kwallet="yes"
20364 svn_lib_kwallet="no"
20366 rm -f core conftest.err conftest.$ac_objext \
20367 conftest$ac_exeext conftest.$ac_ext
20369 ac_cpp='$CPP $CPPFLAGS'
20370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20374 if test "$svn_lib_kwallet" = "yes"; then
20375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20376 $as_echo "yes" >&6; }
20377 CXXFLAGS="$old_CXXFLAGS"
20380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20381 $as_echo "no" >&6; }
20382 as_fn_error $? "cannot find KWallet" "$LINENO" 5
20385 as_fn_error $? "cannot find kde4-config" "$LINENO" 5
20388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20389 $as_echo "no" >&6; }
20390 as_fn_error $? "cannot find QtCore, QtDBus, QtGui" "$LINENO" 5
20393 as_fn_error $? "cannot find D-Bus" "$LINENO" 5
20396 as_fn_error $? "cannot find pkg-config" "$LINENO" 5
20399 as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
20402 as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20408 $as_echo "no" >&6; }
20414 if test "$svn_lib_kwallet" = "yes"; then
20416 $as_echo "#define SVN_HAVE_KWALLET 1" >>confdefs.h
20420 # Check whether --enable-plaintext-password-storage was given.
20421 if test "${enable_plaintext_password_storage+set}" = set; then :
20422 enableval=$enable_plaintext_password_storage;
20423 if test "$enableval" = "no"; then
20424 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling plaintext password/passphrase storage" >&5
20425 $as_echo "$as_me: Disabling plaintext password/passphrase storage" >&6;}
20427 $as_echo "#define SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE 1" >>confdefs.h
20435 INSTALL_STATIC_RULES="install-bin install-docs"
20436 INSTALL_RULES="install-fsmod-lib install-ramod-lib install-lib install-include install-static"
20437 INSTALL_RULES="$INSTALL_RULES $INSTALL_APACHE_RULE"
20438 BUILD_RULES="fsmod-lib ramod-lib lib bin test sub-test $BUILD_APACHE_RULE tools"
20440 if test "$svn_lib_berkeley_db" = "yes"; then
20441 BUILD_RULES="$BUILD_RULES bdb-lib bdb-test"
20442 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-fsmod-lib/install-fsmod-lib install-bdb-lib/'`"
20443 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-bdb-lib"
20444 BDB_TEST_DEPS="\$(BDB_TEST_DEPS)"
20445 BDB_TEST_PROGRAMS="\$(BDB_TEST_PROGRAMS)"
20448 if test "$svn_lib_serf" = "yes"; then
20449 BUILD_RULES="$BUILD_RULES serf-lib"
20450 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-ramod-lib/install-ramod-lib install-serf-lib/'`"
20451 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-serf-lib"
20454 if test "$svn_lib_kwallet" = "yes"; then
20455 BUILD_RULES="$BUILD_RULES kwallet-lib"
20456 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-kwallet-lib/'`"
20457 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-kwallet-lib"
20460 if test "$found_gnome_keyring" = "yes"; then
20461 BUILD_RULES="$BUILD_RULES gnome-keyring-lib"
20462 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-gnome-keyring-lib/'`"
20463 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-gnome-keyring-lib"
20466 if test "$USE_NLS" = "yes"; then
20467 BUILD_RULES="$BUILD_RULES locale"
20468 INSTALL_RULES="$INSTALL_RULES install-locale"
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
20479 $as_echo_n "checking for ANSI C header files... " >&6; }
20480 if ${ac_cv_header_stdc+:} false; then :
20481 $as_echo_n "(cached) " >&6
20483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20484 /* end confdefs.h. */
20485 #include <stdlib.h>
20486 #include <stdarg.h>
20487 #include <string.h>
20498 if ac_fn_c_try_compile "$LINENO"; then :
20499 ac_cv_header_stdc=yes
20501 ac_cv_header_stdc=no
20503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20505 if test $ac_cv_header_stdc = yes; then
20506 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
20507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20508 /* end confdefs.h. */
20509 #include <string.h>
20512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20513 $EGREP "memchr" >/dev/null 2>&1; then :
20516 ac_cv_header_stdc=no
20522 if test $ac_cv_header_stdc = yes; then
20523 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
20524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20525 /* end confdefs.h. */
20526 #include <stdlib.h>
20529 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20530 $EGREP "free" >/dev/null 2>&1; then :
20533 ac_cv_header_stdc=no
20539 if test $ac_cv_header_stdc = yes; then
20540 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
20541 if test "$cross_compiling" = yes; then :
20544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20545 /* end confdefs.h. */
20547 #include <stdlib.h>
20548 #if ((' ' & 0x0FF) == 0x020)
20549 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
20550 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
20552 # define ISLOWER(c) \
20553 (('a' <= (c) && (c) <= 'i') \
20554 || ('j' <= (c) && (c) <= 'r') \
20555 || ('s' <= (c) && (c) <= 'z'))
20556 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
20559 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
20564 for (i = 0; i < 256; i++)
20565 if (XOR (islower (i), ISLOWER (i))
20566 || toupper (i) != TOUPPER (i))
20571 if ac_fn_c_try_run "$LINENO"; then :
20574 ac_cv_header_stdc=no
20576 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20577 conftest.$ac_objext conftest.beam conftest.$ac_ext
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
20583 $as_echo "$ac_cv_header_stdc" >&6; }
20584 if test $ac_cv_header_stdc = yes; then
20586 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
20592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
20593 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
20594 if ${ac_cv_c_const+:} false; then :
20595 $as_echo_n "(cached) " >&6
20597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20598 /* end confdefs.h. */
20604 #ifndef __cplusplus
20605 /* Ultrix mips cc rejects this sort of thing. */
20606 typedef int charset[2];
20607 const charset cs = { 0, 0 };
20608 /* SunOS 4.1.1 cc rejects this. */
20609 char const *const *pcpcc;
20611 /* NEC SVR4.0.2 mips cc rejects this. */
20612 struct point {int x, y;};
20613 static struct point const zero = {0,0};
20614 /* AIX XL C 1.02.0.0 rejects this.
20615 It does not let you subtract one const X* pointer from another in
20616 an arm of an if-expression whose if-part is not a constant
20618 const char *g = "string";
20619 pcpcc = &g + (g ? g-g : 0);
20620 /* HPUX 7.0 cc rejects these. */
20622 ppc = (char**) pcpcc;
20623 pcpcc = (char const *const *) ppc;
20624 { /* SCO 3.2v4 cc rejects this sort of thing. */
20627 char const *s = 0 ? (char *) 0 : (char const *) 0;
20632 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
20633 int x[] = {25, 17};
20634 const int *foo = &x[0];
20637 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
20638 typedef const int *iptr;
20642 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
20643 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
20644 struct s { int j; const int *ap[3]; } bx;
20645 struct s *b = &bx; b->j = 5;
20647 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
20648 const int foo = 10;
20649 if (!foo) return 0;
20651 return !cs[0] && !zero.x;
20658 if ac_fn_c_try_compile "$LINENO"; then :
20663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
20666 $as_echo "$ac_cv_c_const" >&6; }
20667 if test $ac_cv_c_const = no; then
20669 $as_echo "#define const /**/" >>confdefs.h
20674 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
20675 if test "x$ac_cv_type_size_t" = xyes; then :
20679 cat >>confdefs.h <<_ACEOF
20680 #define size_t unsigned int
20688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
20689 $as_echo_n "checking for working memcmp... " >&6; }
20690 if ${ac_cv_func_memcmp_working+:} false; then :
20691 $as_echo_n "(cached) " >&6
20693 if test "$cross_compiling" = yes; then :
20694 ac_cv_func_memcmp_working=no
20696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20697 /* end confdefs.h. */
20698 $ac_includes_default
20703 /* Some versions of memcmp are not 8-bit clean. */
20704 char c0 = '\100', c1 = '\200', c2 = '\201';
20705 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
20708 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
20709 or more and with at least one buffer not starting on a 4-byte boundary.
20710 William Lewis provided this test program. */
20715 for (i = 0; i < 4; i++)
20719 strcpy (a, "--------01111111");
20720 strcpy (b, "--------10000000");
20721 if (memcmp (a, b, 16) >= 0)
20731 if ac_fn_c_try_run "$LINENO"; then :
20732 ac_cv_func_memcmp_working=yes
20734 ac_cv_func_memcmp_working=no
20736 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
20737 conftest.$ac_objext conftest.beam conftest.$ac_ext
20741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
20742 $as_echo "$ac_cv_func_memcmp_working" >&6; }
20743 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
20744 *" memcmp.$ac_objext "* ) ;;
20745 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
20751 for ac_func in vprintf
20753 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
20754 if test "x$ac_cv_func_vprintf" = xyes; then :
20755 cat >>confdefs.h <<_ACEOF
20756 #define HAVE_VPRINTF 1
20759 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
20760 if test "x$ac_cv_func__doprnt" = xyes; then :
20762 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
20771 for ac_func in symlink readlink
20773 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20774 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20775 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20776 cat >>confdefs.h <<_ACEOF
20777 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20784 for ac_header in sys/utsname.h
20786 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
20787 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
20788 cat >>confdefs.h <<_ACEOF
20789 #define HAVE_SYS_UTSNAME_H 1
20791 for ac_func in uname
20793 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
20794 if test "x$ac_cv_func_uname" = xyes; then :
20795 cat >>confdefs.h <<_ACEOF
20796 #define HAVE_UNAME 1
20807 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
20808 if test "x$ac_cv_header_termios_h" = xyes; then :
20810 for ac_func in tcgetattr tcsetattr
20812 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
20813 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
20814 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
20815 cat >>confdefs.h <<_ACEOF
20816 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
20820 $as_echo "#define HAVE_TERMIOS_H 1" >>confdefs.h
20832 # Check whether --enable-debug was given.
20833 if test "${enable_debug+set}" = set; then :
20834 enableval=$enable_debug;
20835 if test "$enableval" = "yes" ; then
20836 enable_debugging="yes"
20838 enable_debugging="no"
20843 # Neither --enable-debug nor --disable-debug was passed.
20844 enable_debugging="maybe"
20849 # Check whether --enable-optimize was given.
20850 if test "${enable_optimize+set}" = set; then :
20851 enableval=$enable_optimize;
20852 if test "$enableval" = "yes" ; then
20853 enable_optimization="yes"
20855 enable_optimization="no"
20860 # Neither --enable-optimize nor --disable-optimize was passed.
20861 enable_optimization="maybe"
20866 # Check whether --enable-disallowing-of-undefined-references was given.
20867 if test "${enable_disallowing_of_undefined_references+set}" = set; then :
20868 enableval=$enable_disallowing_of_undefined_references;
20871 if test "$enable_disallowing_of_undefined_references" != "yes" && test "`uname`" != "Linux"; then
20872 enable_disallowing_of_undefined_references="no"
20874 if test "$enable_disallowing_of_undefined_references" != "no"; then
20875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-undefined" >&5
20876 $as_echo_n "checking for -Wl,--no-undefined... " >&6; }
20877 old_LDFLAGS="$LDFLAGS"
20878 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
20879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20880 /* end confdefs.h. */
20883 if ac_fn_c_try_link "$LINENO"; then :
20884 svn_wl_no_undefined="yes"
20886 svn_wl_no_undefined="no"
20888 rm -f core conftest.err conftest.$ac_objext \
20889 conftest$ac_exeext conftest.$ac_ext
20890 LDFLAGS="$old_LDFLAGS"
20891 if test "$svn_wl_no_undefined" = "yes"; then
20892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20893 $as_echo "yes" >&6; }
20894 for library_dir in "$abs_srcdir/subversion/libsvn_"*; do
20895 eval "`basename $library_dir`_LDFLAGS=-Wl,--no-undefined"
20898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20899 $as_echo "no" >&6; }
20900 if test "$enable_disallowing_of_undefined_references" = "yes"; then
20901 as_fn_error $? "--enable-disallowing-of-undefined-references explicitly requested, but -Wl,--no-undefined not supported" "$LINENO" 5
20923 # Check whether --enable-maintainer-mode was given.
20924 if test "${enable_maintainer_mode+set}" = set; then :
20925 enableval=$enable_maintainer_mode;
20926 if test "$enableval" = "yes" ; then
20927 if test "$enable_debugging" = "no" ; then
20928 as_fn_error $? "Can't have --disable-debug and --enable-maintainer-mode" "$LINENO" 5
20930 enable_debugging=yes
20932 if test "$GCC" = "yes"; then
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding GCC warning flags" >&5
20934 $as_echo "$as_me: maintainer-mode: adding GCC warning flags" >&6;}
20937 CFLAGS_KEEP="$CFLAGS"
20941 _svn_xxflags__save="$CFLAGS"
20943 ac_cpp='$CPP $CPPFLAGS'
20944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=implicit-function-declaration" >&5
20949 $as_echo_n "checking if $CC accepts -Werror=implicit-function-declaration... " >&6; }
20950 CFLAGS="-Werror=implicit-function-declaration $CFLAGS"
20951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20952 /* end confdefs.h. */
20953 int main(void){return 0;}
20955 if ac_fn_c_try_link "$LINENO"; then :
20957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20958 $as_echo "yes" >&6; }
20963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20964 $as_echo "no" >&6; }
20965 CFLAGS="$_svn_xxflags__save"
20969 rm -f core conftest.err conftest.$ac_objext \
20970 conftest$ac_exeext conftest.$ac_ext
20972 ac_cpp='$CPP $CPPFLAGS'
20973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20979 _svn_xxflags__save="$CFLAGS"
20981 ac_cpp='$CPP $CPPFLAGS'
20982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=declaration-after-statement" >&5
20987 $as_echo_n "checking if $CC accepts -Werror=declaration-after-statement... " >&6; }
20988 CFLAGS="-Werror=declaration-after-statement $CFLAGS"
20989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20990 /* end confdefs.h. */
20991 int main(void){return 0;}
20993 if ac_fn_c_try_link "$LINENO"; then :
20995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20996 $as_echo "yes" >&6; }
21001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21002 $as_echo "no" >&6; }
21003 CFLAGS="$_svn_xxflags__save"
21007 rm -f core conftest.err conftest.$ac_objext \
21008 conftest$ac_exeext conftest.$ac_ext
21010 ac_cpp='$CPP $CPPFLAGS'
21011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21017 _svn_xxflags__save="$CFLAGS"
21019 ac_cpp='$CPP $CPPFLAGS'
21020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wextra-tokens" >&5
21025 $as_echo_n "checking if $CC accepts -Wextra-tokens... " >&6; }
21026 CFLAGS="-Wextra-tokens $CFLAGS"
21027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21028 /* end confdefs.h. */
21029 int main(void){return 0;}
21031 if ac_fn_c_try_link "$LINENO"; then :
21033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21034 $as_echo "yes" >&6; }
21039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21040 $as_echo "no" >&6; }
21041 CFLAGS="$_svn_xxflags__save"
21045 rm -f core conftest.err conftest.$ac_objext \
21046 conftest$ac_exeext conftest.$ac_ext
21048 ac_cpp='$CPP $CPPFLAGS'
21049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21055 _svn_xxflags__save="$CFLAGS"
21057 ac_cpp='$CPP $CPPFLAGS'
21058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wnewline-eof" >&5
21063 $as_echo_n "checking if $CC accepts -Wnewline-eof... " >&6; }
21064 CFLAGS="-Wnewline-eof $CFLAGS"
21065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21066 /* end confdefs.h. */
21067 int main(void){return 0;}
21069 if ac_fn_c_try_link "$LINENO"; then :
21071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21072 $as_echo "yes" >&6; }
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21078 $as_echo "no" >&6; }
21079 CFLAGS="$_svn_xxflags__save"
21083 rm -f core conftest.err conftest.$ac_objext \
21084 conftest$ac_exeext conftest.$ac_ext
21086 ac_cpp='$CPP $CPPFLAGS'
21087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21093 _svn_xxflags__save="$CFLAGS"
21095 ac_cpp='$CPP $CPPFLAGS'
21096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wshorten-64-to-32" >&5
21101 $as_echo_n "checking if $CC accepts -Wshorten-64-to-32... " >&6; }
21102 CFLAGS="-Wshorten-64-to-32 $CFLAGS"
21103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21104 /* end confdefs.h. */
21105 int main(void){return 0;}
21107 if ac_fn_c_try_link "$LINENO"; then :
21109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21110 $as_echo "yes" >&6; }
21115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21116 $as_echo "no" >&6; }
21117 CFLAGS="$_svn_xxflags__save"
21121 rm -f core conftest.err conftest.$ac_objext \
21122 conftest$ac_exeext conftest.$ac_ext
21124 ac_cpp='$CPP $CPPFLAGS'
21125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21131 _svn_xxflags__save="$CFLAGS"
21133 ac_cpp='$CPP $CPPFLAGS'
21134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wold-style-definition" >&5
21139 $as_echo_n "checking if $CC accepts -Wold-style-definition... " >&6; }
21140 CFLAGS="-Wold-style-definition $CFLAGS"
21141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21142 /* end confdefs.h. */
21143 int main(void){return 0;}
21145 if ac_fn_c_try_link "$LINENO"; then :
21147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21148 $as_echo "yes" >&6; }
21153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21154 $as_echo "no" >&6; }
21155 CFLAGS="$_svn_xxflags__save"
21159 rm -f core conftest.err conftest.$ac_objext \
21160 conftest$ac_exeext conftest.$ac_ext
21162 ac_cpp='$CPP $CPPFLAGS'
21163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21169 _svn_xxflags__save="$CFLAGS"
21171 ac_cpp='$CPP $CPPFLAGS'
21172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-system-headers" >&5
21177 $as_echo_n "checking if $CC accepts -Wno-system-headers... " >&6; }
21178 CFLAGS="-Wno-system-headers $CFLAGS"
21179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21180 /* end confdefs.h. */
21181 int main(void){return 0;}
21183 if ac_fn_c_try_link "$LINENO"; then :
21185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21186 $as_echo "yes" >&6; }
21191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21192 $as_echo "no" >&6; }
21193 CFLAGS="$_svn_xxflags__save"
21197 rm -f core conftest.err conftest.$ac_objext \
21198 conftest$ac_exeext conftest.$ac_ext
21200 ac_cpp='$CPP $CPPFLAGS'
21201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21207 _svn_xxflags__save="$CFLAGS"
21209 ac_cpp='$CPP $CPPFLAGS'
21210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-format-nonliteral" >&5
21215 $as_echo_n "checking if $CC accepts -Wno-format-nonliteral... " >&6; }
21216 CFLAGS="-Wno-format-nonliteral $CFLAGS"
21217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21218 /* end confdefs.h. */
21219 int main(void){return 0;}
21221 if ac_fn_c_try_link "$LINENO"; then :
21223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21224 $as_echo "yes" >&6; }
21229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21230 $as_echo "no" >&6; }
21231 CFLAGS="$_svn_xxflags__save"
21235 rm -f core conftest.err conftest.$ac_objext \
21236 conftest$ac_exeext conftest.$ac_ext
21238 ac_cpp='$CPP $CPPFLAGS'
21239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21245 _svn_xxflags__save="$CFLAGS"
21247 ac_cpp='$CPP $CPPFLAGS'
21248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wmissing-variable-declarations" >&5
21253 $as_echo_n "checking if $CC accepts -Wmissing-variable-declarations... " >&6; }
21254 CFLAGS="-Wmissing-variable-declarations $CFLAGS"
21255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21256 /* end confdefs.h. */
21257 int main(void){return 0;}
21259 if ac_fn_c_try_link "$LINENO"; then :
21261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21262 $as_echo "yes" >&6; }
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21268 $as_echo "no" >&6; }
21269 CFLAGS="$_svn_xxflags__save"
21273 rm -f core conftest.err conftest.$ac_objext \
21274 conftest$ac_exeext conftest.$ac_ext
21276 ac_cpp='$CPP $CPPFLAGS'
21277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21283 CMAINTAINERFLAGS="$CFLAGS"
21284 CFLAGS="$CFLAGS_KEEP"
21286 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"
21288 if test "$GXX" = "yes"; then
21289 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding G++ warning flags" >&5
21290 $as_echo "$as_me: maintainer-mode: adding G++ warning flags" >&6;}
21292 CXXFLAGS_KEEP="$CXXFLAGS"
21296 _svn_xxflags__save="$CXXFLAGS"
21298 ac_cpp='$CXXCPP $CPPFLAGS'
21299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wextra-tokens" >&5
21304 $as_echo_n "checking if $CXX accepts -Wextra-tokens... " >&6; }
21305 CXXFLAGS="-Wextra-tokens $CXXFLAGS"
21306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21307 /* end confdefs.h. */
21310 if ac_fn_cxx_try_link "$LINENO"; then :
21312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21313 $as_echo "yes" >&6; }
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21319 $as_echo "no" >&6; }
21320 CXXFLAGS="$_svn_xxflags__save"
21324 rm -f core conftest.err conftest.$ac_objext \
21325 conftest$ac_exeext conftest.$ac_ext
21327 ac_cpp='$CPP $CPPFLAGS'
21328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21334 _svn_xxflags__save="$CXXFLAGS"
21336 ac_cpp='$CXXCPP $CPPFLAGS'
21337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wnewline-eof" >&5
21342 $as_echo_n "checking if $CXX accepts -Wnewline-eof... " >&6; }
21343 CXXFLAGS="-Wnewline-eof $CXXFLAGS"
21344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21345 /* end confdefs.h. */
21348 if ac_fn_cxx_try_link "$LINENO"; then :
21350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21351 $as_echo "yes" >&6; }
21356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21357 $as_echo "no" >&6; }
21358 CXXFLAGS="$_svn_xxflags__save"
21362 rm -f core conftest.err conftest.$ac_objext \
21363 conftest$ac_exeext conftest.$ac_ext
21365 ac_cpp='$CPP $CPPFLAGS'
21366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21372 _svn_xxflags__save="$CXXFLAGS"
21374 ac_cpp='$CXXCPP $CPPFLAGS'
21375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wshorten-64-to-32" >&5
21380 $as_echo_n "checking if $CXX accepts -Wshorten-64-to-32... " >&6; }
21381 CXXFLAGS="-Wshorten-64-to-32 $CXXFLAGS"
21382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21383 /* end confdefs.h. */
21386 if ac_fn_cxx_try_link "$LINENO"; then :
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21389 $as_echo "yes" >&6; }
21394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21395 $as_echo "no" >&6; }
21396 CXXFLAGS="$_svn_xxflags__save"
21400 rm -f core conftest.err conftest.$ac_objext \
21401 conftest$ac_exeext conftest.$ac_ext
21403 ac_cpp='$CPP $CPPFLAGS'
21404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21410 _svn_xxflags__save="$CXXFLAGS"
21412 ac_cpp='$CXXCPP $CPPFLAGS'
21413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-system-headers" >&5
21418 $as_echo_n "checking if $CXX accepts -Wno-system-headers... " >&6; }
21419 CXXFLAGS="-Wno-system-headers $CXXFLAGS"
21420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21421 /* end confdefs.h. */
21424 if ac_fn_cxx_try_link "$LINENO"; then :
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21427 $as_echo "yes" >&6; }
21432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21433 $as_echo "no" >&6; }
21434 CXXFLAGS="$_svn_xxflags__save"
21438 rm -f core conftest.err conftest.$ac_objext \
21439 conftest$ac_exeext conftest.$ac_ext
21441 ac_cpp='$CPP $CPPFLAGS'
21442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21448 CXXMAINTAINERFLAGS="$CXXFLAGS"
21449 CXXFLAGS="$CXXFLAGS_KEEP"
21451 CXXMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wunused -Wunreachable-code $CXXMAINTAINERFLAGS"
21458 if test "$enable_debugging" = "yes" ; then
21459 if test "$enable_optimization" != "yes"; then
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations for debugging" >&5
21461 $as_echo "$as_me: Disabling optimizations for debugging" >&6;}
21462 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21463 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21465 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C" >&5
21467 $as_echo "$as_me: Enabling debugging for C" >&6;}
21468 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21470 _svn_xxflags__save="$CFLAGS"
21472 ac_cpp='$CPP $CPPFLAGS'
21473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-inline" >&5
21478 $as_echo_n "checking if $CC accepts -fno-inline... " >&6; }
21479 CFLAGS="-fno-inline $CFLAGS"
21480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21481 /* end confdefs.h. */
21482 int main(void){return 0;}
21484 if ac_fn_c_try_link "$LINENO"; then :
21486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21487 $as_echo "yes" >&6; }
21492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21493 $as_echo "no" >&6; }
21494 CFLAGS="$_svn_xxflags__save"
21498 rm -f core conftest.err conftest.$ac_objext \
21499 conftest$ac_exeext conftest.$ac_ext
21501 ac_cpp='$CPP $CPPFLAGS'
21502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21508 _svn_xxflags__save="$CFLAGS"
21510 ac_cpp='$CPP $CPPFLAGS'
21511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-omit-frame-pointer" >&5
21516 $as_echo_n "checking if $CC accepts -fno-omit-frame-pointer... " >&6; }
21517 CFLAGS="-fno-omit-frame-pointer $CFLAGS"
21518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21519 /* end confdefs.h. */
21520 int main(void){return 0;}
21522 if ac_fn_c_try_link "$LINENO"; then :
21524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21525 $as_echo "yes" >&6; }
21530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21531 $as_echo "no" >&6; }
21532 CFLAGS="$_svn_xxflags__save"
21536 rm -f core conftest.err conftest.$ac_objext \
21537 conftest$ac_exeext conftest.$ac_ext
21539 ac_cpp='$CPP $CPPFLAGS'
21540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21546 _svn_xxflags__save="$CFLAGS"
21548 ac_cpp='$CPP $CPPFLAGS'
21549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g3" >&5
21554 $as_echo_n "checking if $CC accepts -g3... " >&6; }
21555 CFLAGS="-g3 $CFLAGS"
21556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21557 /* end confdefs.h. */
21558 int main(void){return 0;}
21560 if ac_fn_c_try_link "$LINENO"; then :
21562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21563 $as_echo "yes" >&6; }
21568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21569 $as_echo "no" >&6; }
21570 CFLAGS="$_svn_xxflags__save"
21573 _svn_xxflags__save="$CFLAGS"
21575 ac_cpp='$CPP $CPPFLAGS'
21576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g2" >&5
21581 $as_echo_n "checking if $CC accepts -g2... " >&6; }
21582 CFLAGS="-g2 $CFLAGS"
21583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21584 /* end confdefs.h. */
21585 int main(void){return 0;}
21587 if ac_fn_c_try_link "$LINENO"; then :
21589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21590 $as_echo "yes" >&6; }
21595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21596 $as_echo "no" >&6; }
21597 CFLAGS="$_svn_xxflags__save"
21600 _svn_xxflags__save="$CFLAGS"
21602 ac_cpp='$CPP $CPPFLAGS'
21603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g" >&5
21608 $as_echo_n "checking if $CC accepts -g... " >&6; }
21609 CFLAGS="-g $CFLAGS"
21610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21611 /* end confdefs.h. */
21612 int main(void){return 0;}
21614 if ac_fn_c_try_link "$LINENO"; then :
21616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21617 $as_echo "yes" >&6; }
21622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21623 $as_echo "no" >&6; }
21624 CFLAGS="$_svn_xxflags__save"
21628 rm -f core conftest.err conftest.$ac_objext \
21629 conftest$ac_exeext conftest.$ac_ext
21631 ac_cpp='$CPP $CPPFLAGS'
21632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21639 rm -f core conftest.err conftest.$ac_objext \
21640 conftest$ac_exeext conftest.$ac_ext
21642 ac_cpp='$CPP $CPPFLAGS'
21643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21650 rm -f core conftest.err conftest.$ac_objext \
21651 conftest$ac_exeext conftest.$ac_ext
21653 ac_cpp='$CPP $CPPFLAGS'
21654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21660 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
21661 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C++" >&5
21662 $as_echo "$as_me: Enabling debugging for C++" >&6;}
21663 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21665 _svn_xxflags__save="$CXXFLAGS"
21667 ac_cpp='$CXXCPP $CPPFLAGS'
21668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-inline" >&5
21673 $as_echo_n "checking if $CXX accepts -fno-inline... " >&6; }
21674 CXXFLAGS="-fno-inline $CXXFLAGS"
21675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21676 /* end confdefs.h. */
21679 if ac_fn_cxx_try_link "$LINENO"; then :
21681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21682 $as_echo "yes" >&6; }
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21688 $as_echo "no" >&6; }
21689 CXXFLAGS="$_svn_xxflags__save"
21693 rm -f core conftest.err conftest.$ac_objext \
21694 conftest$ac_exeext conftest.$ac_ext
21696 ac_cpp='$CPP $CPPFLAGS'
21697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21703 _svn_xxflags__save="$CXXFLAGS"
21705 ac_cpp='$CXXCPP $CPPFLAGS'
21706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-omit-frame-pointer" >&5
21711 $as_echo_n "checking if $CXX accepts -fno-omit-frame-pointer... " >&6; }
21712 CXXFLAGS="-fno-omit-frame-pointer $CXXFLAGS"
21713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21714 /* end confdefs.h. */
21717 if ac_fn_cxx_try_link "$LINENO"; then :
21719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21720 $as_echo "yes" >&6; }
21725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21726 $as_echo "no" >&6; }
21727 CXXFLAGS="$_svn_xxflags__save"
21731 rm -f core conftest.err conftest.$ac_objext \
21732 conftest$ac_exeext conftest.$ac_ext
21734 ac_cpp='$CPP $CPPFLAGS'
21735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21741 _svn_xxflags__save="$CXXFLAGS"
21743 ac_cpp='$CXXCPP $CPPFLAGS'
21744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g3" >&5
21749 $as_echo_n "checking if $CXX accepts -g3... " >&6; }
21750 CXXFLAGS="-g3 $CXXFLAGS"
21751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21752 /* end confdefs.h. */
21755 if ac_fn_cxx_try_link "$LINENO"; then :
21757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21758 $as_echo "yes" >&6; }
21763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21764 $as_echo "no" >&6; }
21765 CXXFLAGS="$_svn_xxflags__save"
21768 _svn_xxflags__save="$CXXFLAGS"
21770 ac_cpp='$CXXCPP $CPPFLAGS'
21771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g2" >&5
21776 $as_echo_n "checking if $CXX accepts -g2... " >&6; }
21777 CXXFLAGS="-g2 $CXXFLAGS"
21778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21779 /* end confdefs.h. */
21782 if ac_fn_cxx_try_link "$LINENO"; then :
21784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21785 $as_echo "yes" >&6; }
21790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21791 $as_echo "no" >&6; }
21792 CXXFLAGS="$_svn_xxflags__save"
21795 _svn_xxflags__save="$CXXFLAGS"
21797 ac_cpp='$CXXCPP $CPPFLAGS'
21798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g" >&5
21803 $as_echo_n "checking if $CXX accepts -g... " >&6; }
21804 CXXFLAGS="-g $CXXFLAGS"
21805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21806 /* end confdefs.h. */
21809 if ac_fn_cxx_try_link "$LINENO"; then :
21811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21812 $as_echo "yes" >&6; }
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21818 $as_echo "no" >&6; }
21819 CXXFLAGS="$_svn_xxflags__save"
21823 rm -f core conftest.err conftest.$ac_objext \
21824 conftest$ac_exeext conftest.$ac_ext
21826 ac_cpp='$CXXCPP $CPPFLAGS'
21827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21834 rm -f core conftest.err conftest.$ac_objext \
21835 conftest$ac_exeext conftest.$ac_ext
21837 ac_cpp='$CXXCPP $CPPFLAGS'
21838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21845 rm -f core conftest.err conftest.$ac_objext \
21846 conftest$ac_exeext conftest.$ac_ext
21848 ac_cpp='$CPP $CPPFLAGS'
21849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21855 CFLAGS="$CFLAGS -DSVN_DEBUG -DAP_DEBUG"
21856 CXXFLAGS="$CXXFLAGS -DSVN_DEBUG -DAP_DEBUG"
21857 elif test "$enable_debugging" = "no" ; then
21858 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling debugging" >&5
21859 $as_echo "$as_me: Disabling debugging" >&6;}
21860 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21861 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
21862 CFLAGS="$CFLAGS -DNDEBUG"
21863 CXXFLAGS="$CXXFLAGS -DNDEBUG"
21864 # elif test "$enable_debugging" = "maybe" ; then
21868 if test "$enable_optimization" = "yes"; then
21869 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
21870 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21871 if test "$enable_debugging" = "yes"; then
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C (with debugging enabled)" >&5
21873 $as_echo "$as_me: Enabling optimizations for C (with debugging enabled)" >&6;}
21875 _svn_xxflags__save="$CFLAGS"
21877 ac_cpp='$CPP $CPPFLAGS'
21878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
21883 $as_echo_n "checking if $CC accepts -O1... " >&6; }
21884 CFLAGS="-O1 $CFLAGS"
21885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21886 /* end confdefs.h. */
21887 int main(void){return 0;}
21889 if ac_fn_c_try_link "$LINENO"; then :
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21892 $as_echo "yes" >&6; }
21897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21898 $as_echo "no" >&6; }
21899 CFLAGS="$_svn_xxflags__save"
21902 _svn_xxflags__save="$CFLAGS"
21904 ac_cpp='$CPP $CPPFLAGS'
21905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
21910 $as_echo_n "checking if $CC accepts -O... " >&6; }
21911 CFLAGS="-O $CFLAGS"
21912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21913 /* end confdefs.h. */
21914 int main(void){return 0;}
21916 if ac_fn_c_try_link "$LINENO"; then :
21918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21919 $as_echo "yes" >&6; }
21924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21925 $as_echo "no" >&6; }
21926 CFLAGS="$_svn_xxflags__save"
21930 rm -f core conftest.err conftest.$ac_objext \
21931 conftest$ac_exeext conftest.$ac_ext
21933 ac_cpp='$CPP $CPPFLAGS'
21934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21941 rm -f core conftest.err conftest.$ac_objext \
21942 conftest$ac_exeext conftest.$ac_ext
21944 ac_cpp='$CPP $CPPFLAGS'
21945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21951 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C" >&5
21952 $as_echo "$as_me: Enabling optimizations for C" >&6;}
21954 _svn_xxflags__save="$CFLAGS"
21956 ac_cpp='$CPP $CPPFLAGS'
21957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O3" >&5
21962 $as_echo_n "checking if $CC accepts -O3... " >&6; }
21963 CFLAGS="-O3 $CFLAGS"
21964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21965 /* end confdefs.h. */
21966 int main(void){return 0;}
21968 if ac_fn_c_try_link "$LINENO"; then :
21970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21971 $as_echo "yes" >&6; }
21976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21977 $as_echo "no" >&6; }
21978 CFLAGS="$_svn_xxflags__save"
21981 _svn_xxflags__save="$CFLAGS"
21983 ac_cpp='$CPP $CPPFLAGS'
21984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O2" >&5
21989 $as_echo_n "checking if $CC accepts -O2... " >&6; }
21990 CFLAGS="-O2 $CFLAGS"
21991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21992 /* end confdefs.h. */
21993 int main(void){return 0;}
21995 if ac_fn_c_try_link "$LINENO"; then :
21997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21998 $as_echo "yes" >&6; }
22003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22004 $as_echo "no" >&6; }
22005 CFLAGS="$_svn_xxflags__save"
22008 _svn_xxflags__save="$CFLAGS"
22010 ac_cpp='$CPP $CPPFLAGS'
22011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
22016 $as_echo_n "checking if $CC accepts -O1... " >&6; }
22017 CFLAGS="-O1 $CFLAGS"
22018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22019 /* end confdefs.h. */
22020 int main(void){return 0;}
22022 if ac_fn_c_try_link "$LINENO"; then :
22024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22025 $as_echo "yes" >&6; }
22030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22031 $as_echo "no" >&6; }
22032 CFLAGS="$_svn_xxflags__save"
22035 _svn_xxflags__save="$CFLAGS"
22037 ac_cpp='$CPP $CPPFLAGS'
22038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
22043 $as_echo_n "checking if $CC accepts -O... " >&6; }
22044 CFLAGS="-O $CFLAGS"
22045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22046 /* end confdefs.h. */
22047 int main(void){return 0;}
22049 if ac_fn_c_try_link "$LINENO"; then :
22051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22052 $as_echo "yes" >&6; }
22057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22058 $as_echo "no" >&6; }
22059 CFLAGS="$_svn_xxflags__save"
22063 rm -f core conftest.err conftest.$ac_objext \
22064 conftest$ac_exeext conftest.$ac_ext
22066 ac_cpp='$CPP $CPPFLAGS'
22067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22074 rm -f core conftest.err conftest.$ac_objext \
22075 conftest$ac_exeext conftest.$ac_ext
22077 ac_cpp='$CPP $CPPFLAGS'
22078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22085 rm -f core conftest.err conftest.$ac_objext \
22086 conftest$ac_exeext conftest.$ac_ext
22088 ac_cpp='$CPP $CPPFLAGS'
22089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22096 rm -f core conftest.err conftest.$ac_objext \
22097 conftest$ac_exeext conftest.$ac_ext
22099 ac_cpp='$CPP $CPPFLAGS'
22100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22106 _svn_xxflags__save="$CFLAGS"
22108 ac_cpp='$CPP $CPPFLAGS'
22109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-clobbered" >&5
22114 $as_echo_n "checking if $CC accepts -Wno-clobbered... " >&6; }
22115 CFLAGS="-Wno-clobbered $CFLAGS"
22116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22117 /* end confdefs.h. */
22118 int main(void){return 0;}
22120 if ac_fn_c_try_link "$LINENO"; then :
22122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22123 $as_echo "yes" >&6; }
22128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22129 $as_echo "no" >&6; }
22130 CFLAGS="$_svn_xxflags__save"
22134 rm -f core conftest.err conftest.$ac_objext \
22135 conftest$ac_exeext conftest.$ac_ext
22137 ac_cpp='$CPP $CPPFLAGS'
22138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22144 _svn_xxflags__save="$CFLAGS"
22146 ac_cpp='$CPP $CPPFLAGS'
22147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -flto" >&5
22152 $as_echo_n "checking if $CC accepts -flto... " >&6; }
22153 CFLAGS="-flto $CFLAGS"
22154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22155 /* end confdefs.h. */
22156 int main(void){return 0;}
22158 if ac_fn_c_try_link "$LINENO"; then :
22160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22161 $as_echo "yes" >&6; }
22166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22167 $as_echo "no" >&6; }
22168 CFLAGS="$_svn_xxflags__save"
22172 rm -f core conftest.err conftest.$ac_objext \
22173 conftest$ac_exeext conftest.$ac_ext
22175 ac_cpp='$CPP $CPPFLAGS'
22176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22183 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
22184 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22185 if test "$enable_debugging" = "yes"; then
22186 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++ (with debugging enabled)" >&5
22187 $as_echo "$as_me: Enabling optimizations for C++ (with debugging enabled)" >&6;}
22189 _svn_xxflags__save="$CXXFLAGS"
22191 ac_cpp='$CXXCPP $CPPFLAGS'
22192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
22197 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
22198 CXXFLAGS="-O1 $CXXFLAGS"
22199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22200 /* end confdefs.h. */
22203 if ac_fn_cxx_try_link "$LINENO"; then :
22205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22206 $as_echo "yes" >&6; }
22211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22212 $as_echo "no" >&6; }
22213 CXXFLAGS="$_svn_xxflags__save"
22216 _svn_xxflags__save="$CXXFLAGS"
22218 ac_cpp='$CXXCPP $CPPFLAGS'
22219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
22224 $as_echo_n "checking if $CXX accepts -O... " >&6; }
22225 CXXFLAGS="-O $CXXFLAGS"
22226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22227 /* end confdefs.h. */
22230 if ac_fn_cxx_try_link "$LINENO"; then :
22232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22233 $as_echo "yes" >&6; }
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22239 $as_echo "no" >&6; }
22240 CXXFLAGS="$_svn_xxflags__save"
22244 rm -f core conftest.err conftest.$ac_objext \
22245 conftest$ac_exeext conftest.$ac_ext
22247 ac_cpp='$CXXCPP $CPPFLAGS'
22248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22255 rm -f core conftest.err conftest.$ac_objext \
22256 conftest$ac_exeext conftest.$ac_ext
22258 ac_cpp='$CPP $CPPFLAGS'
22259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22265 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++" >&5
22266 $as_echo "$as_me: Enabling optimizations for C++" >&6;}
22268 _svn_xxflags__save="$CXXFLAGS"
22270 ac_cpp='$CXXCPP $CPPFLAGS'
22271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O3" >&5
22276 $as_echo_n "checking if $CXX accepts -O3... " >&6; }
22277 CXXFLAGS="-O3 $CXXFLAGS"
22278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22279 /* end confdefs.h. */
22282 if ac_fn_cxx_try_link "$LINENO"; then :
22284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22285 $as_echo "yes" >&6; }
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22291 $as_echo "no" >&6; }
22292 CXXFLAGS="$_svn_xxflags__save"
22295 _svn_xxflags__save="$CXXFLAGS"
22297 ac_cpp='$CXXCPP $CPPFLAGS'
22298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O2" >&5
22303 $as_echo_n "checking if $CXX accepts -O2... " >&6; }
22304 CXXFLAGS="-O2 $CXXFLAGS"
22305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22306 /* end confdefs.h. */
22309 if ac_fn_cxx_try_link "$LINENO"; then :
22311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22312 $as_echo "yes" >&6; }
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22318 $as_echo "no" >&6; }
22319 CXXFLAGS="$_svn_xxflags__save"
22322 _svn_xxflags__save="$CXXFLAGS"
22324 ac_cpp='$CXXCPP $CPPFLAGS'
22325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
22330 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
22331 CXXFLAGS="-O1 $CXXFLAGS"
22332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22333 /* end confdefs.h. */
22336 if ac_fn_cxx_try_link "$LINENO"; then :
22338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22339 $as_echo "yes" >&6; }
22344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22345 $as_echo "no" >&6; }
22346 CXXFLAGS="$_svn_xxflags__save"
22349 _svn_xxflags__save="$CXXFLAGS"
22351 ac_cpp='$CXXCPP $CPPFLAGS'
22352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
22357 $as_echo_n "checking if $CXX accepts -O... " >&6; }
22358 CXXFLAGS="-O $CXXFLAGS"
22359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22360 /* end confdefs.h. */
22363 if ac_fn_cxx_try_link "$LINENO"; then :
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22366 $as_echo "yes" >&6; }
22371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22372 $as_echo "no" >&6; }
22373 CXXFLAGS="$_svn_xxflags__save"
22377 rm -f core conftest.err conftest.$ac_objext \
22378 conftest$ac_exeext conftest.$ac_ext
22380 ac_cpp='$CXXCPP $CPPFLAGS'
22381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22388 rm -f core conftest.err conftest.$ac_objext \
22389 conftest$ac_exeext conftest.$ac_ext
22391 ac_cpp='$CXXCPP $CPPFLAGS'
22392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22399 rm -f core conftest.err conftest.$ac_objext \
22400 conftest$ac_exeext conftest.$ac_ext
22402 ac_cpp='$CXXCPP $CPPFLAGS'
22403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22410 rm -f core conftest.err conftest.$ac_objext \
22411 conftest$ac_exeext conftest.$ac_ext
22413 ac_cpp='$CPP $CPPFLAGS'
22414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22420 _svn_xxflags__save="$CXXFLAGS"
22422 ac_cpp='$CXXCPP $CPPFLAGS'
22423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-clobbered" >&5
22428 $as_echo_n "checking if $CXX accepts -Wno-clobbered... " >&6; }
22429 CXXFLAGS="-Wno-clobbered $CXXFLAGS"
22430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22431 /* end confdefs.h. */
22434 if ac_fn_cxx_try_link "$LINENO"; then :
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22437 $as_echo "yes" >&6; }
22442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22443 $as_echo "no" >&6; }
22444 CXXFLAGS="$_svn_xxflags__save"
22448 rm -f core conftest.err conftest.$ac_objext \
22449 conftest$ac_exeext conftest.$ac_ext
22451 ac_cpp='$CPP $CPPFLAGS'
22452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22458 _svn_xxflags__save="$CXXFLAGS"
22460 ac_cpp='$CXXCPP $CPPFLAGS'
22461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -flto" >&5
22466 $as_echo_n "checking if $CXX accepts -flto... " >&6; }
22467 CXXFLAGS="-flto $CXXFLAGS"
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22472 if ac_fn_cxx_try_link "$LINENO"; then :
22474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22475 $as_echo "yes" >&6; }
22480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22481 $as_echo "no" >&6; }
22482 CXXFLAGS="$_svn_xxflags__save"
22486 rm -f core conftest.err conftest.$ac_objext \
22487 conftest$ac_exeext conftest.$ac_ext
22489 ac_cpp='$CPP $CPPFLAGS'
22490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22497 elif test "$enable_optimization" = "no"; then
22498 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations" >&5
22499 $as_echo "$as_me: Disabling optimizations" >&6;}
22500 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22501 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
22502 # elif test "$enable_optimization" = "maybe" ; then
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: C compiler flags: $CFLAGS" >&5
22507 $as_echo "$as_me: C compiler flags: $CFLAGS" >&6;}
22508 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CUSERFLAGS" >&5
22509 $as_echo "$as_me: user-defined: $CUSERFLAGS" >&6;}
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CMAINTAINERFLAGS" >&5
22511 $as_echo "$as_me: maintainer-mode: $CMAINTAINERFLAGS" >&6;}
22512 { $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler flags: $CXXFLAGS" >&5
22513 $as_echo "$as_me: C++ compiler flags: $CXXFLAGS" >&6;}
22514 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CXXUSERFLAGS" >&5
22515 $as_echo "$as_me: user-defined: $CXXUSERFLAGS" >&6;}
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CXXMAINTAINERFLAGS" >&5
22517 $as_echo "$as_me: maintainer-mode: $CXXMAINTAINERFLAGS" >&6;}
22519 # Check whether --enable-full-version-match was given.
22520 if test "${enable_full_version_match+set}" = set; then :
22521 enableval=$enable_full_version_match;
22522 if test "$enableval" = "no" ; then
22523 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling svn full version matching" >&5
22524 $as_echo "$as_me: Disabling svn full version matching" >&6;}
22526 $as_echo "#define SVN_DISABLE_FULL_VERSION_MATCH 1" >>confdefs.h
22534 # Check whether --with-editor was given.
22535 if test "${with_editor+set}" = set; then :
22536 withval=$with_editor;
22538 if test "$withval" = "yes" ; then
22539 as_fn_error $? "--with-editor requires an argument." "$LINENO" 5
22541 SVN_CLIENT_EDITOR=$withval
22543 cat >>confdefs.h <<_ACEOF
22544 #define SVN_CLIENT_EDITOR "$SVN_CLIENT_EDITOR"
22559 # Check whether --with-zlib was given.
22560 if test "${with_zlib+set}" = set; then :
22561 withval=$with_zlib;
22562 if test "$withval" = "yes"; then
22564 elif test "$withval" = "no"; then
22568 zlib_prefix="$withval"
22574 if test "$zlib_skip" = "yes"; then
22575 as_fn_error $? "subversion requires zlib" "$LINENO" 5
22578 if test -n "$zlib_prefix"; then
22579 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration via prefix" >&5
22580 $as_echo "$as_me: zlib library configuration via prefix" >&6;}
22581 save_cppflags="$CPPFLAGS"
22582 CPPFLAGS="$CPPFLAGS -I$zlib_prefix/include"
22583 for ac_header in zlib.h
22585 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
22586 if test "x$ac_cv_header_zlib_h" = xyes; then :
22587 cat >>confdefs.h <<_ACEOF
22588 #define HAVE_ZLIB_H 1
22591 save_ldflags="$LDFLAGS"
22592 LDFLAGS="$LDFLAGS -L$zlib_prefix/lib"
22593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
22594 $as_echo_n "checking for inflate in -lz... " >&6; }
22595 if ${ac_cv_lib_z_inflate+:} false; then :
22596 $as_echo_n "(cached) " >&6
22598 ac_check_lib_save_LIBS=$LIBS
22600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22601 /* end confdefs.h. */
22603 /* Override any GCC internal prototype to avoid an error.
22604 Use char because int might match the return type of a GCC
22605 builtin and then its argument prototype would still apply. */
22618 if ac_fn_c_try_link "$LINENO"; then :
22619 ac_cv_lib_z_inflate=yes
22621 ac_cv_lib_z_inflate=no
22623 rm -f core conftest.err conftest.$ac_objext \
22624 conftest$ac_exeext conftest.$ac_ext
22625 LIBS=$ac_check_lib_save_LIBS
22627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
22628 $as_echo "$ac_cv_lib_z_inflate" >&6; }
22629 if test "x$ac_cv_lib_z_inflate" = xyes; then :
22632 SVN_ZLIB_INCLUDES="-I$zlib_prefix/include"
22634 input_flags="-L$zlib_prefix/lib"
22636 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
22637 for flag in $input_flags; do
22639 for dir in $filtered_dirs; do
22640 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
22645 if test "$filter" = "no"; then
22646 output_flags="$output_flags $flag"
22649 if test -n "$output_flags"; then
22650 printf "%s" "${output_flags# }"
22656 LDFLAGS="$save_ldflags"
22662 CPPFLAGS="$save_cppflags"
22665 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration via pkg-config" >&5
22666 $as_echo "$as_me: zlib library configuration via pkg-config" >&6;}
22667 if test -n "$PKG_CONFIG"; then
22668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib library" >&5
22669 $as_echo_n "checking for zlib library... " >&6; }
22670 if $PKG_CONFIG zlib --exists; then
22671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22672 $as_echo "yes" >&6; }
22674 SVN_ZLIB_INCLUDES=`$PKG_CONFIG zlib --cflags`
22675 SVN_ZLIB_LIBS=`$PKG_CONFIG zlib --libs`
22677 input_flags="$SVN_ZLIB_LIBS"
22679 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
22680 for flag in $input_flags; do
22682 for dir in $filtered_dirs; do
22683 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
22688 if test "$filter" = "no"; then
22689 output_flags="$output_flags $flag"
22692 if test -n "$output_flags"; then
22693 printf "%s" "${output_flags# }"
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22698 $as_echo "no" >&6; }
22703 if test "$zlib_found" = "no"; then
22704 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration" >&5
22705 $as_echo "$as_me: zlib library configuration" >&6;}
22706 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
22707 if test "x$ac_cv_header_zlib_h" = xyes; then :
22709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
22710 $as_echo_n "checking for inflate in -lz... " >&6; }
22711 if ${ac_cv_lib_z_inflate+:} false; then :
22712 $as_echo_n "(cached) " >&6
22714 ac_check_lib_save_LIBS=$LIBS
22716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22717 /* end confdefs.h. */
22719 /* Override any GCC internal prototype to avoid an error.
22720 Use char because int might match the return type of a GCC
22721 builtin and then its argument prototype would still apply. */
22734 if ac_fn_c_try_link "$LINENO"; then :
22735 ac_cv_lib_z_inflate=yes
22737 ac_cv_lib_z_inflate=no
22739 rm -f core conftest.err conftest.$ac_objext \
22740 conftest$ac_exeext conftest.$ac_ext
22741 LIBS=$ac_check_lib_save_LIBS
22743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
22744 $as_echo "$ac_cv_lib_z_inflate" >&6; }
22745 if test "x$ac_cv_lib_z_inflate" = xyes; then :
22747 zlib_found="builtin"
22748 SVN_ZLIB_LIBS="-lz"
22759 if test "$zlib_found" = "no"; then
22760 as_fn_error $? "subversion requires zlib" "$LINENO" 5
22768 # Check whether --enable-mod-activation was given.
22769 if test "${enable_mod_activation+set}" = set; then :
22770 enableval=$enable_mod_activation;
22771 if test "$enableval" = "yes" ; then
22772 MOD_ACTIVATION="-a"
22773 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling apache module activation" >&5
22774 $as_echo "$as_me: Enabling apache module activation" >&6;}
22776 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling apache module activation" >&5
22777 $as_echo "$as_me: Disabling apache module activation" >&6;}
22786 # Check whether --enable-gcov was given.
22787 if test "${enable_gcov+set}" = set; then :
22788 enableval=$enable_gcov;
22789 if test "$enableval" = "yes" ; then
22790 if test "$GCC" = "yes"; then
22791 if test "$svn_enable_shared" = "yes" ; then
22792 as_fn_error $? "Can't have --enable-gcov without --disable-shared (we
22793 recommend also using --enable-all-static)." "$LINENO" 5
22795 if test ! "$enable_all_static" = "yes" ; then
22796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gcov." >&5
22797 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gcov." >&2;}
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gcov coverage testing." >&5
22800 $as_echo "$as_me: Enabling gcov coverage testing." >&6;}
22801 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
22802 CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
22804 as_fn_error $? "We only support --enable-gcov with GCC right now." "$LINENO" 5
22811 # Check whether --enable-gprof was given.
22812 if test "${enable_gprof+set}" = set; then :
22813 enableval=$enable_gprof;
22814 if test "$enableval" = "yes" ; then
22815 if test "$GCC" = "yes"; then
22816 if test "$svn_enable_shared" = "yes" ; then
22817 as_fn_error $? "Can't have --enable-gprof without --disable-shared (we
22818 recommend also using --enable-all-static)." "$LINENO" 5
22820 if test ! "$enable_all_static" = "yes" ; then
22821 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gprof." >&5
22822 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gprof." >&2;}
22824 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gprof profiling data (to gmon.out)." >&5
22825 $as_echo "$as_me: Enabling gprof profiling data (to gmon.out)." >&6;}
22826 CFLAGS="$CFLAGS -pg"
22827 CXXFLAGS="$CXXFLAGS -pg"
22828 LT_LDFLAGS="$LT_LDFLAGS -pg"
22830 as_fn_error $? "We only support --enable-gprof with GCC right now." "$LINENO" 5
22838 # Scripting and Bindings languages
22840 # Python: Used for testsuite, and bindings
22843 PYTHON="`$abs_srcdir/build/find_python.sh`"
22844 if test -z "$PYTHON"; then
22845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.7 or later is required to run the testsuite" >&5
22846 $as_echo "$as_me: WARNING: Python 2.7 or later is required to run the testsuite" >&2;}
22847 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or to use the Subversion Python bindings" >&5
22848 $as_echo "$as_me: WARNING: or to use the Subversion Python bindings" >&2;}
22849 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
22850 $as_echo "$as_me: WARNING: " >&2;}
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you have a suitable Python installed, but not on the" >&5
22852 $as_echo "$as_me: WARNING: If you have a suitable Python installed, but not on the" >&2;}
22853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PATH, set the environment variable PYTHON to the full path" >&5
22854 $as_echo "$as_me: WARNING: PATH, set the environment variable PYTHON to the full path" >&2;}
22855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to the Python executable, and re-run configure" >&5
22856 $as_echo "$as_me: WARNING: to the Python executable, and re-run configure" >&2;}
22858 for ac_prog in "$PYTHON"
22860 # Extract the first word of "$ac_prog", so it can be a program name with args.
22861 set dummy $ac_prog; ac_word=$2
22862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22863 $as_echo_n "checking for $ac_word... " >&6; }
22864 if ${ac_cv_path_PYTHON+:} false; then :
22865 $as_echo_n "(cached) " >&6
22869 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
22872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22873 for as_dir in $PATH
22876 test -z "$as_dir" && as_dir=.
22877 for ac_exec_ext in '' $ac_executable_extensions; do
22878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22879 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
22880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22890 PYTHON=$ac_cv_path_PYTHON
22891 if test -n "$PYTHON"; then
22892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22893 $as_echo "$PYTHON" >&6; }
22895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22896 $as_echo "no" >&6; }
22900 test -n "$PYTHON" && break
22902 test -n "$PYTHON" || PYTHON="none"
22905 # The minimum version for the JVM runtime for our Java bytecode.
22906 JAVA_OLDEST_WORKING_VER='1.6'
22907 # SVN_CHECK_JDK sets $JAVA_CLASSPATH
22909 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22911 # Check whether --with-jdk was given.
22912 if test "${with_jdk+set}" = set; then :
22921 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22933 $as_echo_n "checking for JDK... " >&6; }
22934 if test $where = check; then
22935 if test -x "$JAVA_HOME/bin/java"; then
22937 elif test -x "/usr/libexec/java_home"; then
22938 JDK=`/usr/libexec/java_home`
22939 elif test -x "/Library/Java/Home/bin/java"; then
22940 JDK="/Library/Java/Home"
22941 elif test -x "/usr/bin/java"; then
22943 elif test -x "/usr/local/bin/java"; then
22951 if test "$os_arch" = "Darwin"; then
22952 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22954 if test "$OSX_VER" = "10.4"; then
22958 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22959 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22960 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22963 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22964 test -d "/Library/Java/Home"; then
22965 JDK="/Library/Java/Home"
22968 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22969 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22971 JRE_LIB_DIR="$JDK/jre/lib"
22974 if test -f "$JDK/include/jni.h"; then
22975 JNI_INCLUDEDIR="$JDK/include"
22977 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22978 JNI_INCLUDEDIR="$JDK/Headers"
22980 elif test "$os_arch" = "Darwin" &&
22981 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22982 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22984 elif test "$os_arch" = "Darwin" &&
22985 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22986 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22991 if test "$JDK_SUITABLE" = "yes"; then
22992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22993 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22996 $as_echo "no" >&6; }
22997 if test "$where" != "check"; then
22998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22999 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23000 if test "$os_arch" = "Darwin"; then
23001 { $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
23002 $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;}
23007 if test "$JDK_SUITABLE" = "yes"; then
23008 JAVA_BIN='$(JDK)/bin'
23010 JAVA="$JAVA_BIN/java"
23011 JAVAC="$JAVA_BIN/javac"
23012 JAVAH="$JAVA_BIN/javah"
23013 JAVADOC="$JAVA_BIN/javadoc"
23014 JAR="$JAVA_BIN/jar"
23016 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
23018 # Check whether --with-jikes was given.
23019 if test "${with_jikes+set}" = set; then :
23020 withval=$with_jikes;
23021 if test "$withval" != "no" && test "$withval" != "yes"; then
23022 jikes_options="$withval $jikes_options"
23024 requested_jikes="$withval" # will be 'yes' if path unspecified
23028 if test "$requested_jikes" != "no"; then
23029 for jikes in $jikes_options; do
23030 if test -z "$jikes_found" && test -x "$jikes"; then
23033 JAVA_CLASSPATH="$JRE_LIB_DIR"
23034 for jar in $JRE_LIB_DIR/*.jar; do
23035 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
23040 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
23041 if test -z "$jikes_found"; then
23042 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
23043 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
23044 test "$JAVAC" != "$requested_jikes"; then
23045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
23046 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
23050 # The release for "-source" could actually be greater than that
23051 # of "-target", if we want to cross-compile for lesser JVMs.
23052 if test -z "$JAVAC_FLAGS"; then
23053 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23054 if test "$enable_debugging" = "yes"; then
23055 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23056 if test -z "$JAVAC_COMPAT_FLAGS"; then
23057 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23062 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23063 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23064 for dir in $list; do
23065 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23083 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
23095 $as_echo_n "checking for JDK... " >&6; }
23096 if test $where = check; then
23097 if test -x "$JAVA_HOME/bin/java"; then
23099 elif test -x "/usr/libexec/java_home"; then
23100 JDK=`/usr/libexec/java_home`
23101 elif test -x "/Library/Java/Home/bin/java"; then
23102 JDK="/Library/Java/Home"
23103 elif test -x "/usr/bin/java"; then
23105 elif test -x "/usr/local/bin/java"; then
23113 if test "$os_arch" = "Darwin"; then
23114 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
23116 if test "$OSX_VER" = "10.4"; then
23120 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
23121 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
23122 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
23125 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
23126 test -d "/Library/Java/Home"; then
23127 JDK="/Library/Java/Home"
23130 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
23131 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
23133 JRE_LIB_DIR="$JDK/jre/lib"
23136 if test -f "$JDK/include/jni.h"; then
23137 JNI_INCLUDEDIR="$JDK/include"
23139 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
23140 JNI_INCLUDEDIR="$JDK/Headers"
23142 elif test "$os_arch" = "Darwin" &&
23143 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
23144 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
23146 elif test "$os_arch" = "Darwin" &&
23147 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
23148 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
23153 if test "$JDK_SUITABLE" = "yes"; then
23154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
23155 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
23157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23158 $as_echo "no" >&6; }
23159 if test "$where" != "check"; then
23160 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
23161 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23162 if test "$os_arch" = "Darwin"; then
23163 { $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
23164 $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;}
23169 if test "$JDK_SUITABLE" = "yes"; then
23170 JAVA_BIN='$(JDK)/bin'
23172 JAVA="$JAVA_BIN/java"
23173 JAVAC="$JAVA_BIN/javac"
23174 JAVAH="$JAVA_BIN/javah"
23175 JAVADOC="$JAVA_BIN/javadoc"
23176 JAR="$JAVA_BIN/jar"
23178 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
23180 # Check whether --with-jikes was given.
23181 if test "${with_jikes+set}" = set; then :
23182 withval=$with_jikes;
23183 if test "$withval" != "no" && test "$withval" != "yes"; then
23184 jikes_options="$withval $jikes_options"
23186 requested_jikes="$withval" # will be 'yes' if path unspecified
23190 if test "$requested_jikes" != "no"; then
23191 for jikes in $jikes_options; do
23192 if test -z "$jikes_found" && test -x "$jikes"; then
23195 JAVA_CLASSPATH="$JRE_LIB_DIR"
23196 for jar in $JRE_LIB_DIR/*.jar; do
23197 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
23202 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
23203 if test -z "$jikes_found"; then
23204 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
23205 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
23206 test "$JAVAC" != "$requested_jikes"; then
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
23208 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
23212 # The release for "-source" could actually be greater than that
23213 # of "-target", if we want to cross-compile for lesser JVMs.
23214 if test -z "$JAVAC_FLAGS"; then
23215 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23216 if test "$enable_debugging" = "yes"; then
23217 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23218 if test -z "$JAVAC_COMPAT_FLAGS"; then
23219 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23224 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23225 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23226 for dir in $list; do
23227 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23248 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
23259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
23260 $as_echo_n "checking for JDK... " >&6; }
23261 if test $where = check; then
23262 if test -x "$JAVA_HOME/bin/java"; then
23264 elif test -x "/usr/libexec/java_home"; then
23265 JDK=`/usr/libexec/java_home`
23266 elif test -x "/Library/Java/Home/bin/java"; then
23267 JDK="/Library/Java/Home"
23268 elif test -x "/usr/bin/java"; then
23270 elif test -x "/usr/local/bin/java"; then
23278 if test "$os_arch" = "Darwin"; then
23279 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
23281 if test "$OSX_VER" = "10.4"; then
23285 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
23286 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
23287 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
23290 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
23291 test -d "/Library/Java/Home"; then
23292 JDK="/Library/Java/Home"
23295 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
23296 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
23298 JRE_LIB_DIR="$JDK/jre/lib"
23301 if test -f "$JDK/include/jni.h"; then
23302 JNI_INCLUDEDIR="$JDK/include"
23304 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
23305 JNI_INCLUDEDIR="$JDK/Headers"
23307 elif test "$os_arch" = "Darwin" &&
23308 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
23309 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
23311 elif test "$os_arch" = "Darwin" &&
23312 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
23313 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
23318 if test "$JDK_SUITABLE" = "yes"; then
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
23320 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
23322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23323 $as_echo "no" >&6; }
23324 if test "$where" != "check"; then
23325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
23326 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
23327 if test "$os_arch" = "Darwin"; then
23328 { $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
23329 $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;}
23334 if test "$JDK_SUITABLE" = "yes"; then
23335 JAVA_BIN='$(JDK)/bin'
23337 JAVA="$JAVA_BIN/java"
23338 JAVAC="$JAVA_BIN/javac"
23339 JAVAH="$JAVA_BIN/javah"
23340 JAVADOC="$JAVA_BIN/javadoc"
23341 JAR="$JAVA_BIN/jar"
23343 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
23345 # Check whether --with-jikes was given.
23346 if test "${with_jikes+set}" = set; then :
23347 withval=$with_jikes;
23348 if test "$withval" != "no" && test "$withval" != "yes"; then
23349 jikes_options="$withval $jikes_options"
23351 requested_jikes="$withval" # will be 'yes' if path unspecified
23355 if test "$requested_jikes" != "no"; then
23356 for jikes in $jikes_options; do
23357 if test -z "$jikes_found" && test -x "$jikes"; then
23360 JAVA_CLASSPATH="$JRE_LIB_DIR"
23361 for jar in $JRE_LIB_DIR/*.jar; do
23362 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
23367 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
23368 if test -z "$jikes_found"; then
23369 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
23370 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
23371 test "$JAVAC" != "$requested_jikes"; then
23372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
23373 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
23377 # The release for "-source" could actually be greater than that
23378 # of "-target", if we want to cross-compile for lesser JVMs.
23379 if test -z "$JAVAC_FLAGS"; then
23380 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.6"
23381 if test "$enable_debugging" = "yes"; then
23382 JAVAC_FLAGS="-g -Xlint -Xlint:unchecked -Xlint:serial -Xlint:path $JAVAC_FLAGS"
23383 if test -z "$JAVAC_COMPAT_FLAGS"; then
23384 JAVAC_COMPAT_FLAGS="$JAVAC_FLAGS -Xlint:-unchecked -Xlint:-deprecation -Xlint:-dep-ann -Xlint:-rawtypes"
23389 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
23390 list="`find "$JNI_INCLUDEDIR" -type d -print`"
23391 for dir in $list; do
23392 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
23411 # Extract the first word of "perl", so it can be a program name with args.
23412 set dummy perl; ac_word=$2
23413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23414 $as_echo_n "checking for $ac_word... " >&6; }
23415 if ${ac_cv_path_PERL+:} false; then :
23416 $as_echo_n "(cached) " >&6
23420 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
23423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23424 for as_dir in $PATH
23427 test -z "$as_dir" && as_dir=.
23428 for ac_exec_ext in '' $ac_executable_extensions; do
23429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23430 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
23431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23438 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
23442 PERL=$ac_cv_path_PERL
23443 if test -n "$PERL"; then
23444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
23445 $as_echo "$PERL" >&6; }
23447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23448 $as_echo "no" >&6; }
23453 if test -n "$RUBY"; then
23454 # Extract the first word of ""$RUBY"", so it can be a program name with args.
23455 set dummy "$RUBY"; ac_word=$2
23456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23457 $as_echo_n "checking for $ac_word... " >&6; }
23458 if ${ac_cv_path_RUBY+:} false; then :
23459 $as_echo_n "(cached) " >&6
23463 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
23466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23467 for as_dir in $PATH
23470 test -z "$as_dir" && as_dir=.
23471 for ac_exec_ext in '' $ac_executable_extensions; do
23472 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23473 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
23474 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23481 test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="none"
23485 RUBY=$ac_cv_path_RUBY
23486 if test -n "$RUBY"; then
23487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
23488 $as_echo "$RUBY" >&6; }
23490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23491 $as_echo "no" >&6; }
23496 for ac_prog in ruby ruby1.8 ruby18 ruby1.9 ruby1 ruby1.9.3 ruby193 ruby2.0 ruby2.1
23498 # Extract the first word of "$ac_prog", so it can be a program name with args.
23499 set dummy $ac_prog; ac_word=$2
23500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23501 $as_echo_n "checking for $ac_word... " >&6; }
23502 if ${ac_cv_path_RUBY+:} false; then :
23503 $as_echo_n "(cached) " >&6
23507 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
23510 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23511 for as_dir in $PATH
23514 test -z "$as_dir" && as_dir=.
23515 for ac_exec_ext in '' $ac_executable_extensions; do
23516 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23517 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
23518 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23528 RUBY=$ac_cv_path_RUBY
23529 if test -n "$RUBY"; then
23530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
23531 $as_echo "$RUBY" >&6; }
23533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23534 $as_echo "no" >&6; }
23538 test -n "$RUBY" && break
23540 test -n "$RUBY" || RUBY="none"
23543 if test "$RUBY" != "none"; then
23544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking rb_hash_foreach" >&5
23545 $as_echo_n "checking rb_hash_foreach... " >&6; }
23546 if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23548 $as_echo "yes" >&6; }
23549 if test -n "$RDOC"; then
23550 # Extract the first word of ""$RDOC"", so it can be a program name with args.
23551 set dummy "$RDOC"; ac_word=$2
23552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23553 $as_echo_n "checking for $ac_word... " >&6; }
23554 if ${ac_cv_path_RDOC+:} false; then :
23555 $as_echo_n "(cached) " >&6
23559 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
23562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23563 for as_dir in $PATH
23566 test -z "$as_dir" && as_dir=.
23567 for ac_exec_ext in '' $ac_executable_extensions; do
23568 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23569 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
23570 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23577 test -z "$ac_cv_path_RDOC" && ac_cv_path_RDOC="none"
23581 RDOC=$ac_cv_path_RDOC
23582 if test -n "$RDOC"; then
23583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
23584 $as_echo "$RDOC" >&6; }
23586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23587 $as_echo "no" >&6; }
23592 for ac_prog in rdoc rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193 rdoc2.0 rdoc2.1
23594 # Extract the first word of "$ac_prog", so it can be a program name with args.
23595 set dummy $ac_prog; ac_word=$2
23596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23597 $as_echo_n "checking for $ac_word... " >&6; }
23598 if ${ac_cv_path_RDOC+:} false; then :
23599 $as_echo_n "(cached) " >&6
23603 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
23606 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23607 for as_dir in $PATH
23610 test -z "$as_dir" && as_dir=.
23611 for ac_exec_ext in '' $ac_executable_extensions; do
23612 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23613 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
23614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23624 RDOC=$ac_cv_path_RDOC
23625 if test -n "$RDOC"; then
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
23627 $as_echo "$RDOC" >&6; }
23629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23630 $as_echo "no" >&6; }
23634 test -n "$RDOC" && break
23636 test -n "$RDOC" || RDOC="none"
23639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby major version" >&5
23640 $as_echo_n "checking for Ruby major version... " >&6; }
23641 if ${svn_cv_ruby_major+:} false; then :
23642 $as_echo_n "(cached) " >&6
23645 svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
23648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_major" >&5
23649 $as_echo "$svn_cv_ruby_major" >&6; }
23650 RUBY_MAJOR="$svn_cv_ruby_major"
23652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby minor version" >&5
23653 $as_echo_n "checking for Ruby minor version... " >&6; }
23654 if ${svn_cv_ruby_minor+:} false; then :
23655 $as_echo_n "(cached) " >&6
23658 svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
23661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_minor" >&5
23662 $as_echo "$svn_cv_ruby_minor" >&6; }
23663 RUBY_MINOR="$svn_cv_ruby_minor"
23665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby teeny version" >&5
23666 $as_echo_n "checking for Ruby teeny version... " >&6; }
23667 if ${svn_cv_ruby_teeny+:} false; then :
23668 $as_echo_n "(cached) " >&6
23671 svn_cv_ruby_teeny="`$RUBY -rrbconfig -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
23674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_teeny" >&5
23675 $as_echo "$svn_cv_ruby_teeny" >&6; }
23676 RUBY_TEENY="$svn_cv_ruby_teeny"
23681 if test \( "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -gt "8" -a "$RUBY_TEENY" -lt "3" \); then
23682 # Disallow Ruby between 1.8.7 and 1.9.3
23684 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&5
23685 $as_echo "$as_me: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&2;}
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&5
23687 $as_echo "$as_me: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&2;}
23690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23691 $as_echo "no" >&6; }
23693 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is too old for Subversion to use" >&5
23694 $as_echo "$as_me: WARNING: The detected Ruby is too old for Subversion to use" >&2;}
23695 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&5
23696 $as_echo "$as_me: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&2;}
23697 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Ruby bindings" >&5
23698 $as_echo "$as_me: WARNING: Subversion Ruby bindings" >&2;}
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Upgrade to the official 1.8.2 release, or later" >&5
23700 $as_echo "$as_me: WARNING: Upgrade to the official 1.8.2 release, or later" >&2;}
23706 # Check whether --with-swig was given.
23707 if test "${with_swig+set}" = set; then :
23708 withval=$with_swig;
23715 if test $where = no; then
23717 elif test $where = check; then
23718 # Extract the first word of "swig", so it can be a program name with args.
23719 set dummy swig; ac_word=$2
23720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23721 $as_echo_n "checking for $ac_word... " >&6; }
23722 if ${ac_cv_path_SWIG+:} false; then :
23723 $as_echo_n "(cached) " >&6
23727 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
23730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23731 for as_dir in $PATH
23734 test -z "$as_dir" && as_dir=.
23735 for ac_exec_ext in '' $ac_executable_extensions; do
23736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23737 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
23738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23745 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
23749 SWIG=$ac_cv_path_SWIG
23750 if test -n "$SWIG"; then
23751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
23752 $as_echo "$SWIG" >&6; }
23754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23755 $as_echo "no" >&6; }
23760 if test -f "$where"; then
23763 SWIG="$where/bin/swig"
23765 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
23766 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
23770 if test "$SWIG" != "none"; then
23771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
23772 $as_echo_n "checking swig version... " >&6; }
23773 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
23774 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
23775 # We want the version as an integer so we can test against
23776 # which version we're using. SWIG doesn't provide this
23777 # to us so we have to come up with it on our own.
23778 # The major is passed straight through,
23779 # the minor is zero padded to two places,
23780 # and the patch level is zero padded to three places.
23781 # e.g. 1.3.24 becomes 103024
23782 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
23783 $SED -e 's/[^0-9\.].*$//' \
23784 -e 's/\.\([0-9]\)$/.0\1/' \
23785 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
23786 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
23787 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
23788 $as_echo "$SWIG_VERSION_RAW" >&6; }
23789 # If you change the required swig version number, don't forget to update:
23790 # subversion/bindings/swig/INSTALL
23791 # packages/rpm/redhat-8+/subversion.spec
23792 # packages/rpm/redhat-7.x/subversion.spec
23793 # packages/rpm/rhel-3/subversion.spec
23794 # packages/rpm/rhel-4/subversion.spec
23795 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
23799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23800 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
23802 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
23806 SWIG_PY_COMPILE="none"
23807 SWIG_PY_LINK="none"
23808 if test "$PYTHON" != "none"; then
23809 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
23810 $as_echo "$as_me: Configuring python swig binding" >&6;}
23812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
23813 $as_echo_n "checking for Python includes... " >&6; }
23814 if ${ac_cv_python_includes+:} false; then :
23815 $as_echo_n "(cached) " >&6
23818 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
23821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
23822 $as_echo "$ac_cv_python_includes" >&6; }
23823 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
23825 if test "$ac_cv_python_includes" = "none"; then
23826 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
23827 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
23830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
23831 $as_echo_n "checking for compiling Python extensions... " >&6; }
23832 if ${ac_cv_python_compile+:} false; then :
23833 $as_echo_n "(cached) " >&6
23836 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
23839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
23840 $as_echo "$ac_cv_python_compile" >&6; }
23841 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
23843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
23844 $as_echo_n "checking for linking Python extensions... " >&6; }
23845 if ${ac_cv_python_link+:} false; then :
23846 $as_echo_n "(cached) " >&6
23849 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
23852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
23853 $as_echo "$ac_cv_python_link" >&6; }
23854 SWIG_PY_LINK="$ac_cv_python_link"
23856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
23857 $as_echo_n "checking for linking Python libraries... " >&6; }
23858 if ${ac_cv_python_libs+:} false; then :
23859 $as_echo_n "(cached) " >&6
23862 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
23866 $as_echo "$ac_cv_python_libs" >&6; }
23868 input_flags="$ac_cv_python_libs"
23870 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23871 for flag in $input_flags; do
23873 for dir in $filtered_dirs; do
23874 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23879 if test "$filter" = "no"; then
23880 output_flags="$output_flags $flag"
23883 if test -n "$output_flags"; then
23884 printf "%s" "${output_flags# }"
23888 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
23889 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
23891 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
23892 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
23893 $as_echo_n "(cached) " >&6
23896 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23898 /* end confdefs.h. */
23900 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23903 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
23904 svn_cv_pycfmt_apr_int64_t="L"
23909 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23911 /* end confdefs.h. */
23914 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23916 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23917 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
23918 svn_cv_pycfmt_apr_int64_t="l"
23923 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23925 /* end confdefs.h. */
23927 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23929 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23930 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
23931 svn_cv_pycfmt_apr_int64_t="i"
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
23939 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
23940 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
23941 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23942 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
23945 cat >>confdefs.h <<_ACEOF
23946 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
23951 if test "$PERL" != "none"; then
23952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
23953 $as_echo_n "checking perl version... " >&6; }
23954 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
23955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
23956 $as_echo "$PERL_VERSION" >&6; }
23957 if test "$PERL_VERSION" -ge "5008000"; then
23958 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
23960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
23961 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
23965 SWIG_RB_COMPILE="none"
23966 SWIG_RB_LINK="none"
23967 if test "$RUBY" != "none"; then
23968 rbconfig="$RUBY -rrbconfig -e "
23970 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
23971 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
23973 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
23974 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
23977 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
23978 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
23980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
23981 $as_echo_n "checking for Ruby include path... " >&6; }
23982 if ${svn_cv_ruby_includes+:} false; then :
23983 $as_echo_n "(cached) " >&6
23986 if test -d "$rbconfig_rubyhdrdir"; then
23987 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
23988 if test -d "$rbconfig_rubyarchhdrdir"; then
23989 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
23991 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
23994 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
23999 $as_echo "$svn_cv_ruby_includes" >&6; }
24000 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24003 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24004 if ${svn_cv_ruby_compile+:} false; then :
24005 $as_echo_n "(cached) " >&6
24008 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24012 $as_echo "$svn_cv_ruby_compile" >&6; }
24013 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24015 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24018 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24021 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24023 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24026 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24027 if ${svn_cv_ruby_link+:} false; then :
24028 $as_echo_n "(cached) " >&6
24031 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24032 $rbconfig_LDSHARED`"
24033 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24034 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24038 $as_echo "$svn_cv_ruby_link" >&6; }
24039 SWIG_RB_LINK="$svn_cv_ruby_link"
24041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24042 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24043 if ${ac_cv_ruby_libs+:} false; then :
24044 $as_echo_n "(cached) " >&6
24047 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24051 $as_echo "$ac_cv_ruby_libs" >&6; }
24053 input_flags="$ac_cv_ruby_libs"
24055 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24056 for flag in $input_flags; do
24058 for dir in $filtered_dirs; do
24059 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24064 if test "$filter" = "no"; then
24065 output_flags="$output_flags $flag"
24068 if test -n "$output_flags"; then
24069 printf "%s" "${output_flags# }"
24073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24074 $as_echo_n "checking for rb_errinfo... " >&6; }
24075 old_CFLAGS="$CFLAGS"
24077 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24079 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24082 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24085 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24087 LIBS="$SWIG_RB_LIBS"
24088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24089 /* end confdefs.h. */
24095 if ac_fn_c_try_link "$LINENO"; then :
24096 have_rb_errinfo="yes"
24098 have_rb_errinfo="no"
24100 rm -f core conftest.err conftest.$ac_objext \
24101 conftest$ac_exeext conftest.$ac_ext
24102 if test "$have_rb_errinfo" = "yes"; then
24103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24104 $as_echo "yes" >&6; }
24106 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24110 $as_echo "no" >&6; }
24112 CFLAGS="$old_CFLAGS"
24115 if ${svn_cv_ruby_sitedir+:} false; then :
24116 $as_echo_n "(cached) " >&6
24119 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24124 # Check whether --with-ruby-sitedir was given.
24125 if test "${with_ruby_sitedir+set}" = set; then :
24126 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24128 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24133 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24134 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24135 $as_echo_n "(cached) " >&6
24138 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24139 $SED -e "s,^$rbconfig_sitedir,,"`"
24143 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24145 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24148 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24149 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24150 $as_echo_n "(cached) " >&6
24153 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24154 $SED -e "s,^$rbconfig_sitedir,,"`"
24158 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24160 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24163 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24164 if ${svn_cv_ruby_test_verbose+:} false; then :
24165 $as_echo_n "(cached) " >&6
24168 svn_cv_ruby_test_verbose="normal"
24173 # Check whether --with-ruby-test-verbose was given.
24174 if test "${with_ruby_test_verbose+set}" = set; then :
24175 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24177 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24180 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24182 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24203 if test $where = no; then
24205 elif test $where = check; then
24206 # Extract the first word of "swig", so it can be a program name with args.
24207 set dummy swig; ac_word=$2
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24209 $as_echo_n "checking for $ac_word... " >&6; }
24210 if ${ac_cv_path_SWIG+:} false; then :
24211 $as_echo_n "(cached) " >&6
24215 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24219 for as_dir in $PATH
24222 test -z "$as_dir" && as_dir=.
24223 for ac_exec_ext in '' $ac_executable_extensions; do
24224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24225 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24233 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24237 SWIG=$ac_cv_path_SWIG
24238 if test -n "$SWIG"; then
24239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24240 $as_echo "$SWIG" >&6; }
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24243 $as_echo "no" >&6; }
24248 if test -f "$where"; then
24251 SWIG="$where/bin/swig"
24253 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24254 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24258 if test "$SWIG" != "none"; then
24259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24260 $as_echo_n "checking swig version... " >&6; }
24261 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24262 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24263 # We want the version as an integer so we can test against
24264 # which version we're using. SWIG doesn't provide this
24265 # to us so we have to come up with it on our own.
24266 # The major is passed straight through,
24267 # the minor is zero padded to two places,
24268 # and the patch level is zero padded to three places.
24269 # e.g. 1.3.24 becomes 103024
24270 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24271 $SED -e 's/[^0-9\.].*$//' \
24272 -e 's/\.\([0-9]\)$/.0\1/' \
24273 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24274 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24276 $as_echo "$SWIG_VERSION_RAW" >&6; }
24277 # If you change the required swig version number, don't forget to update:
24278 # subversion/bindings/swig/INSTALL
24279 # packages/rpm/redhat-8+/subversion.spec
24280 # packages/rpm/redhat-7.x/subversion.spec
24281 # packages/rpm/rhel-3/subversion.spec
24282 # packages/rpm/rhel-4/subversion.spec
24283 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
24287 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24288 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
24290 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
24294 SWIG_PY_COMPILE="none"
24295 SWIG_PY_LINK="none"
24296 if test "$PYTHON" != "none"; then
24297 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24298 $as_echo "$as_me: Configuring python swig binding" >&6;}
24300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24301 $as_echo_n "checking for Python includes... " >&6; }
24302 if ${ac_cv_python_includes+:} false; then :
24303 $as_echo_n "(cached) " >&6
24306 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24310 $as_echo "$ac_cv_python_includes" >&6; }
24311 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24313 if test "$ac_cv_python_includes" = "none"; then
24314 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24315 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24319 $as_echo_n "checking for compiling Python extensions... " >&6; }
24320 if ${ac_cv_python_compile+:} false; then :
24321 $as_echo_n "(cached) " >&6
24324 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24328 $as_echo "$ac_cv_python_compile" >&6; }
24329 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24332 $as_echo_n "checking for linking Python extensions... " >&6; }
24333 if ${ac_cv_python_link+:} false; then :
24334 $as_echo_n "(cached) " >&6
24337 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24341 $as_echo "$ac_cv_python_link" >&6; }
24342 SWIG_PY_LINK="$ac_cv_python_link"
24344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24345 $as_echo_n "checking for linking Python libraries... " >&6; }
24346 if ${ac_cv_python_libs+:} false; then :
24347 $as_echo_n "(cached) " >&6
24350 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24354 $as_echo "$ac_cv_python_libs" >&6; }
24356 input_flags="$ac_cv_python_libs"
24358 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24359 for flag in $input_flags; do
24361 for dir in $filtered_dirs; do
24362 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24367 if test "$filter" = "no"; then
24368 output_flags="$output_flags $flag"
24371 if test -n "$output_flags"; then
24372 printf "%s" "${output_flags# }"
24376 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24377 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24379 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24380 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24381 $as_echo_n "(cached) " >&6
24384 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24386 /* end confdefs.h. */
24388 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24390 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24391 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24392 svn_cv_pycfmt_apr_int64_t="L"
24397 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24399 /* end confdefs.h. */
24402 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24404 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24405 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24406 svn_cv_pycfmt_apr_int64_t="l"
24411 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24413 /* end confdefs.h. */
24415 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24417 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24418 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24419 svn_cv_pycfmt_apr_int64_t="i"
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24427 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24428 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24429 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24430 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24433 cat >>confdefs.h <<_ACEOF
24434 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24439 if test "$PERL" != "none"; then
24440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24441 $as_echo_n "checking perl version... " >&6; }
24442 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24444 $as_echo "$PERL_VERSION" >&6; }
24445 if test "$PERL_VERSION" -ge "5008000"; then
24446 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24449 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24453 SWIG_RB_COMPILE="none"
24454 SWIG_RB_LINK="none"
24455 if test "$RUBY" != "none"; then
24456 rbconfig="$RUBY -rrbconfig -e "
24458 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24459 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
24461 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24462 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24465 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24466 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24469 $as_echo_n "checking for Ruby include path... " >&6; }
24470 if ${svn_cv_ruby_includes+:} false; then :
24471 $as_echo_n "(cached) " >&6
24474 if test -d "$rbconfig_rubyhdrdir"; then
24475 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
24476 if test -d "$rbconfig_rubyarchhdrdir"; then
24477 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
24479 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24482 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24487 $as_echo "$svn_cv_ruby_includes" >&6; }
24488 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24491 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24492 if ${svn_cv_ruby_compile+:} false; then :
24493 $as_echo_n "(cached) " >&6
24496 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24500 $as_echo "$svn_cv_ruby_compile" >&6; }
24501 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24503 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24506 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24509 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24511 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24514 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24515 if ${svn_cv_ruby_link+:} false; then :
24516 $as_echo_n "(cached) " >&6
24519 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24520 $rbconfig_LDSHARED`"
24521 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24522 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24526 $as_echo "$svn_cv_ruby_link" >&6; }
24527 SWIG_RB_LINK="$svn_cv_ruby_link"
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24530 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24531 if ${ac_cv_ruby_libs+:} false; then :
24532 $as_echo_n "(cached) " >&6
24535 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24539 $as_echo "$ac_cv_ruby_libs" >&6; }
24541 input_flags="$ac_cv_ruby_libs"
24543 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24544 for flag in $input_flags; do
24546 for dir in $filtered_dirs; do
24547 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24552 if test "$filter" = "no"; then
24553 output_flags="$output_flags $flag"
24556 if test -n "$output_flags"; then
24557 printf "%s" "${output_flags# }"
24561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24562 $as_echo_n "checking for rb_errinfo... " >&6; }
24563 old_CFLAGS="$CFLAGS"
24565 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24567 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24570 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24573 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24575 LIBS="$SWIG_RB_LIBS"
24576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24577 /* end confdefs.h. */
24583 if ac_fn_c_try_link "$LINENO"; then :
24584 have_rb_errinfo="yes"
24586 have_rb_errinfo="no"
24588 rm -f core conftest.err conftest.$ac_objext \
24589 conftest$ac_exeext conftest.$ac_ext
24590 if test "$have_rb_errinfo" = "yes"; then
24591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24592 $as_echo "yes" >&6; }
24594 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24598 $as_echo "no" >&6; }
24600 CFLAGS="$old_CFLAGS"
24603 if ${svn_cv_ruby_sitedir+:} false; then :
24604 $as_echo_n "(cached) " >&6
24607 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24612 # Check whether --with-ruby-sitedir was given.
24613 if test "${with_ruby_sitedir+set}" = set; then :
24614 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24616 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24621 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24622 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24623 $as_echo_n "(cached) " >&6
24626 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24627 $SED -e "s,^$rbconfig_sitedir,,"`"
24631 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24633 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24636 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24637 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24638 $as_echo_n "(cached) " >&6
24641 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24642 $SED -e "s,^$rbconfig_sitedir,,"`"
24646 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24648 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24651 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24652 if ${svn_cv_ruby_test_verbose+:} false; then :
24653 $as_echo_n "(cached) " >&6
24656 svn_cv_ruby_test_verbose="normal"
24661 # Check whether --with-ruby-test-verbose was given.
24662 if test "${with_ruby_test_verbose+set}" = set; then :
24663 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24665 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24668 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24670 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24691 if test $where = no; then
24693 elif test $where = check; then
24694 # Extract the first word of "swig", so it can be a program name with args.
24695 set dummy swig; ac_word=$2
24696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24697 $as_echo_n "checking for $ac_word... " >&6; }
24698 if ${ac_cv_path_SWIG+:} false; then :
24699 $as_echo_n "(cached) " >&6
24703 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24707 for as_dir in $PATH
24710 test -z "$as_dir" && as_dir=.
24711 for ac_exec_ext in '' $ac_executable_extensions; do
24712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24713 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24721 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24725 SWIG=$ac_cv_path_SWIG
24726 if test -n "$SWIG"; then
24727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24728 $as_echo "$SWIG" >&6; }
24730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24731 $as_echo "no" >&6; }
24736 if test -f "$where"; then
24739 SWIG="$where/bin/swig"
24741 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24742 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24746 if test "$SWIG" != "none"; then
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24748 $as_echo_n "checking swig version... " >&6; }
24749 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24750 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24751 # We want the version as an integer so we can test against
24752 # which version we're using. SWIG doesn't provide this
24753 # to us so we have to come up with it on our own.
24754 # The major is passed straight through,
24755 # the minor is zero padded to two places,
24756 # and the patch level is zero padded to three places.
24757 # e.g. 1.3.24 becomes 103024
24758 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24759 $SED -e 's/[^0-9\.].*$//' \
24760 -e 's/\.\([0-9]\)$/.0\1/' \
24761 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24762 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24764 $as_echo "$SWIG_VERSION_RAW" >&6; }
24765 # If you change the required swig version number, don't forget to update:
24766 # subversion/bindings/swig/INSTALL
24767 # packages/rpm/redhat-8+/subversion.spec
24768 # packages/rpm/redhat-7.x/subversion.spec
24769 # packages/rpm/rhel-3/subversion.spec
24770 # packages/rpm/rhel-4/subversion.spec
24771 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
24775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24776 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24777 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
24778 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
24782 SWIG_PY_COMPILE="none"
24783 SWIG_PY_LINK="none"
24784 if test "$PYTHON" != "none"; then
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24786 $as_echo "$as_me: Configuring python swig binding" >&6;}
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24789 $as_echo_n "checking for Python includes... " >&6; }
24790 if ${ac_cv_python_includes+:} false; then :
24791 $as_echo_n "(cached) " >&6
24794 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24798 $as_echo "$ac_cv_python_includes" >&6; }
24799 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24801 if test "$ac_cv_python_includes" = "none"; then
24802 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24803 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24807 $as_echo_n "checking for compiling Python extensions... " >&6; }
24808 if ${ac_cv_python_compile+:} false; then :
24809 $as_echo_n "(cached) " >&6
24812 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24816 $as_echo "$ac_cv_python_compile" >&6; }
24817 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24820 $as_echo_n "checking for linking Python extensions... " >&6; }
24821 if ${ac_cv_python_link+:} false; then :
24822 $as_echo_n "(cached) " >&6
24825 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24829 $as_echo "$ac_cv_python_link" >&6; }
24830 SWIG_PY_LINK="$ac_cv_python_link"
24832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24833 $as_echo_n "checking for linking Python libraries... " >&6; }
24834 if ${ac_cv_python_libs+:} false; then :
24835 $as_echo_n "(cached) " >&6
24838 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24842 $as_echo "$ac_cv_python_libs" >&6; }
24844 input_flags="$ac_cv_python_libs"
24846 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24847 for flag in $input_flags; do
24849 for dir in $filtered_dirs; do
24850 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24855 if test "$filter" = "no"; then
24856 output_flags="$output_flags $flag"
24859 if test -n "$output_flags"; then
24860 printf "%s" "${output_flags# }"
24864 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24865 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24867 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24868 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24869 $as_echo_n "(cached) " >&6
24872 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24874 /* end confdefs.h. */
24876 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24878 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24879 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24880 svn_cv_pycfmt_apr_int64_t="L"
24885 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24887 /* end confdefs.h. */
24890 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24893 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24894 svn_cv_pycfmt_apr_int64_t="l"
24899 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24901 /* end confdefs.h. */
24903 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24905 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24906 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24907 svn_cv_pycfmt_apr_int64_t="i"
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24915 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24916 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24917 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24918 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24921 cat >>confdefs.h <<_ACEOF
24922 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24927 if test "$PERL" != "none"; then
24928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24929 $as_echo_n "checking perl version... " >&6; }
24930 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24932 $as_echo "$PERL_VERSION" >&6; }
24933 if test "$PERL_VERSION" -ge "5008000"; then
24934 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24937 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24941 SWIG_RB_COMPILE="none"
24942 SWIG_RB_LINK="none"
24943 if test "$RUBY" != "none"; then
24944 rbconfig="$RUBY -rrbconfig -e "
24946 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24947 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
24949 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24950 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24953 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24954 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24957 $as_echo_n "checking for Ruby include path... " >&6; }
24958 if ${svn_cv_ruby_includes+:} false; then :
24959 $as_echo_n "(cached) " >&6
24962 if test -d "$rbconfig_rubyhdrdir"; then
24963 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
24964 if test -d "$rbconfig_rubyarchhdrdir"; then
24965 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
24967 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24970 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24975 $as_echo "$svn_cv_ruby_includes" >&6; }
24976 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24979 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24980 if ${svn_cv_ruby_compile+:} false; then :
24981 $as_echo_n "(cached) " >&6
24984 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24988 $as_echo "$svn_cv_ruby_compile" >&6; }
24989 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24991 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24994 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24997 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24999 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
25001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
25002 $as_echo_n "checking how to link Ruby extensions... " >&6; }
25003 if ${svn_cv_ruby_link+:} false; then :
25004 $as_echo_n "(cached) " >&6
25007 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
25008 $rbconfig_LDSHARED`"
25009 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
25010 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
25013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
25014 $as_echo "$svn_cv_ruby_link" >&6; }
25015 SWIG_RB_LINK="$svn_cv_ruby_link"
25017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
25018 $as_echo_n "checking how to link Ruby libraries... " >&6; }
25019 if ${ac_cv_ruby_libs+:} false; then :
25020 $as_echo_n "(cached) " >&6
25023 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
25026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
25027 $as_echo "$ac_cv_ruby_libs" >&6; }
25029 input_flags="$ac_cv_ruby_libs"
25031 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25032 for flag in $input_flags; do
25034 for dir in $filtered_dirs; do
25035 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25040 if test "$filter" = "no"; then
25041 output_flags="$output_flags $flag"
25044 if test -n "$output_flags"; then
25045 printf "%s" "${output_flags# }"
25049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
25050 $as_echo_n "checking for rb_errinfo... " >&6; }
25051 old_CFLAGS="$CFLAGS"
25053 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
25055 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
25058 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
25061 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
25063 LIBS="$SWIG_RB_LIBS"
25064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25065 /* end confdefs.h. */
25071 if ac_fn_c_try_link "$LINENO"; then :
25072 have_rb_errinfo="yes"
25074 have_rb_errinfo="no"
25076 rm -f core conftest.err conftest.$ac_objext \
25077 conftest$ac_exeext conftest.$ac_ext
25078 if test "$have_rb_errinfo" = "yes"; then
25079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25080 $as_echo "yes" >&6; }
25082 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
25085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25086 $as_echo "no" >&6; }
25088 CFLAGS="$old_CFLAGS"
25091 if ${svn_cv_ruby_sitedir+:} false; then :
25092 $as_echo_n "(cached) " >&6
25095 svn_cv_ruby_sitedir="$rbconfig_sitedir"
25100 # Check whether --with-ruby-sitedir was given.
25101 if test "${with_ruby_sitedir+set}" = set; then :
25102 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
25104 svn_ruby_installdir="$svn_cv_ruby_sitedir"
25108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
25109 $as_echo_n "checking where to install Ruby scripts... " >&6; }
25110 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
25111 $as_echo_n "(cached) " >&6
25114 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
25115 $SED -e "s,^$rbconfig_sitedir,,"`"
25119 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
25120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
25121 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
25123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
25124 $as_echo_n "checking where to install Ruby extensions... " >&6; }
25125 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
25126 $as_echo_n "(cached) " >&6
25129 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
25130 $SED -e "s,^$rbconfig_sitedir,,"`"
25134 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
25135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
25136 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
25138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
25139 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
25140 if ${svn_cv_ruby_test_verbose+:} false; then :
25141 $as_echo_n "(cached) " >&6
25144 svn_cv_ruby_test_verbose="normal"
25149 # Check whether --with-ruby-test-verbose was given.
25150 if test "${with_ruby_test_verbose+set}" = set; then :
25151 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
25153 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
25156 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
25157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
25158 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
25182 if test $where = no; then
25184 elif test $where = check; then
25185 # Extract the first word of "swig", so it can be a program name with args.
25186 set dummy swig; ac_word=$2
25187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25188 $as_echo_n "checking for $ac_word... " >&6; }
25189 if ${ac_cv_path_SWIG+:} false; then :
25190 $as_echo_n "(cached) " >&6
25194 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
25197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25198 for as_dir in $PATH
25201 test -z "$as_dir" && as_dir=.
25202 for ac_exec_ext in '' $ac_executable_extensions; do
25203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25204 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
25205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25212 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
25216 SWIG=$ac_cv_path_SWIG
25217 if test -n "$SWIG"; then
25218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
25219 $as_echo "$SWIG" >&6; }
25221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25222 $as_echo "no" >&6; }
25227 if test -f "$where"; then
25230 SWIG="$where/bin/swig"
25232 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
25233 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
25237 if test "$SWIG" != "none"; then
25238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
25239 $as_echo_n "checking swig version... " >&6; }
25240 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
25241 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
25242 # We want the version as an integer so we can test against
25243 # which version we're using. SWIG doesn't provide this
25244 # to us so we have to come up with it on our own.
25245 # The major is passed straight through,
25246 # the minor is zero padded to two places,
25247 # and the patch level is zero padded to three places.
25248 # e.g. 1.3.24 becomes 103024
25249 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
25250 $SED -e 's/[^0-9\.].*$//' \
25251 -e 's/\.\([0-9]\)$/.0\1/' \
25252 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
25253 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
25254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
25255 $as_echo "$SWIG_VERSION_RAW" >&6; }
25256 # If you change the required swig version number, don't forget to update:
25257 # subversion/bindings/swig/INSTALL
25258 # packages/rpm/redhat-8+/subversion.spec
25259 # packages/rpm/redhat-7.x/subversion.spec
25260 # packages/rpm/rhel-3/subversion.spec
25261 # packages/rpm/rhel-4/subversion.spec
25262 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
25266 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
25267 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
25268 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG >= 1.3.24" >&5
25269 $as_echo "$as_me: WARNING: Subversion requires SWIG >= 1.3.24" >&2;}
25273 SWIG_PY_COMPILE="none"
25274 SWIG_PY_LINK="none"
25275 if test "$PYTHON" != "none"; then
25276 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
25277 $as_echo "$as_me: Configuring python swig binding" >&6;}
25279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
25280 $as_echo_n "checking for Python includes... " >&6; }
25281 if ${ac_cv_python_includes+:} false; then :
25282 $as_echo_n "(cached) " >&6
25285 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
25288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
25289 $as_echo "$ac_cv_python_includes" >&6; }
25290 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
25292 if test "$ac_cv_python_includes" = "none"; then
25293 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
25294 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
25298 $as_echo_n "checking for compiling Python extensions... " >&6; }
25299 if ${ac_cv_python_compile+:} false; then :
25300 $as_echo_n "(cached) " >&6
25303 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
25306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
25307 $as_echo "$ac_cv_python_compile" >&6; }
25308 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
25310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
25311 $as_echo_n "checking for linking Python extensions... " >&6; }
25312 if ${ac_cv_python_link+:} false; then :
25313 $as_echo_n "(cached) " >&6
25316 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
25319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
25320 $as_echo "$ac_cv_python_link" >&6; }
25321 SWIG_PY_LINK="$ac_cv_python_link"
25323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
25324 $as_echo_n "checking for linking Python libraries... " >&6; }
25325 if ${ac_cv_python_libs+:} false; then :
25326 $as_echo_n "(cached) " >&6
25329 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
25332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
25333 $as_echo "$ac_cv_python_libs" >&6; }
25335 input_flags="$ac_cv_python_libs"
25337 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25338 for flag in $input_flags; do
25340 for dir in $filtered_dirs; do
25341 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25346 if test "$filter" = "no"; then
25347 output_flags="$output_flags $flag"
25350 if test -n "$output_flags"; then
25351 printf "%s" "${output_flags# }"
25355 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
25356 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
25357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
25358 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
25359 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
25360 $as_echo_n "(cached) " >&6
25363 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25365 /* end confdefs.h. */
25367 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25369 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25370 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
25371 svn_cv_pycfmt_apr_int64_t="L"
25376 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25378 /* end confdefs.h. */
25381 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25383 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25384 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
25385 svn_cv_pycfmt_apr_int64_t="l"
25390 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25392 /* end confdefs.h. */
25394 MaTcHtHiS APR_INT64_T_FMT EnDeNd
25396 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
25397 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
25398 svn_cv_pycfmt_apr_int64_t="i"
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
25406 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
25407 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
25408 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
25409 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
25412 cat >>confdefs.h <<_ACEOF
25413 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
25418 if test "$PERL" != "none"; then
25419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
25420 $as_echo_n "checking perl version... " >&6; }
25421 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
25423 $as_echo "$PERL_VERSION" >&6; }
25424 if test "$PERL_VERSION" -ge "5008000"; then
25425 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
25427 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
25428 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
25432 SWIG_RB_COMPILE="none"
25433 SWIG_RB_LINK="none"
25434 if test "$RUBY" != "none"; then
25435 rbconfig="$RUBY -rrbconfig -e "
25437 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
25438 rubyhdrdir rubyarchhdrdir sitedir sitelibdir sitearchdir libdir
25440 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
25441 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
25444 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
25445 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
25447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
25448 $as_echo_n "checking for Ruby include path... " >&6; }
25449 if ${svn_cv_ruby_includes+:} false; then :
25450 $as_echo_n "(cached) " >&6
25453 if test -d "$rbconfig_rubyhdrdir"; then
25454 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward"
25455 if test -d "$rbconfig_rubyarchhdrdir"; then
25456 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyarchhdrdir"
25458 svn_cv_ruby_includes="$svn_cv_ruby_includes -I$rbconfig_rubyhdrdir/$rbconfig_arch"
25461 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
25465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
25466 $as_echo "$svn_cv_ruby_includes" >&6; }
25467 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
25470 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
25471 if ${svn_cv_ruby_compile+:} false; then :
25472 $as_echo_n "(cached) " >&6
25475 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
25478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
25479 $as_echo "$svn_cv_ruby_compile" >&6; }
25480 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
25482 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
25485 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
25488 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
25490 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
25492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
25493 $as_echo_n "checking how to link Ruby extensions... " >&6; }
25494 if ${svn_cv_ruby_link+:} false; then :
25495 $as_echo_n "(cached) " >&6
25498 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
25499 $rbconfig_LDSHARED`"
25500 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
25501 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
25504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
25505 $as_echo "$svn_cv_ruby_link" >&6; }
25506 SWIG_RB_LINK="$svn_cv_ruby_link"
25508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
25509 $as_echo_n "checking how to link Ruby libraries... " >&6; }
25510 if ${ac_cv_ruby_libs+:} false; then :
25511 $as_echo_n "(cached) " >&6
25514 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
25517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
25518 $as_echo "$ac_cv_ruby_libs" >&6; }
25520 input_flags="$ac_cv_ruby_libs"
25522 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
25523 for flag in $input_flags; do
25525 for dir in $filtered_dirs; do
25526 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
25531 if test "$filter" = "no"; then
25532 output_flags="$output_flags $flag"
25535 if test -n "$output_flags"; then
25536 printf "%s" "${output_flags# }"
25540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
25541 $as_echo_n "checking for rb_errinfo... " >&6; }
25542 old_CFLAGS="$CFLAGS"
25544 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
25546 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
25549 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
25552 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
25554 LIBS="$SWIG_RB_LIBS"
25555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25556 /* end confdefs.h. */
25562 if ac_fn_c_try_link "$LINENO"; then :
25563 have_rb_errinfo="yes"
25565 have_rb_errinfo="no"
25567 rm -f core conftest.err conftest.$ac_objext \
25568 conftest$ac_exeext conftest.$ac_ext
25569 if test "$have_rb_errinfo" = "yes"; then
25570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
25571 $as_echo "yes" >&6; }
25573 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
25576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25577 $as_echo "no" >&6; }
25579 CFLAGS="$old_CFLAGS"
25582 if ${svn_cv_ruby_sitedir+:} false; then :
25583 $as_echo_n "(cached) " >&6
25586 svn_cv_ruby_sitedir="$rbconfig_sitedir"
25591 # Check whether --with-ruby-sitedir was given.
25592 if test "${with_ruby_sitedir+set}" = set; then :
25593 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
25595 svn_ruby_installdir="$svn_cv_ruby_sitedir"
25599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
25600 $as_echo_n "checking where to install Ruby scripts... " >&6; }
25601 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
25602 $as_echo_n "(cached) " >&6
25605 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
25606 $SED -e "s,^$rbconfig_sitedir,,"`"
25610 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
25612 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
25614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
25615 $as_echo_n "checking where to install Ruby extensions... " >&6; }
25616 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
25617 $as_echo_n "(cached) " >&6
25620 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
25621 $SED -e "s,^$rbconfig_sitedir,,"`"
25625 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
25626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
25627 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
25629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
25630 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
25631 if ${svn_cv_ruby_test_verbose+:} false; then :
25632 $as_echo_n "(cached) " >&6
25635 svn_cv_ruby_test_verbose="normal"
25640 # Check whether --with-ruby-test-verbose was given.
25641 if test "${with_ruby_test_verbose+set}" = set; then :
25642 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
25644 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
25647 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
25648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
25649 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
25672 # Check whether --with-ctypesgen was given.
25673 if test "${with_ctypesgen+set}" = set; then :
25674 withval=$with_ctypesgen;
25682 if test $where = check; then
25683 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25684 set dummy "ctypesgen.py"; ac_word=$2
25685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25686 $as_echo_n "checking for $ac_word... " >&6; }
25687 if ${ac_cv_path_CTYPESGEN+:} false; then :
25688 $as_echo_n "(cached) " >&6
25692 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25696 for as_dir in $PATH
25699 test -z "$as_dir" && as_dir=.
25700 for ac_exec_ext in '' $ac_executable_extensions; do
25701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25702 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25710 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25714 CTYPESGEN=$ac_cv_path_CTYPESGEN
25715 if test -n "$CTYPESGEN"; then
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25717 $as_echo "$CTYPESGEN" >&6; }
25719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25720 $as_echo "no" >&6; }
25724 elif test $where != no; then
25725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25726 $as_echo_n "checking for ctypesgen.py... " >&6; }
25728 if test -f "$where"; then
25730 elif test -f "$where/bin/ctypesgen.py"; then
25731 CTYPESGEN="$where/bin/ctypesgen.py"
25733 CTYPESGEN="$where/ctypesgen.py"
25736 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25737 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25738 $where/bin/ctypesgen.py" "$LINENO" 5
25740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25741 $as_echo "$CTYPESGEN" >&6; }
25754 if test $where = check; then
25755 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25756 set dummy "ctypesgen.py"; ac_word=$2
25757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25758 $as_echo_n "checking for $ac_word... " >&6; }
25759 if ${ac_cv_path_CTYPESGEN+:} false; then :
25760 $as_echo_n "(cached) " >&6
25764 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25767 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25768 for as_dir in $PATH
25771 test -z "$as_dir" && as_dir=.
25772 for ac_exec_ext in '' $ac_executable_extensions; do
25773 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25774 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25775 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25782 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25786 CTYPESGEN=$ac_cv_path_CTYPESGEN
25787 if test -n "$CTYPESGEN"; then
25788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25789 $as_echo "$CTYPESGEN" >&6; }
25791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25792 $as_echo "no" >&6; }
25796 elif test $where != no; then
25797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25798 $as_echo_n "checking for ctypesgen.py... " >&6; }
25800 if test -f "$where"; then
25802 elif test -f "$where/bin/ctypesgen.py"; then
25803 CTYPESGEN="$where/bin/ctypesgen.py"
25805 CTYPESGEN="$where/ctypesgen.py"
25808 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25809 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25810 $where/bin/ctypesgen.py" "$LINENO" 5
25812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25813 $as_echo "$CTYPESGEN" >&6; }
25826 if test $where = check; then
25827 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25828 set dummy "ctypesgen.py"; ac_word=$2
25829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25830 $as_echo_n "checking for $ac_word... " >&6; }
25831 if ${ac_cv_path_CTYPESGEN+:} false; then :
25832 $as_echo_n "(cached) " >&6
25836 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25840 for as_dir in $PATH
25843 test -z "$as_dir" && as_dir=.
25844 for ac_exec_ext in '' $ac_executable_extensions; do
25845 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25846 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25854 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25858 CTYPESGEN=$ac_cv_path_CTYPESGEN
25859 if test -n "$CTYPESGEN"; then
25860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25861 $as_echo "$CTYPESGEN" >&6; }
25863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25864 $as_echo "no" >&6; }
25868 elif test $where != no; then
25869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25870 $as_echo_n "checking for ctypesgen.py... " >&6; }
25872 if test -f "$where"; then
25874 elif test -f "$where/bin/ctypesgen.py"; then
25875 CTYPESGEN="$where/bin/ctypesgen.py"
25877 CTYPESGEN="$where/ctypesgen.py"
25880 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25881 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25882 $where/bin/ctypesgen.py" "$LINENO" 5
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25885 $as_echo "$CTYPESGEN" >&6; }
25901 if test $where = check; then
25902 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
25903 set dummy "ctypesgen.py"; ac_word=$2
25904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
25905 $as_echo_n "checking for $ac_word... " >&6; }
25906 if ${ac_cv_path_CTYPESGEN+:} false; then :
25907 $as_echo_n "(cached) " >&6
25911 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
25914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25915 for as_dir in $PATH
25918 test -z "$as_dir" && as_dir=.
25919 for ac_exec_ext in '' $ac_executable_extensions; do
25920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25921 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25929 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25933 CTYPESGEN=$ac_cv_path_CTYPESGEN
25934 if test -n "$CTYPESGEN"; then
25935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25936 $as_echo "$CTYPESGEN" >&6; }
25938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25939 $as_echo "no" >&6; }
25943 elif test $where != no; then
25944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25945 $as_echo_n "checking for ctypesgen.py... " >&6; }
25947 if test -f "$where"; then
25949 elif test -f "$where/bin/ctypesgen.py"; then
25950 CTYPESGEN="$where/bin/ctypesgen.py"
25952 CTYPESGEN="$where/ctypesgen.py"
25955 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25956 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25957 $where/bin/ctypesgen.py" "$LINENO" 5
25959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25960 $as_echo "$CTYPESGEN" >&6; }
25971 # Check whether --enable-runtime-module-search was given.
25972 if test "${enable_runtime_module_search+set}" = set; then :
25973 enableval=$enable_runtime_module_search;
25974 if test "$enableval" = "yes"; then
25976 if test "$svn_enable_shared" = "no"; then
25977 as_fn_error $? "--enable-runtime-module-search conflicts with --disable-shared" "$LINENO" 5
25980 $as_echo "#define SVN_USE_DSO 1" >>confdefs.h
25987 if test "$svn_enable_shared" = "no" || test "$use_dso" != "yes"; then
25989 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL 1" >>confdefs.h
25991 svn_ra_lib_deps="\$(RA_LOCAL_DEPS)"
25992 svn_ra_lib_install_deps="install-ramod-lib"
25993 svn_ra_lib_link="\$(RA_LOCAL_LINK)"
25996 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SVN 1" >>confdefs.h
25998 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SVN_DEPS)"
25999 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SVN_LINK)"
26001 if test "$svn_lib_serf" = "yes"; then
26003 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SERF 1" >>confdefs.h
26005 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SERF_DEPS)"
26006 svn_ra_lib_install_deps="$svn_ra_lib_install_deps install-serf-lib"
26007 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SERF_LINK)"
26010 SVN_RA_LIB_DEPS=$svn_ra_lib_deps
26011 SVN_RA_LIB_INSTALL_DEPS=$svn_ra_lib_install_deps
26012 SVN_RA_LIB_LINK=$svn_ra_lib_link
26015 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_FS 1" >>confdefs.h
26017 svn_fs_lib_deps="\$(FS_FS_DEPS)"
26018 svn_fs_lib_install_deps="install-fsmod-lib"
26019 svn_fs_lib_link="\$(FS_FS_LINK)"
26022 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_X 1" >>confdefs.h
26024 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_X_DEPS)"
26025 svn_fs_lib_link="$svn_fs_lib_link \$(FS_X_LINK)"
26027 if test "$svn_lib_berkeley_db" = "yes"; then
26029 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_BASE 1" >>confdefs.h
26031 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_BASE_DEPS)"
26032 svn_fs_lib_install_deps="$svn_fs_lib_install_deps install-bdb-lib"
26033 svn_fs_lib_link="$svn_fs_lib_link \$(FS_BASE_LINK)"
26036 SVN_FS_LIB_DEPS=$svn_fs_lib_deps
26037 SVN_FS_LIB_INSTALL_DEPS=$svn_fs_lib_install_deps
26038 SVN_FS_LIB_LINK=$svn_fs_lib_link
26048 # ==== JavaHL ================================================================
26051 # Check whether --enable-javahl was given.
26052 if test "${enable_javahl+set}" = set; then :
26053 enableval=$enable_javahl; if test "$enableval" = "yes" ; then
26054 do_javahl_build="yes"
26061 INSTALL_EXTRA_JAVAHL_LIB=""
26063 JAVAHL_TESTS_TARGET=""
26064 JAVAHL_COMPAT_TESTS_TARGET=""
26066 if test "$do_javahl_build" = "yes"; then
26067 if test "$JDK_SUITABLE" = "no"; then
26068 as_fn_error $? "Cannot compile JavaHL without a suitable JDK.
26069 Please specify a suitable JDK using the --with-jdk option." "$LINENO" 5
26072 JAVAHL_OBJDIR='$(libsvnjavahl_PATH)/.libs'
26075 if test "$os_arch" = "Darwin"; then
26076 INSTALL_EXTRA_JAVAHL_LIB='ln -sf $(libdir)/libsvnjavahl-1.dylib $(libdir)/libsvnjavahl-1.jnilib'
26077 FIX_JAVAHL_LIB="ln -sf libsvnjavahl-1.dylib $JAVAHL_OBJDIR/libsvnjavahl-1.jnilib"
26079 # This segment (and the rest of r10800) is very likely unnecessary
26080 # with libtool 1.5, which automatically adds libstdc++ as a
26081 # dependency to the C++ libraries it builds. So at some future time
26082 # when autogen.sh requires libtool 1.5 or higher, we can get rid of
26084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional flags to link C++ libraries" >&5
26085 $as_echo_n "checking for additional flags to link C++ libraries... " >&6; }
26086 if test "x$ac_compiler_gnu" = "xyes"; then
26089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26090 $as_echo "none needed" >&6; }
26093 LT_CXX_LIBADD="-lstdc++"
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LT_CXX_LIBADD" >&5
26095 $as_echo "$LT_CXX_LIBADD" >&6; }
26099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
26100 $as_echo "none needed" >&6; }
26109 # Check whether --with-junit was given.
26110 if test "${with_junit+set}" = set; then :
26111 withval=$with_junit;
26112 if test "$withval" != "no"; then
26113 if test -n "$JAVA_CLASSPATH"; then
26114 JAVA_CLASSPATH="$withval:$JAVA_CLASSPATH"
26116 JAVA_CLASSPATH="$withval"
26118 JAVAHL_TESTS_TARGET="javahl-tests"
26119 JAVAHL_COMPAT_TESTS_TARGET="javahl-compat-tests"
26128 # ==== Miscellaneous bits ====================================================
26130 for ac_header in stdbool.h inttypes.h
26132 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
26133 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
26134 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
26135 cat >>confdefs.h <<_ACEOF
26136 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
26144 # Strip '-no-cpp-precomp' from CPPFLAGS for the clang compiler
26145 ### I think we get this flag from APR, so the fix probably belongs there
26146 if test "$CC" = "clang"; then
26148 CPPFLAGS=`echo "$CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
26152 # Need to strip '-no-cpp-precomp' from CPPFLAGS for SWIG as well.
26153 SWIG_CPPFLAGS="$CPPFLAGS"
26155 SWIG_CPPFLAGS=`echo "$SWIG_CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
26158 SWIG_CPPFLAGS=`echo "$SWIG_CPPFLAGS" | $SED -e 's/-Wdate-time //'`
26163 cat >>confdefs.h <<_ACEOF
26164 #define SVN_PATH_LOCAL_SEPARATOR '/'
26169 cat >>confdefs.h <<_ACEOF
26170 #define SVN_NULL_DEVICE_NAME "/dev/null"
26174 DEFAULT_FS_TYPE="fsfs"
26176 cat >>confdefs.h <<_ACEOF
26177 #define DEFAULT_FS_TYPE "$DEFAULT_FS_TYPE"
26181 DEFAULT_HTTP_LIBRARY="serf"
26183 cat >>confdefs.h <<_ACEOF
26184 #define DEFAULT_HTTP_LIBRARY "$DEFAULT_HTTP_LIBRARY"
26188 # BSD/OS (BSDi) needs to use a different include syntax in Makefile
26189 INCLUDE_OUTPUTS="include \$(top_srcdir)/build-outputs.mk"
26192 # Check whether they've installed GNU make
26193 if ! make --version > /dev/null 2>&1; then
26195 INCLUDE_OUTPUTS=".include \"\$(top_srcdir)/build-outputs.mk\""
26201 # ==== Detection complete - output and run config.status =====================
26203 ac_config_headers="$ac_config_headers subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in"
26205 ac_config_commands="$ac_config_commands svn_private_config.h.tmp"
26207 ac_config_files="$ac_config_files Makefile"
26210 # Create pkg-config .pc files from .pc.in files
26211 for pc_in_file in "${abs_srcdir}"/subversion/libsvn_*/*.pc.in; do
26212 pc_file=${pc_in_file#${abs_srcdir}/}
26213 pc_file=${pc_file%.in}
26214 ac_config_files="$ac_config_files ${pc_file}"
26219 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/backup/hot-backup.py"
26220 ac_config_files="$ac_config_files tools/backup/hot-backup.py"
26223 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/hook-scripts/commit-access-control.pl"
26224 ac_config_files="$ac_config_files tools/hook-scripts/commit-access-control.pl"
26227 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES subversion/bindings/swig/perl/native/Makefile.PL"
26228 ac_config_files="$ac_config_files subversion/bindings/swig/perl/native/Makefile.PL"
26230 if test -e packages/solaris/pkginfo.in; then
26232 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES packages/solaris/pkginfo"
26233 ac_config_files="$ac_config_files packages/solaris/pkginfo"
26238 # Ensure that SWIG is checked after reconfiguration.
26239 rm -f .swig_checked
26242 cat >>confdefs.h <<_ACEOF
26243 #define SVN_BUILD_HOST "${host}"
26248 cat >>confdefs.h <<_ACEOF
26249 #define SVN_BUILD_TARGET "${target}"
26253 cat >confcache <<\_ACEOF
26254 # This file is a shell script that caches the results of configure
26255 # tests run on this system so they can be shared between configure
26256 # scripts and configure runs, see configure's option --config-cache.
26257 # It is not useful on other systems. If it contains results you don't
26258 # want to keep, you may remove or edit it.
26260 # config.status only pays attention to the cache file if you give it
26261 # the --recheck option to rerun configure.
26263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
26264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
26265 # following values.
26269 # The following way of writing the cache mishandles newlines in values,
26270 # but we know of no workaround that is simple, portable, and efficient.
26271 # So, we kill variables containing newlines.
26272 # Ultrix sh set writes to stderr and can't be redirected directly,
26273 # and sets the high bit in the cache file unless we assign to the vars.
26275 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
26276 eval ac_val=\$$ac_var
26280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
26281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
26284 _ | IFS | as_nl) ;; #(
26285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
26286 *) { eval $ac_var=; unset $ac_var;} ;;
26292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
26293 *${as_nl}ac_space=\ *)
26294 # `set' does not quote correctly, so add quotes: double-quote
26295 # substitution turns \\\\ into \\, and sed turns \\ into \.
26298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
26301 # `set' quotes correctly as required by POSIX, so do not add quotes.
26302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
26311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
26313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
26315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
26316 if test -w "$cache_file"; then
26317 if test "x$cache_file" != "x/dev/null"; then
26318 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
26319 $as_echo "$as_me: updating cache $cache_file" >&6;}
26320 if test ! -f "$cache_file" || test -h "$cache_file"; then
26321 cat confcache >"$cache_file"
26323 case $cache_file in #(
26325 mv -f confcache "$cache_file"$$ &&
26326 mv -f "$cache_file"$$ "$cache_file" ;; #(
26328 mv -f confcache "$cache_file" ;;
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
26334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
26339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
26340 # Let make expand exec_prefix.
26341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
26343 DEFS=-DHAVE_CONFIG_H
26348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
26349 # 1. Remove the extension, and $U if already installed.
26350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
26351 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
26352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
26353 # will be set to the directory where LIBOBJS objects are built.
26354 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
26355 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
26357 LIBOBJS=$ac_libobjs
26359 LTLIBOBJS=$ac_ltlibobjs
26363 : "${CONFIG_STATUS=./config.status}"
26365 ac_clean_files_save=$ac_clean_files
26366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
26367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
26368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
26370 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
26372 # Generated by $as_me.
26373 # Run this file to recreate the current configuration.
26374 # Compiler output produced by configure, useful for debugging
26375 # configure, is in config.log if it exists.
26378 ac_cs_recheck=false
26381 SHELL=\${CONFIG_SHELL-$SHELL}
26384 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
26385 ## -------------------- ##
26386 ## M4sh Initialization. ##
26387 ## -------------------- ##
26389 # Be more Bourne compatible
26390 DUALCASE=1; export DUALCASE # for MKS sh
26391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
26394 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26395 # is contrary to our usage. Disable this feature.
26396 alias -g '${1+"$@"}'='"$@"'
26397 setopt NO_GLOB_SUBST
26399 case `(set -o) 2>/dev/null` in #(
26411 # Printing a long string crashes Solaris 7 /usr/bin/printf.
26412 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
26413 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
26414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
26415 # Prefer a ksh shell builtin over an external printf program on Solaris,
26416 # but without wasting forks for bash or zsh.
26417 if test -z "$BASH_VERSION$ZSH_VERSION" \
26418 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
26419 as_echo='print -r --'
26420 as_echo_n='print -rn --'
26421 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
26422 as_echo='printf %s\n'
26423 as_echo_n='printf %s'
26425 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
26426 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
26427 as_echo_n='/usr/ucb/echo -n'
26429 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
26430 as_echo_n_body='eval
26434 expr "X$arg" : "X\\(.*\\)$as_nl";
26435 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
26437 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
26439 export as_echo_n_body
26440 as_echo_n='sh -c $as_echo_n_body as_echo'
26442 export as_echo_body
26443 as_echo='sh -c $as_echo_body as_echo'
26446 # The user is always right.
26447 if test "${PATH_SEPARATOR+set}" != set; then
26449 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
26450 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
26457 # We need space, tab and new line, in precisely that order. Quoting is
26458 # there to prevent editors from complaining about space-tab.
26459 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
26460 # splitting by setting IFS to empty value.)
26463 # Find who we are. Look in the path if we contain no directory separator.
26466 *[\\/]* ) as_myself=$0 ;;
26467 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26468 for as_dir in $PATH
26471 test -z "$as_dir" && as_dir=.
26472 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
26478 # We did not find ourselves, most probably we were run as `sh COMMAND'
26479 # in which case we are not to be found in the path.
26480 if test "x$as_myself" = x; then
26483 if test ! -f "$as_myself"; then
26484 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
26488 # Unset variables that we do not need and which cause bugs (e.g. in
26489 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
26490 # suppresses any "Segmentation fault" message there. '((' could
26491 # trigger a bug in pdksh 5.2.14.
26492 for as_var in BASH_ENV ENV MAIL MAILPATH
26493 do eval test x\${$as_var+set} = xset \
26494 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
26507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26510 # as_fn_error STATUS ERROR [LINENO LOG_FD]
26511 # ----------------------------------------
26512 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
26513 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
26514 # script with STATUS, using 1 if that was 0.
26517 as_status=$1; test $as_status -eq 0 && as_status=1
26519 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
26520 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
26522 $as_echo "$as_me: error: $2" >&2
26523 as_fn_exit $as_status
26527 # as_fn_set_status STATUS
26528 # -----------------------
26529 # Set $? to STATUS, without forking.
26530 as_fn_set_status ()
26533 } # as_fn_set_status
26535 # as_fn_exit STATUS
26536 # -----------------
26537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
26541 as_fn_set_status $1
26547 # Portably unset VAR.
26550 { eval $1=; unset $1;}
26552 as_unset=as_fn_unset
26553 # as_fn_append VAR VALUE
26554 # ----------------------
26555 # Append the text in VALUE to the end of the definition contained in VAR. Take
26556 # advantage of any shell optimizations that allow amortized linear growth over
26557 # repeated appends, instead of the typical quadratic growth present in naive
26559 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
26560 eval 'as_fn_append ()
26571 # as_fn_arith ARG...
26572 # ------------------
26573 # Perform arithmetic evaluation on the ARGs, and store the result in the
26574 # global $as_val. Take advantage of shells that can avoid forks. The arguments
26575 # must be portable across $(()) and expr.
26576 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
26577 eval 'as_fn_arith ()
26584 as_val=`expr "$@" || test $? -eq 1`
26589 if expr a : '\(a\)' >/dev/null 2>&1 &&
26590 test "X`expr 00001 : '.*\(...\)'`" = X001; then
26596 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
26597 as_basename=basename
26602 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
26608 as_me=`$as_basename -- "$0" ||
26609 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
26610 X"$0" : 'X\(//\)$' \| \
26611 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
26613 sed '/^.*\/\([^/][^/]*\)\/*$/{
26627 # Avoid depending upon Character Ranges.
26628 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
26629 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
26630 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
26631 as_cr_digits='0123456789'
26632 as_cr_alnum=$as_cr_Letters$as_cr_digits
26634 ECHO_C= ECHO_N= ECHO_T=
26635 case `echo -n x` in #(((((
26637 case `echo 'xy\c'` in
26638 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
26640 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
26647 rm -f conf$$ conf$$.exe conf$$.file
26648 if test -d conf$$.dir; then
26649 rm -f conf$$.dir/conf$$.file
26652 mkdir conf$$.dir 2>/dev/null
26654 if (echo >conf$$.file) 2>/dev/null; then
26655 if ln -s conf$$.file conf$$ 2>/dev/null; then
26657 # ... but there are two gotchas:
26658 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
26659 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
26660 # In both cases, we have to default to `cp -pR'.
26661 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
26663 elif ln conf$$.file conf$$ 2>/dev/null; then
26671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
26672 rmdir conf$$.dir 2>/dev/null
26677 # Create "$as_dir" as a directory, including parents if necessary.
26682 -*) as_dir=./$as_dir;;
26684 test -d "$as_dir" || eval $as_mkdir_p || {
26688 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
26689 *) as_qdir=$as_dir;;
26691 as_dirs="'$as_qdir' $as_dirs"
26692 as_dir=`$as_dirname -- "$as_dir" ||
26693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26694 X"$as_dir" : 'X\(//\)[^/]' \| \
26695 X"$as_dir" : 'X\(//\)$' \| \
26696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
26697 $as_echo X"$as_dir" |
26698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26702 /^X\(\/\/\)[^/].*/{
26715 test -d "$as_dir" && break
26717 test -z "$as_dirs" || eval "mkdir $as_dirs"
26718 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
26722 if mkdir -p . 2>/dev/null; then
26723 as_mkdir_p='mkdir -p "$as_dir"'
26725 test -d ./-p && rmdir ./-p
26730 # as_fn_executable_p FILE
26731 # -----------------------
26732 # Test if FILE is an executable regular file.
26733 as_fn_executable_p ()
26735 test -f "$1" && test -x "$1"
26736 } # as_fn_executable_p
26737 as_test_x='test -x'
26738 as_executable_p=as_fn_executable_p
26740 # Sed expression to map a string onto a valid CPP name.
26741 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
26743 # Sed expression to map a string onto a valid variable name.
26744 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
26748 ## ----------------------------------- ##
26749 ## Main body of $CONFIG_STATUS script. ##
26750 ## ----------------------------------- ##
26752 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
26754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26755 # Save the log message, to keep $0 and so on meaningful, and to
26756 # report actual input values of CONFIG_FILES etc. instead of their
26757 # values after options handling.
26759 This file was extended by subversion $as_me 1.9.5, which was
26760 generated by GNU Autoconf 2.69. Invocation command line was
26762 CONFIG_FILES = $CONFIG_FILES
26763 CONFIG_HEADERS = $CONFIG_HEADERS
26764 CONFIG_LINKS = $CONFIG_LINKS
26765 CONFIG_COMMANDS = $CONFIG_COMMANDS
26768 on `(hostname || uname -n) 2>/dev/null | sed 1q`
26773 case $ac_config_files in *"
26774 "*) set x $ac_config_files; shift; ac_config_files=$*;;
26777 case $ac_config_headers in *"
26778 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
26782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26783 # Files that config.status was made for.
26784 config_files="$ac_config_files"
26785 config_headers="$ac_config_headers"
26786 config_commands="$ac_config_commands"
26790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26792 \`$as_me' instantiates files and other configuration actions
26793 from templates according to the current configuration. Unless the files
26794 and actions are specified as TAGs, all are instantiated by default.
26796 Usage: $0 [OPTION]... [TAG]...
26798 -h, --help print this help, then exit
26799 -V, --version print version number and configuration settings, then exit
26800 --config print configuration, then exit
26801 -q, --quiet, --silent
26802 do not print progress messages
26803 -d, --debug don't remove temporary files
26804 --recheck update $as_me by reconfiguring in the same conditions
26805 --file=FILE[:TEMPLATE]
26806 instantiate the configuration file FILE
26807 --header=FILE[:TEMPLATE]
26808 instantiate the configuration header FILE
26810 Configuration files:
26813 Configuration headers:
26816 Configuration commands:
26819 Report bugs to <http://subversion.apache.org/>."
26822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26823 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
26825 subversion config.status 1.9.5
26826 configured by $0, generated by GNU Autoconf 2.69,
26827 with options \\"\$ac_cs_config\\"
26829 Copyright (C) 2012 Free Software Foundation, Inc.
26830 This config.status script is free software; the Free Software Foundation
26831 gives unlimited permission to copy, distribute and modify it."
26837 test -n "\$AWK" || AWK=awk
26840 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26841 # The default lists apply if the user does not specify any file.
26847 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26848 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
26852 ac_option=`expr "X$1" : 'X\([^=]*\)='`
26864 # Handling of the options.
26865 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
26867 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
26868 $as_echo "$ac_cs_version"; exit ;;
26869 --config | --confi | --conf | --con | --co | --c )
26870 $as_echo "$ac_cs_config"; exit ;;
26871 --debug | --debu | --deb | --de | --d | -d )
26873 --file | --fil | --fi | --f )
26876 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26877 '') as_fn_error $? "missing file argument" ;;
26879 as_fn_append CONFIG_FILES " '$ac_optarg'"
26880 ac_need_defaults=false;;
26881 --header | --heade | --head | --hea )
26884 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
26886 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
26887 ac_need_defaults=false;;
26889 # Conflict between --help and --header
26890 as_fn_error $? "ambiguous option: \`$1'
26891 Try \`$0 --help' for more information.";;
26892 --help | --hel | -h )
26893 $as_echo "$ac_cs_usage"; exit ;;
26894 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
26895 | -silent | --silent | --silen | --sile | --sil | --si | --s)
26898 # This is an error.
26899 -*) as_fn_error $? "unrecognized option: \`$1'
26900 Try \`$0 --help' for more information." ;;
26902 *) as_fn_append ac_config_targets " $1"
26903 ac_need_defaults=false ;;
26909 ac_configure_extra_args=
26911 if $ac_cs_silent; then
26913 ac_configure_extra_args="$ac_configure_extra_args --silent"
26917 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26918 if \$ac_cs_recheck; then
26919 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
26921 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
26922 CONFIG_SHELL='$SHELL'
26923 export CONFIG_SHELL
26928 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26932 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
26933 ## Running $as_me. ##
26939 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26945 # The HP-UX ksh and POSIX shell print the target directory to stdout
26946 # if CDPATH is set.
26947 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
26949 sed_quote_subst='$sed_quote_subst'
26950 double_quote_subst='$double_quote_subst'
26951 delay_variable_subst='$delay_variable_subst'
26952 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
26953 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
26954 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
26955 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
26956 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
26957 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
26958 shared_archive_member_spec='`$ECHO "$shared_archive_member_spec" | $SED "$delay_single_quote_subst"`'
26959 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26960 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26961 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26962 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26963 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26964 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26965 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26966 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26967 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26968 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26969 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26970 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26971 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26972 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26973 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26974 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26975 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26976 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26977 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26978 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26979 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26980 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26981 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26982 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26983 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26984 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26985 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26986 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26987 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26988 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26989 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26990 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26991 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26992 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26993 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26994 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26995 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26996 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26997 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26998 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26999 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27000 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
27001 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
27002 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
27003 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
27004 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
27005 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
27006 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
27007 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
27008 lt_cv_sys_global_symbol_to_import='`$ECHO "$lt_cv_sys_global_symbol_to_import" | $SED "$delay_single_quote_subst"`'
27009 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
27010 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"`'
27011 lt_cv_nm_interface='`$ECHO "$lt_cv_nm_interface" | $SED "$delay_single_quote_subst"`'
27012 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
27013 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
27014 lt_cv_truncate_bin='`$ECHO "$lt_cv_truncate_bin" | $SED "$delay_single_quote_subst"`'
27015 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
27016 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
27017 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
27018 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
27019 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
27020 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
27021 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
27022 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
27023 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
27024 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
27025 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
27026 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
27027 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
27028 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
27029 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
27030 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
27031 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27032 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
27033 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
27034 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
27035 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
27036 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
27037 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
27038 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
27039 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
27040 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27041 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
27042 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
27043 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
27044 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
27045 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
27046 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
27047 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
27048 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
27049 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
27050 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
27051 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
27052 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
27053 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
27054 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
27055 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
27056 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
27057 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
27058 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
27059 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
27060 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
27061 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
27062 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
27063 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
27064 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
27065 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
27066 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
27067 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
27068 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
27069 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
27070 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
27071 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
27072 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
27073 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
27074 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
27075 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
27076 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
27077 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
27078 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
27079 configure_time_dlsearch_path='`$ECHO "$configure_time_dlsearch_path" | $SED "$delay_single_quote_subst"`'
27080 configure_time_lt_sys_library_path='`$ECHO "$configure_time_lt_sys_library_path" | $SED "$delay_single_quote_subst"`'
27081 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
27082 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
27083 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
27084 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
27085 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
27086 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
27087 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
27088 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
27089 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
27090 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
27091 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
27092 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
27093 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
27094 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
27095 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27096 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27097 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
27098 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
27099 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
27100 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
27101 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
27102 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
27103 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
27104 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
27105 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
27106 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27107 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27108 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
27109 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27110 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27111 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27112 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27113 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27114 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27115 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
27116 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27117 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
27118 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
27119 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
27120 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
27121 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
27122 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
27123 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
27124 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
27125 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
27126 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
27127 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
27128 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27129 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27130 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
27131 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27132 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
27133 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
27134 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
27135 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
27136 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27137 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
27138 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
27139 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
27140 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
27143 LTCFLAGS='$LTCFLAGS'
27144 compiler='$compiler_DEFAULT'
27146 # A function that is used when there is no print builtin or printf.
27147 func_fallback_echo ()
27149 eval 'cat <<_LTECHO_EOF
27154 # Quote evaled strings.
27169 deplibs_check_method \
27174 sharedlib_from_linklib_cmd \
27177 archiver_list_spec \
27183 lt_cv_sys_global_symbol_pipe \
27184 lt_cv_sys_global_symbol_to_cdecl \
27185 lt_cv_sys_global_symbol_to_import \
27186 lt_cv_sys_global_symbol_to_c_name_address \
27187 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
27188 lt_cv_nm_interface \
27189 nm_file_list_spec \
27190 lt_cv_truncate_bin \
27191 lt_prog_compiler_no_builtin_flag \
27192 lt_prog_compiler_pic \
27193 lt_prog_compiler_wl \
27194 lt_prog_compiler_static \
27195 lt_cv_prog_compiler_c_o \
27204 export_dynamic_flag_spec \
27205 whole_archive_flag_spec \
27206 compiler_needs_object \
27208 allow_undefined_flag \
27209 no_undefined_flag \
27210 hardcode_libdir_flag_spec \
27211 hardcode_libdir_separator \
27215 variables_saved_for_relink \
27217 library_names_spec \
27219 install_override_mode \
27223 compiler_lib_search_dirs \
27228 compiler_lib_search_path \
27232 lt_prog_compiler_no_builtin_flag_CXX \
27233 lt_prog_compiler_pic_CXX \
27234 lt_prog_compiler_wl_CXX \
27235 lt_prog_compiler_static_CXX \
27236 lt_cv_prog_compiler_c_o_CXX \
27237 export_dynamic_flag_spec_CXX \
27238 whole_archive_flag_spec_CXX \
27239 compiler_needs_object_CXX \
27241 allow_undefined_flag_CXX \
27242 no_undefined_flag_CXX \
27243 hardcode_libdir_flag_spec_CXX \
27244 hardcode_libdir_separator_CXX \
27245 exclude_expsyms_CXX \
27246 include_expsyms_CXX \
27247 file_list_spec_CXX \
27248 compiler_lib_search_dirs_CXX \
27249 predep_objects_CXX \
27250 postdep_objects_CXX \
27253 compiler_lib_search_path_CXX; do
27254 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27255 *[\\\\\\\`\\"\\\$]*)
27256 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27259 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27264 # Double-quote double-evaled strings.
27265 for var in reload_cmds \
27266 old_postinstall_cmds \
27267 old_postuninstall_cmds \
27269 extract_expsyms_cmds \
27270 old_archive_from_new_cmds \
27271 old_archive_from_expsyms_cmds \
27273 archive_expsym_cmds \
27275 module_expsym_cmds \
27276 export_symbols_cmds \
27280 postuninstall_cmds \
27282 sys_lib_search_path_spec \
27283 configure_time_dlsearch_path \
27284 configure_time_lt_sys_library_path \
27286 old_archive_cmds_CXX \
27287 old_archive_from_new_cmds_CXX \
27288 old_archive_from_expsyms_cmds_CXX \
27290 archive_expsym_cmds_CXX \
27292 module_expsym_cmds_CXX \
27293 export_symbols_cmds_CXX \
27295 postlink_cmds_CXX; do
27296 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
27297 *[\\\\\\\`\\"\\\$]*)
27298 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\"" ## exclude from sc_prohibit_nested_quotes
27301 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
27306 ac_aux_dir='$ac_aux_dir'
27308 # See if we are running on zsh, and set the options that allow our
27309 # commands through without removal of \ escapes INIT.
27310 if test -n "\${ZSH_VERSION+set}"; then
27311 setopt NO_GLOB_SUBST
27325 SVN_DB_HEADER="$SVN_DB_HEADER"
27329 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27331 # Handling of arguments.
27332 for ac_config_target in $ac_config_targets
27334 case $ac_config_target in
27335 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
27336 "subversion/svn_private_config.h.tmp") CONFIG_HEADERS="$CONFIG_HEADERS subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in" ;;
27337 "svn_private_config.h.tmp") CONFIG_COMMANDS="$CONFIG_COMMANDS svn_private_config.h.tmp" ;;
27338 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
27339 "${pc_file}") CONFIG_FILES="$CONFIG_FILES ${pc_file}" ;;
27340 "tools/backup/hot-backup.py") CONFIG_FILES="$CONFIG_FILES tools/backup/hot-backup.py" ;;
27341 "tools/hook-scripts/commit-access-control.pl") CONFIG_FILES="$CONFIG_FILES tools/hook-scripts/commit-access-control.pl" ;;
27342 "subversion/bindings/swig/perl/native/Makefile.PL") CONFIG_FILES="$CONFIG_FILES subversion/bindings/swig/perl/native/Makefile.PL" ;;
27343 "packages/solaris/pkginfo") CONFIG_FILES="$CONFIG_FILES packages/solaris/pkginfo" ;;
27345 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
27350 # If the user did not use the arguments to specify the items to instantiate,
27351 # then the envvar interface is used. Set only those that are not.
27352 # We use the long form for the default assignment because of an extremely
27353 # bizarre bug on SunOS 4.1.3.
27354 if $ac_need_defaults; then
27355 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
27356 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
27357 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
27360 # Have a temporary directory for convenience. Make it in the build tree
27361 # simply because there is no reason against having it here, and in addition,
27362 # creating and moving files from /tmp can sometimes cause problems.
27363 # Hook for its removal unless debugging.
27364 # Note that there is a small window in which the directory will not be cleaned:
27365 # after its creation but before its name has been assigned to `$tmp'.
27369 trap 'exit_status=$?
27370 : "${ac_tmp:=$tmp}"
27371 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
27373 trap 'as_fn_exit 1' 1 2 13 15
27375 # Create a (secure) tmp directory for tmp files.
27378 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
27382 tmp=./conf$$-$RANDOM
27383 (umask 077 && mkdir "$tmp")
27384 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
27387 # Set up the scripts for CONFIG_FILES section.
27388 # No need to generate them if there are no CONFIG_FILES.
27389 # This happens for instance with `./config.status config.h'.
27390 if test -n "$CONFIG_FILES"; then
27393 ac_cr=`echo X | tr X '\015'`
27394 # On cygwin, bash can eat \r inside `` if the user requested igncr.
27395 # But we know of no other shell where ac_cr would be empty at this
27396 # point, so we can use a bashism as a fallback.
27397 if test "x$ac_cr" = x; then
27398 eval ac_cr=\$\'\\r\'
27400 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
27401 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
27404 ac_cs_awk_cr=$ac_cr
27407 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
27412 echo "cat >conf$$subs.awk <<_ACEOF" &&
27413 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
27415 } >conf$$subs.sh ||
27416 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27417 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
27419 for ac_last_try in false false false false false :; do
27420 . ./conf$$subs.sh ||
27421 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27423 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
27424 if test $ac_delim_n = $ac_delim_num; then
27426 elif $ac_last_try; then
27427 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
27429 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27432 rm -f conf$$subs.sh
27434 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27435 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
27439 s/^/S["/; s/!.*/"]=/
27449 s/\(.\{148\}\)..*/\1/
27451 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
27456 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27463 s/\(.\{148\}\)..*/\1/
27465 s/["\\]/\\&/g; s/^/"/; s/$/"/
27469 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
27474 ' <conf$$subs.awk | sed '
27479 ' >>$CONFIG_STATUS || ac_write_fail=1
27480 rm -f conf$$subs.awk
27481 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27483 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
27484 for (key in S) S_is_set[key] = 1
27490 nfields = split(line, field, "@")
27492 len = length(field[1])
27493 for (i = 2; i < nfields; i++) {
27495 keylen = length(key)
27496 if (S_is_set[key]) {
27498 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
27499 len += length(value) + length(field[++i])
27510 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27511 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
27512 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
27515 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
27516 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
27519 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
27520 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
27521 # trailing colons and then remove the whole line if VPATH becomes empty
27522 # (actually we leave an empty line to preserve line numbers).
27523 if test "x$srcdir" = x.; then
27524 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
27542 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27543 fi # test -n "$CONFIG_FILES"
27545 # Set up the scripts for CONFIG_HEADERS section.
27546 # No need to generate them if there are no CONFIG_HEADERS.
27547 # This happens for instance with `./config.status Makefile'.
27548 if test -n "$CONFIG_HEADERS"; then
27549 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
27553 # Transform confdefs.h into an awk script `defines.awk', embedded as
27554 # here-document in config.status, that substitutes the proper values into
27555 # config.h.in to produce config.h.
27557 # Create a delimiter string that does not exist in confdefs.h, to ease
27558 # handling of long lines.
27560 for ac_last_try in false false :; do
27561 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
27562 if test -z "$ac_tt"; then
27564 elif $ac_last_try; then
27565 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
27567 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
27571 # For the awk script, D is an array of macro values keyed by name,
27572 # likewise P contains macro parameters if any. Preserve backslash
27573 # newline sequences.
27575 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
27577 s/.\{148\}/&'"$ac_delim"'/g
27580 s/^[ ]*#[ ]*define[ ][ ]*/ /
27587 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27589 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
27593 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
27594 D["\1"]=" \3\\\\\\n"\\/p
27596 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
27601 s/.\{148\}/&'"$ac_delim"'/g
27606 s/["\\]/\\&/g; s/^/"/; s/$/"/p
27609 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
27611 ' <confdefs.h | sed '
27612 s/'"$ac_delim"'/"\\\
27613 "/g' >>$CONFIG_STATUS || ac_write_fail=1
27615 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27616 for (key in D) D_is_set[key] = 1
27619 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
27621 split(line, arg, " ")
27622 if (arg[1] == "#") {
27626 defundef = substr(arg[1], 2)
27629 split(mac1, mac2, "(") #)
27631 prefix = substr(line, 1, index(line, defundef) - 1)
27632 if (D_is_set[macro]) {
27633 # Preserve the white space surrounding the "#".
27634 print prefix "define", macro P[macro] D[macro]
27637 # Replace #undef with comments. This is necessary, for example,
27638 # in the case of _POSIX_SOURCE, which is predefined and required
27639 # on some systems where configure will not decide to define it.
27640 if (defundef == "undef") {
27641 print "/*", prefix defundef, macro, "*/"
27649 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27650 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
27651 fi # test -n "$CONFIG_HEADERS"
27654 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
27659 :[FHLC]) ac_mode=$ac_tag; continue;;
27661 case $ac_mode$ac_tag in
27663 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
27664 :[FH]-) ac_tag=-:-;;
27665 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
27682 -) ac_f="$ac_tmp/stdin";;
27683 *) # Look for the file first in the build tree, then in the source tree
27684 # (if the path is not absolute). The absolute path cannot be DOS-style,
27685 # because $ac_f cannot contain `:'.
27689 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
27691 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
27693 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
27694 as_fn_append ac_file_inputs " '$ac_f'"
27697 # Let's still pretend it is `configure' which instantiates (i.e., don't
27698 # use $as_me), people would be surprised to read:
27699 # /* config.h. Generated by config.status. */
27700 configure_input='Generated from '`
27701 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
27703 if test x"$ac_file" != x-; then
27704 configure_input="$ac_file. $configure_input"
27705 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
27706 $as_echo "$as_me: creating $ac_file" >&6;}
27708 # Neutralize special characters interpreted by sed in replacement strings.
27709 case $configure_input in #(
27710 *\&* | *\|* | *\\* )
27711 ac_sed_conf_input=`$as_echo "$configure_input" |
27712 sed 's/[\\\\&|]/\\\\&/g'`;; #(
27713 *) ac_sed_conf_input=$configure_input;;
27717 *:-:* | *:-) cat >"$ac_tmp/stdin" \
27718 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
27723 ac_dir=`$as_dirname -- "$ac_file" ||
27724 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
27725 X"$ac_file" : 'X\(//\)[^/]' \| \
27726 X"$ac_file" : 'X\(//\)$' \| \
27727 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
27728 $as_echo X"$ac_file" |
27729 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
27733 /^X\(\/\/\)[^/].*/{
27746 as_dir="$ac_dir"; as_fn_mkdir_p
27750 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
27752 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
27753 # A ".." for each directory in $ac_dir_suffix.
27754 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
27755 case $ac_top_builddir_sub in
27756 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
27757 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
27760 ac_abs_top_builddir=$ac_pwd
27761 ac_abs_builddir=$ac_pwd$ac_dir_suffix
27762 # for backward compatibility:
27763 ac_top_builddir=$ac_top_build_prefix
27766 .) # We are building in place.
27768 ac_top_srcdir=$ac_top_builddir_sub
27769 ac_abs_top_srcdir=$ac_pwd ;;
27770 [\\/]* | ?:[\\/]* ) # Absolute name.
27771 ac_srcdir=$srcdir$ac_dir_suffix;
27772 ac_top_srcdir=$srcdir
27773 ac_abs_top_srcdir=$srcdir ;;
27774 *) # Relative name.
27775 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
27776 ac_top_srcdir=$ac_top_build_prefix$srcdir
27777 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
27779 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
27789 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
27790 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
27794 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27795 # If the template does not know about datarootdir, expand it.
27796 # FIXME: This hack should be removed a few years after 2.60.
27797 ac_datarootdir_hack=; ac_datarootdir_seen=
27808 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
27809 *datarootdir*) ac_datarootdir_seen=yes;;
27810 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
27811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
27812 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
27814 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27815 ac_datarootdir_hack='
27816 s&@datadir@&$datadir&g
27817 s&@docdir@&$docdir&g
27818 s&@infodir@&$infodir&g
27819 s&@localedir@&$localedir&g
27820 s&@mandir@&$mandir&g
27821 s&\\\${datarootdir}&$datarootdir&g' ;;
27825 # Neutralize VPATH when `$srcdir' = `.'.
27826 # Shell code in configure.ac might set extrasub.
27827 # FIXME: do we really want to maintain this feature?
27828 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
27829 ac_sed_extra="$ac_vpsub
27832 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
27834 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
27835 s|@configure_input@|$ac_sed_conf_input|;t t
27836 s&@top_builddir@&$ac_top_builddir_sub&;t t
27837 s&@top_build_prefix@&$ac_top_build_prefix&;t t
27838 s&@srcdir@&$ac_srcdir&;t t
27839 s&@abs_srcdir@&$ac_abs_srcdir&;t t
27840 s&@top_srcdir@&$ac_top_srcdir&;t t
27841 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
27842 s&@builddir@&$ac_builddir&;t t
27843 s&@abs_builddir@&$ac_abs_builddir&;t t
27844 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
27845 s&@INSTALL@&$ac_INSTALL&;t t
27846 $ac_datarootdir_hack
27848 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
27849 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27851 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
27852 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
27853 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
27854 "$ac_tmp/out"`; test -z "$ac_out"; } &&
27855 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27856 which seems to be undefined. Please make sure it is defined" >&5
27857 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
27858 which seems to be undefined. Please make sure it is defined" >&2;}
27860 rm -f "$ac_tmp/stdin"
27862 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
27863 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
27865 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27871 if test x"$ac_file" != x-; then
27873 $as_echo "/* $configure_input */" \
27874 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
27875 } >"$ac_tmp/config.h" \
27876 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27877 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
27878 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
27879 $as_echo "$as_me: $ac_file is unchanged" >&6;}
27882 mv "$ac_tmp/config.h" "$ac_file" \
27883 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
27886 $as_echo "/* $configure_input */" \
27887 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
27888 || as_fn_error $? "could not create -" "$LINENO" 5
27892 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
27893 $as_echo "$as_me: executing $ac_file commands" >&6;}
27898 case $ac_file$ac_mode in
27901 # See if we are running on zsh, and set the options that allow our
27902 # commands through without removal of \ escapes.
27903 if test -n "${ZSH_VERSION+set}"; then
27904 setopt NO_GLOB_SUBST
27908 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
27911 cat <<_LT_EOF >> "$cfgfile"
27913 # Generated automatically by $as_me ($PACKAGE) $VERSION
27914 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
27915 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
27917 # Provide generalized library-building support services.
27918 # Written by Gordon Matzigkeit, 1996
27920 # Copyright (C) 2014 Free Software Foundation, Inc.
27921 # This is free software; see the source for copying conditions. There is NO
27922 # warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
27924 # GNU Libtool is free software; you can redistribute it and/or modify
27925 # it under the terms of the GNU General Public License as published by
27926 # the Free Software Foundation; either version 2 of of the License, or
27927 # (at your option) any later version.
27929 # As a special exception to the GNU General Public License, if you
27930 # distribute this file as part of a program or library that is built
27931 # using GNU Libtool, you may include this file under the same
27932 # distribution terms that you use for the rest of that program.
27934 # GNU Libtool is distributed in the hope that it will be useful, but
27935 # WITHOUT ANY WARRANTY; without even the implied warranty of
27936 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
27937 # GNU General Public License for more details.
27939 # You should have received a copy of the GNU General Public License
27940 # along with this program. If not, see <http://www.gnu.org/licenses/>.
27943 # The names of the tagged configurations supported by this script.
27944 available_tags='CXX '
27946 # Configured defaults for sys_lib_dlsearch_path munging.
27947 : \${LT_SYS_LIBRARY_PATH="$configure_time_lt_sys_library_path"}
27949 # ### BEGIN LIBTOOL CONFIG
27951 # Which release of libtool.m4 was used?
27952 macro_version=$macro_version
27953 macro_revision=$macro_revision
27955 # Whether or not to build shared libraries.
27956 build_libtool_libs=$enable_shared
27958 # Whether or not to build static libraries.
27959 build_old_libs=$enable_static
27961 # What type of objects to build.
27964 # Whether or not to optimize for fast installation.
27965 fast_install=$enable_fast_install
27967 # Shared archive member basename,for filename based shared library versioning on AIX.
27968 shared_archive_member_spec=$shared_archive_member_spec
27970 # Shell to use when invoking shell scripts.
27973 # An echo program that protects backslashes.
27976 # The PATH separator for the build system.
27977 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27980 host_alias=$host_alias
27984 # The build system.
27985 build_alias=$build_alias
27989 # A sed program that does not truncate output.
27992 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27993 Xsed="\$SED -e 1s/^X//"
27995 # A grep program that handles long lines.
28001 # A literal string matcher.
28004 # A BSD- or MS-compatible name lister.
28007 # Whether we need soft or hard links.
28010 # What is the maximum length of a command?
28011 max_cmd_len=$max_cmd_len
28013 # Object file suffix (normally "o").
28016 # Executable file suffix (normally "").
28019 # whether the shell understands "unset".
28022 # turn spaces into newlines.
28025 # turn newlines into spaces.
28028 # convert \$build file names to \$host format.
28029 to_host_file_cmd=$lt_cv_to_host_file_cmd
28031 # convert \$build files to toolchain format.
28032 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
28034 # An object symbol dumper.
28035 OBJDUMP=$lt_OBJDUMP
28037 # Method to check whether dependent libraries are shared objects.
28038 deplibs_check_method=$lt_deplibs_check_method
28040 # Command to use when deplibs_check_method = "file_magic".
28041 file_magic_cmd=$lt_file_magic_cmd
28043 # How to find potential files when deplibs_check_method = "file_magic".
28044 file_magic_glob=$lt_file_magic_glob
28046 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
28047 want_nocaseglob=$lt_want_nocaseglob
28049 # DLL creation program.
28050 DLLTOOL=$lt_DLLTOOL
28052 # Command to associate shared and link libraries.
28053 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
28058 # Flags to create an archive.
28059 AR_FLAGS=$lt_AR_FLAGS
28061 # How to feed a file listing to the archiver.
28062 archiver_list_spec=$lt_archiver_list_spec
28064 # A symbol stripping program.
28067 # Commands used to install an old-style archive.
28069 old_postinstall_cmds=$lt_old_postinstall_cmds
28070 old_postuninstall_cmds=$lt_old_postuninstall_cmds
28072 # Whether to use a lock for old archive extraction.
28073 lock_old_archive_extraction=$lock_old_archive_extraction
28078 # LTCC compiler flags.
28079 LTCFLAGS=$lt_CFLAGS
28081 # Take the output of nm and produce a listing of raw symbols and C names.
28082 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
28084 # Transform the output of nm in a proper C declaration.
28085 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
28087 # Transform the output of nm into a list of symbols to manually relocate.
28088 global_symbol_to_import=$lt_lt_cv_sys_global_symbol_to_import
28090 # Transform the output of nm in a C name address pair.
28091 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
28093 # Transform the output of nm in a C name address pair when lib prefix is needed.
28094 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
28096 # The name lister interface.
28097 nm_interface=$lt_lt_cv_nm_interface
28099 # Specify filename containing input files for \$NM.
28100 nm_file_list_spec=$lt_nm_file_list_spec
28102 # The root where to search for dependent libraries,and where our libraries should be installed.
28103 lt_sysroot=$lt_sysroot
28105 # Command to truncate a binary pipe.
28106 lt_truncate_bin=$lt_lt_cv_truncate_bin
28108 # The name of the directory that contains temporary libtool files.
28111 # Used to examine libraries when file_magic_cmd begins with "file".
28112 MAGIC_CMD=$MAGIC_CMD
28114 # Must we lock files when doing compilation?
28115 need_locks=$lt_need_locks
28118 MANIFEST_TOOL=$lt_MANIFEST_TOOL
28120 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
28121 DSYMUTIL=$lt_DSYMUTIL
28123 # Tool to change global to local symbols on Mac OS X.
28126 # Tool to manipulate fat objects and archives on Mac OS X.
28129 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
28132 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
28133 OTOOL64=$lt_OTOOL64
28135 # Old archive suffix (normally "a").
28138 # Shared library suffix (normally ".so").
28139 shrext_cmds=$lt_shrext_cmds
28141 # The commands to extract the exported symbol list from a shared archive.
28142 extract_expsyms_cmds=$lt_extract_expsyms_cmds
28144 # Variables whose values should be saved in libtool wrapper scripts and
28145 # restored at link time.
28146 variables_saved_for_relink=$lt_variables_saved_for_relink
28148 # Do we need the "lib" prefix for modules?
28149 need_lib_prefix=$need_lib_prefix
28151 # Do we need a version for libraries?
28152 need_version=$need_version
28154 # Library versioning type.
28155 version_type=$version_type
28157 # Shared library runtime path variable.
28158 runpath_var=$runpath_var
28160 # Shared library path variable.
28161 shlibpath_var=$shlibpath_var
28163 # Is shlibpath searched before the hard-coded library search path?
28164 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
28166 # Format of library name prefix.
28167 libname_spec=$lt_libname_spec
28169 # List of archive names. First name is the real one, the rest are links.
28170 # The last name is the one that the linker finds with -lNAME
28171 library_names_spec=$lt_library_names_spec
28173 # The coded name of the library, if different from the real name.
28174 soname_spec=$lt_soname_spec
28176 # Permission mode override for installation of shared libraries.
28177 install_override_mode=$lt_install_override_mode
28179 # Command to use after installation of a shared archive.
28180 postinstall_cmds=$lt_postinstall_cmds
28182 # Command to use after uninstallation of a shared archive.
28183 postuninstall_cmds=$lt_postuninstall_cmds
28185 # Commands used to finish a libtool library installation in a directory.
28186 finish_cmds=$lt_finish_cmds
28188 # As "finish_cmds", except a single script fragment to be evaled but
28190 finish_eval=$lt_finish_eval
28192 # Whether we should hardcode library paths into libraries.
28193 hardcode_into_libs=$hardcode_into_libs
28195 # Compile-time system search path for libraries.
28196 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
28198 # Detected run-time system search path for libraries.
28199 sys_lib_dlsearch_path_spec=$lt_configure_time_dlsearch_path
28201 # Explicit LT_SYS_LIBRARY_PATH set during ./configure time.
28202 configure_time_lt_sys_library_path=$lt_configure_time_lt_sys_library_path
28204 # Whether dlopen is supported.
28205 dlopen_support=$enable_dlopen
28207 # Whether dlopen of programs is supported.
28208 dlopen_self=$enable_dlopen_self
28210 # Whether dlopen of statically linked programs is supported.
28211 dlopen_self_static=$enable_dlopen_self_static
28213 # Commands to strip libraries.
28214 old_striplib=$lt_old_striplib
28215 striplib=$lt_striplib
28218 # The linker used to build libraries.
28221 # How to create reloadable object files.
28222 reload_flag=$lt_reload_flag
28223 reload_cmds=$lt_reload_cmds
28225 # Commands used to build an old-style archive.
28226 old_archive_cmds=$lt_old_archive_cmds
28228 # A language specific compiler.
28231 # Is the compiler the GNU compiler?
28234 # Compiler flag to turn off builtin functions.
28235 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
28237 # Additional compiler flags for building library objects.
28238 pic_flag=$lt_lt_prog_compiler_pic
28240 # How to pass a linker flag through the compiler.
28241 wl=$lt_lt_prog_compiler_wl
28243 # Compiler flag to prevent dynamic linking.
28244 link_static_flag=$lt_lt_prog_compiler_static
28246 # Does compiler simultaneously support -c and -o options?
28247 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
28249 # Whether or not to add -lc for building shared libraries.
28250 build_libtool_need_lc=$archive_cmds_need_lc
28252 # Whether or not to disallow shared libs when runtime libs are static.
28253 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
28255 # Compiler flag to allow reflexive dlopens.
28256 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
28258 # Compiler flag to generate shared objects directly from archives.
28259 whole_archive_flag_spec=$lt_whole_archive_flag_spec
28261 # Whether the compiler copes with passing no objects directly.
28262 compiler_needs_object=$lt_compiler_needs_object
28264 # Create an old-style archive from a shared archive.
28265 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
28267 # Create a temporary old-style archive to link instead of a shared archive.
28268 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
28270 # Commands used to build a shared archive.
28271 archive_cmds=$lt_archive_cmds
28272 archive_expsym_cmds=$lt_archive_expsym_cmds
28274 # Commands used to build a loadable module if different from building
28275 # a shared archive.
28276 module_cmds=$lt_module_cmds
28277 module_expsym_cmds=$lt_module_expsym_cmds
28279 # Whether we are building with GNU ld or not.
28280 with_gnu_ld=$lt_with_gnu_ld
28282 # Flag that allows shared libraries with undefined symbols to be built.
28283 allow_undefined_flag=$lt_allow_undefined_flag
28285 # Flag that enforces no undefined symbols.
28286 no_undefined_flag=$lt_no_undefined_flag
28288 # Flag to hardcode \$libdir into a binary during linking.
28289 # This must work even if \$libdir does not exist
28290 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
28292 # Whether we need a single "-rpath" flag with a separated argument.
28293 hardcode_libdir_separator=$lt_hardcode_libdir_separator
28295 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28296 # DIR into the resulting binary.
28297 hardcode_direct=$hardcode_direct
28299 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28300 # DIR into the resulting binary and the resulting library dependency is
28301 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28302 # library is relocated.
28303 hardcode_direct_absolute=$hardcode_direct_absolute
28305 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28306 # into the resulting binary.
28307 hardcode_minus_L=$hardcode_minus_L
28309 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28310 # into the resulting binary.
28311 hardcode_shlibpath_var=$hardcode_shlibpath_var
28313 # Set to "yes" if building a shared library automatically hardcodes DIR
28314 # into the library and all subsequent libraries and executables linked
28316 hardcode_automatic=$hardcode_automatic
28318 # Set to yes if linker adds runtime paths of dependent libraries
28319 # to runtime path list.
28320 inherit_rpath=$inherit_rpath
28322 # Whether libtool must link a program against all its dependency libraries.
28323 link_all_deplibs=$link_all_deplibs
28325 # Set to "yes" if exported symbols are required.
28326 always_export_symbols=$always_export_symbols
28328 # The commands to list exported symbols.
28329 export_symbols_cmds=$lt_export_symbols_cmds
28331 # Symbols that should not be listed in the preloaded symbols.
28332 exclude_expsyms=$lt_exclude_expsyms
28334 # Symbols that must always be exported.
28335 include_expsyms=$lt_include_expsyms
28337 # Commands necessary for linking programs (against libraries) with templates.
28338 prelink_cmds=$lt_prelink_cmds
28340 # Commands necessary for finishing linking programs.
28341 postlink_cmds=$lt_postlink_cmds
28343 # Specify filename containing input files.
28344 file_list_spec=$lt_file_list_spec
28346 # How to hardcode a shared library path into an executable.
28347 hardcode_action=$hardcode_action
28349 # The directories searched by this compiler when creating a shared library.
28350 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
28352 # Dependencies to place before and after the objects being linked to
28353 # create a shared library.
28354 predep_objects=$lt_predep_objects
28355 postdep_objects=$lt_postdep_objects
28356 predeps=$lt_predeps
28357 postdeps=$lt_postdeps
28359 # The library search path used internally by the compiler when linking
28360 # a shared library.
28361 compiler_lib_search_path=$lt_compiler_lib_search_path
28363 # ### END LIBTOOL CONFIG
28367 cat <<'_LT_EOF' >> "$cfgfile"
28369 # ### BEGIN FUNCTIONS SHARED WITH CONFIGURE
28371 # func_munge_path_list VARIABLE PATH
28372 # -----------------------------------
28373 # VARIABLE is name of variable containing _space_ separated list of
28374 # directories to be munged by the contents of PATH, which is string
28377 # string "DIR[ DIR]" will be prepended to VARIABLE
28379 # string "DIR[ DIR]" will be appended to VARIABLE
28380 # "DIRP[:DIRP]::[DIRA:]DIRA"
28381 # string "DIRP[ DIRP]" will be prepended to VARIABLE and string
28382 # "DIRA[ DIRA]" will be appended to VARIABLE
28384 # VARIABLE will be replaced by "DIR[ DIR]"
28385 func_munge_path_list ()
28391 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'` \$$1\"
28394 eval $1=\"\$$1 `$ECHO $2 | $SED 's/:/ /g'`\"
28397 eval $1=\"\$$1\ `$ECHO $2 | $SED -e 's/.*:://' -e 's/:/ /g'`\"
28398 eval $1=\"`$ECHO $2 | $SED -e 's/::.*//' -e 's/:/ /g'`\ \$$1\"
28401 eval $1=\"`$ECHO $2 | $SED 's/:/ /g'`\"
28407 # Calculate cc_basename. Skip known compiler wrappers and cross-prefix.
28408 func_cc_basename ()
28410 for cc_temp in $*""; do
28412 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
28413 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
28418 func_cc_basename_result=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
28422 # ### END FUNCTIONS SHARED WITH CONFIGURE
28428 cat <<\_LT_EOF >> "$cfgfile"
28429 # AIX sometimes has problems with the GCC collect2 program. For some
28430 # reason, if we set the COLLECT_NAMES environment variable, the problems
28431 # vanish in a puff of smoke.
28432 if test set != "${COLLECT_NAMES+set}"; then
28434 export COLLECT_NAMES
28441 ltmain=$ac_aux_dir/ltmain.sh
28444 # We use sed instead of cat because bash on DJGPP gets confused if
28445 # if finds mixed CR/LF and LF-only lines. Since sed operates in
28446 # text mode, it properly converts lines to CR/LF. This bash problem
28447 # is reportedly fixed, but why not run on old versions too?
28448 sed '$q' "$ltmain" >> "$cfgfile" \
28449 || (rm -f "$cfgfile"; exit 1)
28451 mv -f "$cfgfile" "$ofile" ||
28452 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
28456 cat <<_LT_EOF >> "$ofile"
28458 # ### BEGIN LIBTOOL TAG CONFIG: CXX
28460 # The linker used to build libraries.
28463 # How to create reloadable object files.
28464 reload_flag=$lt_reload_flag_CXX
28465 reload_cmds=$lt_reload_cmds_CXX
28467 # Commands used to build an old-style archive.
28468 old_archive_cmds=$lt_old_archive_cmds_CXX
28470 # A language specific compiler.
28471 CC=$lt_compiler_CXX
28473 # Is the compiler the GNU compiler?
28476 # Compiler flag to turn off builtin functions.
28477 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
28479 # Additional compiler flags for building library objects.
28480 pic_flag=$lt_lt_prog_compiler_pic_CXX
28482 # How to pass a linker flag through the compiler.
28483 wl=$lt_lt_prog_compiler_wl_CXX
28485 # Compiler flag to prevent dynamic linking.
28486 link_static_flag=$lt_lt_prog_compiler_static_CXX
28488 # Does compiler simultaneously support -c and -o options?
28489 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
28491 # Whether or not to add -lc for building shared libraries.
28492 build_libtool_need_lc=$archive_cmds_need_lc_CXX
28494 # Whether or not to disallow shared libs when runtime libs are static.
28495 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
28497 # Compiler flag to allow reflexive dlopens.
28498 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
28500 # Compiler flag to generate shared objects directly from archives.
28501 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
28503 # Whether the compiler copes with passing no objects directly.
28504 compiler_needs_object=$lt_compiler_needs_object_CXX
28506 # Create an old-style archive from a shared archive.
28507 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
28509 # Create a temporary old-style archive to link instead of a shared archive.
28510 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
28512 # Commands used to build a shared archive.
28513 archive_cmds=$lt_archive_cmds_CXX
28514 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
28516 # Commands used to build a loadable module if different from building
28517 # a shared archive.
28518 module_cmds=$lt_module_cmds_CXX
28519 module_expsym_cmds=$lt_module_expsym_cmds_CXX
28521 # Whether we are building with GNU ld or not.
28522 with_gnu_ld=$lt_with_gnu_ld_CXX
28524 # Flag that allows shared libraries with undefined symbols to be built.
28525 allow_undefined_flag=$lt_allow_undefined_flag_CXX
28527 # Flag that enforces no undefined symbols.
28528 no_undefined_flag=$lt_no_undefined_flag_CXX
28530 # Flag to hardcode \$libdir into a binary during linking.
28531 # This must work even if \$libdir does not exist
28532 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
28534 # Whether we need a single "-rpath" flag with a separated argument.
28535 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
28537 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28538 # DIR into the resulting binary.
28539 hardcode_direct=$hardcode_direct_CXX
28541 # Set to "yes" if using DIR/libNAME\$shared_ext during linking hardcodes
28542 # DIR into the resulting binary and the resulting library dependency is
28543 # "absolute",i.e impossible to change by setting \$shlibpath_var if the
28544 # library is relocated.
28545 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
28547 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
28548 # into the resulting binary.
28549 hardcode_minus_L=$hardcode_minus_L_CXX
28551 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
28552 # into the resulting binary.
28553 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
28555 # Set to "yes" if building a shared library automatically hardcodes DIR
28556 # into the library and all subsequent libraries and executables linked
28558 hardcode_automatic=$hardcode_automatic_CXX
28560 # Set to yes if linker adds runtime paths of dependent libraries
28561 # to runtime path list.
28562 inherit_rpath=$inherit_rpath_CXX
28564 # Whether libtool must link a program against all its dependency libraries.
28565 link_all_deplibs=$link_all_deplibs_CXX
28567 # Set to "yes" if exported symbols are required.
28568 always_export_symbols=$always_export_symbols_CXX
28570 # The commands to list exported symbols.
28571 export_symbols_cmds=$lt_export_symbols_cmds_CXX
28573 # Symbols that should not be listed in the preloaded symbols.
28574 exclude_expsyms=$lt_exclude_expsyms_CXX
28576 # Symbols that must always be exported.
28577 include_expsyms=$lt_include_expsyms_CXX
28579 # Commands necessary for linking programs (against libraries) with templates.
28580 prelink_cmds=$lt_prelink_cmds_CXX
28582 # Commands necessary for finishing linking programs.
28583 postlink_cmds=$lt_postlink_cmds_CXX
28585 # Specify filename containing input files.
28586 file_list_spec=$lt_file_list_spec_CXX
28588 # How to hardcode a shared library path into an executable.
28589 hardcode_action=$hardcode_action_CXX
28591 # The directories searched by this compiler when creating a shared library.
28592 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
28594 # Dependencies to place before and after the objects being linked to
28595 # create a shared library.
28596 predep_objects=$lt_predep_objects_CXX
28597 postdep_objects=$lt_postdep_objects_CXX
28598 predeps=$lt_predeps_CXX
28599 postdeps=$lt_postdeps_CXX
28601 # The library search path used internally by the compiler when linking
28602 # a shared library.
28603 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
28605 # ### END LIBTOOL TAG CONFIG: CXX
28609 "svn_private_config.h.tmp":C) svn_cf=subversion/svn_private_config.h;
28610 $SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" $svn_cf.tmp > $svn_cf.tmp.new
28611 cmp -s $svn_cf.tmp.new $svn_cf || mv -f $svn_cf.tmp.new $svn_cf
28612 rm -f $svn_cf.tmp.new $svn_cf.tmp ;;
28613 "tools/backup/hot-backup.py":F) chmod +x tools/backup/hot-backup.py ;;
28614 "tools/hook-scripts/commit-access-control.pl":F) chmod +x tools/hook-scripts/commit-access-control.pl ;;
28615 "subversion/bindings/swig/perl/native/Makefile.PL":F) chmod +x subversion/bindings/swig/perl/native/Makefile.PL ;;
28616 "packages/solaris/pkginfo":F) chmod +x packages/solaris/pkginfo ;;
28624 ac_clean_files=$ac_clean_files_save
28626 test $ac_write_fail = 0 ||
28627 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
28630 # configure is writing to config.log, and then calls config.status.
28631 # config.status does its own redirection, appending to config.log.
28632 # Unfortunately, on DOS this fails, as config.log is still kept open
28633 # by configure, so config.status won't be able to write to it; its
28634 # output is simply discarded. So we exec the FD to /dev/null,
28635 # effectively closing config.log, so it can be properly (re)opened and
28636 # appended to by config.status. When coming back to configure, we
28637 # need to make the FD available again.
28638 if test "$no_create" != yes; then
28640 ac_config_status_args=
28641 test "$silent" = yes &&
28642 ac_config_status_args="$ac_config_status_args --quiet"
28644 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
28646 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
28647 # would make configure fail if this is the last instruction.
28648 $ac_cs_success || as_fn_exit 1
28650 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
28651 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
28652 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
28656 # ==== Print final messages to user ==========================================
28659 if test "$svn_have_berkeley_db" = "no6" && test "$enable_bdb6" != "no"; then
28660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We have configured without BDB filesystem support
28663 Berkeley DB 6 was found, but not used. Please re-run configure (see
28664 ./config.nice) with the '--enable-bdb6' flag to use it,
28665 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
28666 to silence this warning.
28668 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
28669 General Public License, version 3:
28670 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
28672 The AGPL-3.0 licence may impose special requirements for making available
28673 source code of server-side software. The text of the licence is:
28674 https://www.gnu.org/licenses/agpl-3.0.html
28675 http://opensource.org/licenses/AGPL-3.0
28677 The Berkeley DB backend to Subversion is deprecated; see
28678 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
28680 The Subversion developers have not tested Subversion with Berkeley DB 6 for
28681 technical problems or bugs.
28683 $as_echo "$as_me: WARNING: We have configured without BDB filesystem support
28686 Berkeley DB 6 was found, but not used. Please re-run configure (see
28687 ./config.nice) with the '--enable-bdb6' flag to use it,
28688 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
28689 to silence this warning.
28691 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
28692 General Public License, version 3:
28693 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
28695 The AGPL-3.0 licence may impose special requirements for making available
28696 source code of server-side software. The text of the licence is:
28697 https://www.gnu.org/licenses/agpl-3.0.html
28698 http://opensource.org/licenses/AGPL-3.0
28700 The Berkeley DB backend to Subversion is deprecated; see
28701 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
28703 The Subversion developers have not tested Subversion with Berkeley DB 6 for
28704 technical problems or bugs.