2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for subversion 1.8.10.
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.8.10'
594 PACKAGE_STRING='subversion 1.8.10'
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
687 libsvn_ra_svn_LDFLAGS
688 libsvn_ra_serf_LDFLAGS
689 libsvn_ra_local_LDFLAGS
691 libsvn_fs_util_LDFLAGS
693 libsvn_fs_base_LDFLAGS
697 libsvn_client_LDFLAGS
698 libsvn_auth_kwallet_LDFLAGS
699 libsvn_auth_gnome_keyring_LDFLAGS
717 SVN_GNOME_KEYRING_LIBS
718 SVN_GNOME_KEYRING_INCLUDES
729 TRANSFORM_LIBTOOL_SCRIPTS
761 SVN_APR_MEMCACHE_LIBS
762 SVN_APR_MEMCACHE_INCLUDES
770 SVN_APR_SHLIB_PATH_VAR
840 program_transform_name
853 enable_option_checking
859 with_apache_libexecdir
861 enable_sqlite_compatibility_version
869 enable_experimental_libtool
871 enable_local_library_preloading
885 enable_plaintext_password_storage
889 enable_disallowing_of_undefined_references
890 enable_maintainer_mode
891 enable_full_version_match
894 enable_mod_activation
901 with_ruby_test_verbose
903 enable_runtime_module_search
907 ac_precious_vars='build_alias
922 # Initialize some variables set by options.
924 ac_init_version=false
925 ac_unrecognized_opts=
927 # The variables have the same names as the options, with
928 # dashes changed to underlines.
936 program_transform_name=s,x,x,
944 # Installation directory options.
945 # These are left unexpanded so users can "make install exec_prefix=/foo"
946 # and all the variables that are supposed to be based on exec_prefix
947 # by default will actually change.
948 # Use braces instead of parens because sh, perl, etc. also accept them.
949 # (The list follows the same order as the GNU Coding Standards.)
950 bindir='${exec_prefix}/bin'
951 sbindir='${exec_prefix}/sbin'
952 libexecdir='${exec_prefix}/libexec'
953 datarootdir='${prefix}/share'
954 datadir='${datarootdir}'
955 sysconfdir='${prefix}/etc'
956 sharedstatedir='${prefix}/com'
957 localstatedir='${prefix}/var'
958 includedir='${prefix}/include'
959 oldincludedir='/usr/include'
960 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
961 infodir='${datarootdir}/info'
966 libdir='${exec_prefix}/lib'
967 localedir='${datarootdir}/locale'
968 mandir='${datarootdir}/man'
974 # If the previous option needs an argument, assign it.
975 if test -n "$ac_prev"; then
976 eval $ac_prev=\$ac_option
982 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
987 # Accept the important Cygnus configure options, so we can diagnose typos.
989 case $ac_dashdash$ac_option in
993 -bindir | --bindir | --bindi | --bind | --bin | --bi)
995 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
998 -build | --build | --buil | --bui | --bu)
999 ac_prev=build_alias ;;
1000 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1001 build_alias=$ac_optarg ;;
1003 -cache-file | --cache-file | --cache-fil | --cache-fi \
1004 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1005 ac_prev=cache_file ;;
1006 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1007 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1008 cache_file=$ac_optarg ;;
1010 --config-cache | -C)
1011 cache_file=config.cache ;;
1013 -datadir | --datadir | --datadi | --datad)
1015 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1016 datadir=$ac_optarg ;;
1018 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1019 | --dataroo | --dataro | --datar)
1020 ac_prev=datarootdir ;;
1021 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1022 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1023 datarootdir=$ac_optarg ;;
1025 -disable-* | --disable-*)
1026 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027 # Reject names that are not valid shell variable names.
1028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1029 as_fn_error $? "invalid feature name: $ac_useropt"
1030 ac_useropt_orig=$ac_useropt
1031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1032 case $ac_user_opts in
1034 "enable_$ac_useropt"
1036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1037 ac_unrecognized_sep=', ';;
1039 eval enable_$ac_useropt=no ;;
1041 -docdir | --docdir | --docdi | --doc | --do)
1043 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1044 docdir=$ac_optarg ;;
1046 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1048 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1049 dvidir=$ac_optarg ;;
1051 -enable-* | --enable-*)
1052 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1053 # Reject names that are not valid shell variable names.
1054 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1055 as_fn_error $? "invalid feature name: $ac_useropt"
1056 ac_useropt_orig=$ac_useropt
1057 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1058 case $ac_user_opts in
1060 "enable_$ac_useropt"
1062 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1063 ac_unrecognized_sep=', ';;
1065 eval enable_$ac_useropt=\$ac_optarg ;;
1067 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1068 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1069 | --exec | --exe | --ex)
1070 ac_prev=exec_prefix ;;
1071 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1072 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1073 | --exec=* | --exe=* | --ex=*)
1074 exec_prefix=$ac_optarg ;;
1076 -gas | --gas | --ga | --g)
1077 # Obsolete; use --with-gas.
1080 -help | --help | --hel | --he | -h)
1081 ac_init_help=long ;;
1082 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1083 ac_init_help=recursive ;;
1084 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1085 ac_init_help=short ;;
1087 -host | --host | --hos | --ho)
1088 ac_prev=host_alias ;;
1089 -host=* | --host=* | --hos=* | --ho=*)
1090 host_alias=$ac_optarg ;;
1092 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1094 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1096 htmldir=$ac_optarg ;;
1098 -includedir | --includedir | --includedi | --included | --include \
1099 | --includ | --inclu | --incl | --inc)
1100 ac_prev=includedir ;;
1101 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1102 | --includ=* | --inclu=* | --incl=* | --inc=*)
1103 includedir=$ac_optarg ;;
1105 -infodir | --infodir | --infodi | --infod | --info | --inf)
1107 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1108 infodir=$ac_optarg ;;
1110 -libdir | --libdir | --libdi | --libd)
1112 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1113 libdir=$ac_optarg ;;
1115 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1116 | --libexe | --libex | --libe)
1117 ac_prev=libexecdir ;;
1118 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1119 | --libexe=* | --libex=* | --libe=*)
1120 libexecdir=$ac_optarg ;;
1122 -localedir | --localedir | --localedi | --localed | --locale)
1123 ac_prev=localedir ;;
1124 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1125 localedir=$ac_optarg ;;
1127 -localstatedir | --localstatedir | --localstatedi | --localstated \
1128 | --localstate | --localstat | --localsta | --localst | --locals)
1129 ac_prev=localstatedir ;;
1130 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1131 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1132 localstatedir=$ac_optarg ;;
1134 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1136 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1137 mandir=$ac_optarg ;;
1139 -nfp | --nfp | --nf)
1140 # Obsolete; use --without-fp.
1143 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1144 | --no-cr | --no-c | -n)
1147 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1148 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1151 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1152 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1153 | --oldin | --oldi | --old | --ol | --o)
1154 ac_prev=oldincludedir ;;
1155 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1156 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1157 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1158 oldincludedir=$ac_optarg ;;
1160 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1162 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1163 prefix=$ac_optarg ;;
1165 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1166 | --program-pre | --program-pr | --program-p)
1167 ac_prev=program_prefix ;;
1168 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1169 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1170 program_prefix=$ac_optarg ;;
1172 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1173 | --program-suf | --program-su | --program-s)
1174 ac_prev=program_suffix ;;
1175 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1176 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1177 program_suffix=$ac_optarg ;;
1179 -program-transform-name | --program-transform-name \
1180 | --program-transform-nam | --program-transform-na \
1181 | --program-transform-n | --program-transform- \
1182 | --program-transform | --program-transfor \
1183 | --program-transfo | --program-transf \
1184 | --program-trans | --program-tran \
1185 | --progr-tra | --program-tr | --program-t)
1186 ac_prev=program_transform_name ;;
1187 -program-transform-name=* | --program-transform-name=* \
1188 | --program-transform-nam=* | --program-transform-na=* \
1189 | --program-transform-n=* | --program-transform-=* \
1190 | --program-transform=* | --program-transfor=* \
1191 | --program-transfo=* | --program-transf=* \
1192 | --program-trans=* | --program-tran=* \
1193 | --progr-tra=* | --program-tr=* | --program-t=*)
1194 program_transform_name=$ac_optarg ;;
1196 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1198 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1199 pdfdir=$ac_optarg ;;
1201 -psdir | --psdir | --psdi | --psd | --ps)
1203 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1206 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1207 | -silent | --silent | --silen | --sile | --sil)
1210 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1212 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1214 sbindir=$ac_optarg ;;
1216 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1217 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1218 | --sharedst | --shareds | --shared | --share | --shar \
1220 ac_prev=sharedstatedir ;;
1221 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1222 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1223 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1225 sharedstatedir=$ac_optarg ;;
1227 -site | --site | --sit)
1229 -site=* | --site=* | --sit=*)
1232 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1234 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1235 srcdir=$ac_optarg ;;
1237 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1238 | --syscon | --sysco | --sysc | --sys | --sy)
1239 ac_prev=sysconfdir ;;
1240 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1241 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1242 sysconfdir=$ac_optarg ;;
1244 -target | --target | --targe | --targ | --tar | --ta | --t)
1245 ac_prev=target_alias ;;
1246 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1247 target_alias=$ac_optarg ;;
1249 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1252 -version | --version | --versio | --versi | --vers | -V)
1253 ac_init_version=: ;;
1256 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1257 # Reject names that are not valid shell variable names.
1258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1259 as_fn_error $? "invalid package name: $ac_useropt"
1260 ac_useropt_orig=$ac_useropt
1261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1262 case $ac_user_opts in
1266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1267 ac_unrecognized_sep=', ';;
1269 eval with_$ac_useropt=\$ac_optarg ;;
1271 -without-* | --without-*)
1272 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1273 # Reject names that are not valid shell variable names.
1274 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1275 as_fn_error $? "invalid package name: $ac_useropt"
1276 ac_useropt_orig=$ac_useropt
1277 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1278 case $ac_user_opts in
1282 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1283 ac_unrecognized_sep=', ';;
1285 eval with_$ac_useropt=no ;;
1288 # Obsolete; use --with-x.
1291 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1292 | --x-incl | --x-inc | --x-in | --x-i)
1293 ac_prev=x_includes ;;
1294 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1295 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1296 x_includes=$ac_optarg ;;
1298 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1299 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1300 ac_prev=x_libraries ;;
1301 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1302 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1303 x_libraries=$ac_optarg ;;
1305 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1306 Try \`$0 --help' for more information"
1310 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1311 # Reject names that are not valid shell variable names.
1312 case $ac_envvar in #(
1313 '' | [0-9]* | *[!_$as_cr_alnum]* )
1314 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1316 eval $ac_envvar=\$ac_optarg
1317 export $ac_envvar ;;
1320 # FIXME: should be removed in autoconf 3.0.
1321 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1322 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1323 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1324 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1330 if test -n "$ac_prev"; then
1331 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1332 as_fn_error $? "missing argument to $ac_option"
1335 if test -n "$ac_unrecognized_opts"; then
1336 case $enable_option_checking in
1338 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1339 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1343 # Check all directory arguments for consistency.
1344 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1345 datadir sysconfdir sharedstatedir localstatedir includedir \
1346 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1347 libdir localedir mandir
1349 eval ac_val=\$$ac_var
1350 # Remove trailing slashes.
1353 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1354 eval $ac_var=\$ac_val;;
1356 # Be sure to have absolute directory names.
1358 [\\/$]* | ?:[\\/]* ) continue;;
1359 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1361 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1364 # There might be people who depend on the old broken behavior: `$host'
1365 # used to hold the argument of --host etc.
1366 # FIXME: To remove some day.
1369 target=$target_alias
1371 # FIXME: To remove some day.
1372 if test "x$host_alias" != x; then
1373 if test "x$build_alias" = x; then
1374 cross_compiling=maybe
1375 elif test "x$build_alias" != "x$host_alias"; then
1381 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1383 test "$silent" = yes && exec 6>/dev/null
1386 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1387 ac_ls_di=`ls -di .` &&
1388 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1389 as_fn_error $? "working directory cannot be determined"
1390 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1391 as_fn_error $? "pwd does not report name of working directory"
1394 # Find the source files, if location was not specified.
1395 if test -z "$srcdir"; then
1396 ac_srcdir_defaulted=yes
1397 # Try the directory containing this script, then the parent directory.
1398 ac_confdir=`$as_dirname -- "$as_myself" ||
1399 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1400 X"$as_myself" : 'X\(//\)[^/]' \| \
1401 X"$as_myself" : 'X\(//\)$' \| \
1402 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1403 $as_echo X"$as_myself" |
1404 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1422 if test ! -r "$srcdir/$ac_unique_file"; then
1426 ac_srcdir_defaulted=no
1428 if test ! -r "$srcdir/$ac_unique_file"; then
1429 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1430 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1432 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1434 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1436 # When building in place, set srcdir=.
1437 if test "$ac_abs_confdir" = "$ac_pwd"; then
1440 # Remove unnecessary trailing slashes from srcdir.
1441 # Double slashes in file names in object file debugging info
1442 # mess up M-x gdb in Emacs.
1444 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1446 for ac_var in $ac_precious_vars; do
1447 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1448 eval ac_env_${ac_var}_value=\$${ac_var}
1449 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1450 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1454 # Report the --help message.
1456 if test "$ac_init_help" = "long"; then
1457 # Omit some internal or obsolete options to make the list less imposing.
1458 # This message is too long to be a string in the A/UX 3.1 sh.
1460 \`configure' configures subversion 1.8.10 to adapt to many kinds of systems.
1462 Usage: $0 [OPTION]... [VAR=VALUE]...
1464 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1465 VAR=VALUE. See below for descriptions of some of the useful variables.
1467 Defaults for the options are specified in brackets.
1470 -h, --help display this help and exit
1471 --help=short display options specific to this package
1472 --help=recursive display the short help of all the included packages
1473 -V, --version display version information and exit
1474 -q, --quiet, --silent do not print \`checking ...' messages
1475 --cache-file=FILE cache test results in FILE [disabled]
1476 -C, --config-cache alias for \`--cache-file=config.cache'
1477 -n, --no-create do not create output files
1478 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1480 Installation directories:
1481 --prefix=PREFIX install architecture-independent files in PREFIX
1482 [$ac_default_prefix]
1483 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1486 By default, \`make install' will install all the files in
1487 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1488 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1489 for instance \`--prefix=\$HOME'.
1491 For better control, use the options below.
1493 Fine tuning of the installation directories:
1494 --bindir=DIR user executables [EPREFIX/bin]
1495 --sbindir=DIR system admin executables [EPREFIX/sbin]
1496 --libexecdir=DIR program executables [EPREFIX/libexec]
1497 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1498 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1499 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1500 --libdir=DIR object code libraries [EPREFIX/lib]
1501 --includedir=DIR C header files [PREFIX/include]
1502 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1503 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1504 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1505 --infodir=DIR info documentation [DATAROOTDIR/info]
1506 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1507 --mandir=DIR man documentation [DATAROOTDIR/man]
1508 --docdir=DIR documentation root [DATAROOTDIR/doc/subversion]
1509 --htmldir=DIR html documentation [DOCDIR]
1510 --dvidir=DIR dvi documentation [DOCDIR]
1511 --pdfdir=DIR pdf documentation [DOCDIR]
1512 --psdir=DIR ps documentation [DOCDIR]
1518 --build=BUILD configure for building on BUILD [guessed]
1519 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1520 --target=TARGET configure for building compilers for TARGET [HOST]
1524 if test -n "$ac_init_help"; then
1525 case $ac_init_help in
1526 short | recursive ) echo "Configuration of subversion 1.8.10:";;
1531 --disable-option-checking ignore unrecognized --enable/--with options
1532 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1533 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1534 --enable-sqlite-compatibility-version=X.Y.Z
1535 Allow binary to run against SQLite as old as ARG
1536 --enable-shared[=PKGS] build shared libraries [default=yes]
1537 --enable-static[=PKGS] build static libraries [default=yes]
1538 --enable-fast-install[=PKGS]
1539 optimize for fast installation [default=yes]
1540 --disable-libtool-lock avoid locking (might break parallel builds)
1541 --enable-experimental-libtool
1543 --enable-static Build static libraries
1544 --enable-shared Build shared libraries
1545 --enable-all-static Build completely static (standalone) binaries.
1546 --enable-local-library-preloading
1547 Enable preloading of locally built libraries in
1548 locally built executables. This may be necessary for
1549 testing prior to installation on some platforms. It
1550 does not work on some platforms (Darwin, OpenBSD,
1552 --enable-bdb6 Allow building against BDB 6+. See
1553 --with-berkeley-db for specifying the location of
1554 the Berkeley DB installation. Using BDB 6 will fail
1555 if this option is not used.
1556 --disable-keychain Disable use of Mac OS KeyChain for auth credentials
1557 --enable-ev2-impl Use Ev2 implementations, where available
1559 --disable-nls Disable gettext functionality
1560 --disable-plaintext-password-storage
1561 Disable on-disk caching of plaintext passwords and
1562 passphrases. (Leaving this functionality enabled
1563 will not force Subversion to store passwords in
1564 plaintext, but does permit users to explicitly allow
1565 that behavior via runtime configuration.)
1566 --enable-debug Turn on debugging
1567 --enable-optimize Turn on optimizations
1568 --enable-disallowing-of-undefined-references
1569 Use -Wl,--no-undefined flag during linking of some
1570 libraries to disallow undefined references
1571 --enable-maintainer-mode
1572 Turn on debugging and very strict compile-time
1574 --disable-full-version-match
1575 Disable the full version match rules when checking
1576 Subversion library compatibility.
1577 --enable-mod-activation Enable mod_dav_svn in httpd.conf
1578 --enable-gcov Turn on gcov coverage testing (GCC only).
1579 --enable-gprof Produce gprof profiling data in 'gmon.out' (GCC
1581 --enable-runtime-module-search
1582 Turn on dynamic loading of RA/FS libraries including
1583 third-party FS libraries
1584 --enable-javahl Enable compilation of Java high-level bindings
1588 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1589 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1590 --with-apr=PATH prefix for installed APR, path to APR build tree,
1591 or the full path to apr-config
1592 --with-apr-util=PATH prefix for installed APU, path to APU build tree,
1593 or the full path to apu-config
1594 --with-serf=PREFIX Serf HTTP client library (enabled by default if
1596 --with-apr_memcache=PREFIX
1597 Standalone apr_memcache client library
1598 --with-apxs[=FILE] Build shared Apache modules. FILE is the optional
1599 pathname to the Apache apxs tool; defaults to
1601 --with-apache-libexecdir[=PATH]
1602 Install Apache modules to Apache's configured
1603 modules directory instead of LIBEXECDIR; if PATH is
1604 given, install to PATH.
1605 --with-sqlite=PREFIX Use installed SQLite library or amalgamation file.
1606 --with-pic[=PKGS] try to use only PIC/non-PIC objects [default=use
1608 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1609 --with-sysroot=DIR Search for dependent libraries within DIR
1610 (or the compiler's sysroot if not specified).
1611 --with-trang=PATH Specify the command to run the trang schema
1613 --with-doxygen=PATH Specify the command to run doxygen
1614 --with-expat=INCLUDES:LIB_SEARCH_DIRS:LIBS
1615 Specify location of Expat
1616 --with-berkeley-db[=HEADER:INCLUDES:LIB_SEARCH_DIRS:LIBS]
1617 The Subversion Berkeley DB based filesystem library
1618 requires Berkeley DB $db_version or $db_alt_version.
1619 If you specify `--without-berkeley-db', that library
1620 will not be built. If you omit the argument of this
1621 option completely, the configure script will use
1622 Berkeley DB used by APR-UTIL.
1623 --with-sasl=PATH Compile with libsasl2 in PATH
1624 --without-gpg-agent Disable support for GPG-Agent
1625 --with-gnome-keyring Enable use of GNOME Keyring for auth credentials
1626 (enabled by default if found)
1627 --with-libmagic=PREFIX libmagic filetype detection library
1628 --with-kwallet[=PATH] Enable use of KWallet (KDE 4) for auth credentials
1629 --with-openssl This option does NOT affect the Subversion build
1630 process in any way. It tells an integrated Serf HTTP
1631 client library build process where to locate the
1632 OpenSSL library when (and only when) building Serf
1633 as an integrated part of the Subversion build
1634 process. When linking to a previously installed
1635 version of Serf instead, you do not need to use this
1637 --with-editor=PATH Specify a default editor for the subversion client.
1638 --with-zlib=PREFIX zlib compression library
1639 --with-jdk=PATH Try to use 'PATH/include' to find the JNI headers.
1640 If PATH is not specified, look for a Java
1641 Development Kit at JAVA_HOME.
1642 --with-jikes=PATH Specify the path to a jikes binary to use it as your
1643 Java compiler. The default is to look for jikes
1644 (PATH optional). This behavior can be switched off
1646 --with-swig=PATH Try to use 'PATH/bin/swig' to build the swig
1647 bindings. If PATH is not specified, look for a
1648 'swig' binary in your PATH.
1649 --with-ruby-sitedir=SITEDIR
1650 install Ruby bindings in SITEDIR (default is same as
1652 --with-ruby-test-verbose=LEVEL
1653 how to use output level for Ruby bindings tests
1655 --with-ctypesgen=PATH Specify the path to ctypesgen. This can either be
1656 the full path to a ctypesgen installation, the full
1657 path to a ctypesgen source tree or the full path to
1659 --with-junit=PATH Specify a path to the junit JAR file.
1661 Some influential environment variables:
1662 CC C compiler command
1663 CFLAGS C compiler flags
1664 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1665 nonstandard directory <lib dir>
1666 LIBS libraries to pass to the linker, e.g. -l<library>
1667 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1668 you have headers in a nonstandard directory <include dir>
1669 CXX C++ compiler command
1670 CXXFLAGS C++ compiler flags
1672 CXXCPP C++ preprocessor
1674 Use these variables to override the choices made by `configure' or to help
1675 it to find libraries and programs with nonstandard names/locations.
1677 Report bugs to <http://subversion.apache.org/>.
1682 if test "$ac_init_help" = "recursive"; then
1683 # If there are subdirs, report their specific --help.
1684 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1685 test -d "$ac_dir" ||
1686 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1691 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1693 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1694 # A ".." for each directory in $ac_dir_suffix.
1695 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1696 case $ac_top_builddir_sub in
1697 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1698 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1701 ac_abs_top_builddir=$ac_pwd
1702 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1703 # for backward compatibility:
1704 ac_top_builddir=$ac_top_build_prefix
1707 .) # We are building in place.
1709 ac_top_srcdir=$ac_top_builddir_sub
1710 ac_abs_top_srcdir=$ac_pwd ;;
1711 [\\/]* | ?:[\\/]* ) # Absolute name.
1712 ac_srcdir=$srcdir$ac_dir_suffix;
1713 ac_top_srcdir=$srcdir
1714 ac_abs_top_srcdir=$srcdir ;;
1716 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1717 ac_top_srcdir=$ac_top_build_prefix$srcdir
1718 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1720 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1722 cd "$ac_dir" || { ac_status=$?; continue; }
1723 # Check for guested configure.
1724 if test -f "$ac_srcdir/configure.gnu"; then
1726 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1727 elif test -f "$ac_srcdir/configure"; then
1729 $SHELL "$ac_srcdir/configure" --help=recursive
1731 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1733 cd "$ac_pwd" || { ac_status=$?; break; }
1737 test -n "$ac_init_help" && exit $ac_status
1738 if $ac_init_version; then
1740 subversion configure 1.8.10
1741 generated by GNU Autoconf 2.69
1743 Copyright (C) 2012 Free Software Foundation, Inc.
1744 This configure script is free software; the Free Software Foundation
1745 gives unlimited permission to copy, distribute and modify it.
1750 ## ------------------------ ##
1751 ## Autoconf initialization. ##
1752 ## ------------------------ ##
1754 # ac_fn_c_try_compile LINENO
1755 # --------------------------
1756 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1757 ac_fn_c_try_compile ()
1759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1760 rm -f conftest.$ac_objext
1761 if { { ac_try="$ac_compile"
1763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1764 *) ac_try_echo=$ac_try;;
1766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1767 $as_echo "$ac_try_echo"; } >&5
1768 (eval "$ac_compile") 2>conftest.err
1770 if test -s conftest.err; then
1771 grep -v '^ *+' conftest.err >conftest.er1
1772 cat conftest.er1 >&5
1773 mv -f conftest.er1 conftest.err
1775 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1776 test $ac_status = 0; } && {
1777 test -z "$ac_c_werror_flag" ||
1778 test ! -s conftest.err
1779 } && test -s conftest.$ac_objext; then :
1782 $as_echo "$as_me: failed program was:" >&5
1783 sed 's/^/| /' conftest.$ac_ext >&5
1787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1788 as_fn_set_status $ac_retval
1790 } # ac_fn_c_try_compile
1792 # ac_fn_c_try_link LINENO
1793 # -----------------------
1794 # Try to link conftest.$ac_ext, and return whether this succeeded.
1797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1798 rm -f conftest.$ac_objext conftest$ac_exeext
1799 if { { ac_try="$ac_link"
1801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1802 *) ac_try_echo=$ac_try;;
1804 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1805 $as_echo "$ac_try_echo"; } >&5
1806 (eval "$ac_link") 2>conftest.err
1808 if test -s conftest.err; then
1809 grep -v '^ *+' conftest.err >conftest.er1
1810 cat conftest.er1 >&5
1811 mv -f conftest.er1 conftest.err
1813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1814 test $ac_status = 0; } && {
1815 test -z "$ac_c_werror_flag" ||
1816 test ! -s conftest.err
1817 } && test -s conftest$ac_exeext && {
1818 test "$cross_compiling" = yes ||
1819 test -x conftest$ac_exeext
1823 $as_echo "$as_me: failed program was:" >&5
1824 sed 's/^/| /' conftest.$ac_ext >&5
1828 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1829 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1830 # interfere with the next link command; also delete a directory that is
1831 # left behind by Apple's compiler. We do this before executing the actions.
1832 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1833 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1834 as_fn_set_status $ac_retval
1836 } # ac_fn_c_try_link
1838 # ac_fn_cxx_try_compile LINENO
1839 # ----------------------------
1840 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1841 ac_fn_cxx_try_compile ()
1843 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1844 rm -f conftest.$ac_objext
1845 if { { ac_try="$ac_compile"
1847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1848 *) ac_try_echo=$ac_try;;
1850 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1851 $as_echo "$ac_try_echo"; } >&5
1852 (eval "$ac_compile") 2>conftest.err
1854 if test -s conftest.err; then
1855 grep -v '^ *+' conftest.err >conftest.er1
1856 cat conftest.er1 >&5
1857 mv -f conftest.er1 conftest.err
1859 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1860 test $ac_status = 0; } && {
1861 test -z "$ac_cxx_werror_flag" ||
1862 test ! -s conftest.err
1863 } && test -s conftest.$ac_objext; then :
1866 $as_echo "$as_me: failed program was:" >&5
1867 sed 's/^/| /' conftest.$ac_ext >&5
1871 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1872 as_fn_set_status $ac_retval
1874 } # ac_fn_cxx_try_compile
1876 # ac_fn_cxx_try_link LINENO
1877 # -------------------------
1878 # Try to link conftest.$ac_ext, and return whether this succeeded.
1879 ac_fn_cxx_try_link ()
1881 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1882 rm -f conftest.$ac_objext conftest$ac_exeext
1883 if { { ac_try="$ac_link"
1885 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1886 *) ac_try_echo=$ac_try;;
1888 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1889 $as_echo "$ac_try_echo"; } >&5
1890 (eval "$ac_link") 2>conftest.err
1892 if test -s conftest.err; then
1893 grep -v '^ *+' conftest.err >conftest.er1
1894 cat conftest.er1 >&5
1895 mv -f conftest.er1 conftest.err
1897 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1898 test $ac_status = 0; } && {
1899 test -z "$ac_cxx_werror_flag" ||
1900 test ! -s conftest.err
1901 } && test -s conftest$ac_exeext && {
1902 test "$cross_compiling" = yes ||
1903 test -x conftest$ac_exeext
1907 $as_echo "$as_me: failed program was:" >&5
1908 sed 's/^/| /' conftest.$ac_ext >&5
1912 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1913 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1914 # interfere with the next link command; also delete a directory that is
1915 # left behind by Apple's compiler. We do this before executing the actions.
1916 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1917 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1918 as_fn_set_status $ac_retval
1920 } # ac_fn_cxx_try_link
1922 # ac_fn_c_try_cpp LINENO
1923 # ----------------------
1924 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1927 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1928 if { { ac_try="$ac_cpp conftest.$ac_ext"
1930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1931 *) ac_try_echo=$ac_try;;
1933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1934 $as_echo "$ac_try_echo"; } >&5
1935 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1937 if test -s conftest.err; then
1938 grep -v '^ *+' conftest.err >conftest.er1
1939 cat conftest.er1 >&5
1940 mv -f conftest.er1 conftest.err
1942 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1943 test $ac_status = 0; } > conftest.i && {
1944 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1945 test ! -s conftest.err
1949 $as_echo "$as_me: failed program was:" >&5
1950 sed 's/^/| /' conftest.$ac_ext >&5
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955 as_fn_set_status $ac_retval
1959 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1960 # -------------------------------------------------------
1961 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1962 # the include files in INCLUDES and setting the cache variable VAR
1964 ac_fn_c_check_header_mongrel ()
1966 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1967 if eval \${$3+:} false; then :
1968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1969 $as_echo_n "checking for $2... " >&6; }
1970 if eval \${$3+:} false; then :
1971 $as_echo_n "(cached) " >&6
1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1975 $as_echo "$ac_res" >&6; }
1977 # Is the header compilable?
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1979 $as_echo_n "checking $2 usability... " >&6; }
1980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1981 /* end confdefs.h. */
1985 if ac_fn_c_try_compile "$LINENO"; then :
1986 ac_header_compiler=yes
1988 ac_header_compiler=no
1990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1992 $as_echo "$ac_header_compiler" >&6; }
1994 # Is the header present?
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1996 $as_echo_n "checking $2 presence... " >&6; }
1997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1998 /* end confdefs.h. */
2001 if ac_fn_c_try_cpp "$LINENO"; then :
2002 ac_header_preproc=yes
2004 ac_header_preproc=no
2006 rm -f conftest.err conftest.i conftest.$ac_ext
2007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2008 $as_echo "$ac_header_preproc" >&6; }
2010 # So? What about this header?
2011 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2013 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2014 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2016 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2020 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2022 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2024 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2026 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2027 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2028 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2029 ( $as_echo "## -------------------------------------------- ##
2030 ## Report this to http://subversion.apache.org/ ##
2031 ## -------------------------------------------- ##"
2032 ) | sed "s/^/$as_me: WARNING: /" >&2
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2036 $as_echo_n "checking for $2... " >&6; }
2037 if eval \${$3+:} false; then :
2038 $as_echo_n "(cached) " >&6
2040 eval "$3=\$ac_header_compiler"
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2044 $as_echo "$ac_res" >&6; }
2046 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2048 } # ac_fn_c_check_header_mongrel
2050 # ac_fn_c_try_run LINENO
2051 # ----------------------
2052 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2053 # that executables *can* be run.
2056 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2057 if { { ac_try="$ac_link"
2059 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060 *) ac_try_echo=$ac_try;;
2062 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063 $as_echo "$ac_try_echo"; } >&5
2064 (eval "$ac_link") 2>&5
2066 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2067 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2068 { { case "(($ac_try" in
2069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2070 *) ac_try_echo=$ac_try;;
2072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2073 $as_echo "$ac_try_echo"; } >&5
2074 (eval "$ac_try") 2>&5
2076 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2077 test $ac_status = 0; }; }; then :
2080 $as_echo "$as_me: program exited with status $ac_status" >&5
2081 $as_echo "$as_me: failed program was:" >&5
2082 sed 's/^/| /' conftest.$ac_ext >&5
2084 ac_retval=$ac_status
2086 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2088 as_fn_set_status $ac_retval
2092 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2093 # -------------------------------------------------------
2094 # Tests whether HEADER exists and can be compiled using the include files in
2095 # INCLUDES, setting the cache variable VAR accordingly.
2096 ac_fn_c_check_header_compile ()
2098 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2100 $as_echo_n "checking for $2... " >&6; }
2101 if eval \${$3+:} false; then :
2102 $as_echo_n "(cached) " >&6
2104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2105 /* end confdefs.h. */
2109 if ac_fn_c_try_compile "$LINENO"; then :
2114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2118 $as_echo "$ac_res" >&6; }
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2121 } # ac_fn_c_check_header_compile
2123 # ac_fn_c_check_func LINENO FUNC VAR
2124 # ----------------------------------
2125 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2126 ac_fn_c_check_func ()
2128 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2130 $as_echo_n "checking for $2... " >&6; }
2131 if eval \${$3+:} false; then :
2132 $as_echo_n "(cached) " >&6
2134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2135 /* end confdefs.h. */
2136 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2137 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2138 #define $2 innocuous_$2
2140 /* System header to define __stub macros and hopefully few prototypes,
2141 which can conflict with char $2 (); below.
2142 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2143 <limits.h> exists even on freestanding compilers. */
2146 # include <limits.h>
2148 # include <assert.h>
2153 /* Override any GCC internal prototype to avoid an error.
2154 Use char because int might match the return type of a GCC
2155 builtin and then its argument prototype would still apply. */
2160 /* The GNU C library defines this for functions which it implements
2161 to always fail with ENOSYS. Some functions are actually named
2162 something starting with __ and the normal name is an alias. */
2163 #if defined __stub_$2 || defined __stub___$2
2175 if ac_fn_c_try_link "$LINENO"; then :
2180 rm -f core conftest.err conftest.$ac_objext \
2181 conftest$ac_exeext conftest.$ac_ext
2184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2185 $as_echo "$ac_res" >&6; }
2186 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2188 } # ac_fn_c_check_func
2190 # ac_fn_cxx_try_cpp LINENO
2191 # ------------------------
2192 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2193 ac_fn_cxx_try_cpp ()
2195 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2196 if { { ac_try="$ac_cpp conftest.$ac_ext"
2198 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2199 *) ac_try_echo=$ac_try;;
2201 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2202 $as_echo "$ac_try_echo"; } >&5
2203 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2205 if test -s conftest.err; then
2206 grep -v '^ *+' conftest.err >conftest.er1
2207 cat conftest.er1 >&5
2208 mv -f conftest.er1 conftest.err
2210 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2211 test $ac_status = 0; } > conftest.i && {
2212 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2213 test ! -s conftest.err
2217 $as_echo "$as_me: failed program was:" >&5
2218 sed 's/^/| /' conftest.$ac_ext >&5
2222 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2223 as_fn_set_status $ac_retval
2225 } # ac_fn_cxx_try_cpp
2227 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2228 # -------------------------------------------
2229 # Tests whether TYPE exists after having included INCLUDES, setting cache
2230 # variable VAR accordingly.
2231 ac_fn_c_check_type ()
2233 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2235 $as_echo_n "checking for $2... " >&6; }
2236 if eval \${$3+:} false; then :
2237 $as_echo_n "(cached) " >&6
2240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2241 /* end confdefs.h. */
2252 if ac_fn_c_try_compile "$LINENO"; then :
2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2254 /* end confdefs.h. */
2265 if ac_fn_c_try_compile "$LINENO"; then :
2270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2276 $as_echo "$ac_res" >&6; }
2277 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2279 } # ac_fn_c_check_type
2280 cat >config.log <<_ACEOF
2281 This file contains any messages produced by compilers while
2282 running configure, to aid debugging if configure makes a mistake.
2284 It was created by subversion $as_me 1.8.10, which was
2285 generated by GNU Autoconf 2.69. Invocation command line was
2297 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2298 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2299 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2300 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2301 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2303 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2304 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2306 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2307 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2308 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2309 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2310 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2311 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2312 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2316 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2320 test -z "$as_dir" && as_dir=.
2321 $as_echo "PATH: $as_dir"
2337 # Keep a trace of the command line.
2338 # Strip out --no-create and --no-recursion so they do not pile up.
2339 # Strip out --silent because we don't want to record it for future runs.
2340 # Also quote any args containing shell meta-characters.
2341 # Make two passes to allow for proper duplicate-argument suppression.
2345 ac_must_keep_next=false
2351 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2352 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2353 | -silent | --silent | --silen | --sile | --sil)
2356 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2359 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2361 as_fn_append ac_configure_args1 " '$ac_arg'"
2362 if test $ac_must_keep_next = true; then
2363 ac_must_keep_next=false # Got value, back to normal.
2366 *=* | --config-cache | -C | -disable-* | --disable-* \
2367 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2368 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2369 | -with-* | --with-* | -without-* | --without-* | --x)
2370 case "$ac_configure_args0 " in
2371 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2374 -* ) ac_must_keep_next=true ;;
2377 as_fn_append ac_configure_args " '$ac_arg'"
2382 { ac_configure_args0=; unset ac_configure_args0;}
2383 { ac_configure_args1=; unset ac_configure_args1;}
2385 # When interrupted or exit'd, cleanup temporary files, and complete
2386 # config.log. We remove comments because anyway the quotes in there
2387 # would cause problems or look ugly.
2388 # WARNING: Use '\'' to represent an apostrophe within the trap.
2389 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2390 trap 'exit_status=$?
2391 # Save into config.log some information that might help in debugging.
2395 $as_echo "## ---------------- ##
2396 ## Cache variables. ##
2397 ## ---------------- ##"
2399 # The following way of writing the cache mishandles newlines in values,
2401 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2402 eval ac_val=\$$ac_var
2406 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2407 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2410 _ | IFS | as_nl) ;; #(
2411 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2412 *) { eval $ac_var=; unset $ac_var;} ;;
2417 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2418 *${as_nl}ac_space=\ *)
2420 "s/'\''/'\''\\\\'\'''\''/g;
2421 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2424 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2431 $as_echo "## ----------------- ##
2432 ## Output variables. ##
2433 ## ----------------- ##"
2435 for ac_var in $ac_subst_vars
2437 eval ac_val=\$$ac_var
2439 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2441 $as_echo "$ac_var='\''$ac_val'\''"
2445 if test -n "$ac_subst_files"; then
2446 $as_echo "## ------------------- ##
2447 ## File substitutions. ##
2448 ## ------------------- ##"
2450 for ac_var in $ac_subst_files
2452 eval ac_val=\$$ac_var
2454 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2456 $as_echo "$ac_var='\''$ac_val'\''"
2461 if test -s confdefs.h; then
2462 $as_echo "## ----------- ##
2469 test "$ac_signal" != 0 &&
2470 $as_echo "$as_me: caught signal $ac_signal"
2471 $as_echo "$as_me: exit $exit_status"
2473 rm -f core *.core core.conftest.* &&
2474 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2477 for ac_signal in 1 2 13 15; do
2478 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2482 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2483 rm -f -r conftest* confdefs.h
2485 $as_echo "/* confdefs.h */" > confdefs.h
2487 # Predefined preprocessor variables.
2489 cat >>confdefs.h <<_ACEOF
2490 #define PACKAGE_NAME "$PACKAGE_NAME"
2493 cat >>confdefs.h <<_ACEOF
2494 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2497 cat >>confdefs.h <<_ACEOF
2498 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2501 cat >>confdefs.h <<_ACEOF
2502 #define PACKAGE_STRING "$PACKAGE_STRING"
2505 cat >>confdefs.h <<_ACEOF
2506 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2509 cat >>confdefs.h <<_ACEOF
2510 #define PACKAGE_URL "$PACKAGE_URL"
2514 # Let the site file select an alternate cache file if it wants to.
2515 # Prefer an explicitly selected file to automatically selected ones.
2518 if test -n "$CONFIG_SITE"; then
2519 # We do not want a PATH search for config.site.
2520 case $CONFIG_SITE in #((
2521 -*) ac_site_file1=./$CONFIG_SITE;;
2522 */*) ac_site_file1=$CONFIG_SITE;;
2523 *) ac_site_file1=./$CONFIG_SITE;;
2525 elif test "x$prefix" != xNONE; then
2526 ac_site_file1=$prefix/share/config.site
2527 ac_site_file2=$prefix/etc/config.site
2529 ac_site_file1=$ac_default_prefix/share/config.site
2530 ac_site_file2=$ac_default_prefix/etc/config.site
2532 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2534 test "x$ac_site_file" = xNONE && continue
2535 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2536 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2537 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2538 sed 's/^/| /' "$ac_site_file" >&5
2540 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2541 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2542 as_fn_error $? "failed to load site script $ac_site_file
2543 See \`config.log' for more details" "$LINENO" 5; }
2547 if test -r "$cache_file"; then
2548 # Some versions of bash will fail to source /dev/null (special files
2549 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2550 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2551 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2552 $as_echo "$as_me: loading cache $cache_file" >&6;}
2554 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2555 *) . "./$cache_file";;
2559 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2560 $as_echo "$as_me: creating cache $cache_file" >&6;}
2564 # Check that the precious variables saved in the cache have kept the same
2566 ac_cache_corrupted=false
2567 for ac_var in $ac_precious_vars; do
2568 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2569 eval ac_new_set=\$ac_env_${ac_var}_set
2570 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2571 eval ac_new_val=\$ac_env_${ac_var}_value
2572 case $ac_old_set,$ac_new_set in
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2575 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2576 ac_cache_corrupted=: ;;
2578 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2579 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2580 ac_cache_corrupted=: ;;
2583 if test "x$ac_old_val" != "x$ac_new_val"; then
2584 # differences in whitespace do not lead to failure.
2585 ac_old_val_w=`echo x $ac_old_val`
2586 ac_new_val_w=`echo x $ac_new_val`
2587 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2588 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2589 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2590 ac_cache_corrupted=:
2592 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2593 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2594 eval $ac_var=\$ac_old_val
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2597 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2599 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2602 # Pass precious variables to config.status.
2603 if test "$ac_new_set" = set; then
2605 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2606 *) ac_arg=$ac_var=$ac_new_val ;;
2608 case " $ac_configure_args " in
2609 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2610 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2614 if $ac_cache_corrupted; then
2615 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2618 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2619 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2621 ## -------------------- ##
2622 ## Main body of script. ##
2623 ## -------------------- ##
2626 ac_cpp='$CPP $CPPFLAGS'
2627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2635 for ac_dir in build "$srcdir"/build; do
2636 if test -f "$ac_dir/install-sh"; then
2638 ac_install_sh="$ac_aux_dir/install-sh -c"
2640 elif test -f "$ac_dir/install.sh"; then
2642 ac_install_sh="$ac_aux_dir/install.sh -c"
2644 elif test -f "$ac_dir/shtool"; then
2646 ac_install_sh="$ac_aux_dir/shtool install -c"
2650 if test -z "$ac_aux_dir"; then
2651 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build \"$srcdir\"/build" "$LINENO" 5
2654 # These three variables are undocumented and unsupported,
2655 # and are intended to be withdrawn in a future Autoconf release.
2656 # They can cause serious problems if a builder's source tree is in a directory
2657 # whose full name contains unusual characters.
2658 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2659 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2660 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2664 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Subversion 1.8.10" >&5
2665 $as_echo "$as_me: Configuring Subversion 1.8.10" >&6;}
2667 abs_srcdir="`cd $srcdir && pwd`"
2669 abs_builddir="`pwd`"
2671 if test "$abs_srcdir" = "$abs_builddir"; then
2672 canonicalized_srcdir=""
2674 canonicalized_srcdir="$srcdir/"
2678 SWIG_LDFLAGS="$LDFLAGS"
2681 # Generate config.nice early (before the arguments are munged)
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: creating config.nice" >&5
2684 $as_echo "$as_me: creating config.nice" >&6;}
2685 # This little dance satisfies Cygwin, which cannot overwrite in-use files.
2686 if test -f "config.nice"; then
2687 mv "config.nice" "config.nice.old"
2690 cat >"config.nice" <<EOF
2693 # Created by configure
2695 '$0' $ac_configure_args "\$@"
2698 chmod +x "config.nice"
2699 rm -f "config.nice.old"
2702 # ==== Check for programs ====================================================
2704 # Look for a C compiler (before anything can set CFLAGS)
2705 CMAINTAINERFLAGS="$CUSERFLAGS"
2706 CUSERFLAGS="$CFLAGS"
2708 ac_cpp='$CPP $CPPFLAGS'
2709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2712 if test -n "$ac_tool_prefix"; then
2713 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2714 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2716 $as_echo_n "checking for $ac_word... " >&6; }
2717 if ${ac_cv_prog_CC+:} false; then :
2718 $as_echo_n "(cached) " >&6
2720 if test -n "$CC"; then
2721 ac_cv_prog_CC="$CC" # Let the user override the test.
2723 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2727 test -z "$as_dir" && as_dir=.
2728 for ac_exec_ext in '' $ac_executable_extensions; do
2729 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2730 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2731 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2741 if test -n "$CC"; then
2742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2743 $as_echo "$CC" >&6; }
2745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2746 $as_echo "no" >&6; }
2751 if test -z "$ac_cv_prog_CC"; then
2753 # Extract the first word of "gcc", so it can be a program name with args.
2754 set dummy gcc; ac_word=$2
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2756 $as_echo_n "checking for $ac_word... " >&6; }
2757 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2758 $as_echo_n "(cached) " >&6
2760 if test -n "$ac_ct_CC"; then
2761 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2767 test -z "$as_dir" && as_dir=.
2768 for ac_exec_ext in '' $ac_executable_extensions; do
2769 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2770 ac_cv_prog_ac_ct_CC="gcc"
2771 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2780 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2781 if test -n "$ac_ct_CC"; then
2782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2783 $as_echo "$ac_ct_CC" >&6; }
2785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2786 $as_echo "no" >&6; }
2789 if test "x$ac_ct_CC" = x; then
2792 case $cross_compiling:$ac_tool_warned in
2794 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2795 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2796 ac_tool_warned=yes ;;
2804 if test -z "$CC"; then
2805 if test -n "$ac_tool_prefix"; then
2806 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2807 set dummy ${ac_tool_prefix}cc; ac_word=$2
2808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2809 $as_echo_n "checking for $ac_word... " >&6; }
2810 if ${ac_cv_prog_CC+:} false; then :
2811 $as_echo_n "(cached) " >&6
2813 if test -n "$CC"; then
2814 ac_cv_prog_CC="$CC" # Let the user override the test.
2816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2820 test -z "$as_dir" && as_dir=.
2821 for ac_exec_ext in '' $ac_executable_extensions; do
2822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2823 ac_cv_prog_CC="${ac_tool_prefix}cc"
2824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2834 if test -n "$CC"; then
2835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2836 $as_echo "$CC" >&6; }
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2839 $as_echo "no" >&6; }
2845 if test -z "$CC"; then
2846 # Extract the first word of "cc", so it can be a program name with args.
2847 set dummy cc; ac_word=$2
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2849 $as_echo_n "checking for $ac_word... " >&6; }
2850 if ${ac_cv_prog_CC+:} false; then :
2851 $as_echo_n "(cached) " >&6
2853 if test -n "$CC"; then
2854 ac_cv_prog_CC="$CC" # Let the user override the test.
2857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2861 test -z "$as_dir" && as_dir=.
2862 for ac_exec_ext in '' $ac_executable_extensions; do
2863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2864 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2865 ac_prog_rejected=yes
2869 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2876 if test $ac_prog_rejected = yes; then
2877 # We found a bogon in the path, so make sure we never use it.
2878 set dummy $ac_cv_prog_CC
2880 if test $# != 0; then
2881 # We chose a different compiler from the bogus one.
2882 # However, it has the same basename, so the bogon will be chosen
2883 # first if we set CC to just the basename; use the full file name.
2885 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2891 if test -n "$CC"; then
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2893 $as_echo "$CC" >&6; }
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2896 $as_echo "no" >&6; }
2901 if test -z "$CC"; then
2902 if test -n "$ac_tool_prefix"; then
2903 for ac_prog in cl.exe
2905 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2906 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2908 $as_echo_n "checking for $ac_word... " >&6; }
2909 if ${ac_cv_prog_CC+:} false; then :
2910 $as_echo_n "(cached) " >&6
2912 if test -n "$CC"; then
2913 ac_cv_prog_CC="$CC" # Let the user override the test.
2915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2919 test -z "$as_dir" && as_dir=.
2920 for ac_exec_ext in '' $ac_executable_extensions; do
2921 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2922 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2923 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2933 if test -n "$CC"; then
2934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2935 $as_echo "$CC" >&6; }
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2938 $as_echo "no" >&6; }
2942 test -n "$CC" && break
2945 if test -z "$CC"; then
2947 for ac_prog in cl.exe
2949 # Extract the first word of "$ac_prog", so it can be a program name with args.
2950 set dummy $ac_prog; ac_word=$2
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2952 $as_echo_n "checking for $ac_word... " >&6; }
2953 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2954 $as_echo_n "(cached) " >&6
2956 if test -n "$ac_ct_CC"; then
2957 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2959 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2963 test -z "$as_dir" && as_dir=.
2964 for ac_exec_ext in '' $ac_executable_extensions; do
2965 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2966 ac_cv_prog_ac_ct_CC="$ac_prog"
2967 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2976 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2977 if test -n "$ac_ct_CC"; then
2978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2979 $as_echo "$ac_ct_CC" >&6; }
2981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 $as_echo "no" >&6; }
2986 test -n "$ac_ct_CC" && break
2989 if test "x$ac_ct_CC" = x; then
2992 case $cross_compiling:$ac_tool_warned in
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2995 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2996 ac_tool_warned=yes ;;
3005 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3006 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3007 as_fn_error $? "no acceptable C compiler found in \$PATH
3008 See \`config.log' for more details" "$LINENO" 5; }
3010 # Provide some information about the compiler.
3011 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3014 for ac_option in --version -v -V -qversion; do
3015 { { ac_try="$ac_compiler $ac_option >&5"
3017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3018 *) ac_try_echo=$ac_try;;
3020 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3021 $as_echo "$ac_try_echo"; } >&5
3022 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3024 if test -s conftest.err; then
3026 ... rest of stderr output deleted ...
3027 10q' conftest.err >conftest.er1
3028 cat conftest.er1 >&5
3030 rm -f conftest.er1 conftest.err
3031 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3032 test $ac_status = 0; }
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3046 ac_clean_files_save=$ac_clean_files
3047 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3048 # Try to create an executable without -o first, disregard a.out.
3049 # It will help us diagnose broken compilers, and finding out an intuition
3051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3052 $as_echo_n "checking whether the C compiler works... " >&6; }
3053 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3055 # The possible output files:
3056 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3059 for ac_file in $ac_files
3062 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3063 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3068 if { { ac_try="$ac_link_default"
3070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3071 *) ac_try_echo=$ac_try;;
3073 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3074 $as_echo "$ac_try_echo"; } >&5
3075 (eval "$ac_link_default") 2>&5
3077 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3078 test $ac_status = 0; }; then :
3079 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3080 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3081 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3082 # so that the user can short-circuit this test for compilers unknown to
3084 for ac_file in $ac_files ''
3086 test -f "$ac_file" || continue
3088 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3091 # We found the default executable, but exeext='' is most
3095 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3097 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3099 # We set ac_cv_exeext here because the later test for it is not
3100 # safe: cross compilers may not add the suffix if given an `-o'
3101 # argument, so we may need to know it at that point already.
3102 # Even if this section looks crufty: it has the advantage of
3109 test "$ac_cv_exeext" = no && ac_cv_exeext=
3114 if test -z "$ac_file"; then :
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3116 $as_echo "no" >&6; }
3117 $as_echo "$as_me: failed program was:" >&5
3118 sed 's/^/| /' conftest.$ac_ext >&5
3120 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3121 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3122 as_fn_error 77 "C compiler cannot create executables
3123 See \`config.log' for more details" "$LINENO" 5; }
3125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3126 $as_echo "yes" >&6; }
3128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3129 $as_echo_n "checking for C compiler default output file name... " >&6; }
3130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3131 $as_echo "$ac_file" >&6; }
3132 ac_exeext=$ac_cv_exeext
3134 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3135 ac_clean_files=$ac_clean_files_save
3136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3137 $as_echo_n "checking for suffix of executables... " >&6; }
3138 if { { ac_try="$ac_link"
3140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3141 *) ac_try_echo=$ac_try;;
3143 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3144 $as_echo "$ac_try_echo"; } >&5
3145 (eval "$ac_link") 2>&5
3147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3148 test $ac_status = 0; }; then :
3149 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3150 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3151 # work properly (i.e., refer to `conftest.exe'), while it won't with
3153 for ac_file in conftest.exe conftest conftest.*; do
3154 test -f "$ac_file" || continue
3156 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3157 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3166 See \`config.log' for more details" "$LINENO" 5; }
3168 rm -f conftest conftest$ac_cv_exeext
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3170 $as_echo "$ac_cv_exeext" >&6; }
3172 rm -f conftest.$ac_ext
3173 EXEEXT=$ac_cv_exeext
3175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3176 /* end confdefs.h. */
3181 FILE *f = fopen ("conftest.out", "w");
3182 return ferror (f) || fclose (f) != 0;
3188 ac_clean_files="$ac_clean_files conftest.out"
3189 # Check that the compiler produces executables we can run. If not, either
3190 # the compiler is broken, or we cross compile.
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3192 $as_echo_n "checking whether we are cross compiling... " >&6; }
3193 if test "$cross_compiling" != yes; then
3194 { { ac_try="$ac_link"
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 $as_echo "$ac_try_echo"; } >&5
3201 (eval "$ac_link") 2>&5
3203 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }
3205 if { ac_try='./conftest$ac_cv_exeext'
3206 { { case "(($ac_try" in
3207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3208 *) ac_try_echo=$ac_try;;
3210 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3211 $as_echo "$ac_try_echo"; } >&5
3212 (eval "$ac_try") 2>&5
3214 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3215 test $ac_status = 0; }; }; then
3218 if test "$cross_compiling" = maybe; then
3221 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3222 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3223 as_fn_error $? "cannot run C compiled programs.
3224 If you meant to cross compile, use \`--host'.
3225 See \`config.log' for more details" "$LINENO" 5; }
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3230 $as_echo "$cross_compiling" >&6; }
3232 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3233 ac_clean_files=$ac_clean_files_save
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3235 $as_echo_n "checking for suffix of object files... " >&6; }
3236 if ${ac_cv_objext+:} false; then :
3237 $as_echo_n "(cached) " >&6
3239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3240 /* end confdefs.h. */
3250 rm -f conftest.o conftest.obj
3251 if { { ac_try="$ac_compile"
3253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3254 *) ac_try_echo=$ac_try;;
3256 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3257 $as_echo "$ac_try_echo"; } >&5
3258 (eval "$ac_compile") 2>&5
3260 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3261 test $ac_status = 0; }; then :
3262 for ac_file in conftest.o conftest.obj conftest.*; do
3263 test -f "$ac_file" || continue;
3265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3266 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3271 $as_echo "$as_me: failed program was:" >&5
3272 sed 's/^/| /' conftest.$ac_ext >&5
3274 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3275 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3276 as_fn_error $? "cannot compute suffix of object files: cannot compile
3277 See \`config.log' for more details" "$LINENO" 5; }
3279 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3282 $as_echo "$ac_cv_objext" >&6; }
3283 OBJEXT=$ac_cv_objext
3285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3286 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3287 if ${ac_cv_c_compiler_gnu+:} false; then :
3288 $as_echo_n "(cached) " >&6
3290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3291 /* end confdefs.h. */
3304 if ac_fn_c_try_compile "$LINENO"; then :
3309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3310 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3314 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3315 if test $ac_compiler_gnu = yes; then
3320 ac_test_CFLAGS=${CFLAGS+set}
3321 ac_save_CFLAGS=$CFLAGS
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3323 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3324 if ${ac_cv_prog_cc_g+:} false; then :
3325 $as_echo_n "(cached) " >&6
3327 ac_save_c_werror_flag=$ac_c_werror_flag
3328 ac_c_werror_flag=yes
3331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3332 /* end confdefs.h. */
3342 if ac_fn_c_try_compile "$LINENO"; then :
3346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3347 /* end confdefs.h. */
3357 if ac_fn_c_try_compile "$LINENO"; then :
3360 ac_c_werror_flag=$ac_save_c_werror_flag
3362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3363 /* end confdefs.h. */
3373 if ac_fn_c_try_compile "$LINENO"; then :
3376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 ac_c_werror_flag=$ac_save_c_werror_flag
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3384 $as_echo "$ac_cv_prog_cc_g" >&6; }
3385 if test "$ac_test_CFLAGS" = set; then
3386 CFLAGS=$ac_save_CFLAGS
3387 elif test $ac_cv_prog_cc_g = yes; then
3388 if test "$GCC" = yes; then
3394 if test "$GCC" = yes; then
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3401 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3402 if ${ac_cv_prog_cc_c89+:} false; then :
3403 $as_echo_n "(cached) " >&6
3405 ac_cv_prog_cc_c89=no
3407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3408 /* end confdefs.h. */
3412 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3413 struct buf { int x; };
3414 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3415 static char *e (p, i)
3421 static char *f (char * (*g) (char **, int), char **p, ...)
3426 s = g (p, va_arg (v,int));
3431 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3432 function prototypes and stuff, but not '\xHH' hex character constants.
3433 These don't provoke an error unfortunately, instead are silently treated
3434 as 'x'. The following induces an error, until -std is added to get
3435 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3436 array size at least. It's necessary to write '\x00'==0 to get something
3437 that's true only with -std. */
3438 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3440 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3441 inside strings and character constants. */
3443 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3445 int test (int i, double x);
3446 struct s1 {int (*f) (int a);};
3447 struct s2 {int (*f) (double a);};
3448 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3454 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3460 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3462 CC="$ac_save_CC $ac_arg"
3463 if ac_fn_c_try_compile "$LINENO"; then :
3464 ac_cv_prog_cc_c89=$ac_arg
3466 rm -f core conftest.err conftest.$ac_objext
3467 test "x$ac_cv_prog_cc_c89" != "xno" && break
3469 rm -f conftest.$ac_ext
3474 case "x$ac_cv_prog_cc_c89" in
3476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3477 $as_echo "none needed" >&6; } ;;
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3480 $as_echo "unsupported" >&6; } ;;
3482 CC="$CC $ac_cv_prog_cc_c89"
3483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3484 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3486 if test "x$ac_cv_prog_cc_c89" != xno; then :
3491 ac_cpp='$CPP $CPPFLAGS'
3492 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3493 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3494 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3498 CFLAGS_KEEP="$CFLAGS"
3502 _svn_xxflags__save="$CFLAGS"
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
3509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c90" >&5
3510 $as_echo_n "checking if $CC accepts -std=c90... " >&6; }
3511 CFLAGS="-std=c90 $CFLAGS"
3512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3513 /* end confdefs.h. */
3514 int main(void){return 0;}
3516 if ac_fn_c_try_link "$LINENO"; then :
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3519 $as_echo "yes" >&6; }
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3525 $as_echo "no" >&6; }
3526 CFLAGS="$_svn_xxflags__save"
3529 _svn_xxflags__save="$CFLAGS"
3531 ac_cpp='$CPP $CPPFLAGS'
3532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -std=c89" >&5
3537 $as_echo_n "checking if $CC accepts -std=c89... " >&6; }
3538 CFLAGS="-std=c89 $CFLAGS"
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3540 /* end confdefs.h. */
3541 int main(void){return 0;}
3543 if ac_fn_c_try_link "$LINENO"; then :
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3546 $as_echo "yes" >&6; }
3551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3552 $as_echo "no" >&6; }
3553 CFLAGS="$_svn_xxflags__save"
3556 _svn_xxflags__save="$CFLAGS"
3558 ac_cpp='$CPP $CPPFLAGS'
3559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -ansi" >&5
3564 $as_echo_n "checking if $CC accepts -ansi... " >&6; }
3565 CFLAGS="-ansi $CFLAGS"
3566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3567 /* end confdefs.h. */
3568 int main(void){return 0;}
3570 if ac_fn_c_try_link "$LINENO"; then :
3572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3573 $as_echo "yes" >&6; }
3578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3579 $as_echo "no" >&6; }
3580 CFLAGS="$_svn_xxflags__save"
3584 rm -f core conftest.err conftest.$ac_objext \
3585 conftest$ac_exeext conftest.$ac_ext
3587 ac_cpp='$CPP $CPPFLAGS'
3588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3596 rm -f core conftest.err conftest.$ac_objext \
3597 conftest$ac_exeext conftest.$ac_ext
3599 ac_cpp='$CPP $CPPFLAGS'
3600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3608 rm -f core conftest.err conftest.$ac_objext \
3609 conftest$ac_exeext conftest.$ac_ext
3611 ac_cpp='$CPP $CPPFLAGS'
3612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3618 CMODEFLAGS="$CFLAGS"
3619 CFLAGS="$CFLAGS_KEEP"
3624 _svn_xxflags__save="$CFLAGS"
3626 ac_cpp='$CPP $CPPFLAGS'
3627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=unknown-warning-option" >&5
3632 $as_echo_n "checking if $CC accepts -Werror=unknown-warning-option... " >&6; }
3633 CFLAGS="-Werror=unknown-warning-option $CFLAGS"
3634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3635 /* end confdefs.h. */
3636 int main(void){return 0;}
3638 if ac_fn_c_try_link "$LINENO"; then :
3640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3641 $as_echo "yes" >&6; }
3646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3647 $as_echo "no" >&6; }
3648 CFLAGS="$_svn_xxflags__save"
3652 rm -f core conftest.err conftest.$ac_objext \
3653 conftest$ac_exeext conftest.$ac_ext
3655 ac_cpp='$CPP $CPPFLAGS'
3656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3663 # Look for a C++ compiler (before anything can set CXXFLAGS)
3664 CXXMAINTAINERFLAGS="$CXXUSERFLAGS"
3665 CXXUSERFLAGS="$CXXFLAGS"
3667 ac_cpp='$CXXCPP $CPPFLAGS'
3668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3671 if test -z "$CXX"; then
3672 if test -n "$CCC"; then
3675 if test -n "$ac_tool_prefix"; then
3676 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3678 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3679 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3681 $as_echo_n "checking for $ac_word... " >&6; }
3682 if ${ac_cv_prog_CXX+:} false; then :
3683 $as_echo_n "(cached) " >&6
3685 if test -n "$CXX"; then
3686 ac_cv_prog_CXX="$CXX" # Let the user override the test.
3688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3692 test -z "$as_dir" && as_dir=.
3693 for ac_exec_ext in '' $ac_executable_extensions; do
3694 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3695 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
3696 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3706 if test -n "$CXX"; then
3707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3708 $as_echo "$CXX" >&6; }
3710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3711 $as_echo "no" >&6; }
3715 test -n "$CXX" && break
3718 if test -z "$CXX"; then
3720 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
3722 # Extract the first word of "$ac_prog", so it can be a program name with args.
3723 set dummy $ac_prog; ac_word=$2
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3725 $as_echo_n "checking for $ac_word... " >&6; }
3726 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3727 $as_echo_n "(cached) " >&6
3729 if test -n "$ac_ct_CXX"; then
3730 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
3732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3736 test -z "$as_dir" && as_dir=.
3737 for ac_exec_ext in '' $ac_executable_extensions; do
3738 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3739 ac_cv_prog_ac_ct_CXX="$ac_prog"
3740 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3749 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
3750 if test -n "$ac_ct_CXX"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3752 $as_echo "$ac_ct_CXX" >&6; }
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3755 $as_echo "no" >&6; }
3759 test -n "$ac_ct_CXX" && break
3762 if test "x$ac_ct_CXX" = x; then
3765 case $cross_compiling:$ac_tool_warned in
3767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3769 ac_tool_warned=yes ;;
3777 # Provide some information about the compiler.
3778 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3781 for ac_option in --version -v -V -qversion; do
3782 { { ac_try="$ac_compiler $ac_option >&5"
3784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3785 *) ac_try_echo=$ac_try;;
3787 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3788 $as_echo "$ac_try_echo"; } >&5
3789 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3791 if test -s conftest.err; then
3793 ... rest of stderr output deleted ...
3794 10q' conftest.err >conftest.er1
3795 cat conftest.er1 >&5
3797 rm -f conftest.er1 conftest.err
3798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3799 test $ac_status = 0; }
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3803 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3804 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3805 $as_echo_n "(cached) " >&6
3807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3808 /* end confdefs.h. */
3821 if ac_fn_cxx_try_compile "$LINENO"; then :
3826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3827 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3831 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3832 if test $ac_compiler_gnu = yes; then
3837 ac_test_CXXFLAGS=${CXXFLAGS+set}
3838 ac_save_CXXFLAGS=$CXXFLAGS
3839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3840 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3841 if ${ac_cv_prog_cxx_g+:} false; then :
3842 $as_echo_n "(cached) " >&6
3844 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3845 ac_cxx_werror_flag=yes
3848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3849 /* end confdefs.h. */
3859 if ac_fn_cxx_try_compile "$LINENO"; then :
3860 ac_cv_prog_cxx_g=yes
3863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3864 /* end confdefs.h. */
3874 if ac_fn_cxx_try_compile "$LINENO"; then :
3877 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3880 /* end confdefs.h. */
3890 if ac_fn_cxx_try_compile "$LINENO"; then :
3891 ac_cv_prog_cxx_g=yes
3893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3898 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3901 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3902 if test "$ac_test_CXXFLAGS" = set; then
3903 CXXFLAGS=$ac_save_CXXFLAGS
3904 elif test $ac_cv_prog_cxx_g = yes; then
3905 if test "$GXX" = yes; then
3911 if test "$GXX" = yes; then
3918 ac_cpp='$CPP $CPPFLAGS'
3919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3925 CXXFLAGS_KEEP="$CXXFLAGS"
3929 _svn_xxflags__save="$CXXFLAGS"
3931 ac_cpp='$CXXCPP $CPPFLAGS'
3932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -std=c++98" >&5
3937 $as_echo_n "checking if $CXX accepts -std=c++98... " >&6; }
3938 CXXFLAGS="-std=c++98 $CXXFLAGS"
3939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3940 /* end confdefs.h. */
3943 if ac_fn_cxx_try_link "$LINENO"; then :
3945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3946 $as_echo "yes" >&6; }
3951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3952 $as_echo "no" >&6; }
3953 CXXFLAGS="$_svn_xxflags__save"
3957 rm -f core conftest.err conftest.$ac_objext \
3958 conftest$ac_exeext conftest.$ac_ext
3960 ac_cpp='$CPP $CPPFLAGS'
3961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3967 CXXMODEFLAGS="$CXXFLAGS"
3968 CXXFLAGS="$CXXFLAGS_KEEP"
3973 _svn_xxflags__save="$CXXFLAGS"
3975 ac_cpp='$CXXCPP $CPPFLAGS'
3976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Werror=unknown-warning-option" >&5
3981 $as_echo_n "checking if $CXX accepts -Werror=unknown-warning-option... " >&6; }
3982 CXXFLAGS="-Werror=unknown-warning-option $CXXFLAGS"
3983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3984 /* end confdefs.h. */
3987 if ac_fn_cxx_try_link "$LINENO"; then :
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3990 $as_echo "yes" >&6; }
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3996 $as_echo "no" >&6; }
3997 CXXFLAGS="$_svn_xxflags__save"
4001 rm -f core conftest.err conftest.$ac_objext \
4002 conftest$ac_exeext conftest.$ac_ext
4004 ac_cpp='$CPP $CPPFLAGS'
4005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4012 # Look for a C pre-processor
4014 ac_cpp='$CPP $CPPFLAGS'
4015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4019 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4020 # On Suns, sometimes $CPP names a directory.
4021 if test -n "$CPP" && test -d "$CPP"; then
4024 if test -z "$CPP"; then
4025 if ${ac_cv_prog_CPP+:} false; then :
4026 $as_echo_n "(cached) " >&6
4028 # Double quotes because CPP needs to be expanded
4029 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4032 for ac_c_preproc_warn_flag in '' yes
4034 # Use a header file that comes with gcc, so configuring glibc
4035 # with a fresh cross-compiler works.
4036 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4037 # <limits.h> exists even on freestanding compilers.
4038 # On the NeXT, cc -E runs the code through the compiler's parser,
4039 # not just through cpp. "Syntax error" is here to catch this case.
4040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4041 /* end confdefs.h. */
4043 # include <limits.h>
4045 # include <assert.h>
4049 if ac_fn_c_try_cpp "$LINENO"; then :
4052 # Broken: fails on valid input.
4055 rm -f conftest.err conftest.i conftest.$ac_ext
4057 # OK, works on sane cases. Now check whether nonexistent headers
4058 # can be detected and how.
4059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4060 /* end confdefs.h. */
4061 #include <ac_nonexistent.h>
4063 if ac_fn_c_try_cpp "$LINENO"; then :
4064 # Broken: success on invalid input.
4067 # Passes both tests.
4071 rm -f conftest.err conftest.i conftest.$ac_ext
4074 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4075 rm -f conftest.i conftest.err conftest.$ac_ext
4076 if $ac_preproc_ok; then :
4088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4089 $as_echo "$CPP" >&6; }
4091 for ac_c_preproc_warn_flag in '' yes
4093 # Use a header file that comes with gcc, so configuring glibc
4094 # with a fresh cross-compiler works.
4095 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4096 # <limits.h> exists even on freestanding compilers.
4097 # On the NeXT, cc -E runs the code through the compiler's parser,
4098 # not just through cpp. "Syntax error" is here to catch this case.
4099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4100 /* end confdefs.h. */
4102 # include <limits.h>
4104 # include <assert.h>
4108 if ac_fn_c_try_cpp "$LINENO"; then :
4111 # Broken: fails on valid input.
4114 rm -f conftest.err conftest.i conftest.$ac_ext
4116 # OK, works on sane cases. Now check whether nonexistent headers
4117 # can be detected and how.
4118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4119 /* end confdefs.h. */
4120 #include <ac_nonexistent.h>
4122 if ac_fn_c_try_cpp "$LINENO"; then :
4123 # Broken: success on invalid input.
4126 # Passes both tests.
4130 rm -f conftest.err conftest.i conftest.$ac_ext
4133 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4134 rm -f conftest.i conftest.err conftest.$ac_ext
4135 if $ac_preproc_ok; then :
4138 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4139 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4140 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4141 See \`config.log' for more details" "$LINENO" 5; }
4145 ac_cpp='$CPP $CPPFLAGS'
4146 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4147 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4148 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4151 # Look for a good sed
4152 # AC_PROG_SED was introduced in Autoconf 2.59b
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
4154 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
4155 if ${ac_cv_path_SED+:} false; then :
4156 $as_echo_n "(cached) " >&6
4158 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
4159 for ac_i in 1 2 3 4 5 6 7; do
4160 ac_script="$ac_script$as_nl$ac_script"
4162 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
4163 { ac_script=; unset ac_script;}
4164 if test -z "$SED"; then
4165 ac_path_SED_found=false
4166 # Loop through the user's path and test for each of PROGNAME-LIST
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4171 test -z "$as_dir" && as_dir=.
4172 for ac_prog in sed gsed; do
4173 for ac_exec_ext in '' $ac_executable_extensions; do
4174 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
4175 as_fn_executable_p "$ac_path_SED" || continue
4176 # Check for GNU ac_path_SED and select it if it is found.
4177 # Check for GNU $ac_path_SED
4178 case `"$ac_path_SED" --version 2>&1` in
4180 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
4183 $as_echo_n 0123456789 >"conftest.in"
4186 cat "conftest.in" "conftest.in" >"conftest.tmp"
4187 mv "conftest.tmp" "conftest.in"
4188 cp "conftest.in" "conftest.nl"
4189 $as_echo '' >> "conftest.nl"
4190 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
4191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4192 as_fn_arith $ac_count + 1 && ac_count=$as_val
4193 if test $ac_count -gt ${ac_path_SED_max-0}; then
4194 # Best one so far, save it but keep looking for a better one
4195 ac_cv_path_SED="$ac_path_SED"
4196 ac_path_SED_max=$ac_count
4198 # 10*(2^10) chars as input seems more than enough
4199 test $ac_count -gt 10 && break
4201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4204 $ac_path_SED_found && break 3
4209 if test -z "$ac_cv_path_SED"; then
4210 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
4218 $as_echo "$ac_cv_path_SED" >&6; }
4219 SED="$ac_cv_path_SED"
4223 # Grab target_cpu, so we can use it in the Solaris pkginfo file
4224 # Make sure we can run config.sub.
4225 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4226 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4229 $as_echo_n "checking build system type... " >&6; }
4230 if ${ac_cv_build+:} false; then :
4231 $as_echo_n "(cached) " >&6
4233 ac_build_alias=$build_alias
4234 test "x$ac_build_alias" = x &&
4235 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4236 test "x$ac_build_alias" = x &&
4237 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4238 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4239 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4243 $as_echo "$ac_cv_build" >&6; }
4244 case $ac_cv_build in
4246 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4249 ac_save_IFS=$IFS; IFS='-'
4255 # Remember, the first character of IFS is used to create $*,
4256 # except with old shells:
4259 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4263 $as_echo_n "checking host system type... " >&6; }
4264 if ${ac_cv_host+:} false; then :
4265 $as_echo_n "(cached) " >&6
4267 if test "x$host_alias" = x; then
4268 ac_cv_host=$ac_cv_build
4270 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4271 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4276 $as_echo "$ac_cv_host" >&6; }
4279 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4282 ac_save_IFS=$IFS; IFS='-'
4288 # Remember, the first character of IFS is used to create $*,
4289 # except with old shells:
4292 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
4296 $as_echo_n "checking target system type... " >&6; }
4297 if ${ac_cv_target+:} false; then :
4298 $as_echo_n "(cached) " >&6
4300 if test "x$target_alias" = x; then
4301 ac_cv_target=$ac_cv_host
4303 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
4304 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
4308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
4309 $as_echo "$ac_cv_target" >&6; }
4310 case $ac_cv_target in
4312 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
4314 target=$ac_cv_target
4315 ac_save_IFS=$IFS; IFS='-'
4321 # Remember, the first character of IFS is used to create $*,
4322 # except with old shells:
4325 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
4328 # The aliases save the names the user supplied, while $host etc.
4329 # will get canonicalized.
4330 test -n "$target_alias" &&
4331 test "$program_prefix$program_suffix$program_transform_name" = \
4333 program_prefix=${target_alias}-
4335 # Look for an extended grep
4336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4337 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4338 if ${ac_cv_path_GREP+:} false; then :
4339 $as_echo_n "(cached) " >&6
4341 if test -z "$GREP"; then
4342 ac_path_GREP_found=false
4343 # Loop through the user's path and test for each of PROGNAME-LIST
4344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4345 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4348 test -z "$as_dir" && as_dir=.
4349 for ac_prog in grep ggrep; do
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4352 as_fn_executable_p "$ac_path_GREP" || continue
4353 # Check for GNU ac_path_GREP and select it if it is found.
4354 # Check for GNU $ac_path_GREP
4355 case `"$ac_path_GREP" --version 2>&1` in
4357 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4360 $as_echo_n 0123456789 >"conftest.in"
4363 cat "conftest.in" "conftest.in" >"conftest.tmp"
4364 mv "conftest.tmp" "conftest.in"
4365 cp "conftest.in" "conftest.nl"
4366 $as_echo 'GREP' >> "conftest.nl"
4367 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4368 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4369 as_fn_arith $ac_count + 1 && ac_count=$as_val
4370 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4371 # Best one so far, save it but keep looking for a better one
4372 ac_cv_path_GREP="$ac_path_GREP"
4373 ac_path_GREP_max=$ac_count
4375 # 10*(2^10) chars as input seems more than enough
4376 test $ac_count -gt 10 && break
4378 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4381 $ac_path_GREP_found && break 3
4386 if test -z "$ac_cv_path_GREP"; then
4387 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4390 ac_cv_path_GREP=$GREP
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4395 $as_echo "$ac_cv_path_GREP" >&6; }
4396 GREP="$ac_cv_path_GREP"
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4400 $as_echo_n "checking for egrep... " >&6; }
4401 if ${ac_cv_path_EGREP+:} false; then :
4402 $as_echo_n "(cached) " >&6
4404 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4405 then ac_cv_path_EGREP="$GREP -E"
4407 if test -z "$EGREP"; then
4408 ac_path_EGREP_found=false
4409 # Loop through the user's path and test for each of PROGNAME-LIST
4410 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4411 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4414 test -z "$as_dir" && as_dir=.
4415 for ac_prog in egrep; do
4416 for ac_exec_ext in '' $ac_executable_extensions; do
4417 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4418 as_fn_executable_p "$ac_path_EGREP" || continue
4419 # Check for GNU ac_path_EGREP and select it if it is found.
4420 # Check for GNU $ac_path_EGREP
4421 case `"$ac_path_EGREP" --version 2>&1` in
4423 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4426 $as_echo_n 0123456789 >"conftest.in"
4429 cat "conftest.in" "conftest.in" >"conftest.tmp"
4430 mv "conftest.tmp" "conftest.in"
4431 cp "conftest.in" "conftest.nl"
4432 $as_echo 'EGREP' >> "conftest.nl"
4433 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4434 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4435 as_fn_arith $ac_count + 1 && ac_count=$as_val
4436 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4437 # Best one so far, save it but keep looking for a better one
4438 ac_cv_path_EGREP="$ac_path_EGREP"
4439 ac_path_EGREP_max=$ac_count
4441 # 10*(2^10) chars as input seems more than enough
4442 test $ac_count -gt 10 && break
4444 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4447 $ac_path_EGREP_found && break 3
4452 if test -z "$ac_cv_path_EGREP"; then
4453 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4456 ac_cv_path_EGREP=$EGREP
4461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4462 $as_echo "$ac_cv_path_EGREP" >&6; }
4463 EGREP="$ac_cv_path_EGREP"
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
4468 $as_echo_n "checking whether ln -s works... " >&6; }
4470 if test "$LN_S" = "ln -s"; then
4471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4472 $as_echo "yes" >&6; }
4474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
4475 $as_echo "no, using $LN_S" >&6; }
4479 # Find a good install program. We prefer a C program (faster),
4480 # so one script is as good as another. But avoid the broken or
4481 # incompatible versions:
4482 # SysV /etc/install, /usr/sbin/install
4483 # SunOS /usr/etc/install
4484 # IRIX /sbin/install
4486 # AmigaOS /C/install, which installs bootblocks on floppy discs
4487 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4488 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4489 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4490 # OS/2's system install, which has a completely different semantic
4491 # ./install, which can be erroneously created by make from ./install.sh.
4492 # Reject install programs that cannot install multiple files.
4493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
4494 $as_echo_n "checking for a BSD-compatible install... " >&6; }
4495 if test -z "$INSTALL"; then
4496 if ${ac_cv_path_install+:} false; then :
4497 $as_echo_n "(cached) " >&6
4499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4503 test -z "$as_dir" && as_dir=.
4504 # Account for people who put trailing slashes in PATH elements.
4505 case $as_dir/ in #((
4506 ./ | .// | /[cC]/* | \
4507 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4508 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
4511 # OSF1 and SCO ODT 3.0 have their own names for install.
4512 # Don't use installbsd from OSF since it installs stuff as root
4514 for ac_prog in ginstall scoinst install; do
4515 for ac_exec_ext in '' $ac_executable_extensions; do
4516 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
4517 if test $ac_prog = install &&
4518 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4519 # AIX install. It has an incompatible calling convention.
4521 elif test $ac_prog = install &&
4522 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4523 # program-specific install script used by HP pwplus--don't use.
4526 rm -rf conftest.one conftest.two conftest.dir
4527 echo one > conftest.one
4528 echo two > conftest.two
4530 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
4531 test -s conftest.one && test -s conftest.two &&
4532 test -s conftest.dir/conftest.one &&
4533 test -s conftest.dir/conftest.two
4535 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4548 rm -rf conftest.one conftest.two conftest.dir
4551 if test "${ac_cv_path_install+set}" = set; then
4552 INSTALL=$ac_cv_path_install
4554 # As a last resort, use the slow shell script. Don't cache a
4555 # value for INSTALL within a source directory, because that will
4556 # break other packages using the cache if that directory is
4557 # removed, or if the value is a relative name.
4558 INSTALL=$ac_install_sh
4561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
4562 $as_echo "$INSTALL" >&6; }
4564 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4565 # It thinks the first close brace ends the variable substitution.
4566 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4568 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4570 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4572 # If $INSTALL is relative path to our fallback install-sh, then convert
4573 # to an absolute path, as in some cases (e.g. Solaris VPATH build), libtool
4574 # may try to use it from a changed working directory.
4575 if test "$INSTALL" = "build/install-sh -c"; then
4576 INSTALL="$abs_srcdir/$INSTALL"
4579 if test -z "$MKDIR"; then
4584 # ==== Libraries, for which we may have source to build ======================
4587 APR_VER_REGEXES="0\.9\.[7-9] 0\.9\.[12][0-9] 1\. 2\."
4590 APR_WANTED_REGEXES="$APR_VER_REGEXES"
4592 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime (APR) library configuration" >&5
4593 $as_echo "$as_me: Apache Portable Runtime (APR) library configuration" >&6;}
4598 if test "$ac_cv_emxos2" = "yes"; then
4599 # Scripts don't pass test -x on OS/2
4605 acceptable_majors="1 0"
4607 apr_temp_acceptable_apr_config=""
4608 for apr_temp_major in $acceptable_majors
4610 case $apr_temp_major in
4612 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-config"
4615 apr_temp_acceptable_apr_config="$apr_temp_acceptable_apr_config apr-$apr_temp_major-config"
4620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR" >&5
4621 $as_echo_n "checking for APR... " >&6; }
4623 # Check whether --with-apr was given.
4624 if test "${with_apr+set}" = set; then :
4626 if test "$withval" = "no" || test "$withval" = "yes"; then
4627 as_fn_error $? "--with-apr requires a directory or file to be provided" "$LINENO" 5
4630 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4632 for lookdir in "$withval/bin" "$withval"
4634 if $TEST_X "$lookdir/$apr_temp_apr_config_file"; then
4636 apr_config="$lookdir/$apr_temp_apr_config_file"
4642 if test "$apr_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
4644 apr_config="$withval"
4647 if test "$apr_found" != "yes"; then
4648 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
4653 if test -d """"; then
4654 apr_temp_abs_srcdir="`cd "" && pwd`"
4655 apr_found="reconfig"
4656 apr_bundled_major="`sed -n '/#define.*APR_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apr_version.h\"`"
4657 case $apr_bundled_major in
4659 as_fn_error $? "failed to find major version of bundled APR" "$LINENO" 5
4662 apr_temp_apr_config_file="apr-config"
4665 apr_temp_apr_config_file="apr-$apr_bundled_major-config"
4668 if test -n """"; then
4669 apr_config="""/$apr_temp_apr_config_file"
4671 apr_config="""/$apr_temp_apr_config_file"
4674 if test "$apr_found" = "no" && test -n "1" && test "1" = "1"; then
4675 for apr_temp_apr_config_file in $apr_temp_acceptable_apr_config
4677 if $apr_temp_apr_config_file --help > /dev/null 2>&1 ; then
4679 apr_config="$apr_temp_apr_config_file"
4682 for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
4683 if $TEST_X "$lookdir/bin/$apr_temp_apr_config_file"; then
4685 apr_config="$lookdir/bin/$apr_temp_apr_config_file"
4696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_found" >&5
4697 $as_echo "$apr_found" >&6; }
4700 if test $apr_found = "no"; then
4701 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APR not found" >&5
4702 $as_echo "$as_me: WARNING: APR not found" >&2;}
4704 echo "The Apache Portable Runtime (APR) library cannot be found."
4705 echo "Please install APR on this system and configure Subversion"
4706 echo "with the appropriate --with-apr option."
4708 echo "You probably need to do something similar with the Apache"
4709 echo "Portable Runtime Utility (APRUTIL) library and then configure"
4710 echo "Subversion with both the --with-apr and --with-apr-util options."
4712 as_fn_error $? "no suitable APR found" "$LINENO" 5
4716 if test $apr_found = "reconfig"; then
4717 as_fn_error $? "Unexpected APR reconfig" "$LINENO" 5
4721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APR version" >&5
4722 $as_echo_n "checking APR version... " >&6; }
4723 apr_version="`$apr_config --version`"
4724 if test $? -ne 0; then
4725 as_fn_error $? "apr-config --version failed" "$LINENO" 5
4727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apr_version" >&5
4728 $as_echo "$apr_version" >&6; }
4730 APR_WANTED_REGEX_MATCH=0
4731 for apr_wanted_regex in $APR_WANTED_REGEXES; do
4732 if test `expr $apr_version : $apr_wanted_regex` -ne 0; then
4733 APR_WANTED_REGEX_MATCH=1
4738 if test $APR_WANTED_REGEX_MATCH -eq 0; then
4739 echo "wanted regexes are $APR_WANTED_REGEXES"
4740 as_fn_error $? "invalid apr version found" "$LINENO" 5
4744 CPPFLAGS="$CPPFLAGS `$apr_config --cppflags`"
4745 if test $? -ne 0; then
4746 as_fn_error $? "apr-config --cppflags failed" "$LINENO" 5
4749 CFLAGS="$CFLAGS `$apr_config --cflags`"
4750 if test $? -ne 0; then
4751 as_fn_error $? "apr-config --cflags failed" "$LINENO" 5
4754 apr_ldflags="`$apr_config --ldflags`"
4755 if test $? -ne 0; then
4756 as_fn_error $? "apr-config --ldflags failed" "$LINENO" 5
4759 input_flags="$apr_ldflags"
4761 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4762 for flag in $input_flags; do
4764 for dir in $filtered_dirs; do
4765 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4770 if test "$filter" = "no"; then
4771 output_flags="$output_flags $flag"
4774 if test -n "$output_flags"; then
4775 printf "%s" "${output_flags# }"
4779 SVN_APR_INCLUDES="`$apr_config --includes`"
4780 if test $? -ne 0; then
4781 as_fn_error $? "apr-config --includes failed" "$LINENO" 5
4784 if test "$enable_all_static" = "yes"; then
4785 SVN_APR_LIBS="`$apr_config --link-ld --libs`"
4786 if test $? -ne 0; then
4787 as_fn_error $? "apr-config --link-ld --libs failed" "$LINENO" 5
4790 SVN_APR_LIBS="`$apr_config --link-ld`"
4791 if test $? -ne 0; then
4792 as_fn_error $? "apr-config --link-ld failed" "$LINENO" 5
4796 input_flags="$SVN_APR_LIBS"
4798 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
4799 for flag in $input_flags; do
4801 for dir in $filtered_dirs; do
4802 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
4807 if test "$filter" = "no"; then
4808 output_flags="$output_flags $flag"
4811 if test -n "$output_flags"; then
4812 printf "%s" "${output_flags# }"
4816 SVN_APR_SHLIB_PATH_VAR="`$apr_config --shlib-path-var`"
4817 if test $? -ne 0; then
4818 as_fn_error $? "apr-config --shlib-path-var failed" "$LINENO" 5
4821 SVN_APR_CONFIG="$apr_config"
4828 if test `expr $apr_version : 2` -ne 0; then
4830 apu_config=$apr_config
4832 SVN_APRUTIL_CONFIG="$apu_config"
4837 APU_VER_REGEXES="0\.9\.[7-9] 0\.9\.1[0-9] 1\."
4839 APRUTIL_WANTED_REGEXES="$APU_VER_REGEXES"
4841 { $as_echo "$as_me:${as_lineno-$LINENO}: Apache Portable Runtime Utility (APRUTIL) library configuration" >&5
4842 $as_echo "$as_me: Apache Portable Runtime Utility (APRUTIL) library configuration" >&6;}
4847 if test "$ac_cv_emxos2" = "yes"; then
4848 # Scripts don't pass test -x on OS/2
4854 acceptable_majors="1 0"
4856 apu_temp_acceptable_apu_config=""
4857 for apu_temp_major in $acceptable_majors
4859 case $apu_temp_major in
4861 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-config"
4864 apu_temp_acceptable_apu_config="$apu_temp_acceptable_apu_config apu-$apu_temp_major-config"
4869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for APR-util" >&5
4870 $as_echo_n "checking for APR-util... " >&6; }
4872 # Check whether --with-apr-util was given.
4873 if test "${with_apr_util+set}" = set; then :
4874 withval=$with_apr_util;
4875 if test "$withval" = "no" || test "$withval" = "yes"; then
4876 as_fn_error $? "--with-apr-util requires a directory or file to be provided" "$LINENO" 5
4879 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
4881 for lookdir in "$withval/bin" "$withval"
4883 if $TEST_X "$lookdir/$apu_temp_apu_config_file"; then
4885 apu_config="$lookdir/$apu_temp_apu_config_file"
4891 if test "$apu_found" != "yes" && $TEST_X "$withval" && $withval --help > /dev/null 2>&1 ; then
4893 apu_config="$withval"
4896 if test "$apu_found" != "yes"; then
4897 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
4902 if test -d """"; then
4903 apu_temp_abs_srcdir="`cd "" && pwd`"
4904 apu_found="reconfig"
4905 apu_bundled_major="`sed -n '/#define.*APU_MAJOR_VERSION/s/^[^0-9]*\([0-9]*\).*$/\1/p' \"""/include/apu_version.h\"`"
4906 case $apu_bundled_major in
4908 as_fn_error $? "failed to find major version of bundled APU" "$LINENO" 5
4911 apu_temp_apu_config_file="apu-config"
4914 apu_temp_apu_config_file="apu-$apu_bundled_major-config"
4917 if test -n """"; then
4918 apu_config="""/$apu_temp_apu_config_file"
4920 apu_config="""/$apu_temp_apu_config_file"
4923 if test "$apu_found" = "no" && test -n "1" && test "1" = "1"; then
4924 for apu_temp_apu_config_file in $apu_temp_acceptable_apu_config
4926 if $apu_temp_apu_config_file --help > /dev/null 2>&1 ; then
4928 apu_config="$apu_temp_apu_config_file"
4931 for lookdir in /usr /usr/local /opt/apr /usr/local/apache2 ; do
4932 if $TEST_X "$lookdir/bin/$apu_temp_apu_config_file"; then
4934 apu_config="$lookdir/bin/$apu_temp_apu_config_file"
4945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_found" >&5
4946 $as_echo "$apu_found" >&6; }
4949 if test $apu_found = "no"; then
4950 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: APRUTIL not found" >&5
4951 $as_echo "$as_me: WARNING: APRUTIL not found" >&2;}
4953 echo "The Apache Portable Runtime Utility (APRUTIL) library cannot be found."
4954 echo "Install APRUTIL on this system and configure Subversion with the"
4955 echo " appropriate --with-apr-util option."
4957 as_fn_error $? "no suitable APRUTIL found" "$LINENO" 5
4961 if test $apu_found = "reconfig"; then
4962 as_fn_error $? "Unexpected APRUTIL reconfig" "$LINENO" 5
4966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking APRUTIL version" >&5
4967 $as_echo_n "checking APRUTIL version... " >&6; }
4968 apu_version="`$apu_config --version`"
4969 if test $? -ne 0; then
4970 # This is a hack as suggested by Ben Collins-Sussman. It can be
4971 # removed after apache 2.0.44 has been released. (The apu-config
4972 # shipped in 2.0.43 contains a correct version number, but
4973 # stupidly doesn't understand the --version switch.)
4974 apu_version=`grep "APRUTIL_DOTTED_VERSION=" $(which $apu_config) | tr -d "APRUTIL_DOTTED_VERSION="| tr -d '"'`
4976 # apu-config --version failed.
4977 # Your apu-config doesn't support the --version switch, please upgrade
4978 # to APR-UTIL more recent than 2002-Nov-05.])
4980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $apu_version" >&5
4981 $as_echo "$apu_version" >&6; }
4983 APU_WANTED_REGEX_MATCH=0
4984 for apu_wanted_regex in $APRUTIL_WANTED_REGEXES; do
4985 if test `expr $apu_version : $apu_wanted_regex` -ne 0; then
4986 APU_WANTED_REGEX_MATCH=1
4991 if test $APU_WANTED_REGEX_MATCH -eq 0; then
4992 echo "wanted regexes are $APRUTIL_WANTED_REGEXES"
4993 as_fn_error $? "invalid APRUTIL version found" "$LINENO" 5
4997 apu_ldflags="`$apu_config --ldflags`"
4998 if test $? -ne 0; then
4999 as_fn_error $? "apu-config --ldflags failed" "$LINENO" 5
5002 input_flags="$apu_ldflags"
5004 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5005 for flag in $input_flags; do
5007 for dir in $filtered_dirs; do
5008 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5013 if test "$filter" = "no"; then
5014 output_flags="$output_flags $flag"
5017 if test -n "$output_flags"; then
5018 printf "%s" "${output_flags# }"
5022 SVN_APRUTIL_INCLUDES="`$apu_config --includes`"
5023 if test $? -ne 0; then
5024 as_fn_error $? "apu-config --includes failed" "$LINENO" 5
5027 if test "$enable_all_static" = "yes"; then
5028 SVN_APRUTIL_LIBS="`$apu_config --link-ld --libs`"
5029 if test $? -ne 0; then
5030 as_fn_error $? "apu-config --link-ld --libs failed" "$LINENO" 5
5033 SVN_APRUTIL_LIBS="`$apu_config --link-ld`"
5034 if test $? -ne 0; then
5035 as_fn_error $? "apu-config --link-ld failed" "$LINENO" 5
5039 input_flags="$SVN_APRUTIL_LIBS"
5041 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5042 for flag in $input_flags; do
5044 for dir in $filtered_dirs; do
5045 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5050 if test "$filter" = "no"; then
5051 output_flags="$output_flags $flag"
5054 if test -n "$output_flags"; then
5055 printf "%s" "${output_flags# }"
5060 SVN_APRUTIL_CONFIG="$apu_config"
5064 SVN_HAVE_OLD_EXPAT="`$apu_config --old-expat`"
5065 if test "$SVN_HAVE_OLD_EXPAT" = "yes"; then
5067 $as_echo "#define SVN_HAVE_OLD_EXPAT 1" >>confdefs.h
5072 SVN_LT_SOVERSION="-version-info $svn_lib_ver"
5075 cat >>confdefs.h <<_ACEOF
5076 #define SVN_SOVERSION $svn_lib_ver
5080 # Extract the first word of "pkg-config", so it can be a program name with args.
5081 set dummy pkg-config; ac_word=$2
5082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5083 $as_echo_n "checking for $ac_word... " >&6; }
5084 if ${ac_cv_path_PKG_CONFIG+:} false; then :
5085 $as_echo_n "(cached) " >&6
5089 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
5092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5096 test -z "$as_dir" && as_dir=.
5097 for ac_exec_ext in '' $ac_executable_extensions; do
5098 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5099 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
5100 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5110 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
5111 if test -n "$PKG_CONFIG"; then
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
5113 $as_echo "$PKG_CONFIG" >&6; }
5115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5116 $as_echo "no" >&6; }
5122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5123 $as_echo_n "checking for ANSI C header files... " >&6; }
5124 if ${ac_cv_header_stdc+:} false; then :
5125 $as_echo_n "(cached) " >&6
5127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5128 /* end confdefs.h. */
5142 if ac_fn_c_try_compile "$LINENO"; then :
5143 ac_cv_header_stdc=yes
5145 ac_cv_header_stdc=no
5147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5149 if test $ac_cv_header_stdc = yes; then
5150 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5152 /* end confdefs.h. */
5156 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5157 $EGREP "memchr" >/dev/null 2>&1; then :
5160 ac_cv_header_stdc=no
5166 if test $ac_cv_header_stdc = yes; then
5167 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5169 /* end confdefs.h. */
5173 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5174 $EGREP "free" >/dev/null 2>&1; then :
5177 ac_cv_header_stdc=no
5183 if test $ac_cv_header_stdc = yes; then
5184 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5185 if test "$cross_compiling" = yes; then :
5188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5189 /* end confdefs.h. */
5192 #if ((' ' & 0x0FF) == 0x020)
5193 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5194 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5196 # define ISLOWER(c) \
5197 (('a' <= (c) && (c) <= 'i') \
5198 || ('j' <= (c) && (c) <= 'r') \
5199 || ('s' <= (c) && (c) <= 'z'))
5200 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5203 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5208 for (i = 0; i < 256; i++)
5209 if (XOR (islower (i), ISLOWER (i))
5210 || toupper (i) != TOUPPER (i))
5215 if ac_fn_c_try_run "$LINENO"; then :
5218 ac_cv_header_stdc=no
5220 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5221 conftest.$ac_objext conftest.beam conftest.$ac_ext
5226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5227 $as_echo "$ac_cv_header_stdc" >&6; }
5228 if test $ac_cv_header_stdc = yes; then
5230 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5234 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5235 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5236 inttypes.h stdint.h unistd.h
5238 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5239 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5241 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5242 cat >>confdefs.h <<_ACEOF
5243 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5256 serf_check_major="1"
5257 serf_check_minor="2"
5258 serf_check_patch="1"
5259 serf_check_version="1.2.1"
5262 # Check whether --with-serf was given.
5263 if test "${with_serf+set}" = set; then :
5265 if test "$withval" = "yes" ; then
5267 elif test "$withval" = "no" ; then
5271 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via prefix" >&5
5272 $as_echo "$as_me: serf library configuration via prefix" >&6;}
5274 serf_prefix=$withval
5275 for serf_major in serf-2 serf-1; do
5276 if ! test -d $serf_prefix/include/$serf_major; then continue; fi
5277 save_cppflags="$CPPFLAGS"
5278 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$serf_prefix/include/$serf_major"
5279 for ac_header in serf.h
5281 ac_fn_c_check_header_mongrel "$LINENO" "serf.h" "ac_cv_header_serf_h" "$ac_includes_default"
5282 if test "x$ac_cv_header_serf_h" = xyes; then :
5283 cat >>confdefs.h <<_ACEOF
5284 #define HAVE_SERF_H 1
5287 save_ldflags="$LDFLAGS"
5289 input_flags="-L$serf_prefix/lib"
5291 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5292 for flag in $input_flags; do
5294 for dir in $filtered_dirs; do
5295 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5300 if test "$filter" = "no"; then
5301 output_flags="$output_flags $flag"
5304 if test -n "$output_flags"; then
5305 printf "%s" "${output_flags# }"
5308 as_ac_Lib=`$as_echo "ac_cv_lib_$serf_major''_serf_context_create" | $as_tr_sh`
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for serf_context_create in -l$serf_major" >&5
5310 $as_echo_n "checking for serf_context_create in -l$serf_major... " >&6; }
5311 if eval \${$as_ac_Lib+:} false; then :
5312 $as_echo_n "(cached) " >&6
5314 ac_check_lib_save_LIBS=$LIBS
5315 LIBS="-l$serf_major $SVN_APRUTIL_LIBS $SVN_APR_LIBS -lz $LIBS"
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5319 /* Override any GCC internal prototype to avoid an error.
5320 Use char because int might match the return type of a GCC
5321 builtin and then its argument prototype would still apply. */
5325 char serf_context_create ();
5329 return serf_context_create ();
5334 if ac_fn_c_try_link "$LINENO"; then :
5335 eval "$as_ac_Lib=yes"
5337 eval "$as_ac_Lib=no"
5339 rm -f core conftest.err conftest.$ac_objext \
5340 conftest$ac_exeext conftest.$ac_ext
5341 LIBS=$ac_check_lib_save_LIBS
5343 eval ac_res=\$$as_ac_Lib
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
5345 $as_echo "$ac_res" >&6; }
5346 if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
5348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5349 /* end confdefs.h. */
5358 #if ! SERF_VERSION_AT_LEAST($serf_check_major, $serf_check_minor, $serf_check_patch)
5359 #error Serf version too old: need $serf_check_version
5366 if ac_fn_c_try_compile "$LINENO"; then :
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5370 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5376 LDFLAGS="$save_ldflags"
5381 CPPFLAGS="$save_cppflags"
5382 test $serf_found = yes && break
5385 if test $serf_found = "yes"; then
5386 SVN_SERF_INCLUDES="-I$serf_prefix/include/$serf_major"
5387 if test -e "$serf_prefix/lib/lib$serf_major.la"; then
5388 SVN_SERF_LIBS="$serf_prefix/lib/lib$serf_major.la"
5390 SVN_SERF_LIBS="-l$serf_major"
5392 input_flags="-L$serf_prefix/lib"
5394 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5395 for flag in $input_flags; do
5397 for dir in $filtered_dirs; do
5398 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5403 if test "$filter" = "no"; then
5404 output_flags="$output_flags $flag"
5407 if test -n "$output_flags"; then
5408 printf "%s" "${output_flags# }"
5419 if test "$serf_skip" = "no" ; then
5420 if test "$serf_found" = "no" ; then
5422 { $as_echo "$as_me:${as_lineno-$LINENO}: serf library configuration via pkg-config" >&5
5423 $as_echo "$as_me: serf library configuration via pkg-config" >&6;}
5424 if test -n "$PKG_CONFIG"; then
5425 for serf_major in serf-2 serf-1; do
5426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $serf_major library" >&5
5427 $as_echo_n "checking for $serf_major library... " >&6; }
5428 if $PKG_CONFIG $serf_major --exists; then
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5430 $as_echo "yes" >&6; }
5431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf library version" >&5
5432 $as_echo_n "checking serf library version... " >&6; }
5433 SERF_VERSION=`$PKG_CONFIG $serf_major --modversion`
5434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SERF_VERSION" >&5
5435 $as_echo "$SERF_VERSION" >&6; }
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking serf version is suitable" >&5
5437 $as_echo_n "checking serf version is suitable... " >&6; }
5438 if $PKG_CONFIG $serf_major --atleast-version=$serf_check_version; then
5439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5440 $as_echo "yes" >&6; }
5442 SVN_SERF_INCLUDES=`$PKG_CONFIG $serf_major --cflags | $SED -e 's/-D[^ ]*//g'`
5443 SVN_SERF_LIBS=`$PKG_CONFIG $serf_major --libs`
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Serf version too old: need $serf_check_version" >&5
5449 $as_echo "$as_me: WARNING: Serf version too old: need $serf_check_version" >&2;}
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5453 $as_echo "no" >&6; }
5460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking was serf enabled" >&5
5461 $as_echo_n "checking was serf enabled... " >&6; }
5462 if test "$serf_found" = "yes"; then
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5464 $as_echo "yes" >&6; }
5466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5467 $as_echo "no" >&6; }
5470 echo "An appropriate version of serf could not be found, so libsvn_ra_serf"
5471 echo "will not be built. If you want to build libsvn_ra_serf, please"
5472 echo "install serf $serf_check_version or newer."
5475 if test "$serf_required" = "yes"; then
5476 as_fn_error $? "Serf was explicitly enabled but an appropriate version was not found." "$LINENO" 5
5481 svn_lib_serf=$serf_found
5487 if test "$svn_lib_serf" = "yes"; then
5489 $as_echo "#define SVN_HAVE_SERF 1" >>confdefs.h
5494 apr_memcache_found=no
5497 # Check whether --with-apr_memcache was given.
5498 if test "${with_apr_memcache+set}" = set; then :
5499 withval=$with_apr_memcache;
5500 if test "$withval" = "yes" ; then
5501 as_fn_error $? "--with-apr_memcache requires an argument." "$LINENO" 5
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for separate apr_memcache package" >&5
5504 $as_echo "$as_me: looking for separate apr_memcache package" >&6;}
5505 apr_memcache_prefix=$withval
5506 save_cppflags="$CPPFLAGS"
5507 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES -I$apr_memcache_prefix/include/apr_memcache-0"
5508 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5509 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5511 save_ldflags="$LDFLAGS"
5512 LDFLAGS="$LDFLAGS -L$apr_memcache_prefix/lib"
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -lapr_memcache" >&5
5514 $as_echo_n "checking for apr_memcache_create in -lapr_memcache... " >&6; }
5515 if ${ac_cv_lib_apr_memcache_apr_memcache_create+:} false; then :
5516 $as_echo_n "(cached) " >&6
5518 ac_check_lib_save_LIBS=$LIBS
5519 LIBS="-lapr_memcache $LIBS"
5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5523 /* Override any GCC internal prototype to avoid an error.
5524 Use char because int might match the return type of a GCC
5525 builtin and then its argument prototype would still apply. */
5529 char apr_memcache_create ();
5533 return apr_memcache_create ();
5538 if ac_fn_c_try_link "$LINENO"; then :
5539 ac_cv_lib_apr_memcache_apr_memcache_create=yes
5541 ac_cv_lib_apr_memcache_apr_memcache_create=no
5543 rm -f core conftest.err conftest.$ac_objext \
5544 conftest$ac_exeext conftest.$ac_ext
5545 LIBS=$ac_check_lib_save_LIBS
5547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_apr_memcache_apr_memcache_create" >&5
5548 $as_echo "$ac_cv_lib_apr_memcache_apr_memcache_create" >&6; }
5549 if test "x$ac_cv_lib_apr_memcache_apr_memcache_create" = xyes; then :
5550 apr_memcache_found="standalone"
5553 LDFLAGS="$save_ldflags"
5557 CPPFLAGS="$save_cppflags"
5562 { $as_echo "$as_me:${as_lineno-$LINENO}: looking for apr_memcache as part of apr-util" >&5
5563 $as_echo "$as_me: looking for apr_memcache as part of apr-util" >&6;}
5564 save_cppflags="$CPPFLAGS"
5565 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES $SVN_APRUTIL_INCLUDES"
5566 ac_fn_c_check_header_mongrel "$LINENO" "apr_memcache.h" "ac_cv_header_apr_memcache_h" "$ac_includes_default"
5567 if test "x$ac_cv_header_apr_memcache_h" = xyes; then :
5569 save_ldflags="$LDFLAGS"
5570 LDFLAGS="$LDFLAGS $SVN_APRUTIL_LIBS"
5571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_memcache_create in -laprutil-1" >&5
5572 $as_echo_n "checking for apr_memcache_create in -laprutil-1... " >&6; }
5573 if ${ac_cv_lib_aprutil_1_apr_memcache_create+:} false; then :
5574 $as_echo_n "(cached) " >&6
5576 ac_check_lib_save_LIBS=$LIBS
5577 LIBS="-laprutil-1 $LIBS"
5578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5579 /* end confdefs.h. */
5581 /* Override any GCC internal prototype to avoid an error.
5582 Use char because int might match the return type of a GCC
5583 builtin and then its argument prototype would still apply. */
5587 char apr_memcache_create ();
5591 return apr_memcache_create ();
5596 if ac_fn_c_try_link "$LINENO"; then :
5597 ac_cv_lib_aprutil_1_apr_memcache_create=yes
5599 ac_cv_lib_aprutil_1_apr_memcache_create=no
5601 rm -f core conftest.err conftest.$ac_objext \
5602 conftest$ac_exeext conftest.$ac_ext
5603 LIBS=$ac_check_lib_save_LIBS
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_aprutil_1_apr_memcache_create" >&5
5606 $as_echo "$ac_cv_lib_aprutil_1_apr_memcache_create" >&6; }
5607 if test "x$ac_cv_lib_aprutil_1_apr_memcache_create" = xyes; then :
5608 apr_memcache_found="aprutil"
5611 LDFLAGS="$save_ldflags"
5615 CPPFLAGS="$save_cppflags"
5621 if test $apr_memcache_found = "standalone"; then
5622 SVN_APR_MEMCACHE_INCLUDES="-I$apr_memcache_prefix/include/apr_memcache-0"
5623 SVN_APR_MEMCACHE_LIBS="$apr_memcache_prefix/lib/libapr_memcache.la"
5624 svn_lib_apr_memcache=yes
5625 elif test $apr_memcache_found = "aprutil"; then
5626 SVN_APR_MEMCACHE_INCLUDES=""
5627 SVN_APR_MEMCACHE_LIBS=""
5628 svn_lib_apr_memcache=yes
5629 elif test $apr_memcache_found = "reconfig"; then
5630 svn_lib_apr_memcache=yes
5632 svn_lib_apr_memcache=no
5639 if test "$svn_lib_apr_memcache" = "yes"; then
5641 $as_echo "#define SVN_HAVE_MEMCACHE 1" >>confdefs.h
5649 HTTPD_WANTED_MMN="20020903"
5651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Apache module support via DSO through APXS" >&5
5652 $as_echo_n "checking for Apache module support via DSO through APXS... " >&6; }
5654 # Check whether --with-apxs was given.
5655 if test "${with_apxs+set}" = set; then :
5657 if test "$withval" = "yes"; then
5667 if test -z "$APXS"; then
5668 for i in /usr/sbin /usr/local/apache/bin /usr/local/apache2/bin /usr/bin ; do
5669 if test -f "$i/apxs2"; then
5673 if test -f "$i/apxs"; then
5680 if test -n "$APXS" && test "$APXS" != "no"; then
5681 APXS_INCLUDE="`$APXS -q INCLUDEDIR`"
5682 if test -r $APXS_INCLUDE/mod_dav.h; then
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found at $APXS" >&5
5684 $as_echo "found at $APXS" >&6; }
5686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking httpd version" >&5
5687 $as_echo_n "checking httpd version... " >&6; }
5688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5689 /* end confdefs.h. */
5691 #include "$APXS_INCLUDE/ap_mmn.h"
5692 #if AP_MODULE_MAGIC_AT_LEAST($HTTPD_WANTED_MMN,0)
5696 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5697 $EGREP "VERSION_OKAY" >/dev/null 2>&1; then :
5698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: recent enough" >&5
5699 $as_echo "recent enough" >&6; }
5701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&5
5702 $as_echo "apache too old: mmn must be at least $HTTPD_WANTED_MMN" >&6; }
5703 if test "$APXS_EXPLICIT" != ""; then
5704 as_fn_error $? "Apache APXS build explicitly requested, but apache version is too old" "$LINENO" 5
5712 elif test "$APXS_EXPLICIT" != ""; then
5713 as_fn_error $? "no - APXS refers to an old version of Apache
5714 Unable to locate $APXS_INCLUDE/mod_dav.h" "$LINENO" 5
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&5
5717 $as_echo "no - Unable to locate $APXS_INCLUDE/mod_dav.h" >&6; }
5721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5722 $as_echo "no" >&6; }
5725 if test -n "$APXS" && test "$APXS" != "no"; then
5726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Apache version is compatible with APR version" >&5
5727 $as_echo_n "checking whether Apache version is compatible with APR version... " >&6; }
5728 apr_major_version="${apr_version%%.*}"
5729 case "$apr_major_version" in
5731 apache_minor_version_wanted_regex="0"
5734 apache_minor_version_wanted_regex="[1-5]"
5737 apache_minor_version_wanted_regex="[3-5]"
5740 as_fn_error $? "unknown APR version" "$LINENO" 5
5743 old_CPPFLAGS="$CPPFLAGS"
5744 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
5745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5746 /* end confdefs.h. */
5748 #include "$APXS_INCLUDE/ap_release.h"
5749 apache_minor_version=AP_SERVER_MINORVERSION
5751 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5752 $EGREP "apache_minor_version= *\"$apache_minor_version_wanted_regex\"" >/dev/null 2>&1; then :
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5754 $as_echo "yes" >&6; }
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5757 $as_echo "no" >&6; }
5758 as_fn_error $? "Apache version incompatible with APR version" "$LINENO" 5
5762 CPPFLAGS="$old_CPPFLAGS"
5765 # check for some busted versions of mod_dav
5766 # in particular 2.2.25, 2.4.5, and 2.4.6 had the following bugs which are
5767 # troublesome for Subversion:
5768 # PR 55304: https://issues.apache.org/bugzilla/show_bug.cgi?id=55304
5769 # PR 55306: https://issues.apache.org/bugzilla/show_bug.cgi?id=55306
5770 # PR 55397: https://issues.apache.org/bugzilla/show_bug.cgi?id=55397
5771 if test -n "$APXS" && test "$APXS" != "no"; then
5772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking mod_dav version" >&5
5773 $as_echo_n "checking mod_dav version... " >&6; }
5774 old_CPPFLAGS="$CPPFLAGS"
5775 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
5776 blacklisted_versions_regex="\"2\" \"\.\" (\"2\" \"\.\" \"25\"|\"4\" \"\.\" \"[56]\")"
5777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5778 /* end confdefs.h. */
5780 #include "$APXS_INCLUDE/ap_release.h"
5781 apache_version=AP_SERVER_BASEREVISION
5783 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5784 $EGREP "apache_version= *$blacklisted_versions_regex" >/dev/null 2>&1; then :
5785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5
5786 $as_echo "broken" >&6; }
5787 as_fn_error $? "Apache httpd version includes a broken mod_dav; use a newer version of httpd" "$LINENO" 5
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: acceptable" >&5
5790 $as_echo "acceptable" >&6; }
5794 CPPFLAGS="$old_CPPFLAGS"
5798 # Check whether --with-apache-libexecdir was given.
5799 if test "${with_apache_libexecdir+set}" = set; then :
5800 withval=$with_apache_libexecdir; APACHE_LIBEXECDIR="$withval"
5802 APACHE_LIBEXECDIR='no'
5806 INSTALL_APACHE_MODS=false
5807 if test -n "$APXS" && test "$APXS" != "no"; then
5808 APXS_CC="`$APXS -q CC`"
5809 APACHE_INCLUDES="$APACHE_INCLUDES -I$APXS_INCLUDE"
5811 if test "$APACHE_LIBEXECDIR" = 'no'; then
5812 APACHE_LIBEXECDIR="$libexecdir"
5813 elif test "$APACHE_LIBEXECDIR" = 'yes'; then
5814 APACHE_LIBEXECDIR="`$APXS -q libexecdir`"
5817 BUILD_APACHE_RULE=apache-mod
5818 INSTALL_APACHE_RULE=install-mods-shared
5819 INSTALL_APACHE_MODS=true
5823 APACHE_LDFLAGS="-shrext .so"
5826 elif test x"$APXS" != x"no"; then
5827 echo "=================================================================="
5828 echo "WARNING: skipping the build of mod_dav_svn"
5829 echo " try using --with-apxs"
5830 echo "=================================================================="
5839 # there aren't any flags that interest us ...
5840 #if test -n "$APXS" && test "$APXS" != "no"; then
5841 # CFLAGS="$CFLAGS `$APXS -q CFLAGS CFLAGS_SHLIB`"
5844 if test -n "$APXS_CC" && test "$APXS_CC" != "$CC" ; then
5845 echo "=================================================================="
5846 echo "WARNING: You have chosen to compile Subversion with a different"
5847 echo " compiler than the one used to compile Apache."
5849 echo " Current compiler: $CC"
5850 echo " Apache's compiler: $APXS_CC"
5852 echo "This could cause some problems."
5853 echo "=================================================================="
5858 SQLITE_MINIMUM_VER="3.7.12"
5859 SQLITE_RECOMMENDED_VER="3.7.15.1"
5860 SQLITE_URL="http://www.sqlite.org/sqlite-amalgamation-$(printf %d%02d%02d%02d $(echo ${SQLITE_RECOMMENDED_VER} | sed -e 's/\./ /g')).zip"
5863 SQLITE_MINIMUM_VER="${SQLITE_MINIMUM_VER}"
5864 SQLITE_RECOMMENDED_VER="${SQLITE_RECOMMENDED_VER}"
5865 SQLITE_URL="${SQLITE_URL}"
5866 SQLITE_PKGNAME="sqlite3"
5870 version_string="$SQLITE_MINIMUM_VER"
5872 major=`expr $version_string : '\([0-9]*\)'`
5873 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
5874 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
5875 if test -z "$micro"; then
5878 sqlite_min_ver_num=`expr $major \* 1000000 \
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library" >&5
5885 $as_echo "$as_me: checking sqlite library" >&6;}
5888 # Check whether --with-sqlite was given.
5889 if test "${with_sqlite+set}" = set; then :
5890 withval=$with_sqlite;
5891 if test "$withval" = "yes" ; then
5892 as_fn_error $? "--with-sqlite requires an argument." "$LINENO" 5
5894 sqlite_dir="$withval"
5897 if test -d $sqlite_dir; then
5899 if test -z "$sqlite_dir"; then
5901 sqlite_include="sqlite3.h"
5903 sqlite_dir="$sqlite_dir"
5904 sqlite_include="$sqlite_dir/include/sqlite3.h"
5907 save_CPPFLAGS="$CPPFLAGS"
5908 save_LDFLAGS="$LDFLAGS"
5910 if test ! -z "$sqlite_dir"; then
5911 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
5912 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
5915 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
5916 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
5918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
5919 $as_echo_n "checking sqlite library version (via header)... " >&6; }
5920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5923 #include "$sqlite_include"
5924 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
5928 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5929 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
5931 $as_echo "okay" >&6; }
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
5933 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
5934 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
5935 $as_echo_n "(cached) " >&6
5937 ac_check_lib_save_LIBS=$LIBS
5938 LIBS="-lsqlite3 $LIBS"
5939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5940 /* end confdefs.h. */
5942 /* Override any GCC internal prototype to avoid an error.
5943 Use char because int might match the return type of a GCC
5944 builtin and then its argument prototype would still apply. */
5948 char sqlite3_close ();
5952 return sqlite3_close ();
5957 if ac_fn_c_try_link "$LINENO"; then :
5958 ac_cv_lib_sqlite3_sqlite3_close=yes
5960 ac_cv_lib_sqlite3_sqlite3_close=no
5962 rm -f core conftest.err conftest.$ac_objext \
5963 conftest$ac_exeext conftest.$ac_ext
5964 LIBS=$ac_check_lib_save_LIBS
5966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
5967 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
5968 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
5970 svn_lib_sqlite="yes"
5971 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
5972 SVN_SQLITE_LIBS="-lsqlite3"
5974 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
5976 input_flags="-L$sqlite_dir/lib -lsqlite3"
5978 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
5979 for flag in $input_flags; do
5981 for dir in $filtered_dirs; do
5982 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
5987 if test "$filter" = "no"; then
5988 output_flags="$output_flags $flag"
5991 if test -n "$output_flags"; then
5992 printf "%s" "${output_flags# }"
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
6001 $as_echo "unsupported SQLite version" >&6; }
6010 CPPFLAGS="$save_CPPFLAGS"
6011 LDFLAGS="$save_LDFLAGS"
6015 sqlite_amalg="$sqlite_dir"
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6017 $as_echo_n "checking sqlite amalgamation... " >&6; }
6018 if test ! -e $sqlite_amalg; then
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6020 $as_echo "no" >&6; }
6022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6023 $as_echo "yes" >&6; }
6024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6025 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6027 /* end confdefs.h. */
6029 #include "$sqlite_amalg"
6030 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6034 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6035 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6037 $as_echo "amalgamation found and is okay" >&6; }
6040 beos* | mingw* | pw32* | cegcc* | cygwin*)
6041 svn_sqlite_dso_ldflags=
6045 # if libdl is installed we need to link against it
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6047 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6048 if ${ac_cv_lib_dl_dlopen+:} false; then :
6049 $as_echo_n "(cached) " >&6
6051 ac_check_lib_save_LIBS=$LIBS
6053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6054 /* end confdefs.h. */
6056 /* Override any GCC internal prototype to avoid an error.
6057 Use char because int might match the return type of a GCC
6058 builtin and then its argument prototype would still apply. */
6071 if ac_fn_c_try_link "$LINENO"; then :
6072 ac_cv_lib_dl_dlopen=yes
6074 ac_cv_lib_dl_dlopen=no
6076 rm -f core conftest.err conftest.$ac_objext \
6077 conftest$ac_exeext conftest.$ac_ext
6078 LIBS=$ac_check_lib_save_LIBS
6080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6081 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6082 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6083 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6086 svn_sqlite_dso_ldflags=
6093 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6094 if test "x$ac_cv_func_shl_load" = xyes; then :
6095 svn_sqlite_dso_ldflags=
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6098 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6099 if ${ac_cv_lib_dld_shl_load+:} false; then :
6100 $as_echo_n "(cached) " >&6
6102 ac_check_lib_save_LIBS=$LIBS
6104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6105 /* end confdefs.h. */
6107 /* Override any GCC internal prototype to avoid an error.
6108 Use char because int might match the return type of a GCC
6109 builtin and then its argument prototype would still apply. */
6122 if ac_fn_c_try_link "$LINENO"; then :
6123 ac_cv_lib_dld_shl_load=yes
6125 ac_cv_lib_dld_shl_load=no
6127 rm -f core conftest.err conftest.$ac_objext \
6128 conftest$ac_exeext conftest.$ac_ext
6129 LIBS=$ac_check_lib_save_LIBS
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6132 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6133 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6134 svn_sqlite_dso_ldflags="-ldld"
6136 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6137 if test "x$ac_cv_func_dlopen" = xyes; then :
6138 svn_sqlite_dso_ldflags=
6140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6141 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6142 if ${ac_cv_lib_dl_dlopen+:} false; then :
6143 $as_echo_n "(cached) " >&6
6145 ac_check_lib_save_LIBS=$LIBS
6147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6148 /* end confdefs.h. */
6150 /* Override any GCC internal prototype to avoid an error.
6151 Use char because int might match the return type of a GCC
6152 builtin and then its argument prototype would still apply. */
6165 if ac_fn_c_try_link "$LINENO"; then :
6166 ac_cv_lib_dl_dlopen=yes
6168 ac_cv_lib_dl_dlopen=no
6170 rm -f core conftest.err conftest.$ac_objext \
6171 conftest$ac_exeext conftest.$ac_ext
6172 LIBS=$ac_check_lib_save_LIBS
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6175 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6176 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6177 svn_sqlite_dso_ldflags="-ldl"
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6180 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6181 if ${ac_cv_lib_svld_dlopen+:} false; then :
6182 $as_echo_n "(cached) " >&6
6184 ac_check_lib_save_LIBS=$LIBS
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6189 /* Override any GCC internal prototype to avoid an error.
6190 Use char because int might match the return type of a GCC
6191 builtin and then its argument prototype would still apply. */
6204 if ac_fn_c_try_link "$LINENO"; then :
6205 ac_cv_lib_svld_dlopen=yes
6207 ac_cv_lib_svld_dlopen=no
6209 rm -f core conftest.err conftest.$ac_objext \
6210 conftest$ac_exeext conftest.$ac_ext
6211 LIBS=$ac_check_lib_save_LIBS
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6214 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6215 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6216 svn_sqlite_dso_ldflags="-lsvld"
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6219 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6220 if ${ac_cv_lib_dld_dld_link+:} false; then :
6221 $as_echo_n "(cached) " >&6
6223 ac_check_lib_save_LIBS=$LIBS
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6228 /* Override any GCC internal prototype to avoid an error.
6229 Use char because int might match the return type of a GCC
6230 builtin and then its argument prototype would still apply. */
6243 if ac_fn_c_try_link "$LINENO"; then :
6244 ac_cv_lib_dld_dld_link=yes
6246 ac_cv_lib_dld_dld_link=no
6248 rm -f core conftest.err conftest.$ac_objext \
6249 conftest$ac_exeext conftest.$ac_ext
6250 LIBS=$ac_check_lib_save_LIBS
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6253 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6254 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6255 svn_sqlite_dso_ldflags="-ldld"
6276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6277 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6278 if test -n "$svn_sqlite_dso_ldflags"; then
6279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6280 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6283 $as_echo "none" >&6; }
6287 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6289 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6290 if test -n "$svn_sqlite_dso_ldflags"; then
6291 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6293 SVN_SQLITE_LIBS="-lpthread"
6295 svn_lib_sqlite="yes"
6297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6298 $as_echo "unsupported amalgamation SQLite version" >&6; }
6306 if test -z "$svn_lib_sqlite"; then
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no suitable sqlite found in $sqlite_dir" >&5
6308 $as_echo "$as_me: WARNING: no suitable sqlite found in $sqlite_dir" >&2;}
6311 echo "An appropriate version of sqlite could not be found. We recommmend"
6312 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
6313 echo "Please either install a newer sqlite on this system"
6317 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
6318 echo " ${SQLITE_URL}"
6319 echo "unpack the archive using unzip and rename the resulting"
6320 echo "directory to:"
6321 echo "$abs_srcdir/sqlite-amalgamation"
6322 if test x"$abs_srcdir" != x"$abs_builddir"; then
6324 echo "$abs_builddir/sqlite-amalgamation"
6327 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
6334 sqlite_amalg="$abs_srcdir/sqlite-amalgamation/sqlite3.c"
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6336 $as_echo_n "checking sqlite amalgamation... " >&6; }
6337 if test ! -e $sqlite_amalg; then
6338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6339 $as_echo "no" >&6; }
6341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6342 $as_echo "yes" >&6; }
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6344 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6346 /* end confdefs.h. */
6348 #include "$sqlite_amalg"
6349 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6353 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6354 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6356 $as_echo "amalgamation found and is okay" >&6; }
6359 beos* | mingw* | pw32* | cegcc* | cygwin*)
6360 svn_sqlite_dso_ldflags=
6364 # if libdl is installed we need to link against it
6365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6366 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6367 if ${ac_cv_lib_dl_dlopen+:} false; then :
6368 $as_echo_n "(cached) " >&6
6370 ac_check_lib_save_LIBS=$LIBS
6372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6373 /* end confdefs.h. */
6375 /* Override any GCC internal prototype to avoid an error.
6376 Use char because int might match the return type of a GCC
6377 builtin and then its argument prototype would still apply. */
6390 if ac_fn_c_try_link "$LINENO"; then :
6391 ac_cv_lib_dl_dlopen=yes
6393 ac_cv_lib_dl_dlopen=no
6395 rm -f core conftest.err conftest.$ac_objext \
6396 conftest$ac_exeext conftest.$ac_ext
6397 LIBS=$ac_check_lib_save_LIBS
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6400 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6401 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6402 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6405 svn_sqlite_dso_ldflags=
6412 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6413 if test "x$ac_cv_func_shl_load" = xyes; then :
6414 svn_sqlite_dso_ldflags=
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6417 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6418 if ${ac_cv_lib_dld_shl_load+:} 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_shl_load=yes
6444 ac_cv_lib_dld_shl_load=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_shl_load" >&5
6451 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6452 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6453 svn_sqlite_dso_ldflags="-ldld"
6455 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6456 if test "x$ac_cv_func_dlopen" = xyes; then :
6457 svn_sqlite_dso_ldflags=
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6460 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6461 if ${ac_cv_lib_dl_dlopen+:} false; then :
6462 $as_echo_n "(cached) " >&6
6464 ac_check_lib_save_LIBS=$LIBS
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6469 /* Override any GCC internal prototype to avoid an error.
6470 Use char because int might match the return type of a GCC
6471 builtin and then its argument prototype would still apply. */
6484 if ac_fn_c_try_link "$LINENO"; then :
6485 ac_cv_lib_dl_dlopen=yes
6487 ac_cv_lib_dl_dlopen=no
6489 rm -f core conftest.err conftest.$ac_objext \
6490 conftest$ac_exeext conftest.$ac_ext
6491 LIBS=$ac_check_lib_save_LIBS
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6494 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6495 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6496 svn_sqlite_dso_ldflags="-ldl"
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6499 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6500 if ${ac_cv_lib_svld_dlopen+:} false; then :
6501 $as_echo_n "(cached) " >&6
6503 ac_check_lib_save_LIBS=$LIBS
6505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6506 /* end confdefs.h. */
6508 /* Override any GCC internal prototype to avoid an error.
6509 Use char because int might match the return type of a GCC
6510 builtin and then its argument prototype would still apply. */
6523 if ac_fn_c_try_link "$LINENO"; then :
6524 ac_cv_lib_svld_dlopen=yes
6526 ac_cv_lib_svld_dlopen=no
6528 rm -f core conftest.err conftest.$ac_objext \
6529 conftest$ac_exeext conftest.$ac_ext
6530 LIBS=$ac_check_lib_save_LIBS
6532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6533 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6534 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6535 svn_sqlite_dso_ldflags="-lsvld"
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6538 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6539 if ${ac_cv_lib_dld_dld_link+:} false; then :
6540 $as_echo_n "(cached) " >&6
6542 ac_check_lib_save_LIBS=$LIBS
6544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6545 /* end confdefs.h. */
6547 /* Override any GCC internal prototype to avoid an error.
6548 Use char because int might match the return type of a GCC
6549 builtin and then its argument prototype would still apply. */
6562 if ac_fn_c_try_link "$LINENO"; then :
6563 ac_cv_lib_dld_dld_link=yes
6565 ac_cv_lib_dld_dld_link=no
6567 rm -f core conftest.err conftest.$ac_objext \
6568 conftest$ac_exeext conftest.$ac_ext
6569 LIBS=$ac_check_lib_save_LIBS
6571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6572 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6573 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6574 svn_sqlite_dso_ldflags="-ldld"
6595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6596 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6597 if test -n "$svn_sqlite_dso_ldflags"; then
6598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6599 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6602 $as_echo "none" >&6; }
6606 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6608 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6609 if test -n "$svn_sqlite_dso_ldflags"; then
6610 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6612 SVN_SQLITE_LIBS="-lpthread"
6614 svn_lib_sqlite="yes"
6616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6617 $as_echo "unsupported amalgamation SQLite version" >&6; }
6624 if test -z "$svn_lib_sqlite"; then
6626 sqlite_amalg="$abs_builddir/sqlite-amalgamation/sqlite3.c"
6627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation" >&5
6628 $as_echo_n "checking sqlite amalgamation... " >&6; }
6629 if test ! -e $sqlite_amalg; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6631 $as_echo "no" >&6; }
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6634 $as_echo "yes" >&6; }
6635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite amalgamation file version" >&5
6636 $as_echo_n "checking sqlite amalgamation file version... " >&6; }
6637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6638 /* end confdefs.h. */
6640 #include "$sqlite_amalg"
6641 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6645 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6646 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: amalgamation found and is okay" >&5
6648 $as_echo "amalgamation found and is okay" >&6; }
6651 beos* | mingw* | pw32* | cegcc* | cygwin*)
6652 svn_sqlite_dso_ldflags=
6656 # if libdl is installed we need to link against it
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 lt_cv_dlopen="dlopen" svn_sqlite_dso_ldflags="-ldl"
6697 svn_sqlite_dso_ldflags=
6704 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
6705 if test "x$ac_cv_func_shl_load" = xyes; then :
6706 svn_sqlite_dso_ldflags=
6708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
6709 $as_echo_n "checking for shl_load in -ldld... " >&6; }
6710 if ${ac_cv_lib_dld_shl_load+:} false; then :
6711 $as_echo_n "(cached) " >&6
6713 ac_check_lib_save_LIBS=$LIBS
6715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6716 /* end confdefs.h. */
6718 /* Override any GCC internal prototype to avoid an error.
6719 Use char because int might match the return type of a GCC
6720 builtin and then its argument prototype would still apply. */
6733 if ac_fn_c_try_link "$LINENO"; then :
6734 ac_cv_lib_dld_shl_load=yes
6736 ac_cv_lib_dld_shl_load=no
6738 rm -f core conftest.err conftest.$ac_objext \
6739 conftest$ac_exeext conftest.$ac_ext
6740 LIBS=$ac_check_lib_save_LIBS
6742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
6743 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
6744 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
6745 svn_sqlite_dso_ldflags="-ldld"
6747 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
6748 if test "x$ac_cv_func_dlopen" = xyes; then :
6749 svn_sqlite_dso_ldflags=
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
6752 $as_echo_n "checking for dlopen in -ldl... " >&6; }
6753 if ${ac_cv_lib_dl_dlopen+:} false; then :
6754 $as_echo_n "(cached) " >&6
6756 ac_check_lib_save_LIBS=$LIBS
6758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6759 /* end confdefs.h. */
6761 /* Override any GCC internal prototype to avoid an error.
6762 Use char because int might match the return type of a GCC
6763 builtin and then its argument prototype would still apply. */
6776 if ac_fn_c_try_link "$LINENO"; then :
6777 ac_cv_lib_dl_dlopen=yes
6779 ac_cv_lib_dl_dlopen=no
6781 rm -f core conftest.err conftest.$ac_objext \
6782 conftest$ac_exeext conftest.$ac_ext
6783 LIBS=$ac_check_lib_save_LIBS
6785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
6786 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
6787 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
6788 svn_sqlite_dso_ldflags="-ldl"
6790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
6791 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
6792 if ${ac_cv_lib_svld_dlopen+:} false; then :
6793 $as_echo_n "(cached) " >&6
6795 ac_check_lib_save_LIBS=$LIBS
6797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6798 /* end confdefs.h. */
6800 /* Override any GCC internal prototype to avoid an error.
6801 Use char because int might match the return type of a GCC
6802 builtin and then its argument prototype would still apply. */
6815 if ac_fn_c_try_link "$LINENO"; then :
6816 ac_cv_lib_svld_dlopen=yes
6818 ac_cv_lib_svld_dlopen=no
6820 rm -f core conftest.err conftest.$ac_objext \
6821 conftest$ac_exeext conftest.$ac_ext
6822 LIBS=$ac_check_lib_save_LIBS
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
6825 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
6826 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
6827 svn_sqlite_dso_ldflags="-lsvld"
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
6830 $as_echo_n "checking for dld_link in -ldld... " >&6; }
6831 if ${ac_cv_lib_dld_dld_link+:} false; then :
6832 $as_echo_n "(cached) " >&6
6834 ac_check_lib_save_LIBS=$LIBS
6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6839 /* Override any GCC internal prototype to avoid an error.
6840 Use char because int might match the return type of a GCC
6841 builtin and then its argument prototype would still apply. */
6854 if ac_fn_c_try_link "$LINENO"; then :
6855 ac_cv_lib_dld_dld_link=yes
6857 ac_cv_lib_dld_dld_link=no
6859 rm -f core conftest.err conftest.$ac_objext \
6860 conftest$ac_exeext conftest.$ac_ext
6861 LIBS=$ac_check_lib_save_LIBS
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
6864 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
6865 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
6866 svn_sqlite_dso_ldflags="-ldld"
6887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking additional libraries for sqlite" >&5
6888 $as_echo_n "checking additional libraries for sqlite... " >&6; }
6889 if test -n "$svn_sqlite_dso_ldflags"; then
6890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${svn_sqlite_dso_ldflags}" >&5
6891 $as_echo "${svn_sqlite_dso_ldflags}" >&6; }
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6894 $as_echo "none" >&6; }
6898 $as_echo "#define SVN_SQLITE_INLINE 1" >>confdefs.h
6900 SVN_SQLITE_INCLUDES="-I`dirname $sqlite_amalg`"
6901 if test -n "$svn_sqlite_dso_ldflags"; then
6902 SVN_SQLITE_LIBS="$svn_sqlite_dso_ldflags -lpthread"
6904 SVN_SQLITE_LIBS="-lpthread"
6906 svn_lib_sqlite="yes"
6908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported amalgamation SQLite version" >&5
6909 $as_echo "unsupported amalgamation SQLite version" >&6; }
6917 if test -z "$svn_lib_sqlite"; then
6921 sqlite_include="sqlite3.h"
6924 sqlite_include="/include/sqlite3.h"
6927 save_CPPFLAGS="$CPPFLAGS"
6928 save_LDFLAGS="$LDFLAGS"
6930 if test ! -z ""; then
6931 CPPFLAGS="$CPPFLAGS -I$sqlite_dir/include"
6932 LDFLAGS="$LDFLAGS -L$sqlite_dir/lib"
6935 ac_fn_c_check_header_mongrel "$LINENO" "sqlite3.h" "ac_cv_header_sqlite3_h" "$ac_includes_default"
6936 if test "x$ac_cv_header_sqlite3_h" = xyes; then :
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via header)" >&5
6939 $as_echo_n "checking sqlite library version (via header)... " >&6; }
6940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6941 /* end confdefs.h. */
6943 #include "$sqlite_include"
6944 #if SQLITE_VERSION_NUMBER >= $sqlite_min_ver_num
6948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6949 $EGREP "SQLITE_VERSION_OKAY" >/dev/null 2>&1; then :
6950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: okay" >&5
6951 $as_echo "okay" >&6; }
6952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqlite3_close in -lsqlite3" >&5
6953 $as_echo_n "checking for sqlite3_close in -lsqlite3... " >&6; }
6954 if ${ac_cv_lib_sqlite3_sqlite3_close+:} false; then :
6955 $as_echo_n "(cached) " >&6
6957 ac_check_lib_save_LIBS=$LIBS
6958 LIBS="-lsqlite3 $LIBS"
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6962 /* Override any GCC internal prototype to avoid an error.
6963 Use char because int might match the return type of a GCC
6964 builtin and then its argument prototype would still apply. */
6968 char sqlite3_close ();
6972 return sqlite3_close ();
6977 if ac_fn_c_try_link "$LINENO"; then :
6978 ac_cv_lib_sqlite3_sqlite3_close=yes
6980 ac_cv_lib_sqlite3_sqlite3_close=no
6982 rm -f core conftest.err conftest.$ac_objext \
6983 conftest$ac_exeext conftest.$ac_ext
6984 LIBS=$ac_check_lib_save_LIBS
6986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sqlite3_sqlite3_close" >&5
6987 $as_echo "$ac_cv_lib_sqlite3_sqlite3_close" >&6; }
6988 if test "x$ac_cv_lib_sqlite3_sqlite3_close" = xyes; then :
6990 svn_lib_sqlite="yes"
6991 if test -z "$sqlite_dir" -o ! -d "$sqlite_dir"; then
6992 SVN_SQLITE_LIBS="-lsqlite3"
6994 SVN_SQLITE_INCLUDES="-I$sqlite_dir/include"
6996 input_flags="-L$sqlite_dir/lib -lsqlite3"
6998 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
6999 for flag in $input_flags; do
7001 for dir in $filtered_dirs; do
7002 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
7007 if test "$filter" = "no"; then
7008 output_flags="$output_flags $flag"
7011 if test -n "$output_flags"; then
7012 printf "%s" "${output_flags# }"
7020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported SQLite version" >&5
7021 $as_echo "unsupported SQLite version" >&6; }
7030 CPPFLAGS="$save_CPPFLAGS"
7031 LDFLAGS="$save_LDFLAGS"
7035 if test -z "$svn_lib_sqlite"; then
7037 if test -n "$PKG_CONFIG"; then
7038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sqlite library version (via pkg-config)" >&5
7039 $as_echo_n "checking sqlite library version (via pkg-config)... " >&6; }
7040 sqlite_version=`$PKG_CONFIG $SQLITE_PKGNAME --modversion --silence-errors`
7042 if test -n "$sqlite_version"; then
7044 version_string="$sqlite_version"
7046 major=`expr $version_string : '\([0-9]*\)'`
7047 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7048 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7049 if test -z "$micro"; then
7052 sqlite_ver_num=`expr $major \* 1000000 \
7057 if test "$sqlite_ver_num" -ge "$sqlite_min_ver_num"; then
7058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $sqlite_version" >&5
7059 $as_echo "$sqlite_version" >&6; }
7060 svn_lib_sqlite="yes"
7061 SVN_SQLITE_INCLUDES="`$PKG_CONFIG $SQLITE_PKGNAME --cflags`"
7062 SVN_SQLITE_LIBS="`$PKG_CONFIG $SQLITE_PKGNAME --libs`"
7064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none or unsupported $sqlite_version" >&5
7065 $as_echo "none or unsupported $sqlite_version" >&6; }
7070 if test -z "$svn_lib_sqlite"; then
7071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7072 $as_echo "no" >&6; }
7077 if test -z "$svn_lib_sqlite"; then
7080 echo "An appropriate version of sqlite could not be found. We recommmend"
7081 echo "${SQLITE_RECOMMENDED_VER}, but require at least ${SQLITE_MINIMUM_VER}."
7082 echo "Please either install a newer sqlite on this system"
7086 echo "get the sqlite ${SQLITE_RECOMMENDED_VER} amalgamation from:"
7087 echo " ${SQLITE_URL}"
7088 echo "unpack the archive using unzip and rename the resulting"
7089 echo "directory to:"
7090 echo "$abs_srcdir/sqlite-amalgamation"
7091 if test x"$abs_srcdir" != x"$abs_builddir"; then
7093 echo "$abs_builddir/sqlite-amalgamation"
7096 as_fn_error $? "Subversion requires SQLite" "$LINENO" 5
7107 # Check whether --enable-sqlite-compatibility-version was given.
7108 if test "${enable_sqlite_compatibility_version+set}" = set; then :
7109 enableval=$enable_sqlite_compatibility_version; sqlite_compat_ver=$enableval
7111 sqlite_compat_ver=no
7115 if test -n "$sqlite_compat_ver" && test "$sqlite_compat_ver" != no; then
7117 version_string="$sqlite_compat_ver"
7119 major=`expr $version_string : '\([0-9]*\)'`
7120 minor=`expr $version_string : '[0-9]*\.\([0-9]*\)'`
7121 micro=`expr $version_string : '[0-9]*\.[0-9]*\.\([0-9]*\)'`
7122 if test -z "$micro"; then
7125 sqlite_compat_ver_num=`expr $major \* 1000000 \
7129 CFLAGS="-DSVN_SQLITE_MIN_VERSION='\"$sqlite_compat_ver\"' $CFLAGS"
7130 CFLAGS="-DSVN_SQLITE_MIN_VERSION_NUMBER=$sqlite_compat_ver_num $CFLAGS"
7134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler provides atomic builtins" >&5
7135 $as_echo_n "checking whether the compiler provides atomic builtins... " >&6; }
7136 if ${svn_cv_atomic_builtins+:} false; then :
7137 $as_echo_n "(cached) " >&6
7139 if test "$cross_compiling" = yes; then :
7140 svn_cv_atomic_builtins=no
7142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7143 /* end confdefs.h. */
7147 unsigned long long val = 1010, tmp, *mem = &val;
7149 if (__sync_fetch_and_add(&val, 1010) != 1010 || val != 2020)
7154 if (__sync_fetch_and_sub(mem, 1010) != tmp || val != 1010)
7157 if (__sync_sub_and_fetch(&val, 1010) != 0 || val != 0)
7162 if (__sync_val_compare_and_swap(mem, 0, tmp) != 0 || val != tmp)
7165 if (__sync_lock_test_and_set(&val, 4040) != 3030)
7170 if (__sync_val_compare_and_swap(&mem, &tmp, &val) != &tmp)
7173 __sync_synchronize();
7181 if ac_fn_c_try_run "$LINENO"; then :
7182 svn_cv_atomic_builtins=yes
7184 svn_cv_atomic_builtins=no
7186 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7187 conftest.$ac_objext conftest.beam conftest.$ac_ext
7191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_atomic_builtins" >&5
7192 $as_echo "$svn_cv_atomic_builtins" >&6; }
7195 if test "$svn_cv_atomic_builtins" = "yes"; then
7197 $as_echo "#define SVN_HAS_ATOMIC_BUILTINS 1" >>confdefs.h
7202 if test "${bindir}" = '${exec_prefix}/bin'; then
7203 if test "${exec_prefix}" = "NONE"; then
7204 if test "${prefix}" = "NONE"; then
7205 SVN_BINDIR="${ac_default_prefix}/bin"
7207 SVN_BINDIR="${prefix}/bin"
7210 SVN_BINDIR="${exec_prefix}/bin"
7213 SVN_BINDIR="${bindir}"
7216 SVN_BINDIR="`eval echo ${SVN_BINDIR}`"
7220 cat >>confdefs.h <<_ACEOF
7221 #define SVN_BINDIR "${SVN_BINDIR}"
7225 localedir='${datadir}/locale'
7228 if test "${datadir}" = '${prefix}/share' && test "${prefix}" = "NONE"; then
7229 exp_localedir='${ac_default_prefix}/share/locale'
7231 exp_localedir=$localedir
7235 svn_cur=""${exp_localedir}""
7236 while test "x${svn_cur}" != "x${svn_last}";
7238 svn_last="${svn_cur}"
7239 svn_cur=`eval "echo ${svn_cur}"`
7241 svn_localedir="${svn_cur}"
7244 cat >>confdefs.h <<_ACEOF
7245 #define SVN_LOCALE_DIR "${svn_localedir}"
7249 { $as_echo "$as_me:${as_lineno-$LINENO}: configuring libtool now" >&5
7250 $as_echo "$as_me: configuring libtool now" >&6;}
7253 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
7254 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
7259 macro_version='2.4.2'
7260 macro_revision='1.3337'
7274 ltmain="$ac_aux_dir/ltmain.sh"
7276 # Backslashify metacharacters that are still active within
7277 # double-quoted strings.
7278 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
7280 # Same as above, but do not quote variable references.
7281 double_quote_subst='s/\(["`\\]\)/\\\1/g'
7283 # Sed substitution to delay expansion of an escaped shell variable in a
7284 # double_quote_subst'ed string.
7285 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
7287 # Sed substitution to delay expansion of an escaped single quote.
7288 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
7290 # Sed substitution to avoid accidental globbing in evaled expressions
7291 no_glob_subst='s/\*/\\\*/g'
7293 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7294 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
7295 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
7297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
7298 $as_echo_n "checking how to print strings... " >&6; }
7299 # Test print first, because it will be a builtin if present.
7300 if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
7301 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
7303 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
7306 # Use this function as a fallback that always works.
7307 func_fallback_echo ()
7309 eval 'cat <<_LTECHO_EOF
7313 ECHO='func_fallback_echo'
7316 # func_echo_all arg...
7317 # Invoke $ECHO with all args, space-separated.
7324 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
7325 $as_echo "printf" >&6; } ;;
7326 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
7327 $as_echo "print -r" >&6; } ;;
7328 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
7329 $as_echo "cat" >&6; } ;;
7345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
7346 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
7347 if ${ac_cv_path_SED+:} false; then :
7348 $as_echo_n "(cached) " >&6
7350 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
7351 for ac_i in 1 2 3 4 5 6 7; do
7352 ac_script="$ac_script$as_nl$ac_script"
7354 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
7355 { ac_script=; unset ac_script;}
7356 if test -z "$SED"; then
7357 ac_path_SED_found=false
7358 # Loop through the user's path and test for each of PROGNAME-LIST
7359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7363 test -z "$as_dir" && as_dir=.
7364 for ac_prog in sed gsed; do
7365 for ac_exec_ext in '' $ac_executable_extensions; do
7366 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
7367 as_fn_executable_p "$ac_path_SED" || continue
7368 # Check for GNU ac_path_SED and select it if it is found.
7369 # Check for GNU $ac_path_SED
7370 case `"$ac_path_SED" --version 2>&1` in
7372 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
7375 $as_echo_n 0123456789 >"conftest.in"
7378 cat "conftest.in" "conftest.in" >"conftest.tmp"
7379 mv "conftest.tmp" "conftest.in"
7380 cp "conftest.in" "conftest.nl"
7381 $as_echo '' >> "conftest.nl"
7382 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
7383 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7384 as_fn_arith $ac_count + 1 && ac_count=$as_val
7385 if test $ac_count -gt ${ac_path_SED_max-0}; then
7386 # Best one so far, save it but keep looking for a better one
7387 ac_cv_path_SED="$ac_path_SED"
7388 ac_path_SED_max=$ac_count
7390 # 10*(2^10) chars as input seems more than enough
7391 test $ac_count -gt 10 && break
7393 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7396 $ac_path_SED_found && break 3
7401 if test -z "$ac_cv_path_SED"; then
7402 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
7409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
7410 $as_echo "$ac_cv_path_SED" >&6; }
7411 SED="$ac_cv_path_SED"
7414 test -z "$SED" && SED=sed
7415 Xsed="$SED -e 1s/^X//"
7427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
7428 $as_echo_n "checking for fgrep... " >&6; }
7429 if ${ac_cv_path_FGREP+:} false; then :
7430 $as_echo_n "(cached) " >&6
7432 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
7433 then ac_cv_path_FGREP="$GREP -F"
7435 if test -z "$FGREP"; then
7436 ac_path_FGREP_found=false
7437 # Loop through the user's path and test for each of PROGNAME-LIST
7438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7439 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7442 test -z "$as_dir" && as_dir=.
7443 for ac_prog in fgrep; do
7444 for ac_exec_ext in '' $ac_executable_extensions; do
7445 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
7446 as_fn_executable_p "$ac_path_FGREP" || continue
7447 # Check for GNU ac_path_FGREP and select it if it is found.
7448 # Check for GNU $ac_path_FGREP
7449 case `"$ac_path_FGREP" --version 2>&1` in
7451 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
7454 $as_echo_n 0123456789 >"conftest.in"
7457 cat "conftest.in" "conftest.in" >"conftest.tmp"
7458 mv "conftest.tmp" "conftest.in"
7459 cp "conftest.in" "conftest.nl"
7460 $as_echo 'FGREP' >> "conftest.nl"
7461 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
7462 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7463 as_fn_arith $ac_count + 1 && ac_count=$as_val
7464 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
7465 # Best one so far, save it but keep looking for a better one
7466 ac_cv_path_FGREP="$ac_path_FGREP"
7467 ac_path_FGREP_max=$ac_count
7469 # 10*(2^10) chars as input seems more than enough
7470 test $ac_count -gt 10 && break
7472 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7475 $ac_path_FGREP_found && break 3
7480 if test -z "$ac_cv_path_FGREP"; then
7481 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7484 ac_cv_path_FGREP=$FGREP
7489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
7490 $as_echo "$ac_cv_path_FGREP" >&6; }
7491 FGREP="$ac_cv_path_FGREP"
7494 test -z "$GREP" && GREP=grep
7514 # Check whether --with-gnu-ld was given.
7515 if test "${with_gnu_ld+set}" = set; then :
7516 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
7522 if test "$GCC" = yes; then
7523 # Check if gcc -print-prog-name=ld gives a path.
7524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
7525 $as_echo_n "checking for ld used by $CC... " >&6; }
7528 # gcc leaves a trailing carriage return which upsets mingw
7529 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
7531 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
7534 # Accept absolute paths.
7536 re_direlt='/[^/][^/]*/\.\./'
7537 # Canonicalize the pathname of ld
7538 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
7539 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
7540 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
7542 test -z "$LD" && LD="$ac_prog"
7545 # If it fails, then pretend we aren't using GCC.
7549 # If it is relative, then search for the first ld in PATH.
7553 elif test "$with_gnu_ld" = yes; then
7554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
7555 $as_echo_n "checking for GNU ld... " >&6; }
7557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
7558 $as_echo_n "checking for non-GNU ld... " >&6; }
7560 if ${lt_cv_path_LD+:} false; then :
7561 $as_echo_n "(cached) " >&6
7563 if test -z "$LD"; then
7564 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7565 for ac_dir in $PATH; do
7567 test -z "$ac_dir" && ac_dir=.
7568 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
7569 lt_cv_path_LD="$ac_dir/$ac_prog"
7570 # Check to see if the program is GNU ld. I'd rather use --version,
7571 # but apparently some variants of GNU ld only accept -v.
7572 # Break only if it was the GNU/non-GNU ld that we prefer.
7573 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
7574 *GNU* | *'with BFD'*)
7575 test "$with_gnu_ld" != no && break
7578 test "$with_gnu_ld" != yes && break
7585 lt_cv_path_LD="$LD" # Let the user override the test with a path.
7590 if test -n "$LD"; then
7591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
7592 $as_echo "$LD" >&6; }
7594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7595 $as_echo "no" >&6; }
7597 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7599 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7600 if ${lt_cv_prog_gnu_ld+:} false; then :
7601 $as_echo_n "(cached) " >&6
7603 # I'd rather use --version here, but apparently some GNU lds only accept -v.
7604 case `$LD -v 2>&1 </dev/null` in
7605 *GNU* | *'with BFD'*)
7606 lt_cv_prog_gnu_ld=yes
7609 lt_cv_prog_gnu_ld=no
7613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
7614 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
7615 with_gnu_ld=$lt_cv_prog_gnu_ld
7625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
7626 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
7627 if ${lt_cv_path_NM+:} false; then :
7628 $as_echo_n "(cached) " >&6
7630 if test -n "$NM"; then
7631 # Let the user override the test.
7634 lt_nm_to_check="${ac_tool_prefix}nm"
7635 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
7636 lt_nm_to_check="$lt_nm_to_check nm"
7638 for lt_tmp_nm in $lt_nm_to_check; do
7639 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
7640 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
7642 test -z "$ac_dir" && ac_dir=.
7643 tmp_nm="$ac_dir/$lt_tmp_nm"
7644 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
7645 # Check to see if the nm accepts a BSD-compat flag.
7646 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
7647 # nm: unknown option "B" ignored
7648 # Tru64's nm complains that /dev/null is an invalid object file
7649 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
7650 */dev/null* | *'Invalid file or object type'*)
7651 lt_cv_path_NM="$tmp_nm -B"
7655 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
7657 lt_cv_path_NM="$tmp_nm -p"
7661 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
7662 continue # so that we can try to find one that supports BSD flags
7671 : ${lt_cv_path_NM=no}
7674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
7675 $as_echo "$lt_cv_path_NM" >&6; }
7676 if test "$lt_cv_path_NM" != "no"; then
7679 # Didn't find any BSD compatible name lister, look for dumpbin.
7680 if test -n "$DUMPBIN"; then :
7681 # Let the user override the test.
7683 if test -n "$ac_tool_prefix"; then
7684 for ac_prog in dumpbin "link -dump"
7686 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
7687 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
7688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689 $as_echo_n "checking for $ac_word... " >&6; }
7690 if ${ac_cv_prog_DUMPBIN+:} false; then :
7691 $as_echo_n "(cached) " >&6
7693 if test -n "$DUMPBIN"; then
7694 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
7696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7700 test -z "$as_dir" && as_dir=.
7701 for ac_exec_ext in '' $ac_executable_extensions; do
7702 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7703 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
7704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7713 DUMPBIN=$ac_cv_prog_DUMPBIN
7714 if test -n "$DUMPBIN"; then
7715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
7716 $as_echo "$DUMPBIN" >&6; }
7718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7719 $as_echo "no" >&6; }
7723 test -n "$DUMPBIN" && break
7726 if test -z "$DUMPBIN"; then
7727 ac_ct_DUMPBIN=$DUMPBIN
7728 for ac_prog in dumpbin "link -dump"
7730 # Extract the first word of "$ac_prog", so it can be a program name with args.
7731 set dummy $ac_prog; ac_word=$2
7732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7733 $as_echo_n "checking for $ac_word... " >&6; }
7734 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
7735 $as_echo_n "(cached) " >&6
7737 if test -n "$ac_ct_DUMPBIN"; then
7738 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
7740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7744 test -z "$as_dir" && as_dir=.
7745 for ac_exec_ext in '' $ac_executable_extensions; do
7746 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7747 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
7748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7757 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
7758 if test -n "$ac_ct_DUMPBIN"; then
7759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
7760 $as_echo "$ac_ct_DUMPBIN" >&6; }
7762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7763 $as_echo "no" >&6; }
7767 test -n "$ac_ct_DUMPBIN" && break
7770 if test "x$ac_ct_DUMPBIN" = x; then
7773 case $cross_compiling:$ac_tool_warned in
7775 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7776 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7777 ac_tool_warned=yes ;;
7779 DUMPBIN=$ac_ct_DUMPBIN
7783 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
7785 DUMPBIN="$DUMPBIN -symbols"
7793 if test "$DUMPBIN" != ":"; then
7797 test -z "$NM" && NM=nm
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
7805 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
7806 if ${lt_cv_nm_interface+:} false; then :
7807 $as_echo_n "(cached) " >&6
7809 lt_cv_nm_interface="BSD nm"
7810 echo "int some_variable = 0;" > conftest.$ac_ext
7811 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
7812 (eval "$ac_compile" 2>conftest.err)
7813 cat conftest.err >&5
7814 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
7815 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
7816 cat conftest.err >&5
7817 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
7818 cat conftest.out >&5
7819 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
7820 lt_cv_nm_interface="MS dumpbin"
7824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
7825 $as_echo "$lt_cv_nm_interface" >&6; }
7827 # find the maximum length of command line arguments
7828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
7829 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
7830 if ${lt_cv_sys_max_cmd_len+:} false; then :
7831 $as_echo_n "(cached) " >&6
7838 # On DJGPP, this test can blow up pretty badly due to problems in libc
7839 # (any single argument exceeding 2000 bytes causes a buffer overrun
7840 # during glob expansion). Even if it were fixed, the result of this
7841 # check would be larger than it should be.
7842 lt_cv_sys_max_cmd_len=12288; # 12K is about right
7846 # Under GNU Hurd, this test is not required because there is
7847 # no limit to the length of command line arguments.
7848 # Libtool will interpret -1 as no limit whatsoever
7849 lt_cv_sys_max_cmd_len=-1;
7852 cygwin* | mingw* | cegcc*)
7853 # On Win9x/ME, this test blows up -- it succeeds, but takes
7854 # about 5 minutes as the teststring grows exponentially.
7855 # Worse, since 9x/ME are not pre-emptively multitasking,
7856 # you end up with a "frozen" computer, even though with patience
7857 # the test eventually succeeds (with a max line length of 256k).
7858 # Instead, let's just punt: use the minimum linelength reported by
7859 # all of the supported platforms: 8192 (on NT/2K/XP).
7860 lt_cv_sys_max_cmd_len=8192;
7864 # On MiNT this can take a long time and run out of memory.
7865 lt_cv_sys_max_cmd_len=8192;
7869 # On AmigaOS with pdksh, this test takes hours, literally.
7870 # So we just punt and use a minimum line length of 8192.
7871 lt_cv_sys_max_cmd_len=8192;
7874 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
7875 # This has been around since 386BSD, at least. Likely further.
7876 if test -x /sbin/sysctl; then
7877 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
7878 elif test -x /usr/sbin/sysctl; then
7879 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
7881 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
7883 # And add a safety zone
7884 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7885 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7889 # We know the value 262144 and hardcode it with a safety zone (like BSD)
7890 lt_cv_sys_max_cmd_len=196608
7894 # The test takes a long time on OS/2.
7895 lt_cv_sys_max_cmd_len=8192
7899 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
7900 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
7901 # nice to cause kernel panics so lets avoid the loop below.
7902 # First set a reasonable default.
7903 lt_cv_sys_max_cmd_len=16384
7905 if test -x /sbin/sysconfig; then
7906 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
7907 *1*) lt_cv_sys_max_cmd_len=-1 ;;
7912 lt_cv_sys_max_cmd_len=102400
7914 sysv5* | sco5v6* | sysv4.2uw2*)
7915 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
7916 if test -n "$kargmax"; then
7917 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
7919 lt_cv_sys_max_cmd_len=32768
7923 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
7924 if test -n "$lt_cv_sys_max_cmd_len"; then
7925 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
7926 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
7928 # Make teststring a little bigger before we do anything with it.
7929 # a 1K string should be a reasonable start.
7930 for i in 1 2 3 4 5 6 7 8 ; do
7931 teststring=$teststring$teststring
7933 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
7934 # If test is not a shell built-in, we'll probably end up computing a
7935 # maximum length that is only half of the actual maximum length, but
7937 while { test "X"`env echo "$teststring$teststring" 2>/dev/null` \
7938 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
7939 test $i != 17 # 1/2 MB should be enough
7942 teststring=$teststring$teststring
7944 # Only check the string length outside the loop.
7945 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
7947 # Add a significant safety factor because C++ compilers can tack on
7948 # massive amounts of additional arguments before passing them to the
7949 # linker. It appears as though 1/2 is a usable value.
7950 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
7957 if test -n $lt_cv_sys_max_cmd_len ; then
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
7959 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
7961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
7962 $as_echo "none" >&6; }
7964 max_cmd_len=$lt_cv_sys_max_cmd_len
7975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
7976 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
7977 # Try some XSI features
7980 test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
7982 && eval 'test $(( 1 + 1 )) -eq 2 \
7983 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
7986 $as_echo "$xsi_shell" >&6; }
7989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
7990 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
7992 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
7994 && lt_shell_append=yes
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
7996 $as_echo "$lt_shell_append" >&6; }
7999 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8009 # test EBCDIC or ASCII
8010 case `echo X|tr X '\101'` in
8011 A) # ASCII based system
8012 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
8013 lt_SP2NL='tr \040 \012'
8014 lt_NL2SP='tr \015\012 \040\040'
8016 *) # EBCDIC based system
8017 lt_SP2NL='tr \100 \n'
8018 lt_NL2SP='tr \r\n \100\100'
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
8031 $as_echo_n "checking how to convert $build file names to $host format... " >&6; }
8032 if ${lt_cv_to_host_file_cmd+:} false; then :
8033 $as_echo_n "(cached) " >&6
8038 *-*-mingw* ) # actually msys
8039 lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
8042 lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
8044 * ) # otherwise, assume *nix
8045 lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
8051 *-*-mingw* ) # actually msys
8052 lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
8055 lt_cv_to_host_file_cmd=func_convert_file_noop
8057 * ) # otherwise, assume *nix
8058 lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
8062 * ) # unhandled hosts (and "normal" native builds)
8063 lt_cv_to_host_file_cmd=func_convert_file_noop
8069 to_host_file_cmd=$lt_cv_to_host_file_cmd
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
8071 $as_echo "$lt_cv_to_host_file_cmd" >&6; }
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
8078 $as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
8079 if ${lt_cv_to_tool_file_cmd+:} false; then :
8080 $as_echo_n "(cached) " >&6
8082 #assume ordinary cross tools, or native build.
8083 lt_cv_to_tool_file_cmd=func_convert_file_noop
8087 *-*-mingw* ) # actually msys
8088 lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
8096 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
8098 $as_echo "$lt_cv_to_tool_file_cmd" >&6; }
8104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
8105 $as_echo_n "checking for $LD option to reload object files... " >&6; }
8106 if ${lt_cv_ld_reload_flag+:} false; then :
8107 $as_echo_n "(cached) " >&6
8109 lt_cv_ld_reload_flag='-r'
8111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
8112 $as_echo "$lt_cv_ld_reload_flag" >&6; }
8113 reload_flag=$lt_cv_ld_reload_flag
8114 case $reload_flag in
8116 *) reload_flag=" $reload_flag" ;;
8118 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8120 cygwin* | mingw* | pw32* | cegcc*)
8121 if test "$GCC" != yes; then
8126 if test "$GCC" = yes; then
8127 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
8129 reload_cmds='$LD$reload_flag -o $output$reload_objs'
8142 if test -n "$ac_tool_prefix"; then
8143 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
8144 set dummy ${ac_tool_prefix}objdump; ac_word=$2
8145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8146 $as_echo_n "checking for $ac_word... " >&6; }
8147 if ${ac_cv_prog_OBJDUMP+:} false; then :
8148 $as_echo_n "(cached) " >&6
8150 if test -n "$OBJDUMP"; then
8151 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
8153 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8157 test -z "$as_dir" && as_dir=.
8158 for ac_exec_ext in '' $ac_executable_extensions; do
8159 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8160 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
8161 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8170 OBJDUMP=$ac_cv_prog_OBJDUMP
8171 if test -n "$OBJDUMP"; then
8172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
8173 $as_echo "$OBJDUMP" >&6; }
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8176 $as_echo "no" >&6; }
8181 if test -z "$ac_cv_prog_OBJDUMP"; then
8182 ac_ct_OBJDUMP=$OBJDUMP
8183 # Extract the first word of "objdump", so it can be a program name with args.
8184 set dummy objdump; ac_word=$2
8185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8186 $as_echo_n "checking for $ac_word... " >&6; }
8187 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
8188 $as_echo_n "(cached) " >&6
8190 if test -n "$ac_ct_OBJDUMP"; then
8191 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
8193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8197 test -z "$as_dir" && as_dir=.
8198 for ac_exec_ext in '' $ac_executable_extensions; do
8199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8200 ac_cv_prog_ac_ct_OBJDUMP="objdump"
8201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8210 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
8211 if test -n "$ac_ct_OBJDUMP"; then
8212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
8213 $as_echo "$ac_ct_OBJDUMP" >&6; }
8215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8216 $as_echo "no" >&6; }
8219 if test "x$ac_ct_OBJDUMP" = x; then
8222 case $cross_compiling:$ac_tool_warned in
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8225 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8226 ac_tool_warned=yes ;;
8228 OBJDUMP=$ac_ct_OBJDUMP
8231 OBJDUMP="$ac_cv_prog_OBJDUMP"
8234 test -z "$OBJDUMP" && OBJDUMP=objdump
8244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
8245 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
8246 if ${lt_cv_deplibs_check_method+:} false; then :
8247 $as_echo_n "(cached) " >&6
8249 lt_cv_file_magic_cmd='$MAGIC_CMD'
8250 lt_cv_file_magic_test_file=
8251 lt_cv_deplibs_check_method='unknown'
8252 # Need to set the preceding variable on all platforms that support
8253 # interlibrary dependencies.
8254 # 'none' -- dependencies not supported.
8255 # `unknown' -- same as none, but documents that we really don't know.
8256 # 'pass_all' -- all dependencies passed with no checks.
8257 # 'test_compile' -- check by making test program.
8258 # 'file_magic [[regex]]' -- check by looking for files in library path
8259 # which responds to the $file_magic_cmd with a given extended regex.
8260 # If you have `file' or equivalent on your system and you're not sure
8261 # whether `pass_all' will *always* work, you probably want this one.
8265 lt_cv_deplibs_check_method=pass_all
8269 lt_cv_deplibs_check_method=pass_all
8273 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
8274 lt_cv_file_magic_cmd='/usr/bin/file -L'
8275 lt_cv_file_magic_test_file=/shlib/libc.so
8279 # func_win32_libid is a shell function defined in ltmain.sh
8280 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8281 lt_cv_file_magic_cmd='func_win32_libid'
8285 # Base MSYS/MinGW do not provide the 'file' command needed by
8286 # func_win32_libid shell function, so use a weaker test based on 'objdump',
8287 # unless we find 'file', for example because we are cross-compiling.
8288 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
8289 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
8290 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
8291 lt_cv_file_magic_cmd='func_win32_libid'
8293 # Keep this pattern in sync with the one in func_win32_libid.
8294 lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
8295 lt_cv_file_magic_cmd='$OBJDUMP -f'
8300 # use the weaker test based on 'objdump'. See mingw*.
8301 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
8302 lt_cv_file_magic_cmd='$OBJDUMP -f'
8305 darwin* | rhapsody*)
8306 lt_cv_deplibs_check_method=pass_all
8309 freebsd* | dragonfly*)
8310 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8313 # Not sure whether the presence of OpenBSD here was a mistake.
8314 # Let's accept both of them until this is cleared up.
8315 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
8316 lt_cv_file_magic_cmd=/usr/bin/file
8317 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
8321 lt_cv_deplibs_check_method=pass_all
8326 lt_cv_deplibs_check_method=pass_all
8330 lt_cv_deplibs_check_method=pass_all
8333 hpux10.20* | hpux11*)
8334 lt_cv_file_magic_cmd=/usr/bin/file
8337 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
8338 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
8341 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]'
8342 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
8345 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
8346 lt_cv_file_magic_test_file=/usr/lib/libc.sl
8352 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
8353 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
8356 irix5* | irix6* | nonstopux*)
8358 *-32|*"-32 ") libmagic=32-bit;;
8359 *-n32|*"-n32 ") libmagic=N32;;
8360 *-64|*"-64 ") libmagic=64-bit;;
8361 *) libmagic=never-match;;
8363 lt_cv_deplibs_check_method=pass_all
8366 # This must be glibc/ELF.
8367 linux* | k*bsd*-gnu | kopensolaris*-gnu)
8368 lt_cv_deplibs_check_method=pass_all
8372 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
8373 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8375 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
8380 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
8381 lt_cv_file_magic_cmd=/usr/bin/file
8382 lt_cv_file_magic_test_file=/usr/lib/libnls.so
8386 lt_cv_deplibs_check_method=pass_all
8390 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8391 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
8393 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
8397 osf3* | osf4* | osf5*)
8398 lt_cv_deplibs_check_method=pass_all
8402 lt_cv_deplibs_check_method=pass_all
8406 lt_cv_deplibs_check_method=pass_all
8409 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
8410 lt_cv_deplibs_check_method=pass_all
8414 case $host_vendor in
8416 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]'
8417 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
8420 lt_cv_deplibs_check_method=pass_all
8423 lt_cv_file_magic_cmd='/bin/file'
8424 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
8427 lt_cv_file_magic_cmd='/bin/file'
8428 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
8429 lt_cv_file_magic_test_file=/lib/libc.so
8432 lt_cv_deplibs_check_method=pass_all
8435 lt_cv_deplibs_check_method=pass_all
8441 lt_cv_deplibs_check_method=pass_all
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
8447 $as_echo "$lt_cv_deplibs_check_method" >&6; }
8451 if test "$build" = "$host"; then
8454 if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
8457 file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
8463 file_magic_cmd=$lt_cv_file_magic_cmd
8464 deplibs_check_method=$lt_cv_deplibs_check_method
8465 test -z "$deplibs_check_method" && deplibs_check_method=unknown
8488 if test -n "$ac_tool_prefix"; then
8489 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8490 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8492 $as_echo_n "checking for $ac_word... " >&6; }
8493 if ${ac_cv_prog_DLLTOOL+:} false; then :
8494 $as_echo_n "(cached) " >&6
8496 if test -n "$DLLTOOL"; then
8497 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8499 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8503 test -z "$as_dir" && as_dir=.
8504 for ac_exec_ext in '' $ac_executable_extensions; do
8505 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8506 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8507 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8516 DLLTOOL=$ac_cv_prog_DLLTOOL
8517 if test -n "$DLLTOOL"; then
8518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8519 $as_echo "$DLLTOOL" >&6; }
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8522 $as_echo "no" >&6; }
8527 if test -z "$ac_cv_prog_DLLTOOL"; then
8528 ac_ct_DLLTOOL=$DLLTOOL
8529 # Extract the first word of "dlltool", so it can be a program name with args.
8530 set dummy dlltool; ac_word=$2
8531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8532 $as_echo_n "checking for $ac_word... " >&6; }
8533 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8534 $as_echo_n "(cached) " >&6
8536 if test -n "$ac_ct_DLLTOOL"; then
8537 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8539 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8543 test -z "$as_dir" && as_dir=.
8544 for ac_exec_ext in '' $ac_executable_extensions; do
8545 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8546 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8556 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8557 if test -n "$ac_ct_DLLTOOL"; then
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8559 $as_echo "$ac_ct_DLLTOOL" >&6; }
8561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8562 $as_echo "no" >&6; }
8565 if test "x$ac_ct_DLLTOOL" = x; then
8568 case $cross_compiling:$ac_tool_warned in
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8571 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8572 ac_tool_warned=yes ;;
8574 DLLTOOL=$ac_ct_DLLTOOL
8577 DLLTOOL="$ac_cv_prog_DLLTOOL"
8580 test -z "$DLLTOOL" && DLLTOOL=dlltool
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
8592 $as_echo_n "checking how to associate runtime and link libraries... " >&6; }
8593 if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
8594 $as_echo_n "(cached) " >&6
8596 lt_cv_sharedlib_from_linklib_cmd='unknown'
8599 cygwin* | mingw* | pw32* | cegcc*)
8600 # two different shell functions defined in ltmain.sh
8601 # decide which to use based on capabilities of $DLLTOOL
8602 case `$DLLTOOL --help 2>&1` in
8603 *--identify-strict*)
8604 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
8607 lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
8612 # fallback: assume linklib IS sharedlib
8613 lt_cv_sharedlib_from_linklib_cmd="$ECHO"
8618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
8619 $as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
8620 sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
8621 test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
8629 if test -n "$ac_tool_prefix"; then
8632 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8633 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8635 $as_echo_n "checking for $ac_word... " >&6; }
8636 if ${ac_cv_prog_AR+:} false; then :
8637 $as_echo_n "(cached) " >&6
8639 if test -n "$AR"; then
8640 ac_cv_prog_AR="$AR" # Let the user override the test.
8642 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8646 test -z "$as_dir" && as_dir=.
8647 for ac_exec_ext in '' $ac_executable_extensions; do
8648 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8649 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
8650 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8660 if test -n "$AR"; then
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
8662 $as_echo "$AR" >&6; }
8664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8665 $as_echo "no" >&6; }
8669 test -n "$AR" && break
8672 if test -z "$AR"; then
8676 # Extract the first word of "$ac_prog", so it can be a program name with args.
8677 set dummy $ac_prog; ac_word=$2
8678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8679 $as_echo_n "checking for $ac_word... " >&6; }
8680 if ${ac_cv_prog_ac_ct_AR+:} false; then :
8681 $as_echo_n "(cached) " >&6
8683 if test -n "$ac_ct_AR"; then
8684 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
8686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8690 test -z "$as_dir" && as_dir=.
8691 for ac_exec_ext in '' $ac_executable_extensions; do
8692 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8693 ac_cv_prog_ac_ct_AR="$ac_prog"
8694 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8703 ac_ct_AR=$ac_cv_prog_ac_ct_AR
8704 if test -n "$ac_ct_AR"; then
8705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
8706 $as_echo "$ac_ct_AR" >&6; }
8708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8709 $as_echo "no" >&6; }
8713 test -n "$ac_ct_AR" && break
8716 if test "x$ac_ct_AR" = x; then
8719 case $cross_compiling:$ac_tool_warned in
8721 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8722 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8723 ac_tool_warned=yes ;;
8742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
8743 $as_echo_n "checking for archiver @FILE support... " >&6; }
8744 if ${lt_cv_ar_at_file+:} false; then :
8745 $as_echo_n "(cached) " >&6
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8759 if ac_fn_c_try_compile "$LINENO"; then :
8760 echo conftest.$ac_objext > conftest.lst
8761 lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
8762 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8763 (eval $lt_ar_try) 2>&5
8765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8766 test $ac_status = 0; }
8767 if test "$ac_status" -eq 0; then
8768 # Ensure the archiver fails upon bogus file names.
8769 rm -f conftest.$ac_objext libconftest.a
8770 { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
8771 (eval $lt_ar_try) 2>&5
8773 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8774 test $ac_status = 0; }
8775 if test "$ac_status" -ne 0; then
8779 rm -f conftest.* libconftest.a
8782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
8786 $as_echo "$lt_cv_ar_at_file" >&6; }
8788 if test "x$lt_cv_ar_at_file" = xno; then
8791 archiver_list_spec=$lt_cv_ar_at_file
8800 if test -n "$ac_tool_prefix"; then
8801 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
8802 set dummy ${ac_tool_prefix}strip; ac_word=$2
8803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8804 $as_echo_n "checking for $ac_word... " >&6; }
8805 if ${ac_cv_prog_STRIP+:} false; then :
8806 $as_echo_n "(cached) " >&6
8808 if test -n "$STRIP"; then
8809 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
8811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8815 test -z "$as_dir" && as_dir=.
8816 for ac_exec_ext in '' $ac_executable_extensions; do
8817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8818 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
8819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8828 STRIP=$ac_cv_prog_STRIP
8829 if test -n "$STRIP"; then
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
8831 $as_echo "$STRIP" >&6; }
8833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8834 $as_echo "no" >&6; }
8839 if test -z "$ac_cv_prog_STRIP"; then
8841 # Extract the first word of "strip", so it can be a program name with args.
8842 set dummy strip; ac_word=$2
8843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8844 $as_echo_n "checking for $ac_word... " >&6; }
8845 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
8846 $as_echo_n "(cached) " >&6
8848 if test -n "$ac_ct_STRIP"; then
8849 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
8851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8855 test -z "$as_dir" && as_dir=.
8856 for ac_exec_ext in '' $ac_executable_extensions; do
8857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8858 ac_cv_prog_ac_ct_STRIP="strip"
8859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8868 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
8869 if test -n "$ac_ct_STRIP"; then
8870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
8871 $as_echo "$ac_ct_STRIP" >&6; }
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8874 $as_echo "no" >&6; }
8877 if test "x$ac_ct_STRIP" = x; then
8880 case $cross_compiling:$ac_tool_warned in
8882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8884 ac_tool_warned=yes ;;
8889 STRIP="$ac_cv_prog_STRIP"
8892 test -z "$STRIP" && STRIP=:
8899 if test -n "$ac_tool_prefix"; then
8900 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
8901 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
8902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8903 $as_echo_n "checking for $ac_word... " >&6; }
8904 if ${ac_cv_prog_RANLIB+:} false; then :
8905 $as_echo_n "(cached) " >&6
8907 if test -n "$RANLIB"; then
8908 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
8910 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8914 test -z "$as_dir" && as_dir=.
8915 for ac_exec_ext in '' $ac_executable_extensions; do
8916 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8917 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
8918 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8927 RANLIB=$ac_cv_prog_RANLIB
8928 if test -n "$RANLIB"; then
8929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
8930 $as_echo "$RANLIB" >&6; }
8932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8933 $as_echo "no" >&6; }
8938 if test -z "$ac_cv_prog_RANLIB"; then
8939 ac_ct_RANLIB=$RANLIB
8940 # Extract the first word of "ranlib", so it can be a program name with args.
8941 set dummy ranlib; ac_word=$2
8942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8943 $as_echo_n "checking for $ac_word... " >&6; }
8944 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
8945 $as_echo_n "(cached) " >&6
8947 if test -n "$ac_ct_RANLIB"; then
8948 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
8950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8954 test -z "$as_dir" && as_dir=.
8955 for ac_exec_ext in '' $ac_executable_extensions; do
8956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8957 ac_cv_prog_ac_ct_RANLIB="ranlib"
8958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8967 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
8968 if test -n "$ac_ct_RANLIB"; then
8969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
8970 $as_echo "$ac_ct_RANLIB" >&6; }
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8976 if test "x$ac_ct_RANLIB" = x; then
8979 case $cross_compiling:$ac_tool_warned in
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8982 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8983 ac_tool_warned=yes ;;
8985 RANLIB=$ac_ct_RANLIB
8988 RANLIB="$ac_cv_prog_RANLIB"
8991 test -z "$RANLIB" && RANLIB=:
8998 # Determine commands to create old-style static archives.
8999 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
9000 old_postinstall_cmds='chmod 644 $oldlib'
9001 old_postuninstall_cmds=
9003 if test -n "$RANLIB"; then
9006 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$tool_oldlib"
9009 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$tool_oldlib"
9012 old_archive_cmds="$old_archive_cmds~\$RANLIB \$tool_oldlib"
9017 lock_old_archive_extraction=yes ;;
9019 lock_old_archive_extraction=no ;;
9042 for ac_prog in gawk mawk nawk awk
9044 # Extract the first word of "$ac_prog", so it can be a program name with args.
9045 set dummy $ac_prog; ac_word=$2
9046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9047 $as_echo_n "checking for $ac_word... " >&6; }
9048 if ${ac_cv_prog_AWK+:} false; then :
9049 $as_echo_n "(cached) " >&6
9051 if test -n "$AWK"; then
9052 ac_cv_prog_AWK="$AWK" # Let the user override the test.
9054 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9058 test -z "$as_dir" && as_dir=.
9059 for ac_exec_ext in '' $ac_executable_extensions; do
9060 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9061 ac_cv_prog_AWK="$ac_prog"
9062 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9072 if test -n "$AWK"; then
9073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
9074 $as_echo "$AWK" >&6; }
9076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9077 $as_echo "no" >&6; }
9081 test -n "$AWK" && break
9102 # If no C compiler was specified, use CC.
9105 # If no C compiler flags were specified, use CFLAGS.
9106 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9108 # Allow CC to be a program name with arguments.
9112 # Check for command to grab the raw symbol name followed by C symbol from nm.
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
9114 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
9115 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
9116 $as_echo_n "(cached) " >&6
9119 # These are sane defaults that work on at least a few old systems.
9120 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
9122 # Character class describing NM global symbol codes.
9123 symcode='[BCDEGRST]'
9125 # Regexp to match symbols that can be accessed directly from C.
9126 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
9128 # Define system-specific variables.
9133 cygwin* | mingw* | pw32* | cegcc*)
9134 symcode='[ABCDGISTW]'
9137 if test "$host_cpu" = ia64; then
9138 symcode='[ABCDEGRST]'
9142 symcode='[BCDEGRST]'
9145 symcode='[BCDEGQRST]'
9156 sysv5* | sco5v6* | unixware* | OpenUNIX*)
9164 # If we're using GNU nm, then use its standard symbol codes.
9165 case `$NM -V 2>&1` in
9166 *GNU* | *'with BFD'*)
9167 symcode='[ABCDGIRSTW]' ;;
9170 # Transform an extracted symbol line into a proper C declaration.
9171 # Some systems (esp. on ia64) link data and code symbols differently,
9172 # so use this general approach.
9173 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
9175 # Transform an extracted symbol line into symbol name and symbol address
9176 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
9177 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
9179 # Handle CRLF in mingw tool chain
9183 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
9187 # Try without a prefix underscore, then with it.
9188 for ac_symprfx in "" "_"; do
9190 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
9191 symxfrm="\\1 $ac_symprfx\\2 \\2"
9193 # Write the raw and C identifiers.
9194 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9195 # Fake it for dumpbin and say T for any non-static function
9196 # and D for any global variable.
9197 # Also find C++ and __fastcall symbols from MSVC++,
9198 # which start with @ or ?.
9199 lt_cv_sys_global_symbol_pipe="$AWK '"\
9200 " {last_section=section; section=\$ 3};"\
9201 " /^COFF SYMBOL TABLE/{for(i in hide) delete hide[i]};"\
9202 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
9203 " \$ 0!~/External *\|/{next};"\
9204 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
9205 " {if(hide[section]) next};"\
9206 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
9207 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
9208 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
9209 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
9210 " ' prfx=^$ac_symprfx"
9212 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
9214 lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
9216 # Check to see that the pipe works correctly.
9220 cat > conftest.$ac_ext <<_LT_EOF
9225 void nm_test_func(void);
9226 void nm_test_func(void){}
9230 int main(){nm_test_var='a';nm_test_func();return(0);}
9233 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9234 (eval $ac_compile) 2>&5
9236 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9237 test $ac_status = 0; }; then
9238 # Now try to grab the symbols.
9240 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
9241 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
9243 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9244 test $ac_status = 0; } && test -s "$nlist"; then
9245 # Try sorting and uniquifying the output.
9246 if sort "$nlist" | uniq > "$nlist"T; then
9247 mv -f "$nlist"T "$nlist"
9252 # Make sure that we snagged all the symbols we need.
9253 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
9254 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
9255 cat <<_LT_EOF > conftest.$ac_ext
9256 /* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests. */
9257 #if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
9258 /* DATA imports from DLLs on WIN32 con't be const, because runtime
9259 relocations are performed -- see ld's documentation on pseudo-relocs. */
9260 # define LT_DLSYM_CONST
9261 #elif defined(__osf__)
9262 /* This system does not cope well with relocations in const data. */
9263 # define LT_DLSYM_CONST
9265 # define LT_DLSYM_CONST const
9273 # Now generate the symbol file.
9274 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
9276 cat <<_LT_EOF >> conftest.$ac_ext
9278 /* The mapping between symbol names and symbols. */
9279 LT_DLSYM_CONST struct {
9283 lt__PROGRAM__LTX_preloaded_symbols[] =
9285 { "@PROGRAM@", (void *) 0 },
9287 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
9288 cat <<\_LT_EOF >> conftest.$ac_ext
9292 /* This works around a problem in FreeBSD linker */
9293 #ifdef FREEBSD_WORKAROUND
9294 static const void *lt_preloaded_setup() {
9295 return lt__PROGRAM__LTX_preloaded_symbols;
9303 # Now try linking the two files.
9304 mv conftest.$ac_objext conftstm.$ac_objext
9305 lt_globsym_save_LIBS=$LIBS
9306 lt_globsym_save_CFLAGS=$CFLAGS
9307 LIBS="conftstm.$ac_objext"
9308 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
9309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
9310 (eval $ac_link) 2>&5
9312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9313 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
9316 LIBS=$lt_globsym_save_LIBS
9317 CFLAGS=$lt_globsym_save_CFLAGS
9319 echo "cannot find nm_test_func in $nlist" >&5
9322 echo "cannot find nm_test_var in $nlist" >&5
9325 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
9328 echo "$progname: failed program was:" >&5
9329 cat conftest.$ac_ext >&5
9331 rm -rf conftest* conftst*
9333 # Do not use the global_symbol_pipe unless it works.
9334 if test "$pipe_works" = yes; then
9337 lt_cv_sys_global_symbol_pipe=
9343 if test -z "$lt_cv_sys_global_symbol_pipe"; then
9344 lt_cv_sys_global_symbol_to_cdecl=
9346 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
9347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
9348 $as_echo "failed" >&6; }
9350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
9351 $as_echo "ok" >&6; }
9354 # Response file support.
9355 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
9356 nm_file_list_spec='@'
9357 elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
9358 nm_file_list_spec='@'
9387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
9388 $as_echo_n "checking for sysroot... " >&6; }
9390 # Check whether --with-sysroot was given.
9391 if test "${with_sysroot+set}" = set; then :
9392 withval=$with_sysroot;
9399 case ${with_sysroot} in #(
9401 if test "$GCC" = yes; then
9402 lt_sysroot=`$CC --print-sysroot 2>/dev/null`
9406 lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
9411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
9412 $as_echo "${with_sysroot}" >&6; }
9413 as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
9417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
9418 $as_echo "${lt_sysroot:-no}" >&6; }
9424 # Check whether --enable-libtool-lock was given.
9425 if test "${enable_libtool_lock+set}" = set; then :
9426 enableval=$enable_libtool_lock;
9429 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
9431 # Some flags need to be propagated to the compiler or linker for good
9435 # Find out which ABI we are using.
9436 echo 'int i;' > conftest.$ac_ext
9437 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9438 (eval $ac_compile) 2>&5
9440 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9441 test $ac_status = 0; }; then
9442 case `/usr/bin/file conftest.$ac_objext` in
9454 # Find out which ABI we are using.
9455 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
9456 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9457 (eval $ac_compile) 2>&5
9459 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9460 test $ac_status = 0; }; then
9461 if test "$lt_cv_prog_gnu_ld" = yes; then
9462 case `/usr/bin/file conftest.$ac_objext` in
9464 LD="${LD-ld} -melf32bsmip"
9467 LD="${LD-ld} -melf32bmipn32"
9470 LD="${LD-ld} -melf64bmip"
9474 case `/usr/bin/file conftest.$ac_objext` in
9490 x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
9491 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
9492 # Find out which ABI we are using.
9493 echo 'int i;' > conftest.$ac_ext
9494 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9495 (eval $ac_compile) 2>&5
9497 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9498 test $ac_status = 0; }; then
9499 case `/usr/bin/file conftest.o` in
9502 x86_64-*kfreebsd*-gnu)
9503 LD="${LD-ld} -m elf_i386_fbsd"
9506 LD="${LD-ld} -m elf_i386"
9508 ppc64-*linux*|powerpc64-*linux*)
9509 LD="${LD-ld} -m elf32ppclinux"
9512 LD="${LD-ld} -m elf_s390"
9515 LD="${LD-ld} -m elf32_sparc"
9521 x86_64-*kfreebsd*-gnu)
9522 LD="${LD-ld} -m elf_x86_64_fbsd"
9525 LD="${LD-ld} -m elf_x86_64"
9527 ppc*-*linux*|powerpc*-*linux*)
9528 LD="${LD-ld} -m elf64ppc"
9530 s390*-*linux*|s390*-*tpf*)
9531 LD="${LD-ld} -m elf64_s390"
9534 LD="${LD-ld} -m elf64_sparc"
9544 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
9545 SAVE_CFLAGS="$CFLAGS"
9546 CFLAGS="$CFLAGS -belf"
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
9548 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
9549 if ${lt_cv_cc_needs_belf+:} false; then :
9550 $as_echo_n "(cached) " >&6
9553 ac_cpp='$CPP $CPPFLAGS'
9554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9559 /* end confdefs.h. */
9569 if ac_fn_c_try_link "$LINENO"; then :
9570 lt_cv_cc_needs_belf=yes
9572 lt_cv_cc_needs_belf=no
9574 rm -f core conftest.err conftest.$ac_objext \
9575 conftest$ac_exeext conftest.$ac_ext
9577 ac_cpp='$CPP $CPPFLAGS'
9578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
9584 $as_echo "$lt_cv_cc_needs_belf" >&6; }
9585 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
9586 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
9587 CFLAGS="$SAVE_CFLAGS"
9591 # Find out which ABI we are using.
9592 echo 'int i;' > conftest.$ac_ext
9593 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
9594 (eval $ac_compile) 2>&5
9596 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9597 test $ac_status = 0; }; then
9598 case `/usr/bin/file conftest.o` in
9600 case $lt_cv_prog_gnu_ld in
9604 LD="${LD-ld} -m elf_x86_64"
9607 LD="${LD-ld} -m elf64_sparc"
9610 # GNU ld 2.21 introduced _sol2 emulations. Use them if available.
9611 if ${LD-ld} -V | grep _sol2 >/dev/null 2>&1; then
9616 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
9628 need_locks="$enable_libtool_lock"
9630 if test -n "$ac_tool_prefix"; then
9631 # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
9632 set dummy ${ac_tool_prefix}mt; ac_word=$2
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9634 $as_echo_n "checking for $ac_word... " >&6; }
9635 if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
9636 $as_echo_n "(cached) " >&6
9638 if test -n "$MANIFEST_TOOL"; then
9639 ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
9641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9645 test -z "$as_dir" && as_dir=.
9646 for ac_exec_ext in '' $ac_executable_extensions; do
9647 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9648 ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
9649 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9658 MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
9659 if test -n "$MANIFEST_TOOL"; then
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
9661 $as_echo "$MANIFEST_TOOL" >&6; }
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9664 $as_echo "no" >&6; }
9669 if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
9670 ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
9671 # Extract the first word of "mt", so it can be a program name with args.
9672 set dummy mt; ac_word=$2
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9674 $as_echo_n "checking for $ac_word... " >&6; }
9675 if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
9676 $as_echo_n "(cached) " >&6
9678 if test -n "$ac_ct_MANIFEST_TOOL"; then
9679 ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
9681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9685 test -z "$as_dir" && as_dir=.
9686 for ac_exec_ext in '' $ac_executable_extensions; do
9687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9688 ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
9689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9698 ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
9699 if test -n "$ac_ct_MANIFEST_TOOL"; then
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
9701 $as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
9703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9704 $as_echo "no" >&6; }
9707 if test "x$ac_ct_MANIFEST_TOOL" = x; then
9710 case $cross_compiling:$ac_tool_warned in
9712 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9713 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9714 ac_tool_warned=yes ;;
9716 MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
9719 MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
9722 test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
9723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
9724 $as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
9725 if ${lt_cv_path_mainfest_tool+:} false; then :
9726 $as_echo_n "(cached) " >&6
9728 lt_cv_path_mainfest_tool=no
9729 echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
9730 $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
9731 cat conftest.err >&5
9732 if $GREP 'Manifest Tool' conftest.out > /dev/null; then
9733 lt_cv_path_mainfest_tool=yes
9737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
9738 $as_echo "$lt_cv_path_mainfest_tool" >&6; }
9739 if test "x$lt_cv_path_mainfest_tool" != xyes; then
9749 rhapsody* | darwin*)
9750 if test -n "$ac_tool_prefix"; then
9751 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
9752 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9754 $as_echo_n "checking for $ac_word... " >&6; }
9755 if ${ac_cv_prog_DSYMUTIL+:} false; then :
9756 $as_echo_n "(cached) " >&6
9758 if test -n "$DSYMUTIL"; then
9759 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
9761 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9765 test -z "$as_dir" && as_dir=.
9766 for ac_exec_ext in '' $ac_executable_extensions; do
9767 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9768 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
9769 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9778 DSYMUTIL=$ac_cv_prog_DSYMUTIL
9779 if test -n "$DSYMUTIL"; then
9780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
9781 $as_echo "$DSYMUTIL" >&6; }
9783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9784 $as_echo "no" >&6; }
9789 if test -z "$ac_cv_prog_DSYMUTIL"; then
9790 ac_ct_DSYMUTIL=$DSYMUTIL
9791 # Extract the first word of "dsymutil", so it can be a program name with args.
9792 set dummy dsymutil; ac_word=$2
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9794 $as_echo_n "checking for $ac_word... " >&6; }
9795 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
9796 $as_echo_n "(cached) " >&6
9798 if test -n "$ac_ct_DSYMUTIL"; then
9799 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
9801 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9805 test -z "$as_dir" && as_dir=.
9806 for ac_exec_ext in '' $ac_executable_extensions; do
9807 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9808 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
9809 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9818 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
9819 if test -n "$ac_ct_DSYMUTIL"; then
9820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
9821 $as_echo "$ac_ct_DSYMUTIL" >&6; }
9823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9824 $as_echo "no" >&6; }
9827 if test "x$ac_ct_DSYMUTIL" = x; then
9830 case $cross_compiling:$ac_tool_warned in
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9833 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9834 ac_tool_warned=yes ;;
9836 DSYMUTIL=$ac_ct_DSYMUTIL
9839 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
9842 if test -n "$ac_tool_prefix"; then
9843 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
9844 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
9845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9846 $as_echo_n "checking for $ac_word... " >&6; }
9847 if ${ac_cv_prog_NMEDIT+:} false; then :
9848 $as_echo_n "(cached) " >&6
9850 if test -n "$NMEDIT"; then
9851 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
9853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9857 test -z "$as_dir" && as_dir=.
9858 for ac_exec_ext in '' $ac_executable_extensions; do
9859 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9860 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
9861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9870 NMEDIT=$ac_cv_prog_NMEDIT
9871 if test -n "$NMEDIT"; then
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
9873 $as_echo "$NMEDIT" >&6; }
9875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9876 $as_echo "no" >&6; }
9881 if test -z "$ac_cv_prog_NMEDIT"; then
9882 ac_ct_NMEDIT=$NMEDIT
9883 # Extract the first word of "nmedit", so it can be a program name with args.
9884 set dummy nmedit; ac_word=$2
9885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9886 $as_echo_n "checking for $ac_word... " >&6; }
9887 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
9888 $as_echo_n "(cached) " >&6
9890 if test -n "$ac_ct_NMEDIT"; then
9891 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
9893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9897 test -z "$as_dir" && as_dir=.
9898 for ac_exec_ext in '' $ac_executable_extensions; do
9899 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9900 ac_cv_prog_ac_ct_NMEDIT="nmedit"
9901 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9910 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
9911 if test -n "$ac_ct_NMEDIT"; then
9912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
9913 $as_echo "$ac_ct_NMEDIT" >&6; }
9915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9916 $as_echo "no" >&6; }
9919 if test "x$ac_ct_NMEDIT" = x; then
9922 case $cross_compiling:$ac_tool_warned in
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9925 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9926 ac_tool_warned=yes ;;
9928 NMEDIT=$ac_ct_NMEDIT
9931 NMEDIT="$ac_cv_prog_NMEDIT"
9934 if test -n "$ac_tool_prefix"; then
9935 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
9936 set dummy ${ac_tool_prefix}lipo; ac_word=$2
9937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9938 $as_echo_n "checking for $ac_word... " >&6; }
9939 if ${ac_cv_prog_LIPO+:} false; then :
9940 $as_echo_n "(cached) " >&6
9942 if test -n "$LIPO"; then
9943 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
9945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9949 test -z "$as_dir" && as_dir=.
9950 for ac_exec_ext in '' $ac_executable_extensions; do
9951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9952 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
9953 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9962 LIPO=$ac_cv_prog_LIPO
9963 if test -n "$LIPO"; then
9964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
9965 $as_echo "$LIPO" >&6; }
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9968 $as_echo "no" >&6; }
9973 if test -z "$ac_cv_prog_LIPO"; then
9975 # Extract the first word of "lipo", so it can be a program name with args.
9976 set dummy lipo; ac_word=$2
9977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9978 $as_echo_n "checking for $ac_word... " >&6; }
9979 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
9980 $as_echo_n "(cached) " >&6
9982 if test -n "$ac_ct_LIPO"; then
9983 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
9985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9989 test -z "$as_dir" && as_dir=.
9990 for ac_exec_ext in '' $ac_executable_extensions; do
9991 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9992 ac_cv_prog_ac_ct_LIPO="lipo"
9993 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10002 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
10003 if test -n "$ac_ct_LIPO"; then
10004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
10005 $as_echo "$ac_ct_LIPO" >&6; }
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10008 $as_echo "no" >&6; }
10011 if test "x$ac_ct_LIPO" = x; then
10014 case $cross_compiling:$ac_tool_warned in
10016 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10017 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10018 ac_tool_warned=yes ;;
10023 LIPO="$ac_cv_prog_LIPO"
10026 if test -n "$ac_tool_prefix"; then
10027 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
10028 set dummy ${ac_tool_prefix}otool; ac_word=$2
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10030 $as_echo_n "checking for $ac_word... " >&6; }
10031 if ${ac_cv_prog_OTOOL+:} false; then :
10032 $as_echo_n "(cached) " >&6
10034 if test -n "$OTOOL"; then
10035 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
10037 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10038 for as_dir in $PATH
10041 test -z "$as_dir" && as_dir=.
10042 for ac_exec_ext in '' $ac_executable_extensions; do
10043 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10044 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
10045 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10054 OTOOL=$ac_cv_prog_OTOOL
10055 if test -n "$OTOOL"; then
10056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
10057 $as_echo "$OTOOL" >&6; }
10059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10060 $as_echo "no" >&6; }
10065 if test -z "$ac_cv_prog_OTOOL"; then
10067 # Extract the first word of "otool", so it can be a program name with args.
10068 set dummy otool; ac_word=$2
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10070 $as_echo_n "checking for $ac_word... " >&6; }
10071 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
10072 $as_echo_n "(cached) " >&6
10074 if test -n "$ac_ct_OTOOL"; then
10075 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
10077 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10078 for as_dir in $PATH
10081 test -z "$as_dir" && as_dir=.
10082 for ac_exec_ext in '' $ac_executable_extensions; do
10083 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10084 ac_cv_prog_ac_ct_OTOOL="otool"
10085 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10094 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
10095 if test -n "$ac_ct_OTOOL"; then
10096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
10097 $as_echo "$ac_ct_OTOOL" >&6; }
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10100 $as_echo "no" >&6; }
10103 if test "x$ac_ct_OTOOL" = x; then
10106 case $cross_compiling:$ac_tool_warned in
10108 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10109 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10110 ac_tool_warned=yes ;;
10115 OTOOL="$ac_cv_prog_OTOOL"
10118 if test -n "$ac_tool_prefix"; then
10119 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
10120 set dummy ${ac_tool_prefix}otool64; ac_word=$2
10121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10122 $as_echo_n "checking for $ac_word... " >&6; }
10123 if ${ac_cv_prog_OTOOL64+:} false; then :
10124 $as_echo_n "(cached) " >&6
10126 if test -n "$OTOOL64"; then
10127 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
10129 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10130 for as_dir in $PATH
10133 test -z "$as_dir" && as_dir=.
10134 for ac_exec_ext in '' $ac_executable_extensions; do
10135 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10136 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
10137 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10146 OTOOL64=$ac_cv_prog_OTOOL64
10147 if test -n "$OTOOL64"; then
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
10149 $as_echo "$OTOOL64" >&6; }
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10152 $as_echo "no" >&6; }
10157 if test -z "$ac_cv_prog_OTOOL64"; then
10158 ac_ct_OTOOL64=$OTOOL64
10159 # Extract the first word of "otool64", so it can be a program name with args.
10160 set dummy otool64; ac_word=$2
10161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10162 $as_echo_n "checking for $ac_word... " >&6; }
10163 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
10164 $as_echo_n "(cached) " >&6
10166 if test -n "$ac_ct_OTOOL64"; then
10167 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
10169 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10170 for as_dir in $PATH
10173 test -z "$as_dir" && as_dir=.
10174 for ac_exec_ext in '' $ac_executable_extensions; do
10175 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
10176 ac_cv_prog_ac_ct_OTOOL64="otool64"
10177 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
10186 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
10187 if test -n "$ac_ct_OTOOL64"; then
10188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
10189 $as_echo "$ac_ct_OTOOL64" >&6; }
10191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10192 $as_echo "no" >&6; }
10195 if test "x$ac_ct_OTOOL64" = x; then
10198 case $cross_compiling:$ac_tool_warned in
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
10201 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
10202 ac_tool_warned=yes ;;
10204 OTOOL64=$ac_ct_OTOOL64
10207 OTOOL64="$ac_cv_prog_OTOOL64"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
10237 $as_echo_n "checking for -single_module linker flag... " >&6; }
10238 if ${lt_cv_apple_cc_single_mod+:} false; then :
10239 $as_echo_n "(cached) " >&6
10241 lt_cv_apple_cc_single_mod=no
10242 if test -z "${LT_MULTI_MODULE}"; then
10243 # By default we will add the -single_module flag. You can override
10244 # by either setting the environment variable LT_MULTI_MODULE
10245 # non-empty at configure time, or by adding -multi_module to the
10247 rm -rf libconftest.dylib*
10248 echo "int foo(void){return 1;}" > conftest.c
10249 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10250 -dynamiclib -Wl,-single_module conftest.c" >&5
10251 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
10252 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
10254 # If there is a non-empty error log, and "single_module"
10255 # appears in it, assume the flag caused a linker warning
10256 if test -s conftest.err && $GREP single_module conftest.err; then
10257 cat conftest.err >&5
10258 # Otherwise, if the output was created with a 0 exit code from
10259 # the compiler, it worked.
10260 elif test -f libconftest.dylib && test $_lt_result -eq 0; then
10261 lt_cv_apple_cc_single_mod=yes
10263 cat conftest.err >&5
10265 rm -rf libconftest.dylib*
10269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
10270 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
10273 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
10274 if ${lt_cv_ld_exported_symbols_list+:} false; then :
10275 $as_echo_n "(cached) " >&6
10277 lt_cv_ld_exported_symbols_list=no
10278 save_LDFLAGS=$LDFLAGS
10279 echo "_main" > conftest.sym
10280 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
10281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10282 /* end confdefs.h. */
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 lt_cv_ld_exported_symbols_list=yes
10295 lt_cv_ld_exported_symbols_list=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 LDFLAGS="$save_LDFLAGS"
10302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
10303 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
10306 $as_echo_n "checking for -force_load linker flag... " >&6; }
10307 if ${lt_cv_ld_force_load+:} false; then :
10308 $as_echo_n "(cached) " >&6
10310 lt_cv_ld_force_load=no
10311 cat > conftest.c << _LT_EOF
10312 int forced_loaded() { return 2;}
10314 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
10315 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
10316 echo "$AR cru libconftest.a conftest.o" >&5
10317 $AR cru libconftest.a conftest.o 2>&5
10318 echo "$RANLIB libconftest.a" >&5
10319 $RANLIB libconftest.a 2>&5
10320 cat > conftest.c << _LT_EOF
10321 int main() { return 0;}
10323 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
10324 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
10326 if test -s conftest.err && $GREP force_load conftest.err; then
10327 cat conftest.err >&5
10328 elif test -f conftest && test $_lt_result -eq 0 && $GREP forced_load conftest >/dev/null 2>&1 ; then
10329 lt_cv_ld_force_load=yes
10331 cat conftest.err >&5
10333 rm -f conftest.err libconftest.a conftest conftest.c
10334 rm -rf conftest.dSYM
10337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
10338 $as_echo "$lt_cv_ld_force_load" >&6; }
10340 rhapsody* | darwin1.[012])
10341 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
10343 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10344 darwin*) # darwin 5.x on
10345 # if running on 10.5 or later, the deployment target defaults
10346 # to the OS version, if on x86, and 10.4, the deployment
10347 # target defaults to 10.4. Don't you love it?
10348 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
10349 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
10350 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10352 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
10354 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
10358 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
10359 _lt_dar_single_mod='$single_module'
10361 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
10362 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
10364 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
10366 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
10367 _lt_dsymutil='~$DSYMUTIL $lib || :'
10374 for ac_header in dlfcn.h
10376 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
10378 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
10379 cat >>confdefs.h <<_ACEOF
10380 #define HAVE_DLFCN_H 1
10389 func_stripname_cnf ()
10392 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
10393 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
10395 } # func_stripname_cnf
10408 enable_win32_dll=no
10411 # Check whether --enable-shared was given.
10412 if test "${enable_shared+set}" = set; then :
10413 enableval=$enable_shared; p=${PACKAGE-default}
10415 yes) enable_shared=yes ;;
10416 no) enable_shared=no ;;
10419 # Look at the argument we got. We use all the common list separators.
10420 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10421 for pkg in $enableval; do
10423 if test "X$pkg" = "X$p"; then
10442 # Check whether --enable-static was given.
10443 if test "${enable_static+set}" = set; then :
10444 enableval=$enable_static; p=${PACKAGE-default}
10446 yes) enable_static=yes ;;
10447 no) enable_static=no ;;
10450 # Look at the argument we got. We use all the common list separators.
10451 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10452 for pkg in $enableval; do
10454 if test "X$pkg" = "X$p"; then
10474 # Check whether --with-pic was given.
10475 if test "${with_pic+set}" = set; then :
10476 withval=$with_pic; lt_p=${PACKAGE-default}
10478 yes|no) pic_mode=$withval ;;
10481 # Look at the argument we got. We use all the common list separators.
10482 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10483 for lt_pkg in $withval; do
10485 if test "X$lt_pkg" = "X$lt_p"; then
10497 test -z "$pic_mode" && pic_mode=default
10505 # Check whether --enable-fast-install was given.
10506 if test "${enable_fast_install+set}" = set; then :
10507 enableval=$enable_fast_install; p=${PACKAGE-default}
10509 yes) enable_fast_install=yes ;;
10510 no) enable_fast_install=no ;;
10512 enable_fast_install=no
10513 # Look at the argument we got. We use all the common list separators.
10514 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
10515 for pkg in $enableval; do
10517 if test "X$pkg" = "X$p"; then
10518 enable_fast_install=yes
10525 enable_fast_install=yes
10538 # This can be used to rebuild libtool when needed
10539 LIBTOOL_DEPS="$ltmain"
10541 # Always use our own libtool.
10542 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
10573 test -z "$LN_S" && LN_S="ln -s"
10588 if test -n "${ZSH_VERSION+set}" ; then
10589 setopt NO_GLOB_SUBST
10592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
10593 $as_echo_n "checking for objdir... " >&6; }
10594 if ${lt_cv_objdir+:} false; then :
10595 $as_echo_n "(cached) " >&6
10597 rm -f .libs 2>/dev/null
10598 mkdir .libs 2>/dev/null
10599 if test -d .libs; then
10602 # MS-DOS does not allow filenames that begin with a dot.
10605 rmdir .libs 2>/dev/null
10607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
10608 $as_echo "$lt_cv_objdir" >&6; }
10609 objdir=$lt_cv_objdir
10615 cat >>confdefs.h <<_ACEOF
10616 #define LT_OBJDIR "$lt_cv_objdir/"
10624 # AIX sometimes has problems with the GCC collect2 program. For some
10625 # reason, if we set the COLLECT_NAMES environment variable, the problems
10626 # vanish in a puff of smoke.
10627 if test "X${COLLECT_NAMES+set}" != Xset; then
10629 export COLLECT_NAMES
10634 # Global variables:
10636 can_build_shared=yes
10638 # All known linkers require a `.a' archive for static linking (except MSVC,
10639 # which needs '.lib').
10642 with_gnu_ld="$lt_cv_prog_gnu_ld"
10645 old_CFLAGS="$CFLAGS"
10647 # Set sane defaults for various variables
10648 test -z "$CC" && CC=cc
10649 test -z "$LTCC" && LTCC=$CC
10650 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
10651 test -z "$LD" && LD=ld
10652 test -z "$ac_objext" && ac_objext=o
10654 for cc_temp in $compiler""; do
10656 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
10657 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
10662 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
10665 # Only perform the check for file, if the check method requires it
10666 test -z "$MAGIC_CMD" && MAGIC_CMD=file
10667 case $deplibs_check_method in
10669 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
10670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
10671 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
10672 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10673 $as_echo_n "(cached) " >&6
10677 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10680 lt_save_MAGIC_CMD="$MAGIC_CMD"
10681 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10682 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10683 for ac_dir in $ac_dummy; do
10685 test -z "$ac_dir" && ac_dir=.
10686 if test -f $ac_dir/${ac_tool_prefix}file; then
10687 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
10688 if test -n "$file_magic_test_file"; then
10689 case $deplibs_check_method in
10691 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10692 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10693 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10694 $EGREP "$file_magic_regex" > /dev/null; then
10699 *** Warning: the command libtool uses to detect shared libraries,
10700 *** $file_magic_cmd, produces output that libtool cannot recognize.
10701 *** The result is that libtool may fail to recognize shared libraries
10702 *** as such. This will affect the creation of libtool libraries that
10703 *** depend on shared libraries, but programs linked with such libtool
10704 *** libraries will work regardless of this problem. Nevertheless, you
10705 *** may want to report the problem to your system manager and/or to
10706 *** bug-libtool@gnu.org
10716 MAGIC_CMD="$lt_save_MAGIC_CMD"
10721 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10722 if test -n "$MAGIC_CMD"; then
10723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10724 $as_echo "$MAGIC_CMD" >&6; }
10726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10727 $as_echo "no" >&6; }
10734 if test -z "$lt_cv_path_MAGIC_CMD"; then
10735 if test -n "$ac_tool_prefix"; then
10736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
10737 $as_echo_n "checking for file... " >&6; }
10738 if ${lt_cv_path_MAGIC_CMD+:} false; then :
10739 $as_echo_n "(cached) " >&6
10743 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
10746 lt_save_MAGIC_CMD="$MAGIC_CMD"
10747 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
10748 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
10749 for ac_dir in $ac_dummy; do
10751 test -z "$ac_dir" && ac_dir=.
10752 if test -f $ac_dir/file; then
10753 lt_cv_path_MAGIC_CMD="$ac_dir/file"
10754 if test -n "$file_magic_test_file"; then
10755 case $deplibs_check_method in
10757 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
10758 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10759 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
10760 $EGREP "$file_magic_regex" > /dev/null; then
10765 *** Warning: the command libtool uses to detect shared libraries,
10766 *** $file_magic_cmd, produces output that libtool cannot recognize.
10767 *** The result is that libtool may fail to recognize shared libraries
10768 *** as such. This will affect the creation of libtool libraries that
10769 *** depend on shared libraries, but programs linked with such libtool
10770 *** libraries will work regardless of this problem. Nevertheless, you
10771 *** may want to report the problem to your system manager and/or to
10772 *** bug-libtool@gnu.org
10782 MAGIC_CMD="$lt_save_MAGIC_CMD"
10787 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
10788 if test -n "$MAGIC_CMD"; then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
10790 $as_echo "$MAGIC_CMD" >&6; }
10792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10793 $as_echo "no" >&6; }
10806 # Use C for the default configuration in the libtool script
10810 ac_cpp='$CPP $CPPFLAGS'
10811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10816 # Source file extension for C test sources.
10819 # Object file extension for compiled C test sources.
10823 # Code to be used in simple compile tests
10824 lt_simple_compile_test_code="int some_variable = 0;"
10826 # Code to be used in simple link tests
10827 lt_simple_link_test_code='int main(){return(0);}'
10835 # If no C compiler was specified, use CC.
10838 # If no C compiler flags were specified, use CFLAGS.
10839 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
10841 # Allow CC to be a program name with arguments.
10844 # Save the default compiler, since it gets overwritten when the other
10845 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
10846 compiler_DEFAULT=$CC
10848 # save warnings/boilerplate of simple test code
10849 ac_outfile=conftest.$ac_objext
10850 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
10851 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10852 _lt_compiler_boilerplate=`cat conftest.err`
10855 ac_outfile=conftest.$ac_objext
10856 echo "$lt_simple_link_test_code" >conftest.$ac_ext
10857 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
10858 _lt_linker_boilerplate=`cat conftest.err`
10863 ## There is no encapsulation within the following macros, do not change
10864 ## the running order or otherwise move them around unless you know exactly
10865 ## what you are doing...
10866 if test -n "$compiler"; then
10868 lt_prog_compiler_no_builtin_flag=
10870 if test "$GCC" = yes; then
10871 case $cc_basename in
10873 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
10875 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
10878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
10879 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
10880 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
10881 $as_echo_n "(cached) " >&6
10883 lt_cv_prog_compiler_rtti_exceptions=no
10884 ac_outfile=conftest.$ac_objext
10885 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10886 lt_compiler_flag="-fno-rtti -fno-exceptions"
10887 # Insert the option either (1) after the last *FLAGS variable, or
10888 # (2) before a word containing "conftest.", or (3) at the end.
10889 # Note that $ac_compile itself does not contain backslashes and begins
10890 # with a dollar sign (not a hyphen), so the echo should work correctly.
10891 # The option is referenced via a variable to avoid confusing sed.
10892 lt_compile=`echo "$ac_compile" | $SED \
10893 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10894 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10895 -e 's:$: $lt_compiler_flag:'`
10896 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
10897 (eval "$lt_compile" 2>conftest.err)
10899 cat conftest.err >&5
10900 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10901 if (exit $ac_status) && test -s "$ac_outfile"; then
10902 # The compiler can only warn and ignore the option if not recognized
10903 # So say no if there are warnings other than the usual output.
10904 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
10905 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10906 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
10907 lt_cv_prog_compiler_rtti_exceptions=yes
10913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
10914 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
10916 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
10917 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
10929 lt_prog_compiler_wl=
10930 lt_prog_compiler_pic=
10931 lt_prog_compiler_static=
10934 if test "$GCC" = yes; then
10935 lt_prog_compiler_wl='-Wl,'
10936 lt_prog_compiler_static='-static'
10940 # All AIX code is PIC.
10941 if test "$host_cpu" = ia64; then
10942 # AIX 5 now supports IA64 processor
10943 lt_prog_compiler_static='-Bstatic'
10950 # see comment about AmigaOS4 .so support
10951 lt_prog_compiler_pic='-fPIC'
10954 # FIXME: we need at least 68020 code to build shared libraries, but
10955 # adding the `-m68020' flag to GCC prevents building anything better,
10957 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
10962 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
10963 # PIC is the default for these OSes.
10966 mingw* | cygwin* | pw32* | os2* | cegcc*)
10967 # This hack is so that the source file can tell whether it is being
10968 # built for inclusion in a dll (and should export symbols for example).
10969 # Although the cygwin gcc ignores -fPIC, still need this for old-style
10970 # (--disable-auto-import) libraries
10971 lt_prog_compiler_pic='-DDLL_EXPORT'
10974 darwin* | rhapsody*)
10975 # PIC is the default on this platform
10976 # Common symbols not allowed in MH_DYLIB files
10977 lt_prog_compiler_pic='-fno-common'
10981 # PIC is the default for Haiku.
10982 # The "-static" flag exists, but is broken.
10983 lt_prog_compiler_static=
10987 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
10988 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
10989 # sets the default TLS model and affects inlining.
10995 lt_prog_compiler_pic='-fPIC'
11001 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
11002 # Instead, we relocate shared libraries at runtime.
11006 # Just because we use GCC doesn't mean we suddenly get shared libraries
11007 # on systems that don't support them.
11008 lt_prog_compiler_can_build_shared=no
11013 # QNX uses GNU C++, but need to define -shared option too, otherwise
11014 # it will coredump.
11015 lt_prog_compiler_pic='-fPIC -shared'
11019 if test -d /usr/nec; then
11020 lt_prog_compiler_pic=-Kconform_pic
11025 lt_prog_compiler_pic='-fPIC'
11029 case $cc_basename in
11030 nvcc*) # Cuda Compiler Driver 2.2
11031 lt_prog_compiler_wl='-Xlinker '
11032 if test -n "$lt_prog_compiler_pic"; then
11033 lt_prog_compiler_pic="-Xcompiler $lt_prog_compiler_pic"
11038 # PORTME Check for flag to pass linker flags through the system compiler.
11041 lt_prog_compiler_wl='-Wl,'
11042 if test "$host_cpu" = ia64; then
11043 # AIX 5 now supports IA64 processor
11044 lt_prog_compiler_static='-Bstatic'
11046 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
11050 mingw* | cygwin* | pw32* | os2* | cegcc*)
11051 # This hack is so that the source file can tell whether it is being
11052 # built for inclusion in a dll (and should export symbols for example).
11053 lt_prog_compiler_pic='-DDLL_EXPORT'
11056 hpux9* | hpux10* | hpux11*)
11057 lt_prog_compiler_wl='-Wl,'
11058 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
11059 # not for PA HP-UX.
11065 lt_prog_compiler_pic='+Z'
11068 # Is there a better lt_prog_compiler_static that works with the bundled CC?
11069 lt_prog_compiler_static='${wl}-a ${wl}archive'
11072 irix5* | irix6* | nonstopux*)
11073 lt_prog_compiler_wl='-Wl,'
11074 # PIC (with -KPIC) is the default.
11075 lt_prog_compiler_static='-non_shared'
11078 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11079 case $cc_basename in
11080 # old Intel for x86_64 which still supported -KPIC.
11082 lt_prog_compiler_wl='-Wl,'
11083 lt_prog_compiler_pic='-KPIC'
11084 lt_prog_compiler_static='-static'
11086 # icc used to be incompatible with GCC.
11087 # ICC 10 doesn't accept -KPIC any more.
11089 lt_prog_compiler_wl='-Wl,'
11090 lt_prog_compiler_pic='-fPIC'
11091 lt_prog_compiler_static='-static'
11093 # Lahey Fortran 8.1.
11095 lt_prog_compiler_wl='-Wl,'
11096 lt_prog_compiler_pic='--shared'
11097 lt_prog_compiler_static='--static'
11100 # NAG Fortran compiler
11101 lt_prog_compiler_wl='-Wl,-Wl,,'
11102 lt_prog_compiler_pic='-PIC'
11103 lt_prog_compiler_static='-Bstatic'
11105 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
11106 # Portland Group compilers (*not* the Pentium gcc compiler,
11107 # which looks to be a dead project)
11108 lt_prog_compiler_wl='-Wl,'
11109 lt_prog_compiler_pic='-fpic'
11110 lt_prog_compiler_static='-Bstatic'
11113 lt_prog_compiler_wl='-Wl,'
11114 # All Alpha code is PIC.
11115 lt_prog_compiler_static='-non_shared'
11117 xl* | bgxl* | bgf* | mpixl*)
11118 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
11119 lt_prog_compiler_wl='-Wl,'
11120 lt_prog_compiler_pic='-qpic'
11121 lt_prog_compiler_static='-qstaticlink'
11124 case `$CC -V 2>&1 | sed 5q` in
11125 *Sun\ Ceres\ Fortran* | *Sun*Fortran*\ [1-7].* | *Sun*Fortran*\ 8.[0-3]*)
11126 # Sun Fortran 8.3 passes all unrecognized flags to the linker
11127 lt_prog_compiler_pic='-KPIC'
11128 lt_prog_compiler_static='-Bstatic'
11129 lt_prog_compiler_wl=''
11131 *Sun\ F* | *Sun*Fortran*)
11132 lt_prog_compiler_pic='-KPIC'
11133 lt_prog_compiler_static='-Bstatic'
11134 lt_prog_compiler_wl='-Qoption ld '
11138 lt_prog_compiler_pic='-KPIC'
11139 lt_prog_compiler_static='-Bstatic'
11140 lt_prog_compiler_wl='-Wl,'
11142 *Intel*\ [CF]*Compiler*)
11143 lt_prog_compiler_wl='-Wl,'
11144 lt_prog_compiler_pic='-fPIC'
11145 lt_prog_compiler_static='-static'
11148 lt_prog_compiler_wl='-Wl,'
11149 lt_prog_compiler_pic='-fpic'
11150 lt_prog_compiler_static='-Bstatic'
11158 lt_prog_compiler_pic='-KPIC'
11159 lt_prog_compiler_static='-Bstatic'
11163 # QNX uses GNU C++, but need to define -shared option too, otherwise
11164 # it will coredump.
11165 lt_prog_compiler_pic='-fPIC -shared'
11168 osf3* | osf4* | osf5*)
11169 lt_prog_compiler_wl='-Wl,'
11170 # All OSF/1 code is PIC.
11171 lt_prog_compiler_static='-non_shared'
11175 lt_prog_compiler_static='-non_shared'
11179 lt_prog_compiler_pic='-KPIC'
11180 lt_prog_compiler_static='-Bstatic'
11181 case $cc_basename in
11182 f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
11183 lt_prog_compiler_wl='-Qoption ld ';;
11185 lt_prog_compiler_wl='-Wl,';;
11190 lt_prog_compiler_wl='-Qoption ld '
11191 lt_prog_compiler_pic='-PIC'
11192 lt_prog_compiler_static='-Bstatic'
11195 sysv4 | sysv4.2uw2* | sysv4.3*)
11196 lt_prog_compiler_wl='-Wl,'
11197 lt_prog_compiler_pic='-KPIC'
11198 lt_prog_compiler_static='-Bstatic'
11202 if test -d /usr/nec ;then
11203 lt_prog_compiler_pic='-Kconform_pic'
11204 lt_prog_compiler_static='-Bstatic'
11208 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
11209 lt_prog_compiler_wl='-Wl,'
11210 lt_prog_compiler_pic='-KPIC'
11211 lt_prog_compiler_static='-Bstatic'
11215 lt_prog_compiler_wl='-Wl,'
11216 lt_prog_compiler_can_build_shared=no
11220 lt_prog_compiler_pic='-pic'
11221 lt_prog_compiler_static='-Bstatic'
11225 lt_prog_compiler_can_build_shared=no
11231 # For platforms which do not support PIC, -DPIC is meaningless:
11233 lt_prog_compiler_pic=
11236 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
11241 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
11242 if ${lt_cv_prog_compiler_pic+:} false; then :
11243 $as_echo_n "(cached) " >&6
11245 lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
11247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
11248 $as_echo "$lt_cv_prog_compiler_pic" >&6; }
11249 lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
11252 # Check to make sure the PIC flag actually works.
11254 if test -n "$lt_prog_compiler_pic"; then
11255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
11256 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
11257 if ${lt_cv_prog_compiler_pic_works+:} false; then :
11258 $as_echo_n "(cached) " >&6
11260 lt_cv_prog_compiler_pic_works=no
11261 ac_outfile=conftest.$ac_objext
11262 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11263 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
11264 # Insert the option either (1) after the last *FLAGS variable, or
11265 # (2) before a word containing "conftest.", or (3) at the end.
11266 # Note that $ac_compile itself does not contain backslashes and begins
11267 # with a dollar sign (not a hyphen), so the echo should work correctly.
11268 # The option is referenced via a variable to avoid confusing sed.
11269 lt_compile=`echo "$ac_compile" | $SED \
11270 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11271 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11272 -e 's:$: $lt_compiler_flag:'`
11273 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11274 (eval "$lt_compile" 2>conftest.err)
11276 cat conftest.err >&5
11277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11278 if (exit $ac_status) && test -s "$ac_outfile"; then
11279 # The compiler can only warn and ignore the option if not recognized
11280 # So say no if there are warnings other than the usual output.
11281 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
11282 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11283 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
11284 lt_cv_prog_compiler_pic_works=yes
11290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
11291 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
11293 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
11294 case $lt_prog_compiler_pic in
11296 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
11299 lt_prog_compiler_pic=
11300 lt_prog_compiler_can_build_shared=no
11316 # Check to make sure the static flag actually works.
11318 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
11319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
11320 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
11321 if ${lt_cv_prog_compiler_static_works+:} false; then :
11322 $as_echo_n "(cached) " >&6
11324 lt_cv_prog_compiler_static_works=no
11325 save_LDFLAGS="$LDFLAGS"
11326 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
11327 echo "$lt_simple_link_test_code" > conftest.$ac_ext
11328 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
11329 # The linker can only warn and ignore the option if not recognized
11330 # So say no if there are warnings
11331 if test -s conftest.err; then
11332 # Append any errors to the config.log.
11333 cat conftest.err 1>&5
11334 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
11335 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
11336 if diff conftest.exp conftest.er2 >/dev/null; then
11337 lt_cv_prog_compiler_static_works=yes
11340 lt_cv_prog_compiler_static_works=yes
11344 LDFLAGS="$save_LDFLAGS"
11347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
11348 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
11350 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
11353 lt_prog_compiler_static=
11362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11363 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11364 if ${lt_cv_prog_compiler_c_o+:} false; then :
11365 $as_echo_n "(cached) " >&6
11367 lt_cv_prog_compiler_c_o=no
11368 $RM -r conftest 2>/dev/null
11372 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11374 lt_compiler_flag="-o out/conftest2.$ac_objext"
11375 # Insert the option either (1) after the last *FLAGS variable, or
11376 # (2) before a word containing "conftest.", or (3) at the end.
11377 # Note that $ac_compile itself does not contain backslashes and begins
11378 # with a dollar sign (not a hyphen), so the echo should work correctly.
11379 lt_compile=`echo "$ac_compile" | $SED \
11380 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11381 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11382 -e 's:$: $lt_compiler_flag:'`
11383 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11384 (eval "$lt_compile" 2>out/conftest.err)
11386 cat out/conftest.err >&5
11387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11388 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11390 # The compiler can only warn and ignore the option if not recognized
11391 # So say no if there are warnings
11392 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11393 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11394 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11395 lt_cv_prog_compiler_c_o=yes
11400 # SGI C++ compiler will create directory out/ii_files/ for
11401 # template instantiation
11402 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11403 $RM out/* && rmdir out
11409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11410 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
11418 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
11419 if ${lt_cv_prog_compiler_c_o+:} false; then :
11420 $as_echo_n "(cached) " >&6
11422 lt_cv_prog_compiler_c_o=no
11423 $RM -r conftest 2>/dev/null
11427 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
11429 lt_compiler_flag="-o out/conftest2.$ac_objext"
11430 # Insert the option either (1) after the last *FLAGS variable, or
11431 # (2) before a word containing "conftest.", or (3) at the end.
11432 # Note that $ac_compile itself does not contain backslashes and begins
11433 # with a dollar sign (not a hyphen), so the echo should work correctly.
11434 lt_compile=`echo "$ac_compile" | $SED \
11435 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
11436 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
11437 -e 's:$: $lt_compiler_flag:'`
11438 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
11439 (eval "$lt_compile" 2>out/conftest.err)
11441 cat out/conftest.err >&5
11442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
11443 if (exit $ac_status) && test -s out/conftest2.$ac_objext
11445 # The compiler can only warn and ignore the option if not recognized
11446 # So say no if there are warnings
11447 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
11448 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
11449 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
11450 lt_cv_prog_compiler_c_o=yes
11455 # SGI C++ compiler will create directory out/ii_files/ for
11456 # template instantiation
11457 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
11458 $RM out/* && rmdir out
11464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
11465 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
11470 hard_links="nottested"
11471 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
11472 # do not overwrite the value of need_locks provided by the user
11473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
11474 $as_echo_n "checking if we can lock with hard links... " >&6; }
11477 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11479 ln conftest.a conftest.b 2>&5 || hard_links=no
11480 ln conftest.a conftest.b 2>/dev/null && hard_links=no
11481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
11482 $as_echo "$hard_links" >&6; }
11483 if test "$hard_links" = no; then
11484 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
11485 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
11497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
11498 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
11501 allow_undefined_flag=
11502 always_export_symbols=no
11504 archive_expsym_cmds=
11505 compiler_needs_object=no
11506 enable_shared_with_static_runtimes=no
11507 export_dynamic_flag_spec=
11508 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11509 hardcode_automatic=no
11511 hardcode_direct_absolute=no
11512 hardcode_libdir_flag_spec=
11513 hardcode_libdir_separator=
11514 hardcode_minus_L=no
11515 hardcode_shlibpath_var=unsupported
11517 link_all_deplibs=unknown
11519 module_expsym_cmds=
11520 old_archive_from_new_cmds=
11521 old_archive_from_expsyms_cmds=
11522 thread_safe_flag_spec=
11523 whole_archive_flag_spec=
11524 # include_expsyms should be a list of space-separated symbols to be *always*
11525 # included in the symbol list
11527 # exclude_expsyms can be an extended regexp of symbols to exclude
11528 # it will be wrapped by ` (' and `)$', so one must not match beginning or
11529 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
11530 # as well as any symbol that contains `d'.
11531 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
11532 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
11533 # platforms (ab)use it in PIC code, but their linkers get confused if
11534 # the symbol is explicitly referenced. Since portable code cannot
11535 # rely on this symbol name, it's probably fine to never include it in
11536 # preloaded symbol tables.
11537 # Exclude shared library initialization/finalization symbols.
11538 extract_expsyms_cmds=
11541 cygwin* | mingw* | pw32* | cegcc*)
11542 # FIXME: the MSVC++ port hasn't been tested in a loooong time
11543 # When not using gcc, we currently assume that we are using
11544 # Microsoft Visual C++.
11545 if test "$GCC" != yes; then
11550 # we just hope/assume this is gcc and not c89 (= MSVC++)
11560 # On some targets, GNU ld is compatible enough with the native linker
11561 # that we're better off using the native interface for both.
11562 lt_use_gnu_ld_interface=no
11563 if test "$with_gnu_ld" = yes; then
11566 # The AIX port of GNU ld has always aspired to compatibility
11567 # with the native linker. However, as the warning in the GNU ld
11568 # block says, versions before 2.19.5* couldn't really create working
11569 # shared libraries, regardless of the interface used.
11570 case `$LD -v 2>&1` in
11571 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
11572 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
11573 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
11575 lt_use_gnu_ld_interface=yes
11580 lt_use_gnu_ld_interface=yes
11585 if test "$lt_use_gnu_ld_interface" = yes; then
11586 # If archive_cmds runs LD, not CC, wlarc should be empty
11589 # Set some defaults for GNU ld with shared library support. These
11590 # are reset later if shared libraries are not supported. Putting them
11591 # here allows them to be overridden if necessary.
11592 runpath_var=LD_RUN_PATH
11593 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11594 export_dynamic_flag_spec='${wl}--export-dynamic'
11595 # ancient GNU ld didn't support --whole-archive et. al.
11596 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
11597 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
11599 whole_archive_flag_spec=
11601 supports_anon_versioning=no
11602 case `$LD -v 2>&1` in
11603 *GNU\ gold*) supports_anon_versioning=yes ;;
11604 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
11605 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
11606 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
11607 *\ 2.11.*) ;; # other 2.11 versions
11608 *) supports_anon_versioning=yes ;;
11611 # See if GNU ld supports shared libraries.
11614 # On AIX/PPC, the GNU linker is very broken
11615 if test "$host_cpu" != ia64; then
11619 *** Warning: the GNU linker, at least up to release 2.19, is reported
11620 *** to be unable to reliably create shared libraries on AIX.
11621 *** Therefore, libtool is disabling shared libraries support. If you
11622 *** really care for shared libraries, you may want to install binutils
11623 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
11624 *** You will then need to restart the configuration process.
11633 # see comment about AmigaOS4 .so support
11634 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11635 archive_expsym_cmds=''
11638 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)'
11639 hardcode_libdir_flag_spec='-L$libdir'
11640 hardcode_minus_L=yes
11646 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11647 allow_undefined_flag=unsupported
11648 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
11649 # support --undefined. This deserves some investigation. FIXME
11650 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11656 cygwin* | mingw* | pw32* | cegcc*)
11657 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
11658 # as there is no search path for DLLs.
11659 hardcode_libdir_flag_spec='-L$libdir'
11660 export_dynamic_flag_spec='${wl}--export-all-symbols'
11661 allow_undefined_flag=unsupported
11662 always_export_symbols=no
11663 enable_shared_with_static_runtimes=yes
11664 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'
11665 exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
11667 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
11668 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11669 # If the export-symbols file already is a .def file (1st line
11670 # is EXPORTS), use it as is; otherwise, prepend...
11671 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
11672 cp $export_symbols $output_objdir/$soname.def;
11674 echo EXPORTS > $output_objdir/$soname.def;
11675 cat $export_symbols >> $output_objdir/$soname.def;
11677 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
11684 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11685 link_all_deplibs=yes
11690 hardcode_shlibpath_var=no
11691 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
11692 export_dynamic_flag_spec='${wl}-E'
11693 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
11694 # Instead, shared libraries are loaded at an image base (0x10000000 by
11695 # default) and relocated if they conflict, which is a slow very memory
11696 # consuming and fragmenting process. To avoid this, we pick a random,
11697 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
11698 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
11699 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
11700 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'
11703 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
11705 if test "$host_os" = linux-dietlibc; then
11706 case $cc_basename in
11707 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
11710 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
11711 && test "$tmp_diet" = no
11713 tmp_addflag=' $pic_flag'
11714 tmp_sharedflag='-shared'
11715 case $cc_basename,$host_cpu in
11716 pgcc*) # Portland Group C compiler
11717 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'
11718 tmp_addflag=' $pic_flag'
11720 pgf77* | pgf90* | pgf95* | pgfortran*)
11721 # Portland Group f77 and f90 compilers
11722 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'
11723 tmp_addflag=' $pic_flag -Mnomain' ;;
11724 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
11725 tmp_addflag=' -i_dynamic' ;;
11726 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
11727 tmp_addflag=' -i_dynamic -nofor_main' ;;
11728 ifc* | ifort*) # Intel Fortran compiler
11729 tmp_addflag=' -nofor_main' ;;
11730 lf95*) # Lahey Fortran 8.1
11731 whole_archive_flag_spec=
11732 tmp_sharedflag='--shared' ;;
11733 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
11734 tmp_sharedflag='-qmkshrobj'
11736 nvcc*) # Cuda Compiler Driver 2.2
11737 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'
11738 compiler_needs_object=yes
11741 case `$CC -V 2>&1 | sed 5q` in
11742 *Sun\ C*) # Sun C 5.9
11743 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'
11744 compiler_needs_object=yes
11745 tmp_sharedflag='-G' ;;
11746 *Sun\ F*) # Sun Fortran 8.3
11747 tmp_sharedflag='-G' ;;
11749 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11751 if test "x$supports_anon_versioning" = xyes; then
11752 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11753 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11754 echo "local: *; };" >> $output_objdir/$libname.ver~
11755 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
11758 case $cc_basename in
11759 xlf* | bgf* | bgxlf* | mpixlf*)
11760 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
11761 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
11762 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11763 archive_cmds='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
11764 if test "x$supports_anon_versioning" = xyes; then
11765 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
11766 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
11767 echo "local: *; };" >> $output_objdir/$libname.ver~
11768 $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
11778 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11779 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
11782 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11783 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11788 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
11792 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
11793 *** create shared libraries on Solaris systems. Therefore, libtool
11794 *** is disabling shared libraries support. We urge you to upgrade GNU
11795 *** binutils to release 2.9.1 or newer. Another option is to modify
11796 *** your PATH or compiler configuration so that the native linker is
11797 *** used, and then restart.
11800 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11801 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11802 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11808 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
11809 case `$LD -v 2>&1` in
11810 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
11814 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
11815 *** reliably create shared libraries on SCO systems. Therefore, libtool
11816 *** is disabling shared libraries support. We urge you to upgrade GNU
11817 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
11818 *** your PATH or compiler configuration so that the native linker is
11819 *** used, and then restart.
11824 # For security reasons, it is highly recommended that you always
11825 # use absolute paths for naming shared libraries, and exclude the
11826 # DT_RUNPATH tag from executables and libraries. But doing so
11827 # requires that you compile everything twice, which is a pain.
11828 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11829 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
11830 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11831 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11840 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
11842 hardcode_direct=yes
11843 hardcode_shlibpath_var=no
11847 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
11848 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
11849 archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
11856 if test "$ld_shlibs" = no; then
11858 hardcode_libdir_flag_spec=
11859 export_dynamic_flag_spec=
11860 whole_archive_flag_spec=
11863 # PORTME fill in a description of your system's linker (not GNU ld)
11866 allow_undefined_flag=unsupported
11867 always_export_symbols=yes
11868 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'
11869 # Note: this linker hardcodes the directories in LIBPATH if there
11870 # are no directories specified by -L.
11871 hardcode_minus_L=yes
11872 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
11873 # Neither direct hardcoding nor static linking is supported with a
11875 hardcode_direct=unsupported
11880 if test "$host_cpu" = ia64; then
11881 # On IA64, the linker does run time linking by default, so we don't
11882 # have to do anything special.
11883 aix_use_runtimelinking=no
11884 exp_sym_flag='-Bexport'
11887 # If we're using GNU nm, then we don't want the "-C" option.
11888 # -C means demangle to AIX nm, but means don't demangle with GNU nm
11889 # Also, AIX nm treats weak defined symbols like other global
11890 # defined symbols, whereas GNU nm marks them as "W".
11891 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
11892 export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11894 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
11896 aix_use_runtimelinking=no
11898 # Test if we are trying to use run time linking or normal
11899 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
11900 # need to do runtime linking.
11901 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
11902 for ld_flag in $LDFLAGS; do
11903 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
11904 aix_use_runtimelinking=yes
11911 exp_sym_flag='-bexport'
11912 no_entry_flag='-bnoentry'
11915 # When large executables or shared objects are built, AIX ld can
11916 # have problems creating the table of contents. If linking a library
11917 # or program results in "error TOC overflow" add -mminimal-toc to
11918 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
11919 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
11922 hardcode_direct=yes
11923 hardcode_direct_absolute=yes
11924 hardcode_libdir_separator=':'
11925 link_all_deplibs=yes
11926 file_list_spec='${wl}-f,'
11928 if test "$GCC" = yes; then
11929 case $host_os in aix4.[012]|aix4.[012].*)
11930 # We only want to do this on AIX 4.2 and lower, the check
11931 # below for broken collect2 doesn't work under 4.3+
11932 collect2name=`${CC} -print-prog-name=collect2`
11933 if test -f "$collect2name" &&
11934 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
11936 # We have reworked collect2
11939 # We have old collect2
11940 hardcode_direct=unsupported
11941 # It fails to find uninstalled libraries when the uninstalled
11942 # path is not listed in the libpath. Setting hardcode_minus_L
11943 # to unsupported forces relinking
11944 hardcode_minus_L=yes
11945 hardcode_libdir_flag_spec='-L$libdir'
11946 hardcode_libdir_separator=
11950 shared_flag='-shared'
11951 if test "$aix_use_runtimelinking" = yes; then
11952 shared_flag="$shared_flag "'${wl}-G'
11956 if test "$host_cpu" = ia64; then
11957 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
11958 # chokes on -Wl,-G. The following line is correct:
11961 if test "$aix_use_runtimelinking" = yes; then
11962 shared_flag='${wl}-G'
11964 shared_flag='${wl}-bM:SRE'
11969 export_dynamic_flag_spec='${wl}-bexpall'
11970 # It seems that -bexpall does not export symbols beginning with
11971 # underscore (_), so it is better to generate a list of symbols to export.
11972 always_export_symbols=yes
11973 if test "$aix_use_runtimelinking" = yes; then
11974 # Warning - without using the other runtime loading flags (-brtl),
11975 # -berok will link without error, but may produce a broken library.
11976 allow_undefined_flag='-berok'
11977 # Determine the default libpath from the value encoded in an
11978 # empty executable.
11979 if test "${lt_cv_aix_libpath+set}" = set; then
11980 aix_libpath=$lt_cv_aix_libpath
11982 if ${lt_cv_aix_libpath_+:} false; then :
11983 $as_echo_n "(cached) " >&6
11985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11986 /* end confdefs.h. */
11996 if ac_fn_c_try_link "$LINENO"; then :
11998 lt_aix_libpath_sed='
11999 /Import File Strings/,/^$/ {
12001 s/^0 *\([^ ]*\) *$/\1/
12005 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12006 # Check for a 64-bit object if we didn't find anything.
12007 if test -z "$lt_cv_aix_libpath_"; then
12008 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12011 rm -f core conftest.err conftest.$ac_objext \
12012 conftest$ac_exeext conftest.$ac_ext
12013 if test -z "$lt_cv_aix_libpath_"; then
12014 lt_cv_aix_libpath_="/usr/lib:/lib"
12019 aix_libpath=$lt_cv_aix_libpath_
12022 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12023 archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
12025 if test "$host_cpu" = ia64; then
12026 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
12027 allow_undefined_flag="-z nodefs"
12028 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"
12030 # Determine the default libpath from the value encoded in an
12031 # empty executable.
12032 if test "${lt_cv_aix_libpath+set}" = set; then
12033 aix_libpath=$lt_cv_aix_libpath
12035 if ${lt_cv_aix_libpath_+:} false; then :
12036 $as_echo_n "(cached) " >&6
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12049 if ac_fn_c_try_link "$LINENO"; then :
12051 lt_aix_libpath_sed='
12052 /Import File Strings/,/^$/ {
12054 s/^0 *\([^ ]*\) *$/\1/
12058 lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12059 # Check for a 64-bit object if we didn't find anything.
12060 if test -z "$lt_cv_aix_libpath_"; then
12061 lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12064 rm -f core conftest.err conftest.$ac_objext \
12065 conftest$ac_exeext conftest.$ac_ext
12066 if test -z "$lt_cv_aix_libpath_"; then
12067 lt_cv_aix_libpath_="/usr/lib:/lib"
12072 aix_libpath=$lt_cv_aix_libpath_
12075 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
12076 # Warning - without using the other run time loading flags,
12077 # -berok will link without error, but may produce a broken library.
12078 no_undefined_flag=' ${wl}-bernotok'
12079 allow_undefined_flag=' ${wl}-berok'
12080 if test "$with_gnu_ld" = yes; then
12081 # We only use this code for GNU lds that support --whole-archive.
12082 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12084 # Exported symbols can be pulled into shared objects from archives
12085 whole_archive_flag_spec='$convenience'
12087 archive_cmds_need_lc=yes
12088 # This is similar to how AIX traditionally builds its shared libraries.
12089 archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
12097 # see comment about AmigaOS4 .so support
12098 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12099 archive_expsym_cmds=''
12102 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)'
12103 hardcode_libdir_flag_spec='-L$libdir'
12104 hardcode_minus_L=yes
12110 export_dynamic_flag_spec=-rdynamic
12113 cygwin* | mingw* | pw32* | cegcc*)
12114 # When not using gcc, we currently assume that we are using
12115 # Microsoft Visual C++.
12116 # hardcode_libdir_flag_spec is actually meaningless, as there is
12117 # no search path for DLLs.
12118 case $cc_basename in
12121 hardcode_libdir_flag_spec=' '
12122 allow_undefined_flag=unsupported
12123 always_export_symbols=yes
12125 # Tell ltmain to make .lib files, not .a files.
12127 # Tell ltmain to make .dll files, not .so files.
12129 # FIXME: Setting linknames here is a bad hack.
12130 archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
12131 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12132 sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
12134 sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
12136 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
12138 # The linker will not automatically build a static lib if we build a DLL.
12139 # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
12140 enable_shared_with_static_runtimes=yes
12141 exclude_expsyms='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
12142 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
12144 old_postinstall_cmds='chmod 644 $oldlib'
12145 postlink_cmds='lt_outputfile="@OUTPUT@"~
12146 lt_tool_outputfile="@TOOL_OUTPUT@"~
12147 case $lt_outputfile in
12150 lt_outputfile="$lt_outputfile.exe"
12151 lt_tool_outputfile="$lt_tool_outputfile.exe"
12154 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
12155 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
12156 $RM "$lt_outputfile.manifest";
12160 # Assume MSVC wrapper
12161 hardcode_libdir_flag_spec=' '
12162 allow_undefined_flag=unsupported
12163 # Tell ltmain to make .lib files, not .a files.
12165 # Tell ltmain to make .dll files, not .so files.
12167 # FIXME: Setting linknames here is a bad hack.
12168 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
12169 # The linker will automatically build a .lib file if we build a DLL.
12170 old_archive_from_new_cmds='true'
12171 # FIXME: Should let the user specify the lib program.
12172 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
12173 enable_shared_with_static_runtimes=yes
12178 darwin* | rhapsody*)
12181 archive_cmds_need_lc=no
12183 hardcode_automatic=yes
12184 hardcode_shlibpath_var=unsupported
12185 if test "$lt_cv_ld_force_load" = "yes"; then
12186 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\"`'
12189 whole_archive_flag_spec=''
12191 link_all_deplibs=yes
12192 allow_undefined_flag="$_lt_dar_allow_undefined"
12193 case $cc_basename in
12194 ifort*) _lt_dar_can_shared=yes ;;
12195 *) _lt_dar_can_shared=$GCC ;;
12197 if test "$_lt_dar_can_shared" = "yes"; then
12198 output_verbose_link_cmd=func_echo_all
12199 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
12200 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12201 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}"
12202 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}"
12211 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12212 hardcode_libdir_flag_spec='-L$libdir'
12213 hardcode_shlibpath_var=no
12216 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
12217 # support. Future versions do this automatically, but an explicit c++rt0.o
12218 # does not break anything, and helps significantly (at the cost of a little
12221 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
12222 hardcode_libdir_flag_spec='-R$libdir'
12223 hardcode_direct=yes
12224 hardcode_shlibpath_var=no
12227 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
12229 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12230 hardcode_direct=yes
12231 hardcode_minus_L=yes
12232 hardcode_shlibpath_var=no
12235 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
12236 freebsd* | dragonfly*)
12237 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12238 hardcode_libdir_flag_spec='-R$libdir'
12239 hardcode_direct=yes
12240 hardcode_shlibpath_var=no
12244 if test "$GCC" = yes; then
12245 archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12247 archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12249 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12250 hardcode_libdir_separator=:
12251 hardcode_direct=yes
12253 # hardcode_minus_L: Not really in the search PATH,
12254 # but as the default location of the library.
12255 hardcode_minus_L=yes
12256 export_dynamic_flag_spec='${wl}-E'
12260 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12261 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12263 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12265 if test "$with_gnu_ld" = no; then
12266 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12267 hardcode_libdir_separator=:
12268 hardcode_direct=yes
12269 hardcode_direct_absolute=yes
12270 export_dynamic_flag_spec='${wl}-E'
12271 # hardcode_minus_L: Not really in the search PATH,
12272 # but as the default location of the library.
12273 hardcode_minus_L=yes
12278 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
12281 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12284 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12287 archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12293 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12296 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
12300 # Older versions of the 11.00 compiler do not understand -b yet
12301 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
12302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
12303 $as_echo_n "checking if $CC understands -b... " >&6; }
12304 if ${lt_cv_prog_compiler__b+:} false; then :
12305 $as_echo_n "(cached) " >&6
12307 lt_cv_prog_compiler__b=no
12308 save_LDFLAGS="$LDFLAGS"
12309 LDFLAGS="$LDFLAGS -b"
12310 echo "$lt_simple_link_test_code" > conftest.$ac_ext
12311 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12312 # The linker can only warn and ignore the option if not recognized
12313 # So say no if there are warnings
12314 if test -s conftest.err; then
12315 # Append any errors to the config.log.
12316 cat conftest.err 1>&5
12317 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
12318 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
12319 if diff conftest.exp conftest.er2 >/dev/null; then
12320 lt_cv_prog_compiler__b=yes
12323 lt_cv_prog_compiler__b=yes
12327 LDFLAGS="$save_LDFLAGS"
12330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
12331 $as_echo "$lt_cv_prog_compiler__b" >&6; }
12333 if test x"$lt_cv_prog_compiler__b" = xyes; then
12334 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
12336 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
12342 if test "$with_gnu_ld" = no; then
12343 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
12344 hardcode_libdir_separator=:
12349 hardcode_shlibpath_var=no
12352 hardcode_direct=yes
12353 hardcode_direct_absolute=yes
12354 export_dynamic_flag_spec='${wl}-E'
12356 # hardcode_minus_L: Not really in the search PATH,
12357 # but as the default location of the library.
12358 hardcode_minus_L=yes
12364 irix5* | irix6* | nonstopux*)
12365 if test "$GCC" = yes; then
12366 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'
12367 # Try to use the -exported_symbol ld option, if it does not
12368 # work, assume that -exports_file does not work either and
12369 # implicitly export all symbols.
12370 # This should be the same for all languages, so no per-tag cache variable.
12371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
12372 $as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
12373 if ${lt_cv_irix_exported_symbol+:} false; then :
12374 $as_echo_n "(cached) " >&6
12376 save_LDFLAGS="$LDFLAGS"
12377 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
12378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12379 /* end confdefs.h. */
12380 int foo (void) { return 0; }
12382 if ac_fn_c_try_link "$LINENO"; then :
12383 lt_cv_irix_exported_symbol=yes
12385 lt_cv_irix_exported_symbol=no
12387 rm -f core conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389 LDFLAGS="$save_LDFLAGS"
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
12392 $as_echo "$lt_cv_irix_exported_symbol" >&6; }
12393 if test "$lt_cv_irix_exported_symbol" = yes; then
12394 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'
12397 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'
12398 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'
12400 archive_cmds_need_lc='no'
12401 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12402 hardcode_libdir_separator=:
12404 link_all_deplibs=yes
12408 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
12409 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
12411 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
12413 hardcode_libdir_flag_spec='-R$libdir'
12414 hardcode_direct=yes
12415 hardcode_shlibpath_var=no
12419 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12420 hardcode_direct=yes
12421 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12422 hardcode_libdir_separator=:
12423 hardcode_shlibpath_var=no
12430 if test -f /usr/libexec/ld.so; then
12431 hardcode_direct=yes
12432 hardcode_shlibpath_var=no
12433 hardcode_direct_absolute=yes
12434 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12435 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12436 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
12437 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12438 export_dynamic_flag_spec='${wl}-E'
12441 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
12442 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
12443 hardcode_libdir_flag_spec='-R$libdir'
12446 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
12447 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
12457 hardcode_libdir_flag_spec='-L$libdir'
12458 hardcode_minus_L=yes
12459 allow_undefined_flag=unsupported
12460 archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
12461 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
12465 if test "$GCC" = yes; then
12466 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12467 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'
12469 allow_undefined_flag=' -expect_unresolved \*'
12470 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'
12472 archive_cmds_need_lc='no'
12473 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12474 hardcode_libdir_separator=:
12477 osf4* | osf5*) # as osf3* with the addition of -msym flag
12478 if test "$GCC" = yes; then
12479 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
12480 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'
12481 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
12483 allow_undefined_flag=' -expect_unresolved \*'
12484 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'
12485 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~
12486 $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'
12488 # Both c and cxx compiler support -rpath directly
12489 hardcode_libdir_flag_spec='-rpath $libdir'
12491 archive_cmds_need_lc='no'
12492 hardcode_libdir_separator=:
12496 no_undefined_flag=' -z defs'
12497 if test "$GCC" = yes; then
12499 archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
12500 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12501 $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'
12503 case `$CC -V 2>&1` in
12506 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
12507 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12508 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
12512 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
12513 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12514 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
12518 hardcode_libdir_flag_spec='-R$libdir'
12519 hardcode_shlibpath_var=no
12521 solaris2.[0-5] | solaris2.[0-5].*) ;;
12523 # The compiler driver will combine and reorder linker options,
12524 # but understands `-z linker_flag'. GCC discards it without `$wl',
12525 # but is careful enough not to reorder.
12526 # Supported since Solaris 2.6 (maybe 2.5.1?)
12527 if test "$GCC" = yes; then
12528 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
12530 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
12534 link_all_deplibs=yes
12538 if test "x$host_vendor" = xsequent; then
12539 # Use $CC to link under sequent, because it throws in some extra .o
12540 # files that make .init and .fini sections work.
12541 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
12543 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
12545 hardcode_libdir_flag_spec='-L$libdir'
12546 hardcode_direct=yes
12547 hardcode_minus_L=yes
12548 hardcode_shlibpath_var=no
12552 case $host_vendor in
12554 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12555 hardcode_direct=yes # is this really true???
12558 ## LD is ld it makes a PLAMLIB
12559 ## CC just makes a GrossModule.
12560 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
12561 reload_cmds='$CC -r -o $output$reload_objs'
12565 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12566 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
12569 runpath_var='LD_RUN_PATH'
12570 hardcode_shlibpath_var=no
12574 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12575 hardcode_shlibpath_var=no
12576 export_dynamic_flag_spec='-Bexport'
12580 if test -d /usr/nec; then
12581 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12582 hardcode_shlibpath_var=no
12583 runpath_var=LD_RUN_PATH
12584 hardcode_runpath_var=yes
12589 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
12590 no_undefined_flag='${wl}-z,text'
12591 archive_cmds_need_lc=no
12592 hardcode_shlibpath_var=no
12593 runpath_var='LD_RUN_PATH'
12595 if test "$GCC" = yes; then
12596 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12597 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12599 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12600 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12604 sysv5* | sco3.2v5* | sco5v6*)
12605 # Note: We can NOT use -z defs as we might desire, because we do not
12606 # link with -lc, and that would cause any symbols used from libc to
12607 # always be unresolved, which means just about no library would
12608 # ever link correctly. If we're not using GNU ld we use -z text
12609 # though, which does catch some bad symbols but isn't as heavy-handed
12611 no_undefined_flag='${wl}-z,text'
12612 allow_undefined_flag='${wl}-z,nodefs'
12613 archive_cmds_need_lc=no
12614 hardcode_shlibpath_var=no
12615 hardcode_libdir_flag_spec='${wl}-R,$libdir'
12616 hardcode_libdir_separator=':'
12617 link_all_deplibs=yes
12618 export_dynamic_flag_spec='${wl}-Bexport'
12619 runpath_var='LD_RUN_PATH'
12621 if test "$GCC" = yes; then
12622 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12623 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12625 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12626 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
12631 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
12632 hardcode_libdir_flag_spec='-L$libdir'
12633 hardcode_shlibpath_var=no
12641 if test x$host_vendor = xsni; then
12643 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
12644 export_dynamic_flag_spec='${wl}-Blargedynsym'
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
12651 $as_echo "$ld_shlibs" >&6; }
12652 test "$ld_shlibs" = no && can_build_shared=no
12654 with_gnu_ld=$with_gnu_ld
12671 # Do we need to explicitly link libc?
12673 case "x$archive_cmds_need_lc" in
12675 # Assume -lc should be added
12676 archive_cmds_need_lc=yes
12678 if test "$enable_shared" = yes && test "$GCC" = yes; then
12679 case $archive_cmds in
12681 # FIXME: we may have to deal with multi-command sequences.
12684 # Test whether the compiler implicitly links with -lc since on some
12685 # systems, -lgcc has to come before -lc. If gcc already passes -lc
12686 # to ld, don't add -lc before -lgcc.
12687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
12688 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
12689 if ${lt_cv_archive_cmds_need_lc+:} false; then :
12690 $as_echo_n "(cached) " >&6
12693 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
12696 (eval $ac_compile) 2>&5
12698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12699 test $ac_status = 0; } 2>conftest.err; then
12702 libobjs=conftest.$ac_objext
12704 wl=$lt_prog_compiler_wl
12705 pic_flag=$lt_prog_compiler_pic
12711 lt_save_allow_undefined_flag=$allow_undefined_flag
12712 allow_undefined_flag=
12713 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
12714 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
12716 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12717 test $ac_status = 0; }
12719 lt_cv_archive_cmds_need_lc=no
12721 lt_cv_archive_cmds_need_lc=yes
12723 allow_undefined_flag=$lt_save_allow_undefined_flag
12725 cat conftest.err 1>&5
12730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
12731 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
12732 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
12890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
12891 $as_echo_n "checking dynamic linker characteristics... " >&6; }
12893 if test "$GCC" = yes; then
12895 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
12896 *) lt_awk_arg="/^libraries:/" ;;
12899 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
12900 *) lt_sed_strip_eq="s,=/,/,g" ;;
12902 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
12903 case $lt_search_path_spec in
12905 # if the path contains ";" then we assume it to be the separator
12906 # otherwise default to the standard path separator (i.e. ":") - it is
12907 # assumed that no part of a normal pathname contains ";" but that should
12908 # okay in the real world where ";" in dirpaths is itself problematic.
12909 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
12912 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
12915 # Ok, now we have the path, separated by spaces, we can step through it
12916 # and add multilib dir if necessary.
12917 lt_tmp_lt_search_path_spec=
12918 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
12919 for lt_sys_path in $lt_search_path_spec; do
12920 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
12921 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
12923 test -d "$lt_sys_path" && \
12924 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
12927 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
12928 BEGIN {RS=" "; FS="/|\n";} {
12931 for (lt_i = NF; lt_i > 0; lt_i--) {
12932 if ($lt_i != "" && $lt_i != ".") {
12933 if ($lt_i == "..") {
12936 if (lt_count == 0) {
12937 lt_foo="/" $lt_i lt_foo;
12944 if (lt_foo != "") { lt_freq[lt_foo]++; }
12945 if (lt_freq[lt_foo] == 1) { print lt_foo; }
12947 # AWK program above erroneously prepends '/' to C:/dos/paths
12950 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
12951 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
12953 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
12955 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
12957 library_names_spec=
12958 libname_spec='lib$name'
12962 postuninstall_cmds=
12966 shlibpath_overrides_runpath=unknown
12968 dynamic_linker="$host_os ld.so"
12969 sys_lib_dlsearch_path_spec="/lib /usr/lib"
12970 need_lib_prefix=unknown
12971 hardcode_into_libs=no
12973 # when you set need_version to no, make sure it does not cause -set_version
12974 # flags to be left without arguments
12975 need_version=unknown
12979 version_type=linux # correct to gnu/linux during the next big refactor
12980 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
12981 shlibpath_var=LIBPATH
12983 # AIX 3 has no versioning support, so we append a major version to the name.
12984 soname_spec='${libname}${release}${shared_ext}$major'
12988 version_type=linux # correct to gnu/linux during the next big refactor
12991 hardcode_into_libs=yes
12992 if test "$host_cpu" = ia64; then
12993 # AIX 5 supports IA64
12994 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
12995 shlibpath_var=LD_LIBRARY_PATH
12997 # With GCC up to 2.95.x, collect2 would create an import file
12998 # for dependence libraries. The import file would start with
12999 # the line `#! .'. This would cause the generated library to
13000 # depend on `.', always an invalid library. This was fixed in
13001 # development snapshots of GCC prior to 3.0.
13003 aix4 | aix4.[01] | aix4.[01].*)
13004 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
13006 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
13009 can_build_shared=no
13013 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
13014 # soname into executable. Probably we can add versioning support to
13015 # collect2, so additional links can be useful in future.
13016 if test "$aix_use_runtimelinking" = yes; then
13017 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
13018 # instead of lib<name>.a to let people know that these are not
13019 # typical AIX shared libraries.
13020 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13022 # We preserve .a as extension for shared libraries through AIX4.2
13023 # and later when we are not doing run time linking.
13024 library_names_spec='${libname}${release}.a $libname.a'
13025 soname_spec='${libname}${release}${shared_ext}$major'
13027 shlibpath_var=LIBPATH
13034 # Since July 2007 AmigaOS4 officially supports .so libraries.
13035 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
13036 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13039 library_names_spec='$libname.ixlibrary $libname.a'
13040 # Create ${libname}_ixlibrary.a entries in /sys/libs.
13041 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
13047 library_names_spec='${libname}${shared_ext}'
13048 dynamic_linker="$host_os ld.so"
13049 shlibpath_var=LIBRARY_PATH
13053 version_type=linux # correct to gnu/linux during the next big refactor
13055 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13056 soname_spec='${libname}${release}${shared_ext}$major'
13057 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
13058 shlibpath_var=LD_LIBRARY_PATH
13059 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
13060 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
13061 # the default ld.so.conf also contains /usr/contrib/lib and
13062 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
13063 # libtool to hard-code these into programs
13066 cygwin* | mingw* | pw32* | cegcc*)
13067 version_type=windows
13072 case $GCC,$cc_basename in
13075 library_names_spec='$libname.dll.a'
13076 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13077 postinstall_cmds='base_file=`basename \${file}`~
13078 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13079 dldir=$destdir/`dirname \$dlpath`~
13080 test -d \$dldir || mkdir -p \$dldir~
13081 $install_prog $dir/$dlname \$dldir/$dlname~
13082 chmod a+x \$dldir/$dlname~
13083 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
13084 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
13086 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13087 dlpath=$dir/\$dldll~
13089 shlibpath_overrides_runpath=yes
13093 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
13094 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13096 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
13099 # MinGW DLLs use traditional 'lib' prefix
13100 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13103 # pw32 DLLs use 'pw' prefix rather than 'lib'
13104 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13107 dynamic_linker='Win32 ld.exe'
13112 libname_spec='$name'
13113 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
13114 library_names_spec='${libname}.dll.lib'
13118 sys_lib_search_path_spec=
13121 for lt_path in $LIB
13124 # Let DOS variable expansion print the short 8.3 style file name.
13125 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
13126 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
13129 # Convert to MSYS style.
13130 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
13133 # Convert to unix form, then to dos form, then back to unix form
13134 # but this time dos style (no spaces!) so that the unix form looks
13135 # like /cygdrive/c/PROGRA~1:/cygdr...
13136 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
13137 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
13138 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13141 sys_lib_search_path_spec="$LIB"
13142 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
13143 # It is most probably a Windows format PATH.
13144 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13146 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
13148 # FIXME: find the short name or the path components, as spaces are
13149 # common. (e.g. "Program Files" -> "PROGRA~1")
13153 # DLL is installed to $(libdir)/../bin by postinstall_cmds
13154 postinstall_cmds='base_file=`basename \${file}`~
13155 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
13156 dldir=$destdir/`dirname \$dlpath`~
13157 test -d \$dldir || mkdir -p \$dldir~
13158 $install_prog $dir/$dlname \$dldir/$dlname'
13159 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
13160 dlpath=$dir/\$dldll~
13162 shlibpath_overrides_runpath=yes
13163 dynamic_linker='Win32 link.exe'
13167 # Assume MSVC wrapper
13168 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
13169 dynamic_linker='Win32 ld.exe'
13172 # FIXME: first we should search . and the directory the executable is in
13176 darwin* | rhapsody*)
13177 dynamic_linker="$host_os dyld"
13178 version_type=darwin
13181 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
13182 soname_spec='${libname}${release}${major}$shared_ext'
13183 shlibpath_overrides_runpath=yes
13184 shlibpath_var=DYLD_LIBRARY_PATH
13185 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13187 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
13188 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13192 version_type=linux # correct to gnu/linux during the next big refactor
13195 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
13196 soname_spec='${libname}${release}${shared_ext}$major'
13197 shlibpath_var=LD_LIBRARY_PATH
13200 freebsd* | dragonfly*)
13201 # DragonFly does not have aout. When/if they implement a new
13202 # versioning mechanism, adjust this.
13203 if test -x /usr/bin/objformat; then
13204 objformat=`/usr/bin/objformat`
13207 freebsd[23].*) objformat=aout ;;
13208 *) objformat=elf ;;
13211 version_type=freebsd-$objformat
13212 case $version_type in
13214 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13219 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
13223 shlibpath_var=LD_LIBRARY_PATH
13226 shlibpath_overrides_runpath=yes
13228 freebsd3.[01]* | freebsdelf3.[01]*)
13229 shlibpath_overrides_runpath=yes
13230 hardcode_into_libs=yes
13232 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
13233 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
13234 shlibpath_overrides_runpath=no
13235 hardcode_into_libs=yes
13237 *) # from 4.6 on, and DragonFly
13238 shlibpath_overrides_runpath=yes
13239 hardcode_into_libs=yes
13245 version_type=linux # correct to gnu/linux during the next big refactor
13248 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13249 soname_spec='${libname}${release}${shared_ext}$major'
13250 shlibpath_var=LD_LIBRARY_PATH
13251 shlibpath_overrides_runpath=no
13252 hardcode_into_libs=yes
13256 version_type=linux # correct to gnu/linux during the next big refactor
13259 dynamic_linker="$host_os runtime_loader"
13260 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
13261 soname_spec='${libname}${release}${shared_ext}$major'
13262 shlibpath_var=LIBRARY_PATH
13263 shlibpath_overrides_runpath=yes
13264 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
13265 hardcode_into_libs=yes
13268 hpux9* | hpux10* | hpux11*)
13269 # Give a soname corresponding to the major version so that dld.sl refuses to
13270 # link against other versions.
13277 hardcode_into_libs=yes
13278 dynamic_linker="$host_os dld.so"
13279 shlibpath_var=LD_LIBRARY_PATH
13280 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13281 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13282 soname_spec='${libname}${release}${shared_ext}$major'
13283 if test "X$HPUX_IA64_MODE" = X32; then
13284 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
13286 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
13288 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13292 hardcode_into_libs=yes
13293 dynamic_linker="$host_os dld.sl"
13294 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
13295 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
13296 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13297 soname_spec='${libname}${release}${shared_ext}$major'
13298 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
13299 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
13303 dynamic_linker="$host_os dld.sl"
13304 shlibpath_var=SHLIB_PATH
13305 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
13306 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13307 soname_spec='${libname}${release}${shared_ext}$major'
13310 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
13311 postinstall_cmds='chmod 555 $lib'
13312 # or fails outright, so override atomically:
13313 install_override_mode=555
13317 version_type=linux # correct to gnu/linux during the next big refactor
13320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13321 soname_spec='${libname}${release}${shared_ext}$major'
13322 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
13323 shlibpath_var=LD_LIBRARY_PATH
13324 shlibpath_overrides_runpath=no
13325 hardcode_into_libs=yes
13328 irix5* | irix6* | nonstopux*)
13330 nonstopux*) version_type=nonstopux ;;
13332 if test "$lt_cv_prog_gnu_ld" = yes; then
13333 version_type=linux # correct to gnu/linux during the next big refactor
13340 soname_spec='${libname}${release}${shared_ext}$major'
13341 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
13343 irix5* | nonstopux*)
13344 libsuff= shlibsuff=
13347 case $LD in # libtool.m4 will add one of these switches to LD
13348 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
13349 libsuff= shlibsuff= libmagic=32-bit;;
13350 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
13351 libsuff=32 shlibsuff=N32 libmagic=N32;;
13352 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
13353 libsuff=64 shlibsuff=64 libmagic=64-bit;;
13354 *) libsuff= shlibsuff= libmagic=never-match;;
13358 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
13359 shlibpath_overrides_runpath=no
13360 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
13361 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
13362 hardcode_into_libs=yes
13365 # No shared lib support for Linux oldld, aout, or coff.
13366 linux*oldld* | linux*aout* | linux*coff*)
13370 # This must be glibc/ELF.
13371 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13372 version_type=linux # correct to gnu/linux during the next big refactor
13375 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13376 soname_spec='${libname}${release}${shared_ext}$major'
13377 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
13378 shlibpath_var=LD_LIBRARY_PATH
13379 shlibpath_overrides_runpath=no
13381 # Some binutils ld are patched to set DT_RUNPATH
13382 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
13383 $as_echo_n "(cached) " >&6
13385 lt_cv_shlibpath_overrides_runpath=no
13386 save_LDFLAGS=$LDFLAGS
13387 save_libdir=$libdir
13388 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
13389 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
13390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13391 /* end confdefs.h. */
13401 if ac_fn_c_try_link "$LINENO"; then :
13402 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
13403 lt_cv_shlibpath_overrides_runpath=yes
13406 rm -f core conftest.err conftest.$ac_objext \
13407 conftest$ac_exeext conftest.$ac_ext
13408 LDFLAGS=$save_LDFLAGS
13409 libdir=$save_libdir
13413 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
13415 # This implies no fast_install, which is unacceptable.
13416 # Some rework will be needed to allow for fast_install
13417 # before this can be enabled.
13418 hardcode_into_libs=yes
13420 # Append ld.so.conf contents to the search path
13421 if test -f /etc/ld.so.conf; then
13422 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' ' '`
13423 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13426 # We used to test for /lib/ld.so.1 and disable shared libraries on
13427 # powerpc, because MkLinux only supported shared libraries with the
13428 # GNU dynamic linker. Since this was broken with cross compilers,
13429 # most powerpc-linux boxes support dynamic linking these days and
13430 # people can always --disable-shared, the test was removed, and we
13431 # assume the GNU/Linux dynamic linker is in use.
13432 dynamic_linker='GNU/Linux ld.so'
13439 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13440 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13441 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13442 dynamic_linker='NetBSD (a.out) ld.so'
13444 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
13445 soname_spec='${libname}${release}${shared_ext}$major'
13446 dynamic_linker='NetBSD ld.elf_so'
13448 shlibpath_var=LD_LIBRARY_PATH
13449 shlibpath_overrides_runpath=yes
13450 hardcode_into_libs=yes
13454 version_type=linux # correct to gnu/linux during the next big refactor
13455 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13456 shlibpath_var=LD_LIBRARY_PATH
13457 shlibpath_overrides_runpath=yes
13464 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13465 soname_spec='${libname}${release}${shared_ext}$major'
13466 shlibpath_var=LD_LIBRARY_PATH
13467 shlibpath_overrides_runpath=no
13468 hardcode_into_libs=yes
13469 dynamic_linker='ldqnx.so'
13474 sys_lib_dlsearch_path_spec="/usr/lib"
13476 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
13478 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
13479 *) need_version=no ;;
13481 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13482 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
13483 shlibpath_var=LD_LIBRARY_PATH
13484 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13486 openbsd2.[89] | openbsd2.[89].*)
13487 shlibpath_overrides_runpath=no
13490 shlibpath_overrides_runpath=yes
13494 shlibpath_overrides_runpath=yes
13499 libname_spec='$name'
13502 library_names_spec='$libname${shared_ext} $libname.a'
13503 dynamic_linker='OS/2 ld.exe'
13504 shlibpath_var=LIBPATH
13507 osf3* | osf4* | osf5*)
13511 soname_spec='${libname}${release}${shared_ext}$major'
13512 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13513 shlibpath_var=LD_LIBRARY_PATH
13514 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
13515 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13523 version_type=linux # correct to gnu/linux during the next big refactor
13526 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13527 soname_spec='${libname}${release}${shared_ext}$major'
13528 shlibpath_var=LD_LIBRARY_PATH
13529 shlibpath_overrides_runpath=yes
13530 hardcode_into_libs=yes
13531 # ldd complains unless libraries are executable
13532 postinstall_cmds='chmod +x $lib'
13537 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
13538 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
13539 shlibpath_var=LD_LIBRARY_PATH
13540 shlibpath_overrides_runpath=yes
13541 if test "$with_gnu_ld" = yes; then
13548 version_type=linux # correct to gnu/linux during the next big refactor
13549 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13550 soname_spec='${libname}${release}${shared_ext}$major'
13551 shlibpath_var=LD_LIBRARY_PATH
13552 case $host_vendor in
13554 shlibpath_overrides_runpath=no
13556 runpath_var=LD_RUN_PATH
13564 shlibpath_overrides_runpath=no
13565 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
13571 if test -d /usr/nec ;then
13572 version_type=linux # correct to gnu/linux during the next big refactor
13573 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
13574 soname_spec='$libname${shared_ext}.$major'
13575 shlibpath_var=LD_LIBRARY_PATH
13579 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
13580 version_type=freebsd-elf
13583 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
13584 soname_spec='${libname}${release}${shared_ext}$major'
13585 shlibpath_var=LD_LIBRARY_PATH
13586 shlibpath_overrides_runpath=yes
13587 hardcode_into_libs=yes
13588 if test "$with_gnu_ld" = yes; then
13589 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
13591 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
13594 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
13598 sys_lib_dlsearch_path_spec='/usr/lib'
13602 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
13603 version_type=linux # correct to gnu/linux during the next big refactor
13606 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13607 shlibpath_var=LD_LIBRARY_PATH
13608 shlibpath_overrides_runpath=no
13609 hardcode_into_libs=yes
13613 version_type=linux # correct to gnu/linux during the next big refactor
13614 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
13615 soname_spec='${libname}${release}${shared_ext}$major'
13616 shlibpath_var=LD_LIBRARY_PATH
13623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
13624 $as_echo "$dynamic_linker" >&6; }
13625 test "$dynamic_linker" = no && can_build_shared=no
13627 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
13628 if test "$GCC" = yes; then
13629 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
13632 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
13633 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
13635 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
13636 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
13730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
13731 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
13733 if test -n "$hardcode_libdir_flag_spec" ||
13734 test -n "$runpath_var" ||
13735 test "X$hardcode_automatic" = "Xyes" ; then
13737 # We can hardcode non-existent directories.
13738 if test "$hardcode_direct" != no &&
13739 # If the only mechanism to avoid hardcoding is shlibpath_var, we
13740 # have to relink, otherwise we might link with an installed library
13741 # when we should be linking with a yet-to-be-installed one
13742 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
13743 test "$hardcode_minus_L" != no; then
13744 # Linking always hardcodes the temporary library directory.
13745 hardcode_action=relink
13747 # We can link without hardcoding, and we can hardcode nonexisting dirs.
13748 hardcode_action=immediate
13751 # We cannot hardcode anything, or else we can only hardcode existing
13753 hardcode_action=unsupported
13755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
13756 $as_echo "$hardcode_action" >&6; }
13758 if test "$hardcode_action" = relink ||
13759 test "$inherit_rpath" = yes; then
13760 # Fast installation is not supported
13761 enable_fast_install=no
13762 elif test "$shlibpath_overrides_runpath" = yes ||
13763 test "$enable_shared" = no; then
13764 # Fast installation is not necessary
13765 enable_fast_install=needless
13773 if test "x$enable_dlopen" != xyes; then
13774 enable_dlopen=unknown
13775 enable_dlopen_self=unknown
13776 enable_dlopen_self_static=unknown
13783 lt_cv_dlopen="load_add_on"
13785 lt_cv_dlopen_self=yes
13788 mingw* | pw32* | cegcc*)
13789 lt_cv_dlopen="LoadLibrary"
13794 lt_cv_dlopen="dlopen"
13799 # if libdl is installed we need to link against it
13800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13801 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13802 if ${ac_cv_lib_dl_dlopen+:} false; then :
13803 $as_echo_n "(cached) " >&6
13805 ac_check_lib_save_LIBS=$LIBS
13807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13808 /* end confdefs.h. */
13810 /* Override any GCC internal prototype to avoid an error.
13811 Use char because int might match the return type of a GCC
13812 builtin and then its argument prototype would still apply. */
13825 if ac_fn_c_try_link "$LINENO"; then :
13826 ac_cv_lib_dl_dlopen=yes
13828 ac_cv_lib_dl_dlopen=no
13830 rm -f core conftest.err conftest.$ac_objext \
13831 conftest$ac_exeext conftest.$ac_ext
13832 LIBS=$ac_check_lib_save_LIBS
13834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13835 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13836 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13837 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13840 lt_cv_dlopen="dyld"
13842 lt_cv_dlopen_self=yes
13849 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
13850 if test "x$ac_cv_func_shl_load" = xyes; then :
13851 lt_cv_dlopen="shl_load"
13853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
13854 $as_echo_n "checking for shl_load in -ldld... " >&6; }
13855 if ${ac_cv_lib_dld_shl_load+:} false; then :
13856 $as_echo_n "(cached) " >&6
13858 ac_check_lib_save_LIBS=$LIBS
13860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13861 /* end confdefs.h. */
13863 /* Override any GCC internal prototype to avoid an error.
13864 Use char because int might match the return type of a GCC
13865 builtin and then its argument prototype would still apply. */
13873 return shl_load ();
13878 if ac_fn_c_try_link "$LINENO"; then :
13879 ac_cv_lib_dld_shl_load=yes
13881 ac_cv_lib_dld_shl_load=no
13883 rm -f core conftest.err conftest.$ac_objext \
13884 conftest$ac_exeext conftest.$ac_ext
13885 LIBS=$ac_check_lib_save_LIBS
13887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
13888 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
13889 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
13890 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
13892 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
13893 if test "x$ac_cv_func_dlopen" = xyes; then :
13894 lt_cv_dlopen="dlopen"
13896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
13897 $as_echo_n "checking for dlopen in -ldl... " >&6; }
13898 if ${ac_cv_lib_dl_dlopen+:} false; then :
13899 $as_echo_n "(cached) " >&6
13901 ac_check_lib_save_LIBS=$LIBS
13903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13904 /* end confdefs.h. */
13906 /* Override any GCC internal prototype to avoid an error.
13907 Use char because int might match the return type of a GCC
13908 builtin and then its argument prototype would still apply. */
13921 if ac_fn_c_try_link "$LINENO"; then :
13922 ac_cv_lib_dl_dlopen=yes
13924 ac_cv_lib_dl_dlopen=no
13926 rm -f core conftest.err conftest.$ac_objext \
13927 conftest$ac_exeext conftest.$ac_ext
13928 LIBS=$ac_check_lib_save_LIBS
13930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
13931 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
13932 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
13933 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
13935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
13936 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
13937 if ${ac_cv_lib_svld_dlopen+:} false; then :
13938 $as_echo_n "(cached) " >&6
13940 ac_check_lib_save_LIBS=$LIBS
13941 LIBS="-lsvld $LIBS"
13942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13943 /* end confdefs.h. */
13945 /* Override any GCC internal prototype to avoid an error.
13946 Use char because int might match the return type of a GCC
13947 builtin and then its argument prototype would still apply. */
13960 if ac_fn_c_try_link "$LINENO"; then :
13961 ac_cv_lib_svld_dlopen=yes
13963 ac_cv_lib_svld_dlopen=no
13965 rm -f core conftest.err conftest.$ac_objext \
13966 conftest$ac_exeext conftest.$ac_ext
13967 LIBS=$ac_check_lib_save_LIBS
13969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
13970 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
13971 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
13972 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
13975 $as_echo_n "checking for dld_link in -ldld... " >&6; }
13976 if ${ac_cv_lib_dld_dld_link+:} false; then :
13977 $as_echo_n "(cached) " >&6
13979 ac_check_lib_save_LIBS=$LIBS
13981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13982 /* end confdefs.h. */
13984 /* Override any GCC internal prototype to avoid an error.
13985 Use char because int might match the return type of a GCC
13986 builtin and then its argument prototype would still apply. */
13994 return dld_link ();
13999 if ac_fn_c_try_link "$LINENO"; then :
14000 ac_cv_lib_dld_dld_link=yes
14002 ac_cv_lib_dld_dld_link=no
14004 rm -f core conftest.err conftest.$ac_objext \
14005 conftest$ac_exeext conftest.$ac_ext
14006 LIBS=$ac_check_lib_save_LIBS
14008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
14009 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
14010 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
14011 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
14032 if test "x$lt_cv_dlopen" != xno; then
14038 case $lt_cv_dlopen in
14040 save_CPPFLAGS="$CPPFLAGS"
14041 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
14043 save_LDFLAGS="$LDFLAGS"
14044 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
14047 LIBS="$lt_cv_dlopen_libs $LIBS"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
14050 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
14051 if ${lt_cv_dlopen_self+:} false; then :
14052 $as_echo_n "(cached) " >&6
14054 if test "$cross_compiling" = yes; then :
14055 lt_cv_dlopen_self=cross
14057 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14058 lt_status=$lt_dlunknown
14059 cat > conftest.$ac_ext <<_LT_EOF
14060 #line $LINENO "configure"
14061 #include "confdefs.h"
14070 # define LT_DLGLOBAL RTLD_GLOBAL
14073 # define LT_DLGLOBAL DL_GLOBAL
14075 # define LT_DLGLOBAL 0
14079 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14080 find out it does not work in some platform. */
14081 #ifndef LT_DLLAZY_OR_NOW
14083 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14086 # define LT_DLLAZY_OR_NOW DL_LAZY
14089 # define LT_DLLAZY_OR_NOW RTLD_NOW
14092 # define LT_DLLAZY_OR_NOW DL_NOW
14094 # define LT_DLLAZY_OR_NOW 0
14101 /* When -fvisbility=hidden is used, assume the code has been annotated
14102 correspondingly for the symbols needed. */
14103 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14104 int fnord () __attribute__((visibility("default")));
14107 int fnord () { return 42; }
14110 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14111 int status = $lt_dlunknown;
14115 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14118 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14119 else puts (dlerror ());
14121 /* dlclose (self); */
14129 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14130 (eval $ac_link) 2>&5
14132 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14133 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14134 (./conftest; exit; ) >&5 2>/dev/null
14136 case x$lt_status in
14137 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
14138 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
14139 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
14142 # compilation failed
14143 lt_cv_dlopen_self=no
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
14151 $as_echo "$lt_cv_dlopen_self" >&6; }
14153 if test "x$lt_cv_dlopen_self" = xyes; then
14154 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
14155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
14156 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
14157 if ${lt_cv_dlopen_self_static+:} false; then :
14158 $as_echo_n "(cached) " >&6
14160 if test "$cross_compiling" = yes; then :
14161 lt_cv_dlopen_self_static=cross
14163 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
14164 lt_status=$lt_dlunknown
14165 cat > conftest.$ac_ext <<_LT_EOF
14166 #line $LINENO "configure"
14167 #include "confdefs.h"
14176 # define LT_DLGLOBAL RTLD_GLOBAL
14179 # define LT_DLGLOBAL DL_GLOBAL
14181 # define LT_DLGLOBAL 0
14185 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
14186 find out it does not work in some platform. */
14187 #ifndef LT_DLLAZY_OR_NOW
14189 # define LT_DLLAZY_OR_NOW RTLD_LAZY
14192 # define LT_DLLAZY_OR_NOW DL_LAZY
14195 # define LT_DLLAZY_OR_NOW RTLD_NOW
14198 # define LT_DLLAZY_OR_NOW DL_NOW
14200 # define LT_DLLAZY_OR_NOW 0
14207 /* When -fvisbility=hidden is used, assume the code has been annotated
14208 correspondingly for the symbols needed. */
14209 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
14210 int fnord () __attribute__((visibility("default")));
14213 int fnord () { return 42; }
14216 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
14217 int status = $lt_dlunknown;
14221 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
14224 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
14225 else puts (dlerror ());
14227 /* dlclose (self); */
14235 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
14236 (eval $ac_link) 2>&5
14238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14239 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
14240 (./conftest; exit; ) >&5 2>/dev/null
14242 case x$lt_status in
14243 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
14244 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
14245 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
14248 # compilation failed
14249 lt_cv_dlopen_self_static=no
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
14257 $as_echo "$lt_cv_dlopen_self_static" >&6; }
14260 CPPFLAGS="$save_CPPFLAGS"
14261 LDFLAGS="$save_LDFLAGS"
14266 case $lt_cv_dlopen_self in
14267 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
14268 *) enable_dlopen_self=unknown ;;
14271 case $lt_cv_dlopen_self_static in
14272 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
14273 *) enable_dlopen_self_static=unknown ;;
14295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
14296 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
14297 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
14298 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
14299 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
14300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14301 $as_echo "yes" >&6; }
14303 # FIXME - insert some real tests, host_os isn't really good enough
14306 if test -n "$STRIP" ; then
14307 striplib="$STRIP -x"
14308 old_striplib="$STRIP -S"
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14310 $as_echo "yes" >&6; }
14312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14313 $as_echo "no" >&6; }
14317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14318 $as_echo "no" >&6; }
14334 # Report which library types will actually be built
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
14336 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
14337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
14338 $as_echo "$can_build_shared" >&6; }
14340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
14341 $as_echo_n "checking whether to build shared libraries... " >&6; }
14342 test "$can_build_shared" = "no" && enable_shared=no
14344 # On AIX, shared libraries and static libraries use the same namespace, and
14345 # are all built from PIC.
14348 test "$enable_shared" = yes && enable_static=no
14349 if test -n "$RANLIB"; then
14350 archive_cmds="$archive_cmds~\$RANLIB \$lib"
14351 postinstall_cmds='$RANLIB $lib'
14356 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
14357 test "$enable_shared" = yes && enable_static=no
14361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
14362 $as_echo "$enable_shared" >&6; }
14364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
14365 $as_echo_n "checking whether to build static libraries... " >&6; }
14366 # Make sure either enable_shared or enable_static is yes.
14367 test "$enable_shared" = yes || enable_static=yes
14368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
14369 $as_echo "$enable_static" >&6; }
14376 ac_cpp='$CPP $CPPFLAGS'
14377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14383 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
14384 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
14385 (test "X$CXX" != "Xg++"))) ; then
14387 ac_cpp='$CXXCPP $CPPFLAGS'
14388 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14389 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14390 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
14392 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
14393 if test -z "$CXXCPP"; then
14394 if ${ac_cv_prog_CXXCPP+:} false; then :
14395 $as_echo_n "(cached) " >&6
14397 # Double quotes because CXXCPP needs to be expanded
14398 for CXXCPP in "$CXX -E" "/lib/cpp"
14400 ac_preproc_ok=false
14401 for ac_cxx_preproc_warn_flag in '' yes
14403 # Use a header file that comes with gcc, so configuring glibc
14404 # with a fresh cross-compiler works.
14405 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14406 # <limits.h> exists even on freestanding compilers.
14407 # On the NeXT, cc -E runs the code through the compiler's parser,
14408 # not just through cpp. "Syntax error" is here to catch this case.
14409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14410 /* end confdefs.h. */
14412 # include <limits.h>
14414 # include <assert.h>
14418 if ac_fn_cxx_try_cpp "$LINENO"; then :
14421 # Broken: fails on valid input.
14424 rm -f conftest.err conftest.i conftest.$ac_ext
14426 # OK, works on sane cases. Now check whether nonexistent headers
14427 # can be detected and how.
14428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14429 /* end confdefs.h. */
14430 #include <ac_nonexistent.h>
14432 if ac_fn_cxx_try_cpp "$LINENO"; then :
14433 # Broken: success on invalid input.
14436 # Passes both tests.
14440 rm -f conftest.err conftest.i conftest.$ac_ext
14443 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14444 rm -f conftest.i conftest.err conftest.$ac_ext
14445 if $ac_preproc_ok; then :
14450 ac_cv_prog_CXXCPP=$CXXCPP
14453 CXXCPP=$ac_cv_prog_CXXCPP
14455 ac_cv_prog_CXXCPP=$CXXCPP
14457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
14458 $as_echo "$CXXCPP" >&6; }
14459 ac_preproc_ok=false
14460 for ac_cxx_preproc_warn_flag in '' yes
14462 # Use a header file that comes with gcc, so configuring glibc
14463 # with a fresh cross-compiler works.
14464 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14465 # <limits.h> exists even on freestanding compilers.
14466 # On the NeXT, cc -E runs the code through the compiler's parser,
14467 # not just through cpp. "Syntax error" is here to catch this case.
14468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14469 /* end confdefs.h. */
14471 # include <limits.h>
14473 # include <assert.h>
14477 if ac_fn_cxx_try_cpp "$LINENO"; then :
14480 # Broken: fails on valid input.
14483 rm -f conftest.err conftest.i conftest.$ac_ext
14485 # OK, works on sane cases. Now check whether nonexistent headers
14486 # can be detected and how.
14487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14488 /* end confdefs.h. */
14489 #include <ac_nonexistent.h>
14491 if ac_fn_cxx_try_cpp "$LINENO"; then :
14492 # Broken: success on invalid input.
14495 # Passes both tests.
14499 rm -f conftest.err conftest.i conftest.$ac_ext
14502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14503 rm -f conftest.i conftest.err conftest.$ac_ext
14504 if $ac_preproc_ok; then :
14507 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
14508 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
14509 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
14510 See \`config.log' for more details" "$LINENO" 5; }
14514 ac_cpp='$CPP $CPPFLAGS'
14515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14520 _lt_caught_CXX_error=yes
14524 ac_cpp='$CXXCPP $CPPFLAGS'
14525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14529 archive_cmds_need_lc_CXX=no
14530 allow_undefined_flag_CXX=
14531 always_export_symbols_CXX=no
14532 archive_expsym_cmds_CXX=
14533 compiler_needs_object_CXX=no
14534 export_dynamic_flag_spec_CXX=
14535 hardcode_direct_CXX=no
14536 hardcode_direct_absolute_CXX=no
14537 hardcode_libdir_flag_spec_CXX=
14538 hardcode_libdir_separator_CXX=
14539 hardcode_minus_L_CXX=no
14540 hardcode_shlibpath_var_CXX=unsupported
14541 hardcode_automatic_CXX=no
14542 inherit_rpath_CXX=no
14544 module_expsym_cmds_CXX=
14545 link_all_deplibs_CXX=unknown
14546 old_archive_cmds_CXX=$old_archive_cmds
14547 reload_flag_CXX=$reload_flag
14548 reload_cmds_CXX=$reload_cmds
14549 no_undefined_flag_CXX=
14550 whole_archive_flag_spec_CXX=
14551 enable_shared_with_static_runtimes_CXX=no
14553 # Source file extension for C++ test sources.
14556 # Object file extension for compiled C++ test sources.
14560 # No sense in running all these tests if we already determined that
14561 # the CXX compiler isn't working. Some variables (like enable_shared)
14562 # are currently assumed to apply to all compilers on this platform,
14563 # and will be corrupted by setting them based on a non-working compiler.
14564 if test "$_lt_caught_CXX_error" != yes; then
14565 # Code to be used in simple compile tests
14566 lt_simple_compile_test_code="int some_variable = 0;"
14568 # Code to be used in simple link tests
14569 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
14571 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
14578 # If no C compiler was specified, use CC.
14581 # If no C compiler flags were specified, use CFLAGS.
14582 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
14584 # Allow CC to be a program name with arguments.
14588 # save warnings/boilerplate of simple test code
14589 ac_outfile=conftest.$ac_objext
14590 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14591 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14592 _lt_compiler_boilerplate=`cat conftest.err`
14595 ac_outfile=conftest.$ac_objext
14596 echo "$lt_simple_link_test_code" >conftest.$ac_ext
14597 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14598 _lt_linker_boilerplate=`cat conftest.err`
14602 # Allow CC to be a program name with arguments.
14604 lt_save_CFLAGS=$CFLAGS
14608 lt_save_with_gnu_ld=$with_gnu_ld
14609 lt_save_path_LD=$lt_cv_path_LD
14610 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
14611 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
14613 $as_unset lt_cv_prog_gnu_ld
14615 if test -n "${lt_cv_path_LDCXX+set}"; then
14616 lt_cv_path_LD=$lt_cv_path_LDCXX
14618 $as_unset lt_cv_path_LD
14620 test -z "${LDCXX+set}" || LD=$LDCXX
14625 for cc_temp in $compiler""; do
14627 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
14628 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
14633 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
14636 if test -n "$compiler"; then
14637 # We don't want -fno-exception when compiling C++ code, so set the
14638 # no_builtin_flag separately
14639 if test "$GXX" = yes; then
14640 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
14642 lt_prog_compiler_no_builtin_flag_CXX=
14645 if test "$GXX" = yes; then
14646 # Set up default GNU C++ configuration
14650 # Check whether --with-gnu-ld was given.
14651 if test "${with_gnu_ld+set}" = set; then :
14652 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
14658 if test "$GCC" = yes; then
14659 # Check if gcc -print-prog-name=ld gives a path.
14660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
14661 $as_echo_n "checking for ld used by $CC... " >&6; }
14664 # gcc leaves a trailing carriage return which upsets mingw
14665 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
14667 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
14670 # Accept absolute paths.
14672 re_direlt='/[^/][^/]*/\.\./'
14673 # Canonicalize the pathname of ld
14674 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
14675 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
14676 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
14678 test -z "$LD" && LD="$ac_prog"
14681 # If it fails, then pretend we aren't using GCC.
14685 # If it is relative, then search for the first ld in PATH.
14686 with_gnu_ld=unknown
14689 elif test "$with_gnu_ld" = yes; then
14690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
14691 $as_echo_n "checking for GNU ld... " >&6; }
14693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
14694 $as_echo_n "checking for non-GNU ld... " >&6; }
14696 if ${lt_cv_path_LD+:} false; then :
14697 $as_echo_n "(cached) " >&6
14699 if test -z "$LD"; then
14700 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
14701 for ac_dir in $PATH; do
14703 test -z "$ac_dir" && ac_dir=.
14704 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
14705 lt_cv_path_LD="$ac_dir/$ac_prog"
14706 # Check to see if the program is GNU ld. I'd rather use --version,
14707 # but apparently some variants of GNU ld only accept -v.
14708 # Break only if it was the GNU/non-GNU ld that we prefer.
14709 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
14710 *GNU* | *'with BFD'*)
14711 test "$with_gnu_ld" != no && break
14714 test "$with_gnu_ld" != yes && break
14721 lt_cv_path_LD="$LD" # Let the user override the test with a path.
14725 LD="$lt_cv_path_LD"
14726 if test -n "$LD"; then
14727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
14728 $as_echo "$LD" >&6; }
14730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14731 $as_echo "no" >&6; }
14733 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
14735 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
14736 if ${lt_cv_prog_gnu_ld+:} false; then :
14737 $as_echo_n "(cached) " >&6
14739 # I'd rather use --version here, but apparently some GNU lds only accept -v.
14740 case `$LD -v 2>&1 </dev/null` in
14741 *GNU* | *'with BFD'*)
14742 lt_cv_prog_gnu_ld=yes
14745 lt_cv_prog_gnu_ld=no
14749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
14750 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
14751 with_gnu_ld=$lt_cv_prog_gnu_ld
14759 # Check if GNU C++ uses GNU ld as the underlying linker, since the
14760 # archiving commands below assume that GNU ld is being used.
14761 if test "$with_gnu_ld" = yes; then
14762 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
14763 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'
14765 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
14766 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
14768 # If archive_cmds runs LD, not CC, wlarc should be empty
14769 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
14770 # investigate it a little bit more. (MM)
14773 # ancient GNU ld didn't support --whole-archive et. al.
14774 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
14775 $GREP 'no-whole-archive' > /dev/null; then
14776 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
14778 whole_archive_flag_spec_CXX=
14784 # A generic and very simple default shared library creation
14785 # command for GNU C++ for the case where it uses the native
14786 # linker, instead of GNU ld. If possible, this setting should
14787 # overridden to take advantage of the native linker features on
14788 # the platform it is being used on.
14789 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
14792 # Commands to make compiler produce verbose output that lists
14793 # what "hidden" libraries, object files and flags are used when
14794 # linking a shared library.
14795 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
14803 # PORTME: fill in a description of your system's C++ link characteristics
14804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14805 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14809 # FIXME: insert proper C++ library support
14813 if test "$host_cpu" = ia64; then
14814 # On IA64, the linker does run time linking by default, so we don't
14815 # have to do anything special.
14816 aix_use_runtimelinking=no
14817 exp_sym_flag='-Bexport'
14820 aix_use_runtimelinking=no
14822 # Test if we are trying to use run time linking or normal
14823 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
14824 # need to do runtime linking.
14825 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
14826 for ld_flag in $LDFLAGS; do
14829 aix_use_runtimelinking=yes
14837 exp_sym_flag='-bexport'
14838 no_entry_flag='-bnoentry'
14841 # When large executables or shared objects are built, AIX ld can
14842 # have problems creating the table of contents. If linking a library
14843 # or program results in "error TOC overflow" add -mminimal-toc to
14844 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
14845 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
14847 archive_cmds_CXX=''
14848 hardcode_direct_CXX=yes
14849 hardcode_direct_absolute_CXX=yes
14850 hardcode_libdir_separator_CXX=':'
14851 link_all_deplibs_CXX=yes
14852 file_list_spec_CXX='${wl}-f,'
14854 if test "$GXX" = yes; then
14855 case $host_os in aix4.[012]|aix4.[012].*)
14856 # We only want to do this on AIX 4.2 and lower, the check
14857 # below for broken collect2 doesn't work under 4.3+
14858 collect2name=`${CC} -print-prog-name=collect2`
14859 if test -f "$collect2name" &&
14860 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
14862 # We have reworked collect2
14865 # We have old collect2
14866 hardcode_direct_CXX=unsupported
14867 # It fails to find uninstalled libraries when the uninstalled
14868 # path is not listed in the libpath. Setting hardcode_minus_L
14869 # to unsupported forces relinking
14870 hardcode_minus_L_CXX=yes
14871 hardcode_libdir_flag_spec_CXX='-L$libdir'
14872 hardcode_libdir_separator_CXX=
14875 shared_flag='-shared'
14876 if test "$aix_use_runtimelinking" = yes; then
14877 shared_flag="$shared_flag "'${wl}-G'
14881 if test "$host_cpu" = ia64; then
14882 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
14883 # chokes on -Wl,-G. The following line is correct:
14886 if test "$aix_use_runtimelinking" = yes; then
14887 shared_flag='${wl}-G'
14889 shared_flag='${wl}-bM:SRE'
14894 export_dynamic_flag_spec_CXX='${wl}-bexpall'
14895 # It seems that -bexpall does not export symbols beginning with
14896 # underscore (_), so it is better to generate a list of symbols to
14898 always_export_symbols_CXX=yes
14899 if test "$aix_use_runtimelinking" = yes; then
14900 # Warning - without using the other runtime loading flags (-brtl),
14901 # -berok will link without error, but may produce a broken library.
14902 allow_undefined_flag_CXX='-berok'
14903 # Determine the default libpath from the value encoded in an empty
14905 if test "${lt_cv_aix_libpath+set}" = set; then
14906 aix_libpath=$lt_cv_aix_libpath
14908 if ${lt_cv_aix_libpath__CXX+:} false; then :
14909 $as_echo_n "(cached) " >&6
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14922 if ac_fn_cxx_try_link "$LINENO"; then :
14924 lt_aix_libpath_sed='
14925 /Import File Strings/,/^$/ {
14927 s/^0 *\([^ ]*\) *$/\1/
14931 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14932 # Check for a 64-bit object if we didn't find anything.
14933 if test -z "$lt_cv_aix_libpath__CXX"; then
14934 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14937 rm -f core conftest.err conftest.$ac_objext \
14938 conftest$ac_exeext conftest.$ac_ext
14939 if test -z "$lt_cv_aix_libpath__CXX"; then
14940 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14945 aix_libpath=$lt_cv_aix_libpath__CXX
14948 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
14950 archive_expsym_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
14952 if test "$host_cpu" = ia64; then
14953 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
14954 allow_undefined_flag_CXX="-z nodefs"
14955 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"
14957 # Determine the default libpath from the value encoded in an
14958 # empty executable.
14959 if test "${lt_cv_aix_libpath+set}" = set; then
14960 aix_libpath=$lt_cv_aix_libpath
14962 if ${lt_cv_aix_libpath__CXX+:} false; then :
14963 $as_echo_n "(cached) " >&6
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14976 if ac_fn_cxx_try_link "$LINENO"; then :
14978 lt_aix_libpath_sed='
14979 /Import File Strings/,/^$/ {
14981 s/^0 *\([^ ]*\) *$/\1/
14985 lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14986 # Check for a 64-bit object if we didn't find anything.
14987 if test -z "$lt_cv_aix_libpath__CXX"; then
14988 lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14991 rm -f core conftest.err conftest.$ac_objext \
14992 conftest$ac_exeext conftest.$ac_ext
14993 if test -z "$lt_cv_aix_libpath__CXX"; then
14994 lt_cv_aix_libpath__CXX="/usr/lib:/lib"
14999 aix_libpath=$lt_cv_aix_libpath__CXX
15002 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
15003 # Warning - without using the other run time loading flags,
15004 # -berok will link without error, but may produce a broken library.
15005 no_undefined_flag_CXX=' ${wl}-bernotok'
15006 allow_undefined_flag_CXX=' ${wl}-berok'
15007 if test "$with_gnu_ld" = yes; then
15008 # We only use this code for GNU lds that support --whole-archive.
15009 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15011 # Exported symbols can be pulled into shared objects from archives
15012 whole_archive_flag_spec_CXX='$convenience'
15014 archive_cmds_need_lc_CXX=yes
15015 # This is similar to how AIX traditionally builds its shared
15017 archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
15023 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
15024 allow_undefined_flag_CXX=unsupported
15025 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
15026 # support --undefined. This deserves some investigation. FIXME
15027 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15034 case $cc_basename in
15036 # FIXME: insert proper C++ library support
15042 cygwin* | mingw* | pw32* | cegcc*)
15043 case $GXX,$cc_basename in
15046 # hardcode_libdir_flag_spec is actually meaningless, as there is
15047 # no search path for DLLs.
15048 hardcode_libdir_flag_spec_CXX=' '
15049 allow_undefined_flag_CXX=unsupported
15050 always_export_symbols_CXX=yes
15051 file_list_spec_CXX='@'
15052 # Tell ltmain to make .lib files, not .a files.
15054 # Tell ltmain to make .dll files, not .so files.
15056 # FIXME: Setting linknames here is a bad hack.
15057 archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
15058 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15059 $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
15061 $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
15063 $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
15065 # The linker will not automatically build a static lib if we build a DLL.
15066 # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
15067 enable_shared_with_static_runtimes_CXX=yes
15069 old_postinstall_cmds_CXX='chmod 644 $oldlib'
15070 postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
15071 lt_tool_outputfile="@TOOL_OUTPUT@"~
15072 case $lt_outputfile in
15075 lt_outputfile="$lt_outputfile.exe"
15076 lt_tool_outputfile="$lt_tool_outputfile.exe"
15079 func_to_tool_file "$lt_outputfile"~
15080 if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
15081 $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
15082 $RM "$lt_outputfile.manifest";
15087 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
15088 # as there is no search path for DLLs.
15089 hardcode_libdir_flag_spec_CXX='-L$libdir'
15090 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
15091 allow_undefined_flag_CXX=unsupported
15092 always_export_symbols_CXX=no
15093 enable_shared_with_static_runtimes_CXX=yes
15095 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
15096 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'
15097 # If the export-symbols file already is a .def file (1st line
15098 # is EXPORTS), use it as is; otherwise, prepend...
15099 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
15100 cp $export_symbols $output_objdir/$soname.def;
15102 echo EXPORTS > $output_objdir/$soname.def;
15103 cat $export_symbols >> $output_objdir/$soname.def;
15105 $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'
15112 darwin* | rhapsody*)
15115 archive_cmds_need_lc_CXX=no
15116 hardcode_direct_CXX=no
15117 hardcode_automatic_CXX=yes
15118 hardcode_shlibpath_var_CXX=unsupported
15119 if test "$lt_cv_ld_force_load" = "yes"; then
15120 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\"`'
15123 whole_archive_flag_spec_CXX=''
15125 link_all_deplibs_CXX=yes
15126 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
15127 case $cc_basename in
15128 ifort*) _lt_dar_can_shared=yes ;;
15129 *) _lt_dar_can_shared=$GCC ;;
15131 if test "$_lt_dar_can_shared" = "yes"; then
15132 output_verbose_link_cmd=func_echo_all
15133 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}"
15134 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
15135 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}"
15136 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}"
15137 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
15138 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}"
15139 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}"
15149 case $cc_basename in
15151 # FIXME: insert proper C++ library support
15155 # Green Hills C++ Compiler
15156 # FIXME: insert proper C++ library support
15160 # FIXME: insert proper C++ library support
15167 # C++ shared libraries reported to be fairly broken before
15173 archive_cmds_need_lc_CXX=no
15176 freebsd* | dragonfly*)
15177 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
15186 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15187 link_all_deplibs_CXX=yes
15191 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15192 hardcode_libdir_separator_CXX=:
15193 export_dynamic_flag_spec_CXX='${wl}-E'
15194 hardcode_direct_CXX=yes
15195 hardcode_minus_L_CXX=yes # Not in the search PATH,
15196 # but as the default
15197 # location of the library.
15199 case $cc_basename in
15201 # FIXME: insert proper C++ library support
15205 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15206 # Commands to make compiler produce verbose output that lists
15207 # what "hidden" libraries, object files and flags are used when
15208 # linking a shared library.
15210 # There doesn't appear to be a way to prevent this compiler from
15211 # explicitly linking system object files so we need to strip them
15212 # from the output so that they don't get included in the library
15214 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"'
15217 if test "$GXX" = yes; then
15218 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 $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
15220 # FIXME: insert proper C++ library support
15228 if test $with_gnu_ld = no; then
15229 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
15230 hardcode_libdir_separator_CXX=:
15236 export_dynamic_flag_spec_CXX='${wl}-E'
15242 hardcode_direct_CXX=no
15243 hardcode_shlibpath_var_CXX=no
15246 hardcode_direct_CXX=yes
15247 hardcode_direct_absolute_CXX=yes
15248 hardcode_minus_L_CXX=yes # Not in the search PATH,
15249 # but as the default
15250 # location of the library.
15254 case $cc_basename in
15256 # FIXME: insert proper C++ library support
15262 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15265 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15268 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15271 # Commands to make compiler produce verbose output that lists
15272 # what "hidden" libraries, object files and flags are used when
15273 # linking a shared library.
15275 # There doesn't appear to be a way to prevent this compiler from
15276 # explicitly linking system object files so we need to strip them
15277 # from the output so that they don't get included in the library
15279 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"'
15282 if test "$GXX" = yes; then
15283 if test $with_gnu_ld = no; then
15286 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15289 archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15292 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'
15297 # FIXME: insert proper C++ library support
15305 hardcode_direct_CXX=no
15306 hardcode_shlibpath_var_CXX=no
15307 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15308 export_dynamic_flag_spec_CXX='${wl}-E'
15309 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
15310 # Instead, shared libraries are loaded at an image base (0x10000000 by
15311 # default) and relocated if they conflict, which is a slow very memory
15312 # consuming and fragmenting process. To avoid this, we pick a random,
15313 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
15314 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
15315 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'
15316 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'
15319 case $cc_basename in
15322 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'
15324 # Archives containing C++ object files must be created using
15325 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
15326 # necessary to make sure instantiated templates are included
15328 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
15331 if test "$GXX" = yes; then
15332 if test "$with_gnu_ld" = no; then
15333 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'
15335 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'
15338 link_all_deplibs_CXX=yes
15341 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15342 hardcode_libdir_separator_CXX=:
15343 inherit_rpath_CXX=yes
15346 linux* | k*bsd*-gnu | kopensolaris*-gnu)
15347 case $cc_basename in
15349 # Kuck and Associates, Inc. (KAI) C++ Compiler
15351 # KCC will only create a shared library if the output file
15352 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15353 # to its proper name (with version) after linking.
15354 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'
15355 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'
15356 # Commands to make compiler produce verbose output that lists
15357 # what "hidden" libraries, object files and flags are used when
15358 # linking a shared library.
15360 # There doesn't appear to be a way to prevent this compiler from
15361 # explicitly linking system object files so we need to strip them
15362 # from the output so that they don't get included in the library
15364 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"'
15366 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15367 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15369 # Archives containing C++ object files must be created using
15370 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
15371 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
15376 # version 8.0 and above of icpc choke on multiply defined symbols
15377 # if we add $predep_objects and $postdep_objects, however 7.1 and
15378 # earlier do not add the objects themselves.
15379 case `$CC -V 2>&1` in
15381 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15382 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'
15384 *) # Version 8.0 or newer
15387 ia64*) tmp_idyn=' -i_dynamic';;
15389 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15390 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'
15393 archive_cmds_need_lc_CXX=no
15394 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15395 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15396 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
15399 # Portland Group C++ compiler
15401 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
15402 prelink_cmds_CXX='tpldir=Template.dir~
15404 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
15405 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
15406 old_archive_cmds_CXX='tpldir=Template.dir~
15408 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
15409 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
15411 archive_cmds_CXX='tpldir=Template.dir~
15413 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15414 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15415 archive_expsym_cmds_CXX='tpldir=Template.dir~
15417 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
15418 $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'
15420 *) # Version 6 and above use weak symbols
15421 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
15422 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'
15426 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
15427 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15428 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'
15432 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
15433 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'
15435 runpath_var=LD_RUN_PATH
15436 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15437 hardcode_libdir_separator_CXX=:
15439 # Commands to make compiler produce verbose output that lists
15440 # what "hidden" libraries, object files and flags are used when
15441 # linking a shared library.
15443 # There doesn't appear to be a way to prevent this compiler from
15444 # explicitly linking system object files so we need to strip them
15445 # from the output so that they don't get included in the library
15447 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'
15449 xl* | mpixl* | bgxl*)
15450 # IBM XL 8.0 on PPC, with GNU ld
15451 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15452 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
15453 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15454 if test "x$supports_anon_versioning" = xyes; then
15455 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
15456 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15457 echo "local: *; };" >> $output_objdir/$libname.ver~
15458 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15462 case `$CC -V 2>&1 | sed 5q` in
15465 no_undefined_flag_CXX=' -zdefs'
15466 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15467 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'
15468 hardcode_libdir_flag_spec_CXX='-R$libdir'
15469 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'
15470 compiler_needs_object_CXX=yes
15472 # Not sure whether something based on
15473 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
15475 output_verbose_link_cmd='func_echo_all'
15477 # Archives containing C++ object files must be created using
15478 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15479 # necessary to make sure instantiated templates are included
15481 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15489 # FIXME: insert proper C++ library support
15494 # FIXME: insert proper C++ library support
15499 case $cc_basename in
15501 # FIXME: insert proper C++ library support
15505 # FIXME: insert proper C++ library support
15512 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15513 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
15515 hardcode_libdir_flag_spec_CXX='-R$libdir'
15516 hardcode_direct_CXX=yes
15517 hardcode_shlibpath_var_CXX=no
15519 # Workaround some broken pre-1.5 toolchains
15520 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
15528 # C++ shared libraries are fairly broken
15533 if test -f /usr/libexec/ld.so; then
15534 hardcode_direct_CXX=yes
15535 hardcode_shlibpath_var_CXX=no
15536 hardcode_direct_absolute_CXX=yes
15537 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
15538 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15539 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15540 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
15541 export_dynamic_flag_spec_CXX='${wl}-E'
15542 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15544 output_verbose_link_cmd=func_echo_all
15550 osf3* | osf4* | osf5*)
15551 case $cc_basename in
15553 # Kuck and Associates, Inc. (KAI) C++ Compiler
15555 # KCC will only create a shared library if the output file
15556 # ends with ".so" (or ".sl" for HP-UX), so rename the library
15557 # to its proper name (with version) after linking.
15558 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'
15560 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
15561 hardcode_libdir_separator_CXX=:
15563 # Archives containing C++ object files must be created using
15564 # the KAI C++ compiler.
15566 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
15567 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
15571 # Rational C++ 2.4.1
15572 # FIXME: insert proper C++ library support
15578 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15579 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'
15580 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15583 allow_undefined_flag_CXX=' -expect_unresolved \*'
15584 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'
15585 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
15586 echo "-hidden">> $lib.exp~
15587 $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~
15589 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
15593 hardcode_libdir_separator_CXX=:
15595 # Commands to make compiler produce verbose output that lists
15596 # what "hidden" libraries, object files and flags are used when
15597 # linking a shared library.
15599 # There doesn't appear to be a way to prevent this compiler from
15600 # explicitly linking system object files so we need to strip them
15601 # from the output so that they don't get included in the library
15603 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"'
15606 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15607 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
15610 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'
15613 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'
15617 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
15618 hardcode_libdir_separator_CXX=:
15620 # Commands to make compiler produce verbose output that lists
15621 # what "hidden" libraries, object files and flags are used when
15622 # linking a shared library.
15623 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15626 # FIXME: insert proper C++ library support
15634 # FIXME: insert proper C++ library support
15639 case $cc_basename in
15642 # FIXME: insert proper C++ library support
15647 # FIXME: insert proper C++ library support
15651 # FIXME: insert proper C++ library support
15658 case $cc_basename in
15660 # Sun C++ 4.2, 5.x and Centerline C++
15661 archive_cmds_need_lc_CXX=yes
15662 no_undefined_flag_CXX=' -zdefs'
15663 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
15664 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15665 $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'
15667 hardcode_libdir_flag_spec_CXX='-R$libdir'
15668 hardcode_shlibpath_var_CXX=no
15670 solaris2.[0-5] | solaris2.[0-5].*) ;;
15672 # The compiler driver will combine and reorder linker options,
15673 # but understands `-z linker_flag'.
15674 # Supported since Solaris 2.6 (maybe 2.5.1?)
15675 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
15678 link_all_deplibs_CXX=yes
15680 output_verbose_link_cmd='func_echo_all'
15682 # Archives containing C++ object files must be created using
15683 # "CC -xar", where "CC" is the Sun C++ compiler. This is
15684 # necessary to make sure instantiated templates are included
15686 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
15689 # Green Hills C++ Compiler
15690 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15692 # The C++ compiler must be used to create the archive.
15693 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
15696 # GNU C++ compiler with Solaris linker
15697 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
15698 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
15699 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
15700 archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15701 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15702 $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15704 # Commands to make compiler produce verbose output that lists
15705 # what "hidden" libraries, object files and flags are used when
15706 # linking a shared library.
15707 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15709 # g++ 2.7 appears to require `-G' NOT `-shared' on this
15711 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
15712 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
15713 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
15715 # Commands to make compiler produce verbose output that lists
15716 # what "hidden" libraries, object files and flags are used when
15717 # linking a shared library.
15718 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
15721 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
15723 solaris2.[0-5] | solaris2.[0-5].*) ;;
15725 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
15733 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15734 no_undefined_flag_CXX='${wl}-z,text'
15735 archive_cmds_need_lc_CXX=no
15736 hardcode_shlibpath_var_CXX=no
15737 runpath_var='LD_RUN_PATH'
15739 case $cc_basename in
15741 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15742 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15745 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15746 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15751 sysv5* | sco3.2v5* | sco5v6*)
15752 # Note: We can NOT use -z defs as we might desire, because we do not
15753 # link with -lc, and that would cause any symbols used from libc to
15754 # always be unresolved, which means just about no library would
15755 # ever link correctly. If we're not using GNU ld we use -z text
15756 # though, which does catch some bad symbols but isn't as heavy-handed
15758 no_undefined_flag_CXX='${wl}-z,text'
15759 allow_undefined_flag_CXX='${wl}-z,nodefs'
15760 archive_cmds_need_lc_CXX=no
15761 hardcode_shlibpath_var_CXX=no
15762 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
15763 hardcode_libdir_separator_CXX=':'
15764 link_all_deplibs_CXX=yes
15765 export_dynamic_flag_spec_CXX='${wl}-Bexport'
15766 runpath_var='LD_RUN_PATH'
15768 case $cc_basename in
15770 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15771 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15772 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
15773 '"$old_archive_cmds_CXX"
15774 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
15775 '"$reload_cmds_CXX"
15778 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15779 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
15785 case $cc_basename in
15787 # NonStop-UX NCC 3.20
15788 # FIXME: insert proper C++ library support
15792 # FIXME: insert proper C++ library support
15799 # FIXME: insert proper C++ library support
15804 # FIXME: insert proper C++ library support
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
15810 $as_echo "$ld_shlibs_CXX" >&6; }
15811 test "$ld_shlibs_CXX" = no && can_build_shared=no
15817 ## There is no encapsulation within the following macros, do not change
15818 ## the running order or otherwise move them around unless you know exactly
15819 ## what you are doing...
15820 # Dependencies to place before and after the object being linked:
15821 predep_objects_CXX=
15822 postdep_objects_CXX=
15825 compiler_lib_search_path_CXX=
15827 cat > conftest.$ac_ext <<_LT_EOF
15831 Foo (void) { a = 0; }
15838 _lt_libdeps_save_CFLAGS=$CFLAGS
15839 case "$CC $CFLAGS " in #(
15840 *\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
15841 *\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
15842 *\ -fuse-linker-plugin*\ *) CFLAGS="$CFLAGS -fno-use-linker-plugin" ;;
15845 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15846 (eval $ac_compile) 2>&5
15848 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15849 test $ac_status = 0; }; then
15850 # Parse the compiler output and extract the necessary
15851 # objects, libraries and library flags.
15853 # Sentinel used to keep track of whether or not we are before
15854 # the conftest object file.
15855 pre_test_object_deps_done=no
15857 for p in `eval "$output_verbose_link_cmd"`; do
15858 case ${prev}${p} in
15861 # Some compilers place space between "-{L,R}" and the path.
15862 # Remove the space.
15863 if test $p = "-L" ||
15864 test $p = "-R"; then
15869 # Expand the sysroot to ease extracting the directories later.
15870 if test -z "$prev"; then
15872 -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
15873 -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
15874 -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
15878 =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
15880 if test "$pre_test_object_deps_done" = no; then
15883 # Internal compiler library paths should come after those
15884 # provided the user. The postdeps already come after the
15885 # user supplied libs so there is no need to process them.
15886 if test -z "$compiler_lib_search_path_CXX"; then
15887 compiler_lib_search_path_CXX="${prev}${p}"
15889 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
15892 # The "-l" case would never come before the object being
15893 # linked, so don't bother handling this case.
15896 if test -z "$postdeps_CXX"; then
15897 postdeps_CXX="${prev}${p}"
15899 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
15905 *.lto.$objext) ;; # Ignore GCC LTO objects
15907 # This assumes that the test object file only shows up
15908 # once in the compiler output.
15909 if test "$p" = "conftest.$objext"; then
15910 pre_test_object_deps_done=yes
15914 if test "$pre_test_object_deps_done" = no; then
15915 if test -z "$predep_objects_CXX"; then
15916 predep_objects_CXX="$p"
15918 predep_objects_CXX="$predep_objects_CXX $p"
15921 if test -z "$postdep_objects_CXX"; then
15922 postdep_objects_CXX="$p"
15924 postdep_objects_CXX="$postdep_objects_CXX $p"
15929 *) ;; # Ignore the rest.
15937 echo "libtool.m4: error: problem compiling CXX test program"
15940 $RM -f confest.$objext
15941 CFLAGS=$_lt_libdeps_save_CFLAGS
15943 # PORTME: override above test on systems where it is broken
15946 # Interix 3.5 installs completely hosed .la files for C++, so rather than
15947 # hack all around it, let's just trust "g++" to DTRT.
15948 predep_objects_CXX=
15949 postdep_objects_CXX=
15954 case `$CC -V 2>&1 | sed 5q` in
15958 # The more standards-conforming stlport4 library is
15959 # incompatible with the Cstd library. Avoid specifying
15960 # it if it's in CXXFLAGS. Ignore libCrun as
15961 # -library=stlport4 depends on it.
15962 case " $CXX $CXXFLAGS " in
15963 *" -library=stlport4 "*)
15964 solaris_use_stlport4=yes
15968 if test "$solaris_use_stlport4" != yes; then
15969 postdeps_CXX='-library=Cstd -library=Crun'
15976 case $cc_basename in
15978 # The more standards-conforming stlport4 library is
15979 # incompatible with the Cstd library. Avoid specifying
15980 # it if it's in CXXFLAGS. Ignore libCrun as
15981 # -library=stlport4 depends on it.
15982 case " $CXX $CXXFLAGS " in
15983 *" -library=stlport4 "*)
15984 solaris_use_stlport4=yes
15988 # Adding this requires a known-good setup of shared libraries for
15989 # Sun compiler versions before 5.6, else PIC objects from an old
15990 # archive will be linked into the output, leading to subtle bugs.
15991 if test "$solaris_use_stlport4" != yes; then
15992 postdeps_CXX='-library=Cstd -library=Crun'
16000 case " $postdeps_CXX " in
16001 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
16003 compiler_lib_search_dirs_CXX=
16004 if test -n "${compiler_lib_search_path_CXX}"; then
16005 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
16038 lt_prog_compiler_wl_CXX=
16039 lt_prog_compiler_pic_CXX=
16040 lt_prog_compiler_static_CXX=
16043 # C++ specific cases for pic, static, wl, etc.
16044 if test "$GXX" = yes; then
16045 lt_prog_compiler_wl_CXX='-Wl,'
16046 lt_prog_compiler_static_CXX='-static'
16050 # All AIX code is PIC.
16051 if test "$host_cpu" = ia64; then
16052 # AIX 5 now supports IA64 processor
16053 lt_prog_compiler_static_CXX='-Bstatic'
16060 # see comment about AmigaOS4 .so support
16061 lt_prog_compiler_pic_CXX='-fPIC'
16064 # FIXME: we need at least 68020 code to build shared libraries, but
16065 # adding the `-m68020' flag to GCC prevents building anything better,
16067 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
16072 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16073 # PIC is the default for these OSes.
16075 mingw* | cygwin* | os2* | pw32* | cegcc*)
16076 # This hack is so that the source file can tell whether it is being
16077 # built for inclusion in a dll (and should export symbols for example).
16078 # Although the cygwin gcc ignores -fPIC, still need this for old-style
16079 # (--disable-auto-import) libraries
16080 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16082 darwin* | rhapsody*)
16083 # PIC is the default on this platform
16084 # Common symbols not allowed in MH_DYLIB files
16085 lt_prog_compiler_pic_CXX='-fno-common'
16088 # DJGPP does not support shared libraries at all
16089 lt_prog_compiler_pic_CXX=
16092 # PIC is the default for Haiku.
16093 # The "-static" flag exists, but is broken.
16094 lt_prog_compiler_static_CXX=
16097 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16098 # Instead, we relocate shared libraries at runtime.
16101 if test -d /usr/nec; then
16102 lt_prog_compiler_pic_CXX=-Kconform_pic
16106 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
16107 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
16108 # sets the default TLS model and affects inlining.
16113 lt_prog_compiler_pic_CXX='-fPIC'
16118 # QNX uses GNU C++, but need to define -shared option too, otherwise
16119 # it will coredump.
16120 lt_prog_compiler_pic_CXX='-fPIC -shared'
16123 lt_prog_compiler_pic_CXX='-fPIC'
16129 # All AIX code is PIC.
16130 if test "$host_cpu" = ia64; then
16131 # AIX 5 now supports IA64 processor
16132 lt_prog_compiler_static_CXX='-Bstatic'
16134 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
16138 case $cc_basename in
16140 # Green Hills C++ Compiler
16141 # _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"
16145 mingw* | cygwin* | os2* | pw32* | cegcc*)
16146 # This hack is so that the source file can tell whether it is being
16147 # built for inclusion in a dll (and should export symbols for example).
16148 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
16151 case $cc_basename in
16153 lt_prog_compiler_pic_CXX='-KPIC'
16156 # Green Hills C++ Compiler
16157 lt_prog_compiler_pic_CXX='-pic'
16163 freebsd* | dragonfly*)
16164 # FreeBSD uses GNU C++
16166 hpux9* | hpux10* | hpux11*)
16167 case $cc_basename in
16169 lt_prog_compiler_wl_CXX='-Wl,'
16170 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16171 if test "$host_cpu" != ia64; then
16172 lt_prog_compiler_pic_CXX='+Z'
16176 lt_prog_compiler_wl_CXX='-Wl,'
16177 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
16183 lt_prog_compiler_pic_CXX='+Z'
16192 # This is c89, which is MS Visual C++ (no shared libs)
16193 # Anyone wants to do a port?
16195 irix5* | irix6* | nonstopux*)
16196 case $cc_basename in
16198 lt_prog_compiler_wl_CXX='-Wl,'
16199 lt_prog_compiler_static_CXX='-non_shared'
16200 # CC pic flag -KPIC is the default.
16206 linux* | k*bsd*-gnu | kopensolaris*-gnu)
16207 case $cc_basename in
16210 lt_prog_compiler_wl_CXX='--backend -Wl,'
16211 lt_prog_compiler_pic_CXX='-fPIC'
16214 # old Intel C++ for x86_64 which still supported -KPIC.
16215 lt_prog_compiler_wl_CXX='-Wl,'
16216 lt_prog_compiler_pic_CXX='-KPIC'
16217 lt_prog_compiler_static_CXX='-static'
16220 # Intel C++, used to be incompatible with GCC.
16221 # ICC 10 doesn't accept -KPIC any more.
16222 lt_prog_compiler_wl_CXX='-Wl,'
16223 lt_prog_compiler_pic_CXX='-fPIC'
16224 lt_prog_compiler_static_CXX='-static'
16227 # Portland Group C++ compiler
16228 lt_prog_compiler_wl_CXX='-Wl,'
16229 lt_prog_compiler_pic_CXX='-fpic'
16230 lt_prog_compiler_static_CXX='-Bstatic'
16234 # Make sure the PIC flag is empty. It appears that all Alpha
16235 # Linux and Compaq Tru64 Unix objects are PIC.
16236 lt_prog_compiler_pic_CXX=
16237 lt_prog_compiler_static_CXX='-non_shared'
16239 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
16240 # IBM XL 8.0, 9.0 on PPC and BlueGene
16241 lt_prog_compiler_wl_CXX='-Wl,'
16242 lt_prog_compiler_pic_CXX='-qpic'
16243 lt_prog_compiler_static_CXX='-qstaticlink'
16246 case `$CC -V 2>&1 | sed 5q` in
16249 lt_prog_compiler_pic_CXX='-KPIC'
16250 lt_prog_compiler_static_CXX='-Bstatic'
16251 lt_prog_compiler_wl_CXX='-Qoption ld '
16262 case $cc_basename in
16264 lt_prog_compiler_pic_CXX='-W c,exportall'
16273 # QNX uses GNU C++, but need to define -shared option too, otherwise
16274 # it will coredump.
16275 lt_prog_compiler_pic_CXX='-fPIC -shared'
16277 osf3* | osf4* | osf5*)
16278 case $cc_basename in
16280 lt_prog_compiler_wl_CXX='--backend -Wl,'
16283 # Rational C++ 2.4.1
16284 lt_prog_compiler_pic_CXX='-pic'
16287 # Digital/Compaq C++
16288 lt_prog_compiler_wl_CXX='-Wl,'
16289 # Make sure the PIC flag is empty. It appears that all Alpha
16290 # Linux and Compaq Tru64 Unix objects are PIC.
16291 lt_prog_compiler_pic_CXX=
16292 lt_prog_compiler_static_CXX='-non_shared'
16301 case $cc_basename in
16303 # Sun C++ 4.2, 5.x and Centerline C++
16304 lt_prog_compiler_pic_CXX='-KPIC'
16305 lt_prog_compiler_static_CXX='-Bstatic'
16306 lt_prog_compiler_wl_CXX='-Qoption ld '
16309 # Green Hills C++ Compiler
16310 lt_prog_compiler_pic_CXX='-PIC'
16317 case $cc_basename in
16320 lt_prog_compiler_pic_CXX='-pic'
16321 lt_prog_compiler_static_CXX='-Bstatic'
16325 lt_prog_compiler_pic_CXX='-pic'
16331 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
16332 case $cc_basename in
16334 lt_prog_compiler_wl_CXX='-Wl,'
16335 lt_prog_compiler_pic_CXX='-KPIC'
16336 lt_prog_compiler_static_CXX='-Bstatic'
16341 case $cc_basename in
16343 # NonStop-UX NCC 3.20
16344 lt_prog_compiler_pic_CXX='-KPIC'
16353 lt_prog_compiler_can_build_shared_CXX=no
16359 # For platforms which do not support PIC, -DPIC is meaningless:
16361 lt_prog_compiler_pic_CXX=
16364 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
16368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
16369 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
16370 if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
16371 $as_echo_n "(cached) " >&6
16373 lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
16375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
16376 $as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
16377 lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
16380 # Check to make sure the PIC flag actually works.
16382 if test -n "$lt_prog_compiler_pic_CXX"; then
16383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
16384 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
16385 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
16386 $as_echo_n "(cached) " >&6
16388 lt_cv_prog_compiler_pic_works_CXX=no
16389 ac_outfile=conftest.$ac_objext
16390 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16391 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
16392 # Insert the option either (1) after the last *FLAGS variable, or
16393 # (2) before a word containing "conftest.", or (3) at the end.
16394 # Note that $ac_compile itself does not contain backslashes and begins
16395 # with a dollar sign (not a hyphen), so the echo should work correctly.
16396 # The option is referenced via a variable to avoid confusing sed.
16397 lt_compile=`echo "$ac_compile" | $SED \
16398 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16399 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16400 -e 's:$: $lt_compiler_flag:'`
16401 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16402 (eval "$lt_compile" 2>conftest.err)
16404 cat conftest.err >&5
16405 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16406 if (exit $ac_status) && test -s "$ac_outfile"; then
16407 # The compiler can only warn and ignore the option if not recognized
16408 # So say no if there are warnings other than the usual output.
16409 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
16410 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16411 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
16412 lt_cv_prog_compiler_pic_works_CXX=yes
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
16419 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
16421 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
16422 case $lt_prog_compiler_pic_CXX in
16424 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
16427 lt_prog_compiler_pic_CXX=
16428 lt_prog_compiler_can_build_shared_CXX=no
16438 # Check to make sure the static flag actually works.
16440 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
16441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
16442 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
16443 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
16444 $as_echo_n "(cached) " >&6
16446 lt_cv_prog_compiler_static_works_CXX=no
16447 save_LDFLAGS="$LDFLAGS"
16448 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
16449 echo "$lt_simple_link_test_code" > conftest.$ac_ext
16450 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
16451 # The linker can only warn and ignore the option if not recognized
16452 # So say no if there are warnings
16453 if test -s conftest.err; then
16454 # Append any errors to the config.log.
16455 cat conftest.err 1>&5
16456 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
16457 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
16458 if diff conftest.exp conftest.er2 >/dev/null; then
16459 lt_cv_prog_compiler_static_works_CXX=yes
16462 lt_cv_prog_compiler_static_works_CXX=yes
16466 LDFLAGS="$save_LDFLAGS"
16469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
16470 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
16472 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
16475 lt_prog_compiler_static_CXX=
16481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16482 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16483 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16484 $as_echo_n "(cached) " >&6
16486 lt_cv_prog_compiler_c_o_CXX=no
16487 $RM -r conftest 2>/dev/null
16491 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16493 lt_compiler_flag="-o out/conftest2.$ac_objext"
16494 # Insert the option either (1) after the last *FLAGS variable, or
16495 # (2) before a word containing "conftest.", or (3) at the end.
16496 # Note that $ac_compile itself does not contain backslashes and begins
16497 # with a dollar sign (not a hyphen), so the echo should work correctly.
16498 lt_compile=`echo "$ac_compile" | $SED \
16499 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16500 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16501 -e 's:$: $lt_compiler_flag:'`
16502 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16503 (eval "$lt_compile" 2>out/conftest.err)
16505 cat out/conftest.err >&5
16506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16507 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16509 # The compiler can only warn and ignore the option if not recognized
16510 # So say no if there are warnings
16511 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16512 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16513 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16514 lt_cv_prog_compiler_c_o_CXX=yes
16519 # SGI C++ compiler will create directory out/ii_files/ for
16520 # template instantiation
16521 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16522 $RM out/* && rmdir out
16528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16529 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
16534 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
16535 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
16536 $as_echo_n "(cached) " >&6
16538 lt_cv_prog_compiler_c_o_CXX=no
16539 $RM -r conftest 2>/dev/null
16543 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16545 lt_compiler_flag="-o out/conftest2.$ac_objext"
16546 # Insert the option either (1) after the last *FLAGS variable, or
16547 # (2) before a word containing "conftest.", or (3) at the end.
16548 # Note that $ac_compile itself does not contain backslashes and begins
16549 # with a dollar sign (not a hyphen), so the echo should work correctly.
16550 lt_compile=`echo "$ac_compile" | $SED \
16551 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16552 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16553 -e 's:$: $lt_compiler_flag:'`
16554 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
16555 (eval "$lt_compile" 2>out/conftest.err)
16557 cat out/conftest.err >&5
16558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16559 if (exit $ac_status) && test -s out/conftest2.$ac_objext
16561 # The compiler can only warn and ignore the option if not recognized
16562 # So say no if there are warnings
16563 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
16564 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
16565 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
16566 lt_cv_prog_compiler_c_o_CXX=yes
16571 # SGI C++ compiler will create directory out/ii_files/ for
16572 # template instantiation
16573 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
16574 $RM out/* && rmdir out
16580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
16581 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
16586 hard_links="nottested"
16587 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
16588 # do not overwrite the value of need_locks provided by the user
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
16590 $as_echo_n "checking if we can lock with hard links... " >&6; }
16593 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16595 ln conftest.a conftest.b 2>&5 || hard_links=no
16596 ln conftest.a conftest.b 2>/dev/null && hard_links=no
16597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
16598 $as_echo "$hard_links" >&6; }
16599 if test "$hard_links" = no; then
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
16601 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
16610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
16611 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
16613 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16614 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
16617 # If we're using GNU nm, then we don't want the "-C" option.
16618 # -C means demangle to AIX nm, but means don't demangle with GNU nm
16619 # Also, AIX nm treats weak defined symbols like other global defined
16620 # symbols, whereas GNU nm marks them as "W".
16621 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
16622 export_symbols_cmds_CXX='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16624 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
16628 export_symbols_cmds_CXX="$ltdll_cmds"
16630 cygwin* | mingw* | cegcc*)
16631 case $cc_basename in
16633 exclude_expsyms_CXX='_NULL_IMPORT_DESCRIPTOR|_IMPORT_DESCRIPTOR_.*'
16636 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'
16637 exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
16642 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
16647 $as_echo "$ld_shlibs_CXX" >&6; }
16648 test "$ld_shlibs_CXX" = no && can_build_shared=no
16650 with_gnu_ld_CXX=$with_gnu_ld
16658 # Do we need to explicitly link libc?
16660 case "x$archive_cmds_need_lc_CXX" in
16662 # Assume -lc should be added
16663 archive_cmds_need_lc_CXX=yes
16665 if test "$enable_shared" = yes && test "$GCC" = yes; then
16666 case $archive_cmds_CXX in
16668 # FIXME: we may have to deal with multi-command sequences.
16671 # Test whether the compiler implicitly links with -lc since on some
16672 # systems, -lgcc has to come before -lc. If gcc already passes -lc
16673 # to ld, don't add -lc before -lgcc.
16674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
16675 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
16676 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
16677 $as_echo_n "(cached) " >&6
16680 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16682 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16683 (eval $ac_compile) 2>&5
16685 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16686 test $ac_status = 0; } 2>conftest.err; then
16689 libobjs=conftest.$ac_objext
16691 wl=$lt_prog_compiler_wl_CXX
16692 pic_flag=$lt_prog_compiler_pic_CXX
16698 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
16699 allow_undefined_flag_CXX=
16700 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
16701 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
16703 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16704 test $ac_status = 0; }
16706 lt_cv_archive_cmds_need_lc_CXX=no
16708 lt_cv_archive_cmds_need_lc_CXX=yes
16710 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
16712 cat conftest.err 1>&5
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
16718 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
16719 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
16787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
16788 $as_echo_n "checking dynamic linker characteristics... " >&6; }
16790 library_names_spec=
16791 libname_spec='lib$name'
16795 postuninstall_cmds=
16799 shlibpath_overrides_runpath=unknown
16801 dynamic_linker="$host_os ld.so"
16802 sys_lib_dlsearch_path_spec="/lib /usr/lib"
16803 need_lib_prefix=unknown
16804 hardcode_into_libs=no
16806 # when you set need_version to no, make sure it does not cause -set_version
16807 # flags to be left without arguments
16808 need_version=unknown
16812 version_type=linux # correct to gnu/linux during the next big refactor
16813 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
16814 shlibpath_var=LIBPATH
16816 # AIX 3 has no versioning support, so we append a major version to the name.
16817 soname_spec='${libname}${release}${shared_ext}$major'
16821 version_type=linux # correct to gnu/linux during the next big refactor
16824 hardcode_into_libs=yes
16825 if test "$host_cpu" = ia64; then
16826 # AIX 5 supports IA64
16827 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
16828 shlibpath_var=LD_LIBRARY_PATH
16830 # With GCC up to 2.95.x, collect2 would create an import file
16831 # for dependence libraries. The import file would start with
16832 # the line `#! .'. This would cause the generated library to
16833 # depend on `.', always an invalid library. This was fixed in
16834 # development snapshots of GCC prior to 3.0.
16836 aix4 | aix4.[01] | aix4.[01].*)
16837 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
16839 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
16842 can_build_shared=no
16846 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
16847 # soname into executable. Probably we can add versioning support to
16848 # collect2, so additional links can be useful in future.
16849 if test "$aix_use_runtimelinking" = yes; then
16850 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
16851 # instead of lib<name>.a to let people know that these are not
16852 # typical AIX shared libraries.
16853 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16855 # We preserve .a as extension for shared libraries through AIX4.2
16856 # and later when we are not doing run time linking.
16857 library_names_spec='${libname}${release}.a $libname.a'
16858 soname_spec='${libname}${release}${shared_ext}$major'
16860 shlibpath_var=LIBPATH
16867 # Since July 2007 AmigaOS4 officially supports .so libraries.
16868 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
16869 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16872 library_names_spec='$libname.ixlibrary $libname.a'
16873 # Create ${libname}_ixlibrary.a entries in /sys/libs.
16874 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $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'
16880 library_names_spec='${libname}${shared_ext}'
16881 dynamic_linker="$host_os ld.so"
16882 shlibpath_var=LIBRARY_PATH
16886 version_type=linux # correct to gnu/linux during the next big refactor
16888 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16889 soname_spec='${libname}${release}${shared_ext}$major'
16890 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
16891 shlibpath_var=LD_LIBRARY_PATH
16892 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
16893 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
16894 # the default ld.so.conf also contains /usr/contrib/lib and
16895 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
16896 # libtool to hard-code these into programs
16899 cygwin* | mingw* | pw32* | cegcc*)
16900 version_type=windows
16905 case $GCC,$cc_basename in
16908 library_names_spec='$libname.dll.a'
16909 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16910 postinstall_cmds='base_file=`basename \${file}`~
16911 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16912 dldir=$destdir/`dirname \$dlpath`~
16913 test -d \$dldir || mkdir -p \$dldir~
16914 $install_prog $dir/$dlname \$dldir/$dlname~
16915 chmod a+x \$dldir/$dlname~
16916 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
16917 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
16919 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16920 dlpath=$dir/\$dldll~
16922 shlibpath_overrides_runpath=yes
16926 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
16927 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16931 # MinGW DLLs use traditional 'lib' prefix
16932 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16935 # pw32 DLLs use 'pw' prefix rather than 'lib'
16936 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16939 dynamic_linker='Win32 ld.exe'
16944 libname_spec='$name'
16945 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16946 library_names_spec='${libname}.dll.lib'
16950 sys_lib_search_path_spec=
16953 for lt_path in $LIB
16956 # Let DOS variable expansion print the short 8.3 style file name.
16957 lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
16958 sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
16961 # Convert to MSYS style.
16962 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
16965 # Convert to unix form, then to dos form, then back to unix form
16966 # but this time dos style (no spaces!) so that the unix form looks
16967 # like /cygdrive/c/PROGRA~1:/cygdr...
16968 sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
16969 sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
16970 sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16973 sys_lib_search_path_spec="$LIB"
16974 if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
16975 # It is most probably a Windows format PATH.
16976 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
16978 sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
16980 # FIXME: find the short name or the path components, as spaces are
16981 # common. (e.g. "Program Files" -> "PROGRA~1")
16985 # DLL is installed to $(libdir)/../bin by postinstall_cmds
16986 postinstall_cmds='base_file=`basename \${file}`~
16987 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
16988 dldir=$destdir/`dirname \$dlpath`~
16989 test -d \$dldir || mkdir -p \$dldir~
16990 $install_prog $dir/$dlname \$dldir/$dlname'
16991 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16992 dlpath=$dir/\$dldll~
16994 shlibpath_overrides_runpath=yes
16995 dynamic_linker='Win32 link.exe'
16999 # Assume MSVC wrapper
17000 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
17001 dynamic_linker='Win32 ld.exe'
17004 # FIXME: first we should search . and the directory the executable is in
17008 darwin* | rhapsody*)
17009 dynamic_linker="$host_os dyld"
17010 version_type=darwin
17013 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
17014 soname_spec='${libname}${release}${major}$shared_ext'
17015 shlibpath_overrides_runpath=yes
17016 shlibpath_var=DYLD_LIBRARY_PATH
17017 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
17019 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
17023 version_type=linux # correct to gnu/linux during the next big refactor
17026 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
17027 soname_spec='${libname}${release}${shared_ext}$major'
17028 shlibpath_var=LD_LIBRARY_PATH
17031 freebsd* | dragonfly*)
17032 # DragonFly does not have aout. When/if they implement a new
17033 # versioning mechanism, adjust this.
17034 if test -x /usr/bin/objformat; then
17035 objformat=`/usr/bin/objformat`
17038 freebsd[23].*) objformat=aout ;;
17039 *) objformat=elf ;;
17042 version_type=freebsd-$objformat
17043 case $version_type in
17045 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17050 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
17054 shlibpath_var=LD_LIBRARY_PATH
17057 shlibpath_overrides_runpath=yes
17059 freebsd3.[01]* | freebsdelf3.[01]*)
17060 shlibpath_overrides_runpath=yes
17061 hardcode_into_libs=yes
17063 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
17064 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
17065 shlibpath_overrides_runpath=no
17066 hardcode_into_libs=yes
17068 *) # from 4.6 on, and DragonFly
17069 shlibpath_overrides_runpath=yes
17070 hardcode_into_libs=yes
17076 version_type=linux # correct to gnu/linux during the next big refactor
17079 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17080 soname_spec='${libname}${release}${shared_ext}$major'
17081 shlibpath_var=LD_LIBRARY_PATH
17082 shlibpath_overrides_runpath=no
17083 hardcode_into_libs=yes
17087 version_type=linux # correct to gnu/linux during the next big refactor
17090 dynamic_linker="$host_os runtime_loader"
17091 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
17092 soname_spec='${libname}${release}${shared_ext}$major'
17093 shlibpath_var=LIBRARY_PATH
17094 shlibpath_overrides_runpath=yes
17095 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
17096 hardcode_into_libs=yes
17099 hpux9* | hpux10* | hpux11*)
17100 # Give a soname corresponding to the major version so that dld.sl refuses to
17101 # link against other versions.
17108 hardcode_into_libs=yes
17109 dynamic_linker="$host_os dld.so"
17110 shlibpath_var=LD_LIBRARY_PATH
17111 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17112 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17113 soname_spec='${libname}${release}${shared_ext}$major'
17114 if test "X$HPUX_IA64_MODE" = X32; then
17115 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
17117 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
17119 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17123 hardcode_into_libs=yes
17124 dynamic_linker="$host_os dld.sl"
17125 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
17126 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
17127 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17128 soname_spec='${libname}${release}${shared_ext}$major'
17129 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
17130 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
17134 dynamic_linker="$host_os dld.sl"
17135 shlibpath_var=SHLIB_PATH
17136 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
17137 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17138 soname_spec='${libname}${release}${shared_ext}$major'
17141 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
17142 postinstall_cmds='chmod 555 $lib'
17143 # or fails outright, so override atomically:
17144 install_override_mode=555
17148 version_type=linux # correct to gnu/linux during the next big refactor
17151 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17152 soname_spec='${libname}${release}${shared_ext}$major'
17153 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
17154 shlibpath_var=LD_LIBRARY_PATH
17155 shlibpath_overrides_runpath=no
17156 hardcode_into_libs=yes
17159 irix5* | irix6* | nonstopux*)
17161 nonstopux*) version_type=nonstopux ;;
17163 if test "$lt_cv_prog_gnu_ld" = yes; then
17164 version_type=linux # correct to gnu/linux during the next big refactor
17171 soname_spec='${libname}${release}${shared_ext}$major'
17172 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
17174 irix5* | nonstopux*)
17175 libsuff= shlibsuff=
17178 case $LD in # libtool.m4 will add one of these switches to LD
17179 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
17180 libsuff= shlibsuff= libmagic=32-bit;;
17181 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
17182 libsuff=32 shlibsuff=N32 libmagic=N32;;
17183 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
17184 libsuff=64 shlibsuff=64 libmagic=64-bit;;
17185 *) libsuff= shlibsuff= libmagic=never-match;;
17189 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
17190 shlibpath_overrides_runpath=no
17191 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
17192 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
17193 hardcode_into_libs=yes
17196 # No shared lib support for Linux oldld, aout, or coff.
17197 linux*oldld* | linux*aout* | linux*coff*)
17201 # This must be glibc/ELF.
17202 linux* | k*bsd*-gnu | kopensolaris*-gnu)
17203 version_type=linux # correct to gnu/linux during the next big refactor
17206 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17207 soname_spec='${libname}${release}${shared_ext}$major'
17208 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
17209 shlibpath_var=LD_LIBRARY_PATH
17210 shlibpath_overrides_runpath=no
17212 # Some binutils ld are patched to set DT_RUNPATH
17213 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
17214 $as_echo_n "(cached) " >&6
17216 lt_cv_shlibpath_overrides_runpath=no
17217 save_LDFLAGS=$LDFLAGS
17218 save_libdir=$libdir
17219 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
17220 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17232 if ac_fn_cxx_try_link "$LINENO"; then :
17233 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
17234 lt_cv_shlibpath_overrides_runpath=yes
17237 rm -f core conftest.err conftest.$ac_objext \
17238 conftest$ac_exeext conftest.$ac_ext
17239 LDFLAGS=$save_LDFLAGS
17240 libdir=$save_libdir
17244 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
17246 # This implies no fast_install, which is unacceptable.
17247 # Some rework will be needed to allow for fast_install
17248 # before this can be enabled.
17249 hardcode_into_libs=yes
17251 # Append ld.so.conf contents to the search path
17252 if test -f /etc/ld.so.conf; then
17253 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' ' '`
17254 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
17257 # We used to test for /lib/ld.so.1 and disable shared libraries on
17258 # powerpc, because MkLinux only supported shared libraries with the
17259 # GNU dynamic linker. Since this was broken with cross compilers,
17260 # most powerpc-linux boxes support dynamic linking these days and
17261 # people can always --disable-shared, the test was removed, and we
17262 # assume the GNU/Linux dynamic linker is in use.
17263 dynamic_linker='GNU/Linux ld.so'
17270 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
17271 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17272 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17273 dynamic_linker='NetBSD (a.out) ld.so'
17275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17276 soname_spec='${libname}${release}${shared_ext}$major'
17277 dynamic_linker='NetBSD ld.elf_so'
17279 shlibpath_var=LD_LIBRARY_PATH
17280 shlibpath_overrides_runpath=yes
17281 hardcode_into_libs=yes
17285 version_type=linux # correct to gnu/linux during the next big refactor
17286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17287 shlibpath_var=LD_LIBRARY_PATH
17288 shlibpath_overrides_runpath=yes
17295 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17296 soname_spec='${libname}${release}${shared_ext}$major'
17297 shlibpath_var=LD_LIBRARY_PATH
17298 shlibpath_overrides_runpath=no
17299 hardcode_into_libs=yes
17300 dynamic_linker='ldqnx.so'
17305 sys_lib_dlsearch_path_spec="/usr/lib"
17307 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
17309 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
17310 *) need_version=no ;;
17312 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17313 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17314 shlibpath_var=LD_LIBRARY_PATH
17315 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17317 openbsd2.[89] | openbsd2.[89].*)
17318 shlibpath_overrides_runpath=no
17321 shlibpath_overrides_runpath=yes
17325 shlibpath_overrides_runpath=yes
17330 libname_spec='$name'
17333 library_names_spec='$libname${shared_ext} $libname.a'
17334 dynamic_linker='OS/2 ld.exe'
17335 shlibpath_var=LIBPATH
17338 osf3* | osf4* | osf5*)
17342 soname_spec='${libname}${release}${shared_ext}$major'
17343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17344 shlibpath_var=LD_LIBRARY_PATH
17345 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
17346 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
17354 version_type=linux # correct to gnu/linux during the next big refactor
17357 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17358 soname_spec='${libname}${release}${shared_ext}$major'
17359 shlibpath_var=LD_LIBRARY_PATH
17360 shlibpath_overrides_runpath=yes
17361 hardcode_into_libs=yes
17362 # ldd complains unless libraries are executable
17363 postinstall_cmds='chmod +x $lib'
17368 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17369 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
17370 shlibpath_var=LD_LIBRARY_PATH
17371 shlibpath_overrides_runpath=yes
17372 if test "$with_gnu_ld" = yes; then
17379 version_type=linux # correct to gnu/linux during the next big refactor
17380 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17381 soname_spec='${libname}${release}${shared_ext}$major'
17382 shlibpath_var=LD_LIBRARY_PATH
17383 case $host_vendor in
17385 shlibpath_overrides_runpath=no
17387 runpath_var=LD_RUN_PATH
17395 shlibpath_overrides_runpath=no
17396 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
17402 if test -d /usr/nec ;then
17403 version_type=linux # correct to gnu/linux during the next big refactor
17404 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
17405 soname_spec='$libname${shared_ext}.$major'
17406 shlibpath_var=LD_LIBRARY_PATH
17410 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
17411 version_type=freebsd-elf
17414 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
17415 soname_spec='${libname}${release}${shared_ext}$major'
17416 shlibpath_var=LD_LIBRARY_PATH
17417 shlibpath_overrides_runpath=yes
17418 hardcode_into_libs=yes
17419 if test "$with_gnu_ld" = yes; then
17420 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
17422 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
17425 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
17429 sys_lib_dlsearch_path_spec='/usr/lib'
17433 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
17434 version_type=linux # correct to gnu/linux during the next big refactor
17437 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17438 shlibpath_var=LD_LIBRARY_PATH
17439 shlibpath_overrides_runpath=no
17440 hardcode_into_libs=yes
17444 version_type=linux # correct to gnu/linux during the next big refactor
17445 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
17446 soname_spec='${libname}${release}${shared_ext}$major'
17447 shlibpath_var=LD_LIBRARY_PATH
17454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
17455 $as_echo "$dynamic_linker" >&6; }
17456 test "$dynamic_linker" = no && can_build_shared=no
17458 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
17459 if test "$GCC" = yes; then
17460 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
17463 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
17464 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
17466 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
17467 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
17507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
17508 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
17509 hardcode_action_CXX=
17510 if test -n "$hardcode_libdir_flag_spec_CXX" ||
17511 test -n "$runpath_var_CXX" ||
17512 test "X$hardcode_automatic_CXX" = "Xyes" ; then
17514 # We can hardcode non-existent directories.
17515 if test "$hardcode_direct_CXX" != no &&
17516 # If the only mechanism to avoid hardcoding is shlibpath_var, we
17517 # have to relink, otherwise we might link with an installed library
17518 # when we should be linking with a yet-to-be-installed one
17519 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
17520 test "$hardcode_minus_L_CXX" != no; then
17521 # Linking always hardcodes the temporary library directory.
17522 hardcode_action_CXX=relink
17524 # We can link without hardcoding, and we can hardcode nonexisting dirs.
17525 hardcode_action_CXX=immediate
17528 # We cannot hardcode anything, or else we can only hardcode existing
17530 hardcode_action_CXX=unsupported
17532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
17533 $as_echo "$hardcode_action_CXX" >&6; }
17535 if test "$hardcode_action_CXX" = relink ||
17536 test "$inherit_rpath_CXX" = yes; then
17537 # Fast installation is not supported
17538 enable_fast_install=no
17539 elif test "$shlibpath_overrides_runpath" = yes ||
17540 test "$enable_shared" = no; then
17541 # Fast installation is not necessary
17542 enable_fast_install=needless
17551 fi # test -n "$compiler"
17554 CFLAGS=$lt_save_CFLAGS
17558 with_gnu_ld=$lt_save_with_gnu_ld
17559 lt_cv_path_LDCXX=$lt_cv_path_LD
17560 lt_cv_path_LD=$lt_save_path_LD
17561 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
17562 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
17563 fi # test "$_lt_caught_CXX_error" != yes
17566 ac_cpp='$CPP $CPPFLAGS'
17567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17585 ac_config_commands="$ac_config_commands libtool"
17590 # Only expand once:
17593 # Check whether --enable-experimental-libtool was given.
17594 if test "${enable_experimental_libtool+set}" = set; then :
17595 enableval=$enable_experimental_libtool; experimental_libtool=$enableval
17597 experimental_libtool=no
17601 if test "$experimental_libtool" = "yes"; then
17602 echo "using APR's libtool"
17603 sh_libtool="`$apr_config --apr-libtool`"
17604 LIBTOOL="$sh_libtool"
17605 SVN_LIBTOOL="$sh_libtool"
17607 sh_libtool="$abs_builddir/libtool"
17608 SVN_LIBTOOL="\$(SHELL) $sh_libtool"
17612 lt_pversion=`$LIBTOOL --version 2>/dev/null|$SED -e 's/([^)]*)//g;s/^[^0-9]*//;s/[- ].*//g;q'`
17613 lt_version=`echo $lt_pversion|$SED -e 's/\([a-z]*\)$/.\1/'`
17614 lt_major_version=`echo $lt_version | cut -d'.' -f 1`
17616 svn_enable_static=yes
17617 svn_enable_shared=yes
17619 # Check whether --enable-static was given.
17620 if test "${enable_static+set}" = set; then :
17621 enableval=$enable_static; svn_enable_static="$enableval"
17623 svn_enable_static="yes"
17627 # Check whether --enable-shared was given.
17628 if test "${enable_shared+set}" = set; then :
17629 enableval=$enable_shared; svn_enable_shared="$enableval"
17631 svn_enable_shared="yes"
17635 if test "$svn_enable_static" = "yes" && test "$svn_enable_shared" = "yes" ; then
17636 { $as_echo "$as_me:${as_lineno-$LINENO}: building both shared and static libraries" >&5
17637 $as_echo "$as_me: building both shared and static libraries" >&6;}
17638 elif test "$svn_enable_static" = "yes" ; then
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: building static libraries only" >&5
17640 $as_echo "$as_me: building static libraries only" >&6;}
17641 LT_CFLAGS="-static $LT_CFLAGS"
17642 LT_LDFLAGS="-static $LT_LDFLAGS"
17643 elif test "$svn_enable_shared" = "yes" ; then
17644 { $as_echo "$as_me:${as_lineno-$LINENO}: building shared libraries only" >&5
17645 $as_echo "$as_me: building shared libraries only" >&6;}
17646 if test "$lt_major_version" = "1" ; then
17647 LT_CFLAGS="-prefer-pic $LT_CFLAGS"
17648 elif test "$lt_major_version" = "2" ; then
17649 LT_CFLAGS="-shared $LT_CFLAGS"
17651 LT_LDFLAGS="-shared $LT_LDFLAGS"
17653 as_fn_error $? "cannot disable both shared and static libraries" "$LINENO" 5
17656 # Check whether --enable-all-static was given.
17657 if test "${enable_all_static+set}" = set; then :
17658 enableval=$enable_all_static;
17659 if test "$enableval" = "yes" ; then
17660 LT_LDFLAGS="-all-static $LT_LDFLAGS"
17661 elif test "$enableval" != "no" ; then
17662 as_fn_error $? "--enable-all-static doesn't accept argument" "$LINENO" 5
17671 # Check whether --enable-local-library-preloading was given.
17672 if test "${enable_local_library_preloading+set}" = set; then :
17673 enableval=$enable_local_library_preloading;
17674 if test "$enableval" != "no"; then
17675 if test "$svn_enable_shared" = "yes"; then
17676 TRANSFORM_LIBTOOL_SCRIPTS="transform-libtool-scripts"
17678 as_fn_error $? "--enable-local-library-preloading conflicts with --disable-shared" "$LINENO" 5
17681 TRANSFORM_LIBTOOL_SCRIPTS=""
17686 TRANSFORM_LIBTOOL_SCRIPTS=""
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether libtool needs -no-undefined" >&5
17693 $as_echo_n "checking whether libtool needs -no-undefined... " >&6; }
17696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17697 $as_echo "yes" >&6; }
17698 LT_NO_UNDEFINED="-no-undefined"
17701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17702 $as_echo "no" >&6; }
17708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to avoid circular linkage at all costs" >&5
17709 $as_echo_n "checking whether to avoid circular linkage at all costs... " >&6; }
17712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17713 $as_echo "yes" >&6; }
17715 $as_echo "#define SVN_AVOID_CIRCULAR_LINKAGE_AT_ALL_COSTS_HACK 1" >>confdefs.h
17719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17720 $as_echo "no" >&6; }
17726 # Check whether --with-trang was given.
17727 if test "${with_trang+set}" = set; then :
17728 withval=$with_trang;
17733 if test "$trang" = "yes"; then
17734 # Extract the first word of "trang", so it can be a program name with args.
17735 set dummy trang; ac_word=$2
17736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17737 $as_echo_n "checking for $ac_word... " >&6; }
17738 if ${ac_cv_path_TRANG+:} false; then :
17739 $as_echo_n "(cached) " >&6
17743 ac_cv_path_TRANG="$TRANG" # Let the user override the test with a path.
17746 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17747 for as_dir in $PATH
17750 test -z "$as_dir" && as_dir=.
17751 for ac_exec_ext in '' $ac_executable_extensions; do
17752 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17753 ac_cv_path_TRANG="$as_dir/$ac_word$ac_exec_ext"
17754 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17761 test -z "$ac_cv_path_TRANG" && ac_cv_path_TRANG="none"
17765 TRANG=$ac_cv_path_TRANG
17766 if test -n "$TRANG"; then
17767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $TRANG" >&5
17768 $as_echo "$TRANG" >&6; }
17770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17771 $as_echo "no" >&6; }
17782 # Check whether --with-doxygen was given.
17783 if test "${with_doxygen+set}" = set; then :
17784 withval=$with_doxygen;
17789 if test "$doxygen" = "yes"; then
17790 # Extract the first word of "doxygen", so it can be a program name with args.
17791 set dummy doxygen; ac_word=$2
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17793 $as_echo_n "checking for $ac_word... " >&6; }
17794 if ${ac_cv_path_DOXYGEN+:} false; then :
17795 $as_echo_n "(cached) " >&6
17799 ac_cv_path_DOXYGEN="$DOXYGEN" # Let the user override the test with a path.
17802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17803 for as_dir in $PATH
17806 test -z "$as_dir" && as_dir=.
17807 for ac_exec_ext in '' $ac_executable_extensions; do
17808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
17809 ac_cv_path_DOXYGEN="$as_dir/$ac_word$ac_exec_ext"
17810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
17817 test -z "$ac_cv_path_DOXYGEN" && ac_cv_path_DOXYGEN="none"
17821 DOXYGEN=$ac_cv_path_DOXYGEN
17822 if test -n "$DOXYGEN"; then
17823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
17824 $as_echo "$DOXYGEN" >&6; }
17826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17827 $as_echo "no" >&6; }
17840 # Check whether --with-expat was given.
17841 if test "${with_expat+set}" = set; then :
17842 withval=$with_expat; svn_lib_expat="$withval"
17844 svn_lib_expat="::expat"
17848 # APR-util accepts "builtin" as an argument to this option so if the user
17849 # passed "builtin" pretend the user didn't specify the --with-expat option
17850 # at all. Expat will (hopefully) be found in apr-util.
17851 test "_$svn_lib_expat" = "_builtin" && svn_lib_expat="::expat"
17853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Expat" >&5
17854 $as_echo_n "checking for Expat... " >&6; }
17855 if test -n "`echo "$svn_lib_expat" | $EGREP ":.*:"`"; then
17856 SVN_XML_INCLUDES=""
17857 for i in `echo "$svn_lib_expat" | $SED -e "s/\([^:]*\):.*/\1/"`; do
17858 SVN_XML_INCLUDES="$SVN_XML_INCLUDES -I$i"
17860 SVN_XML_INCLUDES="${SVN_XML_INCLUDES## }"
17861 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\):.*/\1/"`; do
17862 LDFLAGS="$LDFLAGS -L$l"
17864 for l in `echo "$svn_lib_expat" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
17865 SVN_XML_LIBS="$SVN_XML_LIBS -l$l"
17867 SVN_XML_LIBS="${SVN_XML_LIBS## }"
17868 old_CPPFLAGS="$CPPFLAGS"
17870 CPPFLAGS="$CPPFLAGS $SVN_XML_INCLUDES"
17871 LIBS="$LIBS $SVN_XML_LIBS"
17872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17873 /* end confdefs.h. */
17877 {XML_ParserCreate(NULL);}
17879 if ac_fn_c_try_link "$LINENO"; then :
17880 svn_lib_expat="yes"
17884 rm -f core conftest.err conftest.$ac_objext \
17885 conftest$ac_exeext conftest.$ac_ext
17887 if test "$svn_lib_expat" = "yes"; then
17888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17889 $as_echo "yes" >&6; }
17891 SVN_XML_INCLUDES=""
17893 CPPFLAGS="$CPPFLAGS $SVN_APRUTIL_INCLUDES"
17894 if test "$enable_all_static" != "yes"; then
17895 SVN_APRUTIL_LIBS="$SVN_APRUTIL_LIBS `$apu_config --libs`"
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17902 {XML_ParserCreate(NULL);}
17904 if ac_fn_c_try_compile "$LINENO"; then :
17905 svn_lib_expat="yes"
17909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17910 if test "$svn_lib_expat" = "yes"; then
17911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17912 $as_echo "yes" >&6; }
17913 { $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
17914 $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;}
17916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17917 $as_echo "no" >&6; }
17918 as_fn_error $? "Expat not found" "$LINENO" 5
17921 CPPFLAGS="$old_CPPFLAGS"
17923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
17924 $as_echo "no" >&6; }
17925 if test "$svn_lib_expat" = "yes"; then
17926 as_fn_error $? "--with-expat option requires argument" "$LINENO" 5
17927 elif test "$svn_lib_expat" = "no"; then
17928 as_fn_error $? "Expat is required" "$LINENO" 5
17930 as_fn_error $? "Invalid syntax of argument of --with-expat option" "$LINENO" 5
17937 # Berkeley DB on SCO OpenServer needs -lsocket
17938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
17939 $as_echo_n "checking for socket in -lsocket... " >&6; }
17940 if ${ac_cv_lib_socket_socket+:} false; then :
17941 $as_echo_n "(cached) " >&6
17943 ac_check_lib_save_LIBS=$LIBS
17944 LIBS="-lsocket $LIBS"
17945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17946 /* end confdefs.h. */
17948 /* Override any GCC internal prototype to avoid an error.
17949 Use char because int might match the return type of a GCC
17950 builtin and then its argument prototype would still apply. */
17963 if ac_fn_c_try_link "$LINENO"; then :
17964 ac_cv_lib_socket_socket=yes
17966 ac_cv_lib_socket_socket=no
17968 rm -f core conftest.err conftest.$ac_objext \
17969 conftest$ac_exeext conftest.$ac_ext
17970 LIBS=$ac_check_lib_save_LIBS
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
17973 $as_echo "$ac_cv_lib_socket_socket" >&6; }
17974 if test "x$ac_cv_lib_socket_socket" = xyes; then :
17975 cat >>confdefs.h <<_ACEOF
17976 #define HAVE_LIBSOCKET 1
17979 LIBS="-lsocket $LIBS"
17984 # Build the BDB filesystem library only if we have an appropriate
17985 # version of Berkeley DB.
17987 powerpc-apple-darwin*)
17988 # Berkeley DB 4.0 does not work on OS X.
17989 SVN_FS_WANT_DB_MAJOR=4
17990 SVN_FS_WANT_DB_MINOR=1
17991 SVN_FS_WANT_DB_PATCH=25
17994 SVN_FS_WANT_DB_MAJOR=4
17995 SVN_FS_WANT_DB_MINOR=0
17996 SVN_FS_WANT_DB_PATCH=14
17999 db_alt_version="5.x"
18000 # Look for libdb4.so first:
18002 db_version=$SVN_FS_WANT_DB_MAJOR.$SVN_FS_WANT_DB_MINOR.$SVN_FS_WANT_DB_PATCH
18005 # Check whether --with-berkeley-db was given.
18006 if test "${with_berkeley_db+set}" = set; then :
18007 withval=$with_berkeley_db;
18008 if test "$withval" = "no"; then
18010 elif test "$withval" = "yes"; then
18011 apu_db_version="`$apu_config --db-version`"
18012 if test $? -ne 0; then
18013 as_fn_error $? "Can't determine whether apr-util is linked against a
18014 proper version of Berkeley DB." "$LINENO" 5
18017 if test "$withval" = "yes"; then
18018 if test "$apu_db_version" -lt "4"; then
18019 as_fn_error $? "APR-UTIL was linked against Berkeley DB version $apu_db_version,
18020 while version 4 or higher is required. Reinstall
18021 APR-UTIL with the appropriate options." "$LINENO" 5
18024 bdb_status=required
18026 elif test "$apu_found" != "reconfig"; then
18027 if test "$apu_db_version" -lt 4; then
18028 as_fn_error $? "APR-UTIL was installed independently, it won't be
18029 possible to use the specified Berkeley DB: $withval" "$LINENO" 5
18032 bdb_status=required
18035 if echo "$withval" | $EGREP ":.*:.*:" > /dev/null; then
18036 svn_berkeley_db_header="`echo "$withval" | $SED -e "s/\([^:]*\):.*/\1/"`"
18038 for i in `echo "$withval" | $SED -e "s/.*:\([^:]*\):[^:]*:.*/\1/"`; do
18039 SVN_DB_INCLUDES="$SVN_DB_INCLUDES -I$i"
18041 SVN_DB_INCLUDES="${SVN_DB_INCLUDES## }"
18042 for l in `echo "$withval" | $SED -e "s/.*:[^:]*:\([^:]*\):.*/\1/"`; do
18043 LDFLAGS="$LDFLAGS `
18046 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
18047 for flag in $input_flags; do
18049 for dir in $filtered_dirs; do
18050 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
18055 if test "$filter" = "no"; then
18056 output_flags="$output_flags $flag"
18059 if test -n "$output_flags"; then
18060 printf "%s" "${output_flags# }"
18065 for l in `echo "$withval" | $SED -e "s/.*:\([^:]*\)/\1/"`; do
18066 SVN_DB_LIBS="$SVN_DB_LIBS -l$l"
18068 SVN_DB_LIBS="${SVN_DB_LIBS## }"
18070 bdb_status=required
18072 as_fn_error $? "Invalid syntax of argument of --with-berkeley-db option" "$LINENO" 5
18078 # No --with-berkeley-db option:
18080 # Check if APR-UTIL is providing the correct Berkeley DB version
18083 apu_db_version="`$apu_config --db-version`"
18084 if test $? -ne 0; then
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected older version of APR-UTIL, trying to determine
18086 whether apr-util is linked against Berkeley DB
18088 $as_echo "$as_me: WARNING: Detected older version of APR-UTIL, trying to determine
18089 whether apr-util is linked against Berkeley DB
18091 bdb_status=try-link
18092 elif test "$apu_db_version" -lt "4"; then
18095 bdb_status=try-link
18101 if test "$bdb_status" = "skip"; then
18102 svn_lib_berkeley_db=no
18104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Berkeley DB" >&5
18105 $as_echo_n "checking for availability of Berkeley DB... " >&6; }
18106 # Check whether --enable-bdb6 was given.
18107 if test "${enable_bdb6+set}" = set; then :
18108 enableval=$enable_bdb6; enable_bdb6=$enableval
18110 enable_bdb6=unspecified
18115 svn_lib_berkeley_db_try_save_cppflags="$CPPFLAGS"
18116 svn_lib_berkeley_db_try_save_libs="$LIBS"
18118 svn_check_berkeley_db_major=$SVN_FS_WANT_DB_MAJOR
18119 svn_check_berkeley_db_minor=$SVN_FS_WANT_DB_MINOR
18120 svn_check_berkeley_db_patch=$SVN_FS_WANT_DB_PATCH
18121 enable_bdb6=$enable_bdb6
18123 if test -z "$SVN_DB_LIBS"; then
18124 # We pass --dbm-libs here since Debian has modified apu-config not
18125 # to return -ldb unless --dbm-libs is passed. This may also produce
18126 # extra output beyond -ldb but since we're only filtering for -ldb
18127 # it won't matter to us. However, --dbm-libs was added to apu-config
18128 # in 1.3.8 so it's possible the version we have doesn't support it
18129 # so fallback without it if we get an error.
18130 svn_db_libs_prefiltered="`$apu_config --libs --dbm-libs`"
18131 if test $? -ne 0; then
18132 svn_db_libs_prefiltered="`$apu_config --libs`"
18135 # Extract only the -ldb.* flag from the libs supplied by apu-config
18136 # Otherwise we get bit by the fact that expat might not be built yet
18137 # Or that it resides in a non-standard location which we would have
18138 # to compensate with using something like -R`$apu_config --prefix`/lib.
18140 SVN_DB_LIBS="`echo \"$svn_db_libs_prefiltered\" | $SED -e 's/.*\(-ldb[^[:space:]]*\).*/\1/' | $EGREP -- '-ldb[^[:space:]]*'`"
18143 CPPFLAGS="$SVN_DB_INCLUDES $SVN_APRUTIL_INCLUDES $CPPFLAGS"
18144 LIBS="`$apu_config --ldflags` $SVN_DB_LIBS $LIBS"
18146 if test -n "$svn_berkeley_db_header"; then
18147 SVN_DB_HEADER="#include <$svn_berkeley_db_header>"
18148 svn_db_header="#include <$svn_berkeley_db_header>"
18150 SVN_DB_HEADER="#include <apu_want.h>"
18151 svn_db_header="#define APU_WANT_DB
18152 #include <apu_want.h>"
18157 if test "$cross_compiling" = yes; then :
18158 svn_have_berkeley_db=yes
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18164 #include <string.h>
18165 #include <stdlib.h>
18170 int major, minor, patch;
18172 db_version (&major, &minor, &patch);
18174 /* Sanity check: ensure that db.h constants actually match the db library */
18175 if (major != DB_VERSION_MAJOR
18176 || minor != DB_VERSION_MINOR
18177 || patch != DB_VERSION_PATCH)
18180 /* Block Berkeley DB 6, because (a) we haven't tested with it, (b) 6.0.20
18181 and newer are under the AGPL, and we want use of AGPL dependencies to be
18183 if (major >= 6 && strcmp("$enable_bdb6", "yes"))
18186 /* Run-time check: ensure the library claims to be the correct version. */
18188 if (major < $svn_check_berkeley_db_major)
18190 if (major > $svn_check_berkeley_db_major)
18193 if (minor < $svn_check_berkeley_db_minor)
18195 if (minor > $svn_check_berkeley_db_minor)
18198 if (patch >= $svn_check_berkeley_db_patch)
18205 if ac_fn_c_try_run "$LINENO"; then :
18206 svn_have_berkeley_db=yes
18209 svn_have_berkeley_db=no
18210 if test $rc = 2; then
18211 svn_have_berkeley_db=no6
18214 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18215 conftest.$ac_objext conftest.beam conftest.$ac_ext
18219 CPPFLAGS="$svn_lib_berkeley_db_try_save_cppflags"
18220 LIBS="$svn_lib_berkeley_db_try_save_libs"
18223 if test "$svn_have_berkeley_db" = "yes"; then
18224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18225 $as_echo "yes" >&6; }
18226 svn_lib_berkeley_db=yes
18228 if test "$svn_have_berkeley_db" = "no6"; then
18229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no (found version 6, but --enable-bdb6 not specified)" >&5
18230 $as_echo "no (found version 6, but --enable-bdb6 not specified)" >&6; }
18231 # A warning will be printed at the end of configure.ac.
18233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18234 $as_echo "no" >&6; }
18236 svn_lib_berkeley_db=no
18237 if test "$bdb_status" = "required"; then
18238 as_fn_error $? "Berkeley DB $db_version or $db_alt_version wasn't found." "$LINENO" 5
18245 cat >>confdefs.h <<_ACEOF
18246 #define SVN_FS_WANT_DB_MAJOR $SVN_FS_WANT_DB_MAJOR
18250 cat >>confdefs.h <<_ACEOF
18251 #define SVN_FS_WANT_DB_MINOR $SVN_FS_WANT_DB_MINOR
18255 cat >>confdefs.h <<_ACEOF
18256 #define SVN_FS_WANT_DB_PATCH $SVN_FS_WANT_DB_PATCH
18265 # Check whether --with-sasl was given.
18266 if test "${with_sasl+set}" = set; then :
18267 withval=$with_sasl;
18268 with_sasl="$withval"
18279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for SASL" >&5
18280 $as_echo_n "checking whether to look for SASL... " >&6; }
18282 if test "${with_sasl}" = "no"; then
18283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18284 $as_echo "no" >&6; }
18287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18288 $as_echo "yes" >&6; }
18289 saved_LDFLAGS="$LDFLAGS"
18290 saved_CPPFLAGS="$CPPFLAGS"
18292 if test "$with_sasl" = "yes"; then
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: Looking in default locations" >&5
18294 $as_echo "$as_me: Looking in default locations" >&6;}
18295 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
18296 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
18297 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
18298 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
18300 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
18301 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
18302 $as_echo_n "(cached) " >&6
18304 ac_check_lib_save_LIBS=$LIBS
18305 LIBS="-lsasl2 $LIBS"
18306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18307 /* end confdefs.h. */
18309 /* Override any GCC internal prototype to avoid an error.
18310 Use char because int might match the return type of a GCC
18311 builtin and then its argument prototype would still apply. */
18319 return prop_get ();
18324 if ac_fn_c_try_link "$LINENO"; then :
18325 ac_cv_lib_sasl2_prop_get=yes
18327 ac_cv_lib_sasl2_prop_get=no
18329 rm -f core conftest.err conftest.$ac_objext \
18330 conftest$ac_exeext conftest.$ac_ext
18331 LIBS=$ac_check_lib_save_LIBS
18333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
18334 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
18335 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
18351 if test "$svn_lib_sasl" = "no"; then
18352 with_sasl="/usr/local"
18358 if test "$svn_lib_sasl" = "no"; then
18359 SVN_SASL_INCLUDES="-I${with_sasl}/include"
18360 CPPFLAGS="$CPPFLAGS $SVN_SASL_INCLUDES"
18361 LDFLAGS="$LDFLAGS `
18362 input_flags="-L${with_sasl}/lib"
18364 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
18365 for flag in $input_flags; do
18367 for dir in $filtered_dirs; do
18368 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
18373 if test "$filter" = "no"; then
18374 output_flags="$output_flags $flag"
18377 if test -n "$output_flags"; then
18378 printf "%s" "${output_flags# }"
18382 ac_fn_c_check_header_mongrel "$LINENO" "sasl/sasl.h" "ac_cv_header_sasl_sasl_h" "$ac_includes_default"
18383 if test "x$ac_cv_header_sasl_sasl_h" = xyes; then :
18384 ac_fn_c_check_header_mongrel "$LINENO" "sasl/saslutil.h" "ac_cv_header_sasl_saslutil_h" "$ac_includes_default"
18385 if test "x$ac_cv_header_sasl_saslutil_h" = xyes; then :
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for prop_get in -lsasl2" >&5
18387 $as_echo_n "checking for prop_get in -lsasl2... " >&6; }
18388 if ${ac_cv_lib_sasl2_prop_get+:} false; then :
18389 $as_echo_n "(cached) " >&6
18391 ac_check_lib_save_LIBS=$LIBS
18392 LIBS="-lsasl2 $LIBS"
18393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18394 /* end confdefs.h. */
18396 /* Override any GCC internal prototype to avoid an error.
18397 Use char because int might match the return type of a GCC
18398 builtin and then its argument prototype would still apply. */
18406 return prop_get ();
18411 if ac_fn_c_try_link "$LINENO"; then :
18412 ac_cv_lib_sasl2_prop_get=yes
18414 ac_cv_lib_sasl2_prop_get=no
18416 rm -f core conftest.err conftest.$ac_objext \
18417 conftest$ac_exeext conftest.$ac_ext
18418 LIBS=$ac_check_lib_save_LIBS
18420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sasl2_prop_get" >&5
18421 $as_echo "$ac_cv_lib_sasl2_prop_get" >&6; }
18422 if test "x$ac_cv_lib_sasl2_prop_get" = xyes; then :
18440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for availability of Cyrus SASL v2" >&5
18441 $as_echo_n "checking for availability of Cyrus SASL v2... " >&6; }
18442 if test "$svn_lib_sasl" = "yes"; then
18443 SVN_SASL_LIBS="-lsasl2"
18444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18445 $as_echo "yes" >&6; }
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18448 $as_echo "no" >&6; }
18450 if test "$required" = "yes"; then
18451 as_fn_error $? "Could not find Cyrus SASL v2" "$LINENO" 5
18454 SVN_SASL_INCLUDES=""
18455 LDFLAGS="$saved_LDFLAGS"
18458 CPPFLAGS="$saved_CPPFLAGS"
18465 if test "$svn_lib_sasl" = "yes"; then
18467 $as_echo "#define SVN_HAVE_SASL 1" >>confdefs.h
18473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mach-O dynamic module iteration functions" >&5
18474 $as_echo_n "checking for Mach-O dynamic module iteration functions... " >&6; }
18475 if test "$cross_compiling" = yes; then :
18476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
18477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18478 as_fn_error $? "cannot run test program while cross compiling
18479 See \`config.log' for more details" "$LINENO" 5; }
18481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18482 /* end confdefs.h. */
18484 #include <mach-o/dyld.h>
18485 #include <mach-o/loader.h>
18491 const struct mach_header *header = _dyld_get_image_header(0);
18492 const char *name = _dyld_get_image_name(0);
18493 if (name && header) return 0;
18500 if ac_fn_c_try_run "$LINENO"; then :
18503 $as_echo "#define SVN_HAVE_MACHO_ITERATE 1" >>confdefs.h
18505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18506 $as_echo "yes" >&6; }
18510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18511 $as_echo "no" >&6; }
18514 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
18515 conftest.$ac_objext conftest.beam conftest.$ac_ext
18520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS property list utilities" >&5
18521 $as_echo_n "checking for Mac OS property list utilities... " >&6; }
18523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18524 /* end confdefs.h. */
18526 #include <AvailabilityMacros.h>
18527 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
18528 || !defined(MAC_OS_X_VERSION_10_0) \
18529 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_0)
18530 #error ProperyList API unavailable.
18541 if ac_fn_c_try_compile "$LINENO"; then :
18544 LIBS="$LIBS -framework CoreFoundation"
18546 $as_echo "#define SVN_HAVE_MACOS_PLIST 1" >>confdefs.h
18548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18549 $as_echo "yes" >&6; }
18553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18554 $as_echo "no" >&6; }
18557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18560 # Check whether --enable-keychain was given.
18561 if test "${enable_keychain+set}" = set; then :
18562 enableval=$enable_keychain; enable_keychain=$enableval
18564 enable_keychain=yes
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Mac OS KeyChain Services" >&5
18569 $as_echo_n "checking for Mac OS KeyChain Services... " >&6; }
18571 if test "$enable_keychain" = "yes"; then
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18575 #include <AvailabilityMacros.h>
18576 #if !defined(MAC_OS_X_VERSION_MAX_ALLOWED) \
18577 || !defined(MAC_OS_X_VERSION_10_2) \
18578 || (MAC_OS_X_VERSION_MAX_ALLOWED <= MAC_OS_X_VERSION_10_2)
18579 #error KeyChain API unavailable.
18590 if ac_fn_c_try_compile "$LINENO"; then :
18592 LIBS="$LIBS -framework Security"
18593 LIBS="$LIBS -framework CoreServices"
18595 $as_echo "#define SVN_HAVE_KEYCHAIN_SERVICES 1" >>confdefs.h
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18598 $as_echo "yes" >&6; }
18603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18604 $as_echo "no" >&6; }
18607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether APR has support for DSOs" >&5
18613 $as_echo_n "checking whether APR has support for DSOs... " >&6; }
18614 old_CPPFLAGS="$CPPFLAGS"
18615 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
18616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18617 /* end confdefs.h. */
18624 if ac_fn_c_try_cpp "$LINENO"; then :
18626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18627 $as_echo "yes" >&6; }
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18631 $as_echo "no" >&6; }
18633 rm -f conftest.err conftest.i conftest.$ac_ext
18634 CPPFLAGS="$old_CPPFLAGS"
18638 if test -n "$PKG_CONFIG"; then
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus .pc file" >&5
18640 $as_echo_n "checking for D-Bus .pc file... " >&6; }
18641 if $PKG_CONFIG --exists dbus-1; then
18642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18643 $as_echo "yes" >&6; }
18644 old_CPPFLAGS="$CPPFLAGS"
18646 DBUS_CPPFLAGS="`$PKG_CONFIG --cflags dbus-1`"
18647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking D-Bus version" >&5
18648 $as_echo_n "checking D-Bus version... " >&6; }
18649 DBUS_VERSION="`$PKG_CONFIG --modversion dbus-1`"
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBUS_VERSION" >&5
18651 $as_echo "$DBUS_VERSION" >&6; }
18652 # D-Bus 0.* requires DBUS_API_SUBJECT_TO_CHANGE
18653 if test -n "`echo "$DBUS_VERSION" | $EGREP '^0\.[[:digit:]]+'`"; then
18654 DBUS_CPPFLAGS="$DBUS_CPPFLAGS -DDBUS_API_SUBJECT_TO_CHANGE"
18656 DBUS_LIBS="`$PKG_CONFIG --libs dbus-1`"
18657 CPPFLAGS="$CPPFLAGS $DBUS_CPPFLAGS"
18658 LIBS="$LIBS $DBUS_LIBS"
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for D-Bus" >&5
18660 $as_echo_n "checking for D-Bus... " >&6; }
18661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18662 /* end confdefs.h. */
18664 #include <dbus/dbus.h>
18666 {dbus_bus_get(DBUS_BUS_SESSION, NULL);}
18668 if ac_fn_c_try_link "$LINENO"; then :
18673 rm -f core conftest.err conftest.$ac_objext \
18674 conftest$ac_exeext conftest.$ac_ext
18675 if test "$HAVE_DBUS" = "yes"; then
18676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18677 $as_echo "yes" >&6; }
18679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18680 $as_echo "no" >&6; }
18682 CPPFLAGS="$old_CPPFLAGS"
18685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18686 $as_echo "no" >&6; }
18692 # Check whether --with-gpg_agent was given.
18693 if test "${with_gpg_agent+set}" = set; then :
18694 withval=$with_gpg_agent;
18699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to support GPG-Agent" >&5
18700 $as_echo_n "checking whether to support GPG-Agent... " >&6; }
18701 if test "$with_gpg_agent" = "yes"; then
18702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18703 $as_echo "yes" >&6; }
18705 $as_echo "#define SVN_HAVE_GPG_AGENT 1" >>confdefs.h
18708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18709 $as_echo "no" >&6; }
18716 # Check whether --with-gnome_keyring was given.
18717 if test "${with_gnome_keyring+set}" = set; then :
18718 withval=$with_gnome_keyring; with_gnome_keyring="$withval"
18720 with_gnome_keyring=auto
18724 found_gnome_keyring=no
18725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for GNOME Keyring" >&5
18726 $as_echo_n "checking whether to look for GNOME Keyring... " >&6; }
18727 if test "$with_gnome_keyring" != "no"; then
18728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18729 $as_echo "yes" >&6; }
18730 if test "$svn_enable_shared" = "yes"; then
18731 if test "$APR_HAS_DSO" = "yes"; then
18732 if test -n "$PKG_CONFIG"; then
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLib and GNOME Keyring .pc files" >&5
18734 $as_echo_n "checking for GLib and GNOME Keyring .pc files... " >&6; }
18735 if $PKG_CONFIG --exists glib-2.0 gnome-keyring-1; then
18736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18737 $as_echo "yes" >&6; }
18738 old_CPPFLAGS="$CPPFLAGS"
18739 SVN_GNOME_KEYRING_INCLUDES="`$PKG_CONFIG --cflags glib-2.0 gnome-keyring-1`"
18740 CPPFLAGS="$CPPFLAGS $SVN_GNOME_KEYRING_INCLUDES"
18741 ac_fn_c_check_header_mongrel "$LINENO" "gnome-keyring.h" "ac_cv_header_gnome_keyring_h" "$ac_includes_default"
18742 if test "x$ac_cv_header_gnome_keyring_h" = xyes; then :
18743 found_gnome_keyring=yes
18745 found_gnome_keyring=no
18749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOME Keyring" >&5
18750 $as_echo_n "checking for GNOME Keyring... " >&6; }
18751 if test "$found_gnome_keyring" = "yes"; then
18752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
18753 $as_echo "yes" >&6; }
18755 $as_echo "#define SVN_HAVE_GNOME_KEYRING 1" >>confdefs.h
18757 CPPFLAGS="$old_CPPFLAGS"
18758 SVN_GNOME_KEYRING_LIBS="`$PKG_CONFIG --libs glib-2.0 gnome-keyring-1`"
18760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18761 $as_echo "no" >&6; }
18762 if test "$with_gnome_keyring" = "yes"; then
18763 as_fn_error $? "cannot find GNOME Keyring" "$LINENO" 5
18767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18768 $as_echo "no" >&6; }
18769 if test "$with_gnome_keyring" = "yes"; then
18770 as_fn_error $? "cannot find GLib and GNOME Keyring .pc files." "$LINENO" 5
18772 with_gnome_keyring=no
18776 if test "$with_gnome_keyring" = "yes"; then
18777 as_fn_error $? "cannot find pkg-config. GNOME Keyring requires this." "$LINENO" 5
18779 with_gnome_keyring=no
18783 if test "$with_gnome_keyring" = "yes"; then
18784 as_fn_error $? "APR does not have support for DSOs. GNOME Keyring requires this." "$LINENO" 5
18786 with_gnome_keyring=no
18790 if test "$with_gnome_keyring" = "yes"; then
18791 as_fn_error $? "--with-gnome-keyring conflicts with --disable-shared" "$LINENO" 5
18793 with_gnome_keyring=no
18797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18798 $as_echo "no" >&6; }
18804 # Check whether --enable-ev2-impl was given.
18805 if test "${enable_ev2_impl+set}" = set; then :
18806 enableval=$enable_ev2_impl; enable_ev2_impl=$enableval
18811 if test "$enable_ev2_impl" = "yes"; then
18813 $as_echo "#define ENABLE_EV2_IMPL 1" >>confdefs.h
18819 # Check whether --enable-nls was given.
18820 if test "${enable_nls+set}" = set; then :
18821 enableval=$enable_nls; enable_nls=$enableval
18828 if test "$enable_nls" = "yes"; then
18829 # Extract the first word of "msgfmt", so it can be a program name with args.
18830 set dummy msgfmt; ac_word=$2
18831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18832 $as_echo_n "checking for $ac_word... " >&6; }
18833 if ${ac_cv_path_MSGFMT+:} false; then :
18834 $as_echo_n "(cached) " >&6
18838 ac_cv_path_MSGFMT="$MSGFMT" # Let the user override the test with a path.
18841 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18842 for as_dir in $PATH
18845 test -z "$as_dir" && as_dir=.
18846 for ac_exec_ext in '' $ac_executable_extensions; do
18847 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18848 ac_cv_path_MSGFMT="$as_dir/$ac_word$ac_exec_ext"
18849 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18856 test -z "$ac_cv_path_MSGFMT" && ac_cv_path_MSGFMT="none"
18860 MSGFMT=$ac_cv_path_MSGFMT
18861 if test -n "$MSGFMT"; then
18862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
18863 $as_echo "$MSGFMT" >&6; }
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18866 $as_echo "no" >&6; }
18870 # Extract the first word of "msgmerge", so it can be a program name with args.
18871 set dummy msgmerge; ac_word=$2
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18873 $as_echo_n "checking for $ac_word... " >&6; }
18874 if ${ac_cv_path_MSGMERGE+:} false; then :
18875 $as_echo_n "(cached) " >&6
18879 ac_cv_path_MSGMERGE="$MSGMERGE" # Let the user override the test with a path.
18882 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18883 for as_dir in $PATH
18886 test -z "$as_dir" && as_dir=.
18887 for ac_exec_ext in '' $ac_executable_extensions; do
18888 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18889 ac_cv_path_MSGMERGE="$as_dir/$ac_word$ac_exec_ext"
18890 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18897 test -z "$ac_cv_path_MSGMERGE" && ac_cv_path_MSGMERGE="none"
18901 MSGMERGE=$ac_cv_path_MSGMERGE
18902 if test -n "$MSGMERGE"; then
18903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGMERGE" >&5
18904 $as_echo "$MSGMERGE" >&6; }
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18907 $as_echo "no" >&6; }
18911 # Extract the first word of "xgettext", so it can be a program name with args.
18912 set dummy xgettext; ac_word=$2
18913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
18914 $as_echo_n "checking for $ac_word... " >&6; }
18915 if ${ac_cv_path_XGETTEXT+:} false; then :
18916 $as_echo_n "(cached) " >&6
18920 ac_cv_path_XGETTEXT="$XGETTEXT" # Let the user override the test with a path.
18923 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18924 for as_dir in $PATH
18927 test -z "$as_dir" && as_dir=.
18928 for ac_exec_ext in '' $ac_executable_extensions; do
18929 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
18930 ac_cv_path_XGETTEXT="$as_dir/$ac_word$ac_exec_ext"
18931 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
18938 test -z "$ac_cv_path_XGETTEXT" && ac_cv_path_XGETTEXT="none"
18942 XGETTEXT=$ac_cv_path_XGETTEXT
18943 if test -n "$XGETTEXT"; then
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XGETTEXT" >&5
18945 $as_echo "$XGETTEXT" >&6; }
18947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
18948 $as_echo "no" >&6; }
18952 if test "$MSGFMT" != "none"; then
18953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
18954 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
18955 if ${ac_cv_search_bindtextdomain+:} false; then :
18956 $as_echo_n "(cached) " >&6
18958 ac_func_search_save_LIBS=$LIBS
18959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18960 /* end confdefs.h. */
18962 /* Override any GCC internal prototype to avoid an error.
18963 Use char because int might match the return type of a GCC
18964 builtin and then its argument prototype would still apply. */
18968 char bindtextdomain ();
18972 return bindtextdomain ();
18977 for ac_lib in '' intl; do
18978 if test -z "$ac_lib"; then
18979 ac_res="none required"
18982 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18984 if ac_fn_c_try_link "$LINENO"; then :
18985 ac_cv_search_bindtextdomain=$ac_res
18987 rm -f core conftest.err conftest.$ac_objext \
18989 if ${ac_cv_search_bindtextdomain+:} false; then :
18993 if ${ac_cv_search_bindtextdomain+:} false; then :
18996 ac_cv_search_bindtextdomain=no
18998 rm conftest.$ac_ext
18999 LIBS=$ac_func_search_save_LIBS
19001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19002 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19003 ac_res=$ac_cv_search_bindtextdomain
19004 if test "$ac_res" != no; then :
19005 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19013 if test "$enable_nls" = "no"; then
19014 # Destroy the cached result so we can test again
19015 unset ac_cv_search_bindtextdomain
19016 # On some systems, libintl needs libiconv to link properly,
19017 # so try again with -liconv.
19018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing bindtextdomain" >&5
19019 $as_echo_n "checking for library containing bindtextdomain... " >&6; }
19020 if ${ac_cv_search_bindtextdomain+:} false; then :
19021 $as_echo_n "(cached) " >&6
19023 ac_func_search_save_LIBS=$LIBS
19024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19025 /* end confdefs.h. */
19027 /* Override any GCC internal prototype to avoid an error.
19028 Use char because int might match the return type of a GCC
19029 builtin and then its argument prototype would still apply. */
19033 char bindtextdomain ();
19037 return bindtextdomain ();
19042 for ac_lib in '' intl; do
19043 if test -z "$ac_lib"; then
19044 ac_res="none required"
19047 LIBS="-l$ac_lib -liconv $ac_func_search_save_LIBS"
19049 if ac_fn_c_try_link "$LINENO"; then :
19050 ac_cv_search_bindtextdomain=$ac_res
19052 rm -f core conftest.err conftest.$ac_objext \
19054 if ${ac_cv_search_bindtextdomain+:} false; then :
19058 if ${ac_cv_search_bindtextdomain+:} false; then :
19061 ac_cv_search_bindtextdomain=no
19063 rm conftest.$ac_ext
19064 LIBS=$ac_func_search_save_LIBS
19066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_bindtextdomain" >&5
19067 $as_echo "$ac_cv_search_bindtextdomain" >&6; }
19068 ac_res=$ac_cv_search_bindtextdomain
19069 if test "$ac_res" != no; then :
19070 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19073 # This is here so that -liconv ends up in LIBS
19074 # if it worked with -liconv.
19075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libiconv_open in -liconv" >&5
19076 $as_echo_n "checking for libiconv_open in -liconv... " >&6; }
19077 if ${ac_cv_lib_iconv_libiconv_open+:} false; then :
19078 $as_echo_n "(cached) " >&6
19080 ac_check_lib_save_LIBS=$LIBS
19081 LIBS="-liconv $LIBS"
19082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19083 /* end confdefs.h. */
19085 /* Override any GCC internal prototype to avoid an error.
19086 Use char because int might match the return type of a GCC
19087 builtin and then its argument prototype would still apply. */
19091 char libiconv_open ();
19095 return libiconv_open ();
19100 if ac_fn_c_try_link "$LINENO"; then :
19101 ac_cv_lib_iconv_libiconv_open=yes
19103 ac_cv_lib_iconv_libiconv_open=no
19105 rm -f core conftest.err conftest.$ac_objext \
19106 conftest$ac_exeext conftest.$ac_ext
19107 LIBS=$ac_check_lib_save_LIBS
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_iconv_libiconv_open" >&5
19110 $as_echo "$ac_cv_lib_iconv_libiconv_open" >&6; }
19111 if test "x$ac_cv_lib_iconv_libiconv_open" = xyes; then :
19112 cat >>confdefs.h <<_ACEOF
19113 #define HAVE_LIBICONV 1
19116 LIBS="-liconv $LIBS"
19123 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bindtextdomain() not found. Disabling NLS." >&5
19124 $as_echo "$as_me: WARNING: bindtextdomain() not found. Disabling NLS." >&2;}
19130 if test "$enable_nls" = "yes"; then
19132 $as_echo "#define ENABLE_NLS 1" >>confdefs.h
19142 NO_GETTEXT_CODESET=\#
19143 if test $USE_NLS = "yes"; then
19144 for ac_func in bind_textdomain_codeset
19146 ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
19147 if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
19148 cat >>confdefs.h <<_ACEOF
19149 #define HAVE_BIND_TEXTDOMAIN_CODESET 1
19153 NO_GETTEXT_CODESET=""
19161 # Check if we are using GNU gettext.
19164 if test $USE_NLS = "yes"; then
19165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we are using GNU gettext" >&5
19166 $as_echo_n "checking if we are using GNU gettext... " >&6; }
19167 if $MSGFMT --version 2>&1 | $EGREP GNU > /dev/null; then
19171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GNU_GETTEXT" >&5
19172 $as_echo "$GNU_GETTEXT" >&6; }
19180 # Check whether --with-libmagic was given.
19181 if test "${with_libmagic+set}" = set; then :
19182 withval=$with_libmagic;
19183 if test "$withval" = "yes" ; then
19184 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
19185 if test "x$ac_cv_header_magic_h" = xyes; then :
19187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
19188 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
19189 if ${ac_cv_lib_magic_magic_open+:} false; then :
19190 $as_echo_n "(cached) " >&6
19192 ac_check_lib_save_LIBS=$LIBS
19193 LIBS="-lmagic $LIBS"
19194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19195 /* end confdefs.h. */
19197 /* Override any GCC internal prototype to avoid an error.
19198 Use char because int might match the return type of a GCC
19199 builtin and then its argument prototype would still apply. */
19203 char magic_open ();
19207 return magic_open ();
19212 if ac_fn_c_try_link "$LINENO"; then :
19213 ac_cv_lib_magic_magic_open=yes
19215 ac_cv_lib_magic_magic_open=no
19217 rm -f core conftest.err conftest.$ac_objext \
19218 conftest$ac_exeext conftest.$ac_ext
19219 LIBS=$ac_check_lib_save_LIBS
19221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
19222 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
19223 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
19224 libmagic_found="builtin"
19231 libmagic_prefix="the default locations"
19232 elif test "$withval" != "no"; then
19233 libmagic_prefix=$withval
19234 save_cppflags="$CPPFLAGS"
19235 CPPFLAGS="$CPPFLAGS -I$libmagic_prefix/include"
19236 for ac_header in magic.h
19238 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
19239 if test "x$ac_cv_header_magic_h" = xyes; then :
19240 cat >>confdefs.h <<_ACEOF
19241 #define HAVE_MAGIC_H 1
19244 save_ldflags="$LDFLAGS"
19245 LDFLAGS="-L$libmagic_prefix/lib $LDFLAGS"
19246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
19247 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
19248 if ${ac_cv_lib_magic_magic_open+:} false; then :
19249 $as_echo_n "(cached) " >&6
19251 ac_check_lib_save_LIBS=$LIBS
19252 LIBS="-lmagic $LIBS"
19253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19254 /* end confdefs.h. */
19256 /* Override any GCC internal prototype to avoid an error.
19257 Use char because int might match the return type of a GCC
19258 builtin and then its argument prototype would still apply. */
19262 char magic_open ();
19266 return magic_open ();
19271 if ac_fn_c_try_link "$LINENO"; then :
19272 ac_cv_lib_magic_magic_open=yes
19274 ac_cv_lib_magic_magic_open=no
19276 rm -f core conftest.err conftest.$ac_objext \
19277 conftest$ac_exeext conftest.$ac_ext
19278 LIBS=$ac_check_lib_save_LIBS
19280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
19281 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
19282 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
19283 libmagic_found="yes"
19286 LDFLAGS="$save_ldflags"
19292 CPPFLAGS="$save_cppflags"
19294 if test "$withval" != "no" && test "$libmagic_found" = "no"; then
19295 as_fn_error $? "--with-libmagic requested, but libmagic not found at $libmagic_prefix" "$LINENO" 5
19300 ac_fn_c_check_header_mongrel "$LINENO" "magic.h" "ac_cv_header_magic_h" "$ac_includes_default"
19301 if test "x$ac_cv_header_magic_h" = xyes; then :
19303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for magic_open in -lmagic" >&5
19304 $as_echo_n "checking for magic_open in -lmagic... " >&6; }
19305 if ${ac_cv_lib_magic_magic_open+:} false; then :
19306 $as_echo_n "(cached) " >&6
19308 ac_check_lib_save_LIBS=$LIBS
19309 LIBS="-lmagic $LIBS"
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19313 /* Override any GCC internal prototype to avoid an error.
19314 Use char because int might match the return type of a GCC
19315 builtin and then its argument prototype would still apply. */
19319 char magic_open ();
19323 return magic_open ();
19328 if ac_fn_c_try_link "$LINENO"; then :
19329 ac_cv_lib_magic_magic_open=yes
19331 ac_cv_lib_magic_magic_open=no
19333 rm -f core conftest.err conftest.$ac_objext \
19334 conftest$ac_exeext conftest.$ac_ext
19335 LIBS=$ac_check_lib_save_LIBS
19337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_magic_magic_open" >&5
19338 $as_echo "$ac_cv_lib_magic_magic_open" >&6; }
19339 if test "x$ac_cv_lib_magic_magic_open" = xyes; then :
19340 libmagic_found="builtin"
19351 if test "$libmagic_found" != "no"; then
19353 $as_echo "#define SVN_HAVE_LIBMAGIC 1" >>confdefs.h
19355 SVN_MAGIC_LIBS="-lmagic"
19358 if test "$libmagic_found" = "yes"; then
19359 SVN_MAGIC_INCLUDES="-I$libmagic_prefix/include"
19360 LDFLAGS="$LDFLAGS `
19361 input_flags="-L$libmagic_prefix/lib"
19363 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19364 for flag in $input_flags; do
19366 for dir in $filtered_dirs; do
19367 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
19372 if test "$filter" = "no"; then
19373 output_flags="$output_flags $flag"
19376 if test -n "$output_flags"; then
19377 printf "%s" "${output_flags# }"
19387 # Check whether --with-kwallet was given.
19388 if test "${with_kwallet+set}" = set; then :
19389 withval=$with_kwallet; svn_lib_kwallet="$withval"
19395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to look for KWallet" >&5
19396 $as_echo_n "checking whether to look for KWallet... " >&6; }
19397 if test "$svn_lib_kwallet" != "no"; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19399 $as_echo "yes" >&6; }
19400 if test "$svn_enable_shared" = "yes"; then
19401 if test "$APR_HAS_DSO" = "yes"; then
19402 if test -n "$PKG_CONFIG"; then
19403 if test "$HAVE_DBUS" = "yes"; then
19404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for QtCore, QtDBus, QtGui" >&5
19405 $as_echo_n "checking for QtCore, QtDBus, QtGui... " >&6; }
19406 if $PKG_CONFIG --exists QtCore QtDBus QtGui; then
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19408 $as_echo "yes" >&6; }
19409 if test "$svn_lib_kwallet" != "yes"; then
19410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kde4-config" >&5
19411 $as_echo_n "checking for kde4-config... " >&6; }
19412 KDE4_CONFIG="$svn_lib_kwallet/bin/kde4-config"
19413 if test -f "$KDE4_CONFIG" && test -x "$KDE4_CONFIG"; then
19414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19415 $as_echo "yes" >&6; }
19418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19419 $as_echo "no" >&6; }
19422 # Extract the first word of "kde4-config", so it can be a program name with args.
19423 set dummy kde4-config; ac_word=$2
19424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19425 $as_echo_n "checking for $ac_word... " >&6; }
19426 if ${ac_cv_path_KDE4_CONFIG+:} false; then :
19427 $as_echo_n "(cached) " >&6
19429 case $KDE4_CONFIG in
19431 ac_cv_path_KDE4_CONFIG="$KDE4_CONFIG" # Let the user override the test with a path.
19434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19435 for as_dir in $PATH
19438 test -z "$as_dir" && as_dir=.
19439 for ac_exec_ext in '' $ac_executable_extensions; do
19440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19441 ac_cv_path_KDE4_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
19452 KDE4_CONFIG=$ac_cv_path_KDE4_CONFIG
19453 if test -n "$KDE4_CONFIG"; then
19454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $KDE4_CONFIG" >&5
19455 $as_echo "$KDE4_CONFIG" >&6; }
19457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19458 $as_echo "no" >&6; }
19463 if test -n "$KDE4_CONFIG"; then
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for KWallet" >&5
19465 $as_echo_n "checking for KWallet... " >&6; }
19466 old_CXXFLAGS="$CXXFLAGS"
19467 old_LDFLAGS="$LDFLAGS"
19469 for d in `$PKG_CONFIG --cflags QtCore QtDBus QtGui`; do
19470 if test -n "`echo "$d" | $EGREP -- '^-D[^[:space:]]*'`"; then
19471 CPPFLAGS="$CPPFLAGS $d"
19474 qt_include_dirs="`$PKG_CONFIG --cflags-only-I QtCore QtDBus QtGui`"
19475 kde_dir="`$KDE4_CONFIG --prefix`"
19476 SVN_KWALLET_INCLUDES="$DBUS_CPPFLAGS $qt_include_dirs -I$kde_dir/include"
19477 qt_libs_other_options="`$PKG_CONFIG --libs-only-other QtCore QtDBus QtGui`"
19478 SVN_KWALLET_LIBS="$DBUS_LIBS -lQtCore -lQtDBus -lQtGui -lkdecore -lkdeui $qt_libs_other_options"
19479 CXXFLAGS="$CXXFLAGS $SVN_KWALLET_INCLUDES"
19480 LIBS="$LIBS $SVN_KWALLET_LIBS"
19481 qt_lib_dirs="`$PKG_CONFIG --libs-only-L QtCore QtDBus QtGui`"
19482 kde_lib_suffix="`$KDE4_CONFIG --libsuffix`"
19483 LDFLAGS="$old_LDFLAGS `
19484 input_flags="$qt_lib_dirs -L$kde_dir/lib$kde_lib_suffix"
19486 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
19487 for flag in $input_flags; do
19489 for dir in $filtered_dirs; do
19490 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
19495 if test "$filter" = "no"; then
19496 output_flags="$output_flags $flag"
19499 if test -n "$output_flags"; then
19500 printf "%s" "${output_flags# }"
19504 ac_cpp='$CXXCPP $CPPFLAGS'
19505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19510 /* end confdefs.h. */
19512 #include <kwallet.h>
19514 {KWallet::Wallet::walletList();}
19516 if ac_fn_cxx_try_link "$LINENO"; then :
19517 svn_lib_kwallet="yes"
19519 svn_lib_kwallet="no"
19521 rm -f core conftest.err conftest.$ac_objext \
19522 conftest$ac_exeext conftest.$ac_ext
19524 ac_cpp='$CPP $CPPFLAGS'
19525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19529 if test "$svn_lib_kwallet" = "yes"; then
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
19531 $as_echo "yes" >&6; }
19532 CXXFLAGS="$old_CXXFLAGS"
19535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19536 $as_echo "no" >&6; }
19537 as_fn_error $? "cannot find KWallet" "$LINENO" 5
19540 as_fn_error $? "cannot find kde4-config" "$LINENO" 5
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19544 $as_echo "no" >&6; }
19545 as_fn_error $? "cannot find QtCore, QtDBus, QtGui" "$LINENO" 5
19548 as_fn_error $? "cannot find D-Bus" "$LINENO" 5
19551 as_fn_error $? "cannot find pkg-config" "$LINENO" 5
19554 as_fn_error $? "APR does not have support for DSOs" "$LINENO" 5
19557 as_fn_error $? "--with-kwallet conflicts with --disable-shared" "$LINENO" 5
19560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
19561 $as_echo "no" >&6; }
19567 if test "$svn_lib_kwallet" = "yes"; then
19569 $as_echo "#define SVN_HAVE_KWALLET 1" >>confdefs.h
19573 # Check whether --enable-plaintext-password-storage was given.
19574 if test "${enable_plaintext_password_storage+set}" = set; then :
19575 enableval=$enable_plaintext_password_storage;
19576 if test "$enableval" = "no"; then
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling plaintext password/passphrase storage" >&5
19578 $as_echo "$as_me: Disabling plaintext password/passphrase storage" >&6;}
19580 $as_echo "#define SVN_DISABLE_PLAINTEXT_PASSWORD_STORAGE 1" >>confdefs.h
19588 INSTALL_STATIC_RULES="install-bin install-docs"
19589 INSTALL_RULES="install-fsmod-lib install-ramod-lib install-lib install-include install-static"
19590 INSTALL_RULES="$INSTALL_RULES $INSTALL_APACHE_RULE"
19591 BUILD_RULES="fsmod-lib ramod-lib lib bin test sub-test $BUILD_APACHE_RULE tools"
19593 if test "$svn_lib_berkeley_db" = "yes"; then
19594 BUILD_RULES="$BUILD_RULES bdb-lib bdb-test"
19595 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-fsmod-lib/install-fsmod-lib install-bdb-lib/'`"
19596 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-bdb-lib"
19597 BDB_TEST_DEPS="\$(BDB_TEST_DEPS)"
19598 BDB_TEST_PROGRAMS="\$(BDB_TEST_PROGRAMS)"
19601 if test "$svn_lib_serf" = "yes"; then
19602 BUILD_RULES="$BUILD_RULES serf-lib"
19603 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-ramod-lib/install-ramod-lib install-serf-lib/'`"
19604 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-serf-lib"
19607 if test "$svn_lib_kwallet" = "yes"; then
19608 BUILD_RULES="$BUILD_RULES kwallet-lib"
19609 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-kwallet-lib/'`"
19610 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-kwallet-lib"
19613 if test "$found_gnome_keyring" = "yes"; then
19614 BUILD_RULES="$BUILD_RULES gnome-keyring-lib"
19615 INSTALL_RULES="`echo $INSTALL_RULES | $SED 's/install-lib/install-lib install-gnome-keyring-lib/'`"
19616 INSTALL_STATIC_RULES="$INSTALL_STATIC_RULES install-gnome-keyring-lib"
19619 if test "$USE_NLS" = "yes"; then
19620 BUILD_RULES="$BUILD_RULES locale"
19621 INSTALL_RULES="$INSTALL_RULES install-locale"
19631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
19632 $as_echo_n "checking for ANSI C header files... " >&6; }
19633 if ${ac_cv_header_stdc+:} false; then :
19634 $as_echo_n "(cached) " >&6
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #include <stdlib.h>
19639 #include <stdarg.h>
19640 #include <string.h>
19651 if ac_fn_c_try_compile "$LINENO"; then :
19652 ac_cv_header_stdc=yes
19654 ac_cv_header_stdc=no
19656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19658 if test $ac_cv_header_stdc = yes; then
19659 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
19660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19661 /* end confdefs.h. */
19662 #include <string.h>
19665 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19666 $EGREP "memchr" >/dev/null 2>&1; then :
19669 ac_cv_header_stdc=no
19675 if test $ac_cv_header_stdc = yes; then
19676 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #include <stdlib.h>
19682 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19683 $EGREP "free" >/dev/null 2>&1; then :
19686 ac_cv_header_stdc=no
19692 if test $ac_cv_header_stdc = yes; then
19693 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
19694 if test "$cross_compiling" = yes; then :
19697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19700 #include <stdlib.h>
19701 #if ((' ' & 0x0FF) == 0x020)
19702 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
19703 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
19705 # define ISLOWER(c) \
19706 (('a' <= (c) && (c) <= 'i') \
19707 || ('j' <= (c) && (c) <= 'r') \
19708 || ('s' <= (c) && (c) <= 'z'))
19709 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
19712 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
19717 for (i = 0; i < 256; i++)
19718 if (XOR (islower (i), ISLOWER (i))
19719 || toupper (i) != TOUPPER (i))
19724 if ac_fn_c_try_run "$LINENO"; then :
19727 ac_cv_header_stdc=no
19729 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19730 conftest.$ac_objext conftest.beam conftest.$ac_ext
19735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
19736 $as_echo "$ac_cv_header_stdc" >&6; }
19737 if test $ac_cv_header_stdc = yes; then
19739 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
19745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
19746 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
19747 if ${ac_cv_c_const+:} false; then :
19748 $as_echo_n "(cached) " >&6
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19757 #ifndef __cplusplus
19758 /* Ultrix mips cc rejects this sort of thing. */
19759 typedef int charset[2];
19760 const charset cs = { 0, 0 };
19761 /* SunOS 4.1.1 cc rejects this. */
19762 char const *const *pcpcc;
19764 /* NEC SVR4.0.2 mips cc rejects this. */
19765 struct point {int x, y;};
19766 static struct point const zero = {0,0};
19767 /* AIX XL C 1.02.0.0 rejects this.
19768 It does not let you subtract one const X* pointer from another in
19769 an arm of an if-expression whose if-part is not a constant
19771 const char *g = "string";
19772 pcpcc = &g + (g ? g-g : 0);
19773 /* HPUX 7.0 cc rejects these. */
19775 ppc = (char**) pcpcc;
19776 pcpcc = (char const *const *) ppc;
19777 { /* SCO 3.2v4 cc rejects this sort of thing. */
19780 char const *s = 0 ? (char *) 0 : (char const *) 0;
19785 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19786 int x[] = {25, 17};
19787 const int *foo = &x[0];
19790 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19791 typedef const int *iptr;
19795 { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
19796 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19797 struct s { int j; const int *ap[3]; } bx;
19798 struct s *b = &bx; b->j = 5;
19800 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19801 const int foo = 10;
19802 if (!foo) return 0;
19804 return !cs[0] && !zero.x;
19811 if ac_fn_c_try_compile "$LINENO"; then :
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
19819 $as_echo "$ac_cv_c_const" >&6; }
19820 if test $ac_cv_c_const = no; then
19822 $as_echo "#define const /**/" >>confdefs.h
19827 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
19828 if test "x$ac_cv_type_size_t" = xyes; then :
19832 cat >>confdefs.h <<_ACEOF
19833 #define size_t unsigned int
19841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working memcmp" >&5
19842 $as_echo_n "checking for working memcmp... " >&6; }
19843 if ${ac_cv_func_memcmp_working+:} false; then :
19844 $as_echo_n "(cached) " >&6
19846 if test "$cross_compiling" = yes; then :
19847 ac_cv_func_memcmp_working=no
19849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19850 /* end confdefs.h. */
19851 $ac_includes_default
19856 /* Some versions of memcmp are not 8-bit clean. */
19857 char c0 = '\100', c1 = '\200', c2 = '\201';
19858 if (memcmp(&c0, &c2, 1) >= 0 || memcmp(&c1, &c2, 1) >= 0)
19861 /* The Next x86 OpenStep bug shows up only when comparing 16 bytes
19862 or more and with at least one buffer not starting on a 4-byte boundary.
19863 William Lewis provided this test program. */
19868 for (i = 0; i < 4; i++)
19872 strcpy (a, "--------01111111");
19873 strcpy (b, "--------10000000");
19874 if (memcmp (a, b, 16) >= 0)
19884 if ac_fn_c_try_run "$LINENO"; then :
19885 ac_cv_func_memcmp_working=yes
19887 ac_cv_func_memcmp_working=no
19889 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
19890 conftest.$ac_objext conftest.beam conftest.$ac_ext
19894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_memcmp_working" >&5
19895 $as_echo "$ac_cv_func_memcmp_working" >&6; }
19896 test $ac_cv_func_memcmp_working = no && case " $LIBOBJS " in
19897 *" memcmp.$ac_objext "* ) ;;
19898 *) LIBOBJS="$LIBOBJS memcmp.$ac_objext"
19904 for ac_func in vprintf
19906 ac_fn_c_check_func "$LINENO" "vprintf" "ac_cv_func_vprintf"
19907 if test "x$ac_cv_func_vprintf" = xyes; then :
19908 cat >>confdefs.h <<_ACEOF
19909 #define HAVE_VPRINTF 1
19912 ac_fn_c_check_func "$LINENO" "_doprnt" "ac_cv_func__doprnt"
19913 if test "x$ac_cv_func__doprnt" = xyes; then :
19915 $as_echo "#define HAVE_DOPRNT 1" >>confdefs.h
19924 for ac_func in symlink readlink
19926 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19927 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19928 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19929 cat >>confdefs.h <<_ACEOF
19930 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19937 for ac_header in sys/utsname.h
19939 ac_fn_c_check_header_mongrel "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
19940 if test "x$ac_cv_header_sys_utsname_h" = xyes; then :
19941 cat >>confdefs.h <<_ACEOF
19942 #define HAVE_SYS_UTSNAME_H 1
19944 for ac_func in uname
19946 ac_fn_c_check_func "$LINENO" "uname" "ac_cv_func_uname"
19947 if test "x$ac_cv_func_uname" = xyes; then :
19948 cat >>confdefs.h <<_ACEOF
19949 #define HAVE_UNAME 1
19960 ac_fn_c_check_header_mongrel "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
19961 if test "x$ac_cv_header_termios_h" = xyes; then :
19963 for ac_func in tcgetattr tcsetattr
19965 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19966 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19967 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19968 cat >>confdefs.h <<_ACEOF
19969 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19973 $as_echo "#define HAVE_TERMIOS_H 1" >>confdefs.h
19986 # Check whether --with-openssl was given.
19987 if test "${with_openssl+set}" = set; then :
19988 withval=$with_openssl;
19992 # Check whether --enable-debug was given.
19993 if test "${enable_debug+set}" = set; then :
19994 enableval=$enable_debug;
19995 if test "$enableval" = "yes" ; then
19996 enable_debugging="yes"
19998 enable_debugging="no"
20003 # Neither --enable-debug nor --disable-debug was passed.
20004 enable_debugging="maybe"
20009 # Check whether --enable-optimize was given.
20010 if test "${enable_optimize+set}" = set; then :
20011 enableval=$enable_optimize;
20012 if test "$enableval" = "yes" ; then
20013 enable_optimization="yes"
20015 enable_optimization="no"
20020 # Neither --enable-optimize nor --disable-optimize was passed.
20021 enable_optimization="maybe"
20026 # Check whether --enable-disallowing-of-undefined-references was given.
20027 if test "${enable_disallowing_of_undefined_references+set}" = set; then :
20028 enableval=$enable_disallowing_of_undefined_references;
20031 if test "$enable_disallowing_of_undefined_references" != "yes" && test "`uname`" != "Linux"; then
20032 enable_disallowing_of_undefined_references="no"
20034 if test "$enable_disallowing_of_undefined_references" != "no"; then
20035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Wl,--no-undefined" >&5
20036 $as_echo_n "checking for -Wl,--no-undefined... " >&6; }
20037 old_LDFLAGS="$LDFLAGS"
20038 LDFLAGS="$LDFLAGS -Wl,--no-undefined"
20039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20040 /* end confdefs.h. */
20043 if ac_fn_c_try_link "$LINENO"; then :
20044 svn_wl_no_undefined="yes"
20046 svn_wl_no_undefined="no"
20048 rm -f core conftest.err conftest.$ac_objext \
20049 conftest$ac_exeext conftest.$ac_ext
20050 LDFLAGS="$old_LDFLAGS"
20051 if test "$svn_wl_no_undefined" = "yes"; then
20052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20053 $as_echo "yes" >&6; }
20054 for library_dir in "$abs_srcdir/subversion/libsvn_"*; do
20055 eval "`basename $library_dir`_LDFLAGS=-Wl,--no-undefined"
20058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20059 $as_echo "no" >&6; }
20060 if test "$enable_disallowing_of_undefined_references" = "yes"; then
20061 as_fn_error $? "--enable-disallowing-of-undefined-references explicitly requested, but -Wl,--no-undefined not supported" "$LINENO" 5
20083 # Check whether --enable-maintainer-mode was given.
20084 if test "${enable_maintainer_mode+set}" = set; then :
20085 enableval=$enable_maintainer_mode;
20086 if test "$enableval" = "yes" ; then
20087 if test "$enable_debugging" = "no" ; then
20088 as_fn_error $? "Can't have --disable-debug and --enable-maintainer-mode" "$LINENO" 5
20090 enable_debugging=yes
20092 if test "$GCC" = "yes"; then
20093 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding GCC warning flags" >&5
20094 $as_echo "$as_me: maintainer-mode: adding GCC warning flags" >&6;}
20097 CFLAGS_KEEP="$CFLAGS"
20101 _svn_xxflags__save="$CFLAGS"
20103 ac_cpp='$CPP $CPPFLAGS'
20104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=implicit-function-declaration" >&5
20109 $as_echo_n "checking if $CC accepts -Werror=implicit-function-declaration... " >&6; }
20110 CFLAGS="-Werror=implicit-function-declaration $CFLAGS"
20111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20112 /* end confdefs.h. */
20113 int main(void){return 0;}
20115 if ac_fn_c_try_link "$LINENO"; then :
20117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20118 $as_echo "yes" >&6; }
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20124 $as_echo "no" >&6; }
20125 CFLAGS="$_svn_xxflags__save"
20129 rm -f core conftest.err conftest.$ac_objext \
20130 conftest$ac_exeext conftest.$ac_ext
20132 ac_cpp='$CPP $CPPFLAGS'
20133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20139 _svn_xxflags__save="$CFLAGS"
20141 ac_cpp='$CPP $CPPFLAGS'
20142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Werror=declaration-after-statement" >&5
20147 $as_echo_n "checking if $CC accepts -Werror=declaration-after-statement... " >&6; }
20148 CFLAGS="-Werror=declaration-after-statement $CFLAGS"
20149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20150 /* end confdefs.h. */
20151 int main(void){return 0;}
20153 if ac_fn_c_try_link "$LINENO"; then :
20155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20156 $as_echo "yes" >&6; }
20161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20162 $as_echo "no" >&6; }
20163 CFLAGS="$_svn_xxflags__save"
20167 rm -f core conftest.err conftest.$ac_objext \
20168 conftest$ac_exeext conftest.$ac_ext
20170 ac_cpp='$CPP $CPPFLAGS'
20171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20177 _svn_xxflags__save="$CFLAGS"
20179 ac_cpp='$CPP $CPPFLAGS'
20180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wextra-tokens" >&5
20185 $as_echo_n "checking if $CC accepts -Wextra-tokens... " >&6; }
20186 CFLAGS="-Wextra-tokens $CFLAGS"
20187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20188 /* end confdefs.h. */
20189 int main(void){return 0;}
20191 if ac_fn_c_try_link "$LINENO"; then :
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20194 $as_echo "yes" >&6; }
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20200 $as_echo "no" >&6; }
20201 CFLAGS="$_svn_xxflags__save"
20205 rm -f core conftest.err conftest.$ac_objext \
20206 conftest$ac_exeext conftest.$ac_ext
20208 ac_cpp='$CPP $CPPFLAGS'
20209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20215 _svn_xxflags__save="$CFLAGS"
20217 ac_cpp='$CPP $CPPFLAGS'
20218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wnewline-eof" >&5
20223 $as_echo_n "checking if $CC accepts -Wnewline-eof... " >&6; }
20224 CFLAGS="-Wnewline-eof $CFLAGS"
20225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20226 /* end confdefs.h. */
20227 int main(void){return 0;}
20229 if ac_fn_c_try_link "$LINENO"; then :
20231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20232 $as_echo "yes" >&6; }
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20238 $as_echo "no" >&6; }
20239 CFLAGS="$_svn_xxflags__save"
20243 rm -f core conftest.err conftest.$ac_objext \
20244 conftest$ac_exeext conftest.$ac_ext
20246 ac_cpp='$CPP $CPPFLAGS'
20247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20253 _svn_xxflags__save="$CFLAGS"
20255 ac_cpp='$CPP $CPPFLAGS'
20256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wshorten-64-to-32" >&5
20261 $as_echo_n "checking if $CC accepts -Wshorten-64-to-32... " >&6; }
20262 CFLAGS="-Wshorten-64-to-32 $CFLAGS"
20263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20264 /* end confdefs.h. */
20265 int main(void){return 0;}
20267 if ac_fn_c_try_link "$LINENO"; then :
20269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20270 $as_echo "yes" >&6; }
20275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20276 $as_echo "no" >&6; }
20277 CFLAGS="$_svn_xxflags__save"
20281 rm -f core conftest.err conftest.$ac_objext \
20282 conftest$ac_exeext conftest.$ac_ext
20284 ac_cpp='$CPP $CPPFLAGS'
20285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20291 _svn_xxflags__save="$CFLAGS"
20293 ac_cpp='$CPP $CPPFLAGS'
20294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wold-style-definition" >&5
20299 $as_echo_n "checking if $CC accepts -Wold-style-definition... " >&6; }
20300 CFLAGS="-Wold-style-definition $CFLAGS"
20301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20302 /* end confdefs.h. */
20303 int main(void){return 0;}
20305 if ac_fn_c_try_link "$LINENO"; then :
20307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20308 $as_echo "yes" >&6; }
20313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20314 $as_echo "no" >&6; }
20315 CFLAGS="$_svn_xxflags__save"
20319 rm -f core conftest.err conftest.$ac_objext \
20320 conftest$ac_exeext conftest.$ac_ext
20322 ac_cpp='$CPP $CPPFLAGS'
20323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20329 _svn_xxflags__save="$CFLAGS"
20331 ac_cpp='$CPP $CPPFLAGS'
20332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-system-headers" >&5
20337 $as_echo_n "checking if $CC accepts -Wno-system-headers... " >&6; }
20338 CFLAGS="-Wno-system-headers $CFLAGS"
20339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20340 /* end confdefs.h. */
20341 int main(void){return 0;}
20343 if ac_fn_c_try_link "$LINENO"; then :
20345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20346 $as_echo "yes" >&6; }
20351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20352 $as_echo "no" >&6; }
20353 CFLAGS="$_svn_xxflags__save"
20357 rm -f core conftest.err conftest.$ac_objext \
20358 conftest$ac_exeext conftest.$ac_ext
20360 ac_cpp='$CPP $CPPFLAGS'
20361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20367 _svn_xxflags__save="$CFLAGS"
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 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-format-nonliteral" >&5
20375 $as_echo_n "checking if $CC accepts -Wno-format-nonliteral... " >&6; }
20376 CFLAGS="-Wno-format-nonliteral $CFLAGS"
20377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20378 /* end confdefs.h. */
20379 int main(void){return 0;}
20381 if ac_fn_c_try_link "$LINENO"; then :
20383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20384 $as_echo "yes" >&6; }
20389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20390 $as_echo "no" >&6; }
20391 CFLAGS="$_svn_xxflags__save"
20395 rm -f core conftest.err conftest.$ac_objext \
20396 conftest$ac_exeext conftest.$ac_ext
20398 ac_cpp='$CPP $CPPFLAGS'
20399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20405 CMAINTAINERFLAGS="$CFLAGS $CMAINTAINERFLAGS"
20406 CFLAGS="$CFLAGS_KEEP"
20408 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 $CMAINTAINERFLAGS"
20410 if test "$GXX" = "yes"; then
20411 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: adding G++ warning flags" >&5
20412 $as_echo "$as_me: maintainer-mode: adding G++ warning flags" >&6;}
20414 CXXFLAGS_KEEP="$CXXFLAGS"
20418 _svn_xxflags__save="$CXXFLAGS"
20420 ac_cpp='$CXXCPP $CPPFLAGS'
20421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wextra-tokens" >&5
20426 $as_echo_n "checking if $CXX accepts -Wextra-tokens... " >&6; }
20427 CXXFLAGS="-Wextra-tokens $CXXFLAGS"
20428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20429 /* end confdefs.h. */
20432 if ac_fn_cxx_try_link "$LINENO"; then :
20434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20435 $as_echo "yes" >&6; }
20440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20441 $as_echo "no" >&6; }
20442 CXXFLAGS="$_svn_xxflags__save"
20446 rm -f core conftest.err conftest.$ac_objext \
20447 conftest$ac_exeext conftest.$ac_ext
20449 ac_cpp='$CPP $CPPFLAGS'
20450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20456 _svn_xxflags__save="$CXXFLAGS"
20458 ac_cpp='$CXXCPP $CPPFLAGS'
20459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wnewline-eof" >&5
20464 $as_echo_n "checking if $CXX accepts -Wnewline-eof... " >&6; }
20465 CXXFLAGS="-Wnewline-eof $CXXFLAGS"
20466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20467 /* end confdefs.h. */
20470 if ac_fn_cxx_try_link "$LINENO"; then :
20472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20473 $as_echo "yes" >&6; }
20478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20479 $as_echo "no" >&6; }
20480 CXXFLAGS="$_svn_xxflags__save"
20484 rm -f core conftest.err conftest.$ac_objext \
20485 conftest$ac_exeext conftest.$ac_ext
20487 ac_cpp='$CPP $CPPFLAGS'
20488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20494 _svn_xxflags__save="$CXXFLAGS"
20496 ac_cpp='$CXXCPP $CPPFLAGS'
20497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wshorten-64-to-32" >&5
20502 $as_echo_n "checking if $CXX accepts -Wshorten-64-to-32... " >&6; }
20503 CXXFLAGS="-Wshorten-64-to-32 $CXXFLAGS"
20504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20505 /* end confdefs.h. */
20508 if ac_fn_cxx_try_link "$LINENO"; then :
20510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20511 $as_echo "yes" >&6; }
20516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20517 $as_echo "no" >&6; }
20518 CXXFLAGS="$_svn_xxflags__save"
20522 rm -f core conftest.err conftest.$ac_objext \
20523 conftest$ac_exeext conftest.$ac_ext
20525 ac_cpp='$CPP $CPPFLAGS'
20526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20532 _svn_xxflags__save="$CXXFLAGS"
20534 ac_cpp='$CXXCPP $CPPFLAGS'
20535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-system-headers" >&5
20540 $as_echo_n "checking if $CXX accepts -Wno-system-headers... " >&6; }
20541 CXXFLAGS="-Wno-system-headers $CXXFLAGS"
20542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20543 /* end confdefs.h. */
20546 if ac_fn_cxx_try_link "$LINENO"; then :
20548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20549 $as_echo "yes" >&6; }
20554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20555 $as_echo "no" >&6; }
20556 CXXFLAGS="$_svn_xxflags__save"
20560 rm -f core conftest.err conftest.$ac_objext \
20561 conftest$ac_exeext conftest.$ac_ext
20563 ac_cpp='$CPP $CPPFLAGS'
20564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20570 CXXMAINTAINERFLAGS="$CXXFLAGS $CXXMAINTAINERFLAGS"
20571 CXXFLAGS="$CXXFLAGS_KEEP"
20573 CXXMAINTAINERFLAGS="-Wall -Wpointer-arith -Wwrite-strings -Wshadow -Wunused -Wunreachable-code $CXXMAINTAINERFLAGS"
20580 if test "$enable_debugging" = "yes" ; then
20581 if test "$enable_optimization" != "yes"; then
20582 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations for debugging" >&5
20583 $as_echo "$as_me: Disabling optimizations for debugging" >&6;}
20584 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
20585 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
20587 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
20588 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C" >&5
20589 $as_echo "$as_me: Enabling debugging for C" >&6;}
20590 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
20592 _svn_xxflags__save="$CFLAGS"
20594 ac_cpp='$CPP $CPPFLAGS'
20595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-inline" >&5
20600 $as_echo_n "checking if $CC accepts -fno-inline... " >&6; }
20601 CFLAGS="-fno-inline $CFLAGS"
20602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20603 /* end confdefs.h. */
20604 int main(void){return 0;}
20606 if ac_fn_c_try_link "$LINENO"; then :
20608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20609 $as_echo "yes" >&6; }
20614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20615 $as_echo "no" >&6; }
20616 CFLAGS="$_svn_xxflags__save"
20620 rm -f core conftest.err conftest.$ac_objext \
20621 conftest$ac_exeext conftest.$ac_ext
20623 ac_cpp='$CPP $CPPFLAGS'
20624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20630 _svn_xxflags__save="$CFLAGS"
20632 ac_cpp='$CPP $CPPFLAGS'
20633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -fno-omit-frame-pointer" >&5
20638 $as_echo_n "checking if $CC accepts -fno-omit-frame-pointer... " >&6; }
20639 CFLAGS="-fno-omit-frame-pointer $CFLAGS"
20640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20641 /* end confdefs.h. */
20642 int main(void){return 0;}
20644 if ac_fn_c_try_link "$LINENO"; then :
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20647 $as_echo "yes" >&6; }
20652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20653 $as_echo "no" >&6; }
20654 CFLAGS="$_svn_xxflags__save"
20658 rm -f core conftest.err conftest.$ac_objext \
20659 conftest$ac_exeext conftest.$ac_ext
20661 ac_cpp='$CPP $CPPFLAGS'
20662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20668 _svn_xxflags__save="$CFLAGS"
20670 ac_cpp='$CPP $CPPFLAGS'
20671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g3" >&5
20676 $as_echo_n "checking if $CC accepts -g3... " >&6; }
20677 CFLAGS="-g3 $CFLAGS"
20678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20679 /* end confdefs.h. */
20680 int main(void){return 0;}
20682 if ac_fn_c_try_link "$LINENO"; then :
20684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20685 $as_echo "yes" >&6; }
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20691 $as_echo "no" >&6; }
20692 CFLAGS="$_svn_xxflags__save"
20695 _svn_xxflags__save="$CFLAGS"
20697 ac_cpp='$CPP $CPPFLAGS'
20698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g2" >&5
20703 $as_echo_n "checking if $CC accepts -g2... " >&6; }
20704 CFLAGS="-g2 $CFLAGS"
20705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20706 /* end confdefs.h. */
20707 int main(void){return 0;}
20709 if ac_fn_c_try_link "$LINENO"; then :
20711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20712 $as_echo "yes" >&6; }
20717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20718 $as_echo "no" >&6; }
20719 CFLAGS="$_svn_xxflags__save"
20722 _svn_xxflags__save="$CFLAGS"
20724 ac_cpp='$CPP $CPPFLAGS'
20725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -g" >&5
20730 $as_echo_n "checking if $CC accepts -g... " >&6; }
20731 CFLAGS="-g $CFLAGS"
20732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20733 /* end confdefs.h. */
20734 int main(void){return 0;}
20736 if ac_fn_c_try_link "$LINENO"; then :
20738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20739 $as_echo "yes" >&6; }
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20745 $as_echo "no" >&6; }
20746 CFLAGS="$_svn_xxflags__save"
20750 rm -f core conftest.err conftest.$ac_objext \
20751 conftest$ac_exeext conftest.$ac_ext
20753 ac_cpp='$CPP $CPPFLAGS'
20754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20761 rm -f core conftest.err conftest.$ac_objext \
20762 conftest$ac_exeext conftest.$ac_ext
20764 ac_cpp='$CPP $CPPFLAGS'
20765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20772 rm -f core conftest.err conftest.$ac_objext \
20773 conftest$ac_exeext conftest.$ac_ext
20775 ac_cpp='$CPP $CPPFLAGS'
20776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20782 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-g[0-9]? '`"; then
20783 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling debugging for C++" >&5
20784 $as_echo "$as_me: Enabling debugging for C++" >&6;}
20785 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
20787 _svn_xxflags__save="$CXXFLAGS"
20789 ac_cpp='$CXXCPP $CPPFLAGS'
20790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-inline" >&5
20795 $as_echo_n "checking if $CXX accepts -fno-inline... " >&6; }
20796 CXXFLAGS="-fno-inline $CXXFLAGS"
20797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20801 if ac_fn_cxx_try_link "$LINENO"; then :
20803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20804 $as_echo "yes" >&6; }
20809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20810 $as_echo "no" >&6; }
20811 CXXFLAGS="$_svn_xxflags__save"
20815 rm -f core conftest.err conftest.$ac_objext \
20816 conftest$ac_exeext conftest.$ac_ext
20818 ac_cpp='$CPP $CPPFLAGS'
20819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20825 _svn_xxflags__save="$CXXFLAGS"
20827 ac_cpp='$CXXCPP $CPPFLAGS'
20828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -fno-omit-frame-pointer" >&5
20833 $as_echo_n "checking if $CXX accepts -fno-omit-frame-pointer... " >&6; }
20834 CXXFLAGS="-fno-omit-frame-pointer $CXXFLAGS"
20835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20836 /* end confdefs.h. */
20839 if ac_fn_cxx_try_link "$LINENO"; then :
20841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20842 $as_echo "yes" >&6; }
20847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20848 $as_echo "no" >&6; }
20849 CXXFLAGS="$_svn_xxflags__save"
20853 rm -f core conftest.err conftest.$ac_objext \
20854 conftest$ac_exeext conftest.$ac_ext
20856 ac_cpp='$CPP $CPPFLAGS'
20857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20863 _svn_xxflags__save="$CXXFLAGS"
20865 ac_cpp='$CXXCPP $CPPFLAGS'
20866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g3" >&5
20871 $as_echo_n "checking if $CXX accepts -g3... " >&6; }
20872 CXXFLAGS="-g3 $CXXFLAGS"
20873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20874 /* end confdefs.h. */
20877 if ac_fn_cxx_try_link "$LINENO"; then :
20879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20880 $as_echo "yes" >&6; }
20885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20886 $as_echo "no" >&6; }
20887 CXXFLAGS="$_svn_xxflags__save"
20890 _svn_xxflags__save="$CXXFLAGS"
20892 ac_cpp='$CXXCPP $CPPFLAGS'
20893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g2" >&5
20898 $as_echo_n "checking if $CXX accepts -g2... " >&6; }
20899 CXXFLAGS="-g2 $CXXFLAGS"
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20904 if ac_fn_cxx_try_link "$LINENO"; then :
20906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20907 $as_echo "yes" >&6; }
20912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20913 $as_echo "no" >&6; }
20914 CXXFLAGS="$_svn_xxflags__save"
20917 _svn_xxflags__save="$CXXFLAGS"
20919 ac_cpp='$CXXCPP $CPPFLAGS'
20920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -g" >&5
20925 $as_echo_n "checking if $CXX accepts -g... " >&6; }
20926 CXXFLAGS="-g $CXXFLAGS"
20927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20928 /* end confdefs.h. */
20931 if ac_fn_cxx_try_link "$LINENO"; then :
20933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
20934 $as_echo "yes" >&6; }
20939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
20940 $as_echo "no" >&6; }
20941 CXXFLAGS="$_svn_xxflags__save"
20945 rm -f core conftest.err conftest.$ac_objext \
20946 conftest$ac_exeext conftest.$ac_ext
20948 ac_cpp='$CXXCPP $CPPFLAGS'
20949 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20950 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20951 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20956 rm -f core conftest.err conftest.$ac_objext \
20957 conftest$ac_exeext conftest.$ac_ext
20959 ac_cpp='$CXXCPP $CPPFLAGS'
20960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20967 rm -f core conftest.err conftest.$ac_objext \
20968 conftest$ac_exeext conftest.$ac_ext
20970 ac_cpp='$CPP $CPPFLAGS'
20971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20977 CFLAGS="$CFLAGS -DSVN_DEBUG -DAP_DEBUG"
20978 CXXFLAGS="$CXXFLAGS -DSVN_DEBUG -DAP_DEBUG"
20979 elif test "$enable_debugging" = "no" ; then
20980 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling debugging" >&5
20981 $as_echo "$as_me: Disabling debugging" >&6;}
20982 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
20983 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-g[0-9] //g' -e 's/-g //g'`"
20984 CFLAGS="$CFLAGS -DNDEBUG"
20985 CXXFLAGS="$CXXFLAGS -DNDEBUG"
20986 # elif test "$enable_debugging" = "maybe" ; then
20990 if test "$enable_optimization" = "yes"; then
20991 if test -z "`echo $CUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
20992 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
20993 if test "$enable_debugging" = "yes"; then
20994 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C (with debugging enabled)" >&5
20995 $as_echo "$as_me: Enabling optimizations for C (with debugging enabled)" >&6;}
20997 _svn_xxflags__save="$CFLAGS"
20999 ac_cpp='$CPP $CPPFLAGS'
21000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
21005 $as_echo_n "checking if $CC accepts -O1... " >&6; }
21006 CFLAGS="-O1 $CFLAGS"
21007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21008 /* end confdefs.h. */
21009 int main(void){return 0;}
21011 if ac_fn_c_try_link "$LINENO"; then :
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21014 $as_echo "yes" >&6; }
21019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21020 $as_echo "no" >&6; }
21021 CFLAGS="$_svn_xxflags__save"
21024 _svn_xxflags__save="$CFLAGS"
21026 ac_cpp='$CPP $CPPFLAGS'
21027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
21032 $as_echo_n "checking if $CC accepts -O... " >&6; }
21033 CFLAGS="-O $CFLAGS"
21034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21035 /* end confdefs.h. */
21036 int main(void){return 0;}
21038 if ac_fn_c_try_link "$LINENO"; then :
21040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21041 $as_echo "yes" >&6; }
21046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21047 $as_echo "no" >&6; }
21048 CFLAGS="$_svn_xxflags__save"
21052 rm -f core conftest.err conftest.$ac_objext \
21053 conftest$ac_exeext conftest.$ac_ext
21055 ac_cpp='$CPP $CPPFLAGS'
21056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21063 rm -f core conftest.err conftest.$ac_objext \
21064 conftest$ac_exeext conftest.$ac_ext
21066 ac_cpp='$CPP $CPPFLAGS'
21067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21073 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C" >&5
21074 $as_echo "$as_me: Enabling optimizations for C" >&6;}
21076 _svn_xxflags__save="$CFLAGS"
21078 ac_cpp='$CPP $CPPFLAGS'
21079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O3" >&5
21084 $as_echo_n "checking if $CC accepts -O3... " >&6; }
21085 CFLAGS="-O3 $CFLAGS"
21086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21087 /* end confdefs.h. */
21088 int main(void){return 0;}
21090 if ac_fn_c_try_link "$LINENO"; then :
21092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21093 $as_echo "yes" >&6; }
21098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21099 $as_echo "no" >&6; }
21100 CFLAGS="$_svn_xxflags__save"
21103 _svn_xxflags__save="$CFLAGS"
21105 ac_cpp='$CPP $CPPFLAGS'
21106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O2" >&5
21111 $as_echo_n "checking if $CC accepts -O2... " >&6; }
21112 CFLAGS="-O2 $CFLAGS"
21113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21114 /* end confdefs.h. */
21115 int main(void){return 0;}
21117 if ac_fn_c_try_link "$LINENO"; then :
21119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21120 $as_echo "yes" >&6; }
21125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21126 $as_echo "no" >&6; }
21127 CFLAGS="$_svn_xxflags__save"
21130 _svn_xxflags__save="$CFLAGS"
21132 ac_cpp='$CPP $CPPFLAGS'
21133 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21134 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21135 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O1" >&5
21138 $as_echo_n "checking if $CC accepts -O1... " >&6; }
21139 CFLAGS="-O1 $CFLAGS"
21140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21141 /* end confdefs.h. */
21142 int main(void){return 0;}
21144 if ac_fn_c_try_link "$LINENO"; then :
21146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21147 $as_echo "yes" >&6; }
21152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21153 $as_echo "no" >&6; }
21154 CFLAGS="$_svn_xxflags__save"
21157 _svn_xxflags__save="$CFLAGS"
21159 ac_cpp='$CPP $CPPFLAGS'
21160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -O" >&5
21165 $as_echo_n "checking if $CC accepts -O... " >&6; }
21166 CFLAGS="-O $CFLAGS"
21167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21168 /* end confdefs.h. */
21169 int main(void){return 0;}
21171 if ac_fn_c_try_link "$LINENO"; then :
21173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21174 $as_echo "yes" >&6; }
21179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21180 $as_echo "no" >&6; }
21181 CFLAGS="$_svn_xxflags__save"
21185 rm -f core conftest.err conftest.$ac_objext \
21186 conftest$ac_exeext conftest.$ac_ext
21188 ac_cpp='$CPP $CPPFLAGS'
21189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21196 rm -f core conftest.err conftest.$ac_objext \
21197 conftest$ac_exeext conftest.$ac_ext
21199 ac_cpp='$CPP $CPPFLAGS'
21200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21207 rm -f core conftest.err conftest.$ac_objext \
21208 conftest$ac_exeext conftest.$ac_ext
21210 ac_cpp='$CPP $CPPFLAGS'
21211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21218 rm -f core conftest.err conftest.$ac_objext \
21219 conftest$ac_exeext conftest.$ac_ext
21221 ac_cpp='$CPP $CPPFLAGS'
21222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21228 _svn_xxflags__save="$CFLAGS"
21230 ac_cpp='$CPP $CPPFLAGS'
21231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -Wno-clobbered" >&5
21236 $as_echo_n "checking if $CC accepts -Wno-clobbered... " >&6; }
21237 CFLAGS="-Wno-clobbered $CFLAGS"
21238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21239 /* end confdefs.h. */
21240 int main(void){return 0;}
21242 if ac_fn_c_try_link "$LINENO"; then :
21244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21245 $as_echo "yes" >&6; }
21250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21251 $as_echo "no" >&6; }
21252 CFLAGS="$_svn_xxflags__save"
21256 rm -f core conftest.err conftest.$ac_objext \
21257 conftest$ac_exeext conftest.$ac_ext
21259 ac_cpp='$CPP $CPPFLAGS'
21260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21266 _svn_xxflags__save="$CFLAGS"
21268 ac_cpp='$CPP $CPPFLAGS'
21269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC accepts -flto" >&5
21274 $as_echo_n "checking if $CC accepts -flto... " >&6; }
21275 CFLAGS="-flto $CFLAGS"
21276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21277 /* end confdefs.h. */
21278 int main(void){return 0;}
21280 if ac_fn_c_try_link "$LINENO"; then :
21282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21283 $as_echo "yes" >&6; }
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21289 $as_echo "no" >&6; }
21290 CFLAGS="$_svn_xxflags__save"
21294 rm -f core conftest.err conftest.$ac_objext \
21295 conftest$ac_exeext conftest.$ac_ext
21297 ac_cpp='$CPP $CPPFLAGS'
21298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21305 if test -z "`echo $CXXUSERFLAGS' ' | $EGREP -- '-O[^ ]* '`"; then
21306 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21307 if test "$enable_debugging" = "yes"; then
21308 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++ (with debugging enabled)" >&5
21309 $as_echo "$as_me: Enabling optimizations for C++ (with debugging enabled)" >&6;}
21311 _svn_xxflags__save="$CXXFLAGS"
21313 ac_cpp='$CXXCPP $CPPFLAGS'
21314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
21319 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
21320 CXXFLAGS="-O1 $CXXFLAGS"
21321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21322 /* end confdefs.h. */
21325 if ac_fn_cxx_try_link "$LINENO"; then :
21327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21328 $as_echo "yes" >&6; }
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21334 $as_echo "no" >&6; }
21335 CXXFLAGS="$_svn_xxflags__save"
21338 _svn_xxflags__save="$CXXFLAGS"
21340 ac_cpp='$CXXCPP $CPPFLAGS'
21341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
21346 $as_echo_n "checking if $CXX accepts -O... " >&6; }
21347 CXXFLAGS="-O $CXXFLAGS"
21348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21349 /* end confdefs.h. */
21352 if ac_fn_cxx_try_link "$LINENO"; then :
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21355 $as_echo "yes" >&6; }
21360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21361 $as_echo "no" >&6; }
21362 CXXFLAGS="$_svn_xxflags__save"
21366 rm -f core conftest.err conftest.$ac_objext \
21367 conftest$ac_exeext conftest.$ac_ext
21369 ac_cpp='$CXXCPP $CPPFLAGS'
21370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21377 rm -f core conftest.err conftest.$ac_objext \
21378 conftest$ac_exeext conftest.$ac_ext
21380 ac_cpp='$CPP $CPPFLAGS'
21381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling optimizations for C++" >&5
21388 $as_echo "$as_me: Enabling optimizations for C++" >&6;}
21390 _svn_xxflags__save="$CXXFLAGS"
21392 ac_cpp='$CXXCPP $CPPFLAGS'
21393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O3" >&5
21398 $as_echo_n "checking if $CXX accepts -O3... " >&6; }
21399 CXXFLAGS="-O3 $CXXFLAGS"
21400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21401 /* end confdefs.h. */
21404 if ac_fn_cxx_try_link "$LINENO"; then :
21406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21407 $as_echo "yes" >&6; }
21412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21413 $as_echo "no" >&6; }
21414 CXXFLAGS="$_svn_xxflags__save"
21417 _svn_xxflags__save="$CXXFLAGS"
21419 ac_cpp='$CXXCPP $CPPFLAGS'
21420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O2" >&5
21425 $as_echo_n "checking if $CXX accepts -O2... " >&6; }
21426 CXXFLAGS="-O2 $CXXFLAGS"
21427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21428 /* end confdefs.h. */
21431 if ac_fn_cxx_try_link "$LINENO"; then :
21433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21434 $as_echo "yes" >&6; }
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21440 $as_echo "no" >&6; }
21441 CXXFLAGS="$_svn_xxflags__save"
21444 _svn_xxflags__save="$CXXFLAGS"
21446 ac_cpp='$CXXCPP $CPPFLAGS'
21447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O1" >&5
21452 $as_echo_n "checking if $CXX accepts -O1... " >&6; }
21453 CXXFLAGS="-O1 $CXXFLAGS"
21454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21455 /* end confdefs.h. */
21458 if ac_fn_cxx_try_link "$LINENO"; then :
21460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21461 $as_echo "yes" >&6; }
21466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21467 $as_echo "no" >&6; }
21468 CXXFLAGS="$_svn_xxflags__save"
21471 _svn_xxflags__save="$CXXFLAGS"
21473 ac_cpp='$CXXCPP $CPPFLAGS'
21474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -O" >&5
21479 $as_echo_n "checking if $CXX accepts -O... " >&6; }
21480 CXXFLAGS="-O $CXXFLAGS"
21481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21482 /* end confdefs.h. */
21485 if ac_fn_cxx_try_link "$LINENO"; then :
21487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21488 $as_echo "yes" >&6; }
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21494 $as_echo "no" >&6; }
21495 CXXFLAGS="$_svn_xxflags__save"
21499 rm -f core conftest.err conftest.$ac_objext \
21500 conftest$ac_exeext conftest.$ac_ext
21502 ac_cpp='$CXXCPP $CPPFLAGS'
21503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21510 rm -f core conftest.err conftest.$ac_objext \
21511 conftest$ac_exeext conftest.$ac_ext
21513 ac_cpp='$CXXCPP $CPPFLAGS'
21514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21521 rm -f core conftest.err conftest.$ac_objext \
21522 conftest$ac_exeext conftest.$ac_ext
21524 ac_cpp='$CXXCPP $CPPFLAGS'
21525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21532 rm -f core conftest.err conftest.$ac_objext \
21533 conftest$ac_exeext conftest.$ac_ext
21535 ac_cpp='$CPP $CPPFLAGS'
21536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21542 _svn_xxflags__save="$CXXFLAGS"
21544 ac_cpp='$CXXCPP $CPPFLAGS'
21545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -Wno-clobbered" >&5
21550 $as_echo_n "checking if $CXX accepts -Wno-clobbered... " >&6; }
21551 CXXFLAGS="-Wno-clobbered $CXXFLAGS"
21552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553 /* end confdefs.h. */
21556 if ac_fn_cxx_try_link "$LINENO"; then :
21558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21559 $as_echo "yes" >&6; }
21564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21565 $as_echo "no" >&6; }
21566 CXXFLAGS="$_svn_xxflags__save"
21570 rm -f core conftest.err conftest.$ac_objext \
21571 conftest$ac_exeext conftest.$ac_ext
21573 ac_cpp='$CPP $CPPFLAGS'
21574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21580 _svn_xxflags__save="$CXXFLAGS"
21582 ac_cpp='$CXXCPP $CPPFLAGS'
21583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CXX accepts -flto" >&5
21588 $as_echo_n "checking if $CXX accepts -flto... " >&6; }
21589 CXXFLAGS="-flto $CXXFLAGS"
21590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21591 /* end confdefs.h. */
21594 if ac_fn_cxx_try_link "$LINENO"; then :
21596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
21597 $as_echo "yes" >&6; }
21602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
21603 $as_echo "no" >&6; }
21604 CXXFLAGS="$_svn_xxflags__save"
21608 rm -f core conftest.err conftest.$ac_objext \
21609 conftest$ac_exeext conftest.$ac_ext
21611 ac_cpp='$CPP $CPPFLAGS'
21612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21619 elif test "$enable_optimization" = "no"; then
21620 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling optimizations" >&5
21621 $as_echo "$as_me: Disabling optimizations" >&6;}
21622 CFLAGS="`echo $CFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21623 CXXFLAGS="`echo $CXXFLAGS' ' | $SED -e 's/-O[^ ]* //g'`"
21624 # elif test "$enable_optimization" = "maybe" ; then
21628 { $as_echo "$as_me:${as_lineno-$LINENO}: C compiler flags: $CFLAGS" >&5
21629 $as_echo "$as_me: C compiler flags: $CFLAGS" >&6;}
21630 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CUSERFLAGS" >&5
21631 $as_echo "$as_me: user-defined: $CUSERFLAGS" >&6;}
21632 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CMAINTAINERFLAGS" >&5
21633 $as_echo "$as_me: maintainer-mode: $CMAINTAINERFLAGS" >&6;}
21634 { $as_echo "$as_me:${as_lineno-$LINENO}: C++ compiler flags: $CXXFLAGS" >&5
21635 $as_echo "$as_me: C++ compiler flags: $CXXFLAGS" >&6;}
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: user-defined: $CXXUSERFLAGS" >&5
21637 $as_echo "$as_me: user-defined: $CXXUSERFLAGS" >&6;}
21638 { $as_echo "$as_me:${as_lineno-$LINENO}: maintainer-mode: $CXXMAINTAINERFLAGS" >&5
21639 $as_echo "$as_me: maintainer-mode: $CXXMAINTAINERFLAGS" >&6;}
21641 # Check whether --enable-full-version-match was given.
21642 if test "${enable_full_version_match+set}" = set; then :
21643 enableval=$enable_full_version_match;
21644 if test "$enableval" = "no" ; then
21645 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling svn full version matching" >&5
21646 $as_echo "$as_me: Disabling svn full version matching" >&6;}
21648 $as_echo "#define SVN_DISABLE_FULL_VERSION_MATCH 1" >>confdefs.h
21656 # Check whether --with-editor was given.
21657 if test "${with_editor+set}" = set; then :
21658 withval=$with_editor;
21660 if test "$withval" = "yes" ; then
21661 as_fn_error $? "--with-editor requires an argument." "$LINENO" 5
21663 SVN_CLIENT_EDITOR=$withval
21665 cat >>confdefs.h <<_ACEOF
21666 #define SVN_CLIENT_EDITOR "$SVN_CLIENT_EDITOR"
21680 # Check whether --with-zlib was given.
21681 if test "${with_zlib+set}" = set; then :
21682 withval=$with_zlib;
21683 if test "$withval" = "yes" ; then
21684 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21685 if test "x$ac_cv_header_zlib_h" = xyes; then :
21687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
21688 $as_echo_n "checking for inflate in -lz... " >&6; }
21689 if ${ac_cv_lib_z_inflate+:} false; then :
21690 $as_echo_n "(cached) " >&6
21692 ac_check_lib_save_LIBS=$LIBS
21694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21695 /* end confdefs.h. */
21697 /* Override any GCC internal prototype to avoid an error.
21698 Use char because int might match the return type of a GCC
21699 builtin and then its argument prototype would still apply. */
21712 if ac_fn_c_try_link "$LINENO"; then :
21713 ac_cv_lib_z_inflate=yes
21715 ac_cv_lib_z_inflate=no
21717 rm -f core conftest.err conftest.$ac_objext \
21718 conftest$ac_exeext conftest.$ac_ext
21719 LIBS=$ac_check_lib_save_LIBS
21721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
21722 $as_echo "$ac_cv_lib_z_inflate" >&6; }
21723 if test "x$ac_cv_lib_z_inflate" = xyes; then :
21724 zlib_found="builtin"
21731 elif test "$withval" = "no" ; then
21732 as_fn_error $? "cannot compile without zlib." "$LINENO" 5
21734 { $as_echo "$as_me:${as_lineno-$LINENO}: zlib library configuration" >&5
21735 $as_echo "$as_me: zlib library configuration" >&6;}
21736 zlib_prefix=$withval
21737 save_cppflags="$CPPFLAGS"
21738 CPPFLAGS="$CPPFLAGS -I$zlib_prefix/include"
21739 for ac_header in zlib.h
21741 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21742 if test "x$ac_cv_header_zlib_h" = xyes; then :
21743 cat >>confdefs.h <<_ACEOF
21744 #define HAVE_ZLIB_H 1
21747 save_ldflags="$LDFLAGS"
21748 LDFLAGS="$LDFLAGS -L$zlib_prefix/lib"
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
21750 $as_echo_n "checking for inflate in -lz... " >&6; }
21751 if ${ac_cv_lib_z_inflate+:} false; then :
21752 $as_echo_n "(cached) " >&6
21754 ac_check_lib_save_LIBS=$LIBS
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21759 /* Override any GCC internal prototype to avoid an error.
21760 Use char because int might match the return type of a GCC
21761 builtin and then its argument prototype would still apply. */
21774 if ac_fn_c_try_link "$LINENO"; then :
21775 ac_cv_lib_z_inflate=yes
21777 ac_cv_lib_z_inflate=no
21779 rm -f core conftest.err conftest.$ac_objext \
21780 conftest$ac_exeext conftest.$ac_ext
21781 LIBS=$ac_check_lib_save_LIBS
21783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
21784 $as_echo "$ac_cv_lib_z_inflate" >&6; }
21785 if test "x$ac_cv_lib_z_inflate" = xyes; then :
21789 LDFLAGS="$save_ldflags"
21795 CPPFLAGS="$save_cppflags"
21800 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
21801 if test "x$ac_cv_header_zlib_h" = xyes; then :
21803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
21804 $as_echo_n "checking for inflate in -lz... " >&6; }
21805 if ${ac_cv_lib_z_inflate+:} false; then :
21806 $as_echo_n "(cached) " >&6
21808 ac_check_lib_save_LIBS=$LIBS
21810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21811 /* end confdefs.h. */
21813 /* Override any GCC internal prototype to avoid an error.
21814 Use char because int might match the return type of a GCC
21815 builtin and then its argument prototype would still apply. */
21828 if ac_fn_c_try_link "$LINENO"; then :
21829 ac_cv_lib_z_inflate=yes
21831 ac_cv_lib_z_inflate=no
21833 rm -f core conftest.err conftest.$ac_objext \
21834 conftest$ac_exeext conftest.$ac_ext
21835 LIBS=$ac_check_lib_save_LIBS
21837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
21838 $as_echo "$ac_cv_lib_z_inflate" >&6; }
21839 if test "x$ac_cv_lib_z_inflate" = xyes; then :
21840 zlib_found="builtin"
21851 if test "$zlib_found" = "no"; then
21852 as_fn_error $? "subversion requires zlib" "$LINENO" 5
21855 if test "$zlib_found" = "yes"; then
21856 SVN_ZLIB_INCLUDES="-I$zlib_prefix/include"
21857 LDFLAGS="$LDFLAGS `
21858 input_flags="-L$zlib_prefix/lib"
21860 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
21861 for flag in $input_flags; do
21863 for dir in $filtered_dirs; do
21864 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
21869 if test "$filter" = "no"; then
21870 output_flags="$output_flags $flag"
21873 if test -n "$output_flags"; then
21874 printf "%s" "${output_flags# }"
21879 SVN_ZLIB_LIBS="-lz"
21886 # Check whether --enable-mod-activation was given.
21887 if test "${enable_mod_activation+set}" = set; then :
21888 enableval=$enable_mod_activation;
21889 if test "$enableval" = "yes" ; then
21890 MOD_ACTIVATION="-a"
21891 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling apache module activation" >&5
21892 $as_echo "$as_me: Enabling apache module activation" >&6;}
21894 { $as_echo "$as_me:${as_lineno-$LINENO}: Disabling apache module activation" >&5
21895 $as_echo "$as_me: Disabling apache module activation" >&6;}
21904 # Check whether --enable-gcov was given.
21905 if test "${enable_gcov+set}" = set; then :
21906 enableval=$enable_gcov;
21907 if test "$enableval" = "yes" ; then
21908 if test "$GCC" = "yes"; then
21909 if test "$svn_enable_shared" = "yes" ; then
21910 as_fn_error $? "Can't have --enable-gcov without --disable-shared (we
21911 recommend also using --enable-all-static)." "$LINENO" 5
21913 if test ! "$enable_all_static" = "yes" ; then
21914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gcov." >&5
21915 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gcov." >&2;}
21917 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gcov coverage testing." >&5
21918 $as_echo "$as_me: Enabling gcov coverage testing." >&6;}
21919 CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
21920 CXXFLAGS="$CXXFLAGS -fprofile-arcs -ftest-coverage"
21922 as_fn_error $? "We only support --enable-gcov with GCC right now." "$LINENO" 5
21929 # Check whether --enable-gprof was given.
21930 if test "${enable_gprof+set}" = set; then :
21931 enableval=$enable_gprof;
21932 if test "$enableval" = "yes" ; then
21933 if test "$GCC" = "yes"; then
21934 if test "$svn_enable_shared" = "yes" ; then
21935 as_fn_error $? "Can't have --enable-gprof without --disable-shared (we
21936 recommend also using --enable-all-static)." "$LINENO" 5
21938 if test ! "$enable_all_static" = "yes" ; then
21939 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We recommend --enable-all-static with --enable-gprof." >&5
21940 $as_echo "$as_me: WARNING: We recommend --enable-all-static with --enable-gprof." >&2;}
21942 { $as_echo "$as_me:${as_lineno-$LINENO}: Enabling gprof profiling data (to gmon.out)." >&5
21943 $as_echo "$as_me: Enabling gprof profiling data (to gmon.out)." >&6;}
21944 CFLAGS="$CFLAGS -pg"
21945 CXXFLAGS="$CXXFLAGS -pg"
21946 LT_LDFLAGS="$LT_LDFLAGS -pg"
21948 as_fn_error $? "We only support --enable-gprof with GCC right now." "$LINENO" 5
21956 # Scripting and Bindings languages
21958 # Python: Used for testsuite, and bindings
21961 PYTHON="`$abs_srcdir/build/find_python.sh`"
21962 if test -z "$PYTHON"; then
21963 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Python 2.5 or later is required to run the testsuite" >&5
21964 $as_echo "$as_me: WARNING: Python 2.5 or later is required to run the testsuite" >&2;}
21965 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: or to use the Subversion Python bindings" >&5
21966 $as_echo "$as_me: WARNING: or to use the Subversion Python bindings" >&2;}
21967 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: " >&5
21968 $as_echo "$as_me: WARNING: " >&2;}
21969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: If you have a suitable Python installed, but not on the" >&5
21970 $as_echo "$as_me: WARNING: If you have a suitable Python installed, but not on the" >&2;}
21971 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: PATH, set the environment variable PYTHON to the full path" >&5
21972 $as_echo "$as_me: WARNING: PATH, set the environment variable PYTHON to the full path" >&2;}
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: to the Python executable, and re-run configure" >&5
21974 $as_echo "$as_me: WARNING: to the Python executable, and re-run configure" >&2;}
21976 for ac_prog in "$PYTHON"
21978 # Extract the first word of "$ac_prog", so it can be a program name with args.
21979 set dummy $ac_prog; ac_word=$2
21980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
21981 $as_echo_n "checking for $ac_word... " >&6; }
21982 if ${ac_cv_path_PYTHON+:} false; then :
21983 $as_echo_n "(cached) " >&6
21987 ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
21990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21991 for as_dir in $PATH
21994 test -z "$as_dir" && as_dir=.
21995 for ac_exec_ext in '' $ac_executable_extensions; do
21996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
21997 ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
21998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22008 PYTHON=$ac_cv_path_PYTHON
22009 if test -n "$PYTHON"; then
22010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
22011 $as_echo "$PYTHON" >&6; }
22013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22014 $as_echo "no" >&6; }
22018 test -n "$PYTHON" && break
22020 test -n "$PYTHON" || PYTHON="none"
22023 # The minimum version for the JVM runtime for our Java bytecode.
22024 JAVA_OLDEST_WORKING_VER='1.5'
22025 # SVN_CHECK_JDK sets $JAVA_CLASSPATH
22027 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22029 # Check whether --with-jdk was given.
22030 if test "${with_jdk+set}" = set; then :
22039 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22051 $as_echo_n "checking for JDK... " >&6; }
22052 if test $where = check; then
22053 if test -x "$JAVA_HOME/bin/java"; then
22055 elif test -x "/Library/Java/Home/bin/java"; then
22056 JDK="/Library/Java/Home"
22057 elif test -x "/usr/bin/java"; then
22059 elif test -x "/usr/local/bin/java"; then
22067 if test "$os_arch" = "Darwin"; then
22068 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22070 if test "$OSX_VER" = "10.4"; then
22074 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22075 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22076 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22079 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22080 test -d "/Library/Java/Home"; then
22081 JDK="/Library/Java/Home"
22084 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22085 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22087 JRE_LIB_DIR="$JDK/jre/lib"
22090 if test -f "$JDK/include/jni.h"; then
22091 JNI_INCLUDEDIR="$JDK/include"
22093 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22094 JNI_INCLUDEDIR="$JDK/Headers"
22096 elif test "$os_arch" = "Darwin" &&
22097 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22098 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22100 elif test "$os_arch" = "Darwin" &&
22101 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22102 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22107 if test "$JDK_SUITABLE" = "yes"; then
22108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22109 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22112 $as_echo "no" >&6; }
22113 if test "$where" != "check"; then
22114 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22115 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
22116 if test "$os_arch" = "Darwin"; then
22117 { $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
22118 $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;}
22123 if test "$JDK_SUITABLE" = "yes"; then
22124 JAVA_BIN='$(JDK)/bin'
22126 JAVA="$JAVA_BIN/java"
22127 JAVAC="$JAVA_BIN/javac"
22128 JAVAH="$JAVA_BIN/javah"
22129 JAVADOC="$JAVA_BIN/javadoc"
22130 JAR="$JAVA_BIN/jar"
22132 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
22134 # Check whether --with-jikes was given.
22135 if test "${with_jikes+set}" = set; then :
22136 withval=$with_jikes;
22137 if test "$withval" != "no" && test "$withval" != "yes"; then
22138 jikes_options="$withval $jikes_options"
22140 requested_jikes="$withval" # will be 'yes' if path unspecified
22144 if test "$requested_jikes" != "no"; then
22145 for jikes in $jikes_options; do
22146 if test -z "$jikes_found" && test -x "$jikes"; then
22149 JAVA_CLASSPATH="$JRE_LIB_DIR"
22150 for jar in $JRE_LIB_DIR/*.jar; do
22151 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
22156 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
22157 if test -z "$jikes_found"; then
22158 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
22159 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
22160 test "$JAVAC" != "$requested_jikes"; then
22161 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
22162 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
22166 # The release for "-source" could actually be greater than that
22167 # of "-target", if we want to cross-compile for lesser JVMs.
22168 if test -z "$JAVAC_FLAGS"; then
22169 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
22170 if test "$enable_debugging" = "yes"; then
22171 JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
22175 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
22176 list="`find "$JNI_INCLUDEDIR" -type d -print`"
22177 for dir in $list; do
22178 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
22195 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22207 $as_echo_n "checking for JDK... " >&6; }
22208 if test $where = check; then
22209 if test -x "$JAVA_HOME/bin/java"; then
22211 elif test -x "/Library/Java/Home/bin/java"; then
22212 JDK="/Library/Java/Home"
22213 elif test -x "/usr/bin/java"; then
22215 elif test -x "/usr/local/bin/java"; then
22223 if test "$os_arch" = "Darwin"; then
22224 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22226 if test "$OSX_VER" = "10.4"; then
22230 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22231 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22232 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22235 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22236 test -d "/Library/Java/Home"; then
22237 JDK="/Library/Java/Home"
22240 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22241 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22243 JRE_LIB_DIR="$JDK/jre/lib"
22246 if test -f "$JDK/include/jni.h"; then
22247 JNI_INCLUDEDIR="$JDK/include"
22249 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22250 JNI_INCLUDEDIR="$JDK/Headers"
22252 elif test "$os_arch" = "Darwin" &&
22253 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22254 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22256 elif test "$os_arch" = "Darwin" &&
22257 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22258 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22263 if test "$JDK_SUITABLE" = "yes"; then
22264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22265 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22268 $as_echo "no" >&6; }
22269 if test "$where" != "check"; then
22270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22271 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
22272 if test "$os_arch" = "Darwin"; then
22273 { $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
22274 $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;}
22279 if test "$JDK_SUITABLE" = "yes"; then
22280 JAVA_BIN='$(JDK)/bin'
22282 JAVA="$JAVA_BIN/java"
22283 JAVAC="$JAVA_BIN/javac"
22284 JAVAH="$JAVA_BIN/javah"
22285 JAVADOC="$JAVA_BIN/javadoc"
22286 JAR="$JAVA_BIN/jar"
22288 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
22290 # Check whether --with-jikes was given.
22291 if test "${with_jikes+set}" = set; then :
22292 withval=$with_jikes;
22293 if test "$withval" != "no" && test "$withval" != "yes"; then
22294 jikes_options="$withval $jikes_options"
22296 requested_jikes="$withval" # will be 'yes' if path unspecified
22300 if test "$requested_jikes" != "no"; then
22301 for jikes in $jikes_options; do
22302 if test -z "$jikes_found" && test -x "$jikes"; then
22305 JAVA_CLASSPATH="$JRE_LIB_DIR"
22306 for jar in $JRE_LIB_DIR/*.jar; do
22307 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
22312 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
22313 if test -z "$jikes_found"; then
22314 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
22315 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
22316 test "$JAVAC" != "$requested_jikes"; then
22317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
22318 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
22322 # The release for "-source" could actually be greater than that
22323 # of "-target", if we want to cross-compile for lesser JVMs.
22324 if test -z "$JAVAC_FLAGS"; then
22325 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
22326 if test "$enable_debugging" = "yes"; then
22327 JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
22331 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
22332 list="`find "$JNI_INCLUDEDIR" -type d -print`"
22333 for dir in $list; do
22334 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
22354 JAVA_OLDEST_WORKING_VER="$JAVA_OLDEST_WORKING_VER"
22365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for JDK" >&5
22366 $as_echo_n "checking for JDK... " >&6; }
22367 if test $where = check; then
22368 if test -x "$JAVA_HOME/bin/java"; then
22370 elif test -x "/Library/Java/Home/bin/java"; then
22371 JDK="/Library/Java/Home"
22372 elif test -x "/usr/bin/java"; then
22374 elif test -x "/usr/local/bin/java"; then
22382 if test "$os_arch" = "Darwin"; then
22383 OSX_VER=`/usr/bin/sw_vers | grep ProductVersion | cut -f2 | cut -d"." -f1,2`
22385 if test "$OSX_VER" = "10.4"; then
22389 OSX_SYS_JAVA_FRAMEWORK="/System/Library/Frameworks/JavaVM.framework"
22390 OSX_SDK_JAVA_FRAMEWORK="/Developer/SDKs/MacOSX$OSX_VER.sdk/System/Library"
22391 OSX_SDK_JAVA_FRAMEWORK="$OSX_SDK_JAVA_FRAMEWORK/Frameworks/JavaVM.framework"
22394 if test "$os_arch" = "Darwin" && test "$JDK" = "/usr" &&
22395 test -d "/Library/Java/Home"; then
22396 JDK="/Library/Java/Home"
22399 if test "$os_arch" = "Darwin" && test "$JDK" = "/Library/Java/Home"; then
22400 JRE_LIB_DIR="$OSX_SYS_JAVA_FRAMEWORK/Classes"
22402 JRE_LIB_DIR="$JDK/jre/lib"
22405 if test -f "$JDK/include/jni.h"; then
22406 JNI_INCLUDEDIR="$JDK/include"
22408 elif test "$os_arch" = "Darwin" && test -e "$JDK/Headers/jni.h"; then
22409 JNI_INCLUDEDIR="$JDK/Headers"
22411 elif test "$os_arch" = "Darwin" &&
22412 test -e "$OSX_SYS_JAVA_FRAMEWORK/Headers/jni.h"; then
22413 JNI_INCLUDEDIR="$OSX_SYS_JAVA_FRAMEWORK/Headers"
22415 elif test "$os_arch" = "Darwin" &&
22416 test -e "$OSX_SDK_JAVA_FRAMEWORK/Headers/jni.h"; then
22417 JNI_INCLUDEDIR="$OSX_SDK_JAVA_FRAMEWORK/Headers"
22422 if test "$JDK_SUITABLE" = "yes"; then
22423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $JNI_INCLUDEDIR/jni.h" >&5
22424 $as_echo "$JNI_INCLUDEDIR/jni.h" >&6; }
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22427 $as_echo "no" >&6; }
22428 if test "$where" != "check"; then
22429 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no JNI header files found." >&5
22430 $as_echo "$as_me: WARNING: no JNI header files found." >&2;}
22431 if test "$os_arch" = "Darwin"; then
22432 { $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
22433 $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;}
22438 if test "$JDK_SUITABLE" = "yes"; then
22439 JAVA_BIN='$(JDK)/bin'
22441 JAVA="$JAVA_BIN/java"
22442 JAVAC="$JAVA_BIN/javac"
22443 JAVAH="$JAVA_BIN/javah"
22444 JAVADOC="$JAVA_BIN/javadoc"
22445 JAR="$JAVA_BIN/jar"
22447 jikes_options="/usr/local/bin/jikes /usr/bin/jikes"
22449 # Check whether --with-jikes was given.
22450 if test "${with_jikes+set}" = set; then :
22451 withval=$with_jikes;
22452 if test "$withval" != "no" && test "$withval" != "yes"; then
22453 jikes_options="$withval $jikes_options"
22455 requested_jikes="$withval" # will be 'yes' if path unspecified
22459 if test "$requested_jikes" != "no"; then
22460 for jikes in $jikes_options; do
22461 if test -z "$jikes_found" && test -x "$jikes"; then
22464 JAVA_CLASSPATH="$JRE_LIB_DIR"
22465 for jar in $JRE_LIB_DIR/*.jar; do
22466 JAVA_CLASSPATH="$JAVA_CLASSPATH:$jar"
22471 if test -n "$requested_jikes" && test "$requested_jikes" != "no"; then
22472 if test -z "$jikes_found"; then
22473 as_fn_error $? "Could not find a usable version of Jikes" "$LINENO" 5
22474 elif test -n "$jikes_found" && test "$requested_jikes" != "yes" &&
22475 test "$JAVAC" != "$requested_jikes"; then
22476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --with-jikes PATH was invalid, substitute found" >&5
22477 $as_echo "$as_me: WARNING: --with-jikes PATH was invalid, substitute found" >&2;}
22481 # The release for "-source" could actually be greater than that
22482 # of "-target", if we want to cross-compile for lesser JVMs.
22483 if test -z "$JAVAC_FLAGS"; then
22484 JAVAC_FLAGS="-target $JAVA_OLDEST_WORKING_VER -source 1.5"
22485 if test "$enable_debugging" = "yes"; then
22486 JAVAC_FLAGS="-g -Xlint:unchecked $JAVAC_FLAGS"
22490 JNI_INCLUDES="-I$JNI_INCLUDEDIR"
22491 list="`find "$JNI_INCLUDEDIR" -type d -print`"
22492 for dir in $list; do
22493 JNI_INCLUDES="$JNI_INCLUDES -I$dir"
22511 # Extract the first word of "perl", so it can be a program name with args.
22512 set dummy perl; ac_word=$2
22513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22514 $as_echo_n "checking for $ac_word... " >&6; }
22515 if ${ac_cv_path_PERL+:} false; then :
22516 $as_echo_n "(cached) " >&6
22520 ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
22523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22524 for as_dir in $PATH
22527 test -z "$as_dir" && as_dir=.
22528 for ac_exec_ext in '' $ac_executable_extensions; do
22529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22530 ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
22531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22538 test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="none"
22542 PERL=$ac_cv_path_PERL
22543 if test -n "$PERL"; then
22544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL" >&5
22545 $as_echo "$PERL" >&6; }
22547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22548 $as_echo "no" >&6; }
22553 if test -n "$RUBY"; then
22554 # Extract the first word of ""$RUBY"", so it can be a program name with args.
22555 set dummy "$RUBY"; ac_word=$2
22556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22557 $as_echo_n "checking for $ac_word... " >&6; }
22558 if ${ac_cv_path_RUBY+:} false; then :
22559 $as_echo_n "(cached) " >&6
22563 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
22566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22567 for as_dir in $PATH
22570 test -z "$as_dir" && as_dir=.
22571 for ac_exec_ext in '' $ac_executable_extensions; do
22572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22573 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
22574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22581 test -z "$ac_cv_path_RUBY" && ac_cv_path_RUBY="none"
22585 RUBY=$ac_cv_path_RUBY
22586 if test -n "$RUBY"; then
22587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
22588 $as_echo "$RUBY" >&6; }
22590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22591 $as_echo "no" >&6; }
22596 for ac_prog in ruby ruby1.8 ruby18 ruby1.9 ruby1 ruby1.9.3 ruby193
22598 # Extract the first word of "$ac_prog", so it can be a program name with args.
22599 set dummy $ac_prog; ac_word=$2
22600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22601 $as_echo_n "checking for $ac_word... " >&6; }
22602 if ${ac_cv_path_RUBY+:} false; then :
22603 $as_echo_n "(cached) " >&6
22607 ac_cv_path_RUBY="$RUBY" # Let the user override the test with a path.
22610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22611 for as_dir in $PATH
22614 test -z "$as_dir" && as_dir=.
22615 for ac_exec_ext in '' $ac_executable_extensions; do
22616 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22617 ac_cv_path_RUBY="$as_dir/$ac_word$ac_exec_ext"
22618 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22628 RUBY=$ac_cv_path_RUBY
22629 if test -n "$RUBY"; then
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RUBY" >&5
22631 $as_echo "$RUBY" >&6; }
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22634 $as_echo "no" >&6; }
22638 test -n "$RUBY" && break
22640 test -n "$RUBY" || RUBY="none"
22643 if test "$RUBY" != "none"; then
22644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking rb_hash_foreach" >&5
22645 $as_echo_n "checking rb_hash_foreach... " >&6; }
22646 if "$RUBY" -r mkmf -e 'exit(have_func("rb_hash_foreach") ? 0 : 1)' >/dev/null; then
22647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22648 $as_echo "yes" >&6; }
22649 if test -n "$RDOC"; then
22650 # Extract the first word of ""$RDOC"", so it can be a program name with args.
22651 set dummy "$RDOC"; ac_word=$2
22652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22653 $as_echo_n "checking for $ac_word... " >&6; }
22654 if ${ac_cv_path_RDOC+:} false; then :
22655 $as_echo_n "(cached) " >&6
22659 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
22662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22663 for as_dir in $PATH
22666 test -z "$as_dir" && as_dir=.
22667 for ac_exec_ext in '' $ac_executable_extensions; do
22668 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22669 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
22670 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22677 test -z "$ac_cv_path_RDOC" && ac_cv_path_RDOC="none"
22681 RDOC=$ac_cv_path_RDOC
22682 if test -n "$RDOC"; then
22683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
22684 $as_echo "$RDOC" >&6; }
22686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22687 $as_echo "no" >&6; }
22692 for ac_prog in rdoc rdoc1.8 rdoc18 rdoc1.9 rdoc19 rdoc1.9.3 rdoc193
22694 # Extract the first word of "$ac_prog", so it can be a program name with args.
22695 set dummy $ac_prog; ac_word=$2
22696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22697 $as_echo_n "checking for $ac_word... " >&6; }
22698 if ${ac_cv_path_RDOC+:} false; then :
22699 $as_echo_n "(cached) " >&6
22703 ac_cv_path_RDOC="$RDOC" # Let the user override the test with a path.
22706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22707 for as_dir in $PATH
22710 test -z "$as_dir" && as_dir=.
22711 for ac_exec_ext in '' $ac_executable_extensions; do
22712 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22713 ac_cv_path_RDOC="$as_dir/$ac_word$ac_exec_ext"
22714 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22724 RDOC=$ac_cv_path_RDOC
22725 if test -n "$RDOC"; then
22726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RDOC" >&5
22727 $as_echo "$RDOC" >&6; }
22729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22730 $as_echo "no" >&6; }
22734 test -n "$RDOC" && break
22736 test -n "$RDOC" || RDOC="none"
22739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby major version" >&5
22740 $as_echo_n "checking for Ruby major version... " >&6; }
22741 if ${svn_cv_ruby_major+:} false; then :
22742 $as_echo_n "(cached) " >&6
22745 svn_cv_ruby_major="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MAJOR))'`"
22748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_major" >&5
22749 $as_echo "$svn_cv_ruby_major" >&6; }
22750 RUBY_MAJOR="$svn_cv_ruby_major"
22752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby minor version" >&5
22753 $as_echo_n "checking for Ruby minor version... " >&6; }
22754 if ${svn_cv_ruby_minor+:} false; then :
22755 $as_echo_n "(cached) " >&6
22758 svn_cv_ruby_minor="`$RUBY -rrbconfig -e 'print RbConfig::CONFIG.fetch(%q(MINOR))'`"
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_minor" >&5
22762 $as_echo "$svn_cv_ruby_minor" >&6; }
22763 RUBY_MINOR="$svn_cv_ruby_minor"
22765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby teeny version" >&5
22766 $as_echo_n "checking for Ruby teeny version... " >&6; }
22767 if ${svn_cv_ruby_teeny+:} false; then :
22768 $as_echo_n "(cached) " >&6
22771 svn_cv_ruby_teeny="`$RUBY -rrbconfig -e 'major, minor, teeny = RUBY_VERSION.split("."); print teeny;'`"
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_teeny" >&5
22775 $as_echo "$svn_cv_ruby_teeny" >&6; }
22776 RUBY_TEENY="$svn_cv_ruby_teeny"
22781 if test \( "$RUBY_MAJOR" -eq "1" -a "$RUBY_MINOR" -gt "8" -a "$RUBY_TEENY" -lt "3" \); then
22782 # Disallow Ruby between 1.8.7 and 1.9.3
22784 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&5
22785 $as_echo "$as_me: WARNING: The detected Ruby is between 1.9 and 1.9.3" >&2;}
22786 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&5
22787 $as_echo "$as_me: WARNING: Only 1.8.x and 1.9.3 releases are supported at this time" >&2;}
22790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22791 $as_echo "no" >&6; }
22793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The detected Ruby is too old for Subversion to use" >&5
22794 $as_echo "$as_me: WARNING: The detected Ruby is too old for Subversion to use" >&2;}
22795 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&5
22796 $as_echo "$as_me: WARNING: A Ruby which has rb_hash_foreach is required to use the" >&2;}
22797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion Ruby bindings" >&5
22798 $as_echo "$as_me: WARNING: Subversion Ruby bindings" >&2;}
22799 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Upgrade to the official 1.8.2 release, or later" >&5
22800 $as_echo "$as_me: WARNING: Upgrade to the official 1.8.2 release, or later" >&2;}
22806 # Check whether --with-swig was given.
22807 if test "${with_swig+set}" = set; then :
22808 withval=$with_swig;
22815 if test $where = no; then
22817 elif test $where = check; then
22818 # Extract the first word of "swig", so it can be a program name with args.
22819 set dummy swig; ac_word=$2
22820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22821 $as_echo_n "checking for $ac_word... " >&6; }
22822 if ${ac_cv_path_SWIG+:} false; then :
22823 $as_echo_n "(cached) " >&6
22827 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
22830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22831 for as_dir in $PATH
22834 test -z "$as_dir" && as_dir=.
22835 for ac_exec_ext in '' $ac_executable_extensions; do
22836 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
22837 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
22838 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
22845 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
22849 SWIG=$ac_cv_path_SWIG
22850 if test -n "$SWIG"; then
22851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
22852 $as_echo "$SWIG" >&6; }
22854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22855 $as_echo "no" >&6; }
22860 if test -f "$where"; then
22863 SWIG="$where/bin/swig"
22865 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
22866 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
22870 if test "$SWIG" != "none"; then
22871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
22872 $as_echo_n "checking swig version... " >&6; }
22873 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
22874 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
22875 # We want the version as an integer so we can test against
22876 # which version we're using. SWIG doesn't provide this
22877 # to us so we have to come up with it on our own.
22878 # The major is passed straight through,
22879 # the minor is zero padded to two places,
22880 # and the patch level is zero padded to three places.
22881 # e.g. 1.3.24 becomes 103024
22882 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
22883 $SED -e 's/[^0-9\.].*$//' \
22884 -e 's/\.\([0-9]\)$/.0\1/' \
22885 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
22886 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
22887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
22888 $as_echo "$SWIG_VERSION_RAW" >&6; }
22889 # If you change the required swig version number, don't forget to update:
22890 # subversion/bindings/swig/INSTALL
22891 # packages/rpm/redhat-8+/subversion.spec
22892 # packages/rpm/redhat-7.x/subversion.spec
22893 # packages/rpm/rhel-3/subversion.spec
22894 # packages/rpm/rhel-4/subversion.spec
22895 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
22900 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
22901 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
22902 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
22906 SWIG_PY_COMPILE="none"
22907 SWIG_PY_LINK="none"
22908 if test "$PYTHON" != "none"; then
22909 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
22910 $as_echo "$as_me: Configuring python swig binding" >&6;}
22912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
22913 $as_echo_n "checking for Python includes... " >&6; }
22914 if ${ac_cv_python_includes+:} false; then :
22915 $as_echo_n "(cached) " >&6
22918 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
22921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
22922 $as_echo "$ac_cv_python_includes" >&6; }
22923 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
22925 if test "$ac_cv_python_includes" = "none"; then
22926 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
22927 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
22930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
22931 $as_echo_n "checking for compiling Python extensions... " >&6; }
22932 if ${ac_cv_python_compile+:} false; then :
22933 $as_echo_n "(cached) " >&6
22936 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
22939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
22940 $as_echo "$ac_cv_python_compile" >&6; }
22941 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
22943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
22944 $as_echo_n "checking for linking Python extensions... " >&6; }
22945 if ${ac_cv_python_link+:} false; then :
22946 $as_echo_n "(cached) " >&6
22949 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
22952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
22953 $as_echo "$ac_cv_python_link" >&6; }
22954 SWIG_PY_LINK="$ac_cv_python_link"
22956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
22957 $as_echo_n "checking for linking Python libraries... " >&6; }
22958 if ${ac_cv_python_libs+:} false; then :
22959 $as_echo_n "(cached) " >&6
22962 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
22965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
22966 $as_echo "$ac_cv_python_libs" >&6; }
22968 input_flags="$ac_cv_python_libs"
22970 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
22971 for flag in $input_flags; do
22973 for dir in $filtered_dirs; do
22974 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
22979 if test "$filter" = "no"; then
22980 output_flags="$output_flags $flag"
22983 if test -n "$output_flags"; then
22984 printf "%s" "${output_flags# }"
22988 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
22989 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
22990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
22991 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
22992 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
22993 $as_echo_n "(cached) " >&6
22996 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
22997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22998 /* end confdefs.h. */
23000 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23002 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23003 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
23004 svn_cv_pycfmt_apr_int64_t="L"
23009 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23011 /* end confdefs.h. */
23014 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23016 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23017 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
23018 svn_cv_pycfmt_apr_int64_t="l"
23023 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23025 /* end confdefs.h. */
23027 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23029 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23030 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
23031 svn_cv_pycfmt_apr_int64_t="i"
23038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
23039 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
23040 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
23041 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23042 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
23045 cat >>confdefs.h <<_ACEOF
23046 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
23051 if test "$PERL" != "none"; then
23052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
23053 $as_echo_n "checking perl version... " >&6; }
23054 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
23055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
23056 $as_echo "$PERL_VERSION" >&6; }
23057 if test "$PERL_VERSION" -ge "5008000"; then
23058 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
23060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
23061 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
23065 SWIG_RB_COMPILE="none"
23066 SWIG_RB_LINK="none"
23067 if test "$RUBY" != "none"; then
23068 rbconfig="$RUBY -rrbconfig -e "
23070 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
23071 rubyhdrdir sitedir sitelibdir sitearchdir libdir
23073 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
23074 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
23077 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
23078 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
23080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
23081 $as_echo_n "checking for Ruby include path... " >&6; }
23082 if ${svn_cv_ruby_includes+:} false; then :
23083 $as_echo_n "(cached) " >&6
23086 if test -d "$rbconfig_rubyhdrdir"; then
23087 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward -I$rbconfig_rubyhdrdir/$rbconfig_arch"
23089 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
23093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
23094 $as_echo "$svn_cv_ruby_includes" >&6; }
23095 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
23097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
23098 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
23099 if ${svn_cv_ruby_compile+:} false; then :
23100 $as_echo_n "(cached) " >&6
23103 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
23106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
23107 $as_echo "$svn_cv_ruby_compile" >&6; }
23108 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
23110 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
23113 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
23116 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
23118 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
23120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
23121 $as_echo_n "checking how to link Ruby extensions... " >&6; }
23122 if ${svn_cv_ruby_link+:} false; then :
23123 $as_echo_n "(cached) " >&6
23126 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
23127 $rbconfig_LDSHARED`"
23128 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
23129 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
23132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
23133 $as_echo "$svn_cv_ruby_link" >&6; }
23134 SWIG_RB_LINK="$svn_cv_ruby_link"
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
23137 $as_echo_n "checking how to link Ruby libraries... " >&6; }
23138 if ${ac_cv_ruby_libs+:} false; then :
23139 $as_echo_n "(cached) " >&6
23142 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
23145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
23146 $as_echo "$ac_cv_ruby_libs" >&6; }
23148 input_flags="$ac_cv_ruby_libs"
23150 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23151 for flag in $input_flags; do
23153 for dir in $filtered_dirs; do
23154 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23159 if test "$filter" = "no"; then
23160 output_flags="$output_flags $flag"
23163 if test -n "$output_flags"; then
23164 printf "%s" "${output_flags# }"
23168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
23169 $as_echo_n "checking for rb_errinfo... " >&6; }
23170 old_CFLAGS="$CFLAGS"
23172 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
23174 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
23177 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
23180 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
23182 LIBS="$SWIG_RB_LIBS"
23183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23184 /* end confdefs.h. */
23190 if ac_fn_c_try_link "$LINENO"; then :
23191 have_rb_errinfo="yes"
23193 have_rb_errinfo="no"
23195 rm -f core conftest.err conftest.$ac_objext \
23196 conftest$ac_exeext conftest.$ac_ext
23197 if test "$have_rb_errinfo" = "yes"; then
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23199 $as_echo "yes" >&6; }
23201 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
23204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23205 $as_echo "no" >&6; }
23207 CFLAGS="$old_CFLAGS"
23210 if ${svn_cv_ruby_sitedir+:} false; then :
23211 $as_echo_n "(cached) " >&6
23214 svn_cv_ruby_sitedir="$rbconfig_sitedir"
23219 # Check whether --with-ruby-sitedir was given.
23220 if test "${with_ruby_sitedir+set}" = set; then :
23221 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
23223 svn_ruby_installdir="$svn_cv_ruby_sitedir"
23227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
23228 $as_echo_n "checking where to install Ruby scripts... " >&6; }
23229 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
23230 $as_echo_n "(cached) " >&6
23233 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
23234 $SED -e "s,^$rbconfig_sitedir,,"`"
23238 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
23239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
23240 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
23242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
23243 $as_echo_n "checking where to install Ruby extensions... " >&6; }
23244 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
23245 $as_echo_n "(cached) " >&6
23248 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
23249 $SED -e "s,^$rbconfig_sitedir,,"`"
23253 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
23254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
23255 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
23257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
23258 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
23259 if ${svn_cv_ruby_test_verbose+:} false; then :
23260 $as_echo_n "(cached) " >&6
23263 svn_cv_ruby_test_verbose="normal"
23268 # Check whether --with-ruby-test-verbose was given.
23269 if test "${with_ruby_test_verbose+set}" = set; then :
23270 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
23272 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
23275 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
23276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
23277 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
23298 if test $where = no; then
23300 elif test $where = check; then
23301 # Extract the first word of "swig", so it can be a program name with args.
23302 set dummy swig; ac_word=$2
23303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23304 $as_echo_n "checking for $ac_word... " >&6; }
23305 if ${ac_cv_path_SWIG+:} false; then :
23306 $as_echo_n "(cached) " >&6
23310 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
23313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23314 for as_dir in $PATH
23317 test -z "$as_dir" && as_dir=.
23318 for ac_exec_ext in '' $ac_executable_extensions; do
23319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23320 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
23321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23328 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
23332 SWIG=$ac_cv_path_SWIG
23333 if test -n "$SWIG"; then
23334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
23335 $as_echo "$SWIG" >&6; }
23337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23338 $as_echo "no" >&6; }
23343 if test -f "$where"; then
23346 SWIG="$where/bin/swig"
23348 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
23349 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
23353 if test "$SWIG" != "none"; then
23354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
23355 $as_echo_n "checking swig version... " >&6; }
23356 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
23357 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
23358 # We want the version as an integer so we can test against
23359 # which version we're using. SWIG doesn't provide this
23360 # to us so we have to come up with it on our own.
23361 # The major is passed straight through,
23362 # the minor is zero padded to two places,
23363 # and the patch level is zero padded to three places.
23364 # e.g. 1.3.24 becomes 103024
23365 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
23366 $SED -e 's/[^0-9\.].*$//' \
23367 -e 's/\.\([0-9]\)$/.0\1/' \
23368 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
23369 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
23370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
23371 $as_echo "$SWIG_VERSION_RAW" >&6; }
23372 # If you change the required swig version number, don't forget to update:
23373 # subversion/bindings/swig/INSTALL
23374 # packages/rpm/redhat-8+/subversion.spec
23375 # packages/rpm/redhat-7.x/subversion.spec
23376 # packages/rpm/rhel-3/subversion.spec
23377 # packages/rpm/rhel-4/subversion.spec
23378 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23383 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23384 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
23385 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
23389 SWIG_PY_COMPILE="none"
23390 SWIG_PY_LINK="none"
23391 if test "$PYTHON" != "none"; then
23392 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
23393 $as_echo "$as_me: Configuring python swig binding" >&6;}
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
23396 $as_echo_n "checking for Python includes... " >&6; }
23397 if ${ac_cv_python_includes+:} false; then :
23398 $as_echo_n "(cached) " >&6
23401 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
23404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
23405 $as_echo "$ac_cv_python_includes" >&6; }
23406 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
23408 if test "$ac_cv_python_includes" = "none"; then
23409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
23410 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
23413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
23414 $as_echo_n "checking for compiling Python extensions... " >&6; }
23415 if ${ac_cv_python_compile+:} false; then :
23416 $as_echo_n "(cached) " >&6
23419 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
23422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
23423 $as_echo "$ac_cv_python_compile" >&6; }
23424 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
23426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
23427 $as_echo_n "checking for linking Python extensions... " >&6; }
23428 if ${ac_cv_python_link+:} false; then :
23429 $as_echo_n "(cached) " >&6
23432 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
23435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
23436 $as_echo "$ac_cv_python_link" >&6; }
23437 SWIG_PY_LINK="$ac_cv_python_link"
23439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
23440 $as_echo_n "checking for linking Python libraries... " >&6; }
23441 if ${ac_cv_python_libs+:} false; then :
23442 $as_echo_n "(cached) " >&6
23445 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
23448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
23449 $as_echo "$ac_cv_python_libs" >&6; }
23451 input_flags="$ac_cv_python_libs"
23453 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23454 for flag in $input_flags; do
23456 for dir in $filtered_dirs; do
23457 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23462 if test "$filter" = "no"; then
23463 output_flags="$output_flags $flag"
23466 if test -n "$output_flags"; then
23467 printf "%s" "${output_flags# }"
23471 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
23472 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
23473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
23474 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
23475 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
23476 $as_echo_n "(cached) " >&6
23479 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23481 /* end confdefs.h. */
23483 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23485 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23486 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
23487 svn_cv_pycfmt_apr_int64_t="L"
23492 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23494 /* end confdefs.h. */
23497 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23499 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23500 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
23501 svn_cv_pycfmt_apr_int64_t="l"
23506 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23508 /* end confdefs.h. */
23510 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23512 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23513 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
23514 svn_cv_pycfmt_apr_int64_t="i"
23521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
23522 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
23523 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
23524 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23525 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
23528 cat >>confdefs.h <<_ACEOF
23529 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
23534 if test "$PERL" != "none"; then
23535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
23536 $as_echo_n "checking perl version... " >&6; }
23537 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
23538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
23539 $as_echo "$PERL_VERSION" >&6; }
23540 if test "$PERL_VERSION" -ge "5008000"; then
23541 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
23543 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
23544 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
23548 SWIG_RB_COMPILE="none"
23549 SWIG_RB_LINK="none"
23550 if test "$RUBY" != "none"; then
23551 rbconfig="$RUBY -rrbconfig -e "
23553 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
23554 rubyhdrdir sitedir sitelibdir sitearchdir libdir
23556 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
23557 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
23560 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
23561 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
23563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
23564 $as_echo_n "checking for Ruby include path... " >&6; }
23565 if ${svn_cv_ruby_includes+:} false; then :
23566 $as_echo_n "(cached) " >&6
23569 if test -d "$rbconfig_rubyhdrdir"; then
23570 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward -I$rbconfig_rubyhdrdir/$rbconfig_arch"
23572 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
23576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
23577 $as_echo "$svn_cv_ruby_includes" >&6; }
23578 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
23580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
23581 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
23582 if ${svn_cv_ruby_compile+:} false; then :
23583 $as_echo_n "(cached) " >&6
23586 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
23589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
23590 $as_echo "$svn_cv_ruby_compile" >&6; }
23591 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
23593 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
23596 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
23599 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
23601 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
23603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
23604 $as_echo_n "checking how to link Ruby extensions... " >&6; }
23605 if ${svn_cv_ruby_link+:} false; then :
23606 $as_echo_n "(cached) " >&6
23609 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
23610 $rbconfig_LDSHARED`"
23611 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
23612 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
23616 $as_echo "$svn_cv_ruby_link" >&6; }
23617 SWIG_RB_LINK="$svn_cv_ruby_link"
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
23620 $as_echo_n "checking how to link Ruby libraries... " >&6; }
23621 if ${ac_cv_ruby_libs+:} false; then :
23622 $as_echo_n "(cached) " >&6
23625 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
23628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
23629 $as_echo "$ac_cv_ruby_libs" >&6; }
23631 input_flags="$ac_cv_ruby_libs"
23633 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23634 for flag in $input_flags; do
23636 for dir in $filtered_dirs; do
23637 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23642 if test "$filter" = "no"; then
23643 output_flags="$output_flags $flag"
23646 if test -n "$output_flags"; then
23647 printf "%s" "${output_flags# }"
23651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
23652 $as_echo_n "checking for rb_errinfo... " >&6; }
23653 old_CFLAGS="$CFLAGS"
23655 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
23657 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
23660 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
23663 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
23665 LIBS="$SWIG_RB_LIBS"
23666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23667 /* end confdefs.h. */
23673 if ac_fn_c_try_link "$LINENO"; then :
23674 have_rb_errinfo="yes"
23676 have_rb_errinfo="no"
23678 rm -f core conftest.err conftest.$ac_objext \
23679 conftest$ac_exeext conftest.$ac_ext
23680 if test "$have_rb_errinfo" = "yes"; then
23681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
23682 $as_echo "yes" >&6; }
23684 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
23687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23688 $as_echo "no" >&6; }
23690 CFLAGS="$old_CFLAGS"
23693 if ${svn_cv_ruby_sitedir+:} false; then :
23694 $as_echo_n "(cached) " >&6
23697 svn_cv_ruby_sitedir="$rbconfig_sitedir"
23702 # Check whether --with-ruby-sitedir was given.
23703 if test "${with_ruby_sitedir+set}" = set; then :
23704 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
23706 svn_ruby_installdir="$svn_cv_ruby_sitedir"
23710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
23711 $as_echo_n "checking where to install Ruby scripts... " >&6; }
23712 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
23713 $as_echo_n "(cached) " >&6
23716 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
23717 $SED -e "s,^$rbconfig_sitedir,,"`"
23721 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
23722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
23723 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
23725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
23726 $as_echo_n "checking where to install Ruby extensions... " >&6; }
23727 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
23728 $as_echo_n "(cached) " >&6
23731 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
23732 $SED -e "s,^$rbconfig_sitedir,,"`"
23736 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
23737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
23738 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
23740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
23741 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
23742 if ${svn_cv_ruby_test_verbose+:} false; then :
23743 $as_echo_n "(cached) " >&6
23746 svn_cv_ruby_test_verbose="normal"
23751 # Check whether --with-ruby-test-verbose was given.
23752 if test "${with_ruby_test_verbose+set}" = set; then :
23753 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
23755 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
23758 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
23759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
23760 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
23781 if test $where = no; then
23783 elif test $where = check; then
23784 # Extract the first word of "swig", so it can be a program name with args.
23785 set dummy swig; ac_word=$2
23786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23787 $as_echo_n "checking for $ac_word... " >&6; }
23788 if ${ac_cv_path_SWIG+:} false; then :
23789 $as_echo_n "(cached) " >&6
23793 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
23796 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23797 for as_dir in $PATH
23800 test -z "$as_dir" && as_dir=.
23801 for ac_exec_ext in '' $ac_executable_extensions; do
23802 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
23803 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
23804 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23811 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
23815 SWIG=$ac_cv_path_SWIG
23816 if test -n "$SWIG"; then
23817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
23818 $as_echo "$SWIG" >&6; }
23820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23821 $as_echo "no" >&6; }
23826 if test -f "$where"; then
23829 SWIG="$where/bin/swig"
23831 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
23832 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
23836 if test "$SWIG" != "none"; then
23837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
23838 $as_echo_n "checking swig version... " >&6; }
23839 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
23840 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
23841 # We want the version as an integer so we can test against
23842 # which version we're using. SWIG doesn't provide this
23843 # to us so we have to come up with it on our own.
23844 # The major is passed straight through,
23845 # the minor is zero padded to two places,
23846 # and the patch level is zero padded to three places.
23847 # e.g. 1.3.24 becomes 103024
23848 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
23849 $SED -e 's/[^0-9\.].*$//' \
23850 -e 's/\.\([0-9]\)$/.0\1/' \
23851 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
23852 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
23853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
23854 $as_echo "$SWIG_VERSION_RAW" >&6; }
23855 # If you change the required swig version number, don't forget to update:
23856 # subversion/bindings/swig/INSTALL
23857 # packages/rpm/redhat-8+/subversion.spec
23858 # packages/rpm/redhat-7.x/subversion.spec
23859 # packages/rpm/rhel-3/subversion.spec
23860 # packages/rpm/rhel-4/subversion.spec
23861 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
23865 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
23866 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
23867 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
23868 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
23872 SWIG_PY_COMPILE="none"
23873 SWIG_PY_LINK="none"
23874 if test "$PYTHON" != "none"; then
23875 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
23876 $as_echo "$as_me: Configuring python swig binding" >&6;}
23878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
23879 $as_echo_n "checking for Python includes... " >&6; }
23880 if ${ac_cv_python_includes+:} false; then :
23881 $as_echo_n "(cached) " >&6
23884 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
23887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
23888 $as_echo "$ac_cv_python_includes" >&6; }
23889 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
23891 if test "$ac_cv_python_includes" = "none"; then
23892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
23893 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
23896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
23897 $as_echo_n "checking for compiling Python extensions... " >&6; }
23898 if ${ac_cv_python_compile+:} false; then :
23899 $as_echo_n "(cached) " >&6
23902 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
23905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
23906 $as_echo "$ac_cv_python_compile" >&6; }
23907 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
23909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
23910 $as_echo_n "checking for linking Python extensions... " >&6; }
23911 if ${ac_cv_python_link+:} false; then :
23912 $as_echo_n "(cached) " >&6
23915 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
23918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
23919 $as_echo "$ac_cv_python_link" >&6; }
23920 SWIG_PY_LINK="$ac_cv_python_link"
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
23923 $as_echo_n "checking for linking Python libraries... " >&6; }
23924 if ${ac_cv_python_libs+:} false; then :
23925 $as_echo_n "(cached) " >&6
23928 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
23931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
23932 $as_echo "$ac_cv_python_libs" >&6; }
23934 input_flags="$ac_cv_python_libs"
23936 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
23937 for flag in $input_flags; do
23939 for dir in $filtered_dirs; do
23940 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
23945 if test "$filter" = "no"; then
23946 output_flags="$output_flags $flag"
23949 if test -n "$output_flags"; then
23950 printf "%s" "${output_flags# }"
23954 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
23955 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
23956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
23957 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
23958 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
23959 $as_echo_n "(cached) " >&6
23962 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23964 /* end confdefs.h. */
23966 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23968 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23969 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
23970 svn_cv_pycfmt_apr_int64_t="L"
23975 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23977 /* end confdefs.h. */
23980 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23982 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23983 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
23984 svn_cv_pycfmt_apr_int64_t="l"
23989 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
23990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23991 /* end confdefs.h. */
23993 MaTcHtHiS APR_INT64_T_FMT EnDeNd
23995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
23996 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
23997 svn_cv_pycfmt_apr_int64_t="i"
24004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24005 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24006 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24007 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24008 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24011 cat >>confdefs.h <<_ACEOF
24012 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24017 if test "$PERL" != "none"; then
24018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24019 $as_echo_n "checking perl version... " >&6; }
24020 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24022 $as_echo "$PERL_VERSION" >&6; }
24023 if test "$PERL_VERSION" -ge "5008000"; then
24024 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24026 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24027 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24031 SWIG_RB_COMPILE="none"
24032 SWIG_RB_LINK="none"
24033 if test "$RUBY" != "none"; then
24034 rbconfig="$RUBY -rrbconfig -e "
24036 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24037 rubyhdrdir sitedir sitelibdir sitearchdir libdir
24039 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24040 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24044 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24047 $as_echo_n "checking for Ruby include path... " >&6; }
24048 if ${svn_cv_ruby_includes+:} false; then :
24049 $as_echo_n "(cached) " >&6
24052 if test -d "$rbconfig_rubyhdrdir"; then
24053 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24055 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24060 $as_echo "$svn_cv_ruby_includes" >&6; }
24061 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24064 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24065 if ${svn_cv_ruby_compile+:} false; then :
24066 $as_echo_n "(cached) " >&6
24069 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24073 $as_echo "$svn_cv_ruby_compile" >&6; }
24074 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24076 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24079 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24082 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24084 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24087 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24088 if ${svn_cv_ruby_link+:} false; then :
24089 $as_echo_n "(cached) " >&6
24092 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24093 $rbconfig_LDSHARED`"
24094 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24095 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24099 $as_echo "$svn_cv_ruby_link" >&6; }
24100 SWIG_RB_LINK="$svn_cv_ruby_link"
24102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24103 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24104 if ${ac_cv_ruby_libs+:} false; then :
24105 $as_echo_n "(cached) " >&6
24108 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24112 $as_echo "$ac_cv_ruby_libs" >&6; }
24114 input_flags="$ac_cv_ruby_libs"
24116 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24117 for flag in $input_flags; do
24119 for dir in $filtered_dirs; do
24120 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24125 if test "$filter" = "no"; then
24126 output_flags="$output_flags $flag"
24129 if test -n "$output_flags"; then
24130 printf "%s" "${output_flags# }"
24134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24135 $as_echo_n "checking for rb_errinfo... " >&6; }
24136 old_CFLAGS="$CFLAGS"
24138 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24140 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24143 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24146 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24148 LIBS="$SWIG_RB_LIBS"
24149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24150 /* end confdefs.h. */
24156 if ac_fn_c_try_link "$LINENO"; then :
24157 have_rb_errinfo="yes"
24159 have_rb_errinfo="no"
24161 rm -f core conftest.err conftest.$ac_objext \
24162 conftest$ac_exeext conftest.$ac_ext
24163 if test "$have_rb_errinfo" = "yes"; then
24164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24165 $as_echo "yes" >&6; }
24167 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24171 $as_echo "no" >&6; }
24173 CFLAGS="$old_CFLAGS"
24176 if ${svn_cv_ruby_sitedir+:} false; then :
24177 $as_echo_n "(cached) " >&6
24180 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24185 # Check whether --with-ruby-sitedir was given.
24186 if test "${with_ruby_sitedir+set}" = set; then :
24187 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24189 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24194 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24195 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24196 $as_echo_n "(cached) " >&6
24199 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24200 $SED -e "s,^$rbconfig_sitedir,,"`"
24204 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24206 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24209 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24210 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24211 $as_echo_n "(cached) " >&6
24214 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24215 $SED -e "s,^$rbconfig_sitedir,,"`"
24219 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24221 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24224 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24225 if ${svn_cv_ruby_test_verbose+:} false; then :
24226 $as_echo_n "(cached) " >&6
24229 svn_cv_ruby_test_verbose="normal"
24234 # Check whether --with-ruby-test-verbose was given.
24235 if test "${with_ruby_test_verbose+set}" = set; then :
24236 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24238 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24241 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24243 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24267 if test $where = no; then
24269 elif test $where = check; then
24270 # Extract the first word of "swig", so it can be a program name with args.
24271 set dummy swig; ac_word=$2
24272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24273 $as_echo_n "checking for $ac_word... " >&6; }
24274 if ${ac_cv_path_SWIG+:} false; then :
24275 $as_echo_n "(cached) " >&6
24279 ac_cv_path_SWIG="$SWIG" # Let the user override the test with a path.
24282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24283 for as_dir in $PATH
24286 test -z "$as_dir" && as_dir=.
24287 for ac_exec_ext in '' $ac_executable_extensions; do
24288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24289 ac_cv_path_SWIG="$as_dir/$ac_word$ac_exec_ext"
24290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24297 test -z "$ac_cv_path_SWIG" && ac_cv_path_SWIG="none"
24301 SWIG=$ac_cv_path_SWIG
24302 if test -n "$SWIG"; then
24303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG" >&5
24304 $as_echo "$SWIG" >&6; }
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24307 $as_echo "no" >&6; }
24312 if test -f "$where"; then
24315 SWIG="$where/bin/swig"
24317 if test ! -f "$SWIG" || test ! -x "$SWIG"; then
24318 as_fn_error $? "Could not find swig binary at $SWIG" "$LINENO" 5
24322 if test "$SWIG" != "none"; then
24323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking swig version" >&5
24324 $as_echo_n "checking swig version... " >&6; }
24325 SWIG_VERSION_RAW="`$SWIG -version 2>&1 | \
24326 $SED -ne 's/^.*Version \(.*\)$/\1/p'`"
24327 # We want the version as an integer so we can test against
24328 # which version we're using. SWIG doesn't provide this
24329 # to us so we have to come up with it on our own.
24330 # The major is passed straight through,
24331 # the minor is zero padded to two places,
24332 # and the patch level is zero padded to three places.
24333 # e.g. 1.3.24 becomes 103024
24334 SWIG_VERSION="`echo \"$SWIG_VERSION_RAW\" | \
24335 $SED -e 's/[^0-9\.].*$//' \
24336 -e 's/\.\([0-9]\)$/.0\1/' \
24337 -e 's/\.\([0-9][0-9]\)$/.0\1/' \
24338 -e 's/\.\([0-9]\)\./0\1/; s/\.//g;'`"
24339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_VERSION_RAW" >&5
24340 $as_echo "$SWIG_VERSION_RAW" >&6; }
24341 # If you change the required swig version number, don't forget to update:
24342 # subversion/bindings/swig/INSTALL
24343 # packages/rpm/redhat-8+/subversion.spec
24344 # packages/rpm/redhat-7.x/subversion.spec
24345 # packages/rpm/rhel-3/subversion.spec
24346 # packages/rpm/rhel-4/subversion.spec
24347 if test -n "$SWIG_VERSION" && test "$SWIG_VERSION" -ge "103024"; then
24351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&5
24352 $as_echo "$as_me: WARNING: Detected SWIG version $SWIG_VERSION_RAW" >&2;}
24353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Subversion requires SWIG 1.3.24 or later" >&5
24354 $as_echo "$as_me: WARNING: Subversion requires SWIG 1.3.24 or later" >&2;}
24358 SWIG_PY_COMPILE="none"
24359 SWIG_PY_LINK="none"
24360 if test "$PYTHON" != "none"; then
24361 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring python swig binding" >&5
24362 $as_echo "$as_me: Configuring python swig binding" >&6;}
24364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Python includes" >&5
24365 $as_echo_n "checking for Python includes... " >&6; }
24366 if ${ac_cv_python_includes+:} false; then :
24367 $as_echo_n "(cached) " >&6
24370 ac_cv_python_includes="`$PYTHON ${abs_srcdir}/build/get-py-info.py --includes`"
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_includes" >&5
24374 $as_echo "$ac_cv_python_includes" >&6; }
24375 SWIG_PY_INCLUDES="\$(SWIG_INCLUDES) $ac_cv_python_includes"
24377 if test "$ac_cv_python_includes" = "none"; then
24378 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: python bindings cannot be built without distutils module" >&5
24379 $as_echo "$as_me: WARNING: python bindings cannot be built without distutils module" >&2;}
24382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiling Python extensions" >&5
24383 $as_echo_n "checking for compiling Python extensions... " >&6; }
24384 if ${ac_cv_python_compile+:} false; then :
24385 $as_echo_n "(cached) " >&6
24388 ac_cv_python_compile="`$PYTHON ${abs_srcdir}/build/get-py-info.py --compile`"
24391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_compile" >&5
24392 $as_echo "$ac_cv_python_compile" >&6; }
24393 SWIG_PY_COMPILE="$ac_cv_python_compile $CFLAGS"
24395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python extensions" >&5
24396 $as_echo_n "checking for linking Python extensions... " >&6; }
24397 if ${ac_cv_python_link+:} false; then :
24398 $as_echo_n "(cached) " >&6
24401 ac_cv_python_link="`$PYTHON ${abs_srcdir}/build/get-py-info.py --link`"
24404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_link" >&5
24405 $as_echo "$ac_cv_python_link" >&6; }
24406 SWIG_PY_LINK="$ac_cv_python_link"
24408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for linking Python libraries" >&5
24409 $as_echo_n "checking for linking Python libraries... " >&6; }
24410 if ${ac_cv_python_libs+:} false; then :
24411 $as_echo_n "(cached) " >&6
24414 ac_cv_python_libs="`$PYTHON ${abs_srcdir}/build/get-py-info.py --libs`"
24417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_python_libs" >&5
24418 $as_echo "$ac_cv_python_libs" >&6; }
24420 input_flags="$ac_cv_python_libs"
24422 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24423 for flag in $input_flags; do
24425 for dir in $filtered_dirs; do
24426 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24431 if test "$filter" = "no"; then
24432 output_flags="$output_flags $flag"
24435 if test -n "$output_flags"; then
24436 printf "%s" "${output_flags# }"
24440 SVN_PYCFMT_SAVE_CPPFLAGS="$CPPFLAGS"
24441 CPPFLAGS="$CPPFLAGS $SVN_APR_INCLUDES"
24442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for apr_int64_t Python/C API format string" >&5
24443 $as_echo_n "checking for apr_int64_t Python/C API format string... " >&6; }
24444 if ${svn_cv_pycfmt_apr_int64_t+:} false; then :
24445 $as_echo_n "(cached) " >&6
24448 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24450 /* end confdefs.h. */
24452 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24454 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24455 $EGREP "MaTcHtHiS +\"lld\" +EnDeNd" >/dev/null 2>&1; then :
24456 svn_cv_pycfmt_apr_int64_t="L"
24461 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24463 /* end confdefs.h. */
24466 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24468 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24469 $EGREP "MaTcHtHiS +\"ld\" +EnDeNd" >/dev/null 2>&1; then :
24470 svn_cv_pycfmt_apr_int64_t="l"
24475 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24477 /* end confdefs.h. */
24479 MaTcHtHiS APR_INT64_T_FMT EnDeNd
24481 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
24482 $EGREP "MaTcHtHiS +\"d\" +EnDeNd" >/dev/null 2>&1; then :
24483 svn_cv_pycfmt_apr_int64_t="i"
24490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_pycfmt_apr_int64_t" >&5
24491 $as_echo "$svn_cv_pycfmt_apr_int64_t" >&6; }
24492 CPPFLAGS="$SVN_PYCFMT_SAVE_CPPFLAGS"
24493 if test "x$svn_cv_pycfmt_apr_int64_t" = "x"; then
24494 as_fn_error $? "failed to recognize APR_INT64_T_FMT on this platform" "$LINENO" 5
24497 cat >>confdefs.h <<_ACEOF
24498 #define SVN_APR_INT64_T_PYCFMT "$svn_cv_pycfmt_apr_int64_t"
24503 if test "$PERL" != "none"; then
24504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking perl version" >&5
24505 $as_echo_n "checking perl version... " >&6; }
24506 PERL_VERSION="`$PERL -e 'q([); print $] * 1000000,$/;'`"
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PERL_VERSION" >&5
24508 $as_echo "$PERL_VERSION" >&6; }
24509 if test "$PERL_VERSION" -ge "5008000"; then
24510 SWIG_PL_INCLUDES="\$(SWIG_INCLUDES) `$PERL -MExtUtils::Embed -e ccopts`"
24512 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: perl bindings require perl 5.8.0 or newer." >&5
24513 $as_echo "$as_me: WARNING: perl bindings require perl 5.8.0 or newer." >&2;}
24517 SWIG_RB_COMPILE="none"
24518 SWIG_RB_LINK="none"
24519 if test "$RUBY" != "none"; then
24520 rbconfig="$RUBY -rrbconfig -e "
24522 for var_name in arch archdir CC LDSHARED DLEXT LIBS LIBRUBYARG \
24523 rubyhdrdir sitedir sitelibdir sitearchdir libdir
24525 rbconfig_tmp=`$rbconfig "print RbConfig::CONFIG['$var_name']"`
24526 eval "rbconfig_$var_name=\"$rbconfig_tmp\""
24529 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring Ruby SWIG binding" >&5
24530 $as_echo "$as_me: Configuring Ruby SWIG binding" >&6;}
24532 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Ruby include path" >&5
24533 $as_echo_n "checking for Ruby include path... " >&6; }
24534 if ${svn_cv_ruby_includes+:} false; then :
24535 $as_echo_n "(cached) " >&6
24538 if test -d "$rbconfig_rubyhdrdir"; then
24539 svn_cv_ruby_includes="-I. -I$rbconfig_rubyhdrdir -I$rbconfig_rubyhdrdir/ruby -I$rbconfig_rubyhdrdir/ruby/backward -I$rbconfig_rubyhdrdir/$rbconfig_arch"
24541 svn_cv_ruby_includes="-I. -I$rbconfig_archdir"
24545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_includes" >&5
24546 $as_echo "$svn_cv_ruby_includes" >&6; }
24547 SWIG_RB_INCLUDES="\$(SWIG_INCLUDES) $svn_cv_ruby_includes"
24549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to compile Ruby extensions" >&5
24550 $as_echo_n "checking how to compile Ruby extensions... " >&6; }
24551 if ${svn_cv_ruby_compile+:} false; then :
24552 $as_echo_n "(cached) " >&6
24555 svn_cv_ruby_compile="$rbconfig_CC $CFLAGS"
24558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_compile" >&5
24559 $as_echo "$svn_cv_ruby_compile" >&6; }
24560 SWIG_RB_COMPILE="$svn_cv_ruby_compile"
24562 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-ansi//'`
24565 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c89//'`
24568 SWIG_RB_COMPILE=`echo "$SWIG_RB_COMPILE" | $SED -e 's/-std=c90//'`
24570 SWIG_RB_COMPILE="$SWIG_RB_COMPILE -Wno-int-to-pointer-cast"
24572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby extensions" >&5
24573 $as_echo_n "checking how to link Ruby extensions... " >&6; }
24574 if ${svn_cv_ruby_link+:} false; then :
24575 $as_echo_n "(cached) " >&6
24578 svn_cv_ruby_link="`$RUBY -e 'ARGV.shift; print ARGV.join(%q( ))' \
24579 $rbconfig_LDSHARED`"
24580 svn_cv_ruby_link="$rbconfig_CC $svn_cv_ruby_link"
24581 svn_cv_ruby_link="$svn_cv_ruby_link -shrext .$rbconfig_DLEXT"
24584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $svn_cv_ruby_link" >&5
24585 $as_echo "$svn_cv_ruby_link" >&6; }
24586 SWIG_RB_LINK="$svn_cv_ruby_link"
24588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link Ruby libraries" >&5
24589 $as_echo_n "checking how to link Ruby libraries... " >&6; }
24590 if ${ac_cv_ruby_libs+:} false; then :
24591 $as_echo_n "(cached) " >&6
24594 ac_cv_ruby_libs="$rbconfig_LIBRUBYARG $rbconfig_LIBS"
24597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_ruby_libs" >&5
24598 $as_echo "$ac_cv_ruby_libs" >&6; }
24600 input_flags="$ac_cv_ruby_libs"
24602 filtered_dirs="/lib /lib64 /usr/lib /usr/lib64"
24603 for flag in $input_flags; do
24605 for dir in $filtered_dirs; do
24606 if test "$flag" = "-L$dir" || test "$flag" = "-L$dir/"; then
24611 if test "$filter" = "no"; then
24612 output_flags="$output_flags $flag"
24615 if test -n "$output_flags"; then
24616 printf "%s" "${output_flags# }"
24620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rb_errinfo" >&5
24621 $as_echo_n "checking for rb_errinfo... " >&6; }
24622 old_CFLAGS="$CFLAGS"
24624 CFLAGS="$CFLAGS $svn_cv_ruby_includes"
24626 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-ansi//'`
24629 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c89//'`
24632 CFLAGS=`echo "$CFLAGS" | $SED -e 's/-std=c90//'`
24634 LIBS="$SWIG_RB_LIBS"
24635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24636 /* end confdefs.h. */
24642 if ac_fn_c_try_link "$LINENO"; then :
24643 have_rb_errinfo="yes"
24645 have_rb_errinfo="no"
24647 rm -f core conftest.err conftest.$ac_objext \
24648 conftest$ac_exeext conftest.$ac_ext
24649 if test "$have_rb_errinfo" = "yes"; then
24650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24651 $as_echo "yes" >&6; }
24653 $as_echo "#define HAVE_RB_ERRINFO 1" >>confdefs.h
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24657 $as_echo "no" >&6; }
24659 CFLAGS="$old_CFLAGS"
24662 if ${svn_cv_ruby_sitedir+:} false; then :
24663 $as_echo_n "(cached) " >&6
24666 svn_cv_ruby_sitedir="$rbconfig_sitedir"
24671 # Check whether --with-ruby-sitedir was given.
24672 if test "${with_ruby_sitedir+set}" = set; then :
24673 withval=$with_ruby_sitedir; svn_ruby_installdir="$withval"
24675 svn_ruby_installdir="$svn_cv_ruby_sitedir"
24679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby scripts" >&5
24680 $as_echo_n "checking where to install Ruby scripts... " >&6; }
24681 if ${svn_cv_ruby_sitedir_libsuffix+:} false; then :
24682 $as_echo_n "(cached) " >&6
24685 svn_cv_ruby_sitedir_libsuffix="`echo "$rbconfig_sitelibdir" | \
24686 $SED -e "s,^$rbconfig_sitedir,,"`"
24690 SWIG_RB_SITE_LIB_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_libsuffix}"
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_LIB_DIR" >&5
24692 $as_echo "$SWIG_RB_SITE_LIB_DIR" >&6; }
24694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking where to install Ruby extensions" >&5
24695 $as_echo_n "checking where to install Ruby extensions... " >&6; }
24696 if ${svn_cv_ruby_sitedir_archsuffix+:} false; then :
24697 $as_echo_n "(cached) " >&6
24700 svn_cv_ruby_sitedir_archsuffix="`echo "$rbconfig_sitearchdir" | \
24701 $SED -e "s,^$rbconfig_sitedir,,"`"
24705 SWIG_RB_SITE_ARCH_DIR="${svn_ruby_installdir}${svn_cv_ruby_sitedir_archsuffix}"
24706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_SITE_ARCH_DIR" >&5
24707 $as_echo "$SWIG_RB_SITE_ARCH_DIR" >&6; }
24709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to use output level for Ruby bindings tests" >&5
24710 $as_echo_n "checking how to use output level for Ruby bindings tests... " >&6; }
24711 if ${svn_cv_ruby_test_verbose+:} false; then :
24712 $as_echo_n "(cached) " >&6
24715 svn_cv_ruby_test_verbose="normal"
24720 # Check whether --with-ruby-test-verbose was given.
24721 if test "${with_ruby_test_verbose+set}" = set; then :
24722 withval=$with_ruby_test_verbose; svn_ruby_test_verbose="$withval"
24724 svn_ruby_test_verbose="$svn_cv_ruby_test_verbose"
24727 SWIG_RB_TEST_VERBOSE="$svn_ruby_test_verbose"
24728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SWIG_RB_TEST_VERBOSE" >&5
24729 $as_echo "$SWIG_RB_TEST_VERBOSE" >&6; }
24752 # Check whether --with-ctypesgen was given.
24753 if test "${with_ctypesgen+set}" = set; then :
24754 withval=$with_ctypesgen;
24762 if test $where = check; then
24763 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
24764 set dummy "ctypesgen.py"; ac_word=$2
24765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24766 $as_echo_n "checking for $ac_word... " >&6; }
24767 if ${ac_cv_path_CTYPESGEN+:} false; then :
24768 $as_echo_n "(cached) " >&6
24772 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
24775 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24776 for as_dir in $PATH
24779 test -z "$as_dir" && as_dir=.
24780 for ac_exec_ext in '' $ac_executable_extensions; do
24781 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24782 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
24783 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24790 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
24794 CTYPESGEN=$ac_cv_path_CTYPESGEN
24795 if test -n "$CTYPESGEN"; then
24796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
24797 $as_echo "$CTYPESGEN" >&6; }
24799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24800 $as_echo "no" >&6; }
24804 elif test $where != no; then
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
24806 $as_echo_n "checking for ctypesgen.py... " >&6; }
24808 if test -f "$where"; then
24810 elif test -f "$where/bin/ctypesgen.py"; then
24811 CTYPESGEN="$where/bin/ctypesgen.py"
24813 CTYPESGEN="$where/ctypesgen.py"
24816 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
24817 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
24818 $where/bin/ctypesgen.py" "$LINENO" 5
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
24821 $as_echo "$CTYPESGEN" >&6; }
24834 if test $where = check; then
24835 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
24836 set dummy "ctypesgen.py"; ac_word=$2
24837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24838 $as_echo_n "checking for $ac_word... " >&6; }
24839 if ${ac_cv_path_CTYPESGEN+:} false; then :
24840 $as_echo_n "(cached) " >&6
24844 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
24847 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24848 for as_dir in $PATH
24851 test -z "$as_dir" && as_dir=.
24852 for ac_exec_ext in '' $ac_executable_extensions; do
24853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24854 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
24855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24862 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
24866 CTYPESGEN=$ac_cv_path_CTYPESGEN
24867 if test -n "$CTYPESGEN"; then
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
24869 $as_echo "$CTYPESGEN" >&6; }
24871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24872 $as_echo "no" >&6; }
24876 elif test $where != no; then
24877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
24878 $as_echo_n "checking for ctypesgen.py... " >&6; }
24880 if test -f "$where"; then
24882 elif test -f "$where/bin/ctypesgen.py"; then
24883 CTYPESGEN="$where/bin/ctypesgen.py"
24885 CTYPESGEN="$where/ctypesgen.py"
24888 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
24889 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
24890 $where/bin/ctypesgen.py" "$LINENO" 5
24892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
24893 $as_echo "$CTYPESGEN" >&6; }
24906 if test $where = check; then
24907 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
24908 set dummy "ctypesgen.py"; ac_word=$2
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24910 $as_echo_n "checking for $ac_word... " >&6; }
24911 if ${ac_cv_path_CTYPESGEN+:} false; then :
24912 $as_echo_n "(cached) " >&6
24916 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
24919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24920 for as_dir in $PATH
24923 test -z "$as_dir" && as_dir=.
24924 for ac_exec_ext in '' $ac_executable_extensions; do
24925 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
24926 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
24927 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24934 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
24938 CTYPESGEN=$ac_cv_path_CTYPESGEN
24939 if test -n "$CTYPESGEN"; then
24940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
24941 $as_echo "$CTYPESGEN" >&6; }
24943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24944 $as_echo "no" >&6; }
24948 elif test $where != no; then
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
24950 $as_echo_n "checking for ctypesgen.py... " >&6; }
24952 if test -f "$where"; then
24954 elif test -f "$where/bin/ctypesgen.py"; then
24955 CTYPESGEN="$where/bin/ctypesgen.py"
24957 CTYPESGEN="$where/ctypesgen.py"
24960 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
24961 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
24962 $where/bin/ctypesgen.py" "$LINENO" 5
24964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
24965 $as_echo "$CTYPESGEN" >&6; }
24981 if test $where = check; then
24982 # Extract the first word of ""ctypesgen.py"", so it can be a program name with args.
24983 set dummy "ctypesgen.py"; ac_word=$2
24984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24985 $as_echo_n "checking for $ac_word... " >&6; }
24986 if ${ac_cv_path_CTYPESGEN+:} false; then :
24987 $as_echo_n "(cached) " >&6
24991 ac_cv_path_CTYPESGEN="$CTYPESGEN" # Let the user override the test with a path.
24994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
24995 for as_dir in $PATH
24998 test -z "$as_dir" && as_dir=.
24999 for ac_exec_ext in '' $ac_executable_extensions; do
25000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
25001 ac_cv_path_CTYPESGEN="$as_dir/$ac_word$ac_exec_ext"
25002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
25009 test -z "$ac_cv_path_CTYPESGEN" && ac_cv_path_CTYPESGEN="none"
25013 CTYPESGEN=$ac_cv_path_CTYPESGEN
25014 if test -n "$CTYPESGEN"; then
25015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25016 $as_echo "$CTYPESGEN" >&6; }
25018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25019 $as_echo "no" >&6; }
25023 elif test $where != no; then
25024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ctypesgen.py" >&5
25025 $as_echo_n "checking for ctypesgen.py... " >&6; }
25027 if test -f "$where"; then
25029 elif test -f "$where/bin/ctypesgen.py"; then
25030 CTYPESGEN="$where/bin/ctypesgen.py"
25032 CTYPESGEN="$where/ctypesgen.py"
25035 if test ! -f "$CTYPESGEN" || test ! -x "$CTYPESGEN"; then
25036 as_fn_error $? "Could not find ctypesgen at $where/ctypesgen.py or at
25037 $where/bin/ctypesgen.py" "$LINENO" 5
25039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CTYPESGEN" >&5
25040 $as_echo "$CTYPESGEN" >&6; }
25051 # Check whether --enable-runtime-module-search was given.
25052 if test "${enable_runtime_module_search+set}" = set; then :
25053 enableval=$enable_runtime_module_search;
25054 if test "$enableval" = "yes"; then
25056 if test "$svn_enable_shared" = "no"; then
25057 as_fn_error $? "--enable-runtime-module-search conflicts with --disable-shared" "$LINENO" 5
25060 $as_echo "#define SVN_USE_DSO 1" >>confdefs.h
25067 if test "$svn_enable_shared" = "no" || test "$use_dso" != "yes"; then
25069 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_LOCAL 1" >>confdefs.h
25071 svn_ra_lib_deps="\$(RA_LOCAL_DEPS)"
25072 svn_ra_lib_install_deps="install-ramod-lib"
25073 svn_ra_lib_link="\$(RA_LOCAL_LINK)"
25076 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SVN 1" >>confdefs.h
25078 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SVN_DEPS)"
25079 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SVN_LINK)"
25081 if test "$svn_lib_serf" = "yes"; then
25083 $as_echo "#define SVN_LIBSVN_CLIENT_LINKS_RA_SERF 1" >>confdefs.h
25085 svn_ra_lib_deps="$svn_ra_lib_deps \$(RA_SERF_DEPS)"
25086 svn_ra_lib_install_deps="$svn_ra_lib_install_deps install-serf-lib"
25087 svn_ra_lib_link="$svn_ra_lib_link \$(RA_SERF_LINK)"
25090 SVN_RA_LIB_DEPS=$svn_ra_lib_deps
25091 SVN_RA_LIB_INSTALL_DEPS=$svn_ra_lib_install_deps
25092 SVN_RA_LIB_LINK=$svn_ra_lib_link
25095 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_FS 1" >>confdefs.h
25097 svn_fs_lib_deps="\$(FS_FS_DEPS)"
25098 svn_fs_lib_install_deps="install-fsmod-lib"
25099 svn_fs_lib_link="\$(FS_FS_LINK)"
25101 if test "$svn_lib_berkeley_db" = "yes"; then
25103 $as_echo "#define SVN_LIBSVN_FS_LINKS_FS_BASE 1" >>confdefs.h
25105 svn_fs_lib_deps="$svn_fs_lib_deps \$(FS_BASE_DEPS)"
25106 svn_fs_lib_install_deps="$svn_fs_lib_install_deps install-bdb-lib"
25107 svn_fs_lib_link="$svn_fs_lib_link \$(FS_BASE_LINK)"
25110 SVN_FS_LIB_DEPS=$svn_fs_lib_deps
25111 SVN_FS_LIB_INSTALL_DEPS=$svn_fs_lib_install_deps
25112 SVN_FS_LIB_LINK=$svn_fs_lib_link
25122 # ==== JavaHL ================================================================
25125 # Check whether --enable-javahl was given.
25126 if test "${enable_javahl+set}" = set; then :
25127 enableval=$enable_javahl; if test "$enableval" = "yes" ; then
25128 do_javahl_build="yes"
25135 INSTALL_EXTRA_JAVAHL_LIB=""
25137 JAVAHL_TESTS_TARGET=""
25138 JAVAHL_COMPAT_TESTS_TARGET=""
25140 if test "$do_javahl_build" = "yes"; then
25141 if test "$JDK_SUITABLE" = "no"; then
25142 as_fn_error $? "Cannot compile JavaHL without a suitable JDK.
25143 Please specify a suitable JDK using the --with-jdk option." "$LINENO" 5
25146 JAVAHL_OBJDIR='$(libsvnjavahl_PATH)/.libs'
25149 if test "$os_arch" = "Darwin"; then
25150 INSTALL_EXTRA_JAVAHL_LIB='ln -sf $(libdir)/libsvnjavahl-1.dylib $(libdir)/libsvnjavahl-1.jnilib'
25151 FIX_JAVAHL_LIB="ln -sf libsvnjavahl-1.dylib $JAVAHL_OBJDIR/libsvnjavahl-1.jnilib"
25153 # This segment (and the rest of r10800) is very likely unnecessary
25154 # with libtool 1.5, which automatically adds libstdc++ as a
25155 # dependency to the C++ libraries it builds. So at some future time
25156 # when autogen.sh requires libtool 1.5 or higher, we can get rid of
25158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional flags to link C++ libraries" >&5
25159 $as_echo_n "checking for additional flags to link C++ libraries... " >&6; }
25160 if test "x$ac_compiler_gnu" = "xyes"; then
25161 LT_CXX_LIBADD="-lstdc++"
25162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LT_CXX_LIBADD" >&5
25163 $as_echo "$LT_CXX_LIBADD" >&6; }
25165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
25166 $as_echo "none needed" >&6; }
25175 # Check whether --with-junit was given.
25176 if test "${with_junit+set}" = set; then :
25177 withval=$with_junit;
25178 if test "$withval" != "no"; then
25179 if test -n "$JAVA_CLASSPATH"; then
25180 JAVA_CLASSPATH="$withval:$JAVA_CLASSPATH"
25182 JAVA_CLASSPATH="$withval"
25184 JAVAHL_TESTS_TARGET="javahl-tests"
25185 JAVAHL_COMPAT_TESTS_TARGET="javahl-compat-tests"
25194 # ==== Miscellaneous bits ====================================================
25196 # Strip '-no-cpp-precomp' from CPPFLAGS for the clang compiler
25197 ### I think we get this flag from APR, so the fix probably belongs there
25198 if test "$CC" = "clang"; then
25200 CPPFLAGS=`echo "$CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
25204 # Need to strip '-no-cpp-precomp' from CPPFLAGS for SWIG as well.
25205 SWIG_CPPFLAGS="$CPPFLAGS"
25207 SWIG_CPPFLAGS=`echo "$SWIG_CPPFLAGS" | $SED -e 's/-no-cpp-precomp //'`
25212 cat >>confdefs.h <<_ACEOF
25213 #define SVN_PATH_LOCAL_SEPARATOR '/'
25218 cat >>confdefs.h <<_ACEOF
25219 #define SVN_NULL_DEVICE_NAME "/dev/null"
25223 DEFAULT_FS_TYPE="fsfs"
25225 cat >>confdefs.h <<_ACEOF
25226 #define DEFAULT_FS_TYPE "$DEFAULT_FS_TYPE"
25230 DEFAULT_HTTP_LIBRARY="serf"
25232 cat >>confdefs.h <<_ACEOF
25233 #define DEFAULT_HTTP_LIBRARY "$DEFAULT_HTTP_LIBRARY"
25237 # BSD/OS (BSDi) needs to use a different include syntax in Makefile
25238 INCLUDE_OUTPUTS="include \$(top_srcdir)/build-outputs.mk"
25241 # Check whether they've installed GNU make
25242 if ! make --version > /dev/null 2>&1; then
25244 INCLUDE_OUTPUTS=".include \"\$(top_srcdir)/build-outputs.mk\""
25250 # ==== Detection complete - output and run config.status =====================
25252 ac_config_headers="$ac_config_headers subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in"
25254 ac_config_commands="$ac_config_commands svn_private_config.h.tmp"
25256 ac_config_files="$ac_config_files Makefile"
25260 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/backup/hot-backup.py"
25261 ac_config_files="$ac_config_files tools/backup/hot-backup.py"
25264 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES tools/hook-scripts/commit-access-control.pl"
25265 ac_config_files="$ac_config_files tools/hook-scripts/commit-access-control.pl"
25268 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES subversion/bindings/swig/perl/native/Makefile.PL"
25269 ac_config_files="$ac_config_files subversion/bindings/swig/perl/native/Makefile.PL"
25271 if test -e packages/solaris/pkginfo.in; then
25273 SVN_CONFIG_SCRIPT_FILES="$SVN_CONFIG_SCRIPT_FILES packages/solaris/pkginfo"
25274 ac_config_files="$ac_config_files packages/solaris/pkginfo"
25279 # Ensure that SWIG is checked after reconfiguration.
25280 rm -f .swig_checked
25283 cat >>confdefs.h <<_ACEOF
25284 #define SVN_BUILD_HOST "${host}"
25289 cat >>confdefs.h <<_ACEOF
25290 #define SVN_BUILD_TARGET "${target}"
25294 cat >confcache <<\_ACEOF
25295 # This file is a shell script that caches the results of configure
25296 # tests run on this system so they can be shared between configure
25297 # scripts and configure runs, see configure's option --config-cache.
25298 # It is not useful on other systems. If it contains results you don't
25299 # want to keep, you may remove or edit it.
25301 # config.status only pays attention to the cache file if you give it
25302 # the --recheck option to rerun configure.
25304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25306 # following values.
25310 # The following way of writing the cache mishandles newlines in values,
25311 # but we know of no workaround that is simple, portable, and efficient.
25312 # So, we kill variables containing newlines.
25313 # Ultrix sh set writes to stderr and can't be redirected directly,
25314 # and sets the high bit in the cache file unless we assign to the vars.
25316 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25317 eval ac_val=\$$ac_var
25321 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
25322 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
25325 _ | IFS | as_nl) ;; #(
25326 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
25327 *) { eval $ac_var=; unset $ac_var;} ;;
25333 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25334 *${as_nl}ac_space=\ *)
25335 # `set' does not quote correctly, so add quotes: double-quote
25336 # substitution turns \\\\ into \\, and sed turns \\ into \.
25339 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25342 # `set' quotes correctly as required by POSIX, so do not add quotes.
25343 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25352 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25354 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25356 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25357 if test -w "$cache_file"; then
25358 if test "x$cache_file" != "x/dev/null"; then
25359 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
25360 $as_echo "$as_me: updating cache $cache_file" >&6;}
25361 if test ! -f "$cache_file" || test -h "$cache_file"; then
25362 cat confcache >"$cache_file"
25364 case $cache_file in #(
25366 mv -f confcache "$cache_file"$$ &&
25367 mv -f "$cache_file"$$ "$cache_file" ;; #(
25369 mv -f confcache "$cache_file" ;;
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
25375 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25380 test "x$prefix" = xNONE && prefix=$ac_default_prefix
25381 # Let make expand exec_prefix.
25382 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
25384 DEFS=-DHAVE_CONFIG_H
25389 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
25390 # 1. Remove the extension, and $U if already installed.
25391 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
25392 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
25393 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
25394 # will be set to the directory where LIBOBJS objects are built.
25395 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
25396 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
25398 LIBOBJS=$ac_libobjs
25400 LTLIBOBJS=$ac_ltlibobjs
25404 : "${CONFIG_STATUS=./config.status}"
25406 ac_clean_files_save=$ac_clean_files
25407 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
25408 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
25409 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
25411 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
25413 # Generated by $as_me.
25414 # Run this file to recreate the current configuration.
25415 # Compiler output produced by configure, useful for debugging
25416 # configure, is in config.log if it exists.
25419 ac_cs_recheck=false
25422 SHELL=\${CONFIG_SHELL-$SHELL}
25425 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
25426 ## -------------------- ##
25427 ## M4sh Initialization. ##
25428 ## -------------------- ##
25430 # Be more Bourne compatible
25431 DUALCASE=1; export DUALCASE # for MKS sh
25432 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
25435 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25436 # is contrary to our usage. Disable this feature.
25437 alias -g '${1+"$@"}'='"$@"'
25438 setopt NO_GLOB_SUBST
25440 case `(set -o) 2>/dev/null` in #(
25452 # Printing a long string crashes Solaris 7 /usr/bin/printf.
25453 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
25454 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
25455 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
25456 # Prefer a ksh shell builtin over an external printf program on Solaris,
25457 # but without wasting forks for bash or zsh.
25458 if test -z "$BASH_VERSION$ZSH_VERSION" \
25459 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
25460 as_echo='print -r --'
25461 as_echo_n='print -rn --'
25462 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
25463 as_echo='printf %s\n'
25464 as_echo_n='printf %s'
25466 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
25467 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
25468 as_echo_n='/usr/ucb/echo -n'
25470 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
25471 as_echo_n_body='eval
25475 expr "X$arg" : "X\\(.*\\)$as_nl";
25476 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
25478 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
25480 export as_echo_n_body
25481 as_echo_n='sh -c $as_echo_n_body as_echo'
25483 export as_echo_body
25484 as_echo='sh -c $as_echo_body as_echo'
25487 # The user is always right.
25488 if test "${PATH_SEPARATOR+set}" != set; then
25490 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
25491 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
25498 # We need space, tab and new line, in precisely that order. Quoting is
25499 # there to prevent editors from complaining about space-tab.
25500 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
25501 # splitting by setting IFS to empty value.)
25504 # Find who we are. Look in the path if we contain no directory separator.
25507 *[\\/]* ) as_myself=$0 ;;
25508 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
25509 for as_dir in $PATH
25512 test -z "$as_dir" && as_dir=.
25513 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
25519 # We did not find ourselves, most probably we were run as `sh COMMAND'
25520 # in which case we are not to be found in the path.
25521 if test "x$as_myself" = x; then
25524 if test ! -f "$as_myself"; then
25525 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
25529 # Unset variables that we do not need and which cause bugs (e.g. in
25530 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
25531 # suppresses any "Segmentation fault" message there. '((' could
25532 # trigger a bug in pdksh 5.2.14.
25533 for as_var in BASH_ENV ENV MAIL MAILPATH
25534 do eval test x\${$as_var+set} = xset \
25535 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
25548 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25551 # as_fn_error STATUS ERROR [LINENO LOG_FD]
25552 # ----------------------------------------
25553 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
25554 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
25555 # script with STATUS, using 1 if that was 0.
25558 as_status=$1; test $as_status -eq 0 && as_status=1
25560 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
25561 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
25563 $as_echo "$as_me: error: $2" >&2
25564 as_fn_exit $as_status
25568 # as_fn_set_status STATUS
25569 # -----------------------
25570 # Set $? to STATUS, without forking.
25571 as_fn_set_status ()
25574 } # as_fn_set_status
25576 # as_fn_exit STATUS
25577 # -----------------
25578 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
25582 as_fn_set_status $1
25588 # Portably unset VAR.
25591 { eval $1=; unset $1;}
25593 as_unset=as_fn_unset
25594 # as_fn_append VAR VALUE
25595 # ----------------------
25596 # Append the text in VALUE to the end of the definition contained in VAR. Take
25597 # advantage of any shell optimizations that allow amortized linear growth over
25598 # repeated appends, instead of the typical quadratic growth present in naive
25600 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
25601 eval 'as_fn_append ()
25612 # as_fn_arith ARG...
25613 # ------------------
25614 # Perform arithmetic evaluation on the ARGs, and store the result in the
25615 # global $as_val. Take advantage of shells that can avoid forks. The arguments
25616 # must be portable across $(()) and expr.
25617 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
25618 eval 'as_fn_arith ()
25625 as_val=`expr "$@" || test $? -eq 1`
25630 if expr a : '\(a\)' >/dev/null 2>&1 &&
25631 test "X`expr 00001 : '.*\(...\)'`" = X001; then
25637 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
25638 as_basename=basename
25643 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
25649 as_me=`$as_basename -- "$0" ||
25650 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
25651 X"$0" : 'X\(//\)$' \| \
25652 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
25654 sed '/^.*\/\([^/][^/]*\)\/*$/{
25668 # Avoid depending upon Character Ranges.
25669 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
25670 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
25671 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
25672 as_cr_digits='0123456789'
25673 as_cr_alnum=$as_cr_Letters$as_cr_digits
25675 ECHO_C= ECHO_N= ECHO_T=
25676 case `echo -n x` in #(((((
25678 case `echo 'xy\c'` in
25679 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
25681 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
25688 rm -f conf$$ conf$$.exe conf$$.file
25689 if test -d conf$$.dir; then
25690 rm -f conf$$.dir/conf$$.file
25693 mkdir conf$$.dir 2>/dev/null
25695 if (echo >conf$$.file) 2>/dev/null; then
25696 if ln -s conf$$.file conf$$ 2>/dev/null; then
25698 # ... but there are two gotchas:
25699 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
25700 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
25701 # In both cases, we have to default to `cp -pR'.
25702 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
25704 elif ln conf$$.file conf$$ 2>/dev/null; then
25712 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
25713 rmdir conf$$.dir 2>/dev/null
25718 # Create "$as_dir" as a directory, including parents if necessary.
25723 -*) as_dir=./$as_dir;;
25725 test -d "$as_dir" || eval $as_mkdir_p || {
25729 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
25730 *) as_qdir=$as_dir;;
25732 as_dirs="'$as_qdir' $as_dirs"
25733 as_dir=`$as_dirname -- "$as_dir" ||
25734 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
25735 X"$as_dir" : 'X\(//\)[^/]' \| \
25736 X"$as_dir" : 'X\(//\)$' \| \
25737 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
25738 $as_echo X"$as_dir" |
25739 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
25743 /^X\(\/\/\)[^/].*/{
25756 test -d "$as_dir" && break
25758 test -z "$as_dirs" || eval "mkdir $as_dirs"
25759 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
25763 if mkdir -p . 2>/dev/null; then
25764 as_mkdir_p='mkdir -p "$as_dir"'
25766 test -d ./-p && rmdir ./-p
25771 # as_fn_executable_p FILE
25772 # -----------------------
25773 # Test if FILE is an executable regular file.
25774 as_fn_executable_p ()
25776 test -f "$1" && test -x "$1"
25777 } # as_fn_executable_p
25778 as_test_x='test -x'
25779 as_executable_p=as_fn_executable_p
25781 # Sed expression to map a string onto a valid CPP name.
25782 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
25784 # Sed expression to map a string onto a valid variable name.
25785 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
25789 ## ----------------------------------- ##
25790 ## Main body of $CONFIG_STATUS script. ##
25791 ## ----------------------------------- ##
25793 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
25795 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25796 # Save the log message, to keep $0 and so on meaningful, and to
25797 # report actual input values of CONFIG_FILES etc. instead of their
25798 # values after options handling.
25800 This file was extended by subversion $as_me 1.8.10, which was
25801 generated by GNU Autoconf 2.69. Invocation command line was
25803 CONFIG_FILES = $CONFIG_FILES
25804 CONFIG_HEADERS = $CONFIG_HEADERS
25805 CONFIG_LINKS = $CONFIG_LINKS
25806 CONFIG_COMMANDS = $CONFIG_COMMANDS
25809 on `(hostname || uname -n) 2>/dev/null | sed 1q`
25814 case $ac_config_files in *"
25815 "*) set x $ac_config_files; shift; ac_config_files=$*;;
25818 case $ac_config_headers in *"
25819 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
25823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25824 # Files that config.status was made for.
25825 config_files="$ac_config_files"
25826 config_headers="$ac_config_headers"
25827 config_commands="$ac_config_commands"
25831 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25833 \`$as_me' instantiates files and other configuration actions
25834 from templates according to the current configuration. Unless the files
25835 and actions are specified as TAGs, all are instantiated by default.
25837 Usage: $0 [OPTION]... [TAG]...
25839 -h, --help print this help, then exit
25840 -V, --version print version number and configuration settings, then exit
25841 --config print configuration, then exit
25842 -q, --quiet, --silent
25843 do not print progress messages
25844 -d, --debug don't remove temporary files
25845 --recheck update $as_me by reconfiguring in the same conditions
25846 --file=FILE[:TEMPLATE]
25847 instantiate the configuration file FILE
25848 --header=FILE[:TEMPLATE]
25849 instantiate the configuration header FILE
25851 Configuration files:
25854 Configuration headers:
25857 Configuration commands:
25860 Report bugs to <http://subversion.apache.org/>."
25863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25864 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
25866 subversion config.status 1.8.10
25867 configured by $0, generated by GNU Autoconf 2.69,
25868 with options \\"\$ac_cs_config\\"
25870 Copyright (C) 2012 Free Software Foundation, Inc.
25871 This config.status script is free software; the Free Software Foundation
25872 gives unlimited permission to copy, distribute and modify it."
25878 test -n "\$AWK" || AWK=awk
25881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25882 # The default lists apply if the user does not specify any file.
25888 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25889 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
25893 ac_option=`expr "X$1" : 'X\([^=]*\)='`
25905 # Handling of the options.
25906 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
25908 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
25909 $as_echo "$ac_cs_version"; exit ;;
25910 --config | --confi | --conf | --con | --co | --c )
25911 $as_echo "$ac_cs_config"; exit ;;
25912 --debug | --debu | --deb | --de | --d | -d )
25914 --file | --fil | --fi | --f )
25917 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25918 '') as_fn_error $? "missing file argument" ;;
25920 as_fn_append CONFIG_FILES " '$ac_optarg'"
25921 ac_need_defaults=false;;
25922 --header | --heade | --head | --hea )
25925 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
25927 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
25928 ac_need_defaults=false;;
25930 # Conflict between --help and --header
25931 as_fn_error $? "ambiguous option: \`$1'
25932 Try \`$0 --help' for more information.";;
25933 --help | --hel | -h )
25934 $as_echo "$ac_cs_usage"; exit ;;
25935 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
25936 | -silent | --silent | --silen | --sile | --sil | --si | --s)
25939 # This is an error.
25940 -*) as_fn_error $? "unrecognized option: \`$1'
25941 Try \`$0 --help' for more information." ;;
25943 *) as_fn_append ac_config_targets " $1"
25944 ac_need_defaults=false ;;
25950 ac_configure_extra_args=
25952 if $ac_cs_silent; then
25954 ac_configure_extra_args="$ac_configure_extra_args --silent"
25958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25959 if \$ac_cs_recheck; then
25960 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
25962 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
25963 CONFIG_SHELL='$SHELL'
25964 export CONFIG_SHELL
25969 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
25973 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
25974 ## Running $as_me. ##
25980 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
25986 # The HP-UX ksh and POSIX shell print the target directory to stdout
25987 # if CDPATH is set.
25988 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
25990 sed_quote_subst='$sed_quote_subst'
25991 double_quote_subst='$double_quote_subst'
25992 delay_variable_subst='$delay_variable_subst'
25993 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
25994 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
25995 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
25996 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
25997 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
25998 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
25999 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
26000 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
26001 PATH_SEPARATOR='`$ECHO "$PATH_SEPARATOR" | $SED "$delay_single_quote_subst"`'
26002 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
26003 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
26004 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
26005 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
26006 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
26007 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
26008 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
26009 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
26010 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
26011 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
26012 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
26013 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
26014 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
26015 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
26016 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
26017 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
26018 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
26019 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
26020 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
26021 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
26022 lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
26023 lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
26024 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
26025 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
26026 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
26027 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
26028 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
26029 file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
26030 want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
26031 DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
26032 sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
26033 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
26034 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
26035 archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
26036 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
26037 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
26038 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26039 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26040 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
26041 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
26042 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
26043 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
26044 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
26045 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
26046 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
26047 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
26048 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
26049 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"`'
26050 nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
26051 lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
26052 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
26053 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
26054 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
26055 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
26056 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
26057 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
26058 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
26059 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
26060 MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
26061 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
26062 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
26063 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
26064 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
26065 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
26066 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
26067 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
26068 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26069 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
26070 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
26071 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
26072 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
26073 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
26074 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
26075 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
26076 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
26077 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26078 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
26079 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
26080 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
26081 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
26082 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
26083 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
26084 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
26085 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
26086 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
26087 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
26088 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
26089 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
26090 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
26091 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
26092 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
26093 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
26094 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
26095 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
26096 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
26097 postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
26098 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
26099 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
26100 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
26101 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
26102 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
26103 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
26104 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
26105 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
26106 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
26107 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
26108 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
26109 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
26110 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
26111 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
26112 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
26113 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
26114 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
26115 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
26116 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
26117 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
26118 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
26119 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
26120 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
26121 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
26122 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
26123 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
26124 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
26125 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
26126 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
26127 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
26128 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
26129 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
26130 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
26131 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26132 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26133 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
26134 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
26135 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
26136 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
26137 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
26138 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
26139 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
26140 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
26141 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
26142 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26143 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26144 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
26145 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26146 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26147 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26148 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26149 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26150 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26151 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
26152 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26153 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
26154 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
26155 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
26156 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
26157 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
26158 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
26159 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
26160 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
26161 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
26162 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
26163 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
26164 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26165 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26166 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
26167 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26168 postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
26169 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
26170 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
26171 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
26172 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26173 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
26174 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
26175 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
26176 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
26179 LTCFLAGS='$LTCFLAGS'
26180 compiler='$compiler_DEFAULT'
26182 # A function that is used when there is no print builtin or printf.
26183 func_fallback_echo ()
26185 eval 'cat <<_LTECHO_EOF
26190 # Quote evaled strings.
26205 deplibs_check_method \
26210 sharedlib_from_linklib_cmd \
26213 archiver_list_spec \
26219 lt_cv_sys_global_symbol_pipe \
26220 lt_cv_sys_global_symbol_to_cdecl \
26221 lt_cv_sys_global_symbol_to_c_name_address \
26222 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
26223 nm_file_list_spec \
26224 lt_prog_compiler_no_builtin_flag \
26225 lt_prog_compiler_pic \
26226 lt_prog_compiler_wl \
26227 lt_prog_compiler_static \
26228 lt_cv_prog_compiler_c_o \
26237 export_dynamic_flag_spec \
26238 whole_archive_flag_spec \
26239 compiler_needs_object \
26241 allow_undefined_flag \
26242 no_undefined_flag \
26243 hardcode_libdir_flag_spec \
26244 hardcode_libdir_separator \
26248 variables_saved_for_relink \
26250 library_names_spec \
26252 install_override_mode \
26256 compiler_lib_search_dirs \
26261 compiler_lib_search_path \
26265 lt_prog_compiler_no_builtin_flag_CXX \
26266 lt_prog_compiler_pic_CXX \
26267 lt_prog_compiler_wl_CXX \
26268 lt_prog_compiler_static_CXX \
26269 lt_cv_prog_compiler_c_o_CXX \
26270 export_dynamic_flag_spec_CXX \
26271 whole_archive_flag_spec_CXX \
26272 compiler_needs_object_CXX \
26274 allow_undefined_flag_CXX \
26275 no_undefined_flag_CXX \
26276 hardcode_libdir_flag_spec_CXX \
26277 hardcode_libdir_separator_CXX \
26278 exclude_expsyms_CXX \
26279 include_expsyms_CXX \
26280 file_list_spec_CXX \
26281 compiler_lib_search_dirs_CXX \
26282 predep_objects_CXX \
26283 postdep_objects_CXX \
26286 compiler_lib_search_path_CXX; do
26287 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26288 *[\\\\\\\`\\"\\\$]*)
26289 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
26292 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26297 # Double-quote double-evaled strings.
26298 for var in reload_cmds \
26299 old_postinstall_cmds \
26300 old_postuninstall_cmds \
26302 extract_expsyms_cmds \
26303 old_archive_from_new_cmds \
26304 old_archive_from_expsyms_cmds \
26306 archive_expsym_cmds \
26308 module_expsym_cmds \
26309 export_symbols_cmds \
26313 postuninstall_cmds \
26315 sys_lib_search_path_spec \
26316 sys_lib_dlsearch_path_spec \
26318 old_archive_cmds_CXX \
26319 old_archive_from_new_cmds_CXX \
26320 old_archive_from_expsyms_cmds_CXX \
26322 archive_expsym_cmds_CXX \
26324 module_expsym_cmds_CXX \
26325 export_symbols_cmds_CXX \
26327 postlink_cmds_CXX; do
26328 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
26329 *[\\\\\\\`\\"\\\$]*)
26330 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
26333 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
26338 ac_aux_dir='$ac_aux_dir'
26339 xsi_shell='$xsi_shell'
26340 lt_shell_append='$lt_shell_append'
26342 # See if we are running on zsh, and set the options which allow our
26343 # commands through without removal of \ escapes INIT.
26344 if test -n "\${ZSH_VERSION+set}" ; then
26345 setopt NO_GLOB_SUBST
26351 TIMESTAMP='$TIMESTAMP'
26360 SVN_DB_HEADER="$SVN_DB_HEADER"
26364 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26366 # Handling of arguments.
26367 for ac_config_target in $ac_config_targets
26369 case $ac_config_target in
26370 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
26371 "subversion/svn_private_config.h.tmp") CONFIG_HEADERS="$CONFIG_HEADERS subversion/svn_private_config.h.tmp:subversion/svn_private_config.h.in" ;;
26372 "svn_private_config.h.tmp") CONFIG_COMMANDS="$CONFIG_COMMANDS svn_private_config.h.tmp" ;;
26373 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
26374 "tools/backup/hot-backup.py") CONFIG_FILES="$CONFIG_FILES tools/backup/hot-backup.py" ;;
26375 "tools/hook-scripts/commit-access-control.pl") CONFIG_FILES="$CONFIG_FILES tools/hook-scripts/commit-access-control.pl" ;;
26376 "subversion/bindings/swig/perl/native/Makefile.PL") CONFIG_FILES="$CONFIG_FILES subversion/bindings/swig/perl/native/Makefile.PL" ;;
26377 "packages/solaris/pkginfo") CONFIG_FILES="$CONFIG_FILES packages/solaris/pkginfo" ;;
26379 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
26384 # If the user did not use the arguments to specify the items to instantiate,
26385 # then the envvar interface is used. Set only those that are not.
26386 # We use the long form for the default assignment because of an extremely
26387 # bizarre bug on SunOS 4.1.3.
26388 if $ac_need_defaults; then
26389 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
26390 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
26391 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
26394 # Have a temporary directory for convenience. Make it in the build tree
26395 # simply because there is no reason against having it here, and in addition,
26396 # creating and moving files from /tmp can sometimes cause problems.
26397 # Hook for its removal unless debugging.
26398 # Note that there is a small window in which the directory will not be cleaned:
26399 # after its creation but before its name has been assigned to `$tmp'.
26403 trap 'exit_status=$?
26404 : "${ac_tmp:=$tmp}"
26405 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
26407 trap 'as_fn_exit 1' 1 2 13 15
26409 # Create a (secure) tmp directory for tmp files.
26412 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
26416 tmp=./conf$$-$RANDOM
26417 (umask 077 && mkdir "$tmp")
26418 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
26421 # Set up the scripts for CONFIG_FILES section.
26422 # No need to generate them if there are no CONFIG_FILES.
26423 # This happens for instance with `./config.status config.h'.
26424 if test -n "$CONFIG_FILES"; then
26427 ac_cr=`echo X | tr X '\015'`
26428 # On cygwin, bash can eat \r inside `` if the user requested igncr.
26429 # But we know of no other shell where ac_cr would be empty at this
26430 # point, so we can use a bashism as a fallback.
26431 if test "x$ac_cr" = x; then
26432 eval ac_cr=\$\'\\r\'
26434 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
26435 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
26438 ac_cs_awk_cr=$ac_cr
26441 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
26446 echo "cat >conf$$subs.awk <<_ACEOF" &&
26447 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
26449 } >conf$$subs.sh ||
26450 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26451 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
26453 for ac_last_try in false false false false false :; do
26454 . ./conf$$subs.sh ||
26455 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26457 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
26458 if test $ac_delim_n = $ac_delim_num; then
26460 elif $ac_last_try; then
26461 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
26463 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26466 rm -f conf$$subs.sh
26468 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26469 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
26473 s/^/S["/; s/!.*/"]=/
26483 s/\(.\{148\}\)..*/\1/
26485 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
26490 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26497 s/\(.\{148\}\)..*/\1/
26499 s/["\\]/\\&/g; s/^/"/; s/$/"/
26503 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
26508 ' <conf$$subs.awk | sed '
26513 ' >>$CONFIG_STATUS || ac_write_fail=1
26514 rm -f conf$$subs.awk
26515 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26517 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
26518 for (key in S) S_is_set[key] = 1
26524 nfields = split(line, field, "@")
26526 len = length(field[1])
26527 for (i = 2; i < nfields; i++) {
26529 keylen = length(key)
26530 if (S_is_set[key]) {
26532 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
26533 len += length(value) + length(field[++i])
26544 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26545 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
26546 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
26549 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
26550 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
26553 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
26554 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
26555 # trailing colons and then remove the whole line if VPATH becomes empty
26556 # (actually we leave an empty line to preserve line numbers).
26557 if test "x$srcdir" = x.; then
26558 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
26576 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26577 fi # test -n "$CONFIG_FILES"
26579 # Set up the scripts for CONFIG_HEADERS section.
26580 # No need to generate them if there are no CONFIG_HEADERS.
26581 # This happens for instance with `./config.status Makefile'.
26582 if test -n "$CONFIG_HEADERS"; then
26583 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
26587 # Transform confdefs.h into an awk script `defines.awk', embedded as
26588 # here-document in config.status, that substitutes the proper values into
26589 # config.h.in to produce config.h.
26591 # Create a delimiter string that does not exist in confdefs.h, to ease
26592 # handling of long lines.
26594 for ac_last_try in false false :; do
26595 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
26596 if test -z "$ac_tt"; then
26598 elif $ac_last_try; then
26599 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
26601 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
26605 # For the awk script, D is an array of macro values keyed by name,
26606 # likewise P contains macro parameters if any. Preserve backslash
26607 # newline sequences.
26609 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
26611 s/.\{148\}/&'"$ac_delim"'/g
26614 s/^[ ]*#[ ]*define[ ][ ]*/ /
26621 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26623 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
26627 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
26628 D["\1"]=" \3\\\\\\n"\\/p
26630 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
26635 s/.\{148\}/&'"$ac_delim"'/g
26640 s/["\\]/\\&/g; s/^/"/; s/$/"/p
26643 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
26645 ' <confdefs.h | sed '
26646 s/'"$ac_delim"'/"\\\
26647 "/g' >>$CONFIG_STATUS || ac_write_fail=1
26649 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26650 for (key in D) D_is_set[key] = 1
26653 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
26655 split(line, arg, " ")
26656 if (arg[1] == "#") {
26660 defundef = substr(arg[1], 2)
26663 split(mac1, mac2, "(") #)
26665 prefix = substr(line, 1, index(line, defundef) - 1)
26666 if (D_is_set[macro]) {
26667 # Preserve the white space surrounding the "#".
26668 print prefix "define", macro P[macro] D[macro]
26671 # Replace #undef with comments. This is necessary, for example,
26672 # in the case of _POSIX_SOURCE, which is predefined and required
26673 # on some systems where configure will not decide to define it.
26674 if (defundef == "undef") {
26675 print "/*", prefix defundef, macro, "*/"
26683 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26684 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
26685 fi # test -n "$CONFIG_HEADERS"
26688 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
26693 :[FHLC]) ac_mode=$ac_tag; continue;;
26695 case $ac_mode$ac_tag in
26697 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
26698 :[FH]-) ac_tag=-:-;;
26699 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
26716 -) ac_f="$ac_tmp/stdin";;
26717 *) # Look for the file first in the build tree, then in the source tree
26718 # (if the path is not absolute). The absolute path cannot be DOS-style,
26719 # because $ac_f cannot contain `:'.
26723 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
26725 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
26727 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
26728 as_fn_append ac_file_inputs " '$ac_f'"
26731 # Let's still pretend it is `configure' which instantiates (i.e., don't
26732 # use $as_me), people would be surprised to read:
26733 # /* config.h. Generated by config.status. */
26734 configure_input='Generated from '`
26735 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
26737 if test x"$ac_file" != x-; then
26738 configure_input="$ac_file. $configure_input"
26739 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
26740 $as_echo "$as_me: creating $ac_file" >&6;}
26742 # Neutralize special characters interpreted by sed in replacement strings.
26743 case $configure_input in #(
26744 *\&* | *\|* | *\\* )
26745 ac_sed_conf_input=`$as_echo "$configure_input" |
26746 sed 's/[\\\\&|]/\\\\&/g'`;; #(
26747 *) ac_sed_conf_input=$configure_input;;
26751 *:-:* | *:-) cat >"$ac_tmp/stdin" \
26752 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
26757 ac_dir=`$as_dirname -- "$ac_file" ||
26758 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
26759 X"$ac_file" : 'X\(//\)[^/]' \| \
26760 X"$ac_file" : 'X\(//\)$' \| \
26761 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
26762 $as_echo X"$ac_file" |
26763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
26767 /^X\(\/\/\)[^/].*/{
26780 as_dir="$ac_dir"; as_fn_mkdir_p
26784 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
26786 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
26787 # A ".." for each directory in $ac_dir_suffix.
26788 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
26789 case $ac_top_builddir_sub in
26790 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
26791 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
26794 ac_abs_top_builddir=$ac_pwd
26795 ac_abs_builddir=$ac_pwd$ac_dir_suffix
26796 # for backward compatibility:
26797 ac_top_builddir=$ac_top_build_prefix
26800 .) # We are building in place.
26802 ac_top_srcdir=$ac_top_builddir_sub
26803 ac_abs_top_srcdir=$ac_pwd ;;
26804 [\\/]* | ?:[\\/]* ) # Absolute name.
26805 ac_srcdir=$srcdir$ac_dir_suffix;
26806 ac_top_srcdir=$srcdir
26807 ac_abs_top_srcdir=$srcdir ;;
26808 *) # Relative name.
26809 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
26810 ac_top_srcdir=$ac_top_build_prefix$srcdir
26811 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
26813 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
26823 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
26824 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
26828 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26829 # If the template does not know about datarootdir, expand it.
26830 # FIXME: This hack should be removed a few years after 2.60.
26831 ac_datarootdir_hack=; ac_datarootdir_seen=
26842 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
26843 *datarootdir*) ac_datarootdir_seen=yes;;
26844 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
26845 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
26846 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
26848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26849 ac_datarootdir_hack='
26850 s&@datadir@&$datadir&g
26851 s&@docdir@&$docdir&g
26852 s&@infodir@&$infodir&g
26853 s&@localedir@&$localedir&g
26854 s&@mandir@&$mandir&g
26855 s&\\\${datarootdir}&$datarootdir&g' ;;
26859 # Neutralize VPATH when `$srcdir' = `.'.
26860 # Shell code in configure.ac might set extrasub.
26861 # FIXME: do we really want to maintain this feature?
26862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
26863 ac_sed_extra="$ac_vpsub
26866 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
26868 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
26869 s|@configure_input@|$ac_sed_conf_input|;t t
26870 s&@top_builddir@&$ac_top_builddir_sub&;t t
26871 s&@top_build_prefix@&$ac_top_build_prefix&;t t
26872 s&@srcdir@&$ac_srcdir&;t t
26873 s&@abs_srcdir@&$ac_abs_srcdir&;t t
26874 s&@top_srcdir@&$ac_top_srcdir&;t t
26875 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
26876 s&@builddir@&$ac_builddir&;t t
26877 s&@abs_builddir@&$ac_abs_builddir&;t t
26878 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
26879 s&@INSTALL@&$ac_INSTALL&;t t
26880 $ac_datarootdir_hack
26882 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
26883 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26885 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
26886 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
26887 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
26888 "$ac_tmp/out"`; test -z "$ac_out"; } &&
26889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26890 which seems to be undefined. Please make sure it is defined" >&5
26891 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
26892 which seems to be undefined. Please make sure it is defined" >&2;}
26894 rm -f "$ac_tmp/stdin"
26896 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
26897 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
26899 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26905 if test x"$ac_file" != x-; then
26907 $as_echo "/* $configure_input */" \
26908 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
26909 } >"$ac_tmp/config.h" \
26910 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26911 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
26912 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
26913 $as_echo "$as_me: $ac_file is unchanged" >&6;}
26916 mv "$ac_tmp/config.h" "$ac_file" \
26917 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
26920 $as_echo "/* $configure_input */" \
26921 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
26922 || as_fn_error $? "could not create -" "$LINENO" 5
26926 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
26927 $as_echo "$as_me: executing $ac_file commands" >&6;}
26932 case $ac_file$ac_mode in
26935 # See if we are running on zsh, and set the options which allow our
26936 # commands through without removal of \ escapes.
26937 if test -n "${ZSH_VERSION+set}" ; then
26938 setopt NO_GLOB_SUBST
26941 cfgfile="${ofile}T"
26942 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
26945 cat <<_LT_EOF >> "$cfgfile"
26948 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
26949 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
26950 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
26951 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
26953 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
26954 # 2006, 2007, 2008, 2009, 2010, 2011 Free Software
26956 # Written by Gordon Matzigkeit, 1996
26958 # This file is part of GNU Libtool.
26960 # GNU Libtool is free software; you can redistribute it and/or
26961 # modify it under the terms of the GNU General Public License as
26962 # published by the Free Software Foundation; either version 2 of
26963 # the License, or (at your option) any later version.
26965 # As a special exception to the GNU General Public License,
26966 # if you distribute this file as part of a program or library that
26967 # is built using GNU Libtool, you may include this file under the
26968 # same distribution terms that you use for the rest of that program.
26970 # GNU Libtool is distributed in the hope that it will be useful,
26971 # but WITHOUT ANY WARRANTY; without even the implied warranty of
26972 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
26973 # GNU General Public License for more details.
26975 # You should have received a copy of the GNU General Public License
26976 # along with GNU Libtool; see the file COPYING. If not, a copy
26977 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
26978 # obtained by writing to the Free Software Foundation, Inc.,
26979 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
26982 # The names of the tagged configurations supported by this script.
26983 available_tags="CXX "
26985 # ### BEGIN LIBTOOL CONFIG
26987 # Which release of libtool.m4 was used?
26988 macro_version=$macro_version
26989 macro_revision=$macro_revision
26991 # Whether or not to build shared libraries.
26992 build_libtool_libs=$enable_shared
26994 # Whether or not to build static libraries.
26995 build_old_libs=$enable_static
26997 # What type of objects to build.
27000 # Whether or not to optimize for fast installation.
27001 fast_install=$enable_fast_install
27003 # Shell to use when invoking shell scripts.
27006 # An echo program that protects backslashes.
27009 # The PATH separator for the build system.
27010 PATH_SEPARATOR=$lt_PATH_SEPARATOR
27013 host_alias=$host_alias
27017 # The build system.
27018 build_alias=$build_alias
27022 # A sed program that does not truncate output.
27025 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
27026 Xsed="\$SED -e 1s/^X//"
27028 # A grep program that handles long lines.
27034 # A literal string matcher.
27037 # A BSD- or MS-compatible name lister.
27040 # Whether we need soft or hard links.
27043 # What is the maximum length of a command?
27044 max_cmd_len=$max_cmd_len
27046 # Object file suffix (normally "o").
27049 # Executable file suffix (normally "").
27052 # whether the shell understands "unset".
27055 # turn spaces into newlines.
27058 # turn newlines into spaces.
27061 # convert \$build file names to \$host format.
27062 to_host_file_cmd=$lt_cv_to_host_file_cmd
27064 # convert \$build files to toolchain format.
27065 to_tool_file_cmd=$lt_cv_to_tool_file_cmd
27067 # An object symbol dumper.
27068 OBJDUMP=$lt_OBJDUMP
27070 # Method to check whether dependent libraries are shared objects.
27071 deplibs_check_method=$lt_deplibs_check_method
27073 # Command to use when deplibs_check_method = "file_magic".
27074 file_magic_cmd=$lt_file_magic_cmd
27076 # How to find potential files when deplibs_check_method = "file_magic".
27077 file_magic_glob=$lt_file_magic_glob
27079 # Find potential files using nocaseglob when deplibs_check_method = "file_magic".
27080 want_nocaseglob=$lt_want_nocaseglob
27082 # DLL creation program.
27083 DLLTOOL=$lt_DLLTOOL
27085 # Command to associate shared and link libraries.
27086 sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
27091 # Flags to create an archive.
27092 AR_FLAGS=$lt_AR_FLAGS
27094 # How to feed a file listing to the archiver.
27095 archiver_list_spec=$lt_archiver_list_spec
27097 # A symbol stripping program.
27100 # Commands used to install an old-style archive.
27102 old_postinstall_cmds=$lt_old_postinstall_cmds
27103 old_postuninstall_cmds=$lt_old_postuninstall_cmds
27105 # Whether to use a lock for old archive extraction.
27106 lock_old_archive_extraction=$lock_old_archive_extraction
27111 # LTCC compiler flags.
27112 LTCFLAGS=$lt_CFLAGS
27114 # Take the output of nm and produce a listing of raw symbols and C names.
27115 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
27117 # Transform the output of nm in a proper C declaration.
27118 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
27120 # Transform the output of nm in a C name address pair.
27121 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
27123 # Transform the output of nm in a C name address pair when lib prefix is needed.
27124 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
27126 # Specify filename containing input files for \$NM.
27127 nm_file_list_spec=$lt_nm_file_list_spec
27129 # The root where to search for dependent libraries,and in which our libraries should be installed.
27130 lt_sysroot=$lt_sysroot
27132 # The name of the directory that contains temporary libtool files.
27135 # Used to examine libraries when file_magic_cmd begins with "file".
27136 MAGIC_CMD=$MAGIC_CMD
27138 # Must we lock files when doing compilation?
27139 need_locks=$lt_need_locks
27142 MANIFEST_TOOL=$lt_MANIFEST_TOOL
27144 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
27145 DSYMUTIL=$lt_DSYMUTIL
27147 # Tool to change global to local symbols on Mac OS X.
27150 # Tool to manipulate fat objects and archives on Mac OS X.
27153 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
27156 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
27157 OTOOL64=$lt_OTOOL64
27159 # Old archive suffix (normally "a").
27162 # Shared library suffix (normally ".so").
27163 shrext_cmds=$lt_shrext_cmds
27165 # The commands to extract the exported symbol list from a shared archive.
27166 extract_expsyms_cmds=$lt_extract_expsyms_cmds
27168 # Variables whose values should be saved in libtool wrapper scripts and
27169 # restored at link time.
27170 variables_saved_for_relink=$lt_variables_saved_for_relink
27172 # Do we need the "lib" prefix for modules?
27173 need_lib_prefix=$need_lib_prefix
27175 # Do we need a version for libraries?
27176 need_version=$need_version
27178 # Library versioning type.
27179 version_type=$version_type
27181 # Shared library runtime path variable.
27182 runpath_var=$runpath_var
27184 # Shared library path variable.
27185 shlibpath_var=$shlibpath_var
27187 # Is shlibpath searched before the hard-coded library search path?
27188 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
27190 # Format of library name prefix.
27191 libname_spec=$lt_libname_spec
27193 # List of archive names. First name is the real one, the rest are links.
27194 # The last name is the one that the linker finds with -lNAME
27195 library_names_spec=$lt_library_names_spec
27197 # The coded name of the library, if different from the real name.
27198 soname_spec=$lt_soname_spec
27200 # Permission mode override for installation of shared libraries.
27201 install_override_mode=$lt_install_override_mode
27203 # Command to use after installation of a shared archive.
27204 postinstall_cmds=$lt_postinstall_cmds
27206 # Command to use after uninstallation of a shared archive.
27207 postuninstall_cmds=$lt_postuninstall_cmds
27209 # Commands used to finish a libtool library installation in a directory.
27210 finish_cmds=$lt_finish_cmds
27212 # As "finish_cmds", except a single script fragment to be evaled but
27214 finish_eval=$lt_finish_eval
27216 # Whether we should hardcode library paths into libraries.
27217 hardcode_into_libs=$hardcode_into_libs
27219 # Compile-time system search path for libraries.
27220 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
27222 # Run-time system search path for libraries.
27223 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
27225 # Whether dlopen is supported.
27226 dlopen_support=$enable_dlopen
27228 # Whether dlopen of programs is supported.
27229 dlopen_self=$enable_dlopen_self
27231 # Whether dlopen of statically linked programs is supported.
27232 dlopen_self_static=$enable_dlopen_self_static
27234 # Commands to strip libraries.
27235 old_striplib=$lt_old_striplib
27236 striplib=$lt_striplib
27239 # The linker used to build libraries.
27242 # How to create reloadable object files.
27243 reload_flag=$lt_reload_flag
27244 reload_cmds=$lt_reload_cmds
27246 # Commands used to build an old-style archive.
27247 old_archive_cmds=$lt_old_archive_cmds
27249 # A language specific compiler.
27252 # Is the compiler the GNU compiler?
27255 # Compiler flag to turn off builtin functions.
27256 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
27258 # Additional compiler flags for building library objects.
27259 pic_flag=$lt_lt_prog_compiler_pic
27261 # How to pass a linker flag through the compiler.
27262 wl=$lt_lt_prog_compiler_wl
27264 # Compiler flag to prevent dynamic linking.
27265 link_static_flag=$lt_lt_prog_compiler_static
27267 # Does compiler simultaneously support -c and -o options?
27268 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
27270 # Whether or not to add -lc for building shared libraries.
27271 build_libtool_need_lc=$archive_cmds_need_lc
27273 # Whether or not to disallow shared libs when runtime libs are static.
27274 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
27276 # Compiler flag to allow reflexive dlopens.
27277 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
27279 # Compiler flag to generate shared objects directly from archives.
27280 whole_archive_flag_spec=$lt_whole_archive_flag_spec
27282 # Whether the compiler copes with passing no objects directly.
27283 compiler_needs_object=$lt_compiler_needs_object
27285 # Create an old-style archive from a shared archive.
27286 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
27288 # Create a temporary old-style archive to link instead of a shared archive.
27289 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
27291 # Commands used to build a shared archive.
27292 archive_cmds=$lt_archive_cmds
27293 archive_expsym_cmds=$lt_archive_expsym_cmds
27295 # Commands used to build a loadable module if different from building
27296 # a shared archive.
27297 module_cmds=$lt_module_cmds
27298 module_expsym_cmds=$lt_module_expsym_cmds
27300 # Whether we are building with GNU ld or not.
27301 with_gnu_ld=$lt_with_gnu_ld
27303 # Flag that allows shared libraries with undefined symbols to be built.
27304 allow_undefined_flag=$lt_allow_undefined_flag
27306 # Flag that enforces no undefined symbols.
27307 no_undefined_flag=$lt_no_undefined_flag
27309 # Flag to hardcode \$libdir into a binary during linking.
27310 # This must work even if \$libdir does not exist
27311 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
27313 # Whether we need a single "-rpath" flag with a separated argument.
27314 hardcode_libdir_separator=$lt_hardcode_libdir_separator
27316 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27317 # DIR into the resulting binary.
27318 hardcode_direct=$hardcode_direct
27320 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27321 # DIR into the resulting binary and the resulting library dependency is
27322 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27323 # library is relocated.
27324 hardcode_direct_absolute=$hardcode_direct_absolute
27326 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27327 # into the resulting binary.
27328 hardcode_minus_L=$hardcode_minus_L
27330 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27331 # into the resulting binary.
27332 hardcode_shlibpath_var=$hardcode_shlibpath_var
27334 # Set to "yes" if building a shared library automatically hardcodes DIR
27335 # into the library and all subsequent libraries and executables linked
27337 hardcode_automatic=$hardcode_automatic
27339 # Set to yes if linker adds runtime paths of dependent libraries
27340 # to runtime path list.
27341 inherit_rpath=$inherit_rpath
27343 # Whether libtool must link a program against all its dependency libraries.
27344 link_all_deplibs=$link_all_deplibs
27346 # Set to "yes" if exported symbols are required.
27347 always_export_symbols=$always_export_symbols
27349 # The commands to list exported symbols.
27350 export_symbols_cmds=$lt_export_symbols_cmds
27352 # Symbols that should not be listed in the preloaded symbols.
27353 exclude_expsyms=$lt_exclude_expsyms
27355 # Symbols that must always be exported.
27356 include_expsyms=$lt_include_expsyms
27358 # Commands necessary for linking programs (against libraries) with templates.
27359 prelink_cmds=$lt_prelink_cmds
27361 # Commands necessary for finishing linking programs.
27362 postlink_cmds=$lt_postlink_cmds
27364 # Specify filename containing input files.
27365 file_list_spec=$lt_file_list_spec
27367 # How to hardcode a shared library path into an executable.
27368 hardcode_action=$hardcode_action
27370 # The directories searched by this compiler when creating a shared library.
27371 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
27373 # Dependencies to place before and after the objects being linked to
27374 # create a shared library.
27375 predep_objects=$lt_predep_objects
27376 postdep_objects=$lt_postdep_objects
27377 predeps=$lt_predeps
27378 postdeps=$lt_postdeps
27380 # The library search path used internally by the compiler when linking
27381 # a shared library.
27382 compiler_lib_search_path=$lt_compiler_lib_search_path
27384 # ### END LIBTOOL CONFIG
27390 cat <<\_LT_EOF >> "$cfgfile"
27391 # AIX sometimes has problems with the GCC collect2 program. For some
27392 # reason, if we set the COLLECT_NAMES environment variable, the problems
27393 # vanish in a puff of smoke.
27394 if test "X${COLLECT_NAMES+set}" != Xset; then
27396 export COLLECT_NAMES
27403 ltmain="$ac_aux_dir/ltmain.sh"
27406 # We use sed instead of cat because bash on DJGPP gets confused if
27407 # if finds mixed CR/LF and LF-only lines. Since sed operates in
27408 # text mode, it properly converts lines to CR/LF. This bash problem
27409 # is reportedly fixed, but why not run on old versions too?
27410 sed '$q' "$ltmain" >> "$cfgfile" \
27411 || (rm -f "$cfgfile"; exit 1)
27413 if test x"$xsi_shell" = xyes; then
27414 sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
27418 \ */*) func_dirname_result="${1%/*}${2}" ;;\
27419 \ * ) func_dirname_result="${3}" ;;\
27421 } # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
27422 && mv -f "$cfgfile.tmp" "$cfgfile" \
27423 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27424 test 0 -eq $? || _lt_function_replace_fail=:
27427 sed -e '/^func_basename ()$/,/^} # func_basename /c\
27430 \ func_basename_result="${1##*/}"\
27431 } # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
27432 && mv -f "$cfgfile.tmp" "$cfgfile" \
27433 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27434 test 0 -eq $? || _lt_function_replace_fail=:
27437 sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
27438 func_dirname_and_basename ()\
27441 \ */*) func_dirname_result="${1%/*}${2}" ;;\
27442 \ * ) func_dirname_result="${3}" ;;\
27444 \ func_basename_result="${1##*/}"\
27445 } # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
27446 && mv -f "$cfgfile.tmp" "$cfgfile" \
27447 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27448 test 0 -eq $? || _lt_function_replace_fail=:
27451 sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
27454 \ # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
27455 \ # positional parameters, so assign one to ordinary parameter first.\
27456 \ func_stripname_result=${3}\
27457 \ func_stripname_result=${func_stripname_result#"${1}"}\
27458 \ func_stripname_result=${func_stripname_result%"${2}"}\
27459 } # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
27460 && mv -f "$cfgfile.tmp" "$cfgfile" \
27461 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27462 test 0 -eq $? || _lt_function_replace_fail=:
27465 sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
27466 func_split_long_opt ()\
27468 \ func_split_long_opt_name=${1%%=*}\
27469 \ func_split_long_opt_arg=${1#*=}\
27470 } # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
27471 && mv -f "$cfgfile.tmp" "$cfgfile" \
27472 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27473 test 0 -eq $? || _lt_function_replace_fail=:
27476 sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
27477 func_split_short_opt ()\
27479 \ func_split_short_opt_arg=${1#??}\
27480 \ func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
27481 } # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
27482 && mv -f "$cfgfile.tmp" "$cfgfile" \
27483 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27484 test 0 -eq $? || _lt_function_replace_fail=:
27487 sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
27491 \ *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
27492 \ *) func_lo2o_result=${1} ;;\
27494 } # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
27495 && mv -f "$cfgfile.tmp" "$cfgfile" \
27496 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27497 test 0 -eq $? || _lt_function_replace_fail=:
27500 sed -e '/^func_xform ()$/,/^} # func_xform /c\
27503 func_xform_result=${1%.*}.lo\
27504 } # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
27505 && mv -f "$cfgfile.tmp" "$cfgfile" \
27506 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27507 test 0 -eq $? || _lt_function_replace_fail=:
27510 sed -e '/^func_arith ()$/,/^} # func_arith /c\
27513 func_arith_result=$(( $* ))\
27514 } # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
27515 && mv -f "$cfgfile.tmp" "$cfgfile" \
27516 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27517 test 0 -eq $? || _lt_function_replace_fail=:
27520 sed -e '/^func_len ()$/,/^} # func_len /c\
27523 func_len_result=${#1}\
27524 } # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
27525 && mv -f "$cfgfile.tmp" "$cfgfile" \
27526 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27527 test 0 -eq $? || _lt_function_replace_fail=:
27531 if test x"$lt_shell_append" = xyes; then
27532 sed -e '/^func_append ()$/,/^} # func_append /c\
27535 eval "${1}+=\\${2}"\
27536 } # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
27537 && mv -f "$cfgfile.tmp" "$cfgfile" \
27538 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27539 test 0 -eq $? || _lt_function_replace_fail=:
27542 sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
27543 func_append_quoted ()\
27545 \ func_quote_for_eval "${2}"\
27546 \ eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
27547 } # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
27548 && mv -f "$cfgfile.tmp" "$cfgfile" \
27549 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27550 test 0 -eq $? || _lt_function_replace_fail=:
27553 # Save a `func_append' function call where possible by direct use of '+='
27554 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
27555 && mv -f "$cfgfile.tmp" "$cfgfile" \
27556 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27557 test 0 -eq $? || _lt_function_replace_fail=:
27559 # Save a `func_append' function call even when '+=' is not available
27560 sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
27561 && mv -f "$cfgfile.tmp" "$cfgfile" \
27562 || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
27563 test 0 -eq $? || _lt_function_replace_fail=:
27566 if test x"$_lt_function_replace_fail" = x":"; then
27567 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
27568 $as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
27572 mv -f "$cfgfile" "$ofile" ||
27573 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
27577 cat <<_LT_EOF >> "$ofile"
27579 # ### BEGIN LIBTOOL TAG CONFIG: CXX
27581 # The linker used to build libraries.
27584 # How to create reloadable object files.
27585 reload_flag=$lt_reload_flag_CXX
27586 reload_cmds=$lt_reload_cmds_CXX
27588 # Commands used to build an old-style archive.
27589 old_archive_cmds=$lt_old_archive_cmds_CXX
27591 # A language specific compiler.
27592 CC=$lt_compiler_CXX
27594 # Is the compiler the GNU compiler?
27597 # Compiler flag to turn off builtin functions.
27598 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
27600 # Additional compiler flags for building library objects.
27601 pic_flag=$lt_lt_prog_compiler_pic_CXX
27603 # How to pass a linker flag through the compiler.
27604 wl=$lt_lt_prog_compiler_wl_CXX
27606 # Compiler flag to prevent dynamic linking.
27607 link_static_flag=$lt_lt_prog_compiler_static_CXX
27609 # Does compiler simultaneously support -c and -o options?
27610 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
27612 # Whether or not to add -lc for building shared libraries.
27613 build_libtool_need_lc=$archive_cmds_need_lc_CXX
27615 # Whether or not to disallow shared libs when runtime libs are static.
27616 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
27618 # Compiler flag to allow reflexive dlopens.
27619 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
27621 # Compiler flag to generate shared objects directly from archives.
27622 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
27624 # Whether the compiler copes with passing no objects directly.
27625 compiler_needs_object=$lt_compiler_needs_object_CXX
27627 # Create an old-style archive from a shared archive.
27628 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
27630 # Create a temporary old-style archive to link instead of a shared archive.
27631 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
27633 # Commands used to build a shared archive.
27634 archive_cmds=$lt_archive_cmds_CXX
27635 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
27637 # Commands used to build a loadable module if different from building
27638 # a shared archive.
27639 module_cmds=$lt_module_cmds_CXX
27640 module_expsym_cmds=$lt_module_expsym_cmds_CXX
27642 # Whether we are building with GNU ld or not.
27643 with_gnu_ld=$lt_with_gnu_ld_CXX
27645 # Flag that allows shared libraries with undefined symbols to be built.
27646 allow_undefined_flag=$lt_allow_undefined_flag_CXX
27648 # Flag that enforces no undefined symbols.
27649 no_undefined_flag=$lt_no_undefined_flag_CXX
27651 # Flag to hardcode \$libdir into a binary during linking.
27652 # This must work even if \$libdir does not exist
27653 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
27655 # Whether we need a single "-rpath" flag with a separated argument.
27656 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
27658 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27659 # DIR into the resulting binary.
27660 hardcode_direct=$hardcode_direct_CXX
27662 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
27663 # DIR into the resulting binary and the resulting library dependency is
27664 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
27665 # library is relocated.
27666 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
27668 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
27669 # into the resulting binary.
27670 hardcode_minus_L=$hardcode_minus_L_CXX
27672 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
27673 # into the resulting binary.
27674 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
27676 # Set to "yes" if building a shared library automatically hardcodes DIR
27677 # into the library and all subsequent libraries and executables linked
27679 hardcode_automatic=$hardcode_automatic_CXX
27681 # Set to yes if linker adds runtime paths of dependent libraries
27682 # to runtime path list.
27683 inherit_rpath=$inherit_rpath_CXX
27685 # Whether libtool must link a program against all its dependency libraries.
27686 link_all_deplibs=$link_all_deplibs_CXX
27688 # Set to "yes" if exported symbols are required.
27689 always_export_symbols=$always_export_symbols_CXX
27691 # The commands to list exported symbols.
27692 export_symbols_cmds=$lt_export_symbols_cmds_CXX
27694 # Symbols that should not be listed in the preloaded symbols.
27695 exclude_expsyms=$lt_exclude_expsyms_CXX
27697 # Symbols that must always be exported.
27698 include_expsyms=$lt_include_expsyms_CXX
27700 # Commands necessary for linking programs (against libraries) with templates.
27701 prelink_cmds=$lt_prelink_cmds_CXX
27703 # Commands necessary for finishing linking programs.
27704 postlink_cmds=$lt_postlink_cmds_CXX
27706 # Specify filename containing input files.
27707 file_list_spec=$lt_file_list_spec_CXX
27709 # How to hardcode a shared library path into an executable.
27710 hardcode_action=$hardcode_action_CXX
27712 # The directories searched by this compiler when creating a shared library.
27713 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
27715 # Dependencies to place before and after the objects being linked to
27716 # create a shared library.
27717 predep_objects=$lt_predep_objects_CXX
27718 postdep_objects=$lt_postdep_objects_CXX
27719 predeps=$lt_predeps_CXX
27720 postdeps=$lt_postdeps_CXX
27722 # The library search path used internally by the compiler when linking
27723 # a shared library.
27724 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
27726 # ### END LIBTOOL TAG CONFIG: CXX
27730 "svn_private_config.h.tmp":C) svn_cf=subversion/svn_private_config.h;
27731 $SED -e "s/@SVN_DB_HEADER@/$SVN_DB_HEADER/" $svn_cf.tmp > $svn_cf.tmp.new
27732 cmp -s $svn_cf.tmp.new $svn_cf || mv -f $svn_cf.tmp.new $svn_cf
27733 rm -f $svn_cf.tmp.new $svn_cf.tmp ;;
27734 "tools/backup/hot-backup.py":F) chmod +x tools/backup/hot-backup.py ;;
27735 "tools/hook-scripts/commit-access-control.pl":F) chmod +x tools/hook-scripts/commit-access-control.pl ;;
27736 "subversion/bindings/swig/perl/native/Makefile.PL":F) chmod +x subversion/bindings/swig/perl/native/Makefile.PL ;;
27737 "packages/solaris/pkginfo":F) chmod +x packages/solaris/pkginfo ;;
27745 ac_clean_files=$ac_clean_files_save
27747 test $ac_write_fail = 0 ||
27748 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
27751 # configure is writing to config.log, and then calls config.status.
27752 # config.status does its own redirection, appending to config.log.
27753 # Unfortunately, on DOS this fails, as config.log is still kept open
27754 # by configure, so config.status won't be able to write to it; its
27755 # output is simply discarded. So we exec the FD to /dev/null,
27756 # effectively closing config.log, so it can be properly (re)opened and
27757 # appended to by config.status. When coming back to configure, we
27758 # need to make the FD available again.
27759 if test "$no_create" != yes; then
27761 ac_config_status_args=
27762 test "$silent" = yes &&
27763 ac_config_status_args="$ac_config_status_args --quiet"
27765 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
27767 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
27768 # would make configure fail if this is the last instruction.
27769 $ac_cs_success || as_fn_exit 1
27771 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
27772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
27773 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
27777 # ==== Print final messages to user ==========================================
27780 if test "$svn_have_berkeley_db" = "no6" && test "$enable_bdb6" != "no"; then
27781 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: We have configured without BDB filesystem support
27784 Berkeley DB 6 was found, but not used. Please re-run configure (see
27785 ./config.nice) with the '--enable-bdb6' flag to use it,
27786 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
27787 to silence this warning.
27789 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
27790 General Public License, version 3:
27791 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
27793 The AGPL-3.0 licence may impose special requirements for making available
27794 source code of server-side software. The text of the licence is:
27795 https://www.gnu.org/licenses/agpl-3.0.html
27796 http://opensource.org/licenses/AGPL-3.0
27798 The Berkeley DB backend to Subversion is deprecated; see
27799 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
27801 The Subversion developers have not tested Subversion with Berkeley DB 6 for
27802 technical problems or bugs.
27804 $as_echo "$as_me: WARNING: We have configured without BDB filesystem support
27807 Berkeley DB 6 was found, but not used. Please re-run configure (see
27808 ./config.nice) with the '--enable-bdb6' flag to use it,
27809 or explicitly specify '--disable-bdb6' or '--without-berkeley-db'
27810 to silence this warning.
27812 Please note that some versions of Berkeley DB 6+ are under the GNU Affero
27813 General Public License, version 3:
27814 https://oss.oracle.com/pipermail/bdb/2013-June/000056.html
27816 The AGPL-3.0 licence may impose special requirements for making available
27817 source code of server-side software. The text of the licence is:
27818 https://www.gnu.org/licenses/agpl-3.0.html
27819 http://opensource.org/licenses/AGPL-3.0
27821 The Berkeley DB backend to Subversion is deprecated; see
27822 http://subversion.apache.org/docs/release-notes/1.8#bdb-deprecated
27824 The Subversion developers have not tested Subversion with Berkeley DB 6 for
27825 technical problems or bugs.